[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@3.138.178.162: ~ $
(()=>{var e,t={7955:(e,t,n)=>{"use strict";const r=window.kadence.icons,i=window.wp.blocks,o=window.wp.i18n,a=window.React,l=window.kadence.components,s=window.kadence.helpers,u=window.wp.data,c=window.wp.element,p=window.lodash,h=window.wp.blockEditor,f=window.wp.components;var d=n(941),g=n(2485),b=n.n(g);const v=JSON.parse('{"apiVersion":3,"name":"kadence/progress-bar","title":"Progress Bar","category":"kadence-blocks","description":"Kadence progress bar","textdomain":"kadence-blocks","keywords":["kb","progress bar"],"attributes":{"align":{"type":"string"},"hAlign":{"type":"string","default":"space-between"},"thAlign":{"type":"string","default":""},"mhAlign":{"type":"string","default":""},"id":{"type":"number"},"width":{"type":"number","default":""},"uniqueID":{"type":"string"},"margin":{"type":"array","default":["","","",""]},"tabletMargin":{"type":"array","default":["","","",""]},"mobileMargin":{"type":"array","default":["","","",""]},"marginType":{"type":"string","default":"px"},"labelPadding":{"type":"array","default":["","","",""]},"tabletLabelPadding":{"type":"array","default":["","","",""]},"mobileLabelPadding":{"type":"array","default":["","","",""]},"labelPaddingType":{"type":"string","default":"px"},"barBackground":{"type":"string","default":""},"barBackgroundOpacity":{"type":"number","default":1},"progressWidth":{"type":"number","default":2},"progressWidthTablet":{"type":"number","default":""},"progressWidthMobile":{"type":"number","default":""},"progressColor":{"type":"string","default":""},"progressOpacity":{"type":"number","default":1},"barType":{"enum":["line","circle","semicircle","line-mask"],"default":"line","type":"string"},"containerMaxWidth":{"type":"number"},"tabletContainerMaxWidth":{"type":"number"},"mobileContainerMaxWidth":{"type":"number"},"containerMaxWidthUnits":{"type":"string","default":"px"},"labelLayout":{"type":"string","default":"lp"},"displayLabel":{"type":"boolean","default":true},"delayUntilInView":{"type":"boolean","default":true},"labelFont":{"type":"object","default":{"color":"","level":6,"size":["","",""],"sizeType":"px","lineHeight":["","",""],"lineType":"","letterSpacing":["","",""],"textTransform":"","family":"","google":false,"style":"","weight":"","variant":"","subset":"","loadGoogle":true,"padding":[0,0,0,0],"margin":[0,0,0,0]}},"label":{"type":"string","default":""},"labelPosition":{"default":"above","type":"string"},"numberFont":{"type":"object","default":{"color":"","level":6,"size":["","",""],"sizeType":"px","lineHeight":["","",""],"lineType":"","letterSpacing":["","",""],"textTransform":"","family":"","google":false,"style":"","weight":"","variant":"","subset":"","loadGoogle":true,"padding":[0,0,0,0],"margin":[0,0,0,0]}},"progressAmount":{"type":"number","default":90},"progressMax":{"type":"number","default":100},"displayPercent":{"type":"boolean","default":true},"decimal":{"type":"string","default":"none"},"numberPrefix":{"type":"string","default":""},"numberSuffix":{"type":"string","default":"%"},"numberIsRelative":{"type":"boolean","default":false},"duration":{"type":"number","default":2},"easing":{"enum":["easeIn","easeOut","linear","easeInOut"],"default":"easeInOut","type":"string"},"progressBorderRadius":{"type":"array","default":["","",""]},"maskIterations":{"type":"number","default":5},"maskSvg":{"type":"string","default":"star"},"maskUrl":{"type":"string"},"ariaLabel":{"type":"string","default":""},"showMaxProgressOnPageLoad":{"type":"boolean","default":true}}}');(0,i.registerBlockType)("kadence/progress-bar",{...v,title:(0,o._x)("Progress Bar","block title","kadence-blocks"),description:(0,o._x)("Kadence progress bar","block description","kadence-blocks"),keywords:[(0,o.__)("progress bar","kadence-blocks"),"kb"],icon:{src:r.progressIcon},getEditWrapperProps(e){if("wide"===e.align||"full"===e.align||"left"===e.align||"right"===e.align)return{"data-align":e.align}},edit:function(e){const{attributes:t,setAttributes:n,isSelected:i,clientId:g}=e,{uniqueID:v,align:y,labelPadding:m,tabletLabelPadding:_,mobileLabelPadding:k,labelPaddingType:w,margin:S,tabletMargin:x,mobileMargin:O,marginType:C,barBackground:P,barBackgroundOpacity:T,progressColor:E,progressOpacity:j,barType:M,containerMaxWidth:A,tabletContainerMaxWidth:z,mobileContainerMaxWidth:F,containerMaxWidthUnits:I,displayLabel:W,labelFont:B,label:L,labelPosition:N,numberFont:R,progressAmount:D,progressMax:H,displayPercent:U,numberSuffix:q,numberPrefix:V,numberIsRelative:$,duration:K,progressWidth:G,progressWidthTablet:J,progressWidthMobile:Q,progressBorderRadius:X,easing:Y,labelLayout:Z,hAlign:ee,thAlign:te,mhAlign:ne,delayUntilInView:re,decimal:ie,maskIterations:oe,maskSvg:ae,maskUrl:le,ariaLabel:se,showMaxProgressOnPageLoad:ue}=t,{addUniqueID:ce}=(0,u.useDispatch)("kadenceblocks/data"),{isUniqueID:pe,isUniqueBlock:he,previewDevice:fe,parentData:de}=(0,u.useSelect)((e=>({isUniqueID:t=>e("kadenceblocks/data").isUniqueID(t),isUniqueBlock:(t,n)=>e("kadenceblocks/data").isUniqueBlock(t,n),previewDevice:e("kadenceblocks/data").getPreviewDeviceType(),parentData:{rootBlock:e("core/block-editor").getBlock(e("core/block-editor").getBlockHierarchyRootClientId(g)),postId:e("core/editor")?.getCurrentPostId()?e("core/editor")?.getCurrentPostId():"",reusableParent:e("core/block-editor").getBlockAttributes(e("core/block-editor").getBlockParentsByBlockName(g,"core/block").slice(-1)[0]),editedPostId:!!e("core/edit-site")&&e("core/edit-site").getEditedPostId()}})),[g]);(0,c.useEffect)((()=>{(0,s.setBlockDefaults)("kadence/progress-bar",t);const r=(0,s.getPostOrFseId)(e,de),i=(0,s.getUniqueId)(v,g,pe,he,r);i!==v?(t.uniqueID=i,n({uniqueID:i}),ce(i,g)):ce(v,g)}),[]);const ge=e=>{n({labelFont:JSON.parse(JSON.stringify({...B,...e}))})},be=e=>{n({numberFont:JSON.parse(JSON.stringify({...R,...e}))})},[ve,ye]=(0,c.useState)("general"),[me,_e]=(0,c.useState)(0),ke=(0,s.getPreviewSize)(fe,void 0!==S?S[0]:"",void 0!==x?x[0]:"",void 0!==O?O[0]:""),we=(0,s.getPreviewSize)(fe,void 0!==S?S[1]:"",void 0!==x?x[1]:"",void 0!==O?O[1]:""),Se=(0,s.getPreviewSize)(fe,void 0!==S?S[2]:"",void 0!==x?x[2]:"",void 0!==O?O[2]:""),xe=(0,s.getPreviewSize)(fe,void 0!==S?S[3]:"",void 0!==x?x[3]:"",void 0!==O?O[3]:""),Oe=(0,s.getPreviewSize)(fe,void 0!==m?m[0]:"",void 0!==_?_[0]:"",void 0!==k?k[0]:""),Ce=(0,s.getPreviewSize)(fe,void 0!==m?m[1]:"",void 0!==_?_[1]:"",void 0!==k?k[1]:""),Pe=(0,s.getPreviewSize)(fe,void 0!==m?m[2]:"",void 0!==_?_[2]:"",void 0!==k?k[2]:""),Te=(0,s.getPreviewSize)(fe,void 0!==m?m[3]:"",void 0!==_?_[3]:"",void 0!==k?k[3]:""),Ee=(0,s.getPreviewSize)(fe,void 0!==G?G:"",void 0!==J?J:"",void 0!==Q?Q:""),je=(0,s.getPreviewSize)(fe,void 0!==X[0]?X[0]:"",void 0!==X[1]?X[1]:"",void 0!==X[2]?X[2]:""),Me=(0,s.getPreviewSize)(fe,void 0!==A?A:"",void 0!==z?z:"",void 0!==F?F:""),Ae=JSON.parse(JSON.stringify(B)),ze=JSON.parse(JSON.stringify(R)),Fe=(0,s.getPreviewSize)(fe,void 0!==Ae.size&&void 0!==Ae.size[0]&&""!==Ae.size[0]?Ae.size[0]:"",void 0!==Ae.size&&void 0!==Ae.size[1]&&""!==Ae.size[1]?Ae.size[1]:"",void 0!==Ae.size&&void 0!==Ae.size[2]&&""!==Ae.size[2]?Ae.size[2]:""),Ie=(0,s.getPreviewSize)(fe,void 0!==Ae.lineHeight&&void 0!==Ae.lineHeight[0]&&""!==Ae.lineHeight[0]?Ae.lineHeight[0]:"",void 0!==Ae.lineHeight&&void 0!==Ae.lineHeight[1]&&""!==Ae.lineHeight[1]?Ae.lineHeight[1]:"",void 0!==Ae.lineHeight&&void 0!==Ae.lineHeight[2]&&""!==Ae.lineHeight[2]?Ae.lineHeight[2]:""),We=(0,s.getPreviewSize)(fe,void 0!==Ae?.letterSpacing?.[0]&&""!==Ae.letterSpacing[0]?Ae.letterSpacing[0]:"",void 0!==Ae?.letterSpacing?.[1]&&""!==Ae.letterSpacing[1]?Ae.letterSpacing[1]:"",void 0!==Ae?.letterSpacing?.[2]&&""!==Ae.letterSpacing[2]?Ae.letterSpacing[2]:""),Be=(0,s.getPreviewSize)(fe,void 0!==ze.size&&void 0!==ze.size[0]&&""!==ze.size[0]?ze.size[0]:"",void 0!==ze.size&&void 0!==ze.size[1]&&""!==ze.size[1]?ze.size[1]:"",void 0!==ze.size&&void 0!==ze.size[2]&&""!==ze.size[2]?ze.size[2]:""),Le=(0,s.getPreviewSize)(fe,void 0!==ze?.lineHeight?.[0]&&""!==ze.lineHeight[0]?ze.lineHeight[0]:"",void 0!==ze?.lineHeight?.[1]&&""!==ze.lineHeight[1]?ze.lineHeight[1]:"",void 0!==ze?.lineHeight?.[2]&&""!==ze.lineHeight[2]?ze.lineHeight[2]:""),Ne=(0,s.getPreviewSize)(fe,void 0!==ze?.letterSpacing?.[0]&&""!==ze.letterSpacing[0]?ze.letterSpacing[0]:"",void 0!==ze?.letterSpacing?.[1]&&""!==ze.letterSpacing[1]?ze.letterSpacing[1]:"",void 0!==ze?.letterSpacing?.[2]&&""!==ze.letterSpacing[2]?ze.letterSpacing[2]:""),Re=(0,s.getPreviewSize)(fe,void 0!==ee?ee:"",void 0!==te?te:"",void 0!==ne?ne:""),De=b()({"kb-progress-bar-container":!0,[`kb-progress-bar-container${v}`]:!0,[`kb-progress-bar-type-${M}`]:!0,[`kb-progress-bar-align${void 0!==y?y:""}`]:!0}),He=(0,h.useBlockProps)({className:De}),Ue=[{key:"line",name:(0,o.__)("Line","kadence-blocks"),icon:r.lineBar},{key:"circle",name:(0,o.__)("Circle","kadence-blocks"),icon:r.circleBar},{key:"line-mask",name:(0,o.__)("Masked Line","kadence-blocks"),icon:r.lineMask},{key:"semicircle",name:(0,o.__)("Semicircle","kadence-blocks"),icon:r.semiCircleBar}],qe={google:{families:[B.family+(B.variant?":"+B.variant:"")]}},Ve=B.google?qe:"",$e={google:{families:[R.family+(R.variant?":"+R.variant:"")]}},Ke=R.google?$e:"",Ge={fontWeight:B?.weight?B.weight:void 0,fontStyle:B?.style?B.style:void 0,color:B?.color?(0,s.KadenceColorOutput)(B.color):void 0,fontSize:Fe?(0,s.getFontSizeOptionOutput)(Fe,B.sizeType):void 0,lineHeight:Ie?Ie+B.lineType:void 0,letterSpacing:We?We+(B.spacingType?B.spacingType:"px"):void 0,textTransform:B.textTransform?B.textTransform:void 0,fontFamily:B.family?B.family:void 0},Je={fontWeight:ze?.weight?ze.weight:Ge.fontWeight,fontStyle:ze?.style?ze.style:Ge.fontStyle,color:ze?.color?(0,s.KadenceColorOutput)(ze.color):Ge.color,fontSize:Be?(0,s.getFontSizeOptionOutput)(Be,ze.sizeType):Ge.fontSize,lineHeight:Le?Le+ze.lineType:Ge.lineHeight,letterSpacing:Ne?Ne+(ze.spacingType?ze.spacingType:"px"):Ge.letterSpacing,textTransform:ze?.textTransform?ze.textTransform:Ge.textTransform,fontFamily:ze?.family?ze.family:Ge.fontFamily},Qe={color:E?(0,s.KadenceColorOutput)(E,j):"var(--global-palette1, #2B6CB0)",strokeWidth:Ee,duration:0===K?1:1e3*K,easing:Y,trailWidth:Ee,trailColor:P?(0,s.KadenceColorOutput)(P,T):"var(--global-palette7, #EDF2F7)",svgStyle:{borderRadius:"line"===M?je+"px":""},step(e,t){const n=document.getElementsByName("editor-canvas").length>0?document.getElementsByName("editor-canvas")[0].contentWindow.document:document,r=n.getElementById("current-progress-above"+v),i=n.getElementById("current-progress-inside"+v),o=n.getElementById("current-progress-below"+v);let a;a=$?100*t.value():t.value()*H,"one"===ie?(a=Math.round(10*a)/10,a=a.toFixed(1)):"two"===ie?(a=Math.round(100*a)/100,a=a.toFixed(2)):a=Math.round(a),r&&"above"===N&&U?r.innerHTML=V+a+q:r&&(r.innerHTML=""),i&&"inside"===N&&U?i.innerHTML=V+a+q:i&&(i.innerHTML=""),o&&"below"===N&&U?o.innerHTML=V+a+q:o&&(o.innerHTML="")}},Xe="#kb-progress-bar"+v,Ye=document.getElementsByName("editor-canvas").length>0?document.getElementsByName("editor-canvas")[0].contentWindow.document:document;let Ze=null;(0,c.useEffect)((()=>{const e=Ye.querySelector(Xe);if(null!==e){if("line"===M||"line-mask"===M?Ze=new d.Line(e,Qe):"circle"===M?Ze=new d.Circle(e,Qe):"semicircle"===M&&(Ze=new d.SemiCircle(e,Qe)),Ze){const e=D<=H?D:H;Ze.animate(e/H)}return function(){Ze&&Ze.destroy()}}}),[D,H,E,j,X,K,Y,P,T,M,G,J,Q,N,$,me,Z,ie,v,Ye,U,V,q]);const et=e=>{const t={paddingTop:""!==Oe?(0,s.getSpacingOptionOutput)(Oe,w):void 0,paddingRight:""!==Ce?(0,s.getSpacingOptionOutput)(Ce,w):void 0,paddingBottom:""!==Pe?(0,s.getSpacingOptionOutput)(Pe,w):void 0,paddingLeft:""!==Te?(0,s.getSpacingOptionOutput)(Te,w):void 0};return"space-between"===Re?t.justifyContent="space-between":"center"===Re?(t.justifyContent="center",t.textAlign="center"):"left"===Re?(t.textAlign="left",t.justifyContent="flex-start"):"right"===Re&&(t.textAlign="right",t.justifyContent="flex-end"),"lt"!==Z&&"lb"!==Z||(t.flexDirection="column"),"inside"===N&&"center"===Re&&(t.transform="translateX(-50%) translateY(-50%)",t.left="50%"),"line"===M&&"inside"===N&&"right"===Re&&(t.width="100%"),"line"!==M&&"line-mask"!==M||"inside"!==N||"space-between"!==Re||(t.width="100%"),(0,a.createElement)("div",{className:"kb-progress-label-wrap "+("inside"===e?"kt-progress-label-inside":""),style:t},U&&("lb"===Z||"pl"===Z)&&(0,a.createElement)("span",{id:"current-progress-"+e+v,style:Je}),W&&(0,a.createElement)(h.RichText,{tagName:"span",value:L,onChange:e=>{n({label:e})},placeholder:(0,o.__)("Progress","kadence-blocks"),style:Ge,className:"kt-progress-label"}),U&&("lt"===Z||"lp"===Z)&&(0,a.createElement)("span",{id:"current-progress-"+e+v,style:Je}))};let tt="";const nt=null!=oe?oe:5,rt=null!=ae?ae:"star",it=kadence_blocks_params.svgMaskPath;let ot=it+rt+".svg";"custom"===ae&&(ot=le||it+"star.svg");const at=("url("+ot+"),").repeat(nt).replace(/(^,)|(,$)/g,""),lt="no-repeat,".repeat(nt).replace(/(^,)|(,$)/g,""),st=((nt>1?(0,p.range)(0,100.1,100/(nt-1)):[0]).join("%,")+"%").replace(/(^,)|(,$)/g,""),ut=nt+"/1",ct=G?11.5*G+"px":"80px",pt=J?11.5*J+"px":"",ht=Q?11.5*Q+"px":"",ft=(0,s.getPreviewSize)(fe,ct,pt,ht);return"line-mask"==M&&(tt=`\n\t\t\t\t#kb-progress-bar${v} {\n\t\t\t\t\t-webkit-mask-image: ${at};\n\t\t\t\t\tmask-image: ${at};\n\n\t\t\t\t\t-webkit-mask-size: contain;\n\t\t\t\t\tmask-size: contain;\n\n\t\t\t\t\t-webkit-mask-repeat: ${lt};\n\t\t\t\t\tmask-repeat: ${lt};\n\n\t\t\t\t\t-webkit-mask-position: ${st};\n\t\t\t\t\tmask-position: ${st};\n\n\t\t\t\t\taspect-ratio: ${ut};\n\n\t\t\t\t\theight: ${ft};\n\t\t\t\t}\n\t\t\t\t`),(0,a.createElement)("div",{...He},(0,a.createElement)(h.BlockControls,{group:"block"},(0,a.createElement)(h.BlockAlignmentControl,{value:y,onChange:e=>n({align:e})})),(0,a.createElement)(h.InspectorControls,null,(0,a.createElement)(l.InspectorControlTabs,{panelName:"progress-bar",setActiveTab:ye,activeTab:ve}),"general"===ve&&(0,a.createElement)(c.Fragment,null,(0,a.createElement)(f.PanelBody,null,(0,a.createElement)(f.ButtonGroup,{className:"kt-style-btn-group","aria-label":(0,o.__)("Progress Bar Layout","kadence-blocks")},(0,p.map)(Ue,(({name:e,key:t,icon:r})=>(0,a.createElement)(f.Button,{key:t,className:"kt-style-btn",isSmall:!0,label:e,"aria-pressed":!1,onClick:()=>{const e={barType:t};"line-mask"===M&&"line-mask"!==t&&(5===H&&4===D&&(e.progressMax=100,e.progressAmount=90,""===q&&(e.numberSuffix="%")),e.decimal="none",e.displayPercent=!0),"line"!==t&&"inside"===N&&(e.hAlign="center",e.thAlign="",e.mhAlign=""),"line-mask"===t&&(100==H&&90==D&&(e.progressMax=5,e.progressAmount=4,""!==q&&(e.numberSuffix="")),"inside"===N&&(e.labelPosition="bottom"),""==L&&(e.displayLabel=!1),e.decimal="one",e.displayPercent=!1),n(e)},style:{border:M===t?"2px solid #2B6CB0":"0"}},r))))),(0,a.createElement)(l.KadencePanelBody,null,"line-mask"==M&&(0,a.createElement)(c.Fragment,null,(0,a.createElement)(f.SelectControl,{label:(0,o.__)("Mask Shape","kadence-blocks"),options:[{label:(0,o.__)("Star","kadence-blocks"),value:"star"},{label:(0,o.__)("Heart","kadence-blocks"),value:"heart"},{label:(0,o.__)("Smile","kadence-blocks"),value:"smile-beam"},{label:(0,o.__)("Thumbs Up","kadence-blocks"),value:"thumbs-up"},{label:(0,o.__)("Thumbs Down","kadence-blocks"),value:"thumbs-down"},{label:(0,o.__)("Mug","kadence-blocks"),value:"mug-hot"},{label:(0,o.__)("Circle","kadence-blocks"),value:"circle"},{label:(0,o.__)("Diamond","kadence-blocks"),value:"diamond"},{label:(0,o.__)("Rounded","kadence-blocks"),value:"rounded"},{label:(0,o.__)("Cat","kadence-blocks"),value:"cat"},{label:(0,o.__)("Dog","kadence-blocks"),value:"dog"},{label:(0,o.__)("Custom","kadence-blocks"),value:"custom"}],value:ae,onChange:e=>n({maskSvg:e})}),"custom"===ae&&(0,a.createElement)("div",{class:"components-base-control"},(0,a.createElement)(l.KadenceImageControl,{label:(0,o.__)("Custom Mask Image","kadence-blocks"),hasImage:!!le,imageURL:le||"",imageID:"",onRemoveImage:()=>{n({maskUrl:void 0})},onSaveImage:e=>{n({maskUrl:e.url})},disableMediaButtons:!!le}),"Square images that are black on a transparent background work best for this mask."),(0,a.createElement)(f.RangeControl,{label:(0,o.__)("Mask Iterations","kadence-blocks"),value:oe,onChange:e=>n({maskIterations:e}),min:1,max:100})),(0,a.createElement)(l.ResponsiveRangeControls,{label:(0,o.__)("Progress Thickness","kadence-blocks"),value:G,tabletValue:J,mobileValue:Q,onChange:e=>{n({progressWidth:e})},onChangeTablet:e=>{n({progressWidthTablet:e})},onChangeMobile:e=>{n({progressWidthMobile:e})},allowEmpty:!1,min:.25,max:50,step:.25}),"line"===M&&(0,a.createElement)(l.ResponsiveRangeControls,{label:(0,o.__)("Border Radius","kadence-blocks"),value:X[0],tabletValue:X[1],mobileValue:X[2],onChange:e=>n({progressBorderRadius:[e,X&&X[1]?X[1]:"",X&&X[2]?X[2]:""]}),onChangeTablet:e=>n({progressBorderRadius:[X&&X[0]?X[0]:"",e,X&&X[2]?X[2]:""]}),onChangeMobile:e=>n({progressBorderRadius:[X&&X[0]?X[0]:"",X&&X[1]?X[1]:"",e]}),allowEmpty:!0,min:0,max:50,step:1,unit:"px"}),(0,a.createElement)(l.KadenceRadioButtons,{label:(0,o.__)("Number Format","kadence-blocks"),value:ie,className:"kb-letter-case",options:[{value:"none",label:(0,o.__)("1","kadence-blocks"),tooltip:(0,o.__)("Whole Number","kadence-blocks")},{value:"one",label:(0,o.__)("0.1","kadence-blocks"),tooltip:(0,o.__)("One Decimal Space","kadence-blocks")},{value:"two",label:(0,o.__)("0.01","kadence-blocks"),tooltip:(0,o.__)("Two Decimal Spaces","kadence-blocks")}],allowClear:!1,onChange:e=>n({decimal:e})}),(0,a.createElement)(f.RangeControl,{label:(0,o.__)("Progress","kadence-blocks"),value:D,onChange:e=>n({progressAmount:e}),min:0,max:H,step:"two"===ie?.01:"one"===ie?.1:1}),(0,a.createElement)(f.RangeControl,{label:(0,o.__)("Max Progress","kadence-blocks"),value:H,onChange:e=>{n({progressMax:e})},min:1,max:1e3,step:"two"===ie?.01:"one"===ie?.1:1}),(0,a.createElement)(f.TextControl,{label:(0,o.__)("Aria Label","kadence-blocks"),value:se,onChange:e=>n({ariaLabel:e}),help:(0,o.__)("Describe the purpose of this progress bar for screen readers, leave blank if label describes and the bar is purely decorative.","kadence-blocks"),className:"kb-textbox-style"})),(0,a.createElement)(l.KadencePanelBody,{title:(0,o.__)("Number Settings","kadence-blocks"),initialOpen:!0,panelName:"kb-progress-number-settings"},(0,a.createElement)(f.ToggleControl,{label:(0,o.__)("Show Number","kadence-blocks"),checked:U,onChange:e=>n({displayPercent:e})}),U&&(0,a.createElement)(c.Fragment,null,(0,a.createElement)(f.TextControl,{label:(0,o.__)("Number Prefix","kadence-blocks"),value:V,onChange:e=>n({numberPrefix:e}),onBlur:()=>{_e(Math.random())}}),(0,a.createElement)(f.TextControl,{label:(0,o.__)("Number Suffix","kadence-blocks"),value:q,onChange:e=>n({numberSuffix:e}),onBlur:()=>{_e(Math.random())}}),100!==H&&(0,a.createElement)(f.ToggleControl,{label:(0,o.__)("Percentage relative to 100%","kadence-blocks"),checked:$,onChange:e=>n({numberIsRelative:e})}))),(0,a.createElement)(l.KadencePanelBody,{title:(0,o.__)("Animation","kadence-blocks"),initialOpen:!1,panelName:"kb-progress-bar-timing"},(0,a.createElement)(f.RangeControl,{label:(0,o.__)("Duration","kadence-blocks"),value:K,onChange:e=>n({duration:e}),min:0,max:25,step:.1}),(0,a.createElement)(f.ToggleControl,{label:(0,o.__)("Wait until visible to animate","kadence-blocks"),help:(0,o.__)("The animation wont start until the progress bar is visible in the viewport. This does not apply in the editor","kadence-blocks"),checked:re,onChange:e=>n({delayUntilInView:e})}),(0,a.createElement)(f.SelectControl,{label:(0,o.__)("Type","kadence-blocks"),options:[{value:"linear",label:(0,o.__)("Linear","kadence-blocks")},{value:"easeIn",label:(0,o.__)("Ease In","kadence-blocks")},{value:"easeOut",label:(0,o.__)("Ease Out","kadence-blocks")},{value:"easeInOut",label:(0,o.__)("Ease In Out","kadence-blocks")}],value:Y,onChange:e=>n({easing:e})}))),"style"===ve&&(0,a.createElement)(c.Fragment,null,(0,a.createElement)(l.KadencePanelBody,null,(0,a.createElement)(l.KadenceRadioButtons,{label:(0,o.__)("Text Position","kadence-blocks"),value:N,options:[{value:"above",label:(0,o.__)("Above","kadence-blocks")},{value:"inside",label:(0,o.__)("Inside","kadence-blocks"),isDisabled:"line-mask"===M},{value:"below",label:(0,o.__)("Below","kadence-blocks")}],className:"kb-letter-case",allowClear:!1,onChange:e=>n({labelPosition:e})}),!(("circle"===M||"semicircle"===M)&&"inside"===N)&&(0,a.createElement)(l.ResponsiveAlignControls,{label:(0,o.__)("Text Alignment","kadence-blocks"),value:ee||"",mobileValue:ne||"",tabletValue:te||"",onChange:e=>n({hAlign:e||"space-between"}),onChangeTablet:e=>n({thAlign:e||""}),onChangeMobile:e=>n({mhAlign:e||""}),type:"justify"}),W&&U?(0,a.createElement)(f.SelectControl,{label:(0,o.__)("Text Layout","kadence-blocks"),options:[{value:"lp",label:(0,o.__)("Label then %","kadence-blocks")},{value:"pl",label:(0,o.__)("% then Label","kadence-blocks")},{value:"lt",label:(0,o.__)("Label above %","kadence-blocks")},{value:"lb",label:(0,o.__)("Label below %","kadence-blocks")}],value:Z,onChange:e=>n({labelLayout:e})}):null,(0,a.createElement)(f.ToggleControl,{label:(0,o.__)("Show Label","kadence-blocks"),checked:W,onChange:e=>n({displayLabel:e})}),(0,a.createElement)(f.ToggleControl,{label:(0,o.__)("Show Number","kadence-blocks"),checked:U,onChange:e=>n({displayPercent:e})})),(0,a.createElement)(l.KadencePanelBody,{title:(0,o.__)("Progress Color","kadence-blocks"),initialOpen:!1,panelName:"kb-progress-color"},(0,a.createElement)(l.PopColorControl,{label:(0,o.__)("Progress Background","kadence-blocks"),colorValue:P,opacityValue:T,onColorChange:e=>n({barBackground:e}),onOpacityChange:e=>n({barBackgroundOpacity:e})}),(0,a.createElement)(l.PopColorControl,{label:(0,o.__)("Progress Color","kadence-blocks"),colorValue:E,opacityValue:j,onColorChange:e=>n({progressColor:e}),onOpacityChange:e=>n({progressOpacity:e})})),U||W?(0,a.createElement)(l.KadencePanelBody,{title:(0,o.__)("Text Styling","kadence-blocks"),initialOpen:!1,panelName:"kb-progress-text-styling"},(0,a.createElement)(l.PopColorControl,{label:(0,o.__)("Color Settings","kadence-blocks"),value:B.color?B.color:"",default:"",onChange:e=>ge({color:e})}),(0,a.createElement)(l.TypographyControls,{fontGroup:"body",fontSize:B.size,onFontSize:e=>ge({size:e}),fontSizeType:B.sizeType,onFontSizeType:e=>ge({sizeType:e}),lineHeight:B.lineHeight,onLineHeight:e=>ge({lineHeight:e}),lineHeightType:B.lineType,onLineHeightType:e=>ge({lineType:e}),reLetterSpacing:B.letterSpacing,onLetterSpacing:e=>ge({letterSpacing:e}),textTransform:B.textTransform,onTextTransform:e=>ge({textTransform:e}),fontFamily:B.family,onFontFamily:e=>ge({family:e}),onFontChange:e=>{ge({family:e.value,google:e.google})},onFontArrayChange:e=>ge(e),googleFont:B.google,onGoogleFont:e=>ge({google:e}),loadGoogleFont:B.loadGoogle,onLoadGoogleFont:e=>ge({loadGoogle:e}),fontVariant:B.variant,onFontVariant:e=>ge({variant:e}),fontWeight:B.weight,onFontWeight:e=>ge({weight:e}),fontStyle:B.style,onFontStyle:e=>ge({style:e}),fontSubset:B.subset,onFontSubset:e=>ge({subset:e})})):null,U&&(0,a.createElement)(l.KadencePanelBody,{title:(0,o.__)("Number Styling","kadence-blocks"),initialOpen:!1,panelName:"kb-progress-number-styling"},(0,a.createElement)(l.PopColorControl,{label:(0,o.__)("Color Settings","kadence-blocks"),value:R.color?R.color:"",default:"",onChange:e=>be({color:e})}),(0,a.createElement)(l.TypographyControls,{fontGroup:"body",fontSize:R.size,onFontSize:e=>be({size:e}),fontSizeType:R.sizeType,onFontSizeType:e=>be({sizeType:e}),lineHeight:R.lineHeight,onLineHeight:e=>be({lineHeight:e}),lineHeightType:R.lineType,onLineHeightType:e=>be({lineType:e}),reLetterSpacing:R.letterSpacing,onLetterSpacing:e=>be({letterSpacing:e}),textTransform:R.textTransform,onTextTransform:e=>be({textTransform:e}),fontFamily:R.family,onFontFamily:e=>be({family:e}),onFontChange:e=>{be({family:e.value,google:e.google})},onFontArrayChange:e=>be(e),googleFont:R.google,onGoogleFont:e=>be({google:e}),loadGoogleFont:R.loadGoogle,onLoadGoogleFont:e=>be({loadGoogle:e}),fontVariant:R.variant,onFontVariant:e=>be({variant:e}),fontWeight:R.weight,onFontWeight:e=>be({weight:e}),fontStyle:R.style,onFontStyle:e=>be({style:e}),fontSubset:R.subset,onFontSubset:e=>be({subset:e})})),(U||W)&&(0,a.createElement)(l.KadencePanelBody,{title:(0,o.__)("Text and Number Padding","kadence-blocks"),initialOpen:!1,panelName:"kb-progress-text-padding"},(0,a.createElement)(l.ResponsiveMeasureRangeControl,{label:(0,o.__)("Padding","kadence-blocks"),value:m,tabletValue:_,mobileValue:k,onChange:e=>{n({labelPadding:e})},onChangeTablet:e=>n({tabletLabelPadding:e}),onChangeMobile:e=>n({mobileLabelPadding:e}),min:"em"===w||"rem"===w?-12:-999,max:"em"===w||"rem"===w?24:999,step:"em"===w||"rem"===w?.1:1,unit:w,units:["px","em","rem","%","vh"],onUnit:e=>n({labelPaddingType:e})}))),"advanced"===ve&&(0,a.createElement)(c.Fragment,null,(0,a.createElement)(l.KadencePanelBody,null,(0,a.createElement)(l.ResponsiveMeasureRangeControl,{label:(0,o.__)("Margin","kadence-blocks"),value:S,tabletValue:x,mobileValue:O,onChange:e=>{n({margin:e})},onChangeTablet:e=>n({tabletMargin:e}),onChangeMobile:e=>n({mobileMargin:e}),min:"em"===C||"rem"===C?-12:-999,max:"em"===C||"rem"===C?24:999,step:"em"===C||"rem"===C?.1:1,unit:C,units:["px","em","rem","%","vh"],onUnit:e=>n({marginType:e}),allowAuto:!0}),(0,a.createElement)(l.ResponsiveRangeControls,{label:(0,o.__)("Max Width","kadence-blocks"),value:A,onChange:e=>n({containerMaxWidth:e}),tabletValue:z||"",onChangeTablet:e=>n({tabletContainerMaxWidth:e}),mobileValue:F||"",onChangeMobile:e=>n({mobileContainerMaxWidth:e}),min:0,max:"px"===I?3e3:100,step:1,unit:I,onUnit:e=>n({containerMaxWidthUnits:e}),reset:()=>n({containerMaxWidth:0,tabletContainerMaxWidth:"",mobileContainerMaxWidth:""}),units:["px","vh","%"]})),U&&(0,a.createElement)(l.KadencePanelBody,{initialOpen:!0,panelName:"kb-progress-preload-settings"},(0,a.createElement)(f.ToggleControl,{label:(0,o.__)("Show max progress on page load","kadence-blocks"),help:(0,o.__)("The max progress value will be shown prior to the progress bar javascript executing or if javascript is disabled.","kadence-blocks"),checked:ue,onChange:e=>n({showMaxProgressOnPageLoad:e})})))),(0,a.createElement)("style",null,tt),(0,a.createElement)("div",{style:{position:"relative",marginTop:""!==ke?(0,s.getSpacingOptionOutput)(ke,C):void 0,marginRight:""!==we?(0,s.getSpacingOptionOutput)(we,C):void 0,marginBottom:""!==Se?(0,s.getSpacingOptionOutput)(Se,C):void 0,marginLeft:""!==xe?(0,s.getSpacingOptionOutput)(xe,C):void 0,width:Me?Me+I:"none"}},"above"===N&&(W||U)&&et("above"),(0,a.createElement)("div",{id:"kb-progress-bar"+v,class:"kb-progress-bar"}),"inside"===N&&(W||U)&&et("inside"),"below"===N&&(W||U)&&et("below")),B.google&&(0,a.createElement)(l.WebfontLoader,{config:Ve}),U&&R.google&&(0,a.createElement)(l.WebfontLoader,{config:Ke}))},save:()=>null})},2485:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var a=i.apply(null,n);a&&e.push(a)}}else if("object"===o)if(n.toString===Object.prototype.toString)for(var l in n)r.call(n,l)&&n[l]&&e.push(l);else e.push(n.toString())}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},941:(e,t,n)=>{e.exports=function e(t,n,r){function i(a,l){if(!n[a]){if(!t[a]){if(o)return o(a,!0);var s=new Error("Cannot find module '"+a+"'");throw s.code="MODULE_NOT_FOUND",s}var u=n[a]={exports:{}};t[a][0].call(u.exports,(function(e){return i(t[a][1][e]||e)}),u,u.exports,e,t,n,r)}return n[a].exports}for(var o=void 0,a=0;a<r.length;a++)i(r[a]);return i}({1:[function(e,t,r){(function(e){(function(){var n="__lodash_hash_undefined__",i=9007199254740991,o="[object Arguments]",a="[object Function]",l="[object Object]",s=/^\[object .+?Constructor\]$/,u=/^(?:0|[1-9]\d*)$/,c={};c["[object Float32Array]"]=c["[object Float64Array]"]=c["[object Int8Array]"]=c["[object Int16Array]"]=c["[object Int32Array]"]=c["[object Uint8Array]"]=c["[object Uint8ClampedArray]"]=c["[object Uint16Array]"]=c["[object Uint32Array]"]=!0,c[o]=c["[object Array]"]=c["[object ArrayBuffer]"]=c["[object Boolean]"]=c["[object DataView]"]=c["[object Date]"]=c["[object Error]"]=c[a]=c["[object Map]"]=c["[object Number]"]=c[l]=c["[object RegExp]"]=c["[object Set]"]=c["[object String]"]=c["[object WeakMap]"]=!1;var p="object"==typeof e&&e&&e.Object===Object&&e,h="object"==typeof self&&self&&self.Object===Object&&self,f=p||h||Function("return this")(),d="object"==typeof r&&r&&!r.nodeType&&r,g=d&&"object"==typeof t&&t&&!t.nodeType&&t,b=g&&g.exports===d,v=b&&p.process,y=function(){try{return g&&g.require&&g.require("util").types||v&&v.binding&&v.binding("util")}catch(e){}}(),m=y&&y.isTypedArray;var _,k,w,S=Array.prototype,x=Function.prototype,O=Object.prototype,C=f["__core-js_shared__"],P=x.toString,T=O.hasOwnProperty,E=(_=/[^.]+$/.exec(C&&C.keys&&C.keys.IE_PROTO||""))?"Symbol(src)_1."+_:"",j=O.toString,M=P.call(Object),A=RegExp("^"+P.call(T).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),z=b?f.Buffer:void 0,F=f.Symbol,I=f.Uint8Array,W=z?z.allocUnsafe:void 0,B=(k=Object.getPrototypeOf,w=Object,function(e){return k(w(e))}),L=Object.create,N=O.propertyIsEnumerable,R=S.splice,D=F?F.toStringTag:void 0,H=function(){try{var e=fe(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),U=z?z.isBuffer:void 0,q=Math.max,V=Date.now,$=fe(f,"Map"),K=fe(Object,"create"),G=function(){function e(){}return function(t){if(!Oe(t))return{};if(L)return L(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function J(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Q(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function X(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Y(e){var t=this.__data__=new Q(e);this.size=t.size}function Z(e,t){var n=_e(e),r=!n&&me(e),i=!n&&!r&&we(e),o=!n&&!r&&!i&&Pe(e),a=n||r||i||o,l=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],s=l.length;for(var u in e)!t&&!T.call(e,u)||a&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||de(u,s))||l.push(u);return l}function ee(e,t,n){(void 0!==n&&!ye(e[t],n)||void 0===n&&!(t in e))&&re(e,t,n)}function te(e,t,n){var r=e[t];T.call(e,t)&&ye(r,n)&&(void 0!==n||t in e)||re(e,t,n)}function ne(e,t){for(var n=e.length;n--;)if(ye(e[n][0],t))return n;return-1}function re(e,t,n){"__proto__"==t&&H?H(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}J.prototype.clear=function(){this.__data__=K?K(null):{},this.size=0},J.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},J.prototype.get=function(e){var t=this.__data__;if(K){var r=t[e];return r===n?void 0:r}return T.call(t,e)?t[e]:void 0},J.prototype.has=function(e){var t=this.__data__;return K?void 0!==t[e]:T.call(t,e)},J.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=K&&void 0===t?n:t,this},Q.prototype.clear=function(){this.__data__=[],this.size=0},Q.prototype.delete=function(e){var t=this.__data__,n=ne(t,e);return!(n<0||(n==t.length-1?t.pop():R.call(t,n,1),--this.size,0))},Q.prototype.get=function(e){var t=this.__data__,n=ne(t,e);return n<0?void 0:t[n][1]},Q.prototype.has=function(e){return ne(this.__data__,e)>-1},Q.prototype.set=function(e,t){var n=this.__data__,r=ne(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},X.prototype.clear=function(){this.size=0,this.__data__={hash:new J,map:new($||Q),string:new J}},X.prototype.delete=function(e){var t=he(this,e).delete(e);return this.size-=t?1:0,t},X.prototype.get=function(e){return he(this,e).get(e)},X.prototype.has=function(e){return he(this,e).has(e)},X.prototype.set=function(e,t){var n=he(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Y.prototype.clear=function(){this.__data__=new Q,this.size=0},Y.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Y.prototype.get=function(e){return this.__data__.get(e)},Y.prototype.has=function(e){return this.__data__.has(e)},Y.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Q){var r=n.__data__;if(!$||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new X(r)}return n.set(e,t),this.size=n.size,this};var ie,oe=function(e,t,n){for(var r=-1,i=Object(e),o=n(e),a=o.length;a--;){var l=o[ie?a:++r];if(!1===t(i[l],l,i))break}return e};function ae(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":D&&D in Object(e)?function(e){var t=T.call(e,D),n=e[D];try{e[D]=void 0;var r=!0}catch(e){}var i=j.call(e);return r&&(t?e[D]=n:delete e[D]),i}(e):function(e){return j.call(e)}(e)}function le(e){return Ce(e)&&ae(e)==o}function se(e){return!(!Oe(e)||function(e){return!!E&&E in e}(e))&&(Se(e)?A:s).test(function(e){if(null!=e){try{return P.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}function ue(e){if(!Oe(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=ge(e),n=[];for(var r in e)("constructor"!=r||!t&&T.call(e,r))&&n.push(r);return n}function ce(e,t,n,r,i){e!==t&&oe(t,(function(o,a){if(i||(i=new Y),Oe(o))!function(e,t,n,r,i,o,a){var s=be(e,n),u=be(t,n),c=a.get(u);if(c)ee(e,n,c);else{var p=o?o(s,u,n+"",e,t,a):void 0,h=void 0===p;if(h){var f=_e(u),d=!f&&we(u),g=!f&&!d&&Pe(u);p=u,f||d||g?_e(s)?p=s:Ce(_=s)&&ke(_)?p=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}(s):d?(h=!1,p=function(e,t){if(t)return e.slice();var n=e.length,r=W?W(n):new e.constructor(n);return e.copy(r),r}(u,!0)):g?(h=!1,b=u,v=!0?(y=b.buffer,m=new y.constructor(y.byteLength),new I(m).set(new I(y)),m):b.buffer,p=new b.constructor(v,b.byteOffset,b.length)):p=[]:function(e){if(!Ce(e)||ae(e)!=l)return!1;var t=B(e);if(null===t)return!0;var n=T.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&P.call(n)==M}(u)||me(u)?(p=s,me(s)?p=function(e){return function(e,t,n,r){var i=!n;n||(n={});for(var o=-1,a=t.length;++o<a;){var l=t[o],s=r?r(n[l],e[l],l,n,e):void 0;void 0===s&&(s=e[l]),i?re(n,l,s):te(n,l,s)}return n}(e,Te(e))}(s):Oe(s)&&!Se(s)||(p=function(e){return"function"!=typeof e.constructor||ge(e)?{}:G(B(e))}(u))):h=!1}h&&(a.set(u,p),i(p,u,r,o,a),a.delete(u)),ee(e,n,p)}var b,v,y,m;var _}(e,t,a,n,ce,r,i);else{var s=r?r(be(e,a),o,a+"",e,t,i):void 0;void 0===s&&(s=o),ee(e,a,s)}}),Te)}function pe(e,t){return ve(function(e,t,n){return t=q(void 0===t?e.length-1:t,0),function(){for(var r=arguments,i=-1,o=q(r.length-t,0),a=Array(o);++i<o;)a[i]=r[t+i];i=-1;for(var l=Array(t+1);++i<t;)l[i]=r[i];return l[t]=n(a),function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}(e,this,l)}}(e,t,Me),e+"")}function he(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function fe(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return se(n)?n:void 0}function de(e,t){var n=typeof e;return!!(t=null==t?i:t)&&("number"==n||"symbol"!=n&&u.test(e))&&e>-1&&e%1==0&&e<t}function ge(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||O)}function be(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var ve=function(e){var t=0,n=0;return function(){var r=V(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(H?function(e,t){return H(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:Me);function ye(e,t){return e===t||e!=e&&t!=t}var me=le(function(){return arguments}())?le:function(e){return Ce(e)&&T.call(e,"callee")&&!N.call(e,"callee")},_e=Array.isArray;function ke(e){return null!=e&&xe(e.length)&&!Se(e)}var we=U||function(){return!1};function Se(e){if(!Oe(e))return!1;var t=ae(e);return t==a||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function xe(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=i}function Oe(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Ce(e){return null!=e&&"object"==typeof e}var Pe=m?function(e){return function(t){return e(t)}}(m):function(e){return Ce(e)&&xe(e.length)&&!!c[ae(e)]};function Te(e){return ke(e)?Z(e,!0):ue(e)}var Ee,je=(Ee=function(e,t,n){ce(e,t,n)},pe((function(e,t){var n=-1,r=t.length,i=r>1?t[r-1]:void 0,o=r>2?t[2]:void 0;for(i=Ee.length>3&&"function"==typeof i?(r--,i):void 0,o&&function(e,t,n){if(!Oe(n))return!1;var r=typeof t;return!!("number"==r?ke(n)&&de(t,n.length):"string"==r&&t in n)&&ye(n[t],e)}(t[0],t[1],o)&&(i=r<3?void 0:i,r=1),e=Object(e);++n<r;){var a=t[n];a&&Ee(e,a,n,i)}return e})));function Me(e){return e}t.exports=je}).call(this)}).call(this,void 0!==n.g?n.g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],2:[function(e,t,n){var r,i;r=self,i=function(){return function(){"use strict";var e={720:function(e,t,n){n.r(t),n.d(t,{Scene:function(){return Xe},Tweenable:function(){return ye},interpolate:function(){return Ke},processTweens:function(){return ce},setBezierFunction:function(){return H},shouldScheduleUpdate:function(){return fe},tween:function(){return me},unsetBezierFunction:function(){return U}});var r={};n.r(r),n.d(r,{bounce:function(){return I},bouncePast:function(){return W},easeFrom:function(){return L},easeFromTo:function(){return B},easeInBack:function(){return T},easeInCirc:function(){return x},easeInCubic:function(){return u},easeInExpo:function(){return k},easeInOutBack:function(){return j},easeInOutCirc:function(){return C},easeInOutCubic:function(){return p},easeInOutExpo:function(){return S},easeInOutQuad:function(){return s},easeInOutQuart:function(){return d},easeInOutQuint:function(){return v},easeInOutSine:function(){return _},easeInQuad:function(){return a},easeInQuart:function(){return h},easeInQuint:function(){return g},easeInSine:function(){return y},easeOutBack:function(){return E},easeOutBounce:function(){return P},easeOutCirc:function(){return O},easeOutCubic:function(){return c},easeOutExpo:function(){return w},easeOutQuad:function(){return l},easeOutQuart:function(){return f},easeOutQuint:function(){return b},easeOutSine:function(){return m},easeTo:function(){return N},elastic:function(){return M},linear:function(){return o},swingFrom:function(){return z},swingFromTo:function(){return A},swingTo:function(){return F}});var i={};n.r(i),n.d(i,{afterTween:function(){return He},beforeTween:function(){return De},doesApply:function(){return Ne},tweenCreated:function(){return Re}});var o=function(e){return e},a=function(e){return Math.pow(e,2)},l=function(e){return-(Math.pow(e-1,2)-1)},s=function(e){return(e/=.5)<1?.5*Math.pow(e,2):-.5*((e-=2)*e-2)},u=function(e){return Math.pow(e,3)},c=function(e){return Math.pow(e-1,3)+1},p=function(e){return(e/=.5)<1?.5*Math.pow(e,3):.5*(Math.pow(e-2,3)+2)},h=function(e){return Math.pow(e,4)},f=function(e){return-(Math.pow(e-1,4)-1)},d=function(e){return(e/=.5)<1?.5*Math.pow(e,4):-.5*((e-=2)*Math.pow(e,3)-2)},g=function(e){return Math.pow(e,5)},b=function(e){return Math.pow(e-1,5)+1},v=function(e){return(e/=.5)<1?.5*Math.pow(e,5):.5*(Math.pow(e-2,5)+2)},y=function(e){return 1-Math.cos(e*(Math.PI/2))},m=function(e){return Math.sin(e*(Math.PI/2))},_=function(e){return-.5*(Math.cos(Math.PI*e)-1)},k=function(e){return 0===e?0:Math.pow(2,10*(e-1))},w=function(e){return 1===e?1:1-Math.pow(2,-10*e)},S=function(e){return 0===e?0:1===e?1:(e/=.5)<1?.5*Math.pow(2,10*(e-1)):.5*(2-Math.pow(2,-10*--e))},x=function(e){return-(Math.sqrt(1-e*e)-1)},O=function(e){return Math.sqrt(1-Math.pow(e-1,2))},C=function(e){return(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},P=function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},T=function(e){var t=1.70158;return e*e*((t+1)*e-t)},E=function(e){var t=1.70158;return(e-=1)*e*((t+1)*e+t)+1},j=function(e){var t=1.70158;return(e/=.5)<1?e*e*((1+(t*=1.525))*e-t)*.5:.5*((e-=2)*e*((1+(t*=1.525))*e+t)+2)},M=function(e){return-1*Math.pow(4,-8*e)*Math.sin((6*e-1)*(2*Math.PI)/2)+1},A=function(e){var t=1.70158;return(e/=.5)<1?e*e*((1+(t*=1.525))*e-t)*.5:.5*((e-=2)*e*((1+(t*=1.525))*e+t)+2)},z=function(e){var t=1.70158;return e*e*((t+1)*e-t)},F=function(e){var t=1.70158;return(e-=1)*e*((t+1)*e+t)+1},I=function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},W=function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?2-(7.5625*(e-=1.5/2.75)*e+.75):e<2.5/2.75?2-(7.5625*(e-=2.25/2.75)*e+.9375):2-(7.5625*(e-=2.625/2.75)*e+.984375)},B=function(e){return(e/=.5)<1?.5*Math.pow(e,4):-.5*((e-=2)*Math.pow(e,3)-2)},L=function(e){return Math.pow(e,4)},N=function(e){return Math.pow(e,.25)};var R,D=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.25,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.25,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.75,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.75;return function(i){return function(e,t,n,r,i,o){var a,l,s,u,c,p=0,h=0,f=0,d=function(e){return((p*e+h)*e+f)*e},g=function(e){return(3*p*e+2*h)*e+f},b=function(e){return e>=0?e:0-e};return p=1-(f=3*t)-(h=3*(r-t)-f),s=1-(c=3*n)-(u=3*(i-n)-c),a=e,l=function(e){return 1/(200*e)}(o),function(e){return((s*e+u)*e+c)*e}(function(e,t){var n,r,i,o,a,l;for(i=e,l=0;l<8;l++){if(o=d(i)-e,b(o)<t)return i;if(a=g(i),b(a)<1e-6)break;i-=o/a}if((i=e)<(n=0))return n;if(i>(r=1))return r;for(;n<r;){if(o=d(i),b(o-e)<t)return i;e>o?n=i:r=i,i=.5*(r-n)+n}return i}(a,l))}(i,e,t,n,r,1)}},H=function(e,t,n,r,i){var o=D(t,n,r,i);return o.displayName=e,o.x1=t,o.y1=n,o.x2=r,o.y2=i,ye.formulas[e]=o},U=function(e){return delete ye.formulas[e]};function q(e){return q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},q(e)}function V(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function $(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function K(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$(Object(n),!0).forEach((function(t){G(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function G(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var J,Q,X,Y="linear",Z="undefined"!=typeof window?window:n.g,ee="afterTween",te="beforeTween",ne="string",re=Z.requestAnimationFrame||Z.webkitRequestAnimationFrame||Z.oRequestAnimationFrame||Z.msRequestAnimationFrame||Z.mozCancelRequestAnimationFrame&&Z.mozRequestAnimationFrame||setTimeout,ie=function(){},oe=null,ae=null,le=K({},r),se=function(e,t,n,r,i,o,a){var l,s,u,c=e<o?0:(e-o)/i,p=!1;for(var h in a&&a.call&&(p=!0,l=a(c)),t)p||(l=((s=a[h]).call?s:le[s])(c)),u=n[h],t[h]=u+(r[h]-u)*l;return t},ue=function(e,t){var n=e._timestamp,r=e._currentState,i=e._delay;if(!(t<n+i)){var o=e._duration,a=e._targetState,l=n+i+o,s=t>l?l:t;e._hasEnded=s>=l;var u=o-(l-s),c=e._filters.length>0;if(e._hasEnded)return e._render(a,e._data,u),e.stop(!0);c&&e._applyFilter(te),s<n+i?n=o=s=1:n+=i,se(s,r,e._originalState,a,o,n,e._easing),c&&e._applyFilter(ee),e._render(r,e._data,u)}},ce=function(){for(var e,t=ye.now(),n=oe;n;)e=n._next,ue(n,t),n=e},pe=Date.now||function(){return+new Date},he=!1,fe=function(e){e&&he||(he=e,e&&de())},de=function e(){J=pe(),he&&re.call(Z,e,16.666666666666668),ce()},ge=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Y,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(Array.isArray(t))return D.apply(void 0,function(e){return function(e){if(Array.isArray(e))return V(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return V(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?V(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(t));var r=q(t);if(le[t])return le[t];if(r===ne||"function"===r)for(var i in e)n[i]=t;else for(var o in e)n[o]=t[o]||Y;return n},be=function(e){e===oe?(oe=e._next)?oe._previous=null:ae=null:e===ae?(ae=e._previous)?ae._next=null:oe=null:(Q=e._previous,X=e._next,Q._next=X,X._previous=Q),e._previous=e._next=null},ve="function"==typeof Promise?Promise:null;R=Symbol.toStringTag;var ye=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),G(this,R,"Promise"),this._config={},this._data={},this._delay=0,this._filters=[],this._next=null,this._previous=null,this._timestamp=null,this._hasEnded=!1,this._resolve=null,this._reject=null,this._currentState=t||{},this._originalState={},this._targetState={},this._start=ie,this._render=ie,this._promiseCtor=ve,n&&this.setConfig(n)}var t;return t=[{key:"_applyFilter",value:function(e){for(var t=this._filters.length;t>0;t--){var n=this._filters[t-t][e];n&&n(this)}}},{key:"tween",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return this._isPlaying&&this.stop(),!t&&this._config||this.setConfig(t),this._pausedAtTime=null,this._timestamp=e.now(),this._start(this.get(),this._data),this._delay&&this._render(this._currentState,this._data,0),this._resume(this._timestamp)}},{key:"setConfig",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=this._config;for(var r in t)n[r]=t[r];var i=n.promise,o=void 0===i?this._promiseCtor:i,a=n.start,l=void 0===a?ie:a,s=n.finish,u=n.render,c=void 0===u?this._config.step||ie:u,p=n.step,h=void 0===p?ie:p;this._data=n.data||n.attachment||this._data,this._isPlaying=!1,this._pausedAtTime=null,this._scheduleId=null,this._delay=t.delay||0,this._start=l,this._render=c||h,this._duration=n.duration||500,this._promiseCtor=o,s&&(this._resolve=s);var f=t.from,d=t.to,g=void 0===d?{}:d,b=this._currentState,v=this._originalState,y=this._targetState;for(var m in f)b[m]=f[m];var _=!1;for(var k in b){var w=b[k];_||q(w)!==ne||(_=!0),v[k]=w,y[k]=g.hasOwnProperty(k)?g[k]:w}if(this._easing=ge(this._currentState,n.easing,this._easing),this._filters.length=0,_){for(var S in e.filters)e.filters[S].doesApply(this)&&this._filters.push(e.filters[S]);this._applyFilter("tweenCreated")}return this}},{key:"then",value:function(e,t){var n=this;return this._promise=new this._promiseCtor((function(e,t){n._resolve=e,n._reject=t})),this._promise.then(e,t)}},{key:"catch",value:function(e){return this.then().catch(e)}},{key:"finally",value:function(e){return this.then().finally(e)}},{key:"get",value:function(){return K({},this._currentState)}},{key:"set",value:function(e){this._currentState=e}},{key:"pause",value:function(){if(this._isPlaying)return this._pausedAtTime=e.now(),this._isPlaying=!1,be(this),this}},{key:"resume",value:function(){return this._resume()}},{key:"_resume",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.now();return null===this._timestamp?this.tween():this._isPlaying?this._promise:(this._pausedAtTime&&(this._timestamp+=t-this._pausedAtTime,this._pausedAtTime=null),this._isPlaying=!0,null===oe?(oe=this,ae=this):(this._previous=ae,ae._next=this,ae=this),this)}},{key:"seek",value:function(t){t=Math.max(t,0);var n=e.now();return this._timestamp+t===0||(this._timestamp=n-t,ue(this,n)),this}},{key:"stop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this._isPlaying)return this;this._isPlaying=!1,be(this);var t=this._filters.length>0;return e&&(t&&this._applyFilter(te),se(1,this._currentState,this._originalState,this._targetState,1,0,this._easing),t&&(this._applyFilter(ee),this._applyFilter("afterTweenEnd"))),this._resolve&&this._resolve({data:this._data,state:this._currentState,tweenable:this}),this._resolve=null,this._reject=null,this}},{key:"cancel",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this._currentState,n=this._data;return this._isPlaying?(this._reject&&this._reject({data:n,state:t,tweenable:this}),this._resolve=null,this._reject=null,this.stop(e)):this}},{key:"isPlaying",value:function(){return this._isPlaying}},{key:"hasEnded",value:function(){return this._hasEnded}},{key:"setScheduleFunction",value:function(t){e.setScheduleFunction(t)}},{key:"data",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return e&&(this._data=K({},e)),this._data}},{key:"dispose",value:function(){for(var e in this)delete this[e]}}],t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}();function me(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=new ye;return t.tween(e),t.tweenable=t,t}G(ye,"now",(function(){return J})),G(ye,"setScheduleFunction",(function(e){return re=e})),G(ye,"filters",{}),G(ye,"formulas",le),fe(!0);var _e,ke,we=/(\d|-|\.)/,Se=/([^\-0-9.]+)/g,xe=/[0-9.-]+/g,Oe=(_e=xe.source,ke=/,\s*/.source,new RegExp("rgba?\\(".concat(_e).concat(ke).concat(_e).concat(ke).concat(_e,"(").concat(ke).concat(_e,")?\\)"),"g")),Ce=/^.*\(/,Pe=/#([0-9]|[a-f]){3,6}/gi,Te="VAL",Ee=function(e,t){return e.map((function(e,n){return"_".concat(t,"_").concat(n)}))};function je(e){return parseInt(e,16)}var Me=function(e){return"rgb(".concat((t=e,3===(t=t.replace(/#/,"")).length&&(t=(t=t.split(""))[0]+t[0]+t[1]+t[1]+t[2]+t[2]),[je(t.substr(0,2)),je(t.substr(2,2)),je(t.substr(4,2))]).join(","),")");var t},Ae=function(e,t,n){var r=t.match(e),i=t.replace(e,Te);return r&&r.forEach((function(e){return i=i.replace(Te,n(e))})),i},ze=function(e){for(var t in e){var n=e[t];"string"==typeof n&&n.match(Pe)&&(e[t]=Ae(Pe,n,Me))}},Fe=function(e){var t=e.match(xe),n=t.slice(0,3).map(Math.floor),r=e.match(Ce)[0];if(3===t.length)return"".concat(r).concat(n.join(","),")");if(4===t.length)return"".concat(r).concat(n.join(","),",").concat(t[3],")");throw new Error("Invalid rgbChunk: ".concat(e))},Ie=function(e){return e.match(xe)},We=function(e,t){var n={};return t.forEach((function(t){n[t]=e[t],delete e[t]})),n},Be=function(e,t){return t.map((function(t){return e[t]}))},Le=function(e,t){return t.forEach((function(t){return e=e.replace(Te,+t.toFixed(4))})),e},Ne=function(e){for(var t in e._currentState)if("string"==typeof e._currentState[t])return!0;return!1};function Re(e){var t=e._currentState;[t,e._originalState,e._targetState].forEach(ze),e._tokenData=function(e){var t,n,r={};for(var i in e){var o=e[i];"string"==typeof o&&(r[i]={formatString:(t=o,n=void 0,n=t.match(Se),n?(1===n.length||t.charAt(0).match(we))&&n.unshift(""):n=["",""],n.join(Te)),chunkNames:Ee(Ie(o),i)})}return r}(t)}function De(e){var t=e._currentState,n=e._originalState,r=e._targetState,i=e._easing,o=e._tokenData;!function(e,t){var n=function(n){var r=t[n].chunkNames,i=e[n];if("string"==typeof i){var o=i.split(" "),a=o[o.length-1];r.forEach((function(t,n){return e[t]=o[n]||a}))}else r.forEach((function(t){return e[t]=i}));delete e[n]};for(var r in t)n(r)}(i,o),[t,n,r].forEach((function(e){return function(e,t){var n=function(n){Ie(e[n]).forEach((function(r,i){return e[t[n].chunkNames[i]]=+r})),delete e[n]};for(var r in t)n(r)}(e,o)}))}function He(e){var t=e._currentState,n=e._originalState,r=e._targetState,i=e._easing,o=e._tokenData;[t,n,r].forEach((function(e){return function(e,t){for(var n in t){var r=t[n],i=r.chunkNames,o=r.formatString,a=Le(o,Be(We(e,i),i));e[n]=Ae(Oe,a,Fe)}}(e,o)})),function(e,t){for(var n in t){var r=t[n].chunkNames,i=e[r[0]];e[n]="string"==typeof i?r.map((function(t){var n=e[t];return delete e[t],n})).join(" "):i}}(i,o)}function Ue(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function qe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ve=new ye,$e=ye.filters,Ke=function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ue(Object(n),!0).forEach((function(t){qe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ue(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e),a=ge(e,r);for(var l in Ve._filters.length=0,Ve.set({}),Ve._currentState=o,Ve._originalState=e,Ve._targetState=t,Ve._easing=a,$e)$e[l].doesApply(Ve)&&Ve._filters.push($e[l]);Ve._applyFilter("tweenCreated"),Ve._applyFilter("beforeTween");var s=se(n,o,e,t,1,i,a);return Ve._applyFilter("afterTween"),s};function Ge(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Je(e,t){var n=t.get(e);if(!n)throw new TypeError("attempted to get private field on non-instance");return n.get?n.get.call(e):n.value}var Qe=new WeakMap,Xe=function(){function e(){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),Qe.set(this,{writable:!0,value:[]});for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];n.forEach(this.add.bind(this))}var t;return(t=[{key:"add",value:function(e){return Je(this,Qe).push(e),e}},{key:"remove",value:function(e){var t=Je(this,Qe).indexOf(e);return~t&&Je(this,Qe).splice(t,1),e}},{key:"empty",value:function(){return this.tweenables.map(this.remove.bind(this))}},{key:"isPlaying",value:function(){return Je(this,Qe).some((function(e){return e.isPlaying()}))}},{key:"play",value:function(){return Je(this,Qe).forEach((function(e){return e.tween()})),this}},{key:"pause",value:function(){return Je(this,Qe).forEach((function(e){return e.pause()})),this}},{key:"resume",value:function(){return this.playingTweenables.forEach((function(e){return e.resume()})),this}},{key:"stop",value:function(e){return Je(this,Qe).forEach((function(t){return t.stop(e)})),this}},{key:"tweenables",get:function(){return function(e){if(Array.isArray(e))return Ge(e)}(e=Je(this,Qe))||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Ge(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ge(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();var e}},{key:"playingTweenables",get:function(){return Je(this,Qe).filter((function(e){return!e.hasEnded()}))}},{key:"promises",get:function(){return Je(this,Qe).map((function(e){return e.then()}))}}])&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}();ye.filters.token=i}},t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}return n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n(720)}()},"object"==typeof n&&"object"==typeof t?t.exports=i():"object"==typeof n?n.shifty=i():r.shifty=i()},{}],3:[function(e,t,n){var r=e("./shape"),i=e("./utils"),o=function(e,t){this._pathTemplate="M 50,50 m 0,-{radius} a {radius},{radius} 0 1 1 0,{2radius} a {radius},{radius} 0 1 1 0,-{2radius}",this.containerAspectRatio=1,r.apply(this,arguments)};(o.prototype=new r).constructor=o,o.prototype._pathString=function(e){var t=e.strokeWidth;e.trailWidth&&e.trailWidth>e.strokeWidth&&(t=e.trailWidth);var n=50-t/2;return i.render(this._pathTemplate,{radius:n,"2radius":2*n})},o.prototype._trailString=function(e){return this._pathString(e)},t.exports=o},{"./shape":8,"./utils":10}],4:[function(e,t,n){var r=e("./shape"),i=e("./utils"),o=function(e,t){this._pathTemplate=t.vertical?"M {center},100 L {center},0":"M 0,{center} L 100,{center}",r.apply(this,arguments)};(o.prototype=new r).constructor=o,o.prototype._initializeSvg=function(e,t){var n=t.vertical?"0 0 "+t.strokeWidth+" 100":"0 0 100 "+t.strokeWidth;e.setAttribute("viewBox",n),e.setAttribute("preserveAspectRatio","none")},o.prototype._pathString=function(e){return i.render(this._pathTemplate,{center:e.strokeWidth/2})},o.prototype._trailString=function(e){return this._pathString(e)},t.exports=o},{"./shape":8,"./utils":10}],5:[function(e,t,n){t.exports={Line:e("./line"),Circle:e("./circle"),SemiCircle:e("./semicircle"),Square:e("./square"),Path:e("./path"),Shape:e("./shape"),utils:e("./utils")}},{"./circle":3,"./line":4,"./path":6,"./semicircle":7,"./shape":8,"./square":9,"./utils":10}],6:[function(e,t,n){var r=e("shifty"),i=e("./utils"),o=r.Tweenable,a={easeIn:"easeInCubic",easeOut:"easeOutCubic",easeInOut:"easeInOutCubic"},l=function e(t,n){if(!(this instanceof e))throw new Error("Constructor was called without new keyword");var r;n=i.extend({delay:0,duration:800,easing:"linear",from:{},to:{},step:function(){}},n),r=i.isString(t)?document.querySelector(t):t,this.path=r,this._opts=n,this._tweenable=null;var o=this.path.getTotalLength();this.path.style.strokeDasharray=o+" "+o,this.set(0)};l.prototype.value=function(){var e=this._getComputedDashOffset(),t=this.path.getTotalLength();return parseFloat((1-e/t).toFixed(6),10)},l.prototype.set=function(e){this.stop(),this.path.style.strokeDashoffset=this._progressToOffset(e);var t=this._opts.step;if(i.isFunction(t)){var n=this._easing(this._opts.easing);t(this._calculateTo(e,n),this._opts.shape||this,this._opts.attachment)}},l.prototype.stop=function(){this._stopTween(),this.path.style.strokeDashoffset=this._getComputedDashOffset()},l.prototype.animate=function(e,t,n){t=t||{},i.isFunction(t)&&(n=t,t={});var r=i.extend({},t),a=i.extend({},this._opts);t=i.extend(a,t);var l=this._easing(t.easing),s=this._resolveFromAndTo(e,l,r);this.stop(),this.path.getBoundingClientRect();var u=this._getComputedDashOffset(),c=this._progressToOffset(e),p=this;this._tweenable=new o,this._tweenable.tween({from:i.extend({offset:u},s.from),to:i.extend({offset:c},s.to),duration:t.duration,delay:t.delay,easing:l,step:function(e){p.path.style.strokeDashoffset=e.offset;var n=t.shape||p;t.step(e,n,t.attachment)}}).then((function(e){i.isFunction(n)&&n()})).catch((function(e){throw console.error("Error in tweening:",e),e}))},l.prototype._getComputedDashOffset=function(){var e=window.getComputedStyle(this.path,null);return parseFloat(e.getPropertyValue("stroke-dashoffset"),10)},l.prototype._progressToOffset=function(e){var t=this.path.getTotalLength();return t-e*t},l.prototype._resolveFromAndTo=function(e,t,n){return n.from&&n.to?{from:n.from,to:n.to}:{from:this._calculateFrom(t),to:this._calculateTo(e,t)}},l.prototype._calculateFrom=function(e){return r.interpolate(this._opts.from,this._opts.to,this.value(),e)},l.prototype._calculateTo=function(e,t){return r.interpolate(this._opts.from,this._opts.to,e,t)},l.prototype._stopTween=function(){null!==this._tweenable&&(this._tweenable.stop(!0),this._tweenable=null)},l.prototype._easing=function(e){return a.hasOwnProperty(e)?a[e]:e},t.exports=l},{"./utils":10,shifty:2}],7:[function(e,t,n){var r=e("./shape"),i=e("./circle"),o=e("./utils"),a=function(e,t){this._pathTemplate="M 50,50 m -{radius},0 a {radius},{radius} 0 1 1 {2radius},0",this.containerAspectRatio=2,r.apply(this,arguments)};(a.prototype=new r).constructor=a,a.prototype._initializeSvg=function(e,t){e.setAttribute("viewBox","0 0 100 50")},a.prototype._initializeTextContainer=function(e,t,n){e.text.style&&(n.style.top="auto",n.style.bottom="0",e.text.alignToBottom?o.setStyle(n,"transform","translate(-50%, 0)"):o.setStyle(n,"transform","translate(-50%, 50%)"))},a.prototype._pathString=i.prototype._pathString,a.prototype._trailString=i.prototype._trailString,t.exports=a},{"./circle":3,"./shape":8,"./utils":10}],8:[function(e,t,n){var r=e("./path"),i=e("./utils"),o="Object is destroyed",a=function e(t,n){if(!(this instanceof e))throw new Error("Constructor was called without new keyword");if(0!==arguments.length){this._opts=i.extend({color:"#555",strokeWidth:1,trailColor:null,trailWidth:null,fill:null,text:{style:{color:null,position:"absolute",left:"50%",top:"50%",padding:0,margin:0,transform:{prefix:!0,value:"translate(-50%, -50%)"}},autoStyleContainer:!0,alignToBottom:!0,value:null,className:"progressbar-text"},svgStyle:{display:"block",width:"100%"},warnings:!1},n,!0),i.isObject(n)&&void 0!==n.svgStyle&&(this._opts.svgStyle=n.svgStyle),i.isObject(n)&&i.isObject(n.text)&&void 0!==n.text.style&&(this._opts.text.style=n.text.style);var o,a=this._createSvgView(this._opts);if(!(o=i.isString(t)?document.querySelector(t):t))throw new Error("Container does not exist: "+t);this._container=o,this._container.appendChild(a.svg),this._opts.warnings&&this._warnContainerAspectRatio(this._container),this._opts.svgStyle&&i.setStyles(a.svg,this._opts.svgStyle),this.svg=a.svg,this.path=a.path,this.trail=a.trail,this.text=null;var l=i.extend({attachment:void 0,shape:this},this._opts);this._progressPath=new r(a.path,l),i.isObject(this._opts.text)&&null!==this._opts.text.value&&this.setText(this._opts.text.value)}};a.prototype.animate=function(e,t,n){if(null===this._progressPath)throw new Error(o);this._progressPath.animate(e,t,n)},a.prototype.stop=function(){if(null===this._progressPath)throw new Error(o);void 0!==this._progressPath&&this._progressPath.stop()},a.prototype.pause=function(){if(null===this._progressPath)throw new Error(o);void 0!==this._progressPath&&this._progressPath._tweenable&&this._progressPath._tweenable.pause()},a.prototype.resume=function(){if(null===this._progressPath)throw new Error(o);void 0!==this._progressPath&&this._progressPath._tweenable&&this._progressPath._tweenable.resume()},a.prototype.destroy=function(){if(null===this._progressPath)throw new Error(o);this.stop(),this.svg.parentNode.removeChild(this.svg),this.svg=null,this.path=null,this.trail=null,this._progressPath=null,null!==this.text&&(this.text.parentNode.removeChild(this.text),this.text=null)},a.prototype.set=function(e){if(null===this._progressPath)throw new Error(o);this._progressPath.set(e)},a.prototype.value=function(){if(null===this._progressPath)throw new Error(o);return void 0===this._progressPath?0:this._progressPath.value()},a.prototype.setText=function(e){if(null===this._progressPath)throw new Error(o);null===this.text&&(this.text=this._createTextContainer(this._opts,this._container),this._container.appendChild(this.text)),i.isObject(e)?(i.removeChildren(this.text),this.text.appendChild(e)):this.text.innerHTML=e},a.prototype._createSvgView=function(e){var t=document.createElementNS("http://www.w3.org/2000/svg","svg");this._initializeSvg(t,e);var n=null;(e.trailColor||e.trailWidth)&&(n=this._createTrail(e),t.appendChild(n));var r=this._createPath(e);return t.appendChild(r),{svg:t,path:r,trail:n}},a.prototype._initializeSvg=function(e,t){e.setAttribute("viewBox","0 0 100 100")},a.prototype._createPath=function(e){var t=this._pathString(e);return this._createPathElement(t,e)},a.prototype._createTrail=function(e){var t=this._trailString(e),n=i.extend({},e);return n.trailColor||(n.trailColor="#eee"),n.trailWidth||(n.trailWidth=n.strokeWidth),n.color=n.trailColor,n.strokeWidth=n.trailWidth,n.fill=null,this._createPathElement(t,n)},a.prototype._createPathElement=function(e,t){var n=document.createElementNS("http://www.w3.org/2000/svg","path");return n.setAttribute("d",e),n.setAttribute("stroke",t.color),n.setAttribute("stroke-width",t.strokeWidth),t.fill?n.setAttribute("fill",t.fill):n.setAttribute("fill-opacity","0"),n},a.prototype._createTextContainer=function(e,t){var n=document.createElement("div");n.className=e.text.className;var r=e.text.style;return r&&(e.text.autoStyleContainer&&(t.style.position="relative"),i.setStyles(n,r),r.color||(n.style.color=e.color)),this._initializeTextContainer(e,t,n),n},a.prototype._initializeTextContainer=function(e,t,n){},a.prototype._pathString=function(e){throw new Error("Override this function for each progress bar")},a.prototype._trailString=function(e){throw new Error("Override this function for each progress bar")},a.prototype._warnContainerAspectRatio=function(e){if(this.containerAspectRatio){var t=window.getComputedStyle(e,null),n=parseFloat(t.getPropertyValue("width"),10),r=parseFloat(t.getPropertyValue("height"),10);i.floatEquals(this.containerAspectRatio,n/r)||(console.warn("Incorrect aspect ratio of container","#"+e.id,"detected:",t.getPropertyValue("width")+"(width)","/",t.getPropertyValue("height")+"(height)","=",n/r),console.warn("Aspect ratio of should be",this.containerAspectRatio))}},t.exports=a},{"./path":6,"./utils":10}],9:[function(e,t,n){var r=e("./shape"),i=e("./utils"),o=function(e,t){this._pathTemplate="M 0,{halfOfStrokeWidth} L {width},{halfOfStrokeWidth} L {width},{width} L {halfOfStrokeWidth},{width} L {halfOfStrokeWidth},{strokeWidth}",this._trailTemplate="M {startMargin},{halfOfStrokeWidth} L {width},{halfOfStrokeWidth} L {width},{width} L {halfOfStrokeWidth},{width} L {halfOfStrokeWidth},{halfOfStrokeWidth}",r.apply(this,arguments)};(o.prototype=new r).constructor=o,o.prototype._pathString=function(e){var t=100-e.strokeWidth/2;return i.render(this._pathTemplate,{width:t,strokeWidth:e.strokeWidth,halfOfStrokeWidth:e.strokeWidth/2})},o.prototype._trailString=function(e){var t=100-e.strokeWidth/2;return i.render(this._trailTemplate,{width:t,strokeWidth:e.strokeWidth,halfOfStrokeWidth:e.strokeWidth/2,startMargin:e.strokeWidth/2-e.trailWidth/2})},t.exports=o},{"./shape":8,"./utils":10}],10:[function(e,t,n){var r=e("lodash.merge"),i="Webkit Moz O ms".split(" ");function o(e,t,n){for(var r=e.style,o=0;o<i.length;++o)r[i[o]+a(t)]=n;r[t]=n}function a(e){return e.charAt(0).toUpperCase()+e.slice(1)}function l(e){return!function(e){return"[object Array]"===Object.prototype.toString.call(e)}(e)&&"object"==typeof e&&!!e}function s(e,t){for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)}t.exports={extend:r,render:function(e,t){var n=e;for(var r in t)if(t.hasOwnProperty(r)){var i=t[r],o=new RegExp("\\{"+r+"\\}","g");n=n.replace(o,i)}return n},setStyle:o,setStyles:function(e,t){s(t,(function(t,n){null!=t&&(l(t)&&!0===t.prefix?o(e,n,t.value):e.style[n]=t)}))},capitalize:a,isString:function(e){return"string"==typeof e||e instanceof String},isFunction:function(e){return"function"==typeof e},isObject:l,forEachObject:s,floatEquals:function(e,t){return Math.abs(e-t)<.001},removeChildren:function(e){for(;e.firstChild;)e.removeChild(e.firstChild)}}},{"lodash.merge":1}]},{},[5])(5)}},n={};function r(e){var i=n[e];if(void 0!==i)return i.exports;var o=n[e]={exports:{}};return t[e](o,o.exports,r),o.exports}r.m=t,e=[],r.O=(t,n,i,o)=>{if(!n){var a=1/0;for(c=0;c<e.length;c++){n=e[c][0],i=e[c][1],o=e[c][2];for(var l=!0,s=0;s<n.length;s++)(!1&o||a>=o)&&Object.keys(r.O).every((e=>r.O[e](n[s])))?n.splice(s--,1):(l=!1,o<a&&(a=o));if(l){e.splice(c--,1);var u=i();void 0!==u&&(t=u)}}return t}o=o||0;for(var c=e.length;c>0&&e[c-1][2]>o;c--)e[c]=e[c-1];e[c]=[n,i,o]},r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={6887:0,2144:0};r.O.j=t=>0===e[t];var t=(t,n)=>{var i,o,a=n[0],l=n[1],s=n[2],u=0;if(a.some((t=>0!==e[t]))){for(i in l)r.o(l,i)&&(r.m[i]=l[i]);if(s)var c=s(r)}for(t&&t(n);u<a.length;u++)o=a[u],r.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return r.O(c)},n=self.webpackChunkkadence=self.webpackChunkkadence||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var i=r.O(void 0,[2144],(()=>r(7955)));i=r.O(i),(this.kadence=this.kadence||{})["blocks-progress-bar"]=i})();

Filemanager

Name Type Size Permission Actions
blocks Folder 0755
images Folder 0755
admin-kadence-home.asset.php File 260 B 0644
admin-kadence-home.css File 42.54 KB 0644
admin-kadence-home.js File 331.56 KB 0644
blocks-accordion.asset.php File 275 B 0644
blocks-accordion.css File 12.26 KB 0644
blocks-accordion.js File 65.94 KB 0644
blocks-advanced-form.asset.php File 404 B 0644
blocks-advanced-form.css File 30.99 KB 0644
blocks-advanced-form.js File 420.08 KB 0644
blocks-advancedbtn.asset.php File 288 B 0644
blocks-advancedbtn.css File 8.82 KB 0644
blocks-advancedbtn.js File 124.14 KB 0644
blocks-advancedgallery.asset.php File 315 B 0644
blocks-advancedgallery.css File 29.13 KB 0644
blocks-advancedgallery.js File 153.72 KB 0644
blocks-advancedheading.asset.php File 330 B 0644
blocks-advancedheading.css File 18.39 KB 0644
blocks-advancedheading.js File 126.14 KB 0644
blocks-column.asset.php File 256 B 0644
blocks-column.css File 9.03 KB 0644
blocks-column.js File 95.59 KB 0644
blocks-countdown.asset.php File 281 B 0644
blocks-countdown.css File 4.39 KB 0644
blocks-countdown.js File 65.05 KB 0644
blocks-countup.asset.php File 234 B 0644
blocks-countup.css File 91 B 0644
blocks-countup.js File 39.05 KB 0644
blocks-form.asset.php File 324 B 0644
blocks-form.css File 8.01 KB 0644
blocks-form.js File 295.96 KB 0644
blocks-googlemaps.asset.php File 287 B 0644
blocks-googlemaps.css File 515 B 0644
blocks-googlemaps.js File 152.02 KB 0644
blocks-header.asset.php File 328 B 0644
blocks-header.css File 17.33 KB 0644
blocks-header.js File 295.24 KB 0644
blocks-icon.asset.php File 261 B 0644
blocks-icon.css File 1.2 KB 0644
blocks-icon.js File 42.66 KB 0644
blocks-iconlist.asset.php File 289 B 0644
blocks-iconlist.css File 2.65 KB 0644
blocks-iconlist.js File 55.04 KB 0644
blocks-identity.asset.php File 250 B 0644
blocks-identity.css File 2.88 KB 0644
blocks-identity.js File 78.88 KB 0644
blocks-image.asset.php File 328 B 0644
blocks-image.css File 6.39 KB 0644
blocks-image.js File 64.23 KB 0644
blocks-infobox.asset.php File 303 B 0644
blocks-infobox.css File 8.58 KB 0644
blocks-infobox.js File 208.7 KB 0644
blocks-lottie.asset.php File 244 B 0644
blocks-lottie.css File 276 B 0644
blocks-lottie.js File 399.32 KB 0644
blocks-navigation-link.asset.php File 392 B 0644
blocks-navigation-link.css File 1 B 0644
blocks-navigation-link.js File 111.29 KB 0644
blocks-navigation.asset.php File 316 B 0644
blocks-navigation.css File 154.75 KB 0644
blocks-navigation.js File 185.56 KB 0644
blocks-posts.asset.php File 301 B 0644
blocks-posts.css File 5.83 KB 0644
blocks-posts.js File 27.17 KB 0644
blocks-progress-bar.asset.php File 244 B 0644
blocks-progress-bar.css File 888 B 0644
blocks-progress-bar.js File 68.32 KB 0644
blocks-rowlayout.asset.php File 361 B 0644
blocks-rowlayout.css File 114.04 KB 0644
blocks-rowlayout.js File 819.02 KB 0644
blocks-search.asset.php File 234 B 0644
blocks-search.css File 1.28 KB 0644
blocks-search.js File 28.92 KB 0644
blocks-show-more.asset.php File 244 B 0644
blocks-show-more.css File 189 B 0644
blocks-show-more.js File 11.87 KB 0644
blocks-single-icon.asset.php File 234 B 0644
blocks-single-icon.js File 16.82 KB 0644
blocks-singlebtn.asset.php File 288 B 0644
blocks-singlebtn.js File 67.43 KB 0644
blocks-spacer.asset.php File 234 B 0644
blocks-spacer.css File 1.88 KB 0644
blocks-spacer.js File 22.91 KB 0644
blocks-table.asset.php File 298 B 0644
blocks-table.css File 269 B 0644
blocks-table.js File 43.46 KB 0644
blocks-tableofcontents.asset.php File 285 B 0644
blocks-tableofcontents.css File 7.64 KB 0644
blocks-tableofcontents.js File 40.17 KB 0644
blocks-tabs.asset.php File 300 B 0644
blocks-tabs.css File 14.48 KB 0644
blocks-tabs.js File 180.84 KB 0644
blocks-testimonial.asset.php File 261 B 0644
blocks-testimonial.js File 45.21 KB 0644
blocks-testimonials.asset.php File 261 B 0644
blocks-testimonials.css File 19.51 KB 0644
blocks-testimonials.js File 246.17 KB 0644
blocks-videopopup.asset.php File 273 B 0644
blocks-videopopup.css File 1.72 KB 0644
blocks-videopopup.js File 51.68 KB 0644
components.asset.php File 363 B 0644
components.css File 93.12 KB 0644
components.js File 647.82 KB 0644
early-filters.asset.php File 212 B 0644
early-filters.js File 3.32 KB 0644
extension-block-css.asset.php File 231 B 0644
extension-block-css.js File 503.13 KB 0644
extension-image-picker.asset.php File 219 B 0644
extension-image-picker.css File 6.1 KB 0644
extension-image-picker.js File 88.64 KB 0644
extension-kadence-base.asset.php File 99 B 0644
extension-kadence-base.js File 198 B 0644
extension-stores.asset.php File 103 B 0644
extension-stores.js File 5.86 KB 0644
header-visual-builder.asset.php File 239 B 0644
header-visual-builder.css File 8.93 KB 0644
header-visual-builder.js File 63.86 KB 0644
helpers.asset.php File 187 B 0644
helpers.js File 27.17 KB 0644
icons.asset.php File 91 B 0644
icons.js File 457.37 KB 0644
plugin-kadence-control.asset.php File 374 B 0644
plugin-kadence-control.css File 4.18 KB 0644
plugin-kadence-control.js File 155.14 KB 0644
style-blocks-accordion.css File 10.96 KB 0644
style-blocks-advanced-form.css File 16.23 KB 0644
style-blocks-advancedbtn.css File 2.62 KB 0644
style-blocks-advancedgallery.css File 29.79 KB 0644
style-blocks-advancedheading.css File 196 B 0644
style-blocks-column.css File 1.44 KB 0644
style-blocks-countdown.css File 3.7 KB 0644
style-blocks-form.css File 9.49 KB 0644
style-blocks-header.css File 10.18 KB 0644
style-blocks-icon.css File 1.02 KB 0644
style-blocks-iconlist.css File 3.51 KB 0644
style-blocks-identity.css File 2.41 KB 0644
style-blocks-image.css File 4.5 KB 0644
style-blocks-infobox.css File 7.54 KB 0644
style-blocks-lottie.css File 239 B 0644
style-blocks-navigation.css File 96.07 KB 0644
style-blocks-posts.css File 8.37 KB 0644
style-blocks-progress-bar.css File 813 B 0644
style-blocks-rowlayout.css File 7.83 KB 0644
style-blocks-search.css File 1.28 KB 0644
style-blocks-spacer.css File 2.25 KB 0644
style-blocks-table.css File 112 B 0644
style-blocks-tableofcontents.css File 8.29 KB 0644
style-blocks-tabs.css File 10.23 KB 0644
style-blocks-testimonials.css File 10.54 KB 0644
style-blocks-videopopup.css File 4.59 KB 0644