|
1
|
|
-(()=>{"use strict";var __webpack_modules__={1609:t=>{t.exports=window.React},2343:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{I:()=>useRunJs});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(1609),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);const useRunJs=(htmlCode,delay=300)=>{const timer=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)();(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{if(htmlCode)return timer.current&&clearTimeout(timer.current),timer.current=setTimeout((()=>{const matchedScripts=htmlCode.match(/<script\b[^>]*>([\s\S]*?)<\/script>/gm);matchedScripts&&matchedScripts.forEach((scriptTag=>{const scriptContentMatch=scriptTag.match(/<script\b[^>]*>([\s\S]*?)<\/script>/i);scriptContentMatch&&scriptContentMatch[1]&&eval(scriptContentMatch[1])}))}),delay),()=>{timer.current&&clearTimeout(timer.current)}}),[htmlCode,delay])}},5338:(t,e,i)=>{var r=i(5795);e.H=r.createRoot,r.hydrateRoot},5795:t=>{t.exports=window.ReactDOM}},__webpack_module_cache__={};function __webpack_require__(t){var e=__webpack_module_cache__[t];if(void 0!==e)return e.exports;var i=__webpack_module_cache__[t]={exports:{}};return __webpack_modules__[t](i,i.exports,__webpack_require__),i.exports}__webpack_require__.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return __webpack_require__.d(e,{a:e}),e},__webpack_require__.d=(t,e)=>{for(var i in e)__webpack_require__.o(e,i)&&!__webpack_require__.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},__webpack_require__.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var __webpack_exports__={},external_React_=__webpack_require__(1609),client=__webpack_require__(5338);const isExist=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),escapeHTML=(t="")=>t?t?.replace(/<([a-z][a-z0-9]*)\b([^>]*)>/gi,((t,e,i)=>{const r=["style","href","target","rel","class"];return["b","strong","i","em","span","a","br"].includes(e.toLowerCase())?`<${e}${i.replace(/([a-z0-9-]+)=["'][^"']*["']/gi,((t,e)=>r.includes(e.toLowerCase())?t:""))}>`:t?.replace(/</g,"<").replace(/>/g,">")})):"",sanitizeURL=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}},sanitizeHTML=t=>{const e=(new DOMParser).parseFromString(t,"text/html"),i=["b","strong","i","em","span","a","br"],r=["style","href","target","rel","class"];return e.body.querySelectorAll("*").forEach((t=>{i.includes(t.tagName.toLowerCase())?[...t.attributes].forEach((e=>{if(r.includes(e.name)||t.removeAttribute(e.name),"href"===e.name){const i=sanitizeURL(e.value);i?t.setAttribute("href",i):t.removeAttribute("href")}})):t.remove()})),e.body.innerHTML},sanitizeInput=t=>t.replace(/[<>]/g,"").replace(/javascript:/gi,"").replace(/on\w+=/gi,"").trim();class SVGSanitizer{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","d","x","y","width","height","cx","cy","r","rx","ry","points","x1","y1","x2","y2","fill","stroke","stroke-width","stroke-linecap","stroke-linejoin","opacity","fill-opacity","stroke-opacity","viewBox","preserveAspectRatio","xmlns","xmlns:xlink"],allowedProtocols:["http","https","data"],removeScripts:!0,removeEvents:!0,removeExternalResources:!0,sanitizeStyle:!0},this.options={...this.defaultOptions,...t}}sanitize(t){const e=(new DOMParser).parseFromString(t,"image/svg+xml");return this.removeScripts(e),this.sanitizeElements(e),(new XMLSerializer).serializeToString(e.documentElement)}async sanitizeFile(t){const e=await fetch(t),i=await e.text();return this.sanitize(`${i}`)}removeScripts(t){this.options.removeScripts&&(t.querySelectorAll("script").forEach((t=>t.remove())),t.querySelectorAll("*").forEach((t=>{t.tagName.toLowerCase().includes("script")&&t.remove()})))}sanitizeElements(t){t.querySelectorAll("*").forEach((t=>{const e=t.tagName.toLowerCase();this.options.allowedTags.includes(e)?this.sanitizeAttributes(t):t.remove()}))}sanitizeAttributes(t){Array.from(t.attributes).forEach((e=>{const i=e.name.toLowerCase(),r=e.value;if(this.options.removeEvents&&i.startsWith("on"))return void t.removeAttribute(i);if(this.options.removeExternalResources&&("href"===i||"xlink:href"===i)&&!this.isAllowedUrl(r))return void t.removeAttribute(i);const n=i.replace("xlink:","");this.options.allowedAttributes.includes(n)?"style"===i&&this.options.sanitizeStyle&&this.sanitizeStyleAttribute(t,r):t.removeAttribute(i)}))}isAllowedUrl(t){if(t.startsWith("data:")||t.startsWith("#"))return!0;try{const e=new URL(t);return this.options.allowedProtocols.includes(e.protocol.replace(":",""))}catch{return!1}}sanitizeStyleAttribute(t,e){const i=e.replace(/expression\(|javascript:|url\(javascript:/gi,"").replace(/behavior\s*:/gi,"").replace(/binding\s*:/gi,"");t.setAttribute("style",i)}}const deskBreakpoint="@media only screen and (min-width: 1025px)",data_tabBreakpoint="@media only screen and (max-width: 1024px)",data_mobileBreakpoint="@media only screen and (max-width: 640px)",primaryColor="#146EF5",primaryColor100="#e7f0fe",primaryColor200="#b6d2fc",data_primaryColor300="#85b4fa",primaryColor400="#5495f8",primaryColor500="#2377f6",primaryColor600="#095edc",primaryColor700="#0749ab",primaryColor800="#05347a",primaryColor900="#031f49",primaryColor1000="#010a18",secondaryColor="#FF7A00",titleColor="#070127",contentColor="#485781",gradient="linear-gradient(135deg, #0040E3, #18D4FD)";var _path;function _extends(){return _extends=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var r in i)({}).hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},_extends.apply(null,arguments)}var SvgBlob=function(t){return React.createElement("svg",_extends({xmlns:"http://www.w3.org/2000/svg",width:121,height:89},t),_path||(_path=React.createElement("path",{d:"M100.016 7.397c-9.77-6.177-26.708-11.063-35.59-3.684-7.442 6.177-2.38 15.204-9.416 21.59-10.6 9.614-28.159-5.442-41.858 2.632C.676 35.255-4.28 59.149 4.278 73.798c13.137 22.524 53.13 13.854 61.194 12.106 4.5-.993 53.495-12.265 55.469-42.705.957-14.946-9.841-28.78-20.925-35.802"})))};const blob="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjEuMDAwMiIgaGVpZ2h0PSI4OSIgdmlld0JveD0iMCAwIDEyMS4wMDAyIDg5Ij48cGF0aCBkPSJNMTAwLjAxNiw3LjM5NzJDOTAuMjQ1MiwxLjIyLDczLjMwODQtMy42NjYzLDY0LjQyNTUsMy43MTI2LDU2Ljk4MzYsOS44OSw2Mi4wNDY5LDE4LjkxNzQsNTUuMDEsMjUuMzAzMmMtMTAuNiw5LjYxMzQtMjguMTU4OS01LjQ0MjMtNDEuODU4NCwyLjYzMThDLjY3NTcsMzUuMjU0My00LjI3OTEsNTkuMTQ4OSw0LjI3ODEsNzMuNzk3NWMxMy4xMzY5LDIyLjUyNCw1My4xMywxMy44NTQxLDYxLjE5MzYsMTIuMTA2MSw0LjUwMDctLjk5MzEsNTMuNDk1My0xMi4yNjUsNTUuNDY5My00Mi43MDQzQzEyMS44OTgsMjguMjUyOCwxMTEuMSwxNC40MTg1LDEwMC4wMTYsNy4zOTcyWiIvPjwvc3ZnPg==";var _circle;function circle_extends(){return circle_extends=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var r in i)({}).hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},circle_extends.apply(null,arguments)}var SvgCircle=function(t){return React.createElement("svg",circle_extends({xmlns:"http://www.w3.org/2000/svg",width:89,height:89},t),_circle||(_circle=React.createElement("circle",{cx:44.5,cy:44.5,r:44.5})))};const circle="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4OSIgaGVpZ2h0PSI4OSIgdmlld0JveD0iMCAwIDg5IDg5Ij48Y2lyY2xlIGN4PSI0NC41IiBjeT0iNDQuNSIgcj0iNDQuNSIvPjwvc3ZnPg==";var flower_path;function flower_extends(){return flower_extends=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var r in i)({}).hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},flower_extends.apply(null,arguments)}var SvgFlower=function(t){return React.createElement("svg",flower_extends({xmlns:"http://www.w3.org/2000/svg",width:89,height:89},t),flower_path||(flower_path=React.createElement("path",{d:"m76.133 44.475 6.33-6.328a22.349 22.349 0 0 0-31.613-31.6l-6.318 6.318-6.372-6.318a22.352 22.352 0 1 0-31.612 31.61l6.318 6.318-6.318 6.372a22.352 22.352 0 0 0 31.612 31.61l6.318-6.318 6.372 6.253a22.349 22.349 0 0 0 31.612-31.6Z"})))};const flower="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4OSIgaGVpZ2h0PSI4OSIgdmlld0JveD0iMCAwIDg5IDg5Ij48cGF0aCBkPSJNNzYuMTMzMiw0NC40NzUybDYuMzI4OS02LjMyODVBMjIuMzQ4NiwyMi4zNDg2LDAsMCwwLDUwLjg1LDYuNTQ3NEw0NC41MzIsMTIuODY1MSwzOC4xNiw2LjU0NzRhMjIuMzUyNCwyMi4zNTI0LDAsMSwwLTMxLjYxMiwzMS42MWw2LjMxODEsNi4zMTc3TDYuNTQ3OCw1MC44NDdhMjIuMzUyNCwyMi4zNTI0LDAsMCwwLDMxLjYxMiwzMS42MWw2LjMxODEtNi4zMTc3TDUwLjg1LDgyLjM5MjJhMjIuMzQ4NiwyMi4zNDg2LDAsMCwwLDMxLjYxMi0zMS41OTkzWiIvPjwvc3ZnPg==";var hexagon_path;function hexagon_extends(){return hexagon_extends=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var r in i)({}).hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},hexagon_extends.apply(null,arguments)}var SvgHexagon=function(t){return React.createElement("svg",hexagon_extends({xmlns:"http://www.w3.org/2000/svg",width:103,height:89},t),hexagon_path||(hexagon_path=React.createElement("path",{d:"M77.211 0H25.752L0 44.505 25.752 89h51.46L103 44.505ZM61.77 62.261H41.222L30.939 44.504 41.222 26.74h20.547l10.283 17.766Z"})))};const hexagon="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDMiIGhlaWdodD0iODkiIHZpZXdCb3g9IjAgMCAxMDMgODkiPjxwYXRoIGQ9Ik03Ny4yMTE0LDBIMjUuNzUyM0wwLDQ0LjUwNDUsMjUuNzUyMyw4OUg3Ny4yMTE0TDEwMyw0NC41MDQ1Wk02MS43NjkxLDYyLjI2MUg0MS4yMjE4TDMwLjkzOTEsNDQuNTA0NSw0MS4yMjE4LDI2LjczOUg2MS43NjkxTDcyLjA1MTksNDQuNTA0NVoiLz48L3N2Zz4=";var sketch_path;function sketch_extends(){return sketch_extends=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var r in i)({}).hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},sketch_extends.apply(null,arguments)}var SvgSketch=function(t){return React.createElement("svg",sketch_extends({xmlns:"http://www.w3.org/2000/svg",width:91.114,height:89},t),sketch_path||(sketch_path=React.createElement("path",{d:"m82.175 37.527 1.612-1.612c.948-.949-6.37-5.931-7.05-6.378a45 45 0 0 0-5.776-3.325c-.247-.115-.602-.3-.987-.478q1.781-1.897 3.586-3.771c.949-.98-6.363-5.923-7.05-6.37a44 44 0 0 0-5.76-3.332l-.293-.147 1.396-1.542c.94-1.05-6.332-5.9-7.05-6.37a44 44 0 0 0-5.76-3.34c-.54-.247-2.314-1.265-2.847-.687q-13.458 14.993-28.08 28.891c-7.844 7.45-16.567 15.58-18.11 26.87-.115.825 1.327 1.974 1.744 2.314a41 41 0 0 0 5.314 4.057 44 44 0 0 0 5.76 3.34c.64.293 2.176 1.203 2.847.686l2.074-1.558c1.45 1.859 5.97 4.72 6.671 5.175l1.489.956a257 257 0 0 0-4.435 5.622c-.91 1.188 6.263 5.862 7.05 6.37a44 44 0 0 0 5.76 3.332c.602.278 2.23 1.234 2.846.694l9.255-8.098c.825 2.568 14.569 11.63 15.672 9.972L91.06 45.362c.632-.948-4.335-5.036-8.885-7.835"})))};const sketch="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5MS4xMTQzIiBoZWlnaHQ9Ijg4Ljk5OTkiIHZpZXdCb3g9IjAgMCA5MS4xMTQzIDg4Ljk5OTkiPjxwYXRoIGQ9Ik04Mi4xNzQ5LDM3LjUyNjZsMS42MTE5LTEuNjExOWMuOTQ4Ni0uOTQ4Ny02LjM3LTUuOTMwOS03LjA0OTItNi4zNzgyYTQ1LjE1MTYsNDUuMTUxNiwwLDAsMC01Ljc3NjYtMy4zMjQxYy0uMjQ2OC0uMTE1Ny0uNjAxNi0uMzAwOC0uOTg3Mi0uNDc4MnExLjc4MTYtMS44OTcyLDMuNTg2My0zLjc3MTNjLjk0ODYtLjk4LTYuMzYyOC01LjkyMzItNy4wNDkyLTYuMzcwNUE0NC4xNTc5LDQ0LjE1NzksMCwwLDAsNjAuNzUsMTIuMjYwNmwtLjI5My0uMTQ2NSwxLjM5NTktMS41NDI1Yy45NDA5LTEuMDQ4OS02LjMzMTktNS45LTcuMDQ5Mi02LjM3QTQ0LjIxMiw0NC4yMTIsMCwwLDAsNDkuMDQyMi44NjE2Yy0uNTQtLjI0NjctMi4zMTM3LTEuMjY0OC0yLjg0NTgtLjY4NjRRMzIuNzM4MSwxNS4xNjgyLDE4LjExNTQsMjkuMDY2Yy03Ljg0MzYsNy40NS0xNi41NjYzLDE1LjU3OTEtMTguMTA4OCwyNi44Ny0uMTE1Ny44MjUzLDEuMzI2NSwxLjk3NDQsMS43NDMsMi4zMTM4YTQwLjc5OSw0MC43OTksMCwwLDAsNS4zMTM5LDQuMDU2Nyw0NC4yMTc0LDQ0LjIxNzQsMCwwLDAsNS43NjExLDMuMzRjLjY0LjI5MzEsMi4xNzUsMS4yMDMxLDIuODQ1OS42ODY0bDIuMDc0Ny0xLjU1NzljMS40NSwxLjg1ODcsNS45Njk0LDQuNzIsNi42NzEyLDUuMTc1bDEuNDg4NS45NTY0QzI0LjQwMSw3Mi43NjQ3LDIyLjkyLDc0LjYzMTEsMjEuNDcsNzYuNTI4M2MtLjkxLDEuMTg3OCw2LjI2MjUsNS44NjE1LDcuMDQ5Miw2LjM3YTQ0LjE2MzMsNDQuMTYzMywwLDAsMCw1Ljc2MTEsMy4zMzE4Yy42MDE2LjI3NzYsMi4yMjg5LDEuMjM0LDIuODQ1OS42OTQxbDkuMjU1LTguMDk4Yy44MjUyLDIuNTY4MiwxNC41Njg3LDExLjYzLDE1LjY3MTYsOS45NzIxTDkxLjA2LDQ1LjM2MjRDOTEuNjkyLDQ0LjQxMzgsODYuNzI1Miw0MC4zMjYyLDgyLjE3NDksMzcuNTI2NloiLz48L3N2Zz4=";var triangle_path;function triangle_extends(){return triangle_extends=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var r in i)({}).hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},triangle_extends.apply(null,arguments)}var SvgTriangle=function(t){return React.createElement("svg",triangle_extends({xmlns:"http://www.w3.org/2000/svg",width:103,height:89},t),triangle_path||(triangle_path=React.createElement("path",{d:"M77.255 44.505 51.5 0 25.755 44.505 0 89h103z"})))};const triangle="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDMiIGhlaWdodD0iODkiIHZpZXdCb3g9IjAgMCAxMDMgODkiPjxwb2x5Z29uIHBvaW50cz0iNzcuMjU1IDQ0LjUwNSA1MS41IDAgMjUuNzU1IDQ0LjUwNSAwIDg5IDUxLjUgODkgMTAzIDg5IDc3LjI1NSA0NC41MDUiLz48L3N2Zz4=",isValidCSS=(t,e,i=!1)=>isExist(e)?`${t}: ${e}${i?" !important":""};`:"",getBackgroundCSS=(t,e=!0,i=!0,r=!0)=>{const{type:n="solid",color:a="",gradient:s=defaultGradient,image:o={},position:l="center center",attachment:c="",repeat:d="no-repeat",size:u="",overlayColor:p=""}=t||{};return"gradient"===n&&i?isValidCSS("background",s):"image"===n&&r?`background: url(${o?.url});\n\t\t\t\t${isValidCSS("background-color",p)}\n\t\t\t\t${isValidCSS("background-position",l)}\n\t\t\t\t${isValidCSS("background-size",u)}\n\t\t\t\t${isValidCSS("background-repeat",d)}\n\t\t\t\t${isValidCSS("background-attachment",c)}\n\t\t\t\t${isValidCSS("background-repeat",d)}\n\t\t\t\tbackground-blend-mode: overlay;`:e&&isValidCSS("background",a)},getBorderCSS=t=>{const{width:e="",style:i="solid",color:r="",side:n="all",radius:a=""}=t||{},s=t=>{const e=n?.toLowerCase();return e?.includes("all")||e?.includes(t)},o=`${e} ${i} ${r}`,l=`\n\t\t${e&&0!==parseInt(e)?["top","right","bottom","left"].map((t=>s(t)?`border-${t}: ${o};`:"")).join(""):""}\n\t\t${isValidCSS("border-radius",a)}\n\t`;return l},getBorderBoxCSS=t=>{if(!t)return"";const e=t=>{const{color:e="#000000",style:i="solid",width:r="0px"}=t;return`${r} ${i} ${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((i=>t[i]?`border-${i}: ${e(t[i])};`:"")).join(" ").trim():isValidCSS("border",e(t))},getColorsCSS=t=>{const{color:e="",bgType:i="solid",bg:r="",gradient:n=defaultGradient}=t||{};return`\n\t\t${isValidCSS("color",e)}\n\t\t${n||r?isValidCSS("background","gradient"===i?n:r):""}\n\t`},getIconCSS=(t,e=!0,i=!0)=>{const{fontSize:r=16,colorType:n="solid",color:a="inherit",gradient:s=defaultGradient}=t||{},o="gradient"===n?`color: transparent; background-image: ${s}; -webkit-background-clip: text; background-clip: text;`:isValidCSS("color",a);return`\n\t\t${r&&e?isValidCSS("font-size",r?`${r}px`:""):""}\n\t\t${i?o:""}\n\t`},getMultiShadowCSS=(t,e="box")=>{let i="";return t?.map(((r,n)=>{const{hOffset:a="0px",vOffset:s="0px",blur:o="0px",spreed:l="0px",color:c="#e7f0fe",isInset:d=!1}=r||{},u=d?"inset":"",p=`${a} ${s} ${o}`,g=n+1>=t.length?"":", ";i+="text"===e?`${p} ${c}${g}`:`${p} ${l} ${c} ${u}${g}`})),i||""},getSeparatorCSS=t=>{const{width:e="50%",height:i="2px",style:r="solid",color:n=primaryColor300}=t||{};return`\n\t\t${isValidCSS("width",e)}\n\t\t${0===parseInt(i)?"":`border-top: ${i} ${r} ${n};`}\n\t`},getShadowCSS=(t,e="box")=>{const{hOffset:i="0px",vOffset:r="0px",blur:n="0px",spreed:a="0px",color:s="#7090b0",isInset:o=!1}=t||{},l=`${i} ${r} ${n}`;return("text"===e?`${l} ${s}`:`${l} ${a} ${s} ${o?"inset":""}`)||"none"},getSpaceCSS=t=>{const{side:e=2,vertical:i="0px",horizontal:r="0px",top:n="0px",right:a="0px",bottom:s="0px",left:o="0px"}=t||{};return 2===e?`${i} ${r}`:`${n} ${a} ${s} ${o}`},getTypoCSS=(t,e,i=!0)=>{const{fontFamily:r="Default",fontCategory:n="sans-serif",fontVariant:a=400,fontWeight:s,isUploadFont:o=!0,fontSize:l={desktop:null,tablet:null,mobile:null},fontStyle:c,textTransform:d,textDecoration:u,lineHeight:p,letterSpace:g}=e||{},S=!i||!r||"Default"===r,M=l?.desktop||l,m=l?.tablet||M,y=l?.mobile||m,h=t=>{const e=String(t);return["px","em","rem","%","vh","vw"].some((t=>e.endsWith(t)))?e:"number"==typeof t?`${e}px`:""},w=`\n\t\t${S?"":`font-family: '${r}', ${n};`}\n\t\t${isValidCSS("font-weight",s)}\n\t\t${isValidCSS("font-size",h(M))}\n\t\t${isValidCSS("font-style",c)}\n\t\t${isValidCSS("text-transform",d)}\n\t\t${isValidCSS("text-decoration",u)}\n\t\t${isValidCSS("line-height",p)}\n\t\t${isValidCSS("letter-spacing",g)}\n\t`,b=a&&400!==a?"400i"===a?":ital@1":a?.includes("00i")?`: ital, wght@1, ${a?.replace("00i","00")} `:`: wght@${a} `:"",x=S?"":`https://fonts.googleapis.com/css2?family=${r?.split(" ").join("+")}${b.replace(/ /g,"")}&display=swap`;return{googleFontLink:!o||S?"":`@import url(${x});`,styles:`${t}{\n\t\t\t${w}\n\t\t}\n\t\t${tabBreakpoint} {\n\t\t\t${t}{\n\t\t\t\t${isValidCSS("font-size",h(m))}\n\t\t\t}\n\t\t}\n\t\t${mobileBreakpoint} {\n\t\t\t${t}{\n\t\t\t\t${isValidCSS("font-size",h(y))}\n\t\t\t}\n\t\t}`.replace(/\s+/g," ").trim()}},getBoxCSS=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""},getGradientCSS=t=>{const{type:e="linear",radialType:i="ellipse",colors:r=[],centerPositions:n={x:0,y:0},angel:a=0}=t||{};if(isExist(t)){const t=r?.map((({color:t,position:e})=>`${t} ${e}%`)),s=`linear-gradient(${a}deg, ${t})`;return isValidCSS("background","radial"===e?`radial-gradient(${i} at ${n?.x}% ${n?.y}%,${t})`:s)}return""},getImagePosition=t=>{const{position:e="center center",xPosition:i=0,yPosition:r=0,attachment:n="",repeat:a="no-repeat",size:s="cover",customSize:o="0px"}=t||{},l=t=>"initial"!==t||isExist(t);return`\n\t\t${l(e)?`background-position: ${"custom"===e?`${i} ${r}`:e};`:""}\n\t\t${n&&l(n)?`background-attachment: ${n};`:""}\n\t\t${l(a)?`background-repeat: ${a};`:""}\n\t\t${l(s)?`background-size: ${"custom"===s?`${o} auto`:s};`:""}\n\t`},getImageCSS=(t={})=>t?{desktop:isExist(t.url)?`background-image: url(${t.url}); ${getImagePosition(t?.desktop)}`:"",tablet:isExist(t.url)?getImagePosition(t?.tablet):"",mobile:isExist(t.url)?getImagePosition(t?.mobile):""}:"",getVideoCSS=(t,e)=>{const{url:i,loop:r}=t||{},n=document.querySelector(e),a=n?.querySelector(".bPlVideo"),s=document.createElement("video");return s.muted=!0,s.autoplay=!0,s.classList.add("bPlVideo"),a||n&&i&&(s.innerHTML=`<source src=${i}></source>`,n.appendChild(s)),s.loop=r,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}`},getAdvBGCSS=(t,e,i=!1)=>{const{type:r="color",color:n,gradient:a,img:s,video:o}=t||{},l="color"===r?isValidCSS("background",n):"gradient"===r?getGradientCSS(a):"image"===r?getImageCSS(s).desktop:"",c="image"===r?getImageCSS(s).tablet:"",d="image"===r?getImageCSS(s).mobile:"",u=i?`${e}:hover`:e;return`\n\t\t${"video"===r?getVideoCSS(o,e):""}\n\n\t\t${l?`${u}{\n\t\t\t${l}\n\t\t}`:""}\n\n\t\t${c?`${data_tabBreakpoint} {\n\t\t\t${u}{\n\t\t\t\t${c}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${d?`${data_mobileBreakpoint} {\n\t\t\t${u}{\n\t\t\t\t${d}\n\t\t\t}\n\t\t}`:""}\n\t`.replace(/\s+/g," ").trim()},getOverlayCSS=(t,e,i=!1)=>{const{isEnabled:r,colors:n,opacity:a=1,blend:s,filter:o="",blur:l=0,brightness:c=100,contrast:d=100,saturation:u=100,hue:p=0,position:g={top:0,right:0,bottom:0,left:0},zIndex:S=-1}=t||{},M=`${100!==c?`brightness(${c}%)`:""} ${100!==d?`contrast(${d}%)`:""} ${100!==u?`saturate(${u}%)`:""} ${0!==l?`blur(${l}px)`:""} ${0!==p?`hue-rotate(${p}deg)`:""}`,m=`${o}: ${o?M:""}; -webkit-${o}: ${o?M:""};`,y=i?`${e}:hover::after`:`${e}::after`;return r?`\n\t\t${e}{\n\t\t\tposition:relative;\n\t\t\tz-index:1;\n\t\t}\n\t\t${e}::after{\n\t\t\tcontent: '';\n\t\t\tposition: absolute;\n\t\t\ttop:${isExist(g.top)?g.top:0};\n\t\t\tright:${isExist(g.right)?g.right:0};\n\t\t\tbottom:${isExist(g.bottom)?g.bottom:0};\n\t\t\tleft:${isExist(g.left)?g.left:0};\n\t\t\tz-index:${S};\n\t\t}\n\t\t${getAdvBGCSS(n,y,!1)}\n\t\t${y}{\n\t\t\t${isValidCSS("opacity",a)}\n\t\t\t${isValidCSS("mix-blend-mode",s)}\n\t\t\t${m}\n\t\t}\n\t`.replace(/\s+/g," ").trim():""},getTransformCSS=(t,e,i=!1)=>{const r=(t,e="desktop")=>{if(!isExist(t))return"";const{skew:i,scale:r,rotate:n,offset:a,flipX:s,flipY:o}=t,{threeDRotate:l}=n||{},{isProportion:c}=r||{},d=[];return isExist(i)&&(isExist(i?.[e]?.x)&&d.push(`skewX(${i[e].x}deg)`),isExist(i?.[e]?.y)&&d.push(`skewY(${i[e].y}deg)`)),c?isExist(r?.[e]?.scale)&&d.push(`scale(${r[e].scale})`):(isExist(r?.[e]?.x)&&d.push(`scaleX(${r[e].x})`),isExist(r?.[e]?.y)&&d.push(`scaleY(${r[e].y})`)),isExist(n)&&(isExist(n?.[e]?.z)&&d.push(`rotateZ(${n[e].z}deg)`),l&&(isExist(n?.[e]?.x)&&d.push(`rotateX(${n[e].x}deg)`),isExist(n?.[e]?.y)&&d.push(`rotateY(${n[e].y}deg)`))),isExist(a)&&(isExist(a?.[e]?.x)&&d.push(`translateX(${a[e].x})`),isExist(a?.[e]?.y)&&d.push(`translateY(${a[e].y})`)),isExist(s)&&d.push(s?"scaleX(-1)":""),isExist(o)&&d.push(o?"scaleY(-1)":""),0===d.length?"":isValidCSS("transform",d.join(" "))},n=i?`${e}:hover`:e;return`\n\t\t${n} {\n\t\t\t${r(t,"desktop")}\n\t\t}\n\t\t${data_tabBreakpoint}{\n\t\t\t${n} {\n\t\t\t\t${r(t,"tablet")}\n\t\t\t}\n\t\t}\n\t\t${data_mobileBreakpoint}{\n\t\t\t${n} {\n\t\t\t\t${r(t,"mobile")}\n\t\t\t}\n\t\t}\n\t`},getMaskCSS=t=>{const{isMask:e=!1,shape:i={type:"circle"},size:r={type:"contain",scale:"100%"},position:n={type:"center center",x:50,y:50},repeat:a="no-repeat"}=t||{},s=[{svg:circle,type:"circle"},{svg:flower,type:"flower"},{svg:sketch,type:"sketch"},{svg:triangle,type:"triangle"},{svg:blob,type:"blob"},{svg:hexagon,type:"hexagon"}];return e?`-webkit-mask-image: url(${"custom"===i.type?i.url:(o=i.type,s.find((t=>t.type===o))).svg});\n\t\t-webkit-mask-size: ${"custom"===r.type?r.scale:r.type};\n\t\t${"custom"===n.type?`${isValidCSS("-webkit-mask-position-x",n.x)}\n\t\t\t${isValidCSS("-webkit-mask-position-y",n.y)}`:`${isValidCSS("-webkit-mask-position",n.type)}`}\n\t\t${"cover"!==r.type?`-webkit-mask-repeat: ${a};`:""}`:"";var o},dimensionCSS=t=>{const{padding:e,margin:i,height:r,width:n}=t||{},a=(t,e)=>isValidCSS(t,e),s=(t,e,i)=>a(t,e?.[t]?.[i])+a(`min-${t}`,e?.min?.[i])+a(`max-${t}`,e?.max?.[i]),o=t=>isValidCSS("padding",getBoxCSS(t)),l=t=>isValidCSS("margin",getBoxCSS(t));return{desktop:o(e?.desktop)+l(i?.desktop)+s("height",r,"desktop")+s("width",n,"desktop"),tablet:o(e?.tablet)+l(i?.tablet)+s("height",r,"tablet")+s("width",n,"tablet"),mobile:o(e?.mobile)+l(i?.mobile)+s("height",r,"mobile")+s("width",n,"mobile")}},borderShadowCSS=t=>{const{normal:e,hover:i}=t||{},r=t=>{const{border:e,radius:i,shadow:r}=t||{},n=isValidCSS("border-radius",getBoxCSS(i)),a=isValidCSS("box-shadow",getMultiShadowCSS(r,"box"));return getBorderBoxCSS(e)+n+a};return{normal:r(e),hover:r(i)}},visibilityCSS=t=>{const{zIndex:e,overflow:i}=t||{},r=i?`overflow: ${i};`:"",n=t=>`${isValidCSS("z-index",e?.[t])} ${isValidCSS("position",isExist(e?.[t])?"relative":"")}`;return{desktop:n("desktop")+r,tablet:n("tablet"),mobile:n("mobile")}},responsiveCSS=(t,e)=>{const{desktop:i=!1,tablet:r=!1,mobile:n=!1}=t||{},a=e?"opacity: 0.5;":"display: none;",s=t=>t?a:"";return{desktop:s(i),tablet:s(r),mobile:s(n)}},transitionCSS=(t,e,i)=>{const{transition:r=.4}=t||{},{transition:n=.4}=e||{},{transition:a=200}=i||{};return`transition: background ${r}s, border ${n}s, border-radius ${n}s, box-shadow ${n}s, transform ${a}ms ease-in-out;`},animationFn=(t,e,i)=>{const r=i?`#${e} > div`:`#${e}`,n=document.querySelector(r);n&&t&&t.type&&(n.setAttribute("data-aos",t.type),n.setAttribute("data-aos-duration",1e3*t.duration||.4),n.setAttribute("data-aos-delay",1e3*t.delay||0),n.classList.contains("aos-init")||(n.classList.add("aos-init"),window?.AOS?.init()),i)&&new IntersectionObserver((t=>{t.forEach((t=>{t.intersectionRatio>.5?n.classList.add("aos-animate"):n.classList.remove("aos-animate")}))}),{threshold:[.5]}).observe(n)},generateCSS=(t,e,i=!1,r=!0)=>{const{dimension:n,transform:a,background:s,borderShadow:o,mask:l,animation:c,visibility:d,responsive:u,css:p=""}=e||{},g=i?`#${t}>div>div${r?":first-child":""}`:`#${t}>div`;animationFn(c,t,i);const S=dimensionCSS(n).desktop+visibilityCSS(d).desktop+transitionCSS(s,o,a)+getMaskCSS(l),M=dimensionCSS(n).tablet+visibilityCSS(d).tablet+responsiveCSS(u,i).tablet,m=dimensionCSS(n).mobile+visibilityCSS(d).mobile+responsiveCSS(u,i).mobile,y=borderShadowCSS(o).normal,h=borderShadowCSS(o).hover,w=responsiveCSS(u,i).desktop;return`\n\t\t${S||y?`${g} {\n\t\t\t${S}\n\t\t\t${y}\n\t\t}`:""}\n\t\t${h?`${g}:hover {\n\t\t\t${h}\n\t\t}`:""}\n\n\t\t${w?`${deskBreakpoint} {\n\t\t\t${g}{\n\t\t\t\t${w}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${M?`${data_tabBreakpoint} {\n\t\t\t${g}{\n\t\t\t\t${M}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${m?`${data_mobileBreakpoint} {\n\t\t\t${g}{\n\t\t\t\t${m}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${getAdvBGCSS(s?.normal,g)}\n\t\t${getAdvBGCSS(s?.hover,g,!0)}\n\t\t${getOverlayCSS(s?.overlay,g)}\n\t\t${getOverlayCSS(s?.hoverOverlay,g,!0)}\n\t\t${isExist(a?.normal)?getTransformCSS(a?.normal,g):""}\n\t\t${isExist(a?.hover)?getTransformCSS(a?.hover,g,!0):""}\n\n\t\t${p}\n\t`.replace(/\s+/g," ")},Advanced_generateCSS=generateCSS,Style=({attributes:t,id:e,isBackend:i=!1})=>{const{advanced:r}=t;return(0,external_React_.createElement)("style",{dangerouslySetInnerHTML:{__html:`\n\t\t${Advanced_generateCSS(e,r,i)}\n\t`}})},Common_Style=Style;var useRunJs=__webpack_require__(2343);const HTMLBlock=({attributes:t})=>{const{htmlCode:e}=t;return(0,useRunJs.I)(e,10),(0,external_React_.createElement)("div",{dangerouslySetInnerHTML:{__html:e}})},Frontend_HTMLBlock=HTMLBlock;document.addEventListener("DOMContentLoaded",(()=>{document.querySelectorAll(".wp-block-b-blocks-html").forEach((t=>{const e=JSON.parse(t.dataset.attributes);(0,client.H)(t).render((0,external_React_.createElement)(external_React_.Fragment,null,(0,external_React_.createElement)(Common_Style,{attributes:e,id:t.id}),(0,external_React_.createElement)(Frontend_HTMLBlock,{attributes:e}))),t?.removeAttribute("data-attributes")}))}))})(); |
|
1
|
+(()=>{"use strict";var __webpack_modules__={2343(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{I:()=>useRunJs});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(1609),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);const useRunJs=(htmlCode,delay=300)=>{const timer=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)();(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{if(htmlCode)return timer.current&&clearTimeout(timer.current),timer.current=setTimeout((()=>{const matchedScripts=htmlCode.match(/<script\b[^>]*>([\s\S]*?)<\/script>/gm);matchedScripts&&matchedScripts.forEach((scriptTag=>{const scriptContentMatch=scriptTag.match(/<script\b[^>]*>([\s\S]*?)<\/script>/i);scriptContentMatch&&scriptContentMatch[1]&&eval(scriptContentMatch[1])}))}),delay),()=>{timer.current&&clearTimeout(timer.current)}}),[htmlCode,delay])}},1609(t){t.exports=window.React}},__webpack_module_cache__={};function __webpack_require__(t){var e=__webpack_module_cache__[t];if(void 0!==e)return e.exports;var i=__webpack_module_cache__[t]={exports:{}};return __webpack_modules__[t](i,i.exports,__webpack_require__),i.exports}__webpack_require__.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return __webpack_require__.d(e,{a:e}),e},__webpack_require__.d=(t,e)=>{for(var i in e)__webpack_require__.o(e,i)&&!__webpack_require__.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},__webpack_require__.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var __webpack_exports__={};const external_ReactDOM_namespaceObject=window.ReactDOM,isExist=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),escapeHTML=(t="")=>t?t?.replace(/<([a-z][a-z0-9]*)\b([^>]*)>/gi,((t,e,i)=>{const n=["style","href","target","rel","class"];return["b","strong","i","em","span","a","br"].includes(e.toLowerCase())?`<${e}${i.replace(/([a-z0-9-]+)=["'][^"']*["']/gi,((t,e)=>n.includes(e.toLowerCase())?t:""))}>`:t?.replace(/</g,"<").replace(/>/g,">")})):"",sanitizeURL=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}},sanitizeHTML=t=>{const e=(new DOMParser).parseFromString(t,"text/html"),i=["b","strong","i","em","span","a","br"],n=["style","href","target","rel","class"];return e.body.querySelectorAll("*").forEach((t=>{i.includes(t.tagName.toLowerCase())?[...t.attributes].forEach((e=>{if(n.includes(e.name)||t.removeAttribute(e.name),"href"===e.name){const i=sanitizeURL(e.value);i?t.setAttribute("href",i):t.removeAttribute("href")}})):t.remove()})),e.body.innerHTML},sanitizeInput=t=>t.replace(/[<>]/g,"").replace(/javascript:/gi,"").replace(/on\w+=/gi,"").trim();class SVGSanitizer{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","d","x","y","width","height","cx","cy","r","rx","ry","points","x1","y1","x2","y2","fill","stroke","stroke-width","stroke-linecap","stroke-linejoin","opacity","fill-opacity","stroke-opacity","viewBox","preserveAspectRatio","xmlns","xmlns:xlink"],allowedProtocols:["http","https","data"],removeScripts:!0,removeEvents:!0,removeExternalResources:!0,sanitizeStyle:!0},this.options={...this.defaultOptions,...t}}sanitize(t){const e=(new DOMParser).parseFromString(t,"image/svg+xml");return this.removeScripts(e),this.sanitizeElements(e),(new XMLSerializer).serializeToString(e.documentElement)}async sanitizeFile(t){const e=await fetch(t),i=await e.text();return this.sanitize(`${i}`)}removeScripts(t){this.options.removeScripts&&(t.querySelectorAll("script").forEach((t=>t.remove())),t.querySelectorAll("*").forEach((t=>{t.tagName.toLowerCase().includes("script")&&t.remove()})))}sanitizeElements(t){t.querySelectorAll("*").forEach((t=>{const e=t.tagName.toLowerCase();this.options.allowedTags.includes(e)?this.sanitizeAttributes(t):t.remove()}))}sanitizeAttributes(t){Array.from(t.attributes).forEach((e=>{const i=e.name.toLowerCase(),n=e.value;if(this.options.removeEvents&&i.startsWith("on"))return void t.removeAttribute(i);if(this.options.removeExternalResources&&("href"===i||"xlink:href"===i)&&!this.isAllowedUrl(n))return void t.removeAttribute(i);const r=i.replace("xlink:","");this.options.allowedAttributes.includes(r)?"style"===i&&this.options.sanitizeStyle&&this.sanitizeStyleAttribute(t,n):t.removeAttribute(i)}))}isAllowedUrl(t){if(t.startsWith("data:")||t.startsWith("#"))return!0;try{const e=new URL(t);return this.options.allowedProtocols.includes(e.protocol.replace(":",""))}catch{return!1}}sanitizeStyleAttribute(t,e){const i=e.replace(/expression\(|javascript:|url\(javascript:/gi,"").replace(/behavior\s*:/gi,"").replace(/binding\s*:/gi,"");t.setAttribute("style",i)}}const deskBreakpoint="@media only screen and (min-width: 1025px)",tabBreakpoint="@media only screen and (max-width: 1024px)",mobileBreakpoint="@media only screen and (max-width: 640px)",primaryColor="#146EF5",primaryColor100="#e7f0fe",primaryColor200="#b6d2fc",primaryColor300="#85b4fa",primaryColor400="#5495f8",primaryColor500="#2377f6",primaryColor600="#095edc",primaryColor700="#0749ab",primaryColor800="#05347a",primaryColor900="#031f49",primaryColor1000="#010a18",secondaryColor="#FF7A00",titleColor="#070127",contentColor="#485781",gradient="linear-gradient(135deg, #0040E3, #18D4FD)";var external_React_=__webpack_require__(1609),React,_path;function _extends(){return _extends=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)({}).hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},_extends.apply(null,arguments)}var SvgBlob=function(t){return React.createElement("svg",_extends({xmlns:"http://www.w3.org/2000/svg",width:121,height:89},t),_path||(_path=React.createElement("path",{d:"M100.016 7.397c-9.77-6.177-26.708-11.063-35.59-3.684-7.442 6.177-2.38 15.204-9.416 21.59-10.6 9.614-28.159-5.442-41.858 2.632C.676 35.255-4.28 59.149 4.278 73.798c13.137 22.524 53.13 13.854 61.194 12.106 4.5-.993 53.495-12.265 55.469-42.705.957-14.946-9.841-28.78-20.925-35.802"})))};const blob="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjEuMDAwMiIgaGVpZ2h0PSI4OSIgdmlld0JveD0iMCAwIDEyMS4wMDAyIDg5Ij48cGF0aCBkPSJNMTAwLjAxNiw3LjM5NzJDOTAuMjQ1MiwxLjIyLDczLjMwODQtMy42NjYzLDY0LjQyNTUsMy43MTI2LDU2Ljk4MzYsOS44OSw2Mi4wNDY5LDE4LjkxNzQsNTUuMDEsMjUuMzAzMmMtMTAuNiw5LjYxMzQtMjguMTU4OS01LjQ0MjMtNDEuODU4NCwyLjYzMThDLjY3NTcsMzUuMjU0My00LjI3OTEsNTkuMTQ4OSw0LjI3ODEsNzMuNzk3NWMxMy4xMzY5LDIyLjUyNCw1My4xMywxMy44NTQxLDYxLjE5MzYsMTIuMTA2MSw0LjUwMDctLjk5MzEsNTMuNDk1My0xMi4yNjUsNTUuNDY5My00Mi43MDQzQzEyMS44OTgsMjguMjUyOCwxMTEuMSwxNC40MTg1LDEwMC4wMTYsNy4zOTcyWiIvPjwvc3ZnPg==";var circle_React,_circle;function circle_extends(){return circle_extends=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)({}).hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},circle_extends.apply(null,arguments)}var SvgCircle=function(t){return circle_React.createElement("svg",circle_extends({xmlns:"http://www.w3.org/2000/svg",width:89,height:89},t),_circle||(_circle=circle_React.createElement("circle",{cx:44.5,cy:44.5,r:44.5})))};const circle="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4OSIgaGVpZ2h0PSI4OSIgdmlld0JveD0iMCAwIDg5IDg5Ij48Y2lyY2xlIGN4PSI0NC41IiBjeT0iNDQuNSIgcj0iNDQuNSIvPjwvc3ZnPg==";var flower_React,flower_path;function flower_extends(){return flower_extends=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)({}).hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},flower_extends.apply(null,arguments)}var SvgFlower=function(t){return flower_React.createElement("svg",flower_extends({xmlns:"http://www.w3.org/2000/svg",width:89,height:89},t),flower_path||(flower_path=flower_React.createElement("path",{d:"m76.133 44.475 6.33-6.328a22.349 22.349 0 0 0-31.613-31.6l-6.318 6.318-6.372-6.318a22.352 22.352 0 1 0-31.612 31.61l6.318 6.318-6.318 6.372a22.352 22.352 0 0 0 31.612 31.61l6.318-6.318 6.372 6.253a22.349 22.349 0 0 0 31.612-31.6Z"})))};const flower="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4OSIgaGVpZ2h0PSI4OSIgdmlld0JveD0iMCAwIDg5IDg5Ij48cGF0aCBkPSJNNzYuMTMzMiw0NC40NzUybDYuMzI4OS02LjMyODVBMjIuMzQ4NiwyMi4zNDg2LDAsMCwwLDUwLjg1LDYuNTQ3NEw0NC41MzIsMTIuODY1MSwzOC4xNiw2LjU0NzRhMjIuMzUyNCwyMi4zNTI0LDAsMSwwLTMxLjYxMiwzMS42MWw2LjMxODEsNi4zMTc3TDYuNTQ3OCw1MC44NDdhMjIuMzUyNCwyMi4zNTI0LDAsMCwwLDMxLjYxMiwzMS42MWw2LjMxODEtNi4zMTc3TDUwLjg1LDgyLjM5MjJhMjIuMzQ4NiwyMi4zNDg2LDAsMCwwLDMxLjYxMi0zMS41OTkzWiIvPjwvc3ZnPg==";var hexagon_React,hexagon_path;function hexagon_extends(){return hexagon_extends=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)({}).hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},hexagon_extends.apply(null,arguments)}var SvgHexagon=function(t){return hexagon_React.createElement("svg",hexagon_extends({xmlns:"http://www.w3.org/2000/svg",width:103,height:89},t),hexagon_path||(hexagon_path=hexagon_React.createElement("path",{d:"M77.211 0H25.752L0 44.505 25.752 89h51.46L103 44.505ZM61.77 62.261H41.222L30.939 44.504 41.222 26.74h20.547l10.283 17.766Z"})))};const hexagon="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDMiIGhlaWdodD0iODkiIHZpZXdCb3g9IjAgMCAxMDMgODkiPjxwYXRoIGQ9Ik03Ny4yMTE0LDBIMjUuNzUyM0wwLDQ0LjUwNDUsMjUuNzUyMyw4OUg3Ny4yMTE0TDEwMyw0NC41MDQ1Wk02MS43NjkxLDYyLjI2MUg0MS4yMjE4TDMwLjkzOTEsNDQuNTA0NSw0MS4yMjE4LDI2LjczOUg2MS43NjkxTDcyLjA1MTksNDQuNTA0NVoiLz48L3N2Zz4=";var sketch_React,sketch_path;function sketch_extends(){return sketch_extends=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)({}).hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},sketch_extends.apply(null,arguments)}var SvgSketch=function(t){return sketch_React.createElement("svg",sketch_extends({xmlns:"http://www.w3.org/2000/svg",width:91.114,height:89},t),sketch_path||(sketch_path=sketch_React.createElement("path",{d:"m82.175 37.527 1.612-1.612c.948-.949-6.37-5.931-7.05-6.378a45 45 0 0 0-5.776-3.325c-.247-.115-.602-.3-.987-.478q1.781-1.897 3.586-3.771c.949-.98-6.363-5.923-7.05-6.37a44 44 0 0 0-5.76-3.332l-.293-.147 1.396-1.542c.94-1.05-6.332-5.9-7.05-6.37a44 44 0 0 0-5.76-3.34c-.54-.247-2.314-1.265-2.847-.687q-13.458 14.993-28.08 28.891c-7.844 7.45-16.567 15.58-18.11 26.87-.115.825 1.327 1.974 1.744 2.314a41 41 0 0 0 5.314 4.057 44 44 0 0 0 5.76 3.34c.64.293 2.176 1.203 2.847.686l2.074-1.558c1.45 1.859 5.97 4.72 6.671 5.175l1.489.956a257 257 0 0 0-4.435 5.622c-.91 1.188 6.263 5.862 7.05 6.37a44 44 0 0 0 5.76 3.332c.602.278 2.23 1.234 2.846.694l9.255-8.098c.825 2.568 14.569 11.63 15.672 9.972L91.06 45.362c.632-.948-4.335-5.036-8.885-7.835"})))};const sketch="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5MS4xMTQzIiBoZWlnaHQ9Ijg4Ljk5OTkiIHZpZXdCb3g9IjAgMCA5MS4xMTQzIDg4Ljk5OTkiPjxwYXRoIGQ9Ik04Mi4xNzQ5LDM3LjUyNjZsMS42MTE5LTEuNjExOWMuOTQ4Ni0uOTQ4Ny02LjM3LTUuOTMwOS03LjA0OTItNi4zNzgyYTQ1LjE1MTYsNDUuMTUxNiwwLDAsMC01Ljc3NjYtMy4zMjQxYy0uMjQ2OC0uMTE1Ny0uNjAxNi0uMzAwOC0uOTg3Mi0uNDc4MnExLjc4MTYtMS44OTcyLDMuNTg2My0zLjc3MTNjLjk0ODYtLjk4LTYuMzYyOC01LjkyMzItNy4wNDkyLTYuMzcwNUE0NC4xNTc5LDQ0LjE1NzksMCwwLDAsNjAuNzUsMTIuMjYwNmwtLjI5My0uMTQ2NSwxLjM5NTktMS41NDI1Yy45NDA5LTEuMDQ4OS02LjMzMTktNS45LTcuMDQ5Mi02LjM3QTQ0LjIxMiw0NC4yMTIsMCwwLDAsNDkuMDQyMi44NjE2Yy0uNTQtLjI0NjctMi4zMTM3LTEuMjY0OC0yLjg0NTgtLjY4NjRRMzIuNzM4MSwxNS4xNjgyLDE4LjExNTQsMjkuMDY2Yy03Ljg0MzYsNy40NS0xNi41NjYzLDE1LjU3OTEtMTguMTA4OCwyNi44Ny0uMTE1Ny44MjUzLDEuMzI2NSwxLjk3NDQsMS43NDMsMi4zMTM4YTQwLjc5OSw0MC43OTksMCwwLDAsNS4zMTM5LDQuMDU2Nyw0NC4yMTc0LDQ0LjIxNzQsMCwwLDAsNS43NjExLDMuMzRjLjY0LjI5MzEsMi4xNzUsMS4yMDMxLDIuODQ1OS42ODY0bDIuMDc0Ny0xLjU1NzljMS40NSwxLjg1ODcsNS45Njk0LDQuNzIsNi42NzEyLDUuMTc1bDEuNDg4NS45NTY0QzI0LjQwMSw3Mi43NjQ3LDIyLjkyLDc0LjYzMTEsMjEuNDcsNzYuNTI4M2MtLjkxLDEuMTg3OCw2LjI2MjUsNS44NjE1LDcuMDQ5Miw2LjM3YTQ0LjE2MzMsNDQuMTYzMywwLDAsMCw1Ljc2MTEsMy4zMzE4Yy42MDE2LjI3NzYsMi4yMjg5LDEuMjM0LDIuODQ1OS42OTQxbDkuMjU1LTguMDk4Yy44MjUyLDIuNTY4MiwxNC41Njg3LDExLjYzLDE1LjY3MTYsOS45NzIxTDkxLjA2LDQ1LjM2MjRDOTEuNjkyLDQ0LjQxMzgsODYuNzI1Miw0MC4zMjYyLDgyLjE3NDksMzcuNTI2NloiLz48L3N2Zz4=";var triangle_React,triangle_path;function triangle_extends(){return triangle_extends=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)({}).hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},triangle_extends.apply(null,arguments)}var SvgTriangle=function(t){return triangle_React.createElement("svg",triangle_extends({xmlns:"http://www.w3.org/2000/svg",width:103,height:89},t),triangle_path||(triangle_path=triangle_React.createElement("path",{d:"M77.255 44.505 51.5 0 25.755 44.505 0 89h103z"})))};const triangle="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDMiIGhlaWdodD0iODkiIHZpZXdCb3g9IjAgMCAxMDMgODkiPjxwb2x5Z29uIHBvaW50cz0iNzcuMjU1IDQ0LjUwNSA1MS41IDAgMjUuNzU1IDQ0LjUwNSAwIDg5IDUxLjUgODkgMTAzIDg5IDc3LjI1NSA0NC41MDUiLz48L3N2Zz4=";var defaultGradient,getCSS_primaryColor300,getCSS_tabBreakpoint,getCSS_mobileBreakpoint;const safeCSSUrl=t=>{const e=sanitizeURL(t);return e?`url('${e.replace(/['"()]/g,"")}')`:"none"},isValidCSS=(t,e)=>isExist(e)?`${t}: ${e};`:"",getBackgroundCSS=(t,e=!0,i=!0,n=!0)=>{const{type:r="solid",color:a="",gradient:o=defaultGradient,image:s={},position:l="center center",attachment:c="",repeat:d="no-repeat",size:p="",overlayColor:u=""}=t||{};return"gradient"===r&&i?isValidCSS("background",o):"image"===r&&n?`background: ${safeCSSUrl(s?.url)};\n\t\t\t\t${isValidCSS("background-color",u)}\n\t\t\t\t${isValidCSS("background-position",l)}\n\t\t\t\t${isValidCSS("background-size",p)}\n\t\t\t\t${isValidCSS("background-repeat",d)}\n\t\t\t\t${isValidCSS("background-attachment",c)}\n\t\t\t\t${isValidCSS("background-repeat",d)}\n\t\t\t\tbackground-blend-mode: overlay;`:e&&isValidCSS("background",a)},getBorderCSS=t=>{const{width:e="",style:i="solid",color:n="",side:r="all",radius:a=""}=t||{},o=t=>{const e=r?.toLowerCase();return e?.includes("all")||e?.includes(t)},s=`${e} ${i} ${n}`,l=`\n\t\t${e&&0!==parseInt(e)?["top","right","bottom","left"].map((t=>o(t)?`border-${t}: ${s};`:"")).join(""):""}\n\t\t${isValidCSS("border-radius",a)}\n\t`;return l},getBorderBoxCSS=t=>{if(!t)return"";const e=t=>{const{color:e="#000000",style:i="solid",width:n="0px"}=t;return`${n} ${i} ${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((i=>t[i]?`border-${i}: ${e(t[i])};`:"")).join(" ").trim():isValidCSS("border",e(t))},getColorsCSS=t=>{const{color:e="",bgType:i="solid",bg:n="",gradient:r=defaultGradient}=t||{};return`\n\t\t${isValidCSS("color",e)}\n\t\t${r||n?isValidCSS("background","gradient"===i?r:n):""}\n\t`},getIconCSS=(t,e=!0,i=!0)=>{const{fontSize:n=16,colorType:r="solid",color:a="inherit",gradient:o=defaultGradient}=t||{},s="gradient"===r?`color: transparent; background-image: ${o}; -webkit-background-clip: text; background-clip: text;`:isValidCSS("color",a);return`\n\t\t${n&&e?isValidCSS("font-size",n?`${n}px`:""):""}\n\t\t${i?s:""}\n\t`},getMultiShadowCSS=(t,e="box")=>{let i="";return t?.map(((n,r)=>{const{hOffset:a="0px",vOffset:o="0px",blur:s="0px",spreed:l="0px",color:c="#e7f0fe",isInset:d=!1}=n||{},p=d?"inset":"",u=`${a} ${o} ${s}`,m=r+1>=t.length?"":", ";i+="text"===e?`${u} ${c}${m}`:`${u} ${l} ${c} ${p}${m}`})),i||""},getSeparatorCSS=t=>{const{width:e="50%",height:i="2px",style:n="solid",color:r=getCSS_primaryColor300}=t||{};return`\n\t\t${isValidCSS("width",e)}\n\t\t${0===parseInt(i)?"":`border-top: ${i} ${n} ${r};`}\n\t`},getShadowCSS=(t,e="box")=>{const{hOffset:i="0px",vOffset:n="0px",blur:r="0px",spreed:a="0px",color:o="#7090b0",isInset:s=!1}=t||{},l=`${i} ${n} ${r}`;return("text"===e?`${l} ${o}`:`${l} ${a} ${o} ${s?"inset":""}`)||"none"},getSpaceCSS=t=>{const{side:e=2,vertical:i="0px",horizontal:n="0px",top:r="0px",right:a="0px",bottom:o="0px",left:s="0px"}=t||{};return 2===e?`${i} ${n}`:`${r} ${a} ${o} ${s}`},getTypoCSS=(t,e,i=!0)=>{const{fontFamily:n="Default",fontCategory:r="sans-serif",fontVariant:a=400,fontWeight:o,isUploadFont:s=!0,fontSize:l={desktop:null,tablet:null,mobile:null},fontStyle:c,textTransform:d,textDecoration:p,lineHeight:u,letterSpace:m}=e||{},S=!i||!n||"Default"===n,g=l?.desktop||l,M=l?.tablet||g,$=l?.mobile||M,b=t=>{const e=String(t);return["px","em","rem","%","vh","vw"].some((t=>e.endsWith(t)))?e:"number"==typeof t?`${e}px`:""},y=`\n\t\t${S?"":`font-family: '${n}', ${r};`}\n\t\t${isValidCSS("font-weight",o)}\n\t\t${isValidCSS("font-size",b(g))}\n\t\t${isValidCSS("font-style",c)}\n\t\t${isValidCSS("text-transform",d)}\n\t\t${isValidCSS("text-decoration",p)}\n\t\t${isValidCSS("line-height",u)}\n\t\t${isValidCSS("letter-spacing",m)}\n\t`,x=a&&400!==a?"400i"===a?":ital@1":a?.includes("00i")?`: ital, wght@1, ${a?.replace("00i","00")} `:`: wght@${a} `:"",h=S?"":`https://fonts.googleapis.com/css2?family=${n?.split(" ").join("+")}${x.replace(/ /g,"")}&display=swap`;return{googleFontLink:!s||S?"":`@import url(${h});`,styles:`${t}{\n\t\t\t${y}\n\t\t}\n\t\t${getCSS_tabBreakpoint} {\n\t\t\t${t}{\n\t\t\t\t${isValidCSS("font-size",b(M))}\n\t\t\t}\n\t\t}\n\t\t${getCSS_mobileBreakpoint} {\n\t\t\t${t}{\n\t\t\t\t${isValidCSS("font-size",b($))}\n\t\t\t}\n\t\t}`.replace(/\s+/g," ").trim()}},getBoxCSS=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""},getGradientCSS=t=>{const{type:e="linear",radialType:i="ellipse",colors:n=[],centerPositions:r={x:0,y:0},angel:a=0}=t||{};if(isExist(t)){const t=n?.map((({color:t,position:e})=>`${t} ${e}%`)),o=`linear-gradient(${a}deg, ${t})`;return isValidCSS("background","radial"===e?`radial-gradient(${i} at ${r?.x}% ${r?.y}%,${t})`:o)}return""},getImagePosition=t=>{const{position:e="center center",xPosition:i=0,yPosition:n=0,attachment:r="",repeat:a="no-repeat",size:o="cover",customSize:s="0px"}=t||{},l=t=>"initial"!==t||isExist(t);return`\n\t\t${l(e)?`background-position: ${"custom"===e?`${i} ${n}`:e};`:""}\n\t\t${r&&l(r)?`background-attachment: ${r};`:""}\n\t\t${l(a)?`background-repeat: ${a};`:""}\n\t\t${l(o)?`background-size: ${"custom"===o?`${s} auto`:o};`:""}\n\t`},getImageCSS=(t={})=>t?{desktop:isExist(t.url)?`background-image: ${safeCSSUrl(t.url)}; ${getImagePosition(t?.desktop)}`:"",tablet:isExist(t.url)?getImagePosition(t?.tablet):"",mobile:isExist(t.url)?getImagePosition(t?.mobile):""}:"",getVideoCSS=(t,e)=>{const{url:i,loop:n}=t||{},r=document.querySelector(e),a=r?.querySelector(".bPlVideo"),o=document.createElement("video");if(o.muted=!0,o.autoplay=!0,o.classList.add("bPlVideo"),!a&&r&&i){const t=sanitizeURL(i);if(t){const e=document.createElement("source");e.src=t,o.appendChild(e),r.appendChild(o)}}return o.loop=n,o.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}`},getAdvBGCSS=(t,e,i=!1)=>{const{type:n="color",color:r,gradient:a,img:o,video:s}=t||{},l="color"===n?isValidCSS("background",r):"gradient"===n?getGradientCSS(a):"image"===n?getImageCSS(o).desktop:"",c="image"===n?getImageCSS(o).tablet:"",d="image"===n?getImageCSS(o).mobile:"",p=i?`${e}:hover`:e;return`\n\t\t${"video"===n?getVideoCSS(s,e):""}\n\n\t\t${l?`${p}{\n\t\t\t${l}\n\t\t}`:""}\n\n\t\t${c?`${tabBreakpoint} {\n\t\t\t${p}{\n\t\t\t\t${c}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${d?`${mobileBreakpoint} {\n\t\t\t${p}{\n\t\t\t\t${d}\n\t\t\t}\n\t\t}`:""}\n\t`.replace(/\s+/g," ").trim()},getOverlayCSS=(t,e,i=!1)=>{const{isEnabled:n,colors:r,opacity:a=1,blend:o,filter:s="",blur:l=0,brightness:c=100,contrast:d=100,saturation:p=100,hue:u=0,position:m={top:0,right:0,bottom:0,left:0},zIndex:S=-1}=t||{},g=`${100!==c?`brightness(${c}%)`:""} ${100!==d?`contrast(${d}%)`:""} ${100!==p?`saturate(${p}%)`:""} ${0!==l?`blur(${l}px)`:""} ${0!==u?`hue-rotate(${u}deg)`:""}`,M=`${s}: ${s?g:""}; -webkit-${s}: ${s?g:""};`,$=i?`${e}:hover::after`:`${e}::after`;return n?`\n\t\t${e}{\n\t\t\tposition:relative;\n\t\t\tz-index:1;\n\t\t}\n\t\t${e}::after{\n\t\t\tcontent: '';\n\t\t\tposition: absolute;\n\t\t\ttop:${isExist(m.top)?m.top:0};\n\t\t\tright:${isExist(m.right)?m.right:0};\n\t\t\tbottom:${isExist(m.bottom)?m.bottom:0};\n\t\t\tleft:${isExist(m.left)?m.left:0};\n\t\t\tz-index:${S};\n\t\t}\n\t\t${getAdvBGCSS(r,$,!1)}\n\t\t${$}{\n\t\t\t${isValidCSS("opacity",a)}\n\t\t\t${isValidCSS("mix-blend-mode",o)}\n\t\t\t${M}\n\t\t}\n\t`.replace(/\s+/g," ").trim():""},getTransformCSS=(t,e,i=!1)=>{const n=(t,e="desktop")=>{if(!isExist(t))return"";const{skew:i,scale:n,rotate:r,offset:a,flipX:o,flipY:s}=t,{threeDRotate:l}=r||{},{isProportion:c}=n||{},d=[];return isExist(i)&&(isExist(i?.[e]?.x)&&d.push(`skewX(${i[e].x}deg)`),isExist(i?.[e]?.y)&&d.push(`skewY(${i[e].y}deg)`)),c?isExist(n?.[e]?.scale)&&d.push(`scale(${n[e].scale})`):(isExist(n?.[e]?.x)&&d.push(`scaleX(${n[e].x})`),isExist(n?.[e]?.y)&&d.push(`scaleY(${n[e].y})`)),isExist(r)&&(isExist(r?.[e]?.z)&&d.push(`rotateZ(${r[e].z}deg)`),l&&(isExist(r?.[e]?.x)&&d.push(`rotateX(${r[e].x}deg)`),isExist(r?.[e]?.y)&&d.push(`rotateY(${r[e].y}deg)`))),isExist(a)&&(isExist(a?.[e]?.x)&&d.push(`translateX(${a[e].x})`),isExist(a?.[e]?.y)&&d.push(`translateY(${a[e].y})`)),isExist(o)&&d.push(o?"scaleX(-1)":""),isExist(s)&&d.push(s?"scaleY(-1)":""),0===d.length?"":isValidCSS("transform",d.join(" "))},r=i?`${e}:hover`:e;return`\n\t\t${r} {\n\t\t\t${n(t,"desktop")}\n\t\t}\n\t\t${tabBreakpoint}{\n\t\t\t${r} {\n\t\t\t\t${n(t,"tablet")}\n\t\t\t}\n\t\t}\n\t\t${mobileBreakpoint}{\n\t\t\t${r} {\n\t\t\t\t${n(t,"mobile")}\n\t\t\t}\n\t\t}\n\t`},getMaskCSS=t=>{const{isMask:e=!1,shape:i={type:"circle"},size:n={type:"contain",scale:"100%"},position:r={type:"center center",x:50,y:50},repeat:a="no-repeat"}=t||{},o=[{svg:circle,type:"circle"},{svg:flower,type:"flower"},{svg:sketch,type:"sketch"},{svg:triangle,type:"triangle"},{svg:blob,type:"blob"},{svg:hexagon,type:"hexagon"}];return e?`-webkit-mask-image: ${"custom"===i.type?safeCSSUrl(i.url):`url(${(s=i.type,o.find((t=>t.type===s))).svg})`};\n\t\t-webkit-mask-size: ${"custom"===n.type?n.scale:n.type};\n\t\t${"custom"===r.type?`${isValidCSS("-webkit-mask-position-x",r.x)}\n\t\t\t${isValidCSS("-webkit-mask-position-y",r.y)}`:`${isValidCSS("-webkit-mask-position",r.type)}`}\n\t\t${"cover"!==n.type?`-webkit-mask-repeat: ${a};`:""}`:"";var s},dimensionCSS=t=>{const{padding:e,margin:i,height:n,width:r}=t||{},a=(t,e)=>isValidCSS(t,e),o=(t,e,i)=>a(t,e?.[t]?.[i])+a(`min-${t}`,e?.min?.[i])+a(`max-${t}`,e?.max?.[i]),s=t=>isValidCSS("padding",getBoxCSS(t)),l=t=>isValidCSS("margin",getBoxCSS(t));return{desktop:s(e?.desktop)+l(i?.desktop)+o("height",n,"desktop")+o("width",r,"desktop"),tablet:s(e?.tablet)+l(i?.tablet)+o("height",n,"tablet")+o("width",r,"tablet"),mobile:s(e?.mobile)+l(i?.mobile)+o("height",n,"mobile")+o("width",r,"mobile")}},positionCSS=(t,e)=>{const{desktop:i={},tablet:n={},mobile:r={}}=t,a=(t={})=>`\n\t\t${e}{\n\t\t\t${isValidCSS("position",t?.type)}\n\t\t\t${isValidCSS("left",t?.horizontal?.left)}\n\t\t\t${isValidCSS("right",t?.horizontal?.right)}\n\t\t\t${isValidCSS("top",t?.vertical?.top)}\n\t\t\t${isValidCSS("bottom",t?.vertical?.bottom)}\n\t\t}\n\t`;return`\n\t\t\n\t\t${i?.type?a(i):""}\n\t\t\n\t\t${tabBreakpoint}{\n\t\t\t${n?.type?a(n):""}\n\t\t}\n\n\t\t${mobileBreakpoint}{\n\t\t\t${r?.type?a(r):""}\n\t\t}\n\t`},floatingCSS=(t,e,i="")=>{const{translate:n={},rotate:r={},scale:a={},isEnabled:o=!1}=t||{};if(!o)return"";const s=[],l=[];return[{name:"Translate",property:"translate",values:n,value:t=>["x","y"].some((e=>isExist(n?.[e]?.[t])))?`${n?.x?.[t]||0}px ${n?.y?.[t]||0}px`:""},{name:"Rotate",property:"transform",values:r,value:t=>["x","y","z"].filter((e=>isExist(r?.[e]?.[t]))).map((e=>`rotate${e.toUpperCase()}(${r[e][t]}deg)`)).join(" ")},{name:"Scale",property:"scale",values:a,value:t=>{const e=a?.y?.[t],i=a?.z?.[t];return isExist(e)||isExist(i)?isExist(i)?`1 ${isExist(e)?e:1} ${i}`:`1 ${e}`:""}}].forEach((({name:t,property:e,values:n,value:r})=>{const a=r("from"),o=r("to");if(!a||!o)return;const c=Number(n?.duration)>0?Number(n.duration):1e3,d=Number(n?.delay)>0?Number(n.delay):0,p=`advFloat${t}${i?`-${i}`:""}`;s.push(`@keyframes ${p}{ from{ ${e}: ${a}; } to{ ${e}: ${o}; } }`),l.push(`${p} ${c}ms ease-in-out ${d}ms infinite alternate`)})),l.length?`\n\t\t${s.join(" ")}\n\t\t${e}{\n\t\t\tanimation: ${l.join(", ")};\n\t\t}\n\t`:""},motionEffectsCSS=(t,e,i)=>{const{isEnable:n=!1,vertical:r={},horizontal:a={},transparency:o={},blur:s={},rotate:l={},scale:c={},effectsRelativeTo:d="viewport",effectOn:p=["desktop","tablet-portrait","mobile-portrait"],isMouseEffect:u=!1,mouseTrack:m={},tilt:S={},sticky:g={}}=t||{},M=(t,e)=>isExist(t)&&!isNaN(t)?Number(t):e,$="viewport"===d,b=$?"view()":"scroll(nearest block)",y=[],x=[],h=[],w=[],f=String(i??"").replace(/[^a-zA-Z0-9]/g,""),_=(t,e,i)=>{y.push(`@keyframes advMe${t}${f}{ ${e} }`),x.push(`advMe${t}${f}`),h.push(b),w.push((t=>{const e=M(t?.top,0),i=M(t?.bottom,100),n=Math.min(e,i),r=Math.max(e,i);return $?`cover ${n}% ${r>=90?"contain 100%":`cover ${r}%`}`:`min(${3*n}vh, ${n}%) min(${3*r}vh, ${r}%)`})(i))};if(n){const t=r?.direction,e=a?.direction,i=t?100*M(r?.speed,4):0,n=e?100*M(a?.speed,4):0;if(i||n){const o="up"===t?-i:i,s="to-left"===e?-n:n,l=[i&&r,n&&a].filter(Boolean);_("Translate",`from{ translate: 0px 0px; } to{ translate: ${s}px ${o}px; }`,{top:Math.min(...l.map((t=>M(t?.top,0)))),bottom:Math.max(...l.map((t=>M(t?.bottom,100))))})}const d=o?.direction;if(d){const t=Math.max(0,1-M(o?.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}; }`}[d];e&&_("Opacity",e,o)}const p=s?.direction;if(p){const t=3*M(s?.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); }`}[p];e&&_("Blur",e,s)}const u=l?.direction;if(u){const t=20*M(l?.level,4);_("Rotate",`from{ rotate: 0deg; } to{ rotate: ${"to-left"===u?-t:t}deg; }`,l)}if(c?.direction){const t=.15*M(c?.level,4),e=Math.max(0,1-t),i=1+t,n={"scale-up":`from{ scale: 1; } to{ scale: ${i}; }`,"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: ${i}; } 100%{ scale: 1; }`}[c.direction];n&&_("Scale",n,c)}}const v=[];if(u){if(m?.direction){const t="direct"===m?.direction?100:-100;v.push(((e,i)=>`translate(${(e*t).toFixed(2)}px, ${(i*t).toFixed(2)}px)`))}if(S?.direction){const t=12*("direct"===S?.direction?1:-1);v.push(((e,i)=>`perspective(1000px) rotateX(${(i*-t).toFixed(2)}deg) rotateY(${(e*t).toFixed(2)}deg)`))}}const C=(t,i,n)=>{if(!t||!t.defaultView)return;const r=t.defaultView,a=t.bPlMouse||(t.bPlMouse={x:0,y:0,items:new Map,frame:0,last:0}),o=a.items.get(e)||{x:0,y:0};if(o.rate=i,o.build=n,a.items.set(e,o),a.bound)return;a.bound=!0;const s=e=>{const i=a.last?Math.min(e-a.last,100):16.7;a.last=e;let n=!1;a.items.forEach(((e,r)=>{const o=e.el&&e.el.isConnected?e.el:t.querySelector(r);if(!o)return;e.el=o;const s=e.rate*i/1e3,l=a.x-e.x,c=a.y-e.y,d=Math.sqrt(l*l+c*c);d<=s?(e.x=a.x,e.y=a.y):(e.x+=l/d*s,e.y+=c/d*s,n=!0),o.style.transform=e.build(e.x,e.y)})),a.frame=n?r.requestAnimationFrame(s):0,a.last=n?e:0};t.addEventListener("pointermove",(t=>{a.x=2*(t.clientX/r.innerWidth-.5),a.y=2*(t.clientY/r.innerHeight-.5),a.frame||(a.frame=r.requestAnimationFrame(s))}))};if(v.length&&"undefined"!=typeof document){const t=Math.max(.25,1.5*M(m?.speed,M(S?.speed,4))),e=(t,e)=>v.map((i=>i(t,e))).join(" ");C(document,t,e),C(document.querySelector('iframe[name="editor-canvas"]')?.contentDocument,t,e)}const j=t=>g?.[t]||("desktop"===t?g?.undefined:""),k=e.split(">")[0],L=t=>{const e=j(t);return e?`position: sticky; ${e}: 0; z-index: 9;`:(t=>"tablet"===t?j("desktop"):"mobile"===t?j("tablet")||j("desktop"):"")(t)?"position: static;":""},N=Array.isArray(p)?p:isExist(p)?[p]:[],D=t=>!N.length||N.includes(t)?"":`${e}{ animation-name: none; }`;return`\n\t\t${x.length?`\n\t\t${y.join(" ")}\n\t\t@supports (animation-timeline: scroll()){\n\t\t\t${e}{\n\t\t\t\tanimation-name: ${x.join(", ")};\n\t\t\t\tanimation-duration: ${x.map((()=>"auto")).join(", ")};\n\t\t\t\tanimation-timing-function: ${x.map((()=>"linear")).join(", ")};\n\t\t\t\tanimation-fill-mode: ${x.map((()=>"both")).join(", ")};\n\t\t\t\tanimation-direction: ${x.map((()=>$?"normal":"reverse")).join(", ")};\n\t\t\t\tanimation-timeline: ${h.join(", ")};\n\t\t\t\tanimation-range: ${w.join(", ")};\n\t\t\t}\n\t\t\t${D("desktop")?`${deskBreakpoint}{ ${D("desktop")} }`:""}\n\t\t\t${D("tablet-portrait")?`@media only screen and (min-width: 641px) and (max-width: 1024px){ ${D("tablet-portrait")} }`:""}\n\t\t\t${D("mobile-portrait")?`${mobileBreakpoint}{ ${D("mobile-portrait")} }`:""}\n\t\t}\n\t`:""}\n\t\t${v.length?`${e}{ transition-property: background, border, border-radius, box-shadow; }`:""}\n\t\t${L("desktop")?`${k}{ ${L("desktop")} }`:""}\n\t\t${L("tablet")?`${tabBreakpoint}{ ${k}{ ${L("tablet")} } }`:""}\n\t\t${L("mobile")?`${mobileBreakpoint}{ ${k}{ ${L("mobile")} } }`:""}\n\t`},borderShadowCSS=t=>{const{normal:e,hover:i}=t||{},n=t=>{const{border:e,radius:i,shadow:n}=t||{},r=isValidCSS("border-radius",getBoxCSS(i)),a=isValidCSS("box-shadow",getMultiShadowCSS(n,"box"));return getBorderBoxCSS(e)+r+a};return{normal:n(e),hover:n(i)}},visibilityCSS=t=>{const{zIndex:e,overflow:i}=t||{},n=i?`overflow: ${i};`:"",r=t=>`${isValidCSS("z-index",e?.[t])} ${isValidCSS("position",isExist(e?.[t])?"relative":"")}`;return{desktop:r("desktop")+n,tablet:r("tablet"),mobile:r("mobile")}},responsiveCSS=(t,e)=>{const{desktop:i=!1,tablet:n=!1,mobile:r=!1}=t||{},a=e?"opacity: 0.5;":"display: none;",o=t=>t?a:"";return{desktop:o(i),tablet:o(n),mobile:o(r)}},transitionCSS=(t,e,i)=>{const{transition:n=.4}=t||{},{transition:r=.4}=e||{},{transition:a=200}=i||{};return`transition: background ${n}s, border ${r}s, border-radius ${r}s, box-shadow ${r}s, transform ${a}ms ease-in-out;`},animationFn=(t,e,i)=>{const n=i?`#${e} > div`:`#${e}`,r=document.querySelector(n);r&&t&&t.type&&(r.setAttribute("data-aos",t.type),r.setAttribute("data-aos-duration",1e3*t.duration||.4),r.setAttribute("data-aos-delay",1e3*t.delay||0),r.classList.contains("aos-init")||(r.classList.add("aos-init"),window?.AOS?.init()),i)&&new IntersectionObserver((t=>{t.forEach((t=>{t.intersectionRatio>.5?r.classList.add("aos-animate"):r.classList.remove("aos-animate")}))}),{threshold:[.5]}).observe(r)},generateCSS=(t,e,i=!1,n=!0)=>{const{dimension:r,transform:a,background:o,borderShadow:s,mask:l,animation:c,visibility:d,responsive:p,position:u={},floating:m={},motion:S={},css:g=""}=e||{},M=i?`#${t}>div>div${n?":first-child":""}`:`#${t}>div`;animationFn(c,t,i);const $=dimensionCSS(r).desktop+visibilityCSS(d).desktop+transitionCSS(o,s,a)+getMaskCSS(l),b=dimensionCSS(r).tablet+visibilityCSS(d).tablet+responsiveCSS(p,i).tablet,y=dimensionCSS(r).mobile+visibilityCSS(d).mobile+responsiveCSS(p,i).mobile,x=borderShadowCSS(s).normal,h=borderShadowCSS(s).hover,w=responsiveCSS(p,i).desktop;return`\n\t\t${$||x?`${M} {\n\t\t\t${$}\n\t\t\t${x}\n\t\t}`:""}\n\t\t${h?`${M}:hover {\n\t\t\t${h}\n\t\t}`:""}\n\n\t\t${w?`${deskBreakpoint} {\n\t\t\t${M}{\n\t\t\t\t${w}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${b?`${tabBreakpoint} {\n\t\t\t${M}{\n\t\t\t\t${b}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${y?`${mobileBreakpoint} {\n\t\t\t${M}{\n\t\t\t\t${y}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${getAdvBGCSS(o?.normal,M)}\n\t\t${getAdvBGCSS(o?.hover,M,!0)}\n\t\t${getOverlayCSS(o?.overlay,M)}\n\t\t${getOverlayCSS(o?.hoverOverlay,M,!0)}\n\t\t${isExist(a?.normal)?getTransformCSS(a?.normal,M):""}\n\t\t${isExist(a?.hover)?getTransformCSS(a?.hover,M,!0):""}\n\t\t${positionCSS(u,M)}\n\t\t${floatingCSS(m,M,t)}\n\t\t${motionEffectsCSS(S,M,t)}\n\t\t${g}\n\t`.replace(/\s+/g," ")},Advanced_generateCSS=generateCSS,external_ReactJSXRuntime_namespaceObject=window.ReactJSXRuntime,Style=({attributes:t,id:e,isBackend:i=!1})=>{const{advanced:n}=t;return(0,external_ReactJSXRuntime_namespaceObject.jsx)("style",{dangerouslySetInnerHTML:{__html:`\n\t\t${Advanced_generateCSS(e,n,i)}\n\t`}})},Common_Style=Style;var useRunJs=__webpack_require__(2343);const HTMLBlock=({attributes:t})=>{const{htmlCode:e}=t;return(0,useRunJs.I)(e,10),(0,external_ReactJSXRuntime_namespaceObject.jsx)("div",{dangerouslySetInnerHTML:{__html:e}})},Frontend_HTMLBlock=HTMLBlock;document.addEventListener("DOMContentLoaded",(()=>{document.querySelectorAll(".wp-block-b-blocks-html").forEach((t=>{const e=JSON.parse(t.dataset.attributes);(0,external_ReactDOM_namespaceObject.createRoot)(t).render((0,external_ReactJSXRuntime_namespaceObject.jsxs)(external_ReactJSXRuntime_namespaceObject.Fragment,{children:[(0,external_ReactJSXRuntime_namespaceObject.jsx)(Common_Style,{attributes:e,id:t.id}),(0,external_ReactJSXRuntime_namespaceObject.jsx)(Frontend_HTMLBlock,{attributes:e})]})),t?.removeAttribute("data-attributes")}))}))})(); |