| @@ -1 +1,9 @@ | ||
| 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}},r="@media only screen and (max-width: 1024px)",o="@media only screen and (max-width: 640px)",i="linear-gradient(135deg, #0040E3, #18D4FD)",a=window.React,s=t=>{const e=n(t);return e?`url('${e.replace(/['"()]/g,"")}')`:"none"},c=(t,n)=>e(n)?`${t}: ${n};`:"",u=(t,e=!0,n=!0,r=!0)=>{const{type:o="solid",color:a="",gradient:u=i,image:l={},position:d="center center",attachment:p="",repeat:h="no-repeat",size:f="",overlayColor:g=""}=t||{};return"gradient"===o&&n?c("background",u):"image"===o&&r?`background: ${s(l?.url)};\n\t\t\t\t${c("background-color",g)}\n\t\t\t\t${c("background-position",d)}\n\t\t\t\t${c("background-size",f)}\n\t\t\t\t${c("background-repeat",h)}\n\t\t\t\t${c("background-attachment",p)}\n\t\t\t\t${c("background-repeat",h)}\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:i="0px",color:a="#7090b0",isInset:s=!1}=t||{},c=`${n} ${r} ${o}`;return("text"===e?`${c} ${a}`:`${c} ${i} ${a} ${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:n="center center",xPosition:r=0,yPosition:o=0,attachment:i="",repeat:a="no-repeat",size:s="cover",customSize:c="0px"}=t||{},u=t=>"initial"!==t||e(t);return`\n\t\t${u(n)?`background-position: ${"custom"===n?`${r} ${o}`:n};`:""}\n\t\t${i&&u(i)?`background-attachment: ${i};`:""}\n\t\t${u(a)?`background-repeat: ${a};`:""}\n\t\t${u(s)?`background-size: ${"custom"===s?`${c} auto`:s};`:""}\n\t`},f=(t={})=>t?{desktop:e(t.url)?`background-image: ${s(t.url)}; ${h(t?.desktop)}`:"",tablet:e(t.url)?h(t?.tablet):"",mobile:e(t.url)?h(t?.mobile):""}:"",g=(t,i,a=!1)=>{const{type:s="color",color:u,gradient:l,img:d,video:p}=t||{},h="color"===s?c("background",u):"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 c("background","radial"===n?`radial-gradient(${r} at ${i?.x}% ${i?.y}%,${t})`:e)}return""})(l):"image"===s?f(d).desktop:"",g="image"===s?f(d).tablet:"",m="image"===s?f(d).mobile:"",y=a?`${i}:hover`:i;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,i):""}\n\n\t\t${h?`${y}{\n\t\t\t${h}\n\t\t}`:""}\n\n\t\t${g?`${r} {\n\t\t\t${y}{\n\t\t\t\t${g}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${m?`${o} {\n\t\t\t${y}{\n\t\t\t\t${m}\n\t\t\t}\n\t\t}`:""}\n\t`.replace(/\s+/g," ").trim()},m=(t,n,r=!1)=>{const{isEnabled:o,colors:i,opacity:a=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=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,w,!1)}\n\t\t${w}{\n\t\t\t${c("opacity",a)}\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,n,i=!1)=>{const a=(t,n="desktop")=>{if(!e(t))return"";const{skew:r,scale:o,rotate:i,offset:a,flipX:s,flipY:u}=t,{threeDRotate:l}=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)`),l&&(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(u)&&p.push(u?"scaleY(-1)":""),0===p.length?"":c("transform",p.join(" "))},s=i?`${n}:hover`:n;return`\n\t\t${s} {\n\t\t\t${a(t,"desktop")}\n\t\t}\n\t\t${r}{\n\t\t\t${s} {\n\t\t\t\t${a(t,"tablet")}\n\t\t\t}\n\t\t}\n\t\t${o}{\n\t\t\t${s} {\n\t\t\t\t${a(t,"mobile")}\n\t\t\t}\n\t\t}\n\t`},v=t=>{const{padding:e,margin:n,height:r,width:o}=t||{},i=(t,e)=>c(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=>c("padding",p(t)),u=t=>c("margin",p(t));return{desktop:s(e?.desktop)+u(n?.desktop)+a("height",r,"desktop")+a("width",o,"desktop"),tablet:s(e?.tablet)+u(n?.tablet)+a("height",r,"tablet")+a("width",o,"tablet"),mobile:s(e?.mobile)+u(n?.mobile)+a("height",r,"mobile")+a("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)),i=c("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:u="#e7f0fe",isInset:l=!1}=r||{},d=l?"inset":"",p=`${i} ${a} ${s}`,h=o+1>=t.length?"":", ";n+="text"===e?`${p} ${u}${h}`:`${p} ${c} ${u} ${d}${h}`})),n||""})(r,"box"));return l(e)+o+i};return{normal:r(e),hover:r(n)}},w=t=>{const{zIndex:n,overflow:r}=t||{},o=r?`overflow: ${r};`:"",i=t=>`${c("z-index",n?.[t])} ${c("position",e(n?.[t])?"relative":"")}`;return{desktop:i("desktop")+o,tablet:i("tablet"),mobile:i("mobile")}},b=(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)}},x=(t,n,i=!1,a=!0)=>{const{dimension:u,transform:l,background:d,borderShadow:p,mask:h,animation:f,visibility:x,responsive:k,css:D=""}=n||{},N=i?`#${t}>div>div${a?":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)})(f,t,i);const L=v(u).desktop+w(x).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;`})(d,p,l)+(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?s(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?`${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: ${i};`:""}`:"";var a})(h),$=v(u).tablet+w(x).tablet+b(k,i).tablet,j=v(u).mobile+w(x).mobile+b(k,i).mobile,T=M(p).normal,I=M(p).hover,A=b(k,i).desktop;return`\n\t\t${L||T?`${N} {\n\t\t\t${L}\n\t\t\t${T}\n\t\t}`:""}\n\t\t${I?`${N}:hover {\n\t\t\t${I}\n\t\t}`:""}\n\n\t\t${A?`@media only screen and (min-width: 1025px) {\n\t\t\t${N}{\n\t\t\t\t${A}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${$?`${r} {\n\t\t\t${N}{\n\t\t\t\t${$}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${j?`${o} {\n\t\t\t${N}{\n\t\t\t\t${j}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${g(d?.normal,N)}\n\t\t${g(d?.hover,N,!0)}\n\t\t${m(d?.overlay,N)}\n\t\t${m(d?.hoverOverlay,N,!0)}\n\t\t${e(l?.normal)?y(l?.normal,N):""}\n\t\t${e(l?.hover)?y(l?.hover,N,!0):""}\n\n\t\t${D}\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:h,padding:f,background:g,border:m,borderRadius:y,colors:v}=r,{normal:M,hover:w}=v,b=`#${e} .svdr-icon-draw-wrapper`,D=`${b} .svdr-svg-wrapper`,N=`${D} svg`;return(0,k.jsx)("style",{dangerouslySetInnerHTML:{__html:`\n\t\t\t${b}{\n\t\t\t\t${c("justify-content",s)}\n\t\t\t}\n\t\t\t${D}{\n\t\t\t\t${c("height",i)}\n\t\t\t\t${c("width",a)}\n\t\t\t\t${c("margin",p(h))}\n\t\t\t\t${c("padding",p(f))}\n\t\t\t\t${u(g)}\n\t\t\t\t${l(m)}\n\t\t\t\t${c("border-radius",p(y))}\n\t\t\t}\n\t\t\t${N}{\n\t\t\t\t${c("fill",M.fill)}\n\t\t\t\t${c("stroke",M.strokeColor)}\n\t\t\t\tfilter:drop-shadow(${d(M.shadow,"text")});\n\t\t\t\ttransition:${w.transition}ms ease-in-out;\n\t\t\t}\n\t\t\t${N}:hover{\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}\n\t\t\t${x(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},$=["translateX","translateY","translateZ","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","skew","skewX","skewY","perspective","matrix","matrix3d"],j={CSS:{},springs:{}};function T(t,e,n){return Math.min(Math.max(t,e),n)}function I(t,e){return t.indexOf(e)>-1}function A(t,e){return t.apply(null,e)}var S={arr:function(t){return Array.isArray(t)},obj:function(t){return I(Object.prototype.toString.call(t),"Object")},pth:function(t){return S.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||S.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 S.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 S.hex(t)||S.rgb(t)||S.hsl(t)},key:function(t){return!N.hasOwnProperty(t)&&!L.hasOwnProperty(t)&&"targets"!==t&&"keyframes"!==t}};function z(t){var e=/\(([^)]+)\)/.exec(t);return e?e[1].split(",").map((function(t){return parseFloat(t)})):[]}function E(t,e){var n=z(t),r=T(S.und(n[0])?1:n[0],.1,100),o=T(S.und(n[1])?100:n[1],.1,100),i=T(S.und(n[2])?10:n[2],.1,100),a=T(S.und(n[3])?0:n[3],.1,100),s=Math.sqrt(o/r),c=i/(2*Math.sqrt(o*r)),u=c<1?s*Math.sqrt(1-c*c):0,l=c<1?(c*s-a)/u:-a+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=j.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 j.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 C,P,R=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 u=a+(n-s[c])/(s[c+1]-s[c])*t,l=i(u,e,r);return l>=.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,u,e,r):0===l?u: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)}}}}(),Y=(C={linear:function(){return function(t){return t}}},P={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){P[t]=function(){return function(t){return Math.pow(t,e+2)}}})),Object.keys(P).forEach((function(t){var e=P[t];C["easeIn"+t]=e,C["easeOut"+t]=function(t,n){return function(r){return 1-e(t,n)(1-r)}},C["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}},C["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}}})),C);function U(t,e){if(S.fnc(t))return t;var n=t.split("(")[0],r=Y[n],o=z(t);switch(n){case"spring":return E(t,e);case"cubicBezier":return A(R,o);case"steps":return A(O,o);default:return A(r,o)}}function Q(t){try{return document.querySelectorAll(t)}catch(t){return}}function H(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 B(t){return t.reduce((function(t,e){return t.concat(S.arr(e)?B(e):e)}),[])}function Z(t){return S.arr(t)?t:(S.str(t)&&(t=Q(t)||t),t instanceof NodeList||t instanceof HTMLCollection?[].slice.call(t):[t])}function F(t,e){return t.some((function(t){return t===e}))}function q(t){var e={};for(var n in t)e[n]=t[n];return e}function W(t,e){var n=q(t);for(var r in t)n[r]=e.hasOwnProperty(r)?e[r]:t[r];return n}function G(t,e){var n=q(t);for(var r in e)n[r]=S.und(t[r])?e[r]:t[r];return n}function V(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 X(t,e){return S.fnc(t)?t(e.target,e.id,e.total):t}function _(t,e){return t.getAttribute(e)}function J(t,e,n){if(F([n,"deg","rad","turn"],V(e)))return e;var r=j.CSS[e+n];if(!S.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 j.CSS[e+n]=s,s}function K(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?J(t,o,n):o}}function tt(t,e){return S.dom(t)&&!S.inp(t)&&(!S.nil(_(t,e))||S.svg(t)&&t[e])?"attribute":S.dom(t)&&F($,e)?"transform":S.dom(t)&&"transform"!==e&&K(t,e)?"css":null!=t[e]?"object":void 0}function et(t){if(S.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 nt(t,e,n,r){switch(tt(t,e)){case"transform":return function(t,e,n,r){var o=I(e,"scale")?1:0+function(t){return I(t,"translate")||"perspective"===t?"px":I(t,"rotate")||I(t,"skew")?"deg":void 0}(e),i=et(t).get(e)||o;return n&&(n.transforms.list.set(e,i),n.transforms.last=e),r?J(t,i,r):i}(t,e,r,n);case"css":return K(t,e,n);case"attribute":return _(t,e);default:return t[e]||0}}function rt(t,e){var n=/^(\*=|\+=|-=)/.exec(t);if(!n)return t;var r=V(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 ot(t,e){if(S.col(t))return function(t){return S.rgb(t)?(n=/rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g.exec(e=t))?"rgba("+n[1]+",1)":e:S.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):S.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 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==a)e=n=r=s;else{var l=s<.5?s*(1+a):s+a-s*a,d=2*s-l;e=u(d,l,i+1/3),n=u(d,l,i),r=u(d,l,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=V(t),r=n?t.substr(0,t.length-n.length):t;return e?r+e:r}function it(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 i=n.getItem(o);o>0&&(r+=it(e,i)),e=i}return r}function st(t){if(t.getTotalLength)return t.getTotalLength();switch(t.tagName.toLowerCase()){case"circle":return function(t){return 2*Math.PI*_(t,"r")}(t);case"rect":return function(t){return 2*_(t,"width")+2*_(t,"height")}(t);case"line":return function(t){return it({x:_(t,"x1"),y:_(t,"y1")},{x:_(t,"x2"),y:_(t,"y2")})}(t);case"polyline":return at(t);case"polygon":return function(t){var e=t.points;return at(t)+it(e.getItem(e.numberOfItems-1),e.getItem(0))}(t)}}function ct(t,e){var n=e||{},r=n.el||function(t){for(var e=t.parentNode;S.svg(e)&&S.svg(e.parentNode);)e=e.parentNode;return e}(t),o=r.getBoundingClientRect(),i=_(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=ct(t.el,t.svg),i=r(),a=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(i.x-o.x)*c;case"y":return(i.y-o.y)*u;case"angle":return 180*Math.atan2(s.y-a.y,s.x-a.x)/Math.PI}}function lt(t,e){var n=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?/g,r=ot(S.pth(t)?t.totalLength:t,e)+"";return{original:r,numbers:r.match(n)?r.match(n).map(Number):[0],strings:S.str(t)||e?r.split(n):[]}}function dt(t){return H(t?B(S.arr(t)?t.map(Z):Z(t)):[],(function(t,e,n){return n.indexOf(t)===e}))}function pt(t){var e=dt(t);return e.map((function(t,n){return{target:t,id:n,total:e.length,transforms:{list:et(t)}}}))}function ht(t,e){var n=q(e);if(/^spring/.test(n.easing)&&(n.duration=E(n.easing)),S.arr(t)){var r=t.length;2!==r||S.obj(t[0])?S.fnc(e.duration)||(n.duration=e.duration/r):t={value:t}}var o=S.arr(t)?t:[t];return o.map((function(t,n){var r=S.obj(t)&&!S.pth(t)?t:{value:t};return S.und(r.delay)&&(r.delay=n?0:e.delay),S.und(r.endDelay)&&(r.endDelay=n===o.length-1?e.endDelay:0),r})).map((function(t){return G(t,n)}))}var ft={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){pt(t).forEach((function(t){for(var n in e){var r=X(e[n],t),o=t.target,i=V(r),a=nt(o,n,i,t),s=rt(ot(r,i||V(a)),a),c=tt(o,n);ft[c](o,n,s,t.transforms,!0)}}))}function mt(t,e){return H(B(t.map((function(t){return e.map((function(e){return function(t,e){var n=tt(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=X(t[r],e);S.arr(o)&&1===(o=o.map((function(t){return X(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=S.arr(i)?i[1]:i,s=V(a),c=nt(e.target,t.name,s,e),u=n?n.to.original:c,l=S.arr(i)?i[0]:u,d=V(l)||V(c),p=s||d;return S.und(a)&&(a=u),o.from=lt(l,p),o.to=lt(rt(a,l),p),o.start=n?n.end:0,o.end=o.start+o.delay+o.duration+o.endDelay,o.easing=U(o.easing,o.duration),o.isPath=S.pth(i),o.isPathTargetInsideSVG=o.isPath&&S.svg(e.target),o.isColor=S.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!S.und(t)}))}function yt(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 vt=0,Mt=[],wt=function(){var t;function e(n){for(var r=Mt.length,o=0;o<r;){var i=Mt[o];i.paused?(Mt.splice(o,1),r--):(i.tick(n),o++)}t=o>0?requestAnimationFrame(e):void 0}return"undefined"!=typeof document&&document.addEventListener("visibilitychange",(function(){xt.suspendWhenDocumentHidden&&(bt()?t=cancelAnimationFrame(t):(Mt.forEach((function(t){return t._onDocumentVisibility()})),wt()))})),function(){t||bt()&&xt.suspendWhenDocumentHidden||!(Mt.length>0)||(t=requestAnimationFrame(e))}}();function bt(){return!!document&&document.hidden}function xt(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=W(N,t),n=W(L,t),r=function(t,e){var n=[],r=e.keyframes;for(var o in r&&(e=G(function(t){for(var e=H(B(t.map((function(t){return Object.keys(t)}))),(function(t){return S.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)S.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)S.key(o)&&n.push({name:o,tweens:ht(e[o],t)});return n}(n,t),o=pt(t.targets),i=mt(o,r),a=yt(i,n),s=vt;return vt++,G(e,{id:s,children:[],animatables:o,animations:i,duration:a.duration,delay:a.delay,endDelay:a.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/xt.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,u=a[s];s&&(u=H(a,(function(e){return t<e.end}))[0]||u);for(var l=T(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?ut(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 x=0;x<b;x++){p[x];var k=p[x+1],D=f[x];isNaN(D)||(m+=k?D+k:D+" ")}}else m=f[0];ft[o.type](i.target,o.property,m,i.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=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<=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=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&&u()):(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),g((o+(r-n))*xt.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,Mt.push(c),d(),wt())},c.reverse=function(){u(),c.completed=!c.reversed,d()},c.restart=function(){c.reset(),c.play()},c.remove=function(t){Dt(dt(t),c)},c.reset(),c.autoplay&&c.play(),c}function kt(t,e){for(var n=e.length;n--;)F(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()}xt.version="3.2.1",xt.speed=1,xt.suspendWhenDocumentHidden=!0,xt.running=Mt,xt.remove=function(t){for(var e=dt(t),n=Mt.length;n--;)Dt(e,Mt[n])},xt.get=nt,xt.set=gt,xt.convertPx=J,xt.path=function(t,e){var n=S.str(t)?Q(t)[0]:t,r=e||100;return function(t){return{property:t,el:n,svg:ct(n),totalLength:st(n)*(r/100)}}},xt.setDashoffset=function(t){var e=st(t);return t.setAttribute("stroke-dasharray",e),e},xt.stagger=function(t,e){void 0===e&&(e={});var n=e.direction||"normal",r=e.easing?U(e.easing):null,o=e.grid,i=e.axis,a=e.from||0,s="first"===a,c="center"===a,u="last"===a,l=S.arr(t),d=l?parseFloat(t[0]):parseFloat(t),p=l?parseFloat(t[1]):0,h=V(l?t[1]:t)||0,f=e.start||0+(l?d:0),g=[],m=0;return function(t,e,y){if(s&&(a=0),c&&(a=(y-1)/2),u&&(a=y-1),!g.length){for(var v=0;v<y;v++){if(o){var M=c?(o[0]-1)/2:a%o[0],w=c?(o[1]-1)/2:Math.floor(a/o[0]),b=M-v%o[0],x=w-Math.floor(v/o[0]),k=Math.sqrt(b*b+x*x);"x"===i&&(k=-b),"y"===i&&(k=-x),g.push(k)}else g.push(Math.abs(a-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 i?t<0?-1*t:-t:Math.abs(m-t)})))}return f+(l?(p-d)/m:d)*(Math.round(100*g[e])/100)+h}},xt.timeline=function(t){void 0===t&&(t={});var e=xt(t);return e.duration=0,e.add=function(n,r){var o=Mt.indexOf(e),i=e.children;function a(t){t.passThrough=!0}o>-1&&Mt.splice(o,1);for(var s=0;s<i.length;s++)a(i[s]);var c=G(n,W(L,t));c.targets=c.targets||t.targets;var u=e.duration;c.autoplay=!1,c.direction=e.direction,c.timelineOffset=S.und(r)?u:rt(r,u),a(e),e.seek(c.timelineOffset);var l=xt(c);a(l),i.push(l);var d=yt(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},xt.easing=U,xt.penner=Y,xt.random=function(t,e){return Math.floor(Math.random()*(e-t+1))+t};const Nt=xt;var Lt=["br","col","colgroup","dl","hr","iframe","img","input","link","menuitem","meta","ol","param","select","table","tbody","tfoot","thead","tr","ul","wbr"],$t={"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 jt(t,e,n){const r=[...t].map(((t,r)=>It(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=>It(t,e)))}const s=a.querySelector(o)||a.body.childNodes[0];if(!(s instanceof Node))throw new TypeError("Error parsing input");return r?s:It(s,e)}catch(t){}return null}(t,e):t instanceof Node?It(t,e):null}function It(t,e={}){if(!(t&&t instanceof Node))return null;const{actions:n=[],index:r=0,level:o=0,randomKey:i}=e;let s=t,c=`${o}-${r}`;const u=[];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(s,c,o)&&("function"==typeof e.pre&&(s=e.pre(s,c,o),s instanceof Node||(s=t)),"function"==typeof e.post&&u.push(e.post(s,c,o)))})),u.length?u:function(t,e){const{key:n,level:r,...o}=e;switch(t.nodeType){case 1:return a.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[$t[t.name]||t.name]=!0;break;default:n[$t[t.name]||t.name]=t.value}var e}))}return n}(t,n),jt(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 jt(t.childNodes,r,e)}var i}(s,{key:c,level:o,...e})}var At=Object.defineProperty,St=(t,e,n)=>((t,e,n)=>e in t?At(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n)(t,"symbol"!=typeof e?e+"":e,n),zt="react-inlinesvg",Et={IDLE:"idle",LOADING:"loading",LOADED:"loaded",FAILED:"failed",READY:"ready",UNSUPPORTED:"unsupported"};function Ot(){return!("undefined"==typeof window||!window.document?.createElement)}function Ct(t,...e){const n={};for(const r in t)({}).hasOwnProperty.call(t,r)&&!e.includes(r)&&(n[r]=t[r]);return n}async function Pt(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 Rt(t=1){return new Promise((e=>{setTimeout(e,1e3*t)}))}function Yt(t){const e=(0,a.useRef)(void 0);return(0,a.useEffect)((()=>{e.current=t})),e.current}function Ut(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,"\\$&");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 u=Qt(o,{baseURL:e,hash:i,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,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?Qt(t,e):t})),t):t}function Ht(t,e){const{baseURL:n,cacheRequests:r=!0,description:o,fetchOptions:i,onError:s,onLoad:c,preProcessor:u,src:l,title:d,uniqueHash:p,uniquifyIDs:h}=t,f=(0,a.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}()),g=(0,a.useRef)(i),m=(0,a.useRef)(s),y=(0,a.useRef)(c),v=(0,a.useRef)(u);g.current=i,m.current=s,y.current=c,v.current=u;const[M,w]=(0,a.useReducer)(((t,e)=>({...t,...e})),{content:"",element:null,isCached:!1,status:Et.IDLE},(n=>{if(!r||!e.isCached(l))return n;const o=e.getContent(l);try{const e=Ut({...t,handleError:()=>{},hash:f.current,content:o});if(!e)return{...n,content:o,isCached:!0,status:Et.LOADED};const r=Tt(e);if(r&&(0,a.isValidElement)(r))return{content:o,element:r,isCached:!0,status:Et.READY}}catch{}return{...n,content:o,isCached:!0,status:Et.LOADED}})),{content:b,element:x,isCached:k,status:D}=M,N=Yt(t),L=Yt(M),$=(0,a.useRef)(!1),j=(0,a.useRef)(!1),T=(0,a.useCallback)((t=>{$.current&&(w({status:"Browser does not support SVG"===t.message?Et.UNSUPPORTED:Et.FAILED}),m.current?.(t))}),[]),I=(0,a.useCallback)((()=>{try{const t=Tt(Ut({baseURL:n,content:b,description:o,handleError:T,hash:f.current,preProcessor:v.current,src:l,title:d,uniquifyIDs:h}));if(!t||!(0,a.isValidElement)(t))throw new Error("Could not convert the src to a React element");w({element:t,status:Et.READY})}catch(t){T(t)}}),[n,b,o,T,l,d,h]);var A;return A=()=>{if($.current=!0,Ot()&&!j.current){try{if(D===Et.READY)y.current?.(l,k);else if(D===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");w({content:"",element:null,isCached:!1,status:Et.LOADING})}}catch(t){T(t)}return j.current=!0,()=>{$.current=!1}}},(0,a.useEffect)(A,[]),(0,a.useEffect)((()=>{if(Ot()&&N&&N.src!==l){if(!l)return void T(new Error("Missing src"));w({content:"",element:null,isCached:!1,status:Et.LOADING})}}),[T,N,l]),(0,a.useEffect)((()=>{if(D!==Et.LOADING)return;const t=new AbortController;let n=!0;return(async()=>{try{const o=/^data:image\/svg[^,]*?(;base64)?,(.*)/.exec(l);let i;if(o?i=o[1]?window.atob(o[2]):decodeURIComponent(o[2]):l.includes("<svg")&&(i=l),i)return void(n&&w({content:i,isCached:!1,status:Et.LOADED}));const a={...g.current,signal:t.signal};let s,c=!1;r?(c=e.isCached(l),s=await e.get(l,a)):s=await Pt(l,a),n&&w({content:s,isCached:c,status:Et.LOADED})}catch(t){n&&"AbortError"!==t.name&&T(t)}})(),()=>{n=!1,t.abort()}}),[r,e,T,l,D]),(0,a.useEffect)((()=>{D===Et.LOADED&&b&&I()}),[b,I,D]),(0,a.useEffect)((()=>{Ot()&&N&&N.src===l&&(N.title===d&&N.description===o||I())}),[o,I,N,l,d]),(0,a.useEffect)((()=>{L&&D===Et.READY&&L.status!==Et.READY&&y.current?.(l,k)}),[k,L,l,D]),{element:x,status:D}}var Bt=(0,a.createContext)(null),Zt=new class{constructor(t={}){St(this,"cacheApi"),St(this,"cacheStore"),St(this,"subscribers",[]),St(this,"isReady",!1);const{name:e=zt,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===Et.LOADED}async fetchAndCache(t,e){this.isReady||await this.waitForReady();const n=this.cacheStore.get(t);if(n?.status!==Et.LOADED)if(n?.status!==Et.LOADING){this.cacheStore.set(t,{content:"",status:Et.LOADING});try{const n=this.cacheApi?await this.fetchFromPersistentCache(t,e):await Pt(t,e);this.cacheStore.set(t,{content:n,status:Et.LOADED})}catch(e){const n="AbortError"===e?.name;throw this.cacheStore.set(t,{content:"",error:n?void 0:e,status:Et.FAILED}),e}}else{await this.handleLoading(t,e?.signal||void 0,(async()=>{this.cacheStore.set(t,{content:"",status:Et.IDLE}),await this.fetchAndCache(t,e)}));const n=this.cacheStore.get(t);if(n?.status===Et.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!==Et.LOADING)return;await Rt(.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 Ft(t){const{children:e=null,innerRef:n,loader:r=null}=t,o=(0,a.useContext)(Bt)??Zt,{element:i,status:s}=Ht(t,o);return Ot()?i?(0,a.cloneElement)(i,{ref:n,...Ct(t,"baseURL","cacheRequests","children","description","fetchOptions","innerRef","loader","onError","onLoad","preProcessor","src","title","uniqueHash","uniquifyIDs")}):[Et.UNSUPPORTED,Et.FAILED].includes(s)?e:r:r}const qt=({attributes:t})=>{const{icon:e,options:n,style:r}=t,{type:o}=e,{strokeWidth:i}=r,{duration:s,repeat:c,direction:u,delay:l,easing:d}=n,p=(0,a.useRef)(null),h=()=>{Nt({targets:p.current?.querySelectorAll("svg path"),strokeDashoffset:[Nt.setDashoffset,0],easing:d,duration:s,delay:(t,e)=>e*Number(l),loop:c,autoplay:!0,direction:u})};(0,a.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,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)(Ft,{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)(qt,{attributes:n})]})),e?.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")}))}))})(); | |