| @@ -1 +1,9 @@ | ||
| 1 | -(()=>{"use strict";var t={5795:t=>{t.exports=window.ReactDOM},9940:(t,e,n)=>{var r=n(5795);e.H=r.createRoot,r.hydrateRoot}},e={};const n=window.React;var r=function n(r){var o=e[r];if(void 0!==o)return o.exports;var a=e[r]={exports:{}};return t[r](a,a.exports,n),a.exports}(9940);const o=t=>!(null==t||""===t||Array.isArray(t)&&0===t.length||"object"==typeof t&&0===Object.keys(t).length||"string"==typeof t&&""===t.trim()||"number"==typeof t&&0===t),a="@media only screen and (max-width: 1024px)",i="@media only screen and (max-width: 640px)",s="linear-gradient(135deg, #0040E3, #18D4FD)",c=(t,e,n=!1)=>o(e)?`${t}: ${e}${n?" !important":""};`:"",u=(t,e=!0,n=!0,r=!0)=>{const{type:o="solid",color:a="",gradient:i=s,image:u={},position:l="center center",attachment:d="",repeat:p="no-repeat",size:h="",overlayColor:f=""}=t||{};return"gradient"===o&&n?c("background",i):"image"===o&&r?`background: url(${u?.url});\n\t\t\t\t${c("background-color",f)}\n\t\t\t\t${c("background-position",l)}\n\t\t\t\t${c("background-size",h)}\n\t\t\t\t${c("background-repeat",p)}\n\t\t\t\t${c("background-attachment",d)}\n\t\t\t\t${c("background-repeat",p)}\n\t\t\t\tbackground-blend-mode: overlay;`:e&&c("background",a)},l=t=>{if(!t)return"";const e=t=>{const{color:e="#000000",style:n="solid",width:r="0px"}=t;return`${r} ${n} ${e}`};return"object"!=typeof t||Array.isArray(t)?"":t.hasOwnProperty("top")||t.hasOwnProperty("right")||t.hasOwnProperty("bottom")||t.hasOwnProperty("left")?["top","right","bottom","left"].map((n=>t[n]?`border-${n}: ${e(t[n])};`:"")).join(" ").trim():c("border",e(t))},d=(t,e="box")=>{const{hOffset:n="0px",vOffset:r="0px",blur:o="0px",spreed:a="0px",color:i="#7090b0",isInset:s=!1}=t||{},c=`${n} ${r} ${o}`;return("text"===e?`${c} ${i}`:`${c} ${a} ${i} ${s?"inset":""}`)||"none"},p=t=>{if(!t)return"";if("string"==typeof t)return t;if("object"==typeof t&&!Array.isArray(t)){const e=["top","right","bottom","left"];return e.map((e=>t[e]||"")).every((t=>!t))?"":e.map((e=>t[e]||"0")).join(" ")}return""},h=t=>{const{position:e="center center",xPosition:n=0,yPosition:r=0,attachment:a="",repeat:i="no-repeat",size:s="cover",customSize:c="0px"}=t||{},u=t=>"initial"!==t||o(t);return`\n\t\t${u(e)?`background-position: ${"custom"===e?`${n} ${r}`:e};`:""}\n\t\t${a&&u(a)?`background-attachment: ${a};`:""}\n\t\t${u(i)?`background-repeat: ${i};`:""}\n\t\t${u(s)?`background-size: ${"custom"===s?`${c} auto`:s};`:""}\n\t`},f=(t={})=>t?{desktop:o(t.url)?`background-image: url(${t.url}); ${h(t?.desktop)}`:"",tablet:o(t.url)?h(t?.tablet):"",mobile:o(t.url)?h(t?.mobile):""}:"",g=(t,e,n=!1)=>{const{type:r="color",color:s,gradient:u,img:l,video:d}=t||{},p="color"===r?c("background",s):"gradient"===r?(t=>{const{type:e="linear",radialType:n="ellipse",colors:r=[],centerPositions:a={x:0,y:0},angel:i=0}=t||{};if(o(t)){const t=r?.map((({color:t,position:e})=>`${t} ${e}%`)),o=`linear-gradient(${i}deg, ${t})`;return c("background","radial"===e?`radial-gradient(${n} at ${a?.x}% ${a?.y}%,${t})`:o)}return""})(u):"image"===r?f(l).desktop:"",h="image"===r?f(l).tablet:"",g="image"===r?f(l).mobile:"",m=n?`${e}:hover`:e;return`\n\t\t${"video"===r?((t,e)=>{const{url:n,loop:r}=t||{},o=document.querySelector(e),a=o?.querySelector(".bPlVideo"),i=document.createElement("video");return i.muted=!0,i.autoplay=!0,i.classList.add("bPlVideo"),a||o&&n&&(i.innerHTML=`<source src=${n}></source>`,o.appendChild(i)),i.loop=r,i.play(),`${e} .bPlVideo{\n\t\tleft: 0;\n\t\tmin-height: 100%;\n\t\tmin-width: 100%;\n\t\tposition: absolute;\n\t\twidth: -webkit-fill-available;\n\t\ttop: 0;\n\t\tz-index: 0;\n\t}`})(d,e):""}\n\n\t\t${p?`${m}{\n\t\t\t${p}\n\t\t}`:""}\n\n\t\t${h?`${a} {\n\t\t\t${m}{\n\t\t\t\t${h}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${g?`${i} {\n\t\t\t${m}{\n\t\t\t\t${g}\n\t\t\t}\n\t\t}`:""}\n\t`.replace(/\s+/g," ").trim()},m=(t,e,n=!1)=>{const{isEnabled:r,colors:a,opacity:i=1,blend:s,filter:u="",blur:l=0,brightness:d=100,contrast:p=100,saturation:h=100,hue:f=0,position:m={top:0,right:0,bottom:0,left:0},zIndex:y=-1}=t||{},v=`${100!==d?`brightness(${d}%)`:""} ${100!==p?`contrast(${p}%)`:""} ${100!==h?`saturate(${h}%)`:""} ${0!==l?`blur(${l}px)`:""} ${0!==f?`hue-rotate(${f}deg)`:""}`,M=`${u}: ${u?v:""}; -webkit-${u}: ${u?v:""};`,w=n?`${e}:hover::after`:`${e}::after`;return r?`\n\t\t${e}{\n\t\t\tposition:relative;\n\t\t\tz-index:1;\n\t\t}\n\t\t${e}::after{\n\t\t\tcontent: '';\n\t\t\tposition: absolute;\n\t\t\ttop:${o(m.top)?m.top:0};\n\t\t\tright:${o(m.right)?m.right:0};\n\t\t\tbottom:${o(m.bottom)?m.bottom:0};\n\t\t\tleft:${o(m.left)?m.left:0};\n\t\t\tz-index:${y};\n\t\t}\n\t\t${g(a,w,!1)}\n\t\t${w}{\n\t\t\t${c("opacity",i)}\n\t\t\t${c("mix-blend-mode",s)}\n\t\t\t${M}\n\t\t}\n\t`.replace(/\s+/g," ").trim():""},y=(t,e,n=!1)=>{const r=(t,e="desktop")=>{if(!o(t))return"";const{skew:n,scale:r,rotate:a,offset:i,flipX:s,flipY:u}=t,{threeDRotate:l}=a||{},{isProportion:d}=r||{},p=[];return o(n)&&(o(n?.[e]?.x)&&p.push(`skewX(${n[e].x}deg)`),o(n?.[e]?.y)&&p.push(`skewY(${n[e].y}deg)`)),d?o(r?.[e]?.scale)&&p.push(`scale(${r[e].scale})`):(o(r?.[e]?.x)&&p.push(`scaleX(${r[e].x})`),o(r?.[e]?.y)&&p.push(`scaleY(${r[e].y})`)),o(a)&&(o(a?.[e]?.z)&&p.push(`rotateZ(${a[e].z}deg)`),l&&(o(a?.[e]?.x)&&p.push(`rotateX(${a[e].x}deg)`),o(a?.[e]?.y)&&p.push(`rotateY(${a[e].y}deg)`))),o(i)&&(o(i?.[e]?.x)&&p.push(`translateX(${i[e].x})`),o(i?.[e]?.y)&&p.push(`translateY(${i[e].y})`)),o(s)&&p.push(s?"scaleX(-1)":""),o(u)&&p.push(u?"scaleY(-1)":""),0===p.length?"":c("transform",p.join(" "))},s=n?`${e}:hover`:e;return`\n\t\t${s} {\n\t\t\t${r(t,"desktop")}\n\t\t}\n\t\t${a}{\n\t\t\t${s} {\n\t\t\t\t${r(t,"tablet")}\n\t\t\t}\n\t\t}\n\t\t${i}{\n\t\t\t${s} {\n\t\t\t\t${r(t,"mobile")}\n\t\t\t}\n\t\t}\n\t`},v=t=>{const{padding:e,margin:n,height:r,width:o}=t||{},a=(t,e)=>c(t,e),i=(t,e,n)=>a(t,e?.[t]?.[n])+a(`min-${t}`,e?.min?.[n])+a(`max-${t}`,e?.max?.[n]),s=t=>c("padding",p(t)),u=t=>c("margin",p(t));return{desktop:s(e?.desktop)+u(n?.desktop)+i("height",r,"desktop")+i("width",o,"desktop"),tablet:s(e?.tablet)+u(n?.tablet)+i("height",r,"tablet")+i("width",o,"tablet"),mobile:s(e?.mobile)+u(n?.mobile)+i("height",r,"mobile")+i("width",o,"mobile")}},M=t=>{const{normal:e,hover:n}=t||{},r=t=>{const{border:e,radius:n,shadow:r}=t||{},o=c("border-radius",p(n)),a=c("box-shadow",((t,e="box")=>{let n="";return t?.map(((r,o)=>{const{hOffset:a="0px",vOffset:i="0px",blur:s="0px",spreed:c="0px",color:u="#e7f0fe",isInset:l=!1}=r||{},d=l?"inset":"",p=`${a} ${i} ${s}`,h=o+1>=t.length?"":", ";n+="text"===e?`${p} ${u}${h}`:`${p} ${c} ${u} ${d}${h}`})),n||""})(r,"box"));return l(e)+o+a};return{normal:r(e),hover:r(n)}},w=t=>{const{zIndex:e,overflow:n}=t||{},r=n?`overflow: ${n};`:"",a=t=>`${c("z-index",e?.[t])} ${c("position",o(e?.[t])?"relative":"")}`;return{desktop:a("desktop")+r,tablet:a("tablet"),mobile:a("mobile")}},b=(t,e)=>{const{desktop:n=!1,tablet:r=!1,mobile:o=!1}=t||{},a=e?"opacity: 0.5;":"display: none;",i=t=>t?a:"";return{desktop:i(n),tablet:i(r),mobile:i(o)}},k=(t,e,n=!1,r=!0)=>{const{dimension:s,transform:u,background:l,borderShadow:d,mask:p,animation:h,visibility:f,responsive:k,css:x=""}=e||{},D=n?`#${t}>div>div${r?":first-child":""}`:`#${t}>div`;((t,e,n)=>{const r=n?`#${e} > div`:`#${e}`,o=document.querySelector(r);o&&t&&t.type&&(o.setAttribute("data-aos",t.type),o.setAttribute("data-aos-duration",1e3*t.duration||.4),o.setAttribute("data-aos-delay",1e3*t.delay||0),o.classList.contains("aos-init")||(o.classList.add("aos-init"),window?.AOS?.init()),n)&&new IntersectionObserver((t=>{t.forEach((t=>{t.intersectionRatio>.5?o.classList.add("aos-animate"):o.classList.remove("aos-animate")}))}),{threshold:[.5]}).observe(o)})(h,t,n);const N=v(s).desktop+w(f).desktop+((t,e,n)=>{const{transition:r=.4}=t||{},{transition:o=.4}=e||{},{transition:a=200}=n||{};return`transition: background ${r}s, border ${o}s, border-radius ${o}s, box-shadow ${o}s, transform ${a}ms ease-in-out;`})(l,d,u)+(t=>{const{isMask:e=!1,shape:n={type:"circle"},size:r={type:"contain",scale:"100%"},position:o={type:"center center",x:50,y:50},repeat:a="no-repeat"}=t||{};return e?`-webkit-mask-image: url(${"custom"===n.type?n.url:(i=n.type,[{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4OSIgaGVpZ2h0PSI4OSIgdmlld0JveD0iMCAwIDg5IDg5Ij48Y2lyY2xlIGN4PSI0NC41IiBjeT0iNDQuNSIgcj0iNDQuNSIvPjwvc3ZnPg==",type:"circle"},{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4OSIgaGVpZ2h0PSI4OSIgdmlld0JveD0iMCAwIDg5IDg5Ij48cGF0aCBkPSJNNzYuMTMzMiw0NC40NzUybDYuMzI4OS02LjMyODVBMjIuMzQ4NiwyMi4zNDg2LDAsMCwwLDUwLjg1LDYuNTQ3NEw0NC41MzIsMTIuODY1MSwzOC4xNiw2LjU0NzRhMjIuMzUyNCwyMi4zNTI0LDAsMSwwLTMxLjYxMiwzMS42MWw2LjMxODEsNi4zMTc3TDYuNTQ3OCw1MC44NDdhMjIuMzUyNCwyMi4zNTI0LDAsMCwwLDMxLjYxMiwzMS42MWw2LjMxODEtNi4zMTc3TDUwLjg1LDgyLjM5MjJhMjIuMzQ4NiwyMi4zNDg2LDAsMCwwLDMxLjYxMi0zMS41OTkzWiIvPjwvc3ZnPg==",type:"flower"},{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5MS4xMTQzIiBoZWlnaHQ9Ijg4Ljk5OTkiIHZpZXdCb3g9IjAgMCA5MS4xMTQzIDg4Ljk5OTkiPjxwYXRoIGQ9Ik04Mi4xNzQ5LDM3LjUyNjZsMS42MTE5LTEuNjExOWMuOTQ4Ni0uOTQ4Ny02LjM3LTUuOTMwOS03LjA0OTItNi4zNzgyYTQ1LjE1MTYsNDUuMTUxNiwwLDAsMC01Ljc3NjYtMy4zMjQxYy0uMjQ2OC0uMTE1Ny0uNjAxNi0uMzAwOC0uOTg3Mi0uNDc4MnExLjc4MTYtMS44OTcyLDMuNTg2My0zLjc3MTNjLjk0ODYtLjk4LTYuMzYyOC01LjkyMzItNy4wNDkyLTYuMzcwNUE0NC4xNTc5LDQ0LjE1NzksMCwwLDAsNjAuNzUsMTIuMjYwNmwtLjI5My0uMTQ2NSwxLjM5NTktMS41NDI1Yy45NDA5LTEuMDQ4OS02LjMzMTktNS45LTcuMDQ5Mi02LjM3QTQ0LjIxMiw0NC4yMTIsMCwwLDAsNDkuMDQyMi44NjE2Yy0uNTQtLjI0NjctMi4zMTM3LTEuMjY0OC0yLjg0NTgtLjY4NjRRMzIuNzM4MSwxNS4xNjgyLDE4LjExNTQsMjkuMDY2Yy03Ljg0MzYsNy40NS0xNi41NjYzLDE1LjU3OTEtMTguMTA4OCwyNi44Ny0uMTE1Ny44MjUzLDEuMzI2NSwxLjk3NDQsMS43NDMsMi4zMTM4YTQwLjc5OSw0MC43OTksMCwwLDAsNS4zMTM5LDQuMDU2Nyw0NC4yMTc0LDQ0LjIxNzQsMCwwLDAsNS43NjExLDMuMzRjLjY0LjI5MzEsMi4xNzUsMS4yMDMxLDIuODQ1OS42ODY0bDIuMDc0Ny0xLjU1NzljMS40NSwxLjg1ODcsNS45Njk0LDQuNzIsNi42NzEyLDUuMTc1bDEuNDg4NS45NTY0QzI0LjQwMSw3Mi43NjQ3LDIyLjkyLDc0LjYzMTEsMjEuNDcsNzYuNTI4M2MtLjkxLDEuMTg3OCw2LjI2MjUsNS44NjE1LDcuMDQ5Miw2LjM3YTQ0LjE2MzMsNDQuMTYzMywwLDAsMCw1Ljc2MTEsMy4zMzE4Yy42MDE2LjI3NzYsMi4yMjg5LDEuMjM0LDIuODQ1OS42OTQxbDkuMjU1LTguMDk4Yy44MjUyLDIuNTY4MiwxNC41Njg3LDExLjYzLDE1LjY3MTYsOS45NzIxTDkxLjA2LDQ1LjM2MjRDOTEuNjkyLDQ0LjQxMzgsODYuNzI1Miw0MC4zMjYyLDgyLjE3NDksMzcuNTI2NloiLz48L3N2Zz4=",type:"sketch"},{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDMiIGhlaWdodD0iODkiIHZpZXdCb3g9IjAgMCAxMDMgODkiPjxwb2x5Z29uIHBvaW50cz0iNzcuMjU1IDQ0LjUwNSA1MS41IDAgMjUuNzU1IDQ0LjUwNSAwIDg5IDUxLjUgODkgMTAzIDg5IDc3LjI1NSA0NC41MDUiLz48L3N2Zz4=",type:"triangle"},{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjEuMDAwMiIgaGVpZ2h0PSI4OSIgdmlld0JveD0iMCAwIDEyMS4wMDAyIDg5Ij48cGF0aCBkPSJNMTAwLjAxNiw3LjM5NzJDOTAuMjQ1MiwxLjIyLDczLjMwODQtMy42NjYzLDY0LjQyNTUsMy43MTI2LDU2Ljk4MzYsOS44OSw2Mi4wNDY5LDE4LjkxNzQsNTUuMDEsMjUuMzAzMmMtMTAuNiw5LjYxMzQtMjguMTU4OS01LjQ0MjMtNDEuODU4NCwyLjYzMThDLjY3NTcsMzUuMjU0My00LjI3OTEsNTkuMTQ4OSw0LjI3ODEsNzMuNzk3NWMxMy4xMzY5LDIyLjUyNCw1My4xMywxMy44NTQxLDYxLjE5MzYsMTIuMTA2MSw0LjUwMDctLjk5MzEsNTMuNDk1My0xMi4yNjUsNTUuNDY5My00Mi43MDQzQzEyMS44OTgsMjguMjUyOCwxMTEuMSwxNC40MTg1LDEwMC4wMTYsNy4zOTcyWiIvPjwvc3ZnPg==",type:"blob"},{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDMiIGhlaWdodD0iODkiIHZpZXdCb3g9IjAgMCAxMDMgODkiPjxwYXRoIGQ9Ik03Ny4yMTE0LDBIMjUuNzUyM0wwLDQ0LjUwNDUsMjUuNzUyMyw4OUg3Ny4yMTE0TDEwMyw0NC41MDQ1Wk02MS43NjkxLDYyLjI2MUg0MS4yMjE4TDMwLjkzOTEsNDQuNTA0NSw0MS4yMjE4LDI2LjczOUg2MS43NjkxTDcyLjA1MTksNDQuNTA0NVoiLz48L3N2Zz4=",type:"hexagon"}].find((t=>t.type===i))).svg});\n\t\t-webkit-mask-size: ${"custom"===r.type?r.scale:r.type};\n\t\t${"custom"===o.type?`${c("-webkit-mask-position-x",o.x)}\n\t\t\t${c("-webkit-mask-position-y",o.y)}`:`${c("-webkit-mask-position",o.type)}`}\n\t\t${"cover"!==r.type?`-webkit-mask-repeat: ${a};`:""}`:"";var i})(p),L=v(s).tablet+w(f).tablet+b(k,n).tablet,$=v(s).mobile+w(f).mobile+b(k,n).mobile,j=M(d).normal,T=M(d).hover,I=b(k,n).desktop;return`\n\t\t${N||j?`${D} {\n\t\t\t${N}\n\t\t\t${j}\n\t\t}`:""}\n\t\t${T?`${D}:hover {\n\t\t\t${T}\n\t\t}`:""}\n\n\t\t${I?`@media only screen and (min-width: 1025px) {\n\t\t\t${D}{\n\t\t\t\t${I}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${L?`${a} {\n\t\t\t${D}{\n\t\t\t\t${L}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${$?`${i} {\n\t\t\t${D}{\n\t\t\t\t${$}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${g(l?.normal,D)}\n\t\t${g(l?.hover,D,!0)}\n\t\t${m(l?.overlay,D)}\n\t\t${m(l?.hoverOverlay,D,!0)}\n\t\t${o(u?.normal)?y(u?.normal,D):""}\n\t\t${o(u?.hover)?y(u?.hover,D,!0):""}\n\n\t\t${x}\n\t`.replace(/\s+/g," ")},x=({attributes:t,id:e,isBackend:r=!1})=>{const{style:o,advanced:a}=t,{height:i,width:s,align:h,margin:f,padding:g,background:m,border:y,borderRadius:v,colors:M}=o,{normal:w,hover:b}=M,x=`#${e} .svdr-icon-draw-wrapper`,D=`${x} .svdr-svg-wrapper`,N=`${D} svg`;return(0,n.createElement)("style",{dangerouslySetInnerHTML:{__html:`\n\t\t\t${x}{\n\t\t\t\t${c("justify-content",h)}\n\t\t\t}\n\t\t\t${D}{\n\t\t\t\t${c("height",i)}\n\t\t\t\t${c("width",s)}\n\t\t\t\t${c("margin",p(f))}\n\t\t\t\t${c("padding",p(g))}\n\t\t\t\t${u(m)}\n\t\t\t\t${l(y)}\n\t\t\t\t${c("border-radius",p(v))}\n\t\t\t}\n\t\t\t${N}{\n\t\t\t\t${c("fill",w.fill)}\n\t\t\t\t${c("stroke",w.strokeColor)}\n\t\t\t\tfilter:drop-shadow(${d(w.shadow,"text")});\n\t\t\t\ttransition:${b.transition}ms ease-in-out;\n\t\t\t}\n\t\t\t${N}:hover{\n\t\t\t\t${c("fill",b.fill)}\n\t\t\t\t${c("stroke",b.strokeColor)}\n\t\t\t\tfilter:drop-shadow(${d(b.shadow,"text")});\n\t\t\t}\n\t\t\t${k(e,a,r)}\n\t`}})};var D={update:null,begin:null,loopBegin:null,changeBegin:null,change:null,changeComplete:null,loopComplete:null,complete:null,loop:1,direction:"normal",autoplay:!0,timelineOffset:0},N={duration:1e3,delay:0,endDelay:0,easing:"easeOutElastic(1, .5)",round:0},L=["translateX","translateY","translateZ","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","skew","skewX","skewY","perspective","matrix","matrix3d"],$={CSS:{},springs:{}};function j(t,e,n){return Math.min(Math.max(t,e),n)}function T(t,e){return t.indexOf(e)>-1}function I(t,e){return t.apply(null,e)}var A={arr:function(t){return Array.isArray(t)},obj:function(t){return T(Object.prototype.toString.call(t),"Object")},pth:function(t){return A.obj(t)&&t.hasOwnProperty("totalLength")},svg:function(t){return t instanceof SVGElement},inp:function(t){return t instanceof HTMLInputElement},dom:function(t){return t.nodeType||A.svg(t)},str:function(t){return"string"==typeof t},fnc:function(t){return"function"==typeof t},und:function(t){return void 0===t},nil:function(t){return A.und(t)||null===t},hex:function(t){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(t)},rgb:function(t){return/^rgb/.test(t)},hsl:function(t){return/^hsl/.test(t)},col:function(t){return A.hex(t)||A.rgb(t)||A.hsl(t)},key:function(t){return!D.hasOwnProperty(t)&&!N.hasOwnProperty(t)&&"targets"!==t&&"keyframes"!==t}};function S(t){var e=/\(([^)]+)\)/.exec(t);return e?e[1].split(",").map((function(t){return parseFloat(t)})):[]}function E(t,e){var n=S(t),r=j(A.und(n[0])?1:n[0],.1,100),o=j(A.und(n[1])?100:n[1],.1,100),a=j(A.und(n[2])?10:n[2],.1,100),i=j(A.und(n[3])?0:n[3],.1,100),s=Math.sqrt(o/r),c=a/(2*Math.sqrt(o*r)),u=c<1?s*Math.sqrt(1-c*c):0,l=c<1?(c*s-i)/u:-i+s;function d(t){var n=e?e*t/1e3:t;return n=c<1?Math.exp(-n*c*s)*(1*Math.cos(u*n)+l*Math.sin(u*n)):(1+l*n)*Math.exp(-n*s),0===t||1===t?t:1-n}return e?d:function(){var e=$.springs[t];if(e)return e;for(var n=1/6,r=0,o=0;;)if(1===d(r+=n)){if(++o>=16)break}else o=0;var a=r*n*1e3;return $.springs[t]=a,a}}function z(t){return void 0===t&&(t=10),function(e){return Math.ceil(j(e,1e-6,1)*t)*(1/t)}}var O,C,P=function(){var t=.1;function e(t,e){return 1-3*e+3*t}function n(t,e){return 3*e-6*t}function r(t){return 3*t}function o(t,o,a){return((e(o,a)*t+n(o,a))*t+r(o))*t}function a(t,o,a){return 3*e(o,a)*t*t+2*n(o,a)*t+r(o)}return function(e,n,r,i){if(0<=e&&e<=1&&0<=r&&r<=1){var s=new Float32Array(11);if(e!==n||r!==i)for(var c=0;c<11;++c)s[c]=o(c*t,e,r);return function(c){return e===n&&r===i||0===c||1===c?c:o(function(n){for(var i=0,c=1;10!==c&&s[c]<=n;++c)i+=t;--c;var u=i+(n-s[c])/(s[c+1]-s[c])*t,l=a(u,e,r);return l>=.001?function(t,e,n,r){for(var i=0;i<4;++i){var s=a(e,n,r);if(0===s)return e;e-=(o(e,n,r)-t)/s}return e}(n,u,e,r):0===l?u:function(t,e,n,r,a){var i,s,c=0;do{(i=o(s=e+(n-e)/2,r,a)-t)>0?n=s:e=s}while(Math.abs(i)>1e-7&&++c<10);return s}(n,i,i+t,e,r)}(c),n,i)}}}}(),Y=(O={linear:function(){return function(t){return t}}},C={Sine:function(){return function(t){return 1-Math.cos(t*Math.PI/2)}},Expo:function(){return function(t){return t?Math.pow(2,10*t-10):0}},Circ:function(){return function(t){return 1-Math.sqrt(1-t*t)}},Back:function(){return function(t){return t*t*(3*t-2)}},Bounce:function(){return function(t){for(var e,n=4;t<((e=Math.pow(2,--n))-1)/11;);return 1/Math.pow(4,3-n)-7.5625*Math.pow((3*e-2)/22-t,2)}},Elastic:function(t,e){void 0===t&&(t=1),void 0===e&&(e=.5);var n=j(t,1,10),r=j(e,.1,2);return function(t){return 0===t||1===t?t:-n*Math.pow(2,10*(t-1))*Math.sin((t-1-r/(2*Math.PI)*Math.asin(1/n))*(2*Math.PI)/r)}}},["Quad","Cubic","Quart","Quint"].forEach((function(t,e){C[t]=function(){return function(t){return Math.pow(t,e+2)}}})),Object.keys(C).forEach((function(t){var e=C[t];O["easeIn"+t]=e,O["easeOut"+t]=function(t,n){return function(r){return 1-e(t,n)(1-r)}},O["easeInOut"+t]=function(t,n){return function(r){return r<.5?e(t,n)(2*r)/2:1-e(t,n)(-2*r+2)/2}},O["easeOutIn"+t]=function(t,n){return function(r){return r<.5?(1-e(t,n)(1-2*r))/2:(e(t,n)(2*r-1)+1)/2}}})),O);function R(t,e){if(A.fnc(t))return t;var n=t.split("(")[0],r=Y[n],o=S(t);switch(n){case"spring":return E(t,e);case"cubicBezier":return I(P,o);case"steps":return I(z,o);default:return I(r,o)}}function U(t){try{return document.querySelectorAll(t)}catch(t){return}}function Q(t,e){for(var n=t.length,r=arguments.length>=2?arguments[1]:void 0,o=[],a=0;a<n;a++)if(a in t){var i=t[a];e.call(r,i,a,t)&&o.push(i)}return o}function H(t){return t.reduce((function(t,e){return t.concat(A.arr(e)?H(e):e)}),[])}function B(t){return A.arr(t)?t:(A.str(t)&&(t=U(t)||t),t instanceof NodeList||t instanceof HTMLCollection?[].slice.call(t):[t])}function Z(t,e){return t.some((function(t){return t===e}))}function F(t){var e={};for(var n in t)e[n]=t[n];return e}function q(t,e){var n=F(t);for(var r in t)n[r]=e.hasOwnProperty(r)?e[r]:t[r];return n}function W(t,e){var n=F(t);for(var r in e)n[r]=A.und(t[r])?e[r]:t[r];return n}function G(t){var e=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(t);if(e)return e[1]}function V(t,e){return A.fnc(t)?t(e.target,e.id,e.total):t}function X(t,e){return t.getAttribute(e)}function _(t,e,n){if(Z([n,"deg","rad","turn"],G(e)))return e;var r=$.CSS[e+n];if(!A.und(r))return r;var o=document.createElement(t.tagName),a=t.parentNode&&t.parentNode!==document?t.parentNode:document.body;a.appendChild(o),o.style.position="absolute",o.style.width=100+n;var i=100/o.offsetWidth;a.removeChild(o);var s=i*parseFloat(e);return $.CSS[e+n]=s,s}function J(t,e,n){if(e in t.style){var r=e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),o=t.style[e]||getComputedStyle(t).getPropertyValue(r)||"0";return n?_(t,o,n):o}}function K(t,e){return A.dom(t)&&!A.inp(t)&&(!A.nil(X(t,e))||A.svg(t)&&t[e])?"attribute":A.dom(t)&&Z(L,e)?"transform":A.dom(t)&&"transform"!==e&&J(t,e)?"css":null!=t[e]?"object":void 0}function tt(t){if(A.dom(t)){for(var e,n=t.style.transform||"",r=/(\w+)\(([^)]*)\)/g,o=new Map;e=r.exec(n);)o.set(e[1],e[2]);return o}}function et(t,e,n,r){switch(K(t,e)){case"transform":return function(t,e,n,r){var o=T(e,"scale")?1:0+function(t){return T(t,"translate")||"perspective"===t?"px":T(t,"rotate")||T(t,"skew")?"deg":void 0}(e),a=tt(t).get(e)||o;return n&&(n.transforms.list.set(e,a),n.transforms.last=e),r?_(t,a,r):a}(t,e,r,n);case"css":return J(t,e,n);case"attribute":return X(t,e);default:return t[e]||0}}function nt(t,e){var n=/^(\*=|\+=|-=)/.exec(t);if(!n)return t;var r=G(t)||0,o=parseFloat(e),a=parseFloat(t.replace(n[0],""));switch(n[0][0]){case"+":return o+a+r;case"-":return o-a+r;case"*":return o*a+r}}function rt(t,e){if(A.col(t))return function(t){return A.rgb(t)?(n=/rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g.exec(e=t))?"rgba("+n[1]+",1)":e:A.hex(t)?function(t){var e=t.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(t,e,n,r){return e+e+n+n+r+r})),n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return"rgba("+parseInt(n[1],16)+","+parseInt(n[2],16)+","+parseInt(n[3],16)+",1)"}(t):A.hsl(t)?function(t){var e,n,r,o=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(t)||/hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g.exec(t),a=parseInt(o[1],10)/360,i=parseInt(o[2],10)/100,s=parseInt(o[3],10)/100,c=o[4]||1;function u(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}if(0==i)e=n=r=s;else{var l=s<.5?s*(1+i):s+i-s*i,d=2*s-l;e=u(d,l,a+1/3),n=u(d,l,a),r=u(d,l,a-1/3)}return"rgba("+255*e+","+255*n+","+255*r+","+c+")"}(t):void 0;var e,n}(t);if(/\s/g.test(t))return t;var n=G(t),r=n?t.substr(0,t.length-n.length):t;return e?r+e:r}function ot(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function at(t){for(var e,n=t.points,r=0,o=0;o<n.numberOfItems;o++){var a=n.getItem(o);o>0&&(r+=ot(e,a)),e=a}return r}function it(t){if(t.getTotalLength)return t.getTotalLength();switch(t.tagName.toLowerCase()){case"circle":return function(t){return 2*Math.PI*X(t,"r")}(t);case"rect":return function(t){return 2*X(t,"width")+2*X(t,"height")}(t);case"line":return function(t){return ot({x:X(t,"x1"),y:X(t,"y1")},{x:X(t,"x2"),y:X(t,"y2")})}(t);case"polyline":return at(t);case"polygon":return function(t){var e=t.points;return at(t)+ot(e.getItem(e.numberOfItems-1),e.getItem(0))}(t)}}function st(t,e){var n=e||{},r=n.el||function(t){for(var e=t.parentNode;A.svg(e)&&A.svg(e.parentNode);)e=e.parentNode;return e}(t),o=r.getBoundingClientRect(),a=X(r,"viewBox"),i=o.width,s=o.height,c=n.viewBox||(a?a.split(" "):[0,0,i,s]);return{el:r,viewBox:c,x:c[0]/1,y:c[1]/1,w:i,h:s,vW:c[2],vH:c[3]}}function ct(t,e,n){function r(n){void 0===n&&(n=0);var r=e+n>=1?e+n:0;return t.el.getPointAtLength(r)}var o=st(t.el,t.svg),a=r(),i=r(-1),s=r(1),c=n?1:o.w/o.vW,u=n?1:o.h/o.vH;switch(t.property){case"x":return(a.x-o.x)*c;case"y":return(a.y-o.y)*u;case"angle":return 180*Math.atan2(s.y-i.y,s.x-i.x)/Math.PI}}function ut(t,e){var n=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?/g,r=rt(A.pth(t)?t.totalLength:t,e)+"";return{original:r,numbers:r.match(n)?r.match(n).map(Number):[0],strings:A.str(t)||e?r.split(n):[]}}function lt(t){return Q(t?H(A.arr(t)?t.map(B):B(t)):[],(function(t,e,n){return n.indexOf(t)===e}))}function dt(t){var e=lt(t);return e.map((function(t,n){return{target:t,id:n,total:e.length,transforms:{list:tt(t)}}}))}function pt(t,e){var n=F(e);if(/^spring/.test(n.easing)&&(n.duration=E(n.easing)),A.arr(t)){var r=t.length;2!==r||A.obj(t[0])?A.fnc(e.duration)||(n.duration=e.duration/r):t={value:t}}var o=A.arr(t)?t:[t];return o.map((function(t,n){var r=A.obj(t)&&!A.pth(t)?t:{value:t};return A.und(r.delay)&&(r.delay=n?0:e.delay),A.und(r.endDelay)&&(r.endDelay=n===o.length-1?e.endDelay:0),r})).map((function(t){return W(t,n)}))}var ht={css:function(t,e,n){return t.style[e]=n},attribute:function(t,e,n){return t.setAttribute(e,n)},object:function(t,e,n){return t[e]=n},transform:function(t,e,n,r,o){if(r.list.set(e,n),e===r.last||o){var a="";r.list.forEach((function(t,e){a+=e+"("+t+") "})),t.style.transform=a}}};function ft(t,e){dt(t).forEach((function(t){for(var n in e){var r=V(e[n],t),o=t.target,a=G(r),i=et(o,n,a,t),s=nt(rt(r,a||G(i)),i),c=K(o,n);ht[c](o,n,s,t.transforms,!0)}}))}function gt(t,e){return Q(H(t.map((function(t){return e.map((function(e){return function(t,e){var n=K(t.target,e.name);if(n){var r=function(t,e){var n;return t.tweens.map((function(r){var o=function(t,e){var n={};for(var r in t){var o=V(t[r],e);A.arr(o)&&1===(o=o.map((function(t){return V(t,e)}))).length&&(o=o[0]),n[r]=o}return n.duration=parseFloat(n.duration),n.delay=parseFloat(n.delay),n}(r,e),a=o.value,i=A.arr(a)?a[1]:a,s=G(i),c=et(e.target,t.name,s,e),u=n?n.to.original:c,l=A.arr(a)?a[0]:u,d=G(l)||G(c),p=s||d;return A.und(i)&&(i=u),o.from=ut(l,p),o.to=ut(nt(i,l),p),o.start=n?n.end:0,o.end=o.start+o.delay+o.duration+o.endDelay,o.easing=R(o.easing,o.duration),o.isPath=A.pth(a),o.isPathTargetInsideSVG=o.isPath&&A.svg(e.target),o.isColor=A.col(o.from.original),o.isColor&&(o.round=1),n=o,o}))}(e,t),o=r[r.length-1];return{type:n,property:e.name,animatable:t,tweens:r,duration:o.end,delay:r[0].delay,endDelay:o.endDelay}}}(t,e)}))}))),(function(t){return!A.und(t)}))}function mt(t,e){var n=t.length,r=function(t){return t.timelineOffset?t.timelineOffset:0},o={};return o.duration=n?Math.max.apply(Math,t.map((function(t){return r(t)+t.duration}))):e.duration,o.delay=n?Math.min.apply(Math,t.map((function(t){return r(t)+t.delay}))):e.delay,o.endDelay=n?o.duration-Math.max.apply(Math,t.map((function(t){return r(t)+t.duration-t.endDelay}))):e.endDelay,o}var yt=0,vt=[],Mt=function(){var t;function e(n){for(var r=vt.length,o=0;o<r;){var a=vt[o];a.paused?(vt.splice(o,1),r--):(a.tick(n),o++)}t=o>0?requestAnimationFrame(e):void 0}return"undefined"!=typeof document&&document.addEventListener("visibilitychange",(function(){bt.suspendWhenDocumentHidden&&(wt()?t=cancelAnimationFrame(t):(vt.forEach((function(t){return t._onDocumentVisibility()})),Mt()))})),function(){t||wt()&&bt.suspendWhenDocumentHidden||!(vt.length>0)||(t=requestAnimationFrame(e))}}();function wt(){return!!document&&document.hidden}function bt(t){void 0===t&&(t={});var e,n=0,r=0,o=0,a=0,i=null;function s(t){var e=window.Promise&&new Promise((function(t){return i=t}));return t.finished=e,e}var c=function(t){var e=q(D,t),n=q(N,t),r=function(t,e){var n=[],r=e.keyframes;for(var o in r&&(e=W(function(t){for(var e=Q(H(t.map((function(t){return Object.keys(t)}))),(function(t){return A.key(t)})).reduce((function(t,e){return t.indexOf(e)<0&&t.push(e),t}),[]),n={},r=function(r){var o=e[r];n[o]=t.map((function(t){var e={};for(var n in t)A.key(n)?n==o&&(e.value=t[n]):e[n]=t[n];return e}))},o=0;o<e.length;o++)r(o);return n}(r),e)),e)A.key(o)&&n.push({name:o,tweens:pt(e[o],t)});return n}(n,t),o=dt(t.targets),a=gt(o,r),i=mt(a,n),s=yt;return yt++,W(e,{id:s,children:[],animatables:o,animations:a,duration:i.duration,delay:i.delay,endDelay:i.endDelay})}(t);function u(){var t=c.direction;"alternate"!==t&&(c.direction="normal"!==t?"normal":"reverse"),c.reversed=!c.reversed,e.forEach((function(t){return t.reversed=c.reversed}))}function l(t){return c.reversed?c.duration-t:t}function d(){n=0,r=l(c.currentTime)*(1/bt.speed)}function p(t,e){e&&e.seek(t-e.timelineOffset)}function h(t){for(var e=0,n=c.animations,r=n.length;e<r;){var o=n[e],a=o.animatable,i=o.tweens,s=i.length-1,u=i[s];s&&(u=Q(i,(function(e){return t<e.end}))[0]||u);for(var l=j(t-u.start-u.delay,0,u.duration)/u.duration,d=isNaN(l)?1:u.easing(l),p=u.to.strings,h=u.round,f=[],g=u.to.numbers.length,m=void 0,y=0;y<g;y++){var v=void 0,M=u.to.numbers[y],w=u.from.numbers[y]||0;v=u.isPath?ct(u.value,d*M,u.isPathTargetInsideSVG):w+d*(M-w),h&&(u.isColor&&y>2||(v=Math.round(v*h)/h)),f.push(v)}var b=p.length;if(b){m=p[0];for(var k=0;k<b;k++){p[k];var x=p[k+1],D=f[k];isNaN(D)||(m+=x?D+x:D+" ")}}else m=f[0];ht[o.type](a.target,o.property,m,a.transforms),o.currentValue=m,e++}}function f(t){c[t]&&!c.passThrough&&c[t](c)}function g(t){var d=c.duration,g=c.delay,m=d-c.endDelay,y=l(t);c.progress=j(y/d*100,0,100),c.reversePlayback=y<c.currentTime,e&&function(t){if(c.reversePlayback)for(var n=a;n--;)p(t,e[n]);else for(var r=0;r<a;r++)p(t,e[r])}(y),!c.began&&c.currentTime>0&&(c.began=!0,f("begin")),!c.loopBegan&&c.currentTime>0&&(c.loopBegan=!0,f("loopBegin")),y<=g&&0!==c.currentTime&&h(0),(y>=m&&c.currentTime!==d||!d)&&h(d),y>g&&y<m?(c.changeBegan||(c.changeBegan=!0,c.changeCompleted=!1,f("changeBegin")),f("change"),h(y)):c.changeBegan&&(c.changeCompleted=!0,c.changeBegan=!1,f("changeComplete")),c.currentTime=j(y,0,d),c.began&&f("update"),t>=d&&(r=0,c.remaining&&!0!==c.remaining&&c.remaining--,c.remaining?(n=o,f("loopComplete"),c.loopBegan=!1,"alternate"===c.direction&&u()):(c.paused=!0,c.completed||(c.completed=!0,f("loopComplete"),f("complete"),!c.passThrough&&"Promise"in window&&(i(),s(c)))))}return s(c),c.reset=function(){var t=c.direction;c.passThrough=!1,c.currentTime=0,c.progress=0,c.paused=!0,c.began=!1,c.loopBegan=!1,c.changeBegan=!1,c.completed=!1,c.changeCompleted=!1,c.reversePlayback=!1,c.reversed="reverse"===t,c.remaining=c.loop,e=c.children;for(var n=a=e.length;n--;)c.children[n].reset();(c.reversed&&!0!==c.loop||"alternate"===t&&1===c.loop)&&c.remaining++,h(c.reversed?c.duration:0)},c._onDocumentVisibility=d,c.set=function(t,e){return ft(t,e),c},c.tick=function(t){o=t,n||(n=o),g((o+(r-n))*bt.speed)},c.seek=function(t){g(l(t))},c.pause=function(){c.paused=!0,d()},c.play=function(){c.paused&&(c.completed&&c.reset(),c.paused=!1,vt.push(c),d(),Mt())},c.reverse=function(){u(),c.completed=!c.reversed,d()},c.restart=function(){c.reset(),c.play()},c.remove=function(t){xt(lt(t),c)},c.reset(),c.autoplay&&c.play(),c}function kt(t,e){for(var n=e.length;n--;)Z(t,e[n].animatable.target)&&e.splice(n,1)}function xt(t,e){var n=e.animations,r=e.children;kt(t,n);for(var o=r.length;o--;){var a=r[o],i=a.animations;kt(t,i),i.length||a.children.length||r.splice(o,1)}n.length||r.length||e.pause()}bt.version="3.2.1",bt.speed=1,bt.suspendWhenDocumentHidden=!0,bt.running=vt,bt.remove=function(t){for(var e=lt(t),n=vt.length;n--;)xt(e,vt[n])},bt.get=et,bt.set=ft,bt.convertPx=_,bt.path=function(t,e){var n=A.str(t)?U(t)[0]:t,r=e||100;return function(t){return{property:t,el:n,svg:st(n),totalLength:it(n)*(r/100)}}},bt.setDashoffset=function(t){var e=it(t);return t.setAttribute("stroke-dasharray",e),e},bt.stagger=function(t,e){void 0===e&&(e={});var n=e.direction||"normal",r=e.easing?R(e.easing):null,o=e.grid,a=e.axis,i=e.from||0,s="first"===i,c="center"===i,u="last"===i,l=A.arr(t),d=l?parseFloat(t[0]):parseFloat(t),p=l?parseFloat(t[1]):0,h=G(l?t[1]:t)||0,f=e.start||0+(l?d:0),g=[],m=0;return function(t,e,y){if(s&&(i=0),c&&(i=(y-1)/2),u&&(i=y-1),!g.length){for(var v=0;v<y;v++){if(o){var M=c?(o[0]-1)/2:i%o[0],w=c?(o[1]-1)/2:Math.floor(i/o[0]),b=M-v%o[0],k=w-Math.floor(v/o[0]),x=Math.sqrt(b*b+k*k);"x"===a&&(x=-b),"y"===a&&(x=-k),g.push(x)}else g.push(Math.abs(i-v));m=Math.max.apply(Math,g)}r&&(g=g.map((function(t){return r(t/m)*m}))),"reverse"===n&&(g=g.map((function(t){return a?t<0?-1*t:-t:Math.abs(m-t)})))}return f+(l?(p-d)/m:d)*(Math.round(100*g[e])/100)+h}},bt.timeline=function(t){void 0===t&&(t={});var e=bt(t);return e.duration=0,e.add=function(n,r){var o=vt.indexOf(e),a=e.children;function i(t){t.passThrough=!0}o>-1&&vt.splice(o,1);for(var s=0;s<a.length;s++)i(a[s]);var c=W(n,q(N,t));c.targets=c.targets||t.targets;var u=e.duration;c.autoplay=!1,c.direction=e.direction,c.timelineOffset=A.und(r)?u:nt(r,u),i(e),e.seek(c.timelineOffset);var l=bt(c);i(l),a.push(l);var d=mt(a,t);return e.delay=d.delay,e.endDelay=d.endDelay,e.duration=d.duration,e.seek(0),e.reset(),e.autoplay&&e.play(),e},e},bt.easing=R,bt.penner=Y,bt.random=function(t,e){return Math.floor(Math.random()*(e-t+1))+t};const Dt=bt;var Nt=["br","col","colgroup","dl","hr","iframe","img","input","link","menuitem","meta","ol","param","select","table","tbody","tfoot","thead","tr","ul","wbr"],Lt={"accept-charset":"acceptCharset",acceptcharset:"acceptCharset",accesskey:"accessKey",allowfullscreen:"allowFullScreen",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",cellpadding:"cellPadding",cellspacing:"cellSpacing",charset:"charSet",class:"className",classid:"classID",classname:"className",colspan:"colSpan",contenteditable:"contentEditable",contextmenu:"contextMenu",controlslist:"controlsList",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",datetime:"dateTime",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",enctype:"encType",for:"htmlFor",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",innerhtml:"innerHTML",inputmode:"inputMode",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",marginwidth:"marginWidth",marginheight:"marginHeight",maxlength:"maxLength",mediagroup:"mediaGroup",minlength:"minLength",nomodule:"noModule",novalidate:"noValidate",playsinline:"playsInline",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rowspan:"rowSpan",spellcheck:"spellCheck",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",tabindex:"tabIndex",typemustmatch:"typeMustMatch",usemap:"useMap",accentheight:"accentHeight","accent-height":"accentHeight",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",arabicform:"arabicForm","arabic-form":"arabicForm",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",diffuseconstant:"diffuseConstant",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",edgemode:"edgeMode",enablebackground:"enableBackground","enable-background":"enableBackground",externalresourcesrequired:"externalResourcesRequired",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",imagerendering:"imageRendering","image-rendering":"imageRendering",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",vmathematical:"vMathematical","v-mathematical":"vMathematical",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan",onblur:"onBlur",onchange:"onChange",onclick:"onClick",oncontextmenu:"onContextMenu",ondoubleclick:"onDoubleClick",ondrag:"onDrag",ondragend:"onDragEnd",ondragenter:"onDragEnter",ondragexit:"onDragExit",ondragleave:"onDragLeave",ondragover:"onDragOver",ondragstart:"onDragStart",ondrop:"onDrop",onerror:"onError",onfocus:"onFocus",oninput:"onInput",oninvalid:"onInvalid",onkeydown:"onKeyDown",onkeypress:"onKeyPress",onkeyup:"onKeyUp",onload:"onLoad",onmousedown:"onMouseDown",onmouseenter:"onMouseEnter",onmouseleave:"onMouseLeave",onmousemove:"onMouseMove",onmouseout:"onMouseOut",onmouseover:"onMouseOver",onmouseup:"onMouseUp",onscroll:"onScroll",onsubmit:"onSubmit",ontouchcancel:"onTouchCancel",ontouchend:"onTouchEnd",ontouchmove:"onTouchMove",ontouchstart:"onTouchStart",onwheel:"onWheel"};function $t(t,e,n){const r=[...t].map(((t,r)=>Tt(t,{...n,index:r,level:e+1}))).filter(Boolean);return r.length?r:null}function jt(t,e={}){return"string"==typeof t?function(t,e={}){if(!t||"string"!=typeof t)return null;const{includeAllNodes:n=!1,nodeOnly:r=!1,selector:o="body > *",type:a="text/html"}=e;try{const i=(new DOMParser).parseFromString(t,a);if(n){const{childNodes:t}=i.body;return r?t:[...t].map((t=>Tt(t,e)))}const s=i.querySelector(o)||i.body.childNodes[0];if(!(s instanceof Node))throw new TypeError("Error parsing input");return r?s:Tt(s,e)}catch(t){}return null}(t,e):t instanceof Node?Tt(t,e):null}function Tt(t,e={}){if(!(t&&t instanceof Node))return null;const{actions:r=[],index:o=0,level:a=0,randomKey:i}=e;let s=t,c=`${a}-${o}`;const u=[];return i&&0===a&&(c=`${function(t=6){let e="";for(let n=t;n>0;--n)e+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[Math.round(61*Math.random())];return e}()}-${c}`),Array.isArray(r)&&r.forEach((e=>{e.condition(s,c,a)&&("function"==typeof e.pre&&(s=e.pre(s,c,a),s instanceof Node||(s=t)),"function"==typeof e.post&&u.push(e.post(s,c,a)))})),u.length?u:function(t,e){const{key:r,level:o,...a}=e;switch(t.nodeType){case 1:return n.createElement((i=t.nodeName,/[a-z]+[A-Z]+[a-z]+/.test(i)?i:i.toLowerCase()),function(t,e){const n={key:e};if(t instanceof Element){const e=t.getAttribute("class");e&&(n.className=e),[...t.attributes].forEach((t=>{switch(t.name){case"class":break;case"style":n[t.name]="string"!=typeof(e=t.value)?{}:e.split(/ ?; ?/).reduce(((t,e)=>{const[n,r]=e.split(/ ?: ?/).map(((t,e)=>0===e?t.replace(/\s+/g,""):t.trim()));if(n&&r){const e=n.replace(/(\w)-(\w)/g,((t,e,n)=>`${e}${n.toUpperCase()}`));let o=r.trim();Number.isNaN(Number(r))||(o=Number(r)),t[n.startsWith("-")?n:e]=o}return t}),{});break;case"allowfullscreen":case"allowpaymentrequest":case"async":case"autofocus":case"autoplay":case"checked":case"controls":case"default":case"defer":case"disabled":case"formnovalidate":case"hidden":case"ismap":case"itemscope":case"loop":case"multiple":case"muted":case"nomodule":case"novalidate":case"open":case"readonly":case"required":case"reversed":case"selected":case"typemustmatch":n[Lt[t.name]||t.name]=!0;break;default:n[Lt[t.name]||t.name]=t.value}var e}))}return n}(t,r),$t(t.childNodes,o,a));case 3:{const e=t.nodeValue?.toString()??"";if(!a.allowWhiteSpaces&&/^\s+$/.test(e)&&!/[\u00A0\u202F]/.test(e))return null;if(!t.parentNode)return e;const n=t.parentNode.nodeName.toLowerCase();return Nt.includes(n)?(/\S/.test(e)&&console.warn(`A textNode is not allowed inside '${n}'. Your text "${e}" will be ignored`),null):e}case 8:default:return null;case 11:return $t(t.childNodes,o,e)}var i}(s,{key:c,level:a,...e})}var It=Object.defineProperty,At=(t,e,n)=>((t,e,n)=>e in t?It(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n)(t,"symbol"!=typeof e?e+"":e,n),St="react-inlinesvg",Et={IDLE:"idle",LOADING:"loading",LOADED:"loaded",FAILED:"failed",READY:"ready",UNSUPPORTED:"unsupported"};function zt(){return!("undefined"==typeof window||!window.document?.createElement)}async function Ot(t,e){const n=await fetch(t,e),r=n.headers.get("content-type"),[o]=(r??"").split(/ ?; ?/);if(n.status>299)throw new Error("Not found");if(!["image/svg+xml","text/plain"].some((t=>o.includes(t))))throw new Error(`Content type isn't valid: ${o}`);return n.text()}function Ct(t=1){return new Promise((e=>{setTimeout(e,1e3*t)}))}var Pt,Yt=class{constructor(){At(this,"cacheApi"),At(this,"cacheStore"),At(this,"subscribers",[]),At(this,"isReady",!1),this.cacheStore=new Map;let t=St,e=!1;zt()&&(t=window.REACT_INLINESVG_CACHE_NAME??St,e=!!window.REACT_INLINESVG_PERSISTENT_CACHE&&"caches"in window),e?caches.open(t).then((t=>{this.cacheApi=t})).catch((t=>{console.error(`Failed to open cache: ${t.message}`),this.cacheApi=void 0})).finally((()=>{this.isReady=!0;const t=[...this.subscribers];this.subscribers.length=0,t.forEach((t=>{try{t()}catch(t){console.error(`Error in CacheStore subscriber callback: ${t.message}`)}}))})):this.isReady=!0}onReady(t){this.isReady?t():this.subscribers.push(t)}async get(t,e){return await(this.cacheApi?this.fetchAndAddToPersistentCache(t,e):this.fetchAndAddToInternalCache(t,e)),this.cacheStore.get(t)?.content??""}set(t,e){this.cacheStore.set(t,e)}isCached(t){return this.cacheStore.get(t)?.status===Et.LOADED}async fetchAndAddToInternalCache(t,e){const n=this.cacheStore.get(t);if(n?.status!==Et.LOADING){if(!n?.content){this.cacheStore.set(t,{content:"",status:Et.LOADING});try{const n=await Ot(t,e);this.cacheStore.set(t,{content:n,status:Et.LOADED})}catch(e){throw this.cacheStore.set(t,{content:"",status:Et.FAILED}),e}}}else await this.handleLoading(t,(async()=>{this.cacheStore.set(t,{content:"",status:Et.IDLE}),await this.fetchAndAddToInternalCache(t,e)}))}async fetchAndAddToPersistentCache(t,e){const n=this.cacheStore.get(t);if(n?.status===Et.LOADED)return;if(n?.status===Et.LOADING)return void await this.handleLoading(t,(async()=>{this.cacheStore.set(t,{content:"",status:Et.IDLE}),await this.fetchAndAddToPersistentCache(t,e)}));this.cacheStore.set(t,{content:"",status:Et.LOADING});const r=await(this.cacheApi?.match(t));if(r){const e=await r.text();this.cacheStore.set(t,{content:e,status:Et.LOADED})}else try{await(this.cacheApi?.add(new Request(t,e)));const n=await(this.cacheApi?.match(t)),r=await(n?.text())??"";this.cacheStore.set(t,{content:r,status:Et.LOADED})}catch(e){throw this.cacheStore.set(t,{content:"",status:Et.FAILED}),e}}async handleLoading(t,e){for(let e=0;e<10;e++){if(this.cacheStore.get(t)?.status!==Et.LOADING)return;await Ct(.1)}await e()}keys(){return[...this.cacheStore.keys()]}data(){return[...this.cacheStore.entries()].map((([t,e])=>({[t]:e})))}async delete(t){this.cacheApi&&await this.cacheApi.delete(t),this.cacheStore.delete(t)}async clear(){if(this.cacheApi){const t=await this.cacheApi.keys();await Promise.allSettled(t.map((t=>this.cacheApi.delete(t))))}this.cacheStore.clear()}};function Rt(t){const e=(0,n.useRef)(void 0);return(0,n.useEffect)((()=>{e.current=t})),e.current}function Ut(t){const{baseURL:e,content:n,description:r,handleError:o,hash:a,preProcessor:i,title:s,uniquifyIDs:c=!1}=t;try{const t=function(t,e){return e?e(t):t}(n,i),o=jt(t,{nodeOnly:!0});if(!(o&&o instanceof SVGSVGElement))throw new Error("Could not convert the src to a DOM Node");const u=Qt(o,{baseURL:e,hash:a,uniquifyIDs:c});if(r){const t=u.querySelector("desc");t?.parentNode&&t.parentNode.removeChild(t);const e=document.createElementNS("http://www.w3.org/2000/svg","desc");e.innerHTML=r,u.prepend(e)}if(void 0!==s){const t=u.querySelector("title");if(t?.parentNode&&t.parentNode.removeChild(t),s){const t=document.createElementNS("http://www.w3.org/2000/svg","title");t.innerHTML=s,u.prepend(t)}}return u}catch(t){return o(t)}}function Qt(t,e){const{baseURL:n="",hash:r,uniquifyIDs:o}=e,a=["id","href","xlink:href","xlink:role","xlink:arcrole"],i=["href","xlink:href"];return o?([...t.children].forEach((t=>{if(t.attributes?.length){const e=Object.values(t.attributes).map((t=>{const e=t,o=/url\((.*?)\)/.exec(t.value);return o?.[1]&&(e.value=t.value.replace(o[0],`url(${n}${o[1]}__${r})`)),e}));a.forEach((t=>{const n=e.find((e=>e.name===t));var o,a;n&&(o=t,a=n.value,!i.includes(o)||!a||a.includes("#"))&&(n.value=`${n.value}__${r}`)}))}return t.children.length?Qt(t,e):t})),t):t}function Ht(t){const{cacheRequests:e=!0,children:r=null,description:o,fetchOptions:a,innerRef:i,loader:s=null,onError:c,onLoad:u,src:l,title:d,uniqueHash:p}=t,[h,f]=(0,n.useReducer)(((t,e)=>({...t,...e})),{content:"",element:null,isCached:e&&Pt.isCached(t.src),status:Et.IDLE}),{content:g,element:m,isCached:y,status:v}=h,M=Rt(t),w=Rt(h),b=(0,n.useRef)(p??function(){const t="abcdefghijklmnopqrstuvwxyz",e=`${t}${t.toUpperCase()}1234567890`;let n="";for(let t=0;t<8;t++)n+=(r=e)[Math.floor(Math.random()*r.length)];var r;return n}()),k=(0,n.useRef)(!1),x=(0,n.useRef)(!1),D=(0,n.useCallback)((t=>{k.current&&(f({status:"Browser does not support SVG"===t.message?Et.UNSUPPORTED:Et.FAILED}),c?.(t))}),[c]),N=(0,n.useCallback)(((t,e=!1)=>{k.current&&f({content:t,isCached:e,status:Et.LOADED})}),[]),L=(0,n.useCallback)((async()=>{const t=await Ot(l,a);N(t)}),[a,N,l]),$=(0,n.useCallback)((()=>{try{const e=jt(Ut({...t,handleError:D,hash:b.current,content:g}));if(!e||!(0,n.isValidElement)(e))throw new Error("Could not convert the src to a React element");f({element:e,status:Et.READY})}catch(t){D(t)}}),[g,D,t]),j=(0,n.useCallback)((async()=>{const t=/^data:image\/svg[^,]*?(;base64)?,(.*)/u.exec(l);let n;if(t?n=t[1]?window.atob(t[2]):decodeURIComponent(t[2]):l.includes("<svg")&&(n=l),n)N(n);else try{if(e){const t=await Pt.get(l,a);N(t,!0)}else await L()}catch(t){D(t)}}),[e,L,a,D,N,l]),T=(0,n.useCallback)((async()=>{k.current&&f({content:"",element:null,isCached:!1,status:Et.LOADING})}),[]);(0,n.useEffect)((()=>{if(k.current=!0,zt()&&!x.current){try{if(v===Et.IDLE){if(!function(){if(!document)return!1;const t=document.createElement("div");t.innerHTML="<svg />";const e=t.firstChild;return!!e&&"http://www.w3.org/2000/svg"===e.namespaceURI}()||"undefined"==typeof window||null===window)throw new Error("Browser does not support SVG");if(!l)throw new Error("Missing src");T()}}catch(t){D(t)}return x.current=!0,()=>{k.current=!1}}}),[]),(0,n.useEffect)((()=>{if(zt()&&M&&M.src!==l){if(!l)return void D(new Error("Missing src"));T()}}),[D,T,M,l]),(0,n.useEffect)((()=>{v===Et.LOADED&&$()}),[v,$]),(0,n.useEffect)((()=>{zt()&&M&&M.src===l&&(M.title===d&&M.description===o||$())}),[o,$,M,l,d]),(0,n.useEffect)((()=>{if(w)switch(v){case Et.LOADING:w.status!==Et.LOADING&&j();break;case Et.LOADED:w.status!==Et.LOADED&&$();break;case Et.READY:w.status!==Et.READY&&u?.(l,y)}}),[j,$,y,u,w,l,v]);const I=function(t,...e){const n={};for(const r in t)({}).hasOwnProperty.call(t,r)&&(e.includes(r)||(n[r]=t[r]));return n}(t,"baseURL","cacheRequests","children","description","fetchOptions","innerRef","loader","onError","onLoad","preProcessor","src","title","uniqueHash","uniquifyIDs");return zt()?m?(0,n.cloneElement)(m,{ref:i,...I}):[Et.UNSUPPORTED,Et.FAILED].includes(v)?r:s:s}function Bt(t){Pt||(Pt=new Yt);const{loader:e}=t,[r,o]=(0,n.useState)(Pt.isReady);return(0,n.useEffect)((()=>{r||Pt.onReady((()=>{o(!0)}))}),[r]),r?n.createElement(Ht,{...t}):e}const Zt=({attributes:t})=>{const{icon:e,options:r,style:o}=t,{type:a}=e,{strokeWidth:i}=o,{duration:s,repeat:c,direction:u,delay:l,easing:d}=r,p=(0,n.useRef)(null),h=()=>{Dt({targets:p.current?.querySelectorAll("svg path"),strokeDashoffset:[Dt.setDashoffset,0],easing:d,duration:s,delay:(t,e)=>e*Number(l),loop:c,autoplay:!0,direction:u})};(0,n.useEffect)((()=>{if(h(),"upload"===a.iconType){const t=setTimeout((()=>h()),300);return()=>clearTimeout(t)}}),[]);const f={strokeWidth:i};return(0,n.createElement)("div",{className:"svdr-icon-draw-wrapper"},"icon"===a.svgType&&"library"===a.iconType&&e.library&&(0,n.createElement)("div",{ref:p,className:"react-svg-drawing svdr-svg-wrapper",style:f,dangerouslySetInnerHTML:{__html:e.library}}),"icon"===a.svgType&&"upload"===a.iconType&&(0,n.createElement)("div",{ref:p,className:"react-svg-drawing svdr-svg-wrapper",style:f},(0,n.createElement)(Bt,{src:e.upload||"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NDAgNTEyIj48IS0tIUZvbnQgQXdlc29tZSBGcmVlIDYuNy4yIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlL2ZyZWUgQ29weXJpZ2h0IDIwMjUgRm9udGljb25zLCBJbmMuLS0+PHBhdGggZD0iTTAgMzM2YzAgNzkuNSA2NC41IDE0NCAxNDQgMTQ0bDM2OCAwYzcwLjcgMCAxMjgtNTcuMyAxMjgtMTI4YzAtNjEuOS00NC0xMTMuNi0xMDIuNC0xMjUuNGM0LjEtMTAuNyA2LjQtMjIuNCA2LjQtMzQuNmMwLTUzLTQzLTk2LTk2LTk2Yy0xOS43IDAtMzguMSA2LTUzLjMgMTYuMkMzNjcgNjQuMiAzMTUuMyAzMiAyNTYgMzJDMTY3LjYgMzIgOTYgMTAzLjYgOTYgMTkyYzAgMi43IC4xIDUuNCAuMiA4LjFDNDAuMiAyMTkuOCAwIDI3My4yIDAgMzM2eiIvPjwvc3ZnPg==",height:"auto"})),"custom"===a.svgType&&(0,n.createElement)("div",{ref:p,className:"react-svg-drawing svdr-svg-wrapper",style:f,dangerouslySetInnerHTML:{__html:e.custom}}))};document.addEventListener("DOMContentLoaded",(()=>{document.querySelectorAll(".wp-block-b-blocks-svg-draw").forEach((t=>{const e=JSON.parse(t.dataset.attributes);(0,r.H)(t).render((0,n.createElement)(n.Fragment,null,(0,n.createElement)(x,{attributes:e,id:t.id}),(0,n.createElement)(Zt,{attributes:e}))),t?.removeAttribute("data-attributes")}))}))})(); | |
| 1 | +(()=>{"use strict";const t=window.ReactDOM,e=t=>!(null==t||""===t||Array.isArray(t)&&0===t.length||"object"==typeof t&&0===Object.keys(t).length||"string"==typeof t&&""===t.trim()||"number"==typeof t&&0===t),n=t=>{try{const e=new URL(t);return["http:","https:"].includes(e.protocol)?e.toString():null}catch(e){return"string"==typeof t&&t.startsWith("/")&&!t.startsWith("//")?t:null}};new class{constructor(t={}){this.defaultOptions={allowedTags:["svg","g","path","rect","circle","ellipse","line","polyline","polygon","text","tspan","defs","clipPath","mask","linearGradient","radialGradient","stop","style","title","desc"],allowedAttributes:["id","class","style","transform","xmlns","xmlns:xlink","version","baseProfile","xml:space","d","x","y","width","height","cx","cy","r","rx","ry","points","x1","y1","x2","y2","viewBox","preserveAspectRatio","overflow","fill","fill-opacity","fill-rule","stroke","stroke-width","stroke-linecap","stroke-linejoin","stroke-opacity","stroke-dasharray","stroke-dashoffset","stroke-miterlimit","opacity","color","paint-order","vector-effect","shape-rendering","display","visibility","clip-path","clip-rule","clipPathUnits","mask","maskUnits","maskContentUnits","offset","stop-color","stop-opacity","gradientUnits","gradientTransform","spreadMethod","fx","fy","fr","dx","dy","text-anchor","dominant-baseline","alignment-baseline","font-family","font-size","font-style","font-weight","letter-spacing","word-spacing","textLength","lengthAdjust","role","focusable","aria-hidden","aria-label","aria-labelledby","aria-describedby"],allowedProtocols:["http","https","data"],removeScripts:!0,removeEvents:!0,removeExternalResources:!0,sanitizeStyle:!0},this.options={...this.defaultOptions,...t},this.allowedTagSet=new Set(this.options.allowedTags.map((t=>t.toLowerCase()))),this.allowedAttributeSet=new Set(this.options.allowedAttributes.map((t=>t.toLowerCase())))}sanitize(t){if("string"!=typeof t||""===t.trim())return"";const e=(new DOMParser).parseFromString(t,"image/svg+xml"),n=e.documentElement;return!n||"svg"!==n.localName.toLowerCase()||e.getElementsByTagName("parsererror").length?"":(this.removeScripts(e),this.sanitizeElements(e),(new XMLSerializer).serializeToString(e.documentElement))}async sanitizeFile(t){const e=await fetch(t),n=await e.text();return this.sanitize(`${n}`)}removeScripts(t){this.options.removeScripts&&Array.from(t.querySelectorAll("*")).forEach((t=>{t.localName.toLowerCase().includes("script")&&t.remove()}))}sanitizeElements(t){Array.from(t.querySelectorAll("*")).forEach((t=>{const e=t.localName.toLowerCase();this.allowedTagSet.has(e)?("style"===e&&this.options.sanitizeStyle&&(t.textContent=this.sanitizeCss(t.textContent)),this.sanitizeAttributes(t)):t.remove()}))}sanitizeAttributes(t){Array.from(t.attributes).forEach((e=>{const n=e.name,r=n.toLowerCase(),o=e.value;if(this.options.removeEvents&&r.startsWith("on"))return void t.removeAttribute(n);if(this.options.removeExternalResources&&("href"===r||r.endsWith(":href"))&&!this.isAllowedUrl(o))return void t.removeAttribute(n);const i=r.replace("xlink:","");this.allowedAttributeSet.has(r)||this.allowedAttributeSet.has(i)?this.options.removeExternalResources&&this.hasExternalUrl(o)?t.removeAttribute(n):"style"===r&&this.options.sanitizeStyle&&t.setAttribute(n,this.sanitizeCss(o)):t.removeAttribute(n)}))}hasExternalUrl(t){return!("string"!=typeof t||!/url\s*\(/i.test(t))&&Array.from(t.matchAll(/url\s*\(\s*['"]?([^'")]*)/gi)).some((([,t])=>!t.trim().startsWith("#")))}isAllowedUrl(t){const e=String(t||"").trim();if(e.startsWith("#"))return!0;if(/^data:/i.test(e))return this.options.allowedProtocols.includes("data")&&/^data:image\/(png|jpe?g|gif|webp);base64,/i.test(e);try{return this.options.allowedProtocols.includes(new URL(e).protocol.replace(":",""))}catch{return!1}}sanitizeCss(t){return String(t||"").replace(/expression\s*\(/gi,"").replace(/javascript:/gi,"").replace(/behavior\s*:/gi,"").replace(/binding\s*:/gi,"").replace(/@import[^;]*;?/gi,"").replace(/url\s*\(\s*(['"]?)(?!#)[^)]*\)/gi,"none")}};const r="@media only screen and (min-width: 1025px)",o="@media only screen and (max-width: 1024px)",i="@media only screen and (max-width: 640px)",a="linear-gradient(135deg, #0040E3, #18D4FD)",s=window.React,c=t=>{const e=n(t);return e?`url('${e.replace(/['"()]/g,"")}')`:"none"},l=(t,n)=>e(n)?`${t}: ${n};`:"",u=(t,e=!0,n=!0,r=!0)=>{const{type:o="solid",color:i="",gradient:s=a,image:u={},position:d="center center",attachment:p="",repeat:h="no-repeat",size:f="",overlayColor:m=""}=t||{};return"gradient"===o&&n?l("background",s):"image"===o&&r?`background: ${c(u?.url)};\n\t\t\t\t${l("background-color",m)}\n\t\t\t\t${l("background-position",d)}\n\t\t\t\t${l("background-size",f)}\n\t\t\t\t${l("background-repeat",h)}\n\t\t\t\t${l("background-attachment",p)}\n\t\t\t\t${l("background-repeat",h)}\n\t\t\t\tbackground-blend-mode: overlay;`:e&&l("background",i)},d=t=>{if(!t)return"";const e=t=>{const{color:e="#000000",style:n="solid",width:r="0px"}=t;return`${r} ${n} ${e}`};return"object"!=typeof t||Array.isArray(t)?"":t.hasOwnProperty("top")||t.hasOwnProperty("right")||t.hasOwnProperty("bottom")||t.hasOwnProperty("left")?["top","right","bottom","left"].map((n=>t[n]?`border-${n}: ${e(t[n])};`:"")).join(" ").trim():l("border",e(t))},p=(t,e="box")=>{const{hOffset:n="0px",vOffset:r="0px",blur:o="0px",spreed:i="0px",color:a="#7090b0",isInset:s=!1}=t||{},c=`${n} ${r} ${o}`;return("text"===e?`${c} ${a}`:`${c} ${i} ${a} ${s?"inset":""}`)||"none"},h=t=>{if(!t)return"";if("string"==typeof t)return t;if("object"==typeof t&&!Array.isArray(t)){const e=["top","right","bottom","left"];return e.map((e=>t[e]||"")).every((t=>!t))?"":e.map((e=>t[e]||"0")).join(" ")}return""},f=t=>{const{position:n="center center",xPosition:r=0,yPosition:o=0,attachment:i="",repeat:a="no-repeat",size:s="cover",customSize:c="0px"}=t||{},l=t=>"initial"!==t||e(t);return`\n\t\t${l(n)?`background-position: ${"custom"===n?`${r} ${o}`:n};`:""}\n\t\t${i&&l(i)?`background-attachment: ${i};`:""}\n\t\t${l(a)?`background-repeat: ${a};`:""}\n\t\t${l(s)?`background-size: ${"custom"===s?`${c} auto`:s};`:""}\n\t`},m=(t={})=>t?{desktop:e(t.url)?`background-image: ${c(t.url)}; ${f(t?.desktop)}`:"",tablet:e(t.url)?f(t?.tablet):"",mobile:e(t.url)?f(t?.mobile):""}:"",g=(t,r,a=!1)=>{const{type:s="color",color:c,gradient:u,img:d,video:p}=t||{},h="color"===s?l("background",c):"gradient"===s?(t=>{const{type:n="linear",radialType:r="ellipse",colors:o=[],centerPositions:i={x:0,y:0},angel:a=0}=t||{};if(e(t)){const t=o?.map((({color:t,position:e})=>`${t} ${e}%`)),e=`linear-gradient(${a}deg, ${t})`;return l("background","radial"===n?`radial-gradient(${r} at ${i?.x}% ${i?.y}%,${t})`:e)}return""})(u):"image"===s?m(d).desktop:"",f="image"===s?m(d).tablet:"",g="image"===s?m(d).mobile:"",y=a?`${r}:hover`:r;return`\n\t\t${"video"===s?((t,e)=>{const{url:r,loop:o}=t||{},i=document.querySelector(e),a=i?.querySelector(".bPlVideo"),s=document.createElement("video");if(s.muted=!0,s.autoplay=!0,s.classList.add("bPlVideo"),!a&&i&&r){const t=n(r);if(t){const e=document.createElement("source");e.src=t,s.appendChild(e),i.appendChild(s)}}return s.loop=o,s.play(),`${e} .bPlVideo{\n\t\tleft: 0;\n\t\tmin-height: 100%;\n\t\tmin-width: 100%;\n\t\tposition: absolute;\n\t\twidth: -webkit-fill-available;\n\t\ttop: 0;\n\t\tz-index: 0;\n\t}`})(p,r):""}\n\n\t\t${h?`${y}{\n\t\t\t${h}\n\t\t}`:""}\n\n\t\t${f?`${o} {\n\t\t\t${y}{\n\t\t\t\t${f}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${g?`${i} {\n\t\t\t${y}{\n\t\t\t\t${g}\n\t\t\t}\n\t\t}`:""}\n\t`.replace(/\s+/g," ").trim()},y=(t,n,r=!1)=>{const{isEnabled:o,colors:i,opacity:a=1,blend:s,filter:c="",blur:u=0,brightness:d=100,contrast:p=100,saturation:h=100,hue:f=0,position:m={top:0,right:0,bottom:0,left:0 | |
| 2 | +},zIndex:y=-1}=t||{},v=`${100!==d?`brightness(${d}%)`:""} ${100!==p?`contrast(${p}%)`:""} ${100!==h?`saturate(${h}%)`:""} ${0!==u?`blur(${u}px)`:""} ${0!==f?`hue-rotate(${f}deg)`:""}`,M=`${c}: ${c?v:""}; -webkit-${c}: ${c?v:""};`,b=r?`${n}:hover::after`:`${n}::after`;return o?`\n\t\t${n}{\n\t\t\tposition:relative;\n\t\t\tz-index:1;\n\t\t}\n\t\t${n}::after{\n\t\t\tcontent: '';\n\t\t\tposition: absolute;\n\t\t\ttop:${e(m.top)?m.top:0};\n\t\t\tright:${e(m.right)?m.right:0};\n\t\t\tbottom:${e(m.bottom)?m.bottom:0};\n\t\t\tleft:${e(m.left)?m.left:0};\n\t\t\tz-index:${y};\n\t\t}\n\t\t${g(i,b,!1)}\n\t\t${b}{\n\t\t\t${l("opacity",a)}\n\t\t\t${l("mix-blend-mode",s)}\n\t\t\t${M}\n\t\t}\n\t`.replace(/\s+/g," ").trim():""},v=(t,n,r=!1)=>{const a=(t,n="desktop")=>{if(!e(t))return"";const{skew:r,scale:o,rotate:i,offset:a,flipX:s,flipY:c}=t,{threeDRotate:u}=i||{},{isProportion:d}=o||{},p=[];return e(r)&&(e(r?.[n]?.x)&&p.push(`skewX(${r[n].x}deg)`),e(r?.[n]?.y)&&p.push(`skewY(${r[n].y}deg)`)),d?e(o?.[n]?.scale)&&p.push(`scale(${o[n].scale})`):(e(o?.[n]?.x)&&p.push(`scaleX(${o[n].x})`),e(o?.[n]?.y)&&p.push(`scaleY(${o[n].y})`)),e(i)&&(e(i?.[n]?.z)&&p.push(`rotateZ(${i[n].z}deg)`),u&&(e(i?.[n]?.x)&&p.push(`rotateX(${i[n].x}deg)`),e(i?.[n]?.y)&&p.push(`rotateY(${i[n].y}deg)`))),e(a)&&(e(a?.[n]?.x)&&p.push(`translateX(${a[n].x})`),e(a?.[n]?.y)&&p.push(`translateY(${a[n].y})`)),e(s)&&p.push(s?"scaleX(-1)":""),e(c)&&p.push(c?"scaleY(-1)":""),0===p.length?"":l("transform",p.join(" "))},s=r?`${n}:hover`:n;return`\n\t\t${s} {\n\t\t\t${a(t,"desktop")}\n\t\t}\n\t\t${o}{\n\t\t\t${s} {\n\t\t\t\t${a(t,"tablet")}\n\t\t\t}\n\t\t}\n\t\t${i}{\n\t\t\t${s} {\n\t\t\t\t${a(t,"mobile")}\n\t\t\t}\n\t\t}\n\t`},M=t=>{const{padding:e,margin:n,height:r,width:o}=t||{},i=(t,e)=>l(t,e),a=(t,e,n)=>i(t,e?.[t]?.[n])+i(`min-${t}`,e?.min?.[n])+i(`max-${t}`,e?.max?.[n]),s=t=>l("padding",h(t)),c=t=>l("margin",h(t));return{desktop:s(e?.desktop)+c(n?.desktop)+a("height",r,"desktop")+a("width",o,"desktop"),tablet:s(e?.tablet)+c(n?.tablet)+a("height",r,"tablet")+a("width",o,"tablet"),mobile:s(e?.mobile)+c(n?.mobile)+a("height",r,"mobile")+a("width",o,"mobile")}},b=t=>{const{normal:e,hover:n}=t||{},r=t=>{const{border:e,radius:n,shadow:r}=t||{},o=l("border-radius",h(n)),i=l("box-shadow",((t,e="box")=>{let n="";return t?.map(((r,o)=>{const{hOffset:i="0px",vOffset:a="0px",blur:s="0px",spreed:c="0px",color:l="#e7f0fe",isInset:u=!1}=r||{},d=u?"inset":"",p=`${i} ${a} ${s}`,h=o+1>=t.length?"":", ";n+="text"===e?`${p} ${l}${h}`:`${p} ${c} ${l} ${d}${h}`})),n||""})(r,"box"));return d(e)+o+i};return{normal:r(e),hover:r(n)}},w=t=>{const{zIndex:n,overflow:r}=t||{},o=r?`overflow: ${r};`:"",i=t=>`${l("z-index",n?.[t])} ${l("position",e(n?.[t])?"relative":"")}`;return{desktop:i("desktop")+o,tablet:i("tablet"),mobile:i("mobile")}},x=(t,e)=>{const{desktop:n=!1,tablet:r=!1,mobile:o=!1}=t||{},i=e?"opacity: 0.5;":"display: none;",a=t=>t?i:"";return{desktop:a(n),tablet:a(r),mobile:a(o)}},$=(t,n,a=!1,s=!0)=>{const{dimension:u,transform:d,background:p,borderShadow:h,mask:f,animation:m,visibility:$,responsive:k,position:D={},floating:N={},motion:L={},css:j=""}=n||{},A=a?`#${t}>div>div${s?":first-child":""}`:`#${t}>div`;((t,e,n)=>{const r=n?`#${e} > div`:`#${e}`,o=document.querySelector(r);o&&t&&t.type&&(o.setAttribute("data-aos",t.type),o.setAttribute("data-aos-duration",1e3*t.duration||.4),o.setAttribute("data-aos-delay",1e3*t.delay||0),o.classList.contains("aos-init")||(o.classList.add("aos-init"),window?.AOS?.init()),n)&&new IntersectionObserver((t=>{t.forEach((t=>{t.intersectionRatio>.5?o.classList.add("aos-animate"):o.classList.remove("aos-animate")}))}),{threshold:[.5]}).observe(o)})(m,t,a);const T=M(u).desktop+w($).desktop+((t,e,n)=>{const{transition:r=.4}=t||{},{transition:o=.4}=e||{},{transition:i=200}=n||{};return`transition: background ${r}s, border ${o}s, border-radius ${o}s, box-shadow ${o}s, transform ${i}ms ease-in-out;`})(p,h,d)+(t=>{const{isMask:e=!1,shape:n={type:"circle"},size:r={type:"contain",scale:"100%"},position:o={type:"center center",x:50,y:50},repeat:i="no-repeat"}=t||{};return e?`-webkit-mask-image: ${"custom"===n.type?c(n.url):`url(${(a=n.type,[{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4OSIgaGVpZ2h0PSI4OSIgdmlld0JveD0iMCAwIDg5IDg5Ij48Y2lyY2xlIGN4PSI0NC41IiBjeT0iNDQuNSIgcj0iNDQuNSIvPjwvc3ZnPg==",type:"circle"},{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4OSIgaGVpZ2h0PSI4OSIgdmlld0JveD0iMCAwIDg5IDg5Ij48cGF0aCBkPSJNNzYuMTMzMiw0NC40NzUybDYuMzI4OS02LjMyODVBMjIuMzQ4NiwyMi4zNDg2LDAsMCwwLDUwLjg1LDYuNTQ3NEw0NC41MzIsMTIuODY1MSwzOC4xNiw2LjU0NzRhMjIuMzUyNCwyMi4zNTI0LDAsMSwwLTMxLjYxMiwzMS42MWw2LjMxODEsNi4zMTc3TDYuNTQ3OCw1MC44NDdhMjIuMzUyNCwyMi4zNTI0LDAsMCwwLDMxLjYxMiwzMS42MWw2LjMxODEtNi4zMTc3TDUwLjg1LDgyLjM5MjJhMjIuMzQ4NiwyMi4zNDg2LDAsMCwwLDMxLjYxMi0zMS41OTkzWiIvPjwvc3ZnPg==",type:"flower"},{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5MS4xMTQzIiBoZWlnaHQ9Ijg4Ljk5OTkiIHZpZXdCb3g9IjAgMCA5MS4xMTQzIDg4Ljk5OTkiPjxwYXRoIGQ9Ik04Mi4xNzQ5LDM3LjUyNjZsMS42MTE5LTEuNjExOWMuOTQ4Ni0uOTQ4Ny02LjM3LTUuOTMwOS03LjA0OTItNi4zNzgyYTQ1LjE1MTYsNDUuMTUxNiwwLDAsMC01Ljc3NjYtMy4zMjQxYy0uMjQ2OC0uMTE1Ny0uNjAxNi0uMzAwOC0uOTg3Mi0uNDc4MnExLjc4MTYtMS44OTcyLDMuNTg2My0zLjc3MTNjLjk0ODYtLjk4LTYuMzYyOC01LjkyMzItNy4wNDkyLTYuMzcwNUE0NC4xNTc5LDQ0LjE1NzksMCwwLDAsNjAuNzUsMTIuMjYwNmwtLjI5My0uMTQ2NSwxLjM5NTktMS41NDI1Yy45NDA5LTEuMDQ4OS02LjMzMTktNS45LTcuMDQ5Mi02LjM3QTQ0LjIxMiw0NC4yMTIsMCwwLDAsNDkuMDQyMi44NjE2Yy0uNTQtLjI0NjctMi4zMTM3LTEuMjY0OC0yLjg0NTgtLjY4NjRRMzIuNzM4MSwxNS4xNjgyLDE4LjExNTQsMjkuMDY2Yy03Ljg0MzYsNy40NS0xNi41NjYzLDE1LjU3OTEtMTguMTA4OCwyNi44Ny0uMTE1Ny44MjUzLDEuMzI2NSwxLjk3NDQsMS43NDMsMi4zMTM4YTQwLjc5OSw0MC43OTksMCwwLDAsNS4zMTM5LDQuMDU2Nyw0NC4yMTc0LDQ0LjIxNzQsMCwwLDAsNS43NjExLDMuMzRjLjY0LjI5MzEsMi4xNzUsMS4yMDMxLDIuODQ1OS42ODY0bDIuMDc0Ny0xLjU1NzljMS40NSwxLjg1ODcsNS45Njk0LDQuNzIsNi42NzEyLDUuMTc1bDEuNDg4NS45NTY0QzI0LjQwMSw3Mi43NjQ3LDIyLjkyLDc0LjYzMTEsMjEuNDcsNzYuNTI4M2MtLjkxLDEuMTg3OCw2LjI2MjUsNS44NjE1LDcuMDQ5Miw2LjM3YTQ0LjE2MzMsNDQuMTYzMywwLDAsMCw1Ljc2MTEsMy4zMzE4Yy42MDE2LjI3NzYsMi4yMjg5LDEuMjM0LDIuODQ1OS42OTQxbDkuMjU1LTguMDk4Yy44MjUyLDIuNTY4MiwxNC41Njg3LDExLjYzLDE1LjY3MTYsOS45NzIxTDkxLjA2LDQ1LjM2MjRDOTEuNjkyLDQ0LjQxMzgsODYuNzI1Miw0MC4zMjYyLDgyLjE3NDksMzcuNTI2NloiLz48L3N2Zz4=",type:"sketch"},{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDMiIGhlaWdodD0iODkiIHZpZXdCb3g9IjAgMCAxMDMgODkiPjxwb2x5Z29uIHBvaW50cz0iNzcuMjU1IDQ0LjUwNSA1MS41IDAgMjUuNzU1IDQ0LjUwNSAwIDg5IDUxLjUgODkgMTAzIDg5IDc3LjI1NSA0NC41MDUiLz48L3N2Zz4=",type:"triangle"},{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjEuMDAwMiIgaGVpZ2h0PSI4OSIgdmlld0JveD0iMCAwIDEyMS4wMDAyIDg5Ij48cGF0aCBkPSJNMTAwLjAxNiw3LjM5NzJDOTAuMjQ1MiwxLjIyLDczLjMwODQtMy42NjYzLDY0LjQyNTUsMy43MTI2LDU2Ljk4MzYsOS44OSw2Mi4wNDY5LDE4LjkxNzQsNTUuMDEsMjUuMzAzMmMtMTAuNiw5LjYxMzQtMjguMTU4OS01LjQ0MjMtNDEuODU4NCwyLjYzMThDLjY3NTcsMzUuMjU0My00LjI3OTEsNTkuMTQ4OSw0LjI3ODEsNzMuNzk3NWMxMy4xMzY5LDIyLjUyNCw1My4xMywxMy44NTQxLDYxLjE5MzYsMTIuMTA2MSw0LjUwMDctLjk5MzEsNTMuNDk1My0xMi4yNjUsNTUuNDY5My00Mi43MDQzQzEyMS44OTgsMjguMjUyOCwxMTEuMSwxNC40MTg1LDEwMC4wMTYsNy4zOTcyWiIvPjwvc3ZnPg==",type:"blob"},{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDMiIGhlaWdodD0iODkiIHZpZXdCb3g9IjAgMCAxMDMgODkiPjxwYXRoIGQ9Ik03Ny4yMTE0LDBIMjUuNzUyM0wwLDQ0LjUwNDUsMjUuNzUyMyw4OUg3Ny4yMTE0TDEwMyw0NC41MDQ1Wk02MS43NjkxLDYyLjI2MUg0MS4yMjE4TDMwLjkzOTEsNDQuNTA0NSw0MS4yMjE4LDI2LjczOUg2MS43NjkxTDcyLjA1MTksNDQuNTA0NVoiLz48L3N2Zz4=",type:"hexagon"}].find((t=>t.type===a))).svg})`};\n\t\t-webkit-mask-size: ${"custom"===r.type?r.scale:r.type};\n\t\t${"custom"===o.type?`${l("-webkit-mask-position-x",o.x)}\n\t\t\t${l("-webkit-mask-position-y",o.y)}`:`${l("-webkit-mask-position",o.type)}`}\n\t\t${"cover"!==r.type?`-webkit-mask-repeat: ${i};`:""}`:"";var a | |
| 3 | +})(f),S=M(u).tablet+w($).tablet+x(k,a).tablet,z=M(u).mobile+w($).mobile+x(k,a).mobile,E=b(h).normal,I=b(h).hover,C=x(k,a).desktop;return`\n\t\t${T||E?`${A} {\n\t\t\t${T}\n\t\t\t${E}\n\t\t}`:""}\n\t\t${I?`${A}:hover {\n\t\t\t${I}\n\t\t}`:""}\n\n\t\t${C?`${r} {\n\t\t\t${A}{\n\t\t\t\t${C}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${S?`${o} {\n\t\t\t${A}{\n\t\t\t\t${S}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${z?`${i} {\n\t\t\t${A}{\n\t\t\t\t${z}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${g(p?.normal,A)}\n\t\t${g(p?.hover,A,!0)}\n\t\t${y(p?.overlay,A)}\n\t\t${y(p?.hoverOverlay,A,!0)}\n\t\t${e(d?.normal)?v(d?.normal,A):""}\n\t\t${e(d?.hover)?v(d?.hover,A,!0):""}\n\t\t${((t,e)=>{const{desktop:n={},tablet:r={},mobile:a={}}=t,s=(t={})=>`\n\t\t${e}{\n\t\t\t${l("position",t?.type)}\n\t\t\t${l("left",t?.horizontal?.left)}\n\t\t\t${l("right",t?.horizontal?.right)}\n\t\t\t${l("top",t?.vertical?.top)}\n\t\t\t${l("bottom",t?.vertical?.bottom)}\n\t\t}\n\t`;return`\n\t\t\n\t\t${n?.type?s(n):""}\n\t\t\n\t\t${o}{\n\t\t\t${r?.type?s(r):""}\n\t\t}\n\n\t\t${i}{\n\t\t\t${a?.type?s(a):""}\n\t\t}\n\t`})(D,A)}\n\t\t${((t,n,r="")=>{const{translate:o={},rotate:i={},scale:a={},isEnabled:s=!1}=t||{};if(!s)return"";const c=[],l=[];return[{name:"Translate",property:"translate",values:o,value:t=>["x","y"].some((n=>e(o?.[n]?.[t])))?`${o?.x?.[t]||0}px ${o?.y?.[t]||0}px`:""},{name:"Rotate",property:"transform",values:i,value:t=>["x","y","z"].filter((n=>e(i?.[n]?.[t]))).map((e=>`rotate${e.toUpperCase()}(${i[e][t]}deg)`)).join(" ")},{name:"Scale",property:"scale",values:a,value:t=>{const n=a?.y?.[t],r=a?.z?.[t];return e(n)||e(r)?e(r)?`1 ${e(n)?n:1} ${r}`:`1 ${n}`:""}}].forEach((({name:t,property:e,values:n,value:o})=>{const i=o("from"),a=o("to");if(!i||!a)return;const s=Number(n?.duration)>0?Number(n.duration):1e3,u=Number(n?.delay)>0?Number(n.delay):0,d=`advFloat${t}${r?`-${r}`:""}`;c.push(`@keyframes ${d}{ from{ ${e}: ${i}; } to{ ${e}: ${a}; } }`),l.push(`${d} ${s}ms ease-in-out ${u}ms infinite alternate`)})),l.length?`\n\t\t${c.join(" ")}\n\t\t${n}{\n\t\t\tanimation: ${l.join(", ")};\n\t\t}\n\t`:""})(N,A,t)}\n\t\t${((t,n,a)=>{const{isEnable:s=!1,vertical:c={},horizontal:l={},transparency:u={},blur:d={},rotate:p={},scale:h={},effectsRelativeTo:f="viewport",effectOn:m=["desktop","tablet-portrait","mobile-portrait"],isMouseEffect:g=!1,mouseTrack:y={},tilt:v={},sticky:M={}}=t||{},b=(t,n)=>e(t)&&!isNaN(t)?Number(t):n,w="viewport"===f,x=w?"view()":"scroll(nearest block)",$=[],k=[],D=[],N=[],L=String(a??"").replace(/[^a-zA-Z0-9]/g,""),j=(t,e,n)=>{$.push(`@keyframes advMe${t}${L}{ ${e} }`),k.push(`advMe${t}${L}`),D.push(x),N.push((t=>{const e=b(t?.top,0),n=b(t?.bottom,100),r=Math.min(e,n),o=Math.max(e,n);return w?`cover ${r}% ${o>=90?"contain 100%":`cover ${o}%`}`:`min(${3*r}vh, ${r}%) min(${3*o}vh, ${o}%)`})(n))};if(s){const t=c?.direction,e=l?.direction,n=t?100*b(c?.speed,4):0,r=e?100*b(l?.speed,4):0;if(n||r){const o="up"===t?-n:n,i="to-left"===e?-r:r,a=[n&&c,r&&l].filter(Boolean);j("Translate",`from{ translate: 0px 0px; } to{ translate: ${i}px ${o}px; }`,{top:Math.min(...a.map((t=>b(t?.top,0)))),bottom:Math.max(...a.map((t=>b(t?.bottom,100))))})}const o=u?.direction;if(o){const t=Math.max(0,1-b(u?.level,5)/10),e={"fade-in":`from{ opacity: ${t}; } to{ opacity: 1; }`,"fade-out":`from{ opacity: 1; } to{ opacity: ${t}; }`,"fade-out-in":`0%{ opacity: 1; } 50%{ opacity: ${t}; } 100%{ opacity: 1; }`,"fade-in-out":`0%{ opacity: ${t}; } 50%{ opacity: 1; } 100%{ opacity: ${t}; }`}[o];e&&j("Opacity",e,u)}const i=d?.direction;if(i){const t=3*b(d?.level,4),e={"fade-in":`from{ filter: blur(${t}px); } to{ filter: blur(0px); }`,"fade-out":`from{ filter: blur(0px); } to{ filter: blur(${t}px); }`,"fade-out-in":`0%{ filter: blur(0px); } 50%{ filter: blur(${t}px); } 100%{ filter: blur(0px); }`,"fade-in-out":`0%{ filter: blur(${t}px); } 50%{ filter: blur(0px); } 100%{ filter: blur(${t}px); }`}[i];e&&j("Blur",e,d)}const a=p?.direction;if(a){const t=20*b(p?.level,4);j("Rotate",`from{ rotate: 0deg; } to{ rotate: ${"to-left"===a?-t:t}deg; }`,p)}if(h?.direction){const t=.15*b(h?.level,4),e=Math.max(0,1-t),n=1+t,r={"scale-up":`from{ scale: 1; } to{ scale: ${n}; }`,"scale-down":`from{ scale: 1; } to{ scale: ${e}; }`,"scale-down-up":`0%{ scale: 1; } 50%{ scale: ${e}; } 100%{ scale: 1; }`,"scale-up-down":`0%{ scale: 1; } 50%{ scale: ${n}; } 100%{ scale: 1; }`}[h.direction];r&&j("Scale",r,h)}}const A=[];if(g){if(y?.direction){const t="direct"===y?.direction?100:-100;A.push(((e,n)=>`translate(${(e*t).toFixed(2)}px, ${(n*t).toFixed(2)}px)`))}if(v?.direction){const t=12*("direct"===v?.direction?1:-1);A.push(((e,n)=>`perspective(1000px) rotateX(${(n*-t).toFixed(2)}deg) rotateY(${(e*t).toFixed(2)}deg)`))}}const T=(t,e,r)=>{if(!t||!t.defaultView)return;const o=t.defaultView,i=t.bPlMouse||(t.bPlMouse={x:0,y:0,items:new Map,frame:0,last:0}),a=i.items.get(n)||{x:0,y:0};if(a.rate=e,a.build=r,i.items.set(n,a),i.bound)return;i.bound=!0;const s=e=>{const n=i.last?Math.min(e-i.last,100):16.7;i.last=e;let r=!1;i.items.forEach(((e,o)=>{const a=e.el&&e.el.isConnected?e.el:t.querySelector(o);if(!a)return;e.el=a;const s=e.rate*n/1e3,c=i.x-e.x,l=i.y-e.y,u=Math.sqrt(c*c+l*l);u<=s?(e.x=i.x,e.y=i.y):(e.x+=c/u*s,e.y+=l/u*s,r=!0),a.style.transform=e.build(e.x,e.y)})),i.frame=r?o.requestAnimationFrame(s):0,i.last=r?e:0};t.addEventListener("pointermove",(t=>{i.x=2*(t.clientX/o.innerWidth-.5),i.y=2*(t.clientY/o.innerHeight-.5),i.frame||(i.frame=o.requestAnimationFrame(s))}))};if(A.length&&"undefined"!=typeof document){const t=Math.max(.25,1.5*b(y?.speed,b(v?.speed,4))),e=(t,e)=>A.map((n=>n(t,e))).join(" ");T(document,t,e),T(document.querySelector('iframe[name="editor-canvas"]')?.contentDocument,t,e)}const S=t=>M?.[t]||("desktop"===t?M?.undefined:""),z=n.split(">")[0],E=t=>{const e=S(t);return e?`position: sticky; ${e}: 0; z-index: 9;`:(t=>"tablet"===t?S("desktop"):"mobile"===t?S("tablet")||S("desktop"):"")(t)?"position: static;":""},I=Array.isArray(m)?m:e(m)?[m]:[],C=t=>!I.length||I.includes(t)?"":`${n}{ animation-name: none; }`;return`\n\t\t${k.length?`\n\t\t${$.join(" ")}\n\t\t@supports (animation-timeline: scroll()){\n\t\t\t${n}{\n\t\t\t\tanimation-name: ${k.join(", ")};\n\t\t\t\tanimation-duration: ${k.map((()=>"auto")).join(", ")};\n\t\t\t\tanimation-timing-function: ${k.map((()=>"linear")).join(", ")};\n\t\t\t\tanimation-fill-mode: ${k.map((()=>"both")).join(", ")};\n\t\t\t\tanimation-direction: ${k.map((()=>w?"normal":"reverse")).join(", ")};\n\t\t\t\tanimation-timeline: ${D.join(", ")};\n\t\t\t\tanimation-range: ${N.join(", ")};\n\t\t\t}\n\t\t\t${C("desktop")?`${r}{ ${C("desktop")} }`:""}\n\t\t\t${C("tablet-portrait")?`@media only screen and (min-width: 641px) and (max-width: 1024px){ ${C("tablet-portrait")} }`:""}\n\t\t\t${C("mobile-portrait")?`${i}{ ${C("mobile-portrait")} }`:""}\n\t\t}\n\t`:""}\n\t\t${A.length?`${n}{ transition-property: background, border, border-radius, box-shadow; }`:""}\n\t\t${E("desktop")?`${z}{ ${E("desktop")} }`:""}\n\t\t${E("tablet")?`${o}{ ${z}{ ${E("tablet")} } }`:""}\n\t\t${E("mobile")?`${i}{ ${z}{ ${E("mobile")} } }`:""}\n\t`})(L,A,t)}\n\t\t${j}\n\t`.replace(/\s+/g," ")},k=window.ReactJSXRuntime,D=({attributes:t,id:e,isBackend:n=!1})=>{const{style:r,advanced:o}=t,{height:i,width:a,align:s,margin:c,padding:f,background:m,border:g,borderRadius:y,colors:v}=r,{normal:M,hover:b}=v,w=`#${e} .svdr-icon-draw-wrapper`,x=`${w} .svdr-svg-wrapper`,D=`${x} svg`;return(0,k.jsx)("style",{dangerouslySetInnerHTML:{ | |
| 4 | +__html:`\n\t\t\t${w}{\n\t\t\t\t${l("justify-content",s)}\n\t\t\t}\n\t\t\t${x}{\n\t\t\t\t${l("height",i)}\n\t\t\t\t${l("width",a)}\n\t\t\t\t${l("margin",h(c))}\n\t\t\t\t${l("padding",h(f))}\n\t\t\t\t${u(m)}\n\t\t\t\t${d(g)}\n\t\t\t\t${l("border-radius",h(y))}\n\t\t\t}\n\t\t\t${D}{\n\t\t\t\t${l("fill",M.fill)}\n\t\t\t\t${l("stroke",M.strokeColor)}\n\t\t\t\tfilter:drop-shadow(${p(M.shadow,"text")});\n\t\t\t\ttransition:${b.transition}ms ease-in-out;\n\t\t\t}\n\t\t\t${D}:hover{\n\t\t\t\t${l("fill",b.fill)}\n\t\t\t\t${l("stroke",b.strokeColor)}\n\t\t\t\tfilter:drop-shadow(${p(b.shadow,"text")});\n\t\t\t}\n\t\t\t${$(e,o,n)}\n\t`}})};var N={update:null,begin:null,loopBegin:null,changeBegin:null,change:null,changeComplete:null,loopComplete:null,complete:null,loop:1,direction:"normal",autoplay:!0,timelineOffset:0},L={duration:1e3,delay:0,endDelay:0,easing:"easeOutElastic(1, .5)",round:0},j=["translateX","translateY","translateZ","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","skew","skewX","skewY","perspective","matrix","matrix3d"],A={CSS:{},springs:{}};function T(t,e,n){return Math.min(Math.max(t,e),n)}function S(t,e){return t.indexOf(e)>-1}function z(t,e){return t.apply(null,e)}var E={arr:function(t){return Array.isArray(t)},obj:function(t){return S(Object.prototype.toString.call(t),"Object")},pth:function(t){return E.obj(t)&&t.hasOwnProperty("totalLength")},svg:function(t){return t instanceof SVGElement},inp:function(t){return t instanceof HTMLInputElement},dom:function(t){return t.nodeType||E.svg(t)},str:function(t){return"string"==typeof t},fnc:function(t){return"function"==typeof t},und:function(t){return void 0===t},nil:function(t){return E.und(t)||null===t},hex:function(t){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(t)},rgb:function(t){return/^rgb/.test(t)},hsl:function(t){return/^hsl/.test(t)},col:function(t){return E.hex(t)||E.rgb(t)||E.hsl(t)},key:function(t){return!N.hasOwnProperty(t)&&!L.hasOwnProperty(t)&&"targets"!==t&&"keyframes"!==t}};function I(t){var e=/\(([^)]+)\)/.exec(t);return e?e[1].split(",").map((function(t){return parseFloat(t)})):[]}function C(t,e){var n=I(t),r=T(E.und(n[0])?1:n[0],.1,100),o=T(E.und(n[1])?100:n[1],.1,100),i=T(E.und(n[2])?10:n[2],.1,100),a=T(E.und(n[3])?0:n[3],.1,100),s=Math.sqrt(o/r),c=i/(2*Math.sqrt(o*r)),l=c<1?s*Math.sqrt(1-c*c):0,u=c<1?(c*s-a)/l:-a+s;function d(t){var n=e?e*t/1e3:t;return n=c<1?Math.exp(-n*c*s)*(1*Math.cos(l*n)+u*Math.sin(l*n)):(1+u*n)*Math.exp(-n*s),0===t||1===t?t:1-n}return e?d:function(){var e=A.springs[t];if(e)return e;for(var n=1/6,r=0,o=0;;)if(1===d(r+=n)){if(++o>=16)break}else o=0;var i=r*n*1e3;return A.springs[t]=i,i}}function O(t){return void 0===t&&(t=10),function(e){return Math.ceil(T(e,1e-6,1)*t)*(1/t)}}var P,R,Y=function(){var t=.1;function e(t,e){return 1-3*e+3*t}function n(t,e){return 3*e-6*t}function r(t){return 3*t}function o(t,o,i){return((e(o,i)*t+n(o,i))*t+r(o))*t}function i(t,o,i){return 3*e(o,i)*t*t+2*n(o,i)*t+r(o)}return function(e,n,r,a){if(0<=e&&e<=1&&0<=r&&r<=1){var s=new Float32Array(11);if(e!==n||r!==a)for(var c=0;c<11;++c)s[c]=o(c*t,e,r);return function(c){return e===n&&r===a||0===c||1===c?c:o(function(n){for(var a=0,c=1;10!==c&&s[c]<=n;++c)a+=t;--c;var l=a+(n-s[c])/(s[c+1]-s[c])*t,u=i(l,e,r);return u>=.001?function(t,e,n,r){for(var a=0;a<4;++a){var s=i(e,n,r);if(0===s)return e;e-=(o(e,n,r)-t)/s}return e}(n,l,e,r):0===u?l:function(t,e,n,r,i){var a,s,c=0;do{(a=o(s=e+(n-e)/2,r,i)-t)>0?n=s:e=s}while(Math.abs(a)>1e-7&&++c<10);return s}(n,a,a+t,e,r)}(c),n,a)}}}}(),U=(P={linear:function(){return function(t){return t}}},R={Sine:function(){return function(t){return 1-Math.cos(t*Math.PI/2)}},Expo:function(){return function(t){return t?Math.pow(2,10*t-10):0}},Circ:function(){return function(t){return 1-Math.sqrt(1-t*t)}},Back:function(){return function(t){return t*t*(3*t-2)}},Bounce:function(){return function(t){for(var e,n=4;t<((e=Math.pow(2,--n))-1)/11;);return 1/Math.pow(4,3-n)-7.5625*Math.pow((3*e-2)/22-t,2)}},Elastic:function(t,e){void 0===t&&(t=1),void 0===e&&(e=.5);var n=T(t,1,10),r=T(e,.1,2);return function(t){return 0===t||1===t?t:-n*Math.pow(2,10*(t-1))*Math.sin((t-1-r/(2*Math.PI)*Math.asin(1/n))*(2*Math.PI)/r)}}},["Quad","Cubic","Quart","Quint"].forEach((function(t,e){R[t]=function(){return function(t){return Math.pow(t,e+2)}}})),Object.keys(R).forEach((function(t){var e=R[t];P["easeIn"+t]=e,P["easeOut"+t]=function(t,n){return function(r){return 1-e(t,n)(1-r)}},P["easeInOut"+t]=function(t,n){return function(r){return r<.5?e(t,n)(2*r)/2:1-e(t,n)(-2*r+2)/2}},P["easeOutIn"+t]=function(t,n){return function(r){return r<.5?(1-e(t,n)(1-2*r))/2:(e(t,n)(2*r-1)+1)/2}}})),P);function Q(t,e){if(E.fnc(t))return t;var n=t.split("(")[0],r=U[n],o=I(t);switch(n){case"spring":return C(t,e);case"cubicBezier":return z(Y,o);case"steps":return z(O,o);default:return z(r,o)}}function H(t){try{return document.querySelectorAll(t)}catch(t){return}}function B(t,e){for(var n=t.length,r=arguments.length>=2?arguments[1]:void 0,o=[],i=0;i<n;i++)if(i in t){var a=t[i];e.call(r,a,i,t)&&o.push(a)}return o}function F(t){return t.reduce((function(t,e){return t.concat(E.arr(e)?F(e):e)}),[])}function Z(t){return E.arr(t)?t:(E.str(t)&&(t=H(t)||t),t instanceof NodeList||t instanceof HTMLCollection?[].slice.call(t):[t])}function q(t,e){return t.some((function(t){return t===e}))}function W(t){var e={};for(var n in t)e[n]=t[n];return e}function G(t,e){var n=W(t);for(var r in t)n[r]=e.hasOwnProperty(r)?e[r]:t[r];return n}function V(t,e){var n=W(t);for(var r in e)n[r]=E.und(t[r])?e[r]:t[r];return n}function X(t){var e=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(t);if(e)return e[1]}function _(t,e){return E.fnc(t)?t(e.target,e.id,e.total):t}function J(t,e){return t.getAttribute(e)}function K(t,e,n){if(q([n,"deg","rad","turn"],X(e)))return e;var r=A.CSS[e+n];if(!E.und(r))return r;var o=document.createElement(t.tagName),i=t.parentNode&&t.parentNode!==document?t.parentNode:document.body;i.appendChild(o),o.style.position="absolute",o.style.width=100+n;var a=100/o.offsetWidth;i.removeChild(o);var s=a*parseFloat(e);return A.CSS[e+n]=s,s}function tt(t,e,n){if(e in t.style){var r=e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),o=t.style[e]||getComputedStyle(t).getPropertyValue(r)||"0";return n?K(t,o,n):o}}function et(t,e){return E.dom(t)&&!E.inp(t)&&(!E.nil(J(t,e))||E.svg(t)&&t[e])?"attribute":E.dom(t)&&q(j,e)?"transform":E.dom(t)&&"transform"!==e&&tt(t,e)?"css":null!=t[e]?"object":void 0}function nt(t){if(E.dom(t)){for(var e,n=t.style.transform||"",r=/(\w+)\(([^)]*)\)/g,o=new Map;e=r.exec(n);)o.set(e[1],e[2]);return o}}function rt(t,e,n,r){switch(et(t,e)){case"transform":return function(t,e,n,r){var o=S(e,"scale")?1:0+function(t){return S(t,"translate")||"perspective"===t?"px":S(t,"rotate")||S(t,"skew")?"deg":void 0}(e),i=nt(t).get(e)||o;return n&&(n.transforms.list.set(e,i),n.transforms.last=e),r?K(t,i,r):i}(t,e,r,n);case"css":return tt(t,e,n);case"attribute":return J(t,e);default:return t[e]||0}}function ot(t,e){var n=/^(\*=|\+=|-=)/.exec(t);if(!n)return t;var r=X(t)||0,o=parseFloat(e),i=parseFloat(t.replace(n[0],""));switch(n[0][0]){case"+":return o+i+r;case"-":return o-i+r;case"*":return o*i+r}}function it(t,e){if(E.col(t))return function(t){return E.rgb(t)?(n=/rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g.exec(e=t))?"rgba("+n[1]+",1)":e:E.hex(t)?function(t){var e=t.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(t,e,n,r){return e+e+n+n+r+r})),n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return"rgba("+parseInt(n[1],16)+","+parseInt(n[2],16)+","+parseInt(n[3],16)+",1)"}(t):E.hsl(t)?function(t){var e,n,r,o=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(t)||/hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g.exec(t),i=parseInt(o[1],10)/360,a=parseInt(o[2],10)/100,s=parseInt(o[3],10)/100,c=o[4]||1;function l(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t} | |
| 5 | +if(0==a)e=n=r=s;else{var u=s<.5?s*(1+a):s+a-s*a,d=2*s-u;e=l(d,u,i+1/3),n=l(d,u,i),r=l(d,u,i-1/3)}return"rgba("+255*e+","+255*n+","+255*r+","+c+")"}(t):void 0;var e,n}(t);if(/\s/g.test(t))return t;var n=X(t),r=n?t.substr(0,t.length-n.length):t;return e?r+e:r}function at(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function st(t){for(var e,n=t.points,r=0,o=0;o<n.numberOfItems;o++){var i=n.getItem(o);o>0&&(r+=at(e,i)),e=i}return r}function ct(t){if(t.getTotalLength)return t.getTotalLength();switch(t.tagName.toLowerCase()){case"circle":return function(t){return 2*Math.PI*J(t,"r")}(t);case"rect":return function(t){return 2*J(t,"width")+2*J(t,"height")}(t);case"line":return function(t){return at({x:J(t,"x1"),y:J(t,"y1")},{x:J(t,"x2"),y:J(t,"y2")})}(t);case"polyline":return st(t);case"polygon":return function(t){var e=t.points;return st(t)+at(e.getItem(e.numberOfItems-1),e.getItem(0))}(t)}}function lt(t,e){var n=e||{},r=n.el||function(t){for(var e=t.parentNode;E.svg(e)&&E.svg(e.parentNode);)e=e.parentNode;return e}(t),o=r.getBoundingClientRect(),i=J(r,"viewBox"),a=o.width,s=o.height,c=n.viewBox||(i?i.split(" "):[0,0,a,s]);return{el:r,viewBox:c,x:c[0]/1,y:c[1]/1,w:a,h:s,vW:c[2],vH:c[3]}}function ut(t,e,n){function r(n){void 0===n&&(n=0);var r=e+n>=1?e+n:0;return t.el.getPointAtLength(r)}var o=lt(t.el,t.svg),i=r(),a=r(-1),s=r(1),c=n?1:o.w/o.vW,l=n?1:o.h/o.vH;switch(t.property){case"x":return(i.x-o.x)*c;case"y":return(i.y-o.y)*l;case"angle":return 180*Math.atan2(s.y-a.y,s.x-a.x)/Math.PI}}function dt(t,e){var n=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?/g,r=it(E.pth(t)?t.totalLength:t,e)+"";return{original:r,numbers:r.match(n)?r.match(n).map(Number):[0],strings:E.str(t)||e?r.split(n):[]}}function pt(t){return B(t?F(E.arr(t)?t.map(Z):Z(t)):[],(function(t,e,n){return n.indexOf(t)===e}))}function ht(t){var e=pt(t);return e.map((function(t,n){return{target:t,id:n,total:e.length,transforms:{list:nt(t)}}}))}function ft(t,e){var n=W(e);if(/^spring/.test(n.easing)&&(n.duration=C(n.easing)),E.arr(t)){var r=t.length;2!==r||E.obj(t[0])?E.fnc(e.duration)||(n.duration=e.duration/r):t={value:t}}var o=E.arr(t)?t:[t];return o.map((function(t,n){var r=E.obj(t)&&!E.pth(t)?t:{value:t};return E.und(r.delay)&&(r.delay=n?0:e.delay),E.und(r.endDelay)&&(r.endDelay=n===o.length-1?e.endDelay:0),r})).map((function(t){return V(t,n)}))}var mt={css:function(t,e,n){return t.style[e]=n},attribute:function(t,e,n){return t.setAttribute(e,n)},object:function(t,e,n){return t[e]=n},transform:function(t,e,n,r,o){if(r.list.set(e,n),e===r.last||o){var i="";r.list.forEach((function(t,e){i+=e+"("+t+") "})),t.style.transform=i}}};function gt(t,e){ht(t).forEach((function(t){for(var n in e){var r=_(e[n],t),o=t.target,i=X(r),a=rt(o,n,i,t),s=ot(it(r,i||X(a)),a),c=et(o,n);mt[c](o,n,s,t.transforms,!0)}}))}function yt(t,e){return B(F(t.map((function(t){return e.map((function(e){return function(t,e){var n=et(t.target,e.name);if(n){var r=function(t,e){var n;return t.tweens.map((function(r){var o=function(t,e){var n={};for(var r in t){var o=_(t[r],e);E.arr(o)&&1===(o=o.map((function(t){return _(t,e)}))).length&&(o=o[0]),n[r]=o}return n.duration=parseFloat(n.duration),n.delay=parseFloat(n.delay),n}(r,e),i=o.value,a=E.arr(i)?i[1]:i,s=X(a),c=rt(e.target,t.name,s,e),l=n?n.to.original:c,u=E.arr(i)?i[0]:l,d=X(u)||X(c),p=s||d;return E.und(a)&&(a=l),o.from=dt(u,p),o.to=dt(ot(a,u),p),o.start=n?n.end:0,o.end=o.start+o.delay+o.duration+o.endDelay,o.easing=Q(o.easing,o.duration),o.isPath=E.pth(i),o.isPathTargetInsideSVG=o.isPath&&E.svg(e.target),o.isColor=E.col(o.from.original),o.isColor&&(o.round=1),n=o,o}))}(e,t),o=r[r.length-1];return{type:n,property:e.name,animatable:t,tweens:r,duration:o.end,delay:r[0].delay,endDelay:o.endDelay}}}(t,e)}))}))),(function(t){return!E.und(t)}))}function vt(t,e){var n=t.length,r=function(t){return t.timelineOffset?t.timelineOffset:0},o={};return o.duration=n?Math.max.apply(Math,t.map((function(t){return r(t)+t.duration}))):e.duration,o.delay=n?Math.min.apply(Math,t.map((function(t){return r(t)+t.delay}))):e.delay,o.endDelay=n?o.duration-Math.max.apply(Math,t.map((function(t){return r(t)+t.duration-t.endDelay}))):e.endDelay,o}var Mt=0,bt=[],wt=function(){var t;function e(n){for(var r=bt.length,o=0;o<r;){var i=bt[o];i.paused?(bt.splice(o,1),r--):(i.tick(n),o++)}t=o>0?requestAnimationFrame(e):void 0}return"undefined"!=typeof document&&document.addEventListener("visibilitychange",(function(){$t.suspendWhenDocumentHidden&&(xt()?t=cancelAnimationFrame(t):(bt.forEach((function(t){return t._onDocumentVisibility()})),wt()))})),function(){t||xt()&&$t.suspendWhenDocumentHidden||!(bt.length>0)||(t=requestAnimationFrame(e))}}();function xt(){return!!document&&document.hidden}function $t(t){void 0===t&&(t={});var e,n=0,r=0,o=0,i=0,a=null;function s(t){var e=window.Promise&&new Promise((function(t){return a=t}));return t.finished=e,e}var c=function(t){var e=G(N,t),n=G(L,t),r=function(t,e){var n=[],r=e.keyframes;for(var o in r&&(e=V(function(t){for(var e=B(F(t.map((function(t){return Object.keys(t)}))),(function(t){return E.key(t)})).reduce((function(t,e){return t.indexOf(e)<0&&t.push(e),t}),[]),n={},r=function(r){var o=e[r];n[o]=t.map((function(t){var e={};for(var n in t)E.key(n)?n==o&&(e.value=t[n]):e[n]=t[n];return e}))},o=0;o<e.length;o++)r(o);return n}(r),e)),e)E.key(o)&&n.push({name:o,tweens:ft(e[o],t)});return n}(n,t),o=ht(t.targets),i=yt(o,r),a=vt(i,n),s=Mt;return Mt++,V(e,{id:s,children:[],animatables:o,animations:i,duration:a.duration,delay:a.delay,endDelay:a.endDelay})}(t);function l(){var t=c.direction;"alternate"!==t&&(c.direction="normal"!==t?"normal":"reverse"),c.reversed=!c.reversed,e.forEach((function(t){return t.reversed=c.reversed}))}function u(t){return c.reversed?c.duration-t:t}function d(){n=0,r=u(c.currentTime)*(1/$t.speed)}function p(t,e){e&&e.seek(t-e.timelineOffset)}function h(t){for(var e=0,n=c.animations,r=n.length;e<r;){var o=n[e],i=o.animatable,a=o.tweens,s=a.length-1,l=a[s];s&&(l=B(a,(function(e){return t<e.end}))[0]||l);for(var u=T(t-l.start-l.delay,0,l.duration)/l.duration,d=isNaN(u)?1:l.easing(u),p=l.to.strings,h=l.round,f=[],m=l.to.numbers.length,g=void 0,y=0;y<m;y++){var v=void 0,M=l.to.numbers[y],b=l.from.numbers[y]||0;v=l.isPath?ut(l.value,d*M,l.isPathTargetInsideSVG):b+d*(M-b),h&&(l.isColor&&y>2||(v=Math.round(v*h)/h)),f.push(v)}var w=p.length;if(w){g=p[0];for(var x=0;x<w;x++){p[x];var $=p[x+1],k=f[x];isNaN(k)||(g+=$?k+$:k+" ")}}else g=f[0];mt[o.type](i.target,o.property,g,i.transforms),o.currentValue=g,e++}}function f(t){c[t]&&!c.passThrough&&c[t](c)}function m(t){var d=c.duration,m=c.delay,g=d-c.endDelay,y=u(t);c.progress=T(y/d*100,0,100),c.reversePlayback=y<c.currentTime,e&&function(t){if(c.reversePlayback)for(var n=i;n--;)p(t,e[n]);else for(var r=0;r<i;r++)p(t,e[r])}(y),!c.began&&c.currentTime>0&&(c.began=!0,f("begin")),!c.loopBegan&&c.currentTime>0&&(c.loopBegan=!0,f("loopBegin")),y<=m&&0!==c.currentTime&&h(0),(y>=g&&c.currentTime!==d||!d)&&h(d),y>m&&y<g?(c.changeBegan||(c.changeBegan=!0,c.changeCompleted=!1,f("changeBegin")),f("change"),h(y)):c.changeBegan&&(c.changeCompleted=!0,c.changeBegan=!1,f("changeComplete")),c.currentTime=T(y,0,d),c.began&&f("update"),t>=d&&(r=0,c.remaining&&!0!==c.remaining&&c.remaining--,c.remaining?(n=o,f("loopComplete"),c.loopBegan=!1,"alternate"===c.direction&&l()):(c.paused=!0,c.completed||(c.completed=!0,f("loopComplete"),f("complete"),!c.passThrough&&"Promise"in window&&(a(),s(c)))))}return s(c),c.reset=function(){var t=c.direction;c.passThrough=!1,c.currentTime=0,c.progress=0,c.paused=!0,c.began=!1,c.loopBegan=!1,c.changeBegan=!1,c.completed=!1,c.changeCompleted=!1,c.reversePlayback=!1,c.reversed="reverse"===t,c.remaining=c.loop,e=c.children;for(var n=i=e.length;n--;)c.children[n].reset();(c.reversed&&!0!==c.loop||"alternate"===t&&1===c.loop)&&c.remaining++,h(c.reversed?c.duration:0)},c._onDocumentVisibility=d,c.set=function(t,e){return gt(t,e),c},c.tick=function(t){o=t,n||(n=o),m((o+(r-n))*$t.speed)}, | |
| 6 | +c.seek=function(t){m(u(t))},c.pause=function(){c.paused=!0,d()},c.play=function(){c.paused&&(c.completed&&c.reset(),c.paused=!1,bt.push(c),d(),wt())},c.reverse=function(){l(),c.completed=!c.reversed,d()},c.restart=function(){c.reset(),c.play()},c.remove=function(t){Dt(pt(t),c)},c.reset(),c.autoplay&&c.play(),c}function kt(t,e){for(var n=e.length;n--;)q(t,e[n].animatable.target)&&e.splice(n,1)}function Dt(t,e){var n=e.animations,r=e.children;kt(t,n);for(var o=r.length;o--;){var i=r[o],a=i.animations;kt(t,a),a.length||i.children.length||r.splice(o,1)}n.length||r.length||e.pause()}$t.version="3.2.1",$t.speed=1,$t.suspendWhenDocumentHidden=!0,$t.running=bt,$t.remove=function(t){for(var e=pt(t),n=bt.length;n--;)Dt(e,bt[n])},$t.get=rt,$t.set=gt,$t.convertPx=K,$t.path=function(t,e){var n=E.str(t)?H(t)[0]:t,r=e||100;return function(t){return{property:t,el:n,svg:lt(n),totalLength:ct(n)*(r/100)}}},$t.setDashoffset=function(t){var e=ct(t);return t.setAttribute("stroke-dasharray",e),e},$t.stagger=function(t,e){void 0===e&&(e={});var n=e.direction||"normal",r=e.easing?Q(e.easing):null,o=e.grid,i=e.axis,a=e.from||0,s="first"===a,c="center"===a,l="last"===a,u=E.arr(t),d=u?parseFloat(t[0]):parseFloat(t),p=u?parseFloat(t[1]):0,h=X(u?t[1]:t)||0,f=e.start||0+(u?d:0),m=[],g=0;return function(t,e,y){if(s&&(a=0),c&&(a=(y-1)/2),l&&(a=y-1),!m.length){for(var v=0;v<y;v++){if(o){var M=c?(o[0]-1)/2:a%o[0],b=c?(o[1]-1)/2:Math.floor(a/o[0]),w=M-v%o[0],x=b-Math.floor(v/o[0]),$=Math.sqrt(w*w+x*x);"x"===i&&($=-w),"y"===i&&($=-x),m.push($)}else m.push(Math.abs(a-v));g=Math.max.apply(Math,m)}r&&(m=m.map((function(t){return r(t/g)*g}))),"reverse"===n&&(m=m.map((function(t){return i?t<0?-1*t:-t:Math.abs(g-t)})))}return f+(u?(p-d)/g:d)*(Math.round(100*m[e])/100)+h}},$t.timeline=function(t){void 0===t&&(t={});var e=$t(t);return e.duration=0,e.add=function(n,r){var o=bt.indexOf(e),i=e.children;function a(t){t.passThrough=!0}o>-1&&bt.splice(o,1);for(var s=0;s<i.length;s++)a(i[s]);var c=V(n,G(L,t));c.targets=c.targets||t.targets;var l=e.duration;c.autoplay=!1,c.direction=e.direction,c.timelineOffset=E.und(r)?l:ot(r,l),a(e),e.seek(c.timelineOffset);var u=$t(c);a(u),i.push(u);var d=vt(i,t);return e.delay=d.delay,e.endDelay=d.endDelay,e.duration=d.duration,e.seek(0),e.reset(),e.autoplay&&e.play(),e},e},$t.easing=Q,$t.penner=U,$t.random=function(t,e){return Math.floor(Math.random()*(e-t+1))+t};const Nt=$t;var Lt=["br","col","colgroup","dl","hr","iframe","img","input","link","menuitem","meta","ol","param","select","table","tbody","tfoot","thead","tr","ul","wbr"],jt={"accept-charset":"acceptCharset",acceptcharset:"acceptCharset",accesskey:"accessKey",allowfullscreen:"allowFullScreen",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",cellpadding:"cellPadding",cellspacing:"cellSpacing",charset:"charSet",class:"className",classid:"classID",classname:"className",colspan:"colSpan",contenteditable:"contentEditable",contextmenu:"contextMenu",controlslist:"controlsList",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",datetime:"dateTime",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",enctype:"encType",for:"htmlFor",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",innerhtml:"innerHTML",inputmode:"inputMode",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",marginwidth:"marginWidth",marginheight:"marginHeight",maxlength:"maxLength",mediagroup:"mediaGroup",minlength:"minLength",nomodule:"noModule",novalidate:"noValidate",playsinline:"playsInline",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rowspan:"rowSpan",spellcheck:"spellCheck",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",tabindex:"tabIndex",typemustmatch:"typeMustMatch",usemap:"useMap",accentheight:"accentHeight","accent-height":"accentHeight",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",arabicform:"arabicForm","arabic-form":"arabicForm",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",diffuseconstant:"diffuseConstant",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",edgemode:"edgeMode",enablebackground:"enableBackground","enable-background":"enableBackground",externalresourcesrequired:"externalResourcesRequired",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",imagerendering:"imageRendering","image-rendering":"imageRendering",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures", | |
| 7 | +shaperendering:"shapeRendering","shape-rendering":"shapeRendering",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",vmathematical:"vMathematical","v-mathematical":"vMathematical",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan",onblur:"onBlur",onchange:"onChange",onclick:"onClick",oncontextmenu:"onContextMenu",ondoubleclick:"onDoubleClick",ondrag:"onDrag",ondragend:"onDragEnd",ondragenter:"onDragEnter",ondragexit:"onDragExit",ondragleave:"onDragLeave",ondragover:"onDragOver",ondragstart:"onDragStart",ondrop:"onDrop",onerror:"onError",onfocus:"onFocus",oninput:"onInput",oninvalid:"onInvalid",onkeydown:"onKeyDown",onkeypress:"onKeyPress",onkeyup:"onKeyUp",onload:"onLoad",onmousedown:"onMouseDown",onmouseenter:"onMouseEnter",onmouseleave:"onMouseLeave",onmousemove:"onMouseMove",onmouseout:"onMouseOut",onmouseover:"onMouseOver",onmouseup:"onMouseUp",onscroll:"onScroll",onsubmit:"onSubmit",ontouchcancel:"onTouchCancel",ontouchend:"onTouchEnd",ontouchmove:"onTouchMove",ontouchstart:"onTouchStart",onwheel:"onWheel"};function At(t,e,n){const r=[...t].map(((t,r)=>St(t,{...n,index:r,level:e+1}))).filter(Boolean);return r.length?r:null}function Tt(t,e={}){return"string"==typeof t?function(t,e={}){if(!t||"string"!=typeof t)return null;const{includeAllNodes:n=!1,nodeOnly:r=!1,selector:o="body > *",type:i="text/html"}=e;try{const a=(new DOMParser).parseFromString(t,i);if(n){const{childNodes:t}=a.body;return r?t:[...t].map((t=>St(t,e)))}const s=a.querySelector(o)||a.body.childNodes[0];if(!(s instanceof Node))throw new TypeError("Error parsing input");return r?s:St(s,e)}catch(t){}return null}(t,e):t instanceof Node?St(t,e):null}function St(t,e={}){if(!(t&&t instanceof Node))return null;const{actions:n=[],index:r=0,level:o=0,randomKey:i}=e;let a=t,c=`${o}-${r}`;const l=[];return i&&0===o&&(c=`${function(t=6){let e="";for(let n=t;n>0;--n)e+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[Math.round(61*Math.random())];return e}()}-${c}`),Array.isArray(n)&&n.forEach((e=>{e.condition(a,c,o)&&("function"==typeof e.pre&&(a=e.pre(a,c,o),a instanceof Node||(a=t)),"function"==typeof e.post&&l.push(e.post(a,c,o)))})),l.length?l:function(t,e){const{key:n,level:r,...o}=e;switch(t.nodeType){case 1:return s.createElement((i=t.nodeName,/[a-z]+[A-Z]+[a-z]+/.test(i)?i:i.toLowerCase()),function(t,e){const n={key:e};if(t instanceof Element){const e=t.getAttribute("class");e&&(n.className=e),[...t.attributes].forEach((t=>{switch(t.name){case"class":break;case"style":n[t.name]="string"!=typeof(e=t.value)?{}:e.split(/ ?; ?/).reduce(((t,e)=>{const[n,r]=e.split(/ ?: ?/).map(((t,e)=>0===e?t.replace(/\s+/g,""):t.trim()));if(n&&r){const e=n.replace(/(\w)-(\w)/g,((t,e,n)=>`${e}${n.toUpperCase()}`));let o=r.trim();Number.isNaN(Number(r))||(o=Number(r)),t[n.startsWith("-")?n:e]=o}return t}),{});break;case"allowfullscreen":case"allowpaymentrequest":case"async":case"autofocus":case"autoplay":case"checked":case"controls":case"default":case"defer":case"disabled":case"formnovalidate":case"hidden":case"ismap":case"itemscope":case"loop":case"multiple":case"muted":case"nomodule":case"novalidate":case"open":case"readonly":case"required":case"reversed":case"selected":case"typemustmatch":n[jt[t.name]||t.name]=!0;break;default:n[jt[t.name]||t.name]=t.value}var e}))}return n}(t,n),At(t.childNodes,r,o));case 3:{const e=t.nodeValue?.toString()??"";if(!o.allowWhiteSpaces&&/^\s+$/.test(e)&&!/[\u00A0\u202F]/.test(e))return null;if(!t.parentNode)return e;const n=t.parentNode.nodeName.toLowerCase();return Lt.includes(n)?(/\S/.test(e)&&console.warn(`A textNode is not allowed inside '${n}'. Your text "${e}" will be ignored`),null):e}case 8:default:return null;case 11:return At(t.childNodes,r,e)}var i}(a,{key:c,level:o,...e})}var zt=Object.defineProperty,Et=(t,e,n)=>((t,e,n)=>e in t?zt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n)(t,"symbol"!=typeof e?e+"":e,n),It="react-inlinesvg",Ct={IDLE:"idle",LOADING:"loading",LOADED:"loaded",FAILED:"failed",READY:"ready",UNSUPPORTED:"unsupported"};function Ot(){return!("undefined"==typeof window||!window.document?.createElement)}function Pt(t,...e){const n={};for(const r in t)({}).hasOwnProperty.call(t,r)&&!e.includes(r)&&(n[r]=t[r]);return n}async function Rt(t,e){const n=await fetch(t,e),r=n.headers.get("content-type"),[o]=(r??"").split(/ ?; ?/);if(n.status>299)throw new Error("Not found");if(!["image/svg+xml","text/plain"].some((t=>o.includes(t))))throw new Error(`Content type isn't valid: ${o}`);return n.text()}function Yt(t=1){return new Promise((e=>{setTimeout(e,1e3*t)}))}function Ut(t){const e=(0,s.useRef)(void 0);return(0,s.useEffect)((()=>{e.current=t})),e.current}function Qt(t){const{baseURL:e,content:n,description:r,handleError:o,hash:i,preProcessor:a,title:s,uniquifyIDs:c=!1}=t;try{let t=a?a(n):n;c&&(t=function(t,e,n){const r=t.matchAll(/\bid=(["'])([^"']+)\1/g),o=[...new Set([...r].map((t=>t[2])))];return o.length?(o.sort(((t,e)=>e.length-t.length)),t.replace(/<style[^>]*>([\S\s]*?)<\/style>/gi,((t,r)=>{let i=r;for(const t of o){const r=t.replace(/[$()*+.?[\\\]^{|}]/g,"\\$&") | |
| 8 | +;i=i.replace(new RegExp(`url\\((['"]?)#${r}\\1\\)`,"g"),`url($1${n}#${t}__${e}$1)`),i=i.replace(new RegExp(`#${r}(?![a-zA-Z0-9_-])`,"g"),`#${t}__${e}`)}return t.replace(r,i)}))):t}(t,i,e??""));const o=Tt(t,{nodeOnly:!0});if(!(o&&o instanceof SVGSVGElement))throw new Error("Could not convert the src to a DOM Node");const l=Ht(o,{baseURL:e,hash:i,uniquifyIDs:c});if(r){const t=l.querySelector("desc");t?.parentNode&&t.parentNode.removeChild(t);const e=document.createElementNS("http://www.w3.org/2000/svg","desc");e.innerHTML=r,l.prepend(e)}if(void 0!==s){const t=l.querySelector("title");if(t?.parentNode&&t.parentNode.removeChild(t),s){const t=document.createElementNS("http://www.w3.org/2000/svg","title");t.innerHTML=s,l.prepend(t)}}return l}catch(t){return o(t)}}function Ht(t,e){const{baseURL:n="",hash:r,uniquifyIDs:o}=e,i=["id","href","xlink:href","xlink:role","xlink:arcrole"],a=["href","xlink:href"];return o?([...t.children].forEach((t=>{if(t.attributes?.length){const e=Object.values(t.attributes).map((t=>{const e=t,o=/url\((.*?)\)/.exec(t.value);return o?.[1]&&(e.value=t.value.replace(o[0],`url(${n}${o[1]}__${r})`)),e}));i.forEach((t=>{const n=e.find((e=>e.name===t));var o,i;n&&(o=t,i=n.value,!a.includes(o)||!i||i.includes("#"))&&(n.value=`${n.value}__${r}`)}))}return t.children.length?Ht(t,e):t})),t):t}function Bt(t,e){const{baseURL:n,cacheRequests:r=!0,description:o,fetchOptions:i,onError:a,onLoad:c,preProcessor:l,src:u,title:d,uniqueHash:p,uniquifyIDs:h}=t,f=(0,s.useRef)(p??function(){const t="abcdefghijklmnopqrstuvwxyz",e=`${t}${t.toUpperCase()}1234567890`;let n="";for(let t=0;t<8;t++)n+=(r=e)[Math.floor(Math.random()*r.length)];var r;return n}()),m=(0,s.useRef)(i),g=(0,s.useRef)(a),y=(0,s.useRef)(c),v=(0,s.useRef)(l);m.current=i,g.current=a,y.current=c,v.current=l;const[M,b]=(0,s.useReducer)(((t,e)=>({...t,...e})),{content:"",element:null,isCached:!1,status:Ct.IDLE},(n=>{if(!r||!e.isCached(u))return n;const o=e.getContent(u);try{const e=Qt({...t,handleError:()=>{},hash:f.current,content:o});if(!e)return{...n,content:o,isCached:!0,status:Ct.LOADED};const r=Tt(e);if(r&&(0,s.isValidElement)(r))return{content:o,element:r,isCached:!0,status:Ct.READY}}catch{}return{...n,content:o,isCached:!0,status:Ct.LOADED}})),{content:w,element:x,isCached:$,status:k}=M,D=Ut(t),N=Ut(M),L=(0,s.useRef)(!1),j=(0,s.useRef)(!1),A=(0,s.useCallback)((t=>{L.current&&(b({status:"Browser does not support SVG"===t.message?Ct.UNSUPPORTED:Ct.FAILED}),g.current?.(t))}),[]),T=(0,s.useCallback)((()=>{try{const t=Tt(Qt({baseURL:n,content:w,description:o,handleError:A,hash:f.current,preProcessor:v.current,src:u,title:d,uniquifyIDs:h}));if(!t||!(0,s.isValidElement)(t))throw new Error("Could not convert the src to a React element");b({element:t,status:Ct.READY})}catch(t){A(t)}}),[n,w,o,A,u,d,h]);var S;return S=()=>{if(L.current=!0,Ot()&&!j.current){try{if(k===Ct.READY)y.current?.(u,$);else if(k===Ct.IDLE){if(!function(){if(!document)return!1;const t=document.createElement("div");t.innerHTML="<svg />";const e=t.firstChild;return!!e&&"http://www.w3.org/2000/svg"===e.namespaceURI}()||"undefined"==typeof window||null===window)throw new Error("Browser does not support SVG");if(!u)throw new Error("Missing src");b({content:"",element:null,isCached:!1,status:Ct.LOADING})}}catch(t){A(t)}return j.current=!0,()=>{L.current=!1}}},(0,s.useEffect)(S,[]),(0,s.useEffect)((()=>{if(Ot()&&D&&D.src!==u){if(!u)return void A(new Error("Missing src"));b({content:"",element:null,isCached:!1,status:Ct.LOADING})}}),[A,D,u]),(0,s.useEffect)((()=>{if(k!==Ct.LOADING)return;const t=new AbortController;let n=!0;return(async()=>{try{const o=/^data:image\/svg[^,]*?(;base64)?,(.*)/.exec(u);let i;if(o?i=o[1]?window.atob(o[2]):decodeURIComponent(o[2]):u.includes("<svg")&&(i=u),i)return void(n&&b({content:i,isCached:!1,status:Ct.LOADED}));const a={...m.current,signal:t.signal};let s,c=!1;r?(c=e.isCached(u),s=await e.get(u,a)):s=await Rt(u,a),n&&b({content:s,isCached:c,status:Ct.LOADED})}catch(t){n&&"AbortError"!==t.name&&A(t)}})(),()=>{n=!1,t.abort()}}),[r,e,A,u,k]),(0,s.useEffect)((()=>{k===Ct.LOADED&&w&&T()}),[w,T,k]),(0,s.useEffect)((()=>{Ot()&&D&&D.src===u&&(D.title===d&&D.description===o||T())}),[o,T,D,u,d]),(0,s.useEffect)((()=>{N&&k===Ct.READY&&N.status!==Ct.READY&&y.current?.(u,$)}),[$,N,u,k]),{element:x,status:k}}var Ft=(0,s.createContext)(null),Zt=new class{constructor(t={}){Et(this,"cacheApi"),Et(this,"cacheStore"),Et(this,"subscribers",[]),Et(this,"isReady",!1);const{name:e=It,persistent:n=!1}=t;this.cacheStore=new Map,n&&Ot()&&"caches"in window?caches.open(e).then((t=>{this.cacheApi=t})).catch((t=>{console.error(`Failed to open cache: ${t.message}`),this.cacheApi=void 0})).finally((()=>{this.isReady=!0;const t=[...this.subscribers];this.subscribers.length=0,t.forEach((t=>{try{t()}catch(t){console.error(`Error in CacheStore subscriber callback: ${t.message}`)}}))})):this.isReady=!0}onReady(t){return this.isReady?(t(),()=>{}):(this.subscribers.push(t),()=>{const e=this.subscribers.indexOf(t);e>=0&&this.subscribers.splice(e,1)})}waitForReady(){return this.isReady?Promise.resolve():new Promise((t=>{this.onReady(t)}))}async get(t,e){return await this.fetchAndCache(t,e),this.cacheStore.get(t)?.content??""}getContent(t){return this.cacheStore.get(t)?.content??""}set(t,e){this.cacheStore.set(t,e)}isCached(t){return this.cacheStore.get(t)?.status===Ct.LOADED}async fetchAndCache(t,e){this.isReady||await this.waitForReady();const n=this.cacheStore.get(t);if(n?.status!==Ct.LOADED)if(n?.status!==Ct.LOADING){this.cacheStore.set(t,{content:"",status:Ct.LOADING});try{const n=this.cacheApi?await this.fetchFromPersistentCache(t,e):await Rt(t,e);this.cacheStore.set(t,{content:n,status:Ct.LOADED})}catch(e){const n="AbortError"===e?.name;throw this.cacheStore.set(t,{content:"",error:n?void 0:e,status:Ct.FAILED}),e}}else{await this.handleLoading(t,e?.signal||void 0,(async()=>{this.cacheStore.set(t,{content:"",status:Ct.IDLE}),await this.fetchAndCache(t,e)}));const n=this.cacheStore.get(t);if(n?.status===Ct.FAILED){if(n.error)throw n.error;this.cacheStore.delete(t),await this.fetchAndCache(t,e)}}}async fetchFromPersistentCache(t,e){const n=await(this.cacheApi?.match(t));if(n)return n.text();await(this.cacheApi?.add(new Request(t,e)));const r=await(this.cacheApi?.match(t));return await(r?.text())??""}async handleLoading(t,e,n){for(let n=0;n<10;n++){if(e?.aborted)throw e.reason instanceof Error?e.reason:new DOMException("The operation was aborted.","AbortError");if(this.cacheStore.get(t)?.status!==Ct.LOADING)return;await Yt(.1)}await n()}keys(){return[...this.cacheStore.keys()]}data(){return[...this.cacheStore.entries()].map((([t,e])=>({[t]:e})))}async delete(t){this.cacheApi&&await this.cacheApi.delete(t),this.cacheStore.delete(t)}async clear(){if(this.cacheApi){const t=await this.cacheApi.keys();await Promise.allSettled(t.map((t=>this.cacheApi.delete(t))))}this.cacheStore.clear()}};function qt(t){const{children:e=null,innerRef:n,loader:r=null}=t,o=(0,s.useContext)(Ft)??Zt,{element:i,status:a}=Bt(t,o);return Ot()?i?(0,s.cloneElement)(i,{ref:n,...Pt(t,"baseURL","cacheRequests","children","description","fetchOptions","innerRef","loader","onError","onLoad","preProcessor","src","title","uniqueHash","uniquifyIDs")}):[Ct.UNSUPPORTED,Ct.FAILED].includes(a)?e:r:r}const Wt=({attributes:t})=>{const{icon:e,options:n,style:r}=t,{type:o}=e,{strokeWidth:i}=r,{duration:a,repeat:c,direction:l,delay:u,easing:d}=n,p=(0,s.useRef)(null),h=()=>{Nt({targets:p.current?.querySelectorAll("svg path"),strokeDashoffset:[Nt.setDashoffset,0],easing:d,duration:a,delay:(t,e)=>e*Number(u),loop:c,autoplay:!0,direction:l})};(0,s.useEffect)((()=>{if(h(),"upload"===o.iconType){const t=setTimeout((()=>h()),300);return()=>clearTimeout(t)}}),[]);const f={strokeWidth:i};return(0,k.jsxs)("div",{className:"svdr-icon-draw-wrapper",children:["icon"===o.svgType&&"library"===o.iconType&&e.library&&(0,k.jsx)("div",{ref:p,className:"react-svg-drawing svdr-svg-wrapper",style:f, | |
| 9 | +dangerouslySetInnerHTML:{__html:e.library}}),"icon"===o.svgType&&"upload"===o.iconType&&(0,k.jsx)("div",{ref:p,className:"react-svg-drawing svdr-svg-wrapper",style:f,children:(0,k.jsx)(qt,{src:e.upload||"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NDAgNTEyIj48IS0tIUZvbnQgQXdlc29tZSBGcmVlIDYuNy4yIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlL2ZyZWUgQ29weXJpZ2h0IDIwMjUgRm9udGljb25zLCBJbmMuLS0+PHBhdGggZD0iTTAgMzM2YzAgNzkuNSA2NC41IDE0NCAxNDQgMTQ0bDM2OCAwYzcwLjcgMCAxMjgtNTcuMyAxMjgtMTI4YzAtNjEuOS00NC0xMTMuNi0xMDIuNC0xMjUuNGM0LjEtMTAuNyA2LjQtMjIuNCA2LjQtMzQuNmMwLTUzLTQzLTk2LTk2LTk2Yy0xOS43IDAtMzguMSA2LTUzLjMgMTYuMkMzNjcgNjQuMiAzMTUuMyAzMiAyNTYgMzJDMTY3LjYgMzIgOTYgMTAzLjYgOTYgMTkyYzAgMi43IC4xIDUuNCAuMiA4LjFDNDAuMiAyMTkuOCAwIDI3My4yIDAgMzM2eiIvPjwvc3ZnPg==",height:"auto"})}),"custom"===o.svgType&&(0,k.jsx)("div",{ref:p,className:"react-svg-drawing svdr-svg-wrapper",style:f,dangerouslySetInnerHTML:{__html:e.custom}})]})};document.addEventListener("DOMContentLoaded",(()=>{document.querySelectorAll(".wp-block-b-blocks-svg-draw").forEach((e=>{const n=JSON.parse(e.dataset.attributes);(0,t.createRoot)(e).render((0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(D,{attributes:n,id:e.id}),(0,k.jsx)(Wt,{attributes:n})]})),e?.removeAttribute("data-attributes")}))}))})(); | |