Changeset 3452646
- Timestamp:
- 02/03/2026 08:00:41 AM (8 weeks ago)
- Location:
- social-icons-widget-by-wpzoom
- Files:
-
- 2 added
- 20 edited
- 1 copied
-
tags/4.5.6 (copied) (copied from social-icons-widget-by-wpzoom/trunk)
-
tags/4.5.6/assets/css/admin-upsell.css (modified) (2 diffs)
-
tags/4.5.6/block/dist/wpzoom-social-icons.js (modified) (1 diff)
-
tags/4.5.6/block/src/social-sharing-block/components/Inspector.js (modified) (2 diffs)
-
tags/4.5.6/includes/classes/class-wpzoom-floating-buttons-upsell.php (added)
-
tags/4.5.6/includes/classes/class-wpzoom-share-analytics-upsell.php (modified) (1 diff)
-
tags/4.5.6/includes/classes/class-wpzoom-sharing-buttons-notice.php (modified) (2 diffs)
-
tags/4.5.6/includes/classes/class-wpzoom-social-icons-settings.php (modified) (1 diff)
-
tags/4.5.6/includes/classes/class-wpzoom-social-icons-upsell.php (modified) (3 diffs)
-
tags/4.5.6/languages/social-icons-widget-by-wpzoom.pot (modified) (1 diff)
-
tags/4.5.6/readme.txt (modified) (11 diffs)
-
tags/4.5.6/social-icons-widget-by-wpzoom.php (modified) (4 diffs)
-
trunk/assets/css/admin-upsell.css (modified) (2 diffs)
-
trunk/block/dist/wpzoom-social-icons.js (modified) (1 diff)
-
trunk/block/src/social-sharing-block/components/Inspector.js (modified) (2 diffs)
-
trunk/includes/classes/class-wpzoom-floating-buttons-upsell.php (added)
-
trunk/includes/classes/class-wpzoom-share-analytics-upsell.php (modified) (1 diff)
-
trunk/includes/classes/class-wpzoom-sharing-buttons-notice.php (modified) (2 diffs)
-
trunk/includes/classes/class-wpzoom-social-icons-settings.php (modified) (1 diff)
-
trunk/includes/classes/class-wpzoom-social-icons-upsell.php (modified) (3 diffs)
-
trunk/languages/social-icons-widget-by-wpzoom.pot (modified) (1 diff)
-
trunk/readme.txt (modified) (11 diffs)
-
trunk/social-icons-widget-by-wpzoom.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
social-icons-widget-by-wpzoom/tags/4.5.6/assets/css/admin-upsell.css
r3447901 r3452646 881 881 } 882 882 883 .wpzoom-new-badge { 884 display: inline-block; 885 background: #00a32a; 886 color: #fff; 887 font-size: 10px; 888 font-weight: 600; 889 text-transform: uppercase; 890 padding: 2px 6px; 891 border-radius: 3px; 892 margin-left: 6px; 893 vertical-align: middle; 894 } 895 883 896 .wpzoom-features-table .t-footer { 884 897 padding-top: 30px; … … 914 927 } 915 928 } 929 930 /* ===================================================== 931 Floating Buttons Upsell Page 932 ===================================================== */ 933 .wpzoom-floating-upsell-wrap { 934 max-width: 1200px; 935 } 936 937 .wpzoom-floating-upsell-wrap h1 { 938 display: flex; 939 align-items: center; 940 gap: 10px; 941 } 942 943 .wpzoom-floating-description { 944 color: #646970; 945 font-size: 14px; 946 margin-bottom: 20px; 947 } 948 949 .wpzoom-floating-preview-container { 950 position: relative; 951 background: #fff; 952 border: 1px solid #c3c4c7; 953 border-radius: 4px; 954 overflow: hidden; 955 } 956 957 .wpzoom-floating-preview-blurred { 958 padding: 30px; 959 filter: blur(1px); 960 opacity: 0.7; 961 pointer-events: none; 962 user-select: none; 963 display: grid; 964 grid-template-columns: 1fr 300px; 965 gap: 30px; 966 } 967 968 /* Settings Panel Preview */ 969 .wpzoom-floating-settings-header { 970 display: flex; 971 align-items: center; 972 gap: 8px; 973 font-size: 14px; 974 font-weight: 600; 975 color: #1d2327; 976 margin-bottom: 20px; 977 padding-bottom: 12px; 978 border-bottom: 1px solid #dcdcde; 979 } 980 981 .wpzoom-floating-settings-header .dashicons { 982 font-size: 20px; 983 width: 20px; 984 height: 20px; 985 color: #2271b1; 986 } 987 988 .wpzoom-floating-settings-group { 989 margin-bottom: 20px; 990 background: #f6f7f7; 991 padding: 15px; 992 border-radius: 4px; 993 border: 1px solid #dcdcde; 994 } 995 996 .wpzoom-floating-settings-group > label { 997 display: block; 998 font-size: 13px; 999 font-weight: 600; 1000 color: #1d2327; 1001 margin-bottom: 10px; 1002 } 1003 1004 .wpzoom-floating-position-options { 1005 display: flex; 1006 flex-direction: column; 1007 gap: 10px; 1008 } 1009 1010 .wpzoom-floating-option { 1011 display: flex; 1012 align-items: center; 1013 gap: 10px; 1014 } 1015 1016 .wpzoom-floating-option-label { 1017 font-size: 12px; 1018 color: #646970; 1019 min-width: 70px; 1020 } 1021 1022 .wpzoom-floating-radio-group, 1023 .wpzoom-floating-checkbox-group { 1024 display: flex; 1025 flex-wrap: wrap; 1026 gap: 12px; 1027 } 1028 1029 .wpzoom-floating-radio-group label, 1030 .wpzoom-floating-checkbox-group label { 1031 display: flex; 1032 align-items: center; 1033 gap: 4px; 1034 font-size: 13px; 1035 color: #1d2327; 1036 cursor: default; 1037 } 1038 1039 .wpzoom-floating-input-group { 1040 display: flex; 1041 align-items: center; 1042 gap: 8px; 1043 margin-top: 10px; 1044 font-size: 13px; 1045 color: #1d2327; 1046 } 1047 1048 .wpzoom-floating-input-group input { 1049 width: 60px; 1050 padding: 4px 8px; 1051 border: 1px solid #dcdcde; 1052 border-radius: 3px; 1053 background: #fff; 1054 } 1055 1056 /* Visual Preview - Browser Frame */ 1057 .wpzoom-floating-visual-preview { 1058 display: flex; 1059 align-items: center; 1060 justify-content: center; 1061 } 1062 1063 .wpzoom-floating-browser-frame { 1064 background: #f6f7f7; 1065 border: 1px solid #dcdcde; 1066 border-radius: 8px; 1067 overflow: hidden; 1068 width: 100%; 1069 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); 1070 } 1071 1072 .wpzoom-floating-browser-header { 1073 background: #e0e0e0; 1074 padding: 10px 15px; 1075 display: flex; 1076 align-items: center; 1077 gap: 8px; 1078 } 1079 1080 .wpzoom-floating-browser-dot { 1081 width: 12px; 1082 height: 12px; 1083 border-radius: 50%; 1084 background: #c3c4c7; 1085 } 1086 1087 .wpzoom-floating-browser-dot:nth-child(1) { 1088 background: #ff5f56; 1089 } 1090 1091 .wpzoom-floating-browser-dot:nth-child(2) { 1092 background: #ffbd2e; 1093 } 1094 1095 .wpzoom-floating-browser-dot:nth-child(3) { 1096 background: #27ca40; 1097 } 1098 1099 .wpzoom-floating-browser-url { 1100 flex: 1; 1101 margin-left: 10px; 1102 padding: 5px 12px; 1103 background: #fff; 1104 border-radius: 4px; 1105 font-size: 12px; 1106 color: #646970; 1107 } 1108 1109 .wpzoom-floating-browser-content { 1110 position: relative; 1111 min-height: 320px; 1112 background: #fff; 1113 padding: 20px 60px 20px 20px; 1114 } 1115 1116 .wpzoom-floating-page-header { 1117 height: 40px; 1118 background: linear-gradient(90deg, #e0e0e0 0%, #f0f0f0 100%); 1119 border-radius: 4px; 1120 margin-bottom: 20px; 1121 } 1122 1123 .wpzoom-floating-page-content { 1124 padding: 10px 0; 1125 } 1126 1127 .wpzoom-floating-content-line { 1128 height: 12px; 1129 background: #e8e8e8; 1130 border-radius: 3px; 1131 margin-bottom: 12px; 1132 } 1133 1134 .wpzoom-floating-content-line.wpzoom-floating-content-title { 1135 height: 20px; 1136 width: 60%; 1137 background: #d0d0d0; 1138 margin-bottom: 20px; 1139 } 1140 1141 .wpzoom-floating-content-line.wpzoom-floating-content-short { 1142 width: 70%; 1143 } 1144 1145 .wpzoom-floating-content-line:nth-child(even):not(.wpzoom-floating-content-title):not(.wpzoom-floating-content-short) { 1146 width: 85%; 1147 } 1148 1149 /* Floating Bar Preview */ 1150 .wpzoom-floating-bar-preview { 1151 position: absolute; 1152 left: 15px; 1153 top: 50%; 1154 transform: translateY(-50%); 1155 display: flex; 1156 flex-direction: column; 1157 gap: 6px; 1158 z-index: 10; 1159 } 1160 1161 .wpzoom-floating-icon { 1162 width: 36px; 1163 height: 36px; 1164 border-radius: 50%; 1165 display: flex; 1166 align-items: center; 1167 justify-content: center; 1168 color: #fff; 1169 box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); 1170 transition: transform 0.2s ease; 1171 } 1172 1173 .wpzoom-floating-icon svg { 1174 width: 18px; 1175 height: 18px; 1176 } 1177 1178 .wpzoom-floating-icon-fb { background: #1877f2; } 1179 .wpzoom-floating-icon-x { background: #000; } 1180 .wpzoom-floating-icon-linkedin { background: #0a66c2; } 1181 .wpzoom-floating-icon-pinterest { background: #e60023; } 1182 .wpzoom-floating-icon-whatsapp { background: #25d366; } 1183 1184 /* NEW Badge */ 1185 .wpzoom-upsell-badge-new { 1186 background: #00a32a; 1187 } 1188 1189 /* Responsive */ 1190 @media screen and (max-width: 960px) { 1191 .wpzoom-floating-preview-blurred { 1192 grid-template-columns: 1fr; 1193 } 1194 1195 .wpzoom-floating-browser-content { 1196 min-height: 280px; 1197 } 1198 } 1199 1200 @media screen and (max-width: 600px) { 1201 .wpzoom-floating-preview-blurred { 1202 padding: 20px; 1203 } 1204 } -
social-icons-widget-by-wpzoom/tags/4.5.6/block/dist/wpzoom-social-icons.js
r3447901 r3452646 1 1 (window.webpackJsonp=window.webpackJsonp||[]).push([[0],{21:function(e,t,o){},24:function(e,t,o){}}]),function(e){function t(t){for(var n,a,s=t[0],l=t[1],c=t[2],p=0,u=[];p<s.length;p++)a=s[p],Object.prototype.hasOwnProperty.call(r,a)&&r[a]&&u.push(r[a][0]),r[a]=0;for(n in l)Object.prototype.hasOwnProperty.call(l,n)&&(e[n]=l[n]);for(d&&d(t);u.length;)u.shift()();return i.push.apply(i,c||[]),o()}function o(){for(var e,t=0;t<i.length;t++){for(var o=i[t],n=!0,s=1;s<o.length;s++){var l=o[s];0!==r[l]&&(n=!1)}n&&(i.splice(t--,1),e=a(a.s=o[0]))}return e}var n={},r={1:0},i=[];function a(t){if(n[t])return n[t].exports;var o=n[t]={i:t,l:!1,exports:{}};return e[t].call(o.exports,o,o.exports,a),o.l=!0,o.exports}a.m=e,a.c=n,a.d=function(e,t,o){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(a.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)a.d(o,n,function(t){return e[t]}.bind(null,n));return o},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="";var s=window.webpackJsonp=window.webpackJsonp||[],l=s.push.bind(s);s.push=t,s=s.slice();for(var c=0;c<s.length;c++)t(s[c]);var d=l;i.push([25,0]),o()}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.lodash},function(e,t){e.exports=function(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,o){var n;!function(){"use strict";var o={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var a=r.apply(null,n);a&&e.push(a)}}else if("object"===i)if(n.toString===Object.prototype.toString)for(var s in n)o.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},function(e,t){e.exports=window.wp.blockEditor},function(e,t){e.exports=window.wp.blocks},function(e,t){e.exports=window.wp.primitives},function(e,t){e.exports=window.wp.data},function(e,t){function o(){return e.exports=o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,o.apply(this,arguments)}e.exports=o,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,o){var n,r,i;!function(a,s){"use strict";e.exports?e.exports=s(o(15),o(16),o(17)):(r=[o(15),o(16),o(17)],void 0===(i="function"==typeof(n=s)?n.apply(t,r):n)||(e.exports=i))}(0,(function(e,t,o,n){"use strict";var r=n&&n.URI;function i(e,t){var o=arguments.length>=1,n=arguments.length>=2;if(!(this instanceof i))return o?n?new i(e,t):new i(e):new i;if(void 0===e){if(o)throw new TypeError("undefined is not a valid argument for URI");e="undefined"!=typeof location?location.href+"":""}if(null===e&&o)throw new TypeError("null is not a valid argument for URI");return this.href(e),void 0!==t?this.absoluteTo(t):this}i.version="1.19.7";var a=i.prototype,s=Object.prototype.hasOwnProperty;function l(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}function c(e){return void 0===e?"Undefined":String(Object.prototype.toString.call(e)).slice(8,-1)}function d(e){return"Array"===c(e)}function p(e,t){var o,n,r={};if("RegExp"===c(t))r=null;else if(d(t))for(o=0,n=t.length;o<n;o++)r[t[o]]=!0;else r[t]=!0;for(o=0,n=e.length;o<n;o++)(r&&void 0!==r[e[o]]||!r&&t.test(e[o]))&&(e.splice(o,1),n--,o--);return e}function u(e,t){var o,n;if(d(t)){for(o=0,n=t.length;o<n;o++)if(!u(e,t[o]))return!1;return!0}var r=c(t);for(o=0,n=e.length;o<n;o++)if("RegExp"===r){if("string"==typeof e[o]&&e[o].match(t))return!0}else if(e[o]===t)return!0;return!1}function m(e,t){if(!d(e)||!d(t))return!1;if(e.length!==t.length)return!1;e.sort(),t.sort();for(var o=0,n=e.length;o<n;o++)if(e[o]!==t[o])return!1;return!0}function h(e){return e.replace(/^\/+|\/+$/g,"")}function b(e){return escape(e)}function g(e){return encodeURIComponent(e).replace(/[!'()*]/g,b).replace(/\*/g,"%2A")}i._parts=function(){return{protocol:null,username:null,password:null,hostname:null,urn:null,port:null,path:null,query:null,fragment:null,preventInvalidHostname:i.preventInvalidHostname,duplicateQueryParameters:i.duplicateQueryParameters,escapeQuerySpace:i.escapeQuerySpace}},i.preventInvalidHostname=!1,i.duplicateQueryParameters=!1,i.escapeQuerySpace=!0,i.protocol_expression=/^[a-z][a-z0-9.+-]*$/i,i.idn_expression=/[^a-z0-9\._-]/i,i.punycode_expression=/(xn--)/i,i.ip4_expression=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/,i.ip6_expression=/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/,i.find_uri_expression=/\b((?:[a-z][\w-]+:(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?«»“”‘’]))/gi,i.findUri={start:/\b(?:([a-z][a-z0-9.+-]*:\/\/)|www\.)/gi,end:/[\s\r\n]|$/,trim:/[`!()\[\]{};:'".,<>?«»“”„‘’]+$/,parens:/(\([^\)]*\)|\[[^\]]*\]|\{[^}]*\}|<[^>]*>)/g},i.defaultPorts={http:"80",https:"443",ftp:"21",gopher:"70",ws:"80",wss:"443"},i.hostProtocols=["http","https"],i.invalid_hostname_characters=/[^a-zA-Z0-9\.\-:_]/,i.domAttributes={a:"href",blockquote:"cite",link:"href",base:"href",script:"src",form:"action",img:"src",area:"href",iframe:"src",embed:"src",source:"src",track:"src",input:"src",audio:"src",video:"src"},i.getDomAttribute=function(e){if(e&&e.nodeName){var t=e.nodeName.toLowerCase();if("input"!==t||"image"===e.type)return i.domAttributes[t]}},i.encode=g,i.decode=decodeURIComponent,i.iso8859=function(){i.encode=escape,i.decode=unescape},i.unicode=function(){i.encode=g,i.decode=decodeURIComponent},i.characters={pathname:{encode:{expression:/%(24|26|2B|2C|3B|3D|3A|40)/gi,map:{"%24":"$","%26":"&","%2B":"+","%2C":",","%3B":";","%3D":"=","%3A":":","%40":"@"}},decode:{expression:/[\/\?#]/g,map:{"/":"%2F","?":"%3F","#":"%23"}}},reserved:{encode:{expression:/%(21|23|24|26|27|28|29|2A|2B|2C|2F|3A|3B|3D|3F|40|5B|5D)/gi,map:{"%3A":":","%2F":"/","%3F":"?","%23":"#","%5B":"[","%5D":"]","%40":"@","%21":"!","%24":"$","%26":"&","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"="}}},urnpath:{encode:{expression:/%(21|24|27|28|29|2A|2B|2C|3B|3D|40)/gi,map:{"%21":"!","%24":"$","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"=","%40":"@"}},decode:{expression:/[\/\?#:]/g,map:{"/":"%2F","?":"%3F","#":"%23",":":"%3A"}}}},i.encodeQuery=function(e,t){var o=i.encode(e+"");return void 0===t&&(t=i.escapeQuerySpace),t?o.replace(/%20/g,"+"):o},i.decodeQuery=function(e,t){e+="",void 0===t&&(t=i.escapeQuerySpace);try{return i.decode(t?e.replace(/\+/g,"%20"):e)}catch(t){return e}};var f,v={encode:"encode",decode:"decode"},w=function(e,t){return function(o){try{return i[t](o+"").replace(i.characters[e][t].expression,(function(o){return i.characters[e][t].map[o]}))}catch(e){return o}}};for(f in v)i[f+"PathSegment"]=w("pathname",v[f]),i[f+"UrnPathSegment"]=w("urnpath",v[f]);var y=function(e,t,o){return function(n){var r;r=o?function(e){return i[t](i[o](e))}:i[t];for(var a=(n+"").split(e),s=0,l=a.length;s<l;s++)a[s]=r(a[s]);return a.join(e)}};function O(e){return function(t,o){return void 0===t?this._parts[e]||"":(this._parts[e]=t||null,this.build(!o),this)}}function j(e,t){return function(o,n){return void 0===o?this._parts[e]||"":(null!==o&&(o+="").charAt(0)===t&&(o=o.substring(1)),this._parts[e]=o,this.build(!n),this)}}i.decodePath=y("/","decodePathSegment"),i.decodeUrnPath=y(":","decodeUrnPathSegment"),i.recodePath=y("/","encodePathSegment","decode"),i.recodeUrnPath=y(":","encodeUrnPathSegment","decode"),i.encodeReserved=w("reserved","encode"),i.parse=function(e,t){var o;return t||(t={preventInvalidHostname:i.preventInvalidHostname}),(o=e.indexOf("#"))>-1&&(t.fragment=e.substring(o+1)||null,e=e.substring(0,o)),(o=e.indexOf("?"))>-1&&(t.query=e.substring(o+1)||null,e=e.substring(0,o)),"//"===(e=e.replace(/^(https?|ftp|wss?)?:[/\\]*/,"$1://")).substring(0,2)?(t.protocol=null,e=e.substring(2),e=i.parseAuthority(e,t)):(o=e.indexOf(":"))>-1&&(t.protocol=e.substring(0,o)||null,t.protocol&&!t.protocol.match(i.protocol_expression)?t.protocol=void 0:"//"===e.substring(o+1,o+3).replace(/\\/g,"/")?(e=e.substring(o+3),e=i.parseAuthority(e,t)):(e=e.substring(o+1),t.urn=!0)),t.path=e,t},i.parseHost=function(e,t){e||(e="");var o,n,r=(e=e.replace(/\\/g,"/")).indexOf("/");if(-1===r&&(r=e.length),"["===e.charAt(0))o=e.indexOf("]"),t.hostname=e.substring(1,o)||null,t.port=e.substring(o+2,r)||null,"/"===t.port&&(t.port=null);else{var a=e.indexOf(":"),s=e.indexOf("/"),l=e.indexOf(":",a+1);-1!==l&&(-1===s||l<s)?(t.hostname=e.substring(0,r)||null,t.port=null):(n=e.substring(0,r).split(":"),t.hostname=n[0]||null,t.port=n[1]||null)}return t.hostname&&"/"!==e.substring(r).charAt(0)&&(r++,e="/"+e),t.preventInvalidHostname&&i.ensureValidHostname(t.hostname,t.protocol),t.port&&i.ensureValidPort(t.port),e.substring(r)||"/"},i.parseAuthority=function(e,t){return e=i.parseUserinfo(e,t),i.parseHost(e,t)},i.parseUserinfo=function(e,t){var o=e;-1!==e.indexOf("\\")&&(e=e.replace(/\\/g,"/"));var n,r=e.indexOf("/"),a=e.lastIndexOf("@",r>-1?r:e.length-1);return a>-1&&(-1===r||a<r)?(n=e.substring(0,a).split(":"),t.username=n[0]?i.decode(n[0]):null,n.shift(),t.password=n[0]?i.decode(n.join(":")):null,e=o.substring(a+1)):(t.username=null,t.password=null),e},i.parseQuery=function(e,t){if(!e)return{};if(!(e=e.replace(/&+/g,"&").replace(/^\?*&*|&+$/g,"")))return{};for(var o,n,r,a={},l=e.split("&"),c=l.length,d=0;d<c;d++)o=l[d].split("="),n=i.decodeQuery(o.shift(),t),r=o.length?i.decodeQuery(o.join("="),t):null,"__proto__"!==n&&(s.call(a,n)?("string"!=typeof a[n]&&null!==a[n]||(a[n]=[a[n]]),a[n].push(r)):a[n]=r);return a},i.build=function(e){var t="",o=!1;return e.protocol&&(t+=e.protocol+":"),e.urn||!t&&!e.hostname||(t+="//",o=!0),t+=i.buildAuthority(e)||"","string"==typeof e.path&&("/"!==e.path.charAt(0)&&o&&(t+="/"),t+=e.path),"string"==typeof e.query&&e.query&&(t+="?"+e.query),"string"==typeof e.fragment&&e.fragment&&(t+="#"+e.fragment),t},i.buildHost=function(e){var t="";return e.hostname?(i.ip6_expression.test(e.hostname)?t+="["+e.hostname+"]":t+=e.hostname,e.port&&(t+=":"+e.port),t):""},i.buildAuthority=function(e){return i.buildUserinfo(e)+i.buildHost(e)},i.buildUserinfo=function(e){var t="";return e.username&&(t+=i.encode(e.username)),e.password&&(t+=":"+i.encode(e.password)),t&&(t+="@"),t},i.buildQuery=function(e,t,o){var n,r,a,l,c="";for(r in e)if("__proto__"!==r&&s.call(e,r))if(d(e[r]))for(n={},a=0,l=e[r].length;a<l;a++)void 0!==e[r][a]&&void 0===n[e[r][a]+""]&&(c+="&"+i.buildQueryParameter(r,e[r][a],o),!0!==t&&(n[e[r][a]+""]=!0));else void 0!==e[r]&&(c+="&"+i.buildQueryParameter(r,e[r],o));return c.substring(1)},i.buildQueryParameter=function(e,t,o){return i.encodeQuery(e,o)+(null!==t?"="+i.encodeQuery(t,o):"")},i.addQuery=function(e,t,o){if("object"==typeof t)for(var n in t)s.call(t,n)&&i.addQuery(e,n,t[n]);else{if("string"!=typeof t)throw new TypeError("URI.addQuery() accepts an object, string as the name parameter");if(void 0===e[t])return void(e[t]=o);"string"==typeof e[t]&&(e[t]=[e[t]]),d(o)||(o=[o]),e[t]=(e[t]||[]).concat(o)}},i.setQuery=function(e,t,o){if("object"==typeof t)for(var n in t)s.call(t,n)&&i.setQuery(e,n,t[n]);else{if("string"!=typeof t)throw new TypeError("URI.setQuery() accepts an object, string as the name parameter");e[t]=void 0===o?null:o}},i.removeQuery=function(e,t,o){var n,r,a;if(d(t))for(n=0,r=t.length;n<r;n++)e[t[n]]=void 0;else if("RegExp"===c(t))for(a in e)t.test(a)&&(e[a]=void 0);else if("object"==typeof t)for(a in t)s.call(t,a)&&i.removeQuery(e,a,t[a]);else{if("string"!=typeof t)throw new TypeError("URI.removeQuery() accepts an object, string, RegExp as the first parameter");void 0!==o?"RegExp"===c(o)?!d(e[t])&&o.test(e[t])?e[t]=void 0:e[t]=p(e[t],o):e[t]!==String(o)||d(o)&&1!==o.length?d(e[t])&&(e[t]=p(e[t],o)):e[t]=void 0:e[t]=void 0}},i.hasQuery=function(e,t,o,n){switch(c(t)){case"String":break;case"RegExp":for(var r in e)if(s.call(e,r)&&t.test(r)&&(void 0===o||i.hasQuery(e,r,o)))return!0;return!1;case"Object":for(var a in t)if(s.call(t,a)&&!i.hasQuery(e,a,t[a]))return!1;return!0;default:throw new TypeError("URI.hasQuery() accepts a string, regular expression or object as the name parameter")}switch(c(o)){case"Undefined":return t in e;case"Boolean":return o===Boolean(d(e[t])?e[t].length:e[t]);case"Function":return!!o(e[t],t,e);case"Array":return!!d(e[t])&&(n?u:m)(e[t],o);case"RegExp":return d(e[t])?!!n&&u(e[t],o):Boolean(e[t]&&e[t].match(o));case"Number":o=String(o);case"String":return d(e[t])?!!n&&u(e[t],o):e[t]===o;default:throw new TypeError("URI.hasQuery() accepts undefined, boolean, string, number, RegExp, Function as the value parameter")}},i.joinPaths=function(){for(var e=[],t=[],o=0,n=0;n<arguments.length;n++){var r=new i(arguments[n]);e.push(r);for(var a=r.segment(),s=0;s<a.length;s++)"string"==typeof a[s]&&t.push(a[s]),a[s]&&o++}if(!t.length||!o)return new i("");var l=new i("").segment(t);return""!==e[0].path()&&"/"!==e[0].path().slice(0,1)||l.path("/"+l.path()),l.normalize()},i.commonPath=function(e,t){var o,n=Math.min(e.length,t.length);for(o=0;o<n;o++)if(e.charAt(o)!==t.charAt(o)){o--;break}return o<1?e.charAt(0)===t.charAt(0)&&"/"===e.charAt(0)?"/":"":("/"===e.charAt(o)&&"/"===t.charAt(o)||(o=e.substring(0,o).lastIndexOf("/")),e.substring(0,o+1))},i.withinString=function(e,t,o){o||(o={});var n=o.start||i.findUri.start,r=o.end||i.findUri.end,a=o.trim||i.findUri.trim,s=o.parens||i.findUri.parens,l=/[a-z0-9-]=["']?$/i;for(n.lastIndex=0;;){var c=n.exec(e);if(!c)break;var d=c.index;if(o.ignoreHtml){var p=e.slice(Math.max(d-3,0),d);if(p&&l.test(p))continue}for(var u=d+e.slice(d).search(r),m=e.slice(d,u),h=-1;;){var b=s.exec(m);if(!b)break;var g=b.index+b[0].length;h=Math.max(h,g)}if(!((m=h>-1?m.slice(0,h)+m.slice(h).replace(a,""):m.replace(a,"")).length<=c[0].length||o.ignore&&o.ignore.test(m))){var f=t(m,d,u=d+m.length,e);void 0!==f?(f=String(f),e=e.slice(0,d)+f+e.slice(u),n.lastIndex=d+f.length):n.lastIndex=u}}return n.lastIndex=0,e},i.ensureValidHostname=function(t,o){var n=!!t,r=!1;if(!!o&&(r=u(i.hostProtocols,o)),r&&!n)throw new TypeError("Hostname cannot be empty, if protocol is "+o);if(t&&t.match(i.invalid_hostname_characters)){if(!e)throw new TypeError('Hostname "'+t+'" contains characters other than [A-Z0-9.-:_] and Punycode.js is not available');if(e.toASCII(t).match(i.invalid_hostname_characters))throw new TypeError('Hostname "'+t+'" contains characters other than [A-Z0-9.-:_]')}},i.ensureValidPort=function(e){if(e){var t=Number(e);if(!(/^[0-9]+$/.test(t)&&t>0&&t<65536))throw new TypeError('Port "'+e+'" is not a valid port')}},i.noConflict=function(e){if(e){var t={URI:this.noConflict()};return n.URITemplate&&"function"==typeof n.URITemplate.noConflict&&(t.URITemplate=n.URITemplate.noConflict()),n.IPv6&&"function"==typeof n.IPv6.noConflict&&(t.IPv6=n.IPv6.noConflict()),n.SecondLevelDomains&&"function"==typeof n.SecondLevelDomains.noConflict&&(t.SecondLevelDomains=n.SecondLevelDomains.noConflict()),t}return n.URI===this&&(n.URI=r),this},a.build=function(e){return!0===e?this._deferred_build=!0:(void 0===e||this._deferred_build)&&(this._string=i.build(this._parts),this._deferred_build=!1),this},a.clone=function(){return new i(this)},a.valueOf=a.toString=function(){return this.build(!1)._string},a.protocol=O("protocol"),a.username=O("username"),a.password=O("password"),a.hostname=O("hostname"),a.port=O("port"),a.query=j("query","?"),a.fragment=j("fragment","#"),a.search=function(e,t){var o=this.query(e,t);return"string"==typeof o&&o.length?"?"+o:o},a.hash=function(e,t){var o=this.fragment(e,t);return"string"==typeof o&&o.length?"#"+o:o},a.pathname=function(e,t){if(void 0===e||!0===e){var o=this._parts.path||(this._parts.hostname?"/":"");return e?(this._parts.urn?i.decodeUrnPath:i.decodePath)(o):o}return this._parts.urn?this._parts.path=e?i.recodeUrnPath(e):"":this._parts.path=e?i.recodePath(e):"/",this.build(!t),this},a.path=a.pathname,a.href=function(e,t){var o;if(void 0===e)return this.toString();this._string="",this._parts=i._parts();var n=e instanceof i,r="object"==typeof e&&(e.hostname||e.path||e.pathname);if(e.nodeName&&(e=e[i.getDomAttribute(e)]||"",r=!1),!n&&r&&void 0!==e.pathname&&(e=e.toString()),"string"==typeof e||e instanceof String)this._parts=i.parse(String(e),this._parts);else{if(!n&&!r)throw new TypeError("invalid input");var a=n?e._parts:e;for(o in a)"query"!==o&&s.call(this._parts,o)&&(this._parts[o]=a[o]);a.query&&this.query(a.query,!1)}return this.build(!t),this},a.is=function(e){var t=!1,n=!1,r=!1,a=!1,s=!1,l=!1,c=!1,d=!this._parts.urn;switch(this._parts.hostname&&(d=!1,n=i.ip4_expression.test(this._parts.hostname),r=i.ip6_expression.test(this._parts.hostname),s=(a=!(t=n||r))&&o&&o.has(this._parts.hostname),l=a&&i.idn_expression.test(this._parts.hostname),c=a&&i.punycode_expression.test(this._parts.hostname)),e.toLowerCase()){case"relative":return d;case"absolute":return!d;case"domain":case"name":return a;case"sld":return s;case"ip":return t;case"ip4":case"ipv4":case"inet4":return n;case"ip6":case"ipv6":case"inet6":return r;case"idn":return l;case"url":return!this._parts.urn;case"urn":return!!this._parts.urn;case"punycode":return c}return null};var C=a.protocol,z=a.port,E=a.hostname;a.protocol=function(e,t){if(e&&!(e=e.replace(/:(\/\/)?$/,"")).match(i.protocol_expression))throw new TypeError('Protocol "'+e+"\" contains characters other than [A-Z0-9.+-] or doesn't start with [A-Z]");return C.call(this,e,t)},a.scheme=a.protocol,a.port=function(e,t){return this._parts.urn?void 0===e?"":this:(void 0!==e&&(0===e&&(e=null),e&&(":"===(e+="").charAt(0)&&(e=e.substring(1)),i.ensureValidPort(e))),z.call(this,e,t))},a.hostname=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0!==e){var o={preventInvalidHostname:this._parts.preventInvalidHostname};if("/"!==i.parseHost(e,o))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');e=o.hostname,this._parts.preventInvalidHostname&&i.ensureValidHostname(e,this._parts.protocol)}return E.call(this,e,t)},a.origin=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e){var o=this.protocol();return this.authority()?(o?o+"://":"")+this.authority():""}var n=i(e);return this.protocol(n.protocol()).authority(n.authority()).build(!t),this},a.host=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e)return this._parts.hostname?i.buildHost(this._parts):"";if("/"!==i.parseHost(e,this._parts))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');return this.build(!t),this},a.authority=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e)return this._parts.hostname?i.buildAuthority(this._parts):"";if("/"!==i.parseAuthority(e,this._parts))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');return this.build(!t),this},a.userinfo=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e){var o=i.buildUserinfo(this._parts);return o?o.substring(0,o.length-1):o}return"@"!==e[e.length-1]&&(e+="@"),i.parseUserinfo(e,this._parts),this.build(!t),this},a.resource=function(e,t){var o;return void 0===e?this.path()+this.search()+this.hash():(o=i.parse(e),this._parts.path=o.path,this._parts.query=o.query,this._parts.fragment=o.fragment,this.build(!t),this)},a.subdomain=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var o=this._parts.hostname.length-this.domain().length-1;return this._parts.hostname.substring(0,o)||""}var n=this._parts.hostname.length-this.domain().length,r=this._parts.hostname.substring(0,n),a=new RegExp("^"+l(r));if(e&&"."!==e.charAt(e.length-1)&&(e+="."),-1!==e.indexOf(":"))throw new TypeError("Domains cannot contain colons");return e&&i.ensureValidHostname(e,this._parts.protocol),this._parts.hostname=this._parts.hostname.replace(a,e),this.build(!t),this},a.domain=function(e,t){if(this._parts.urn)return void 0===e?"":this;if("boolean"==typeof e&&(t=e,e=void 0),void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var o=this._parts.hostname.match(/\./g);if(o&&o.length<2)return this._parts.hostname;var n=this._parts.hostname.length-this.tld(t).length-1;return n=this._parts.hostname.lastIndexOf(".",n-1)+1,this._parts.hostname.substring(n)||""}if(!e)throw new TypeError("cannot set domain empty");if(-1!==e.indexOf(":"))throw new TypeError("Domains cannot contain colons");if(i.ensureValidHostname(e,this._parts.protocol),!this._parts.hostname||this.is("IP"))this._parts.hostname=e;else{var r=new RegExp(l(this.domain())+"$");this._parts.hostname=this._parts.hostname.replace(r,e)}return this.build(!t),this},a.tld=function(e,t){if(this._parts.urn)return void 0===e?"":this;if("boolean"==typeof e&&(t=e,e=void 0),void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var n=this._parts.hostname.lastIndexOf("."),r=this._parts.hostname.substring(n+1);return!0!==t&&o&&o.list[r.toLowerCase()]&&o.get(this._parts.hostname)||r}var i;if(!e)throw new TypeError("cannot set TLD empty");if(e.match(/[^a-zA-Z0-9-]/)){if(!o||!o.is(e))throw new TypeError('TLD "'+e+'" contains characters other than [A-Z0-9]');i=new RegExp(l(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(i,e)}else{if(!this._parts.hostname||this.is("IP"))throw new ReferenceError("cannot set TLD on non-domain host");i=new RegExp(l(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(i,e)}return this.build(!t),this},a.directory=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e||!0===e){if(!this._parts.path&&!this._parts.hostname)return"";if("/"===this._parts.path)return"/";var o=this._parts.path.length-this.filename().length-1,n=this._parts.path.substring(0,o)||(this._parts.hostname?"/":"");return e?i.decodePath(n):n}var r=this._parts.path.length-this.filename().length,a=this._parts.path.substring(0,r),s=new RegExp("^"+l(a));return this.is("relative")||(e||(e="/"),"/"!==e.charAt(0)&&(e="/"+e)),e&&"/"!==e.charAt(e.length-1)&&(e+="/"),e=i.recodePath(e),this._parts.path=this._parts.path.replace(s,e),this.build(!t),this},a.filename=function(e,t){if(this._parts.urn)return void 0===e?"":this;if("string"!=typeof e){if(!this._parts.path||"/"===this._parts.path)return"";var o=this._parts.path.lastIndexOf("/"),n=this._parts.path.substring(o+1);return e?i.decodePathSegment(n):n}var r=!1;"/"===e.charAt(0)&&(e=e.substring(1)),e.match(/\.?\//)&&(r=!0);var a=new RegExp(l(this.filename())+"$");return e=i.recodePath(e),this._parts.path=this._parts.path.replace(a,e),r?this.normalizePath(t):this.build(!t),this},a.suffix=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e||!0===e){if(!this._parts.path||"/"===this._parts.path)return"";var o,n,r=this.filename(),a=r.lastIndexOf(".");return-1===a?"":(o=r.substring(a+1),n=/^[a-z0-9%]+$/i.test(o)?o:"",e?i.decodePathSegment(n):n)}"."===e.charAt(0)&&(e=e.substring(1));var s,c=this.suffix();if(c)s=e?new RegExp(l(c)+"$"):new RegExp(l("."+c)+"$");else{if(!e)return this;this._parts.path+="."+i.recodePath(e)}return s&&(e=i.recodePath(e),this._parts.path=this._parts.path.replace(s,e)),this.build(!t),this},a.segment=function(e,t,o){var n=this._parts.urn?":":"/",r=this.path(),i="/"===r.substring(0,1),a=r.split(n);if(void 0!==e&&"number"!=typeof e&&(o=t,t=e,e=void 0),void 0!==e&&"number"!=typeof e)throw new Error('Bad segment "'+e+'", must be 0-based integer');if(i&&a.shift(),e<0&&(e=Math.max(a.length+e,0)),void 0===t)return void 0===e?a:a[e];if(null===e||void 0===a[e])if(d(t)){a=[];for(var s=0,l=t.length;s<l;s++)(t[s].length||a.length&&a[a.length-1].length)&&(a.length&&!a[a.length-1].length&&a.pop(),a.push(h(t[s])))}else(t||"string"==typeof t)&&(t=h(t),""===a[a.length-1]?a[a.length-1]=t:a.push(t));else t?a[e]=h(t):a.splice(e,1);return i&&a.unshift(""),this.path(a.join(n),o)},a.segmentCoded=function(e,t,o){var n,r,a;if("number"!=typeof e&&(o=t,t=e,e=void 0),void 0===t){if(d(n=this.segment(e,t,o)))for(r=0,a=n.length;r<a;r++)n[r]=i.decode(n[r]);else n=void 0!==n?i.decode(n):void 0;return n}if(d(t))for(r=0,a=t.length;r<a;r++)t[r]=i.encode(t[r]);else t="string"==typeof t||t instanceof String?i.encode(t):t;return this.segment(e,t,o)};var k=a.query;return a.query=function(e,t){if(!0===e)return i.parseQuery(this._parts.query,this._parts.escapeQuerySpace);if("function"==typeof e){var o=i.parseQuery(this._parts.query,this._parts.escapeQuerySpace),n=e.call(this,o);return this._parts.query=i.buildQuery(n||o,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),this.build(!t),this}return void 0!==e&&"string"!=typeof e?(this._parts.query=i.buildQuery(e,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),this.build(!t),this):k.call(this,e,t)},a.setQuery=function(e,t,o){var n=i.parseQuery(this._parts.query,this._parts.escapeQuerySpace);if("string"==typeof e||e instanceof String)n[e]=void 0!==t?t:null;else{if("object"!=typeof e)throw new TypeError("URI.addQuery() accepts an object, string as the name parameter");for(var r in e)s.call(e,r)&&(n[r]=e[r])}return this._parts.query=i.buildQuery(n,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),"string"!=typeof e&&(o=t),this.build(!o),this},a.addQuery=function(e,t,o){var n=i.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return i.addQuery(n,e,void 0===t?null:t),this._parts.query=i.buildQuery(n,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),"string"!=typeof e&&(o=t),this.build(!o),this},a.removeQuery=function(e,t,o){var n=i.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return i.removeQuery(n,e,t),this._parts.query=i.buildQuery(n,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),"string"!=typeof e&&(o=t),this.build(!o),this},a.hasQuery=function(e,t,o){var n=i.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return i.hasQuery(n,e,t,o)},a.setSearch=a.setQuery,a.addSearch=a.addQuery,a.removeSearch=a.removeQuery,a.hasSearch=a.hasQuery,a.normalize=function(){return this._parts.urn?this.normalizeProtocol(!1).normalizePath(!1).normalizeQuery(!1).normalizeFragment(!1).build():this.normalizeProtocol(!1).normalizeHostname(!1).normalizePort(!1).normalizePath(!1).normalizeQuery(!1).normalizeFragment(!1).build()},a.normalizeProtocol=function(e){return"string"==typeof this._parts.protocol&&(this._parts.protocol=this._parts.protocol.toLowerCase(),this.build(!e)),this},a.normalizeHostname=function(o){return this._parts.hostname&&(this.is("IDN")&&e?this._parts.hostname=e.toASCII(this._parts.hostname):this.is("IPv6")&&t&&(this._parts.hostname=t.best(this._parts.hostname)),this._parts.hostname=this._parts.hostname.toLowerCase(),this.build(!o)),this},a.normalizePort=function(e){return"string"==typeof this._parts.protocol&&this._parts.port===i.defaultPorts[this._parts.protocol]&&(this._parts.port=null,this.build(!e)),this},a.normalizePath=function(e){var t,o=this._parts.path;if(!o)return this;if(this._parts.urn)return this._parts.path=i.recodeUrnPath(this._parts.path),this.build(!e),this;if("/"===this._parts.path)return this;var n,r,a="";for("/"!==(o=i.recodePath(o)).charAt(0)&&(t=!0,o="/"+o),"/.."!==o.slice(-3)&&"/."!==o.slice(-2)||(o+="/"),o=o.replace(/(\/(\.\/)+)|(\/\.$)/g,"/").replace(/\/{2,}/g,"/"),t&&(a=o.substring(1).match(/^(\.\.\/)+/)||"")&&(a=a[0]);-1!==(n=o.search(/\/\.\.(\/|$)/));)0!==n?(-1===(r=o.substring(0,n).lastIndexOf("/"))&&(r=n),o=o.substring(0,r)+o.substring(n+3)):o=o.substring(3);return t&&this.is("relative")&&(o=a+o.substring(1)),this._parts.path=o,this.build(!e),this},a.normalizePathname=a.normalizePath,a.normalizeQuery=function(e){return"string"==typeof this._parts.query&&(this._parts.query.length?this.query(i.parseQuery(this._parts.query,this._parts.escapeQuerySpace)):this._parts.query=null,this.build(!e)),this},a.normalizeFragment=function(e){return this._parts.fragment||(this._parts.fragment=null,this.build(!e)),this},a.normalizeSearch=a.normalizeQuery,a.normalizeHash=a.normalizeFragment,a.iso8859=function(){var e=i.encode,t=i.decode;i.encode=escape,i.decode=decodeURIComponent;try{this.normalize()}finally{i.encode=e,i.decode=t}return this},a.unicode=function(){var e=i.encode,t=i.decode;i.encode=g,i.decode=unescape;try{this.normalize()}finally{i.encode=e,i.decode=t}return this},a.readable=function(){var t=this.clone();t.username("").password("").normalize();var o="";if(t._parts.protocol&&(o+=t._parts.protocol+"://"),t._parts.hostname&&(t.is("punycode")&&e?(o+=e.toUnicode(t._parts.hostname),t._parts.port&&(o+=":"+t._parts.port)):o+=t.host()),t._parts.hostname&&t._parts.path&&"/"!==t._parts.path.charAt(0)&&(o+="/"),o+=t.path(!0),t._parts.query){for(var n="",r=0,a=t._parts.query.split("&"),s=a.length;r<s;r++){var l=(a[r]||"").split("=");n+="&"+i.decodeQuery(l[0],this._parts.escapeQuerySpace).replace(/&/g,"%26"),void 0!==l[1]&&(n+="="+i.decodeQuery(l[1],this._parts.escapeQuerySpace).replace(/&/g,"%26"))}o+="?"+n.substring(1)}return o+i.decodeQuery(t.hash(),!0)},a.absoluteTo=function(e){var t,o,n,r=this.clone(),a=["protocol","username","password","hostname","port"];if(this._parts.urn)throw new Error("URNs do not have any generally defined hierarchical components");if(e instanceof i||(e=new i(e)),r._parts.protocol)return r;if(r._parts.protocol=e._parts.protocol,this._parts.hostname)return r;for(o=0;n=a[o];o++)r._parts[n]=e._parts[n];return r._parts.path?(".."===r._parts.path.substring(-2)&&(r._parts.path+="/"),"/"!==r.path().charAt(0)&&(t=(t=e.directory())||(0===e.path().indexOf("/")?"/":""),r._parts.path=(t?t+"/":"")+r._parts.path,r.normalizePath())):(r._parts.path=e._parts.path,r._parts.query||(r._parts.query=e._parts.query)),r.build(),r},a.relativeTo=function(e){var t,o,n,r,a,s=this.clone().normalize();if(s._parts.urn)throw new Error("URNs do not have any generally defined hierarchical components");if(e=new i(e).normalize(),t=s._parts,o=e._parts,r=s.path(),a=e.path(),"/"!==r.charAt(0))throw new Error("URI is already relative");if("/"!==a.charAt(0))throw new Error("Cannot calculate a URI relative to another relative URI");if(t.protocol===o.protocol&&(t.protocol=null),t.username!==o.username||t.password!==o.password)return s.build();if(null!==t.protocol||null!==t.username||null!==t.password)return s.build();if(t.hostname!==o.hostname||t.port!==o.port)return s.build();if(t.hostname=null,t.port=null,r===a)return t.path="",s.build();if(!(n=i.commonPath(r,a)))return s.build();var l=o.path.substring(n.length).replace(/[^\/]*$/,"").replace(/.*?\//g,"../");return t.path=l+t.path.substring(n.length)||"./",s.build()},a.equals=function(e){var t,o,n,r,a,l=this.clone(),c=new i(e),p={};if(l.normalize(),c.normalize(),l.toString()===c.toString())return!0;if(n=l.query(),r=c.query(),l.query(""),c.query(""),l.toString()!==c.toString())return!1;if(n.length!==r.length)return!1;for(a in t=i.parseQuery(n,this._parts.escapeQuerySpace),o=i.parseQuery(r,this._parts.escapeQuerySpace),t)if(s.call(t,a)){if(d(t[a])){if(!m(t[a],o[a]))return!1}else if(t[a]!==o[a])return!1;p[a]=!0}for(a in o)if(s.call(o,a)&&!p[a])return!1;return!0},a.preventInvalidHostname=function(e){return this._parts.preventInvalidHostname=!!e,this},a.duplicateQueryParameters=function(e){return this._parts.duplicateQueryParameters=!!e,this},a.escapeQuerySpace=function(e){return this._parts.escapeQuerySpace=!!e,this},i}))},function(e,t){e.exports=window.wp.hooks},function(e,t){e.exports=window.wp.compose},function(e,t){e.exports=window.wp.url},function(e,t,o){(function(e,n){var r;!function(i){t&&t.nodeType,e&&e.nodeType;var a="object"==typeof n&&n;a.global!==a&&a.window!==a&&a.self;var s,l=2147483647,c=/^xn--/,d=/[^\x20-\x7E]/,p=/[\x2E\u3002\uFF0E\uFF61]/g,u={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},m=Math.floor,h=String.fromCharCode;function b(e){throw new RangeError(u[e])}function g(e,t){for(var o=e.length,n=[];o--;)n[o]=t(e[o]);return n}function f(e,t){var o=e.split("@"),n="";return o.length>1&&(n=o[0]+"@",e=o[1]),n+g((e=e.replace(p,".")).split("."),t).join(".")}function v(e){for(var t,o,n=[],r=0,i=e.length;r<i;)(t=e.charCodeAt(r++))>=55296&&t<=56319&&r<i?56320==(64512&(o=e.charCodeAt(r++)))?n.push(((1023&t)<<10)+(1023&o)+65536):(n.push(t),r--):n.push(t);return n}function w(e){return g(e,(function(e){var t="";return e>65535&&(t+=h((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+h(e)})).join("")}function y(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function O(e,t,o){var n=0;for(e=o?m(e/700):e>>1,e+=m(e/t);e>455;n+=36)e=m(e/35);return m(n+36*e/(e+38))}function j(e){var t,o,n,r,i,a,s,c,d,p,u,h=[],g=e.length,f=0,v=128,y=72;for((o=e.lastIndexOf("-"))<0&&(o=0),n=0;n<o;++n)e.charCodeAt(n)>=128&&b("not-basic"),h.push(e.charCodeAt(n));for(r=o>0?o+1:0;r<g;){for(i=f,a=1,s=36;r>=g&&b("invalid-input"),((c=(u=e.charCodeAt(r++))-48<10?u-22:u-65<26?u-65:u-97<26?u-97:36)>=36||c>m((l-f)/a))&&b("overflow"),f+=c*a,!(c<(d=s<=y?1:s>=y+26?26:s-y));s+=36)a>m(l/(p=36-d))&&b("overflow"),a*=p;y=O(f-i,t=h.length+1,0==i),m(f/t)>l-v&&b("overflow"),v+=m(f/t),f%=t,h.splice(f++,0,v)}return w(h)}function C(e){var t,o,n,r,i,a,s,c,d,p,u,g,f,w,j,C=[];for(g=(e=v(e)).length,t=128,o=0,i=72,a=0;a<g;++a)(u=e[a])<128&&C.push(h(u));for(n=r=C.length,r&&C.push("-");n<g;){for(s=l,a=0;a<g;++a)(u=e[a])>=t&&u<s&&(s=u);for(s-t>m((l-o)/(f=n+1))&&b("overflow"),o+=(s-t)*f,t=s,a=0;a<g;++a)if((u=e[a])<t&&++o>l&&b("overflow"),u==t){for(c=o,d=36;!(c<(p=d<=i?1:d>=i+26?26:d-i));d+=36)j=c-p,w=36-p,C.push(h(y(p+j%w,0))),c=m(j/w);C.push(h(y(c,0))),i=O(o,f,n==r),o=0,++n}++o,++t}return C.join("")}s={version:"1.3.2",ucs2:{decode:v,encode:w},decode:j,encode:C,toASCII:function(e){return f(e,(function(e){return d.test(e)?"xn--"+C(e):e}))},toUnicode:function(e){return f(e,(function(e){return c.test(e)?j(e.slice(4).toLowerCase()):e}))}},void 0===(r=function(){return s}.call(t,o,t,e))||(e.exports=r)}()}).call(this,o(22)(e),o(23))},function(e,t,o){var n,r;!function(i,a){"use strict";e.exports?e.exports=a():void 0===(r="function"==typeof(n=a)?n.call(t,o,t,e):n)||(e.exports=r)}(0,(function(e){"use strict";var t=e&&e.IPv6;return{best:function(e){var t,o,n=e.toLowerCase().split(":"),r=n.length,i=8;for(""===n[0]&&""===n[1]&&""===n[2]?(n.shift(),n.shift()):""===n[0]&&""===n[1]?n.shift():""===n[r-1]&&""===n[r-2]&&n.pop(),-1!==n[(r=n.length)-1].indexOf(".")&&(i=7),t=0;t<r&&""!==n[t];t++);if(t<i)for(n.splice(t,1,"0000");n.length<i;)n.splice(t,0,"0000");for(var a=0;a<i;a++){o=n[a].split("");for(var s=0;s<3&&"0"===o[0]&&o.length>1;s++)o.splice(0,1);n[a]=o.join("")}var l=-1,c=0,d=0,p=-1,u=!1;for(a=0;a<i;a++)u?"0"===n[a]?d+=1:(u=!1,d>c&&(l=p,c=d)):"0"===n[a]&&(u=!0,p=a,d=1);d>c&&(l=p,c=d),c>1&&n.splice(l,c,""),r=n.length;var m="";for(""===n[0]&&(m=":"),a=0;a<r&&(m+=n[a],a!==r-1);a++)m+=":";return""===n[r-1]&&(m+=":"),m},noConflict:function(){return e.IPv6===this&&(e.IPv6=t),this}}}))},function(e,t,o){var n,r;!function(i,a){"use strict";e.exports?e.exports=a():void 0===(r="function"==typeof(n=a)?n.call(t,o,t,e):n)||(e.exports=r)}(0,(function(e){"use strict";var t=e&&e.SecondLevelDomains,o={list:{ac:" com gov mil net org ",ae:" ac co gov mil name net org pro sch ",af:" com edu gov net org ",al:" com edu gov mil net org ",ao:" co ed gv it og pb ",ar:" com edu gob gov int mil net org tur ",at:" ac co gv or ",au:" asn com csiro edu gov id net org ",ba:" co com edu gov mil net org rs unbi unmo unsa untz unze ",bb:" biz co com edu gov info net org store tv ",bh:" biz cc com edu gov info net org ",bn:" com edu gov net org ",bo:" com edu gob gov int mil net org tv ",br:" adm adv agr am arq art ato b bio blog bmd cim cng cnt com coop ecn edu eng esp etc eti far flog fm fnd fot fst g12 ggf gov imb ind inf jor jus lel mat med mil mus net nom not ntr odo org ppg pro psc psi qsl rec slg srv tmp trd tur tv vet vlog wiki zlg ",bs:" com edu gov net org ",bz:" du et om ov rg ",ca:" ab bc mb nb nf nl ns nt nu on pe qc sk yk ",ck:" biz co edu gen gov info net org ",cn:" ac ah bj com cq edu fj gd gov gs gx gz ha hb he hi hl hn jl js jx ln mil net nm nx org qh sc sd sh sn sx tj tw xj xz yn zj ",co:" com edu gov mil net nom org ",cr:" ac c co ed fi go or sa ",cy:" ac biz com ekloges gov ltd name net org parliament press pro tm ",do:" art com edu gob gov mil net org sld web ",dz:" art asso com edu gov net org pol ",ec:" com edu fin gov info med mil net org pro ",eg:" com edu eun gov mil name net org sci ",er:" com edu gov ind mil net org rochest w ",es:" com edu gob nom org ",et:" biz com edu gov info name net org ",fj:" ac biz com info mil name net org pro ",fk:" ac co gov net nom org ",fr:" asso com f gouv nom prd presse tm ",gg:" co net org ",gh:" com edu gov mil org ",gn:" ac com gov net org ",gr:" com edu gov mil net org ",gt:" com edu gob ind mil net org ",gu:" com edu gov net org ",hk:" com edu gov idv net org ",hu:" 2000 agrar bolt casino city co erotica erotika film forum games hotel info ingatlan jogasz konyvelo lakas media news org priv reklam sex shop sport suli szex tm tozsde utazas video ",id:" ac co go mil net or sch web ",il:" ac co gov idf k12 muni net org ",in:" ac co edu ernet firm gen gov i ind mil net nic org res ",iq:" com edu gov i mil net org ",ir:" ac co dnssec gov i id net org sch ",it:" edu gov ",je:" co net org ",jo:" com edu gov mil name net org sch ",jp:" ac ad co ed go gr lg ne or ",ke:" ac co go info me mobi ne or sc ",kh:" com edu gov mil net org per ",ki:" biz com de edu gov info mob net org tel ",km:" asso com coop edu gouv k medecin mil nom notaires pharmaciens presse tm veterinaire ",kn:" edu gov net org ",kr:" ac busan chungbuk chungnam co daegu daejeon es gangwon go gwangju gyeongbuk gyeonggi gyeongnam hs incheon jeju jeonbuk jeonnam k kg mil ms ne or pe re sc seoul ulsan ",kw:" com edu gov net org ",ky:" com edu gov net org ",kz:" com edu gov mil net org ",lb:" com edu gov net org ",lk:" assn com edu gov grp hotel int ltd net ngo org sch soc web ",lr:" com edu gov net org ",lv:" asn com conf edu gov id mil net org ",ly:" com edu gov id med net org plc sch ",ma:" ac co gov m net org press ",mc:" asso tm ",me:" ac co edu gov its net org priv ",mg:" com edu gov mil nom org prd tm ",mk:" com edu gov inf name net org pro ",ml:" com edu gov net org presse ",mn:" edu gov org ",mo:" com edu gov net org ",mt:" com edu gov net org ",mv:" aero biz com coop edu gov info int mil museum name net org pro ",mw:" ac co com coop edu gov int museum net org ",mx:" com edu gob net org ",my:" com edu gov mil name net org sch ",nf:" arts com firm info net other per rec store web ",ng:" biz com edu gov mil mobi name net org sch ",ni:" ac co com edu gob mil net nom org ",np:" com edu gov mil net org ",nr:" biz com edu gov info net org ",om:" ac biz co com edu gov med mil museum net org pro sch ",pe:" com edu gob mil net nom org sld ",ph:" com edu gov i mil net ngo org ",pk:" biz com edu fam gob gok gon gop gos gov net org web ",pl:" art bialystok biz com edu gda gdansk gorzow gov info katowice krakow lodz lublin mil net ngo olsztyn org poznan pwr radom slupsk szczecin torun warszawa waw wroc wroclaw zgora ",pr:" ac biz com edu est gov info isla name net org pro prof ",ps:" com edu gov net org plo sec ",pw:" belau co ed go ne or ",ro:" arts com firm info nom nt org rec store tm www ",rs:" ac co edu gov in org ",sb:" com edu gov net org ",sc:" com edu gov net org ",sh:" co com edu gov net nom org ",sl:" com edu gov net org ",st:" co com consulado edu embaixada gov mil net org principe saotome store ",sv:" com edu gob org red ",sz:" ac co org ",tr:" av bbs bel biz com dr edu gen gov info k12 name net org pol tel tsk tv web ",tt:" aero biz cat co com coop edu gov info int jobs mil mobi museum name net org pro tel travel ",tw:" club com ebiz edu game gov idv mil net org ",mu:" ac co com gov net or org ",mz:" ac co edu gov org ",na:" co com ",nz:" ac co cri geek gen govt health iwi maori mil net org parliament school ",pa:" abo ac com edu gob ing med net nom org sld ",pt:" com edu gov int net nome org publ ",py:" com edu gov mil net org ",qa:" com edu gov mil net org ",re:" asso com nom ",ru:" ac adygeya altai amur arkhangelsk astrakhan bashkiria belgorod bir bryansk buryatia cbg chel chelyabinsk chita chukotka chuvashia com dagestan e-burg edu gov grozny int irkutsk ivanovo izhevsk jar joshkar-ola kalmykia kaluga kamchatka karelia kazan kchr kemerovo khabarovsk khakassia khv kirov koenig komi kostroma kranoyarsk kuban kurgan kursk lipetsk magadan mari mari-el marine mil mordovia mosreg msk murmansk nalchik net nnov nov novosibirsk nsk omsk orenburg org oryol penza perm pp pskov ptz rnd ryazan sakhalin samara saratov simbirsk smolensk spb stavropol stv surgut tambov tatarstan tom tomsk tsaritsyn tsk tula tuva tver tyumen udm udmurtia ulan-ude vladikavkaz vladimir vladivostok volgograd vologda voronezh vrn vyatka yakutia yamal yekaterinburg yuzhno-sakhalinsk ",rw:" ac co com edu gouv gov int mil net ",sa:" com edu gov med net org pub sch ",sd:" com edu gov info med net org tv ",se:" a ac b bd c d e f g h i k l m n o org p parti pp press r s t tm u w x y z ",sg:" com edu gov idn net org per ",sn:" art com edu gouv org perso univ ",sy:" com edu gov mil net news org ",th:" ac co go in mi net or ",tj:" ac biz co com edu go gov info int mil name net nic org test web ",tn:" agrinet com defense edunet ens fin gov ind info intl mincom nat net org perso rnrt rns rnu tourism ",tz:" ac co go ne or ",ua:" biz cherkassy chernigov chernovtsy ck cn co com crimea cv dn dnepropetrovsk donetsk dp edu gov if in ivano-frankivsk kh kharkov kherson khmelnitskiy kiev kirovograd km kr ks kv lg lugansk lutsk lviv me mk net nikolaev od odessa org pl poltava pp rovno rv sebastopol sumy te ternopil uzhgorod vinnica vn zaporizhzhe zhitomir zp zt ",ug:" ac co go ne or org sc ",uk:" ac bl british-library co cym gov govt icnet jet lea ltd me mil mod national-library-scotland nel net nhs nic nls org orgn parliament plc police sch scot soc ",us:" dni fed isa kids nsn ",uy:" com edu gub mil net org ",ve:" co com edu gob info mil net org web ",vi:" co com k12 net org ",vn:" ac biz com edu gov health info int name net org pro ",ye:" co com gov ltd me net org plc ",yu:" ac co edu gov org ",za:" ac agric alt bourse city co cybernet db edu gov grondar iaccess imt inca landesign law mil net ngo nis nom olivetti org pix school tm web ",zm:" ac co com edu gov net org sch ",com:"ar br cn de eu gb gr hu jpn kr no qc ru sa se uk us uy za ",net:"gb jp se uk ",org:"ae",de:"com "},has:function(e){var t=e.lastIndexOf(".");if(t<=0||t>=e.length-1)return!1;var n=e.lastIndexOf(".",t-1);if(n<=0||n>=t-1)return!1;var r=o.list[e.slice(t+1)];return!!r&&r.indexOf(" "+e.slice(n+1,t)+" ")>=0},is:function(e){var t=e.lastIndexOf(".");if(t<=0||t>=e.length-1)return!1;if(e.lastIndexOf(".",t-1)>=0)return!1;var n=o.list[e.slice(t+1)];return!!n&&n.indexOf(" "+e.slice(0,t)+" ")>=0},get:function(e){var t=e.lastIndexOf(".");if(t<=0||t>=e.length-1)return null;var n=e.lastIndexOf(".",t-1);if(n<=0||n>=t-1)return null;var r=o.list[e.slice(t+1)];return r?r.indexOf(" "+e.slice(n+1,t)+" ")<0?null:e.slice(n+1):null},noConflict:function(){return e.SecondLevelDomains===this&&(e.SecondLevelDomains=t),this}};return o}))},function(e,t){e.exports=window.wp.tokenList},function(e,t){e.exports=window.React},function(e,t){e.exports=window.wp.a11y},,function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t){var o;o=function(){return this}();try{o=o||new Function("return this")()}catch(e){"object"==typeof window&&(o=window)}e.exports=o},,function(e,t,o){"use strict";o.r(t);var n=o(10),r=o.n(n),i=o(0),a=o(3),s=(o(21),o(8)),l=Object(i.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 225.43 225.56"},Object(i.createElement)(s.Path,{d:"M947.67,465.69h72a18,18,0,0,0,18-18v-72a18,18,0,0,0-18-18h-72a18,18,0,0,0-18,18v12a6,6,0,0,0,12,0v-12a6,6,0,0,1,6-6h72a6,6,0,0,1,6,6v72a6,6,0,0,1-6,6h-72a6,6,0,0,1-6-6v-36a6,6,0,1,0-12,0v36A18,18,0,0,0,947.67,465.69Z",transform:"translate(-812.57 -357.69)"}),Object(i.createElement)(s.Path,{d:"M984,505a24,24,0,1,0,22.17,14.82A24,24,0,0,0,984,505Zm4.59,35.09A12,12,0,1,1,996,529,12,12,0,0,1,988.59,540.09Z",transform:"translate(-812.57 -357.69)"}),Object(i.createElement)(s.Path,{d:"M1032,535a6,6,0,0,0,6-6V493a18,18,0,0,0-18-18H948a18,18,0,0,0-18,18v72a18,18,0,0,0,18,18h72a18,18,0,0,0,18-18V553a6,6,0,0,0-12,0v12a6,6,0,0,1-6,6H948a6,6,0,0,1-6-6V493a6,6,0,0,1,6-6h72a6,6,0,0,1,6,6v36A6,6,0,0,0,1032,535Z",transform:"translate(-812.57 -357.69)"}),Object(i.createElement)(s.Path,{d:"M902.57,475.25h-72a18,18,0,0,0-18,18v12a6,6,0,1,0,12,0v-12a6,6,0,0,1,6-6h72a6,6,0,0,1,6,6v72a6,6,0,0,1-6,6h-72a6,6,0,0,1-6-6v-36a6,6,0,0,0-12,0v36a18,18,0,0,0,18,18h72a18,18,0,0,0,18-18v-72A18,18,0,0,0,902.57,475.25Z",transform:"translate(-812.57 -357.69)"}),Object(i.createElement)(s.Path,{d:"M893.7,406.66l-36-18A6,6,0,0,0,849,394v36a6,6,0,0,0,6,6,5.92,5.92,0,0,0,2.7-.66l36-18a6,6,0,0,0,0-10.68ZM861,420.28V403.72L877.56,412Z",transform:"translate(-812.57 -357.69)"}),Object(i.createElement)(s.Path,{d:"M846.34,362.11a54,54,0,1,0,58.84,11.71A54,54,0,0,0,846.34,362.11ZM896.7,441.7a42,42,0,1,1,9.1-45.77A42,42,0,0,1,896.7,441.7Z",transform:"translate(-812.57 -357.69)"}),Object(i.createElement)(s.Path,{d:"M859.91,504.71v4.5c0,3.24-2.14,5.7-6.59,5.7h-2.13v9.36h7.52v15c0,7,5.38,11.26,14.19,11.26a18.45,18.45,0,0,0,6.75-1v-8.87a19.38,19.38,0,0,1-3.42.35c-2.82,0-4.7-.77-4.7-3.66V524.27h8.29v-9.36h-8.29v-10.2Z",transform:"translate(-812.57 -357.69)"}),Object(i.createElement)(s.Path,{d:"M994.39,395.08a17.74,17.74,0,0,1,3.85.35v-8.72a18.83,18.83,0,0,0-6.16-.78c-10.34,0-16.23,5.49-16.23,13.52v3h-6.76v9h6.76v26h13v-26h9.23v-9h-9.23V399.8C988.84,395.93,992.08,395.08,994.39,395.08Z",transform:"translate(-812.57 -357.69)"})),c=o(4),d=o.n(c),p=o(11),u=o.n(p),m=o(5),h=o.n(m),b=o(2),g=o(9),f=o(1),v=o(6),w=o(13),y=o(18),O=o.n(y);const{icons:j}=wpzSocialIconsBlock;var C=class{static filterIcons(e){const t={};if(""===e)return j;if("wordpress"===e.toLowerCase()){const e={};return Object(a.forEach)(j,(t,o)=>{e[o]=t.filter(e=>Object(a.isObject)(e)?"wordpress"===e.icon||"wordpress-alt"===e.icon:"wordpress"===e||"wordpress-alt"===e)}),e}return Object(a.forEach)(j,(o,n)=>{t[n]=o.filter(t=>Object(a.isObject)(t)?t.icon.indexOf(e)>-1:t.indexOf(e)>-1)}),t}static filterUrlScheme(e){const t={mailto:"mail",viber:"viber",skype:"skype",tg:"tg",tel:"mobile",sms:"comments",fax:"fax",news:"newspaper-o",feed:"rss"},o={"feedburner.google.com":"rss","ok.ru":"odnoklassniki","yt.com":"youtube","fb.com":"facebook","t.me":"telegram","m.me":"messenger","wa.me":"whatsapp","zen.yandex.com":"zen-yandex","zen.yandex.ru":"zen-yandex","bsky.app":"bluesky","wordpress.org":"wordpress","wordpress.com":"wordpress"},n={wordpress:"wordpress",twitter:"twitter",x:"x",facebook:"facebook",instagram:"instagram",linkedin:"linkedin",youtube:"youtube",pinterest:"pinterest",github:"github",spotify:"spotify",tiktok:"tiktok"},r=new u.a(e),i=r.hostname();if(o[i])return o[i];let s=i?i.split("."):[],l="";if(s.length>=2){l=s[0];let e=s[s.length-2];if(n[l])return n[l];if(n[e])return n[e]}l=void 0!==r.domain()?r.domain().split(".").shift():r.scheme();const c=Object(a.findKey)(t,(e,t)=>t===r.scheme());l=void 0!==c?t[c]:l;const d=Object(a.findKey)(o,(e,t)=>t===r.hostname());return void 0!==d?o[d]:l}static hyphensToSpaces(e){return e.replace(/-/g," ")}static capitalize(e){return"string"!=typeof e?"":e.charAt(0).toUpperCase()+e.slice(1)}static humanizeIconLabel(e){return this.hyphensToSpaces(this.capitalize(e))}static getBlockStyle(e){const t=/is-style-(\S*)/g.exec(e);return null!==t?t[1]:null}static getIconClassList(e,t){const o={"social-icon":!0};return o[e]=!0,["fab","fas","far"].includes(e)?o["fa-"+t]=!0:o[e+"-"+t]=!0,o}static addPercentagePipe(e){return e+"%"}static addPercentageHalfPipe(e){return`${.5*e}%/${e}%`}static addPixelsPipe(e){return e+"px"}static arrayMoveMutate(e,t,o){e.splice(o<0?e.length+o:o,0,e.splice(t,1)[0])}static arrayMove(e,t,o){return e=e.slice(),this.arrayMoveMutate(e,t,o),e}static getActiveStyle(e,t){for(const o of new O.a(t).values()){if(-1===o.indexOf("is-style-"))continue;const t=o.substring(9),n=Object(a.find)(e,{name:t});if(n)return n}return Object(a.find)(e,["isDefault",!0])}};class z extends i.Component{constructor(...e){super(...e),d()(this,"state",{color:this.props.color,showColorPicker:!1}),d()(this,"onClickColorIndicatorHandler",()=>{this.setState({showColorPicker:!0})}),d()(this,"setColorPickerHandler",e=>{this.setState({color:e.hex},()=>{this.props.save(this.state)})}),d()(this,"focusOutsideHandler",()=>{this.setState({showColorPicker:!1})})}render(){return Object(i.createElement)(f.ColorIndicator,{title:this.props.title,className:this.props.className,colorValue:this.state.color,onClick:this.onClickColorIndicatorHandler},this.state.showColorPicker&&Object(i.createElement)(f.Popover,{position:"middle right",onFocusOutside:this.focusOutsideHandler},Object(i.createElement)("div",{className:"popover-content"},Object(i.createElement)(f.ColorPicker,{className:"wpzoom-color-picker",disableAlpha:!0,color:this.state.color,onChangeComplete:this.setColorPickerHandler}))))}}var E=z;class k extends i.Component{constructor(...e){super(...e),d()(this,"state",{isHover:!1}),d()(this,"onMouseEnterCallback",()=>{this.setState({isHover:!0})}),d()(this,"onMouseLeaveCallback",()=>{this.setState({isHover:!1})})}render(){return Object(i.createElement)("span",{ref:this.props.setRef,onClick:()=>this.props.click(this.props.icon),className:h()(C.getIconClassList(this.props.iconKit,this.props.icon),{selected:this.props.isSelected}),style:{backgroundColor:this.state.isHover?this.props.hoverColor:this.props.color},onMouseEnter:this.onMouseEnterCallback,onMouseLeave:this.onMouseLeaveCallback})}}var _=k,I=o(19),x=o.n(I);const{iconKitsCategories:A}=wpzSocialIconsBlock;class S extends i.Component{constructor(e){super(e),d()(this,"state",{modalShow:this.props.show,modalUrl:this.props.url,modalLabel:this.props.label,modalIcon:this.props.icon,modalIconKit:this.props.iconKit,modalColor:this.props.color,modalHoverColor:this.props.hoverColor,modalSearch:""}),d()(this,"urlTextControlHandler",e=>{const t={modalUrl:e=Object(a.isEmpty)(new u.a(e).protocol())?"https://"+e:e},o=C.filterUrlScheme(e);if(o){const e=C.filterIcons(o);e[this.state.modalIconKit].length&&(t.modalIcon=e[this.state.modalIconKit][0].icon)}this.setState(t)}),d()(this,"labelTextControlHandler",e=>{this.setState({modalLabel:e})}),d()(this,"searchTextControlHandler",e=>{this.setState({modalSearch:e})}),d()(this,"saveColorPickerHandler",e=>{this.setState({modalColor:e.color})}),d()(this,"saveHoverColorPickerHandler",e=>{this.setState({modalHoverColor:e.color})}),d()(this,"onClickIconHandler",e=>{this.setState({modalIcon:e,modalLabel:C.humanizeIconLabel(e)})}),d()(this,"scrollMe",()=>{const e=this.myRef.current;null!==e&&e.scrollIntoView(!0)}),this.myRef=x.a.createRef(),this.scrollMeDebounced=Object(a.debounce)(this.scrollMe,1e3)}static getDerivedStateFromProps(e,t){return e.show!==t.modalShow?{modalShow:e.show,modalUrl:e.url,modalLabel:e.label,modalIcon:e.icon,modalIconKit:e.iconKit,modalColor:e.color,modalHoverColor:e.hoverColor,modalSearch:""}:null}componentDidUpdate(){this.scrollMeDebounced()}render(){if(!this.state.modalShow)return null;const e=Object.keys(C.filterIcons(this.state.modalSearch)).map((e,t)=>Object(i.createElement)("div",{key:t,className:h()("option-item","icon-kit",e+"-wrapper"),style:{display:this.state.modalIconKit===e?"block":"none"}},C.filterIcons(this.state.modalSearch)[e].map((t,o)=>Object(i.createElement)(_,{key:o,setRef:this.state.modalIcon===t.icon&&this.state.modalIconKit===e?this.myRef:null,color:this.state.modalColor,hoverColor:this.state.modalHoverColor,icon:t.icon,click:this.onClickIconHandler,isSelected:this.state.modalIcon===t.icon,iconKit:e}))));return Object(i.createElement)(f.Modal,{className:h()("wpzoom-social-icons-modal",this.props.className),style:{"--wpz-social-icons-block-modal-item-border-radius":C.addPixelsPipe(this.props.iconsBorderRadius)},title:Object(b.__)("Select Icon","social-icons-widget-by-wpzoom"),shouldCloseOnClickOutside:!1,onRequestClose:()=>this.props.onClose(this.state)},Object(i.createElement)("div",{className:"modal-content"},Object(i.createElement)("div",{className:"option-item"},Object(i.createElement)("div",{className:"label"},Object(b.__)("URL","social-icons-widget-by-wpzoom")),Object(i.createElement)("div",{className:"option-wrapper"},Object(i.createElement)(f.TextControl,{value:this.state.modalUrl,onChange:this.urlTextControlHandler}))),Object(i.createElement)("div",{className:"option-item"},Object(i.createElement)("div",{className:"label"},Object(b.__)("Label","social-icons-widget-by-wpzoom")),Object(i.createElement)("div",{className:"option-wrapper"},Object(i.createElement)(f.TextControl,{value:this.state.modalLabel,onChange:this.labelTextControlHandler}))),Object(i.createElement)("div",{className:"option-item"},Object(i.createElement)("div",{className:"label"},Object(b.__)("Pick icon color","social-icons-widget-by-wpzoom")),Object(i.createElement)("div",{className:"option-wrapper"},Object(i.createElement)(E,{save:this.saveColorPickerHandler,color:this.state.modalColor}))),Object(i.createElement)("div",{className:"option-item"},Object(i.createElement)("div",{className:"label"},Object(b.__)("Pick hover color","social-icons-widget-by-wpzoom")),Object(i.createElement)("div",{className:"option-wrapper"},Object(i.createElement)(E,{save:this.saveHoverColorPickerHandler,color:this.state.modalHoverColor}))),Object(i.createElement)("div",{className:"option-item"},Object(i.createElement)("div",{className:"label"},Object(b.__)("Select Icon Kit","social-icons-widget-by-wpzoom")),Object(i.createElement)("div",{className:"option-wrapper"},Object(i.createElement)(f.SelectControl,{value:this.state.modalIconKit,onChange:e=>{this.setState({modalIconKit:e})},options:Object.values(A)}))),Object(i.createElement)("div",{className:"option-item icon-kits-wrapper"},e)),Object(i.createElement)("div",{className:"modal-controls"},Object(i.createElement)("div",{className:"modal-search"},Object(i.createElement)(f.TextControl,{placeholder:Object(b.__)("Type to search icon","social-icons-widget-by-wpzoom"),value:this.state.modalSearch,onChange:this.searchTextControlHandler})),Object(i.createElement)("div",{className:"modal-buttons"},this.props.showDeleteBtn&&Object(i.createElement)(f.Button,{className:"button-link-delete is-button",onClick:()=>this.props.delete()},Object(b.__)("Delete Icon","social-icons-widget-by-wpzoom")),Object(i.createElement)(f.Button,{isPrimary:!0,onClick:()=>this.props.save(this.state)},Object(b.__)("Save","social-icons-widget-by-wpzoom")))))}}var P=S;class B extends i.Component{constructor(e){super(...arguments),d()(this,"state",{selectedIcons:JSON.parse(JSON.stringify(this.props.attributes.selectedIcons))}),d()(this,"setAlignment",e=>{this.props.setAttributes({iconsAlignment:e})})}static getDerivedStateFromProps(e,t){return t.selectedIcons.length!==e.attributes.selectedIcons.length?{selectedIcons:JSON.parse(JSON.stringify(e.attributes.selectedIcons))}:null}getBlockStyle(e){const t=C.getBlockStyle(e);return null===t?"with-canvas-round":t}render(){const e=[{name:Object(b.__)("Turquoise","social-icons-widget-by-wpzoom"),color:"#4ECDC4"},{name:Object(b.__)("Charcoal","social-icons-widget-by-wpzoom"),color:"#2E3131"},{name:Object(b.__)("White","social-icons-widget-by-wpzoom"),color:"#fff"},{name:Object(b.__)("Dodger blue","social-icons-widget-by-wpzoom"),color:"#22A7F0"},{name:Object(b.__)("Red","social-icons-widget-by-wpzoom"),color:"#D91E18"},{name:Object(b.__)("Orange","social-icons-widget-by-wpzoom"),color:"#F89406"}],{setAttributes:t}=this.props,o="left"===this.props.attributes.iconsAlignment,n="center"===this.props.attributes.iconsAlignment,r="right"===this.props.attributes.iconsAlignment;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(v.InspectorControls,{group:"settings"},Object(i.createElement)(f.PanelBody,{title:Object(b.__)("Icon Labels Settings","social-icons-widget-by-wpzoom")},Object(i.createElement)(f.PanelRow,null,Object(i.createElement)("label",{htmlFor:"show-icon-labels"},Object(b.__)(" Show icon labels?","social-icons-widget-by-wpzoom")),Object(i.createElement)(f.FormToggle,{id:"show-icon-labels",label:Object(b.__)(" Show icon labels?","social-icons-widget-by-wpzoom"),checked:this.props.attributes.showIconsLabel,onChange:()=>{t({showIconsLabel:!this.props.attributes.showIconsLabel})}})),Object(i.createElement)(f.PanelRow,null,Object(i.createElement)("label",{htmlFor:"open-link-in-new-tab"},Object(b.__)("Open links in new tab?","social-icons-widget-by-wpzoom")),Object(i.createElement)(f.FormToggle,{id:"open-link-in-new-tab",label:Object(b.__)("Open links in new tab?","social-icons-widget-by-wpzoom"),checked:this.props.attributes.openLinkInNewTab,onChange:()=>{t({openLinkInNewTab:!this.props.attributes.openLinkInNewTab,noopener:!this.props.attributes.noopener})}})),Object(i.createElement)(i.Fragment,null,Object(i.createElement)(f.PanelRow,null,Object(i.createElement)("label",{htmlFor:"add-nofollow-to-links"},Object(b.__)('Add rel="nofollow" to links',"social-icons-widget-by-wpzoom")),Object(i.createElement)(f.FormToggle,{id:"add-nofollow-to-links",label:Object(b.__)('Add rel="nofollow" to links',"social-icons-widget-by-wpzoom"),checked:this.props.attributes.nofollow,onChange:()=>{t({nofollow:!this.props.attributes.nofollow})}})),Object(i.createElement)(f.PanelRow,null,Object(i.createElement)("label",{htmlFor:"add-noreferrer-to-links"},Object(b.__)('Add rel="noreferrer" to links',"social-icons-widget-by-wpzoom")),Object(i.createElement)(f.FormToggle,{id:"add-noreferrer-to-links",label:Object(b.__)('Add rel="noreferrer" to links',"social-icons-widget-by-wpzoom"),checked:this.props.attributes.noreferrer,onChange:()=>{t({noreferrer:!this.props.attributes.noreferrer})}})),Object(i.createElement)(f.PanelRow,null,Object(i.createElement)("label",{htmlFor:"add-noopener-to-links"},Object(b.__)('Add rel="noopener" to links',"social-icons-widget-by-wpzoom")),Object(i.createElement)(f.FormToggle,{id:"add-noopener-to-links",label:Object(b.__)('Add rel="noopener" to links',"social-icons-widget-by-wpzoom"),checked:this.props.attributes.noopener,onChange:()=>{t({noopener:!this.props.attributes.noopener})}})),Object(i.createElement)(f.PanelRow,null,Object(i.createElement)("label",{htmlFor:"add-noopener-to-links"},Object(b.__)('Add rel="me" to links',"social-icons-widget-by-wpzoom")),Object(i.createElement)(f.FormToggle,{id:"add-noopener-to-links",label:Object(b.__)('Add rel="me" to links',"social-icons-widget-by-wpzoom"),checked:this.props.attributes.relme,onChange:()=>{t({relme:!this.props.attributes.relme})}}))))),Object(i.createElement)(v.InspectorControls,{group:"styles"},Object(i.createElement)(f.PanelBody,{title:Object(b.__)("Icon Styling Settings","social-icons-widget-by-wpzoom")},this.props.attributes.iconsHasBorder?Object(i.createElement)(i.Fragment,null,Object(i.createElement)(f.PanelRow,null,Object(i.createElement)("label",{htmlFor:"icons-border-radius"},Object(b.__)("Icons Border Radius:","social-icons-widget-by-wpzoom"))),Object(i.createElement)(f.PanelRow,null,Object(i.createElement)(f.RangeControl,{id:"icons-border-radius",min:0,max:55,value:this.props.attributes.iconsBorderRadius,onChange:e=>{t({iconsBorderRadius:e})}}))):null,Object(i.createElement)(f.PanelRow,null,Object(i.createElement)("label",{htmlFor:"add-noopener-to-links"},Object(b.__)("Icons Alignment:","social-icons-widget-by-wpzoom"))),Object(i.createElement)(f.PanelRow,null,Object(i.createElement)(f.ButtonGroup,null,Object(i.createElement)(f.Button,{onClick:()=>this.setAlignment("left"),isPrimary:o,isSecondary:!o},"Left"),Object(i.createElement)(f.Button,{onClick:()=>this.setAlignment("center"),isPrimary:n,isSecondary:!n},"Center"),Object(i.createElement)(f.Button,{onClick:()=>this.setAlignment("right"),isPrimary:r,isSecondary:!r},"Right"))),Object(i.createElement)(f.PanelRow,null,Object(i.createElement)("label",{htmlFor:"icons-font-size"},Object(b.__)("Icons Font Size:","social-icons-widget-by-wpzoom"))),Object(i.createElement)(f.PanelRow,null,Object(i.createElement)(f.RangeControl,{id:"icons-font-size",min:0,max:200,value:this.props.attributes.iconsFontSize,onChange:e=>{t({iconsFontSize:e})}})),this.props.attributes.showIconsLabel?Object(i.createElement)(i.Fragment,null,Object(i.createElement)(f.PanelRow,null,Object(i.createElement)("label",{htmlFor:"icons-label-font-size"},Object(b.__)("Icons Label Font Size:","social-icons-widget-by-wpzoom"))),Object(i.createElement)(f.PanelRow,null,Object(i.createElement)(f.RangeControl,{id:"icons-label-font-size",min:0,max:200,value:this.props.attributes.iconsLabelFontSize,onChange:e=>{t({iconsLabelFontSize:e})}}))):null,Object(i.createElement)(f.PanelRow,null,Object(i.createElement)("label",{htmlFor:"icons-padding"},Object(b.__)("Icons Padding Horizontal:","social-icons-widget-by-wpzoom"))),Object(i.createElement)(f.PanelRow,null,Object(i.createElement)(f.RangeControl,{id:"icons-padding-horizontal",beforeIcon:"image-flip-horizontal",value:this.props.attributes.iconsPaddingHorizontal,onChange:e=>t({iconsPaddingHorizontal:e}),min:0,max:200})),Object(i.createElement)(f.PanelRow,null,Object(i.createElement)("label",{htmlFor:"icons-padding"},Object(b.__)("Icons Padding Vertical:","social-icons-widget-by-wpzoom"))),Object(i.createElement)(f.PanelRow,null,Object(i.createElement)(f.RangeControl,{id:"icons-padding-vertical",beforeIcon:"image-flip-vertical",value:this.props.attributes.iconsPaddingVertical,onChange:e=>t({iconsPaddingVertical:e}),min:0,max:200})),Object(i.createElement)(f.PanelRow,null,Object(i.createElement)("label",{htmlFor:"icons-margin-horizontal"},Object(b.__)("Icons Margin Horizontal:","social-icons-widget-by-wpzoom"))),Object(i.createElement)(f.PanelRow,null,Object(i.createElement)(f.RangeControl,{id:"icons-margin-horizontal",beforeIcon:"image-flip-horizontal",value:this.props.attributes.iconsMarginHorizontal,onChange:e=>t({iconsMarginHorizontal:e}),min:0,max:200})),Object(i.createElement)(f.PanelRow,null,Object(i.createElement)("label",{htmlFor:"icons-margin-vertical"},Object(b.__)("Icons Margin Vertical:","social-icons-widget-by-wpzoom"))),Object(i.createElement)(f.PanelRow,null,Object(i.createElement)(f.RangeControl,{id:"icons-margin-vertical",beforeIcon:"image-flip-vertical",value:this.props.attributes.iconsMarginVertical,onChange:e=>t({iconsMarginVertical:e}),min:0,max:200}))),Object(i.createElement)(f.PanelBody,{title:Object(b.__)("Icon Color Settings","social-icons-widget-by-wpzoom")},Object(i.createElement)(f.PanelRow,null,Object(i.createElement)("label",{htmlFor:"icon-color"},Object(b.__)("Set color for all icons","social-icons-widget-by-wpzoom")),Object(i.createElement)(f.ColorIndicator,{colorValue:this.props.attributes.iconsColor})),Object(i.createElement)(f.PanelRow,null,Object(i.createElement)(f.ColorPalette,{id:"icon-color",colors:e,value:this.props.attributes.iconsColor,onChange:e=>{const o=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons));o.map((t,o)=>(t.color=void 0===e?this.state.selectedIcons[o].color:e,t)),t({iconsColor:e,selectedIcons:o})}})),Object(i.createElement)(f.PanelRow,null,Object(i.createElement)("label",{htmlFor:"icon-hover-color"},Object(b.__)("Set hover color for all icons","social-icons-widget-by-wpzoom")),Object(i.createElement)(f.ColorIndicator,{colorValue:this.props.attributes.iconsHoverColor})),Object(i.createElement)(f.PanelRow,null,Object(i.createElement)(f.ColorPalette,{id:"icon-hover-color",colors:e,value:this.props.attributes.iconsHoverColor,onChange:e=>{const o=[...this.props.attributes.selectedIcons];o.map((t,o)=>(t.hoverColor=void 0===e?this.state.selectedIcons[o].hoverColor:e,t)),t({iconsHoverColor:e,selectedIcons:o})}})),this.props.attributes.showIconsLabel?Object(i.createElement)(i.Fragment,null,Object(i.createElement)(f.PanelRow,null,Object(i.createElement)("label",{htmlFor:"icon-label-color"},Object(b.__)("Set color for all label icons","social-icons-widget-by-wpzoom")),Object(i.createElement)(f.ColorIndicator,{colorValue:this.props.attributes.iconsLabelColor})),Object(i.createElement)(f.PanelRow,null,Object(i.createElement)(f.ColorPalette,{id:"icon-label-color",colors:e,value:this.props.attributes.iconsLabelColor,onChange:e=>{t({iconsLabelColor:e})}})),Object(i.createElement)(f.PanelRow,null,Object(i.createElement)("label",{htmlFor:"icon-hover-label-color"},Object(b.__)("Set hover color for all label icons","social-icons-widget-by-wpzoom")),Object(i.createElement)(f.ColorIndicator,{colorValue:this.props.attributes.iconsLabelHoverColor})),Object(i.createElement)(f.PanelRow,null,Object(i.createElement)(f.ColorPalette,{id:"icon-hover-label-color",colors:e,value:this.props.attributes.iconsLabelHoverColor,onChange:e=>{t({iconsLabelHoverColor:e})}}))):null)))}}function F({value:e,save:t}){const[o,n]=Object(i.useState)(e);return Object(i.createElement)(i.Fragment,null,Object(i.createElement)("div",{className:"url-input-wrapper"},Object(i.createElement)(f.Icon,{icon:"admin-site",className:"url-input-icon"}),Object(i.createElement)(f.TextControl,{className:"url-input",type:"text",value:o,onChange:n,onKeyDown:e=>{e.stopPropagation(),"Enter"===e.key&&t(o)},onFocus:e=>e.target.select(),placeholder:Object(b.__)("https://example.com","social-icons-widget-by-wpzoom")})),Object(i.createElement)(f.Button,{icon:"update",isPrimary:!0,onClick:e=>{e.stopPropagation(),t(o)},className:"url-apply-button"},Object(b.__)("Detect Icon","social-icons-widget-by-wpzoom")))}var N=e=>e.isActive&&Object(i.createElement)(f.ButtonGroup,{className:h()("sortable-arrows")},Object(i.createElement)(f.Button,{className:h()("arrow-btn"),isSmall:!0,disabled:0===e.itemKey,onClick:t=>e.left(t,e.itemKey)},Object(i.createElement)(f.Icon,{icon:"arrow-left-alt2",label:"Move Left",size:14,className:h()("arrow-icon")})),Object(i.createElement)(f.Button,{className:h()("arrow-btn"),isSmall:!0,disabled:e.itemKey===e.length-1,onClick:t=>e.right(t,e.itemKey)},Object(i.createElement)(f.Icon,{icon:"arrow-right-alt2",label:"Move Right",size:14,className:h()("arrow-icon")})));class H extends i.Component{constructor(){super(...arguments),d()(this,"closeModal",()=>{this.props.setAttributes({showModal:!1})}),d()(this,"getIconsAlignmentStyle",e=>({left:"flex-start",right:"flex-end",center:"center"}[e])),d()(this,"setAlignment",e=>{this.props.setAttributes({iconsAlignment:e})}),d()(this,"saveModalHandler",e=>{const t=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons)),o=t[this.props.attributes.activeIconIndex],n={url:e.modalUrl,label:e.modalLabel,icon:e.modalIcon,iconKit:e.modalIconKit,color:e.modalColor,hoverColor:e.modalHoverColor};t[this.props.attributes.activeIconIndex]={...o,...n},this.props.setAttributes({selectedIcons:t,showModal:!1})}),d()(this,"insertIcon",e=>{if(e.preventDefault(),e.stopPropagation(),0===e.detail)return;const t=this.getStyleVariations(C.getBlockStyle(this.props.className)),o={url:"",icon:"wordpress",iconKit:"socicon",color:"#444140",hoverColor:"#444140",label:"WordPress",showPopover:!0,isActive:!0,customSvg:null};Object(a.isEmpty)(t.defaultIcon.color)||(o.color=t.defaultIcon.color),Object(a.isEmpty)(t.defaultIcon.hoverColor)||(o.hoverColor=t.defaultIcon.hoverColor);const n=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons));n.map(e=>e.isActive=!1);const r=n.push(o);this.props.setAttributes({selectedIcons:n,activeIconIndex:r-1})}),d()(this,"onClickIconHandler",(e,t,o)=>{e.preventDefault();const n=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons));n.map(e=>e.isActive=!1),n[t].showPopover=!0,n[t].isActive=!0,this.props.setAttributes({activeIconIndex:t,selectedIcons:n})}),d()(this,"popoverCloseHandler",e=>{const t=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons));t[e].showPopover=!1,this.props.setAttributes({selectedIcons:t})}),d()(this,"deleteIconHandler",()=>{const e=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons));e.splice(this.props.attributes.activeIconIndex,1),this.props.setAttributes({selectedIcons:e,showModal:!1,activeIconIndex:0})}),d()(this,"popoverDeleteIconHandler",(e,t)=>{e.stopPropagation();const o=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons));o.splice(t,1),this.props.setAttributes({selectedIcons:o,activeIconIndex:0})}),d()(this,"popoverEditSettingsHandler",(e,t)=>{e.stopPropagation();const o=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons));o[t].showPopover=!1,this.props.setAttributes({showModal:!0,selectedIcons:o})}),d()(this,"popoverSearchHandler",(e,t)=>{t=Object(a.isEmpty)(new u.a(t).protocol())?"https://"+t:t;const o=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons)),n=t.includes("wordpress.org")||t.includes("wordpress.com")||t.includes("wp.org"),r=n?"wordpress":C.filterUrlScheme(t);let i=!1;if(n)o[e].iconKit="dashicons",o[e].icon="wordpress",i=!0,o[e].label="WordPress",o[e].color="#0866FF",o[e].hoverColor="#0866FF";else if(r){const t=C.filterIcons(r);Object(a.map)(t,(t,n)=>{Object(a.isEmpty)(t)||Object(a.filter)(t,(function(t){t.icon===r&&(o[e].iconKit=n,o[e].icon=t.icon,i=!0,t.color&&(o[e].color=t.color,o[e].hoverColor=t.color),o[e].label=C.humanizeIconLabel(r))}))})}o[e].url=t,o[e].showPopover=!0,o[e].iconDetected=i,o[e].justUpdated=!0,this.props.setAttributes({selectedIcons:o}),setTimeout(()=>{const t=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons));t[e]&&(t[e].justUpdated=!1,this.props.setAttributes({selectedIcons:t}))},2e3)}),d()(this,"moveLeftHandler",(e,t)=>{let o=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons));o=C.arrayMove(o,t,t-1),this.props.setAttributes({selectedIcons:o,activeIconIndex:t-1})}),d()(this,"moveRightHandler",(e,t)=>{let o=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons));o=C.arrayMove(o,t,t+1),this.props.setAttributes({selectedIcons:o,activeIconIndex:t+1})}),d()(this,"getRelAttr",()=>{let e=[];return this.props.attributes.nofollow&&e.push("nofollow"),this.props.attributes.noreferrer&&e.push("noreferrer"),this.props.attributes.noopener&&e.push("noopener"),this.props.attributes.relme&&e.push("me"),this.props.attributes.openLinkInNewTab&&(e=["noopener"]),e}),d()(this,"getTarget",()=>{if(this.props.attributes.openLinkInNewTab)return"_blank"}),d()(this,"openCustomSvgModal",e=>{this.setState({isCustomSvgModalOpen:!0,activeIconKey:e,customSvgCode:""})}),d()(this,"closeCustomSvgModal",()=>{this.setState({isCustomSvgModalOpen:!1,customSvgCode:"",activeIconKey:null})}),d()(this,"updateCustomSvgCode",e=>{this.setState({customSvgCode:e})}),d()(this,"applySvgIcon",()=>{const{customSvgCode:e,activeIconKey:t}=this.state;if(!e||""===e.trim())return;if(null===t)return;const o=e.replace(/javascript:/gi,"").replace(/on\w+=/gi,"").replace(/data:/gi,""),n=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons));n[t].iconKit="svg",n[t].icon="custom-svg",n[t].customSvg=o,n[t].showPopover=!1,n[t].label&&""!==n[t].label||(n[t].label=Object(b.__)("Custom Icon","social-icons-widget-by-wpzoom")),this.props.setAttributes({selectedIcons:n}),this.closeCustomSvgModal()}),this.state={isCustomSvgModalOpen:!1,customSvgCode:"",activeIconKey:null}}getStyleVariations(e){const t={"with-label-canvas-rounded":{canvasType:"with-label-canvas",showIconsLabel:!0,iconsColor:null,iconsLabelColor:"#fff",iconsHoverColor:null,iconsLabelHoverColor:"#fff",iconsFontSize:18,iconsLabelFontSize:15,iconsPaddingHorizontal:5,iconsPaddingVertical:5,iconsMarginHorizontal:5,iconsMarginVertical:5,iconsHasBorder:!0,iconsBorderRadius:50,wasStyled:!0,defaultIcon:{icon:"facebook",color:null,hoverColor:null}},"with-canvas-rounded":{canvasType:"with-canvas",showIconsLabel:!1,iconsColor:null,iconsLabelColor:"#2e3131",iconsHoverColor:null,iconsLabelHoverColor:"#2e3131",iconsFontSize:18,iconsLabelFontSize:16,iconsPaddingHorizontal:6,iconsPaddingVertical:6,iconsMarginHorizontal:5,iconsMarginVertical:5,iconsHasBorder:!0,iconsBorderRadius:5,wasStyled:!0,defaultIcon:{icon:"facebook",color:"#0866FF",hoverColor:"#0866FF"},selectedIcons:[{icon:"facebook",color:"#0866FF",hoverColor:"#0866FF"},{icon:"x",color:"#000000",hoverColor:"#000000"},{icon:"instagram",color:"#E4405F",hoverColor:"#E4405F"}]},"with-canvas-round":{canvasType:"with-canvas",showIconsLabel:!1,iconsColor:null,iconsLabelColor:"#2e3131",iconsHoverColor:null,iconsLabelHoverColor:"#2e3131",iconsFontSize:18,iconsLabelFontSize:16,iconsPaddingHorizontal:6,iconsPaddingVertical:6,iconsMarginHorizontal:5,iconsMarginVertical:5,iconsHasBorder:!0,iconsBorderRadius:50,wasStyled:!0,defaultIcon:{icon:"facebook",color:"#0866FF",hoverColor:"#0866FF"},selectedIcons:[{icon:"facebook",color:"#0866FF",hoverColor:"#0866FF"},{icon:"x",color:"#000000",hoverColor:"#000000"},{icon:"instagram",color:"#E4405F",hoverColor:"#E4405F"}]},"with-canvas-squared":{canvasType:"with-canvas",showIconsLabel:!1,iconsColor:null,iconsLabelColor:"#2e3131",iconsHoverColor:null,iconsLabelHoverColor:"#2e3131",iconsFontSize:18,iconsLabelFontSize:16,iconsPaddingHorizontal:6,iconsPaddingVertical:6,iconsMarginHorizontal:5,iconsMarginVertical:5,iconsBorderRadius:0,iconsHasBorder:!0,wasStyled:!0,defaultIcon:{icon:"facebook",color:"#0866FF",hoverColor:"#0866FF"},selectedIcons:[{icon:"facebook",color:"#0866FF",hoverColor:"#0866FF"},{icon:"x",color:"#000000",hoverColor:"#000000"},{icon:"instagram",color:"#E4405F",hoverColor:"#E4405F"}]},"without-canvas":{canvasType:"without-canvas",showIconsLabel:!1,iconsColor:null,iconsLabelColor:"#2e3131",iconsHoverColor:null,iconsLabelHoverColor:"#2e3131",iconsFontSize:18,iconsLabelFontSize:16,iconsPaddingHorizontal:6,iconsPaddingVertical:6,iconsMarginHorizontal:5,iconsMarginVertical:5,iconsHasBorder:!1,wasStyled:!0,defaultIcon:{icon:"facebook",color:"#0866FF",hoverColor:"#0866FF"},selectedIcons:[{icon:"facebook",color:"#0866FF",hoverColor:"#0866FF"},{icon:"x",color:"#000000",hoverColor:"#000000"},{icon:"instagram",color:"#E4405F",hoverColor:"#E4405F"}]},"without-canvas-with-border":{canvasType:"without-canvas",showIconsLabel:!1,iconsColor:null,iconsLabelColor:"inherit",iconsHoverColor:null,iconsLabelHoverColor:"#f1f1f1",iconsFontSize:18,iconsLabelFontSize:16,iconsPaddingHorizontal:6,iconsPaddingVertical:6,iconsMarginHorizontal:5,iconsMarginVertical:5,iconsHasBorder:!0,iconsBorderRadius:0,wasStyled:!0,defaultIcon:{icon:"facebook",color:null,hoverColor:null}},"without-canvas-with-label":{canvasType:"without-canvas",showIconsLabel:!0,iconsColor:null,iconsLabelColor:"inherit",iconsHoverColor:null,iconsLabelHoverColor:"#f1f1f1",iconsFontSize:40,iconsLabelFontSize:15,iconsPaddingHorizontal:10,iconsPaddingVertical:10,iconsMarginHorizontal:0,iconsMarginVertical:0,iconsHasBorder:!1,wasStyled:!0,defaultIcon:{icon:"facebook",color:null,hoverColor:null}}};return Object(a.get)(t,e,!1)?Object(a.get)(t,e,!1):Object(a.get)(t,this.getActiveStyle())}getActiveStyle(){const{blockStyles:e}=this.props,t=C.getActiveStyle(e,this.props.className);return t&&t.name||""}componentDidUpdate(e,t){if(C.getBlockStyle(e.className)!==C.getBlockStyle(this.props.className)){const e=this.getStyleVariations(this.getActiveStyle());if(!Object(a.isEmpty)(e)){this.props.setAttributes(Object(a.omit)(e,["selectedIcons"]));const t=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons));Object(a.isEmpty)(e.selectedIcons)||t.map(t=>(Object(a.isEmpty)(t.color)&&(t.color=e.defaultIcon.color),Object(a.isEmpty)(t.hoverColor)&&(t.hoverColor=e.defaultIcon.hoverColor),t)),Object(a.isEmpty)(e.iconsColor)||t.map(t=>(t.color=e.iconsColor,t)),Object(a.isEmpty)(e.iconsHoverColor)||t.map(t=>(t.hoverColor=e.iconsHoverColor,t)),this.props.setAttributes({selectedIcons:t})}}}componentDidMount(){if(!0===this.props.attributes.wasStyled)return;const e=this.getStyleVariations(this.getActiveStyle());if(!Object(a.isEmpty)(e)){e.wasStyled=!0,this.props.setAttributes(Object(a.omit)(e,["selectedIcons"]));const t=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons));Object(a.isEmpty)(e.selectedIcons)||t.map(t=>{const o=Object(a.find)(e.selectedIcons,["icon",t.icon]);return t.color=Object(a.isEmpty)(o)?e.defaultIcon.color:o.color,t.hoverColor=Object(a.isEmpty)(o)?e.defaultIcon.hoverColor:o.hoverColor,t}),Object(a.isEmpty)(e.iconsColor)||t.map(t=>(t.color=e.iconsColor,t)),Object(a.isEmpty)(e.iconsHoverColor)||t.map(t=>(t.hoverColor=e.iconsHoverColor,t)),this.props.setAttributes({selectedIcons:t})}}render(){const{attributes:e,setAttributes:t,isSelected:o}=this.props,{isCustomSvgModalOpen:n,customSvgCode:r}=this.state;let{className:a}=this.props;null===C.getBlockStyle(a)&&(a=h()(a,"is-style-with-canvas-round")),e.showIconsLabel&&(a=h()(a,"show-icon-labels-style"));const s=e.selectedIcons.map((n,r)=>{const a=e.showIconsLabel?Object(i.createElement)("span",{className:h()("icon-label")},n.label):"",s=this.getRelAttr(),l=this.getTarget();let c;return c="svg"===n.iconKit&&n.customSvg?Object(i.createElement)("span",{className:h()("social-icon","social-icon-svg"),dangerouslySetInnerHTML:{__html:n.customSvg}}):Object(i.createElement)("span",{className:h()(C.getIconClassList(n.iconKit,n.icon))}),Object(i.createElement)(i.Fragment,{key:r},Object(i.createElement)("a",{onClick:e=>this.onClickIconHandler(e,r,n),href:n.url,className:h()("social-icon-link",{selected:n.isActive}),target:l,rel:s.length?s.join(" "):void 0,title:n.label,style:{"--wpz-social-icons-block-item-color":n.color,"--wpz-social-icons-block-item-color-hover":n.hoverColor}},c,a,n.showPopover&&o&&Object(i.createElement)(f.Popover,{className:h()("wpzoom-social-icons-popover"),key:r,position:"bottom center",onClose:()=>this.popoverCloseHandler(r)},Object(i.createElement)("div",{className:h()("popover-content")},Object(i.createElement)("div",{className:"popover-header"},Object(i.createElement)("span",{className:"popover-title"},Object(b.__)("Social Icon Settings","social-icons-widget-by-wpzoom"))),Object(i.createElement)("div",{className:h()("popover-url-wrapper")},Object(i.createElement)("div",{className:"popover-section-title"},Object(i.createElement)(f.Icon,{icon:"admin-links"}),Object(b.__)("URL & ICON","social-icons-widget-by-wpzoom")),Object(i.createElement)("div",{className:"popover-description"},Object(b.__)("Enter a website URL to automatically detect its icon","social-icons-widget-by-wpzoom")),Object(i.createElement)("div",{className:"popover-url-input-container"},Object(i.createElement)(F,{key:r,value:n.url,save:e=>this.popoverSearchHandler(r,e)})),n.justUpdated&&Object(i.createElement)("div",{className:"icon-status-message "+(n.iconDetected?"success":"notice")},Object(i.createElement)(f.Icon,{icon:n.iconDetected?"yes-alt":"info-outline"}),n.iconDetected?Object(b.__)("Icon detected and applied!","social-icons-widget-by-wpzoom"):Object(b.__)("No matching icon found. Choose manually below.","social-icons-widget-by-wpzoom")),Object(i.createElement)("div",{className:"popover-alternate-options"},Object(i.createElement)("span",null,Object(b.__)("Or","social-icons-widget-by-wpzoom")),Object(i.createElement)(f.Button,{isPrimary:!0,onClick:e=>this.popoverEditSettingsHandler(e,r),className:"popover-edit-details-button"},Object(i.createElement)(f.Icon,{icon:"edit"}),Object(b.__)("Choose Icon & Edit Details","social-icons-widget-by-wpzoom")),Object(i.createElement)("div",{className:"popover-section-divider"},Object(i.createElement)("span",null,Object(b.__)("Or","social-icons-widget-by-wpzoom"))),Object(i.createElement)(f.Button,{className:"popover-custom-svg-button",onClick:()=>this.openCustomSvgModal(r)},Object(i.createElement)(f.Icon,{icon:"editor-code"}),Object(b.__)("Insert Custom SVG Icon","social-icons-widget-by-wpzoom")))),Object(i.createElement)("div",{className:"popover-colors-section"},Object(i.createElement)("div",{className:"popover-section-title"},Object(i.createElement)(f.Icon,{icon:"art"}),Object(b.__)("COLORS","social-icons-widget-by-wpzoom")),Object(i.createElement)("div",{className:"color-pickers-container"},Object(i.createElement)("div",{className:"color-picker-option","data-tooltip":Object(b.__)("Change color","social-icons-widget-by-wpzoom")},Object(i.createElement)("span",{className:"color-label"},Object(b.__)("Normal:","social-icons-widget-by-wpzoom")),Object(i.createElement)(E,{title:Object(b.__)("Icon Color","social-icons-widget-by-wpzoom"),className:h()("popover-color-picker"),save:o=>{const n=[...e.selectedIcons];n[e.activeIconIndex].color=o.color,t({selectedIcons:n})},color:n.color})),Object(i.createElement)("div",{className:"color-picker-option","data-tooltip":Object(b.__)("Change color","social-icons-widget-by-wpzoom")},Object(i.createElement)("span",{className:"color-label"},Object(b.__)("Hover:","social-icons-widget-by-wpzoom")),Object(i.createElement)(E,{title:Object(b.__)("Hover Color","social-icons-widget-by-wpzoom"),className:h()("popover-color-picker"),save:o=>{const n=[...e.selectedIcons];n[e.activeIconIndex].hoverColor=o.color,t({selectedIcons:n})},color:n.hoverColor})))),e.selectedIcons.length>1&&Object(i.createElement)("div",{className:"popover-footer"},Object(i.createElement)(f.Button,{isDestructive:!0,onClick:e=>this.popoverDeleteIconHandler(e,r),className:"delete-icon-button"},Object(i.createElement)(f.Icon,{icon:"trash"}),Object(b.__)("Delete Icon","social-icons-widget-by-wpzoom")))))),Object(i.createElement)(N,{left:this.moveLeftHandler,right:this.moveRightHandler,length:e.selectedIcons.length,isActive:n.isActive&&o,itemKey:r}))});return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(B,this.props),Object(i.createElement)(v.BlockControls,null,Object(i.createElement)(v.AlignmentToolbar,{value:e.iconsAlignment,onChange:e=>this.setAlignment(e)})),Object(i.createElement)("div",{className:a,style:{"--wpz-social-icons-block-item-font-size":C.addPixelsPipe(e.iconsFontSize),"--wpz-social-icons-block-item-padding-horizontal":C.addPixelsPipe(e.iconsPaddingHorizontal),"--wpz-social-icons-block-item-padding-vertical":C.addPixelsPipe(e.iconsPaddingVertical),"--wpz-social-icons-block-item-margin-horizontal":C.addPixelsPipe(e.iconsMarginHorizontal),"--wpz-social-icons-block-item-margin-vertical":C.addPixelsPipe(e.iconsMarginVertical),"--wpz-social-icons-block-item-border-radius":C.addPixelsPipe(e.iconsBorderRadius),"--wpz-social-icons-block-label-font-size":C.addPixelsPipe(e.iconsLabelFontSize),"--wpz-social-icons-block-label-color":e.iconsLabelColor,"--wpz-social-icons-block-label-color-hover":e.iconsLabelHoverColor,"--wpz-social-icons-alignment":this.getIconsAlignmentStyle(e.iconsAlignment)}},s,o&&Object(i.createElement)(f.Button,{type:"button",onClick:this.insertIcon,style:{padding:e.iconsPadding},className:"insert-icon"},Object(i.createElement)(f.Icon,{icon:"insert",size:"20"})),e.selectedIcons[e.activeIconIndex]&&Object(i.createElement)(P,{className:h()(C.getBlockStyle(a)),showIconsLabel:e.showIconsLabel,iconsBorderRadius:e.iconsBorderRadius,show:e.showModal,url:e.selectedIcons[e.activeIconIndex].url,label:e.selectedIcons[e.activeIconIndex].label,icon:e.selectedIcons[e.activeIconIndex].icon,iconKit:e.selectedIcons[e.activeIconIndex].iconKit,color:e.selectedIcons[e.activeIconIndex].color,hoverColor:e.selectedIcons[e.activeIconIndex].hoverColor,save:this.saveModalHandler,delete:this.deleteIconHandler,showDeleteBtn:e.selectedIcons.length>1,onClose:this.closeModal}),n&&Object(i.createElement)(f.Modal,{title:Object(b.__)("Insert Custom SVG Icon","social-icons-widget-by-wpzoom"),onRequestClose:this.closeCustomSvgModal,className:"wpzoom-custom-svg-modal"},Object(i.createElement)("div",{className:"wpzoom-custom-svg-modal-content"},Object(i.createElement)("p",{className:"wpzoom-custom-svg-modal-description"},Object(b.__)("Paste your SVG code below. Make sure it's clean and valid SVG code for security reasons.","social-icons-widget-by-wpzoom")),Object(i.createElement)(f.TextareaControl,{label:Object(b.__)("SVG Code","social-icons-widget-by-wpzoom"),help:Object(b.__)("Paste SVG code here. For security reasons, scripts and event handlers will be removed.","social-icons-widget-by-wpzoom"),value:r,onChange:this.updateCustomSvgCode,rows:10,className:"wpzoom-custom-svg-textarea"}),r&&""!==r.trim()&&Object(i.createElement)("div",{className:"wpzoom-custom-svg-preview"},Object(i.createElement)("p",{className:"wpzoom-custom-svg-preview-title"},Object(b.__)("Preview:","social-icons-widget-by-wpzoom")),Object(i.createElement)("div",{className:"wpzoom-custom-svg-preview-box",dangerouslySetInnerHTML:{__html:r}})),Object(i.createElement)("div",{className:"wpzoom-custom-svg-modal-buttons"},Object(i.createElement)(f.Button,{isPrimary:!0,onClick:this.applySvgIcon,disabled:!r||""===r.trim()},Object(b.__)("Apply SVG Icon","social-icons-widget-by-wpzoom")),Object(i.createElement)(f.Button,{isSecondary:!0,onClick:this.closeCustomSvgModal},Object(b.__)("Cancel","social-icons-widget-by-wpzoom")))))))}}const R=Object(g.withSelect)((e,t)=>{const{getBlockStyles:o}=e("core/blocks");return{blockStyles:o(t.name)}});var L=Object(w.compose)(R)(H);class Q extends i.Component{constructor(e){super(...arguments),d()(this,"getIconsAlignmentStyle",e=>({left:"flex-start",right:"flex-end",center:"center"}[e])),d()(this,"getRelAttr",()=>{let e=[];return this.props.attributes.nofollow&&e.push("nofollow"),this.props.attributes.noreferrer&&e.push("noreferrer"),this.props.attributes.noopener&&e.push("noopener"),this.props.attributes.relme&&e.push("me"),this.props.attributes.openLinkInNewTab&&(e=["noopener"]),e}),d()(this,"getTarget",()=>{if(this.props.attributes.openLinkInNewTab)return"_blank"})}render(){const{attributes:e}=this.props;let{className:t}=e;null==C.getBlockStyle(t)&&(t=h()(t,"is-style-with-canvas-round")),e.showIconsLabel&&(t=h()(t,"show-icon-labels-style"));const o=e.selectedIcons.map((t,o)=>{const n=e.showIconsLabel?Object(i.createElement)("span",{className:h()("icon-label")},t.label):"",r=this.getRelAttr(),a=this.getTarget();let s;return s="svg"===t.iconKit&&t.customSvg?Object(i.createElement)("span",{className:h()("social-icon","social-icon-svg"),dangerouslySetInnerHTML:{__html:t.customSvg}}):Object(i.createElement)("span",{className:h()(C.getIconClassList(t.iconKit,t.icon))}),Object(i.createElement)("a",{key:o,href:t.url,className:"social-icon-link",target:a,rel:r.length?r.join(" "):void 0,title:t.label,style:{"--wpz-social-icons-block-item-color":t.color,"--wpz-social-icons-block-item-color-hover":t.hoverColor}},s,n)});return Object(i.createElement)("div",{className:t,style:{"--wpz-social-icons-block-item-font-size":C.addPixelsPipe(e.iconsFontSize),"--wpz-social-icons-block-item-padding-horizontal":C.addPixelsPipe(e.iconsPaddingHorizontal),"--wpz-social-icons-block-item-padding-vertical":C.addPixelsPipe(e.iconsPaddingVertical),"--wpz-social-icons-block-item-margin-horizontal":C.addPixelsPipe(e.iconsMarginHorizontal),"--wpz-social-icons-block-item-margin-vertical":C.addPixelsPipe(e.iconsMarginVertical),"--wpz-social-icons-block-item-border-radius":C.addPixelsPipe(e.iconsBorderRadius),"--wpz-social-icons-block-label-font-size":C.addPixelsPipe(e.iconsLabelFontSize),"--wpz-social-icons-block-label-color":e.iconsLabelColor,"--wpz-social-icons-block-label-color-hover":e.iconsLabelHoverColor,"--wpz-social-icons-alignment":this.getIconsAlignmentStyle(e.iconsAlignment)}},o)}}var V=Q,M=o(7),T=o(12),U=o(14),D=o(20);const K={},W=({replacementData:e,isConvertRun:t})=>{const[o,n]=Object(i.useState)(!1);return t&&!o?(function(e){return new Promise((function(t){let o=0;Object(a.map)(e,n=>{const{clientId:r,attributes:s}=n,{title:l,description:c,iconsAlignment:d}=s,{rootClientId:p}=Object(g.useSelect)(e=>({rootClientId:e("core/block-editor").getBlockRootClientId(r)})),u=[Object(M.createBlock)("core/heading",{content:l,level:3,placeholder:Object(b.__)("Title","social-icons-widget-by-wpzoom"),className:"zoom-social-icons-legacy-widget-title widget-title title heading-size-3"}),Object(M.createBlock)("core/paragraph",{content:c,placeholder:Object(b.__)("Text above icons","social-icons-widget-by-wpzoom"),className:h()("zoom-social-icons-legacy-widget-description",{["zoom-social-icons-list--align-"+d]:void 0!==d&&"none"!==d})}),Object(M.createBlock)("wpzoom-blocks/social-icons",s)],[m]=function({rootClientId:e="",insertionIndex:t,clientId:o,shouldFocusBlock:n=!0}){const{sidebar:r,destinationRootClientId:s,destinationIndex:l}=Object(g.useSelect)(n=>{const{getBlockIndex:r,getBlockOrder:i,getBlock:a}=n("core/block-editor"),s=e;let l;return l=void 0!==t?t:o?r(o,s):""!==s?r(e):i(s).length,{sidebar:a(s),destinationRootClientId:s,destinationIndex:l}},[e,t,o]),{replaceBlock:c}=Object(g.useDispatch)("core/block-editor");return[Object(i.useCallback)((e,t,i=!1)=>{const{attributes:{name:s}}=r;c(o,e,l,n||i?0:null,t);const d=Object(b.sprintf)(// translators: %d: the name of the block that has been added %s: sidebar name. 2 2 Object(b._n)("%1$d group block added in the sidebar: %2$s.","%1$d group blocks added in the sidebar: %2$s.",Object(a.castArray)(e).length),Object(a.castArray)(e).length,s);Object(D.speak)(d)},[c,r,o,s,l,n]),l]}({rootClientId:p,clientId:r});if(m(Object(M.createBlock)("core/group",{tagName:"div",className:"zoom-social-icons-widget zoom-social-icons-legacy-widget-group",layout:{inherit:!0}},u)),o++,Object(a.size)(e)===o){const e=Object(b.sprintf)(// translators: %d: the number of the block that has been converted 3 Object(b._n)('%d legacy widget "Social Icons" successfully converted to block','%d legacy widgets "Social Icons" successfully converted to block',o,"social-icons-widget-by-wpzoom"),o);t(e)}})}))}(e).then(e=>{n(!0),Object(T.doAction)("converter.isConvertDone",{message:e})}),null):Object(i.createElement)(f.Placeholder,null,Object(i.createElement)(f.Spinner,null))};var q=Object(i.memo)(({clientId:e,attributes:t,widgetId:o})=>{const[n,r]=Object(i.useState)(!1),{createInfoNotice:a,createWarningNotice:s,createSuccessNotice:l}=Object(g.useDispatch)("core/notices");K[o]={},K[o].clientId=e,K[o].attributes=t;const c=Object(b.__)('Legacy Social Icons Widget has been detected on this page. Since our plugin includes a Social Icons Block, supported by WordPress 5.8, we highly recommend transforming legacy widgets to blocks. You can do that by clicking on the "Convert to block" button. You can also disable the new block-based widget screen by installing the Classic Widgets plugin.',"social-icons-widget-by-wpzoom");return Object(i.useEffect)(()=>{s(c,{id:"wpzoom-social-icons-notice",isDismissible:!0,actions:[{url:Object(U.addQueryArgs)("customize.php",{"autofocus[panel]":"widgets",return:window.location.pathname}),label:Object(b.__)("Manage in Customizer","social-icons-widget-by-wpzoom")},{url:Object(U.addQueryArgs)("plugin-install.php",{s:"classic%20widgets",tab:"search",type:"term"}),label:"Install Classic Widgets"},{label:Object(b.__)("Convert to block","social-icons-widget-by-wpzoom"),onClick:()=>r(!n)}]})},[s,n]),Object(i.useEffect)(()=>{n&&a(Object(b.__)("Converting process is starting. Please wait…","social-icons-widget-by-wpzoom"),{type:"snackbar",id:"wpzoom-social-icons-notice"})},[n,a]),Object(T.addAction)("converter.isConvertDone","wpzoom-blocks/social-icons/convert-legacy-widget",({message:e})=>{l(e,{type:"snackbar",id:"wpzoom-social-icons-notice"})}),e&&n?Object(i.createElement)(i.Fragment,null,Object(i.createElement)(W,{replacementData:K,isConvertRun:n})):null}),Z=function(e){const t=Object(M.getBlockTypes)().filter(e=>-1!==e.name.indexOf("wpzoom-blocks/social-icons"))[0],{attributes:o}=t,n=Object(a.mapValues)(o,e=>e.default),r={wasStyled:!0,canvasType:e.icon_style,showIconsLabel:"true"===e.show_icon_labels,openLinkInNewTab:"true"===e.open_new_tab,nofollow:"true"===e.no_follow,noreferrer:"true"===e.no_referrer,noopener:"true"===e.no_opener,iconsAlignment:e.icon_alignment,iconsColor:e.global_color_picker,iconsHoverColor:e.global_color_picker_hover,iconsLabelHoverColor:"inherit",iconsFontSize:e.icon_font_size,iconsPaddingVertical:e.icon_padding_size,iconsPaddingHorizontal:e.icon_padding_size,iconsBackgroundStyle:e.icon_canvas_style||"round",selectedIcons:e.fields.map(e=>function(e){return{url:e.url,icon:e.icon,iconKit:e.icon_kit,color:e.color_picker,hoverColor:e.color_picker_hover,label:e.label,showPopover:!1,isActive:!1}}(e)),title:e.title,description:e.description},i=Object(a.assign)(n,r);"rounded"===i.iconsBackgroundStyle?i.iconsBorderRadius=3:"round"===i.iconsBackgroundStyle?i.iconsBorderRadius=50:i.iconsBorderRadius=0,"without-canvas"===i.canvasType?i.className="is-style-"+i.canvasType:"with-canvas"===i.canvasType&&(i.className="is-style-with-canvas-round");const s=[{name:"without-canvas",label:"Color Icon / No Background",isDefault:"without-canvas"===i.canvasType},{name:"with-canvas-round",label:"Color Background / Round White Icon",isDefault:"with-canvas"===i.canvasType}];for(let e=0;e<s.length;e++){const t=s[e];Object(M.unregisterBlockStyle)("wpzoom-blocks/social-icons",t.name),Object(M.registerBlockStyle)("wpzoom-blocks/social-icons",t)}return i};document.getElementById("customize-theme-controls"),Object(w.createHigherOrderComponent)(e=>t=>{const{attributes:o,name:n}=t,{id:a,idBase:s,instance:l,__internalWidgetId:c}=o,d=null!=a?a:s;if("core/legacy-widget"===n&&"zoom-social-icons-widget"===d){const{widgetType:o,hasResolvedWidgetType:n}=Object(g.useSelect)(e=>({widgetType:e("core").getWidgetType(d),hasResolvedWidgetType:e("core").hasFinishedResolution("getWidgetType",[d])}),[a,s]),p=Z(l.raw);return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(e,t),o&&n&&Object(i.createElement)(q,r()({},t,{attributes:p,widgetId:c})))}return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(e,t))},"withGroupedBlock"),Object(T.addFilter)("blocks.registerBlockType","wpzoom-blocks/social-icons/class-names/heading-paragraph-block",(function(e,t){return"core/heading"!==t||"core/paragraph"!==t?e:Object(a.assign)({},e,{supports:Object(a.assign)({},e.supports,{className:!0})})})),Object(T.addFilter)("blocks.getBlockAttributes","wpzoom-blocks/social-icons",(function(e){if(void 0!==e.selectedIcons){const t=[...e.selectedIcons];t.map(e=>(e.isActive=!1,e)),e.selectedIcons=t,e.showModal=!1}return e})),Object(M.registerBlockType)("wpzoom-blocks/social-icons",{title:Object(b.__)("Social Icons by WPZOOM","social-icons-widget-by-wpzoom"),description:Object(b.__)("Display icons with links to social media platforms.","social-icons-widget-by-wpzoom"),icon:{foreground:"#274474",src:l},example:{attributes:{cover:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQoAAADJCAYAAADbwHxnAAAKz2lDQ1BJQ0MgUHJvZmlsZQAASImVlwdUU2kWx7/30kNCS4iAlNB77yAl9AAK0kFUQhKSUEJIQcWODI7AiKIigmVEh6rgWAAZCyKKbRCsWAdkUFHGwYINlX3AEmZ2z+6e/Z9zz/vl5n73fved7zvnPgDI6iyRKANWBiBTKBVHBvnS4xMS6bhBAAEYEIA2sGWxJSJGREQYQDTz/Lve30GiEd20msz17///V6lwuBI2AFAEwikcCTsT4eOIfWOLxFIAUAgDg2VS0ST3IUwVIxtEeGSSeVOMnsxDTZlm6lRMdKQfwqYA4EkslpgHAMkR8dNz2DwkDykaYVshRyBEOB9hLzafxUG4E2HLzMysSR5F2DTlL3l4f8uZIs/JYvHkPN3LlPD+Aokog7Xi/3wd/1uZGbKZGsaIkfji4MhphvrSs0LlLExZED7DAs5MPNTHlwXHzDBb4pc4wxyWf6h8bcaCsBlOFQQy5XmkzOgZ5koComZYnBUpr5Uq9mPMMEs8W1eWHiP387lMef5cfnTcDOcIYhfMsCQ9KnQ2xk/uF8si5fvnCoN8Z+sGynvPlPylXwFTvlbKjw6W986a3T9XyJjNKYmX743D9Q+YjYmRx4ukvvJaoowIeTw3I0jul+REyddKkQM5uzZC/g7TWCERMwyiAR/IgBBwABeIQQrIAhlACujAHwiABIiQXyyAHCcpd7l0sjm/LNEKsYDHl9IZyK3j0plCtrUl3d7Wzg2AyTs8fUTe0qbuJkS7MuvLbgfArRBx8mZ9LAMATj4FgPJ+1mfwBjleWwA43cOWiXOmfVN3DQOIQAlQgQbQAQbAFFgBe+AMPIAPCAAhIBzpJAEsAWykn0ykk2VgFVgPCkAR2A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AhQKOxzphQScJkChcLp5WTkSsEOAQmGHI72QgNMEKBRONy8rRwJ2CFAo7HCkFxJwmgCFwunmZeVIwA4BCoUdjvRCAk4ToFA43bysHAnYIUChsMORXkjAaQIUCqebl5UjATsEKBR2ONILCThNgELhdPOyciRghwCFwg5HeiEBpwlQKJxuXlaOBOwQoFDY4UgvJOA0gf8DAD8xcfX+GGoAAAAASUVORK5CYII=",author:"WPZOOM"}},category:"wpzoom-blocks",keywords:[Object(b.__)("Social Icons","social-icons-widget-by-wpzoom"),Object(b.__)("icon","social-icons-widget-by-wpzoom"),Object(b.__)("svg","social-icons-widget-by-wpzoom"),Object(b.__)("share","social-icons-widget-by-wpzoom"),Object(b.__)("sharing","social-icons-widget-by-wpzoom"),Object(b.__)("Fontawesome","social-icons-widget-by-wpzoom")],attributes:{wasStyled:{type:"boolean",default:!1},canvasType:{type:"string",default:"with-canvas"},showIconsLabel:{type:"boolean",default:!1},showModal:{type:"boolean",default:!1},openLinkInNewTab:{type:"boolean",default:!1},nofollow:{type:"boolean",default:!1},noreferrer:{type:"boolean",default:!1},noopener:{type:"boolean",default:!1},relme:{type:"boolean",default:!1},iconsAlignment:{type:"string",default:"left"},iconsColor:{type:"string",default:"#f1f1f1"},iconsLabelColor:{type:"string",default:"inherit"},iconsHoverColor:{type:"string",default:"#f1f1f1"},iconsLabelHoverColor:{type:"string",default:"#f1f1f1"},iconsFontSize:{type:"number",default:20},iconsLabelFontSize:{type:"number",default:20},iconsPaddingVertical:{type:"number",default:10},iconsPaddingHorizontal:{type:"number",default:10},iconsMarginVertical:{type:"number",default:5},iconsMarginHorizontal:{type:"number",default:5},iconsBorderRadius:{type:"number",default:0},iconsBackgroundStyle:{type:"string",default:"round"},iconsHasBorder:{type:"boolean",default:!1},activeIconIndex:{type:"integer",default:0},defaultIcon:{type:"object",default:{icon:"facebook",color:"#f89406",hoverColor:"#f89406"}},selectedIcons:{type:"array",default:[{url:"https://facebook.com",icon:"facebook",iconKit:"socicon",color:"#0866FF",hoverColor:"#0866FF",label:"Facebook",showPopover:!1,isActive:!1,customSvg:null},{url:"https://x.com",icon:"x",iconKit:"socicon",color:"#000000",hoverColor:"#000000",label:"X",showPopover:!1,isActive:!1,customSvg:null},{url:"https://instagram.com",icon:"instagram",iconKit:"socicon",color:"#E4405F",hoverColor:"#E4405F",label:"Instagram",showPopover:!1,isActive:!1,customSvg:null}]}},styles:[{name:"with-canvas-round",label:Object(b.__)("Color Background / Round White Icon","social-icons-widget-by-wpzoom"),isDefault:!0},{name:"with-canvas-rounded",label:Object(b.__)("Color Background / Rounded White Icon","social-icons-widget-by-wpzoom")},{name:"with-canvas-squared",label:Object(b.__)("Color Background / Squared White Icon","social-icons-widget-by-wpzoom")},{name:"without-canvas",label:Object(b.__)("Color Icon / No Background","social-icons-widget-by-wpzoom")},{name:"without-canvas-with-border",label:Object(b.__)("Color Icon / No Background with border","social-icons-widget-by-wpzoom")},{name:"with-label-canvas-rounded",label:Object(b.__)("Color Background / Rounded White Icon with label","social-icons-widget-by-wpzoom")},{name:"without-canvas-with-label",label:Object(b.__)("Color Icon / No Background with label","social-icons-widget-by-wpzoom")}],transforms:{from:[{type:"block",blocks:["core/legacy-widget"],transform:({instance:e})=>Object(M.createBlock)("wpzoom-blocks/social-icons",Z(e.raw))}]},edit:L,save:V}),o(24);var X=Object(i.createElement)(f.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(i.createElement)(f.Path,{d:"M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65 0 1.61 1.31 2.92 2.92 2.92 1.61 0 2.92-1.31 2.92-2.92s-1.31-2.92-2.92-2.92z"})),J=Object(i.createElement)(s.SVG,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(i.createElement)(s.Path,{d:"M5 4h2V2H5v2zm6-2v2h2V2h-2zm-6 8h2V8H5v2zm6 0h2V8h-2v2zm-6 6h2v-2H5v2zm6 0h2v-2h-2v2z"}));function Y({attributes:e,setAttributes:t}){var o,n,r,a,s,l;const{align:c,showLabels:d,iconColor:p,iconHoverColor:u,labelColor:m,labelHoverColor:h,iconSize:g,labelSize:w,paddingVertical:y,paddingHorizontal:O,marginVertical:j,marginHorizontal:C,borderRadius:z,backgroundStyle:E,hasBorder:k,platforms:_,oneToneColor:I}=e,x=document.body.className.includes("post-type-wpzoom-sharing"),[A,S]=Object(i.useState)(!1),[P,B]=Object(i.useState)(null),[F,N]=Object(i.useState)(null),H=e.className,R=null==H?void 0:H.includes("is-style-one-tone"),L=null==H?void 0:H.includes("is-style-filled"),Q=null==H?void 0:H.includes("is-style-rounded"),V=null==H?void 0:H.includes("is-style-outlined-pill"),M=null==H?void 0:H.includes("is-style-outlined-square"),T=null==H?void 0:H.includes("is-style-minimal"),U=v.useBlockProps.save(),D=R||(null===(o=U.className)||void 0===o?void 0:o.includes("is-style-one-tone")),K=L||(null===(n=U.className)||void 0===n?void 0:n.includes("is-style-filled")),W=(Q||null===(r=U.className)||void 0===r||r.includes("is-style-rounded"),V||(null===(a=U.className)||void 0===a?void 0:a.includes("is-style-outlined-pill"))),q=M||(null===(s=U.className)||void 0===s?void 0:s.includes("is-style-outlined-square")),Z=T||(null===(l=U.className)||void 0===l?void 0:l.includes("is-style-minimal"));Object(i.useEffect)(()=>{!D||I&&void 0!==I||(t({oneToneColor:"#000000"}),t({iconColor:"#ffffff",labelColor:"#ffffff"}))},[D,I]),Object(i.useEffect)(()=>{null!=H&&H.includes("is-style-outlined-pill")||null!=H&&H.includes("is-style-outlined-square")||null!=H&&H.includes("is-style-minimal")?("#ffffff"!==p&&"#fff"!==p&&p||t({iconColor:"#000000"}),"inherit"!==m&&"#ffffff"!==m&&"#fff"!==m&&m||t({labelColor:"#000000"})):(null!=H&&H.includes("is-style-one-tone")||null!=H&&H.includes("is-style-default")||null!=H&&H.includes("is-style-filled")||null!=H&&H.includes("is-style-rounded"))&&t({iconColor:"#ffffff",labelColor:"#ffffff"})},[H,t]),Object(i.useEffect)(()=>{var e,o,n;U.className&&((e=>{let o=z;e.includes("is-style-filled")?o=0:e.includes("is-style-rounded")?o=8:e.includes("is-style-default")||e.includes("is-style-outlined-pill")?o=50:e.includes("is-style-outlined-square")&&(o=0),t({borderRadius:o})})(U.className),W||q||Z?("#ffffff"!==p&&"#fff"!==p&&p||t({iconColor:"#000000"}),"inherit"!==m&&"#ffffff"!==m&&"#fff"!==m&&m||t({labelColor:"#000000"})):(D||null!==(e=U.className)&&void 0!==e&&e.includes("is-style-default")||null!==(o=U.className)&&void 0!==o&&o.includes("is-style-filled")||null!==(n=U.className)&&void 0!==n&&n.includes("is-style-rounded"))&&t({iconColor:"#ffffff",labelColor:"#ffffff"}))},[U.className,W,q,Z,D,t]);const X=(e,o)=>{if(o<0||o>=_.length)return;const n=[..._],[r]=n.splice(e,1);n.splice(o,0,r),t({platforms:n,showLabels:d,borderRadius:z,align:c,iconColor:p,iconSize:g,labelSize:w,paddingVertical:y,paddingHorizontal:O,marginVertical:j,marginHorizontal:C,hasBorder:k})},Y=e=>{S(!1),B(null),N(null),document.querySelectorAll(".wpzoom-social-platform-item").forEach(e=>{e.classList.remove("is-dragging","drag-over")})};return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(v.InspectorControls,null,Object(i.createElement)(f.PanelBody,{title:Object(i.createElement)(i.Fragment,null,Object(b.__)("Pro Features","social-icons-widget-by-wpzoom"),Object(i.createElement)("span",{className:"wpzoom-pro-badge",style:{background:"#2271b1",color:"#fff",fontSize:"9px",padding:"2px 5px",borderRadius:"3px",marginLeft:"6px",textTransform:"uppercase",fontWeight:"600",verticalAlign:"middle"}},"Pro")),initialOpen:!0},Object(i.createElement)("div",{className:"wpzoom-pro-features-upsell"},Object(i.createElement)(f.ToggleControl,{label:Object(b.__)("Show Like Button","social-icons-widget-by-wpzoom"),checked:!1,onChange:()=>{},disabled:!0}),Object(i.createElement)(f.ToggleControl,{label:Object(b.__)("Show Share Counts","social-icons-widget-by-wpzoom"),checked:!1,onChange:()=>{},disabled:!0}),Object(i.createElement)(f.ToggleControl,{label:Object(b.__)("Show Individual Counts","social-icons-widget-by-wpzoom"),checked:!1,onChange:()=>{},disabled:!0}),Object(i.createElement)(f.__experimentalDivider,null),Object(i.createElement)("div",{className:"wpzoom-ai-platforms-preview",style:{marginTop:"12px"}},Object(i.createElement)("p",{style:{margin:"0 0 8px 0",fontWeight:"500",fontSize:"11px",textTransform:"uppercase",color:"#757575"}},Object(b.__)("AI Share Buttons","social-icons-widget-by-wpzoom")),Object(i.createElement)("div",{style:{display:"flex",gap:"6px",flexWrap:"wrap"}},Object(i.createElement)("span",{style:{display:"inline-flex",alignItems:"center",gap:"5px",padding:"6px 10px",background:"#000000",borderRadius:"50px",fontSize:"11px",color:"#fff",fontWeight:"500"}},Object(i.createElement)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"#fff"},Object(i.createElement)("path",{d:"M22.282 9.821a5.985 5.985 0 0 0-.516-4.91 6.046 6.046 0 0 0-6.51-2.9A6.065 6.065 0 0 0 4.981 4.18a5.985 5.985 0 0 0-3.998 2.9 6.046 6.046 0 0 0 .743 7.097 5.98 5.98 0 0 0 .51 4.911 6.051 6.051 0 0 0 6.515 2.9A5.985 5.985 0 0 0 13.26 24a6.056 6.056 0 0 0 5.772-4.206 5.99 5.99 0 0 0 3.997-2.9 6.056 6.056 0 0 0-.747-7.073zM13.26 22.43a4.476 4.476 0 0 1-2.876-1.04l.141-.081 4.779-2.758a.795.795 0 0 0 .392-.681v-6.737l2.02 1.168a.071.071 0 0 1 .038.052v5.583a4.504 4.504 0 0 1-4.494 4.494zM3.6 18.304a4.47 4.47 0 0 1-.535-3.014l.142.085 4.783 2.759a.771.771 0 0 0 .78 0l5.843-3.369v2.332a.08.08 0 0 1-.033.062L9.74 19.95a4.5 4.5 0 0 1-6.14-1.646zM2.34 7.896a4.485 4.485 0 0 1 2.366-1.973V11.6a.766.766 0 0 0 .388.676l5.815 3.355-2.02 1.168a.076.076 0 0 1-.071 0l-4.83-2.786A4.504 4.504 0 0 1 2.34 7.872zm16.597 3.855l-5.833-3.387L15.119 7.2a.076.076 0 0 1 .071 0l4.83 2.791a4.494 4.494 0 0 1-.676 8.105v-5.678a.79.79 0 0 0-.407-.667zm2.01-3.023l-.141-.085-4.774-2.782a.776.776 0 0 0-.785 0L9.409 9.23V6.897a.066.066 0 0 1 .028-.061l4.83-2.787a4.5 4.5 0 0 1 6.68 4.66zm-12.64 4.135l-2.02-1.164a.08.08 0 0 1-.038-.057V6.075a4.5 4.5 0 0 1 7.375-3.453l-.142.08L8.704 5.46a.795.795 0 0 0-.393.681zm1.097-2.365l2.602-1.5 2.607 1.5v2.999l-2.597 1.5-2.607-1.5z"})),"ChatGPT"),Object(i.createElement)("span",{style:{display:"inline-flex",alignItems:"center",gap:"5px",padding:"6px 10px",background:"#C6613F",borderRadius:"50px",fontSize:"11px",color:"#fff",fontWeight:"500"}},Object(i.createElement)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"#fff"},Object(i.createElement)("path",{d:"m4.7144 15.9555 4.7174-2.6471.079-.2307-.079-.1275h-.2307l-.7893-.0486-2.6956-.0729-2.3375-.0971-2.2646-.1214-.5707-.1215-.5343-.7042.0546-.3522.4797-.3218.686.0608 1.5179.1032 2.2767.1578 1.6514.0972 2.4468.255h.3886l.0546-.1579-.1336-.0971-.1032-.0972L6.973 9.8356l-2.55-1.6879-1.3356-.9714-.7225-.4918-.3643-.4614-.1578-1.0078.6557-.7225.8803.0607.2246.0607.8925.686 1.9064 1.4754 2.4893 1.8336.3643.3035.1457-.1032.0182-.0728-.164-.2733-1.3539-2.4467-1.445-2.4893-.6435-1.032-.17-.6194c-.0607-.255-.1032-.4674-.1032-.7285L6.287.1335 6.6997 0l.9957.1336.419.3642.6192 1.4147 1.0018 2.2282 1.5543 3.0296.4553.8985.2429.8318.091.255h.1579v-.1457l.1275-1.706.2368-2.0947.2307-2.6957.0789-.7589.3764-.9107.7468-.4918.5828.2793.4797.686-.0668.4433-.2853 1.8517-.5586 2.9021-.3643 1.9429h.2125l.2429-.2429.9835-1.3053 1.6514-2.0643.7286-.8196.85-.9046.5464-.4311h1.0321l.759 1.1293-.34 1.1657-1.0625 1.3478-.8804 1.1414-1.2628 1.7-.7893 1.36.0729.1093.1882-.0183 2.8535-.607 1.5421-.2794 1.8396-.3157.8318.3886.091.3946-.3278.8075-1.967.4857-2.3072.4614-3.4364.8136-.0425.0304.0486.0607 1.5482.1457.6618.0364h1.621l3.0175.2247.7892.522.4736.6376-.079.4857-1.2142.6193-1.6393-.3886-3.825-.9107-1.3113-.3279h-.1822v.1093l1.0929 1.0686 2.0035 1.8092 2.5075 2.3314.1275.5768-.3218.4554-.34-.0486-2.2039-1.6575-.85-.7468-1.9246-1.621h-.1275v.17l.4432.6496 2.3436 3.5214.1214 1.0807-.17.3521-.6071.2125-.6679-.1214-1.3721-1.9246L14.38 17.959l-1.1414-1.9428-.1397.079-.674 7.2552-.3156.3703-.7286.2793-.6071-.4614-.3218-.7468.3218-1.4753.3886-1.9246.3157-1.53.2853-1.9004.17-.6314-.0121-.0425-.1397.0182-1.4328 1.9672-2.1796 2.9446-1.7243 1.8456-.4128.164-.7164-.3704.0667-.6618.4008-.5889 2.386-3.0357 1.4389-1.882.929-1.0868-.0062-.1579h-.0546l-6.3385 4.1164-1.1293.1457-.4857-.4554.0608-.7467.2307-.2429 1.9064-1.3114Z"})),"Claude"),Object(i.createElement)("span",{style:{display:"inline-flex",alignItems:"center",gap:"5px",padding:"6px 10px",background:"#20808D",borderRadius:"50px",fontSize:"11px",color:"#fff",fontWeight:"500"}},Object(i.createElement)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"#fff"},Object(i.createElement)("path",{d:"M22.3977 7.0896h-2.3106V.0676l-7.5094 6.3542V.1577h-1.1554v6.1966L4.4904 0v7.0896H1.6023v10.3976h2.8882V24l6.932-6.3591v6.2005h1.1554v-6.0469l6.9318 6.1807v-6.4879h2.8882V7.0896zm-3.4657-4.531v4.531h-5.355l5.355-4.531zm-13.2862.0676 4.8691 4.4634H5.6458V2.6262zM2.7576 16.332V8.245h7.8476l-6.1149 6.1147v1.9723H2.7576zm2.8882 5.0404v-3.8852h.0001v-2.6488l5.7763-5.7764v7.0111l-5.7764 5.2993zm12.7086.0248-5.7766-5.1509V9.0618l5.7766 5.7766v6.5588zm2.8882-5.0652h-1.733v-1.9723L13.3948 8.245h7.8478v8.087z"})),"Perplexity"))),Object(i.createElement)(f.__experimentalSpacer,{margin:4}),Object(i.createElement)(f.Button,{variant:"primary",href:"https://www.wpzoom.com/plugins/social- widget/?utm_source=wpadmin&utm_medium=plugin&utm_campaign=social-icons-free&utm_content=block-inspector",target:"_blank",style:{width:"100%",justifyContent:"center"}},Object(b.__)("Upgrade to Pro","social-icons-widget-by-wpzoom")),Object(i.createElement)("p",{style:{marginTop:"12px",fontSize:"11px",color:"#757575",textAlign:"center"}},Object(b.__)("Unlock analytics, like buttons, AI sharing & more","social-icons-widget-by-wpzoom")))),Object(i.createElement)(f.PanelBody,{title:Object(b.__)("Sharing Networks","social-icons-widget-by-wpzoom")},Object(i.createElement)("p",{className:"components-base-control__help"},Object(b.__)("Select which platforms to display. Drag handles to reorder networks.","social-icons-widget-by-wpzoom")),Object(i.createElement)("div",{className:"wpzoom-social-icons-platforms-list"},_.map((e,o)=>Object(i.createElement)("div",{key:e.id,className:"wpzoom-social-platform-item",draggable:"true",onDragStart:e=>((e,t)=>{S(!0),B(t),e.dataTransfer.effectAllowed="move",e.dataTransfer.setData("text/plain",t.toString()),setTimeout(()=>{document.querySelectorAll(".wpzoom-social-platform-item")[t].classList.add("is-dragging")},0)})(e,o),onDragOver:e=>((e,t)=>{e.preventDefault(),e.dataTransfer.dropEffect="move",P!==t&&N(t)})(e,o),onDragEnter:e=>((e,t)=>{e.preventDefault(),P!==t&&document.querySelectorAll(".wpzoom-social-platform-item")[t].classList.add("drag-over")})(e,o),onDragLeave:e=>((e,t)=>{document.querySelectorAll(".wpzoom-social-platform-item")[t].classList.remove("drag-over")})(0,o),onDrop:e=>((e,o)=>{e.preventDefault(),e.stopPropagation();const n=parseInt(e.dataTransfer.getData("text/plain"),10);if(n!==o){const e=[..._],[r]=e.splice(n,1);e.splice(o,0,r),t({platforms:e,showLabels:d,borderRadius:z,align:c,iconColor:p,iconSize:g,labelSize:w,paddingVertical:y,paddingHorizontal:O,marginVertical:j,marginHorizontal:C,hasBorder:k})}S(!1),B(null),N(null),document.querySelectorAll(".wpzoom-social-platform-item").forEach(e=>{e.classList.remove("is-dragging","drag-over")})})(e,o),onDragEnd:Y,style:{display:"flex",alignItems:"center",padding:"8px 0",borderBottom:"1px solid #e0e0e0"}},Object(i.createElement)(f.Flex,{align:"center"},Object(i.createElement)(f.FlexItem,null,Object(i.createElement)(f.Tooltip,{text:Object(b.__)("Drag to reorder","social-icons-widget-by-wpzoom")},Object(i.createElement)("span",{className:"drag-handle",style:{cursor:"grab",marginRight:"8px",color:"#777"}},Object(i.createElement)(f.Icon,{icon:J})))),Object(i.createElement)(f.FlexBlock,null,Object(i.createElement)(f.CheckboxControl,{label:e.name,checked:e.enabled,onChange:o=>((e,o)=>{const n=_.map(t=>t.id===e?{...t,enabled:o}:t);t({platforms:n})})(e.id,o)})),Object(i.createElement)(f.FlexItem,null,Object(i.createElement)(f.ButtonGroup,null,Object(i.createElement)(f.Tooltip,{text:Object(b.__)("Move Up","social-icons-widget-by-wpzoom")},Object(i.createElement)(f.Button,{icon:"arrow-up-alt2",onClick:()=>X(o,o-1),disabled:0===o,isSmall:!0})),Object(i.createElement)(f.Tooltip,{text:Object(b.__)("Move Down","social-icons-widget-by-wpzoom")},Object(i.createElement)(f.Button,{icon:"arrow-down-alt2",onClick:()=>X(o,o+1),disabled:o===_.length-1,isSmall:!0}))))))),Object(i.createElement)(f.__experimentalDivider,{style:{marginTop:"12px",marginBottom:"8px"}}),Object(i.createElement)("p",{style:{margin:"0 0 8px 0",fontWeight:"500",fontSize:"11px",textTransform:"uppercase",color:"#757575"}},Object(b.__)("Pro Features","social-icons-widget-by-wpzoom")),Object(i.createElement)("div",{className:"wpzoom-social-platform-item wpzoom-pro-item",style:{display:"flex",alignItems:"center",padding:"8px 0",borderBottom:"1px solid #e0e0e0",opacity:"0.6"}},Object(i.createElement)(f.Flex,{align:"center"},Object(i.createElement)(f.FlexItem,null,Object(i.createElement)("span",{style:{marginRight:"8px",color:"#ccc",display:"flex",alignItems:"center"}},Object(i.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"#E91E63"},Object(i.createElement)("path",{d:"M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"})))),Object(i.createElement)(f.FlexBlock,null,Object(i.createElement)("span",{style:{display:"flex",alignItems:"center",gap:"6px"}},Object(i.createElement)("input",{type:"checkbox",disabled:!0,style:{margin:0}}),Object(i.createElement)("span",null,Object(b.__)("Like Button","social-icons-widget-by-wpzoom")),Object(i.createElement)("span",{style:{background:"#2271b1",color:"#fff",fontSize:"9px",padding:"1px 4px",borderRadius:"3px",textTransform:"uppercase",fontWeight:"600"}},"Pro"))))),Object(i.createElement)("div",{className:"wpzoom-social-platform-item wpzoom-pro-item",style:{display:"flex",alignItems:"center",padding:"8px 0",borderBottom:"1px solid #e0e0e0",opacity:"0.6"}},Object(i.createElement)(f.Flex,{align:"center"},Object(i.createElement)(f.FlexItem,null,Object(i.createElement)("span",{style:{marginRight:"8px",color:"#ccc",display:"flex",alignItems:"center"}},Object(i.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"#000"},Object(i.createElement)("path",{d:"M22.282 9.821a5.985 5.985 0 0 0-.516-4.91 6.046 6.046 0 0 0-6.51-2.9A6.065 6.065 0 0 0 4.981 4.18a5.985 5.985 0 0 0-3.998 2.9 6.046 6.046 0 0 0 .743 7.097 5.98 5.98 0 0 0 .51 4.911 6.051 6.051 0 0 0 6.515 2.9A5.985 5.985 0 0 0 13.26 24a6.056 6.056 0 0 0 5.772-4.206 5.99 5.99 0 0 0 3.997-2.9 6.056 6.056 0 0 0-.747-7.073zM13.26 22.43a4.476 4.476 0 0 1-2.876-1.04l.141-.081 4.779-2.758a.795.795 0 0 0 .392-.681v-6.737l2.02 1.168a.071.071 0 0 1 .038.052v5.583a4.504 4.504 0 0 1-4.494 4.494zM3.6 18.304a4.47 4.47 0 0 1-.535-3.014l.142.085 4.783 2.759a.771.771 0 0 0 .78 0l5.843-3.369v2.332a.08.08 0 0 1-.033.062L9.74 19.95a4.5 4.5 0 0 1-6.14-1.646zM2.34 7.896a4.485 4.485 0 0 1 2.366-1.973V11.6a.766.766 0 0 0 .388.676l5.815 3.355-2.02 1.168a.076.076 0 0 1-.071 0l-4.83-2.786A4.504 4.504 0 0 1 2.34 7.872zm16.597 3.855l-5.833-3.387L15.119 7.2a.076.076 0 0 1 .071 0l4.83 2.791a4.494 4.494 0 0 1-.676 8.105v-5.678a.79.79 0 0 0-.407-.667zm2.01-3.023l-.141-.085-4.774-2.782a.776.776 0 0 0-.785 0L9.409 9.23V6.897a.066.066 0 0 1 .028-.061l4.83-2.787a4.5 4.5 0 0 1 6.68 4.66zm-12.64 4.135l-2.02-1.164a.08.08 0 0 1-.038-.057V6.075a4.5 4.5 0 0 1 7.375-3.453l-.142.08L8.704 5.46a.795.795 0 0 0-.393.681zm1.097-2.365l2.602-1.5 2.607 1.5v2.999l-2.597 1.5-2.607-1.5z"})))),Object(i.createElement)(f.FlexBlock,null,Object(i.createElement)("span",{style:{display:"flex",alignItems:"center",gap:"6px"}},Object(i.createElement)("input",{type:"checkbox",disabled:!0,style:{margin:0}}),Object(i.createElement)("span",null,Object(b.__)("ChatGPT","social-icons-widget-by-wpzoom")),Object(i.createElement)("span",{style:{background:"#2271b1",color:"#fff",fontSize:"9px",padding:"1px 4px",borderRadius:"3px",textTransform:"uppercase",fontWeight:"600"}},"Pro"))))),Object(i.createElement)("div",{className:"wpzoom-social-platform-item wpzoom-pro-item",style:{display:"flex",alignItems:"center",padding:"8px 0",borderBottom:"1px solid #e0e0e0",opacity:"0.6"}},Object(i.createElement)(f.Flex,{align:"center"},Object(i.createElement)(f.FlexItem,null,Object(i.createElement)("span",{style:{marginRight:"8px",color:"#ccc",display:"flex",alignItems:"center"}},Object(i.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"#C6613F"},Object(i.createElement)("path",{d:"m4.7144 15.9555 4.7174-2.6471.079-.2307-.079-.1275h-.2307l-.7893-.0486-2.6956-.0729-2.3375-.0971-2.2646-.1214-.5707-.1215-.5343-.7042.0546-.3522.4797-.3218.686.0608 1.5179.1032 2.2767.1578 1.6514.0972 2.4468.255h.3886l.0546-.1579-.1336-.0971-.1032-.0972L6.973 9.8356l-2.55-1.6879-1.3356-.9714-.7225-.4918-.3643-.4614-.1578-1.0078.6557-.7225.8803.0607.2246.0607.8925.686 1.9064 1.4754 2.4893 1.8336.3643.3035.1457-.1032.0182-.0728-.164-.2733-1.3539-2.4467-1.445-2.4893-.6435-1.032-.17-.6194c-.0607-.255-.1032-.4674-.1032-.7285L6.287.1335 6.6997 0l.9957.1336.419.3642.6192 1.4147 1.0018 2.2282 1.5543 3.0296.4553.8985.2429.8318.091.255h.1579v-.1457l.1275-1.706.2368-2.0947.2307-2.6957.0789-.7589.3764-.9107.7468-.4918.5828.2793.4797.686-.0668.4433-.2853 1.8517-.5586 2.9021-.3643 1.9429h.2125l.2429-.2429.9835-1.3053 1.6514-2.0643.7286-.8196.85-.9046.5464-.4311h1.0321l.759 1.1293-.34 1.1657-1.0625 1.3478-.8804 1.1414-1.2628 1.7-.7893 1.36.0729.1093.1882-.0183 2.8535-.607 1.5421-.2794 1.8396-.3157.8318.3886.091.3946-.3278.8075-1.967.4857-2.3072.4614-3.4364.8136-.0425.0304.0486.0607 1.5482.1457.6618.0364h1.621l3.0175.2247.7892.522.4736.6376-.079.4857-1.2142.6193-1.6393-.3886-3.825-.9107-1.3113-.3279h-.1822v.1093l1.0929 1.0686 2.0035 1.8092 2.5075 2.3314.1275.5768-.3218.4554-.34-.0486-2.2039-1.6575-.85-.7468-1.9246-1.621h-.1275v.17l.4432.6496 2.3436 3.5214.1214 1.0807-.17.3521-.6071.2125-.6679-.1214-1.3721-1.9246L14.38 17.959l-1.1414-1.9428-.1397.079-.674 7.2552-.3156.3703-.7286.2793-.6071-.4614-.3218-.7468.3218-1.4753.3886-1.9246.3157-1.53.2853-1.9004.17-.6314-.0121-.0425-.1397.0182-1.4328 1.9672-2.1796 2.9446-1.7243 1.8456-.4128.164-.7164-.3704.0667-.6618.4008-.5889 2.386-3.0357 1.4389-1.882.929-1.0868-.0062-.1579h-.0546l-6.3385 4.1164-1.1293.1457-.4857-.4554.0608-.7467.2307-.2429 1.9064-1.3114Z"})))),Object(i.createElement)(f.FlexBlock,null,Object(i.createElement)("span",{style:{display:"flex",alignItems:"center",gap:"6px"}},Object(i.createElement)("input",{type:"checkbox",disabled:!0,style:{margin:0}}),Object(i.createElement)("span",null,Object(b.__)("Claude","social-icons-widget-by-wpzoom")),Object(i.createElement)("span",{style:{background:"#2271b1",color:"#fff",fontSize:"9px",padding:"1px 4px",borderRadius:"3px",textTransform:"uppercase",fontWeight:"600"}},"Pro"))))),Object(i.createElement)("div",{className:"wpzoom-social-platform-item wpzoom-pro-item",style:{display:"flex",alignItems:"center",padding:"8px 0",borderBottom:"1px solid #e0e0e0",opacity:"0.6"}},Object(i.createElement)(f.Flex,{align:"center"},Object(i.createElement)(f.FlexItem,null,Object(i.createElement)("span",{style:{marginRight:"8px",color:"#ccc",display:"flex",alignItems:"center"}},Object(i.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"#20808D"},Object(i.createElement)("path",{d:"M22.3977 7.0896h-2.3106V.0676l-7.5094 6.3542V.1577h-1.1554v6.1966L4.4904 0v7.0896H1.6023v10.3976h2.8882V24l6.932-6.3591v6.2005h1.1554v-6.0469l6.9318 6.1807v-6.4879h2.8882V7.0896zm-3.4657-4.531v4.531h-5.355l5.355-4.531zm-13.2862.0676 4.8691 4.4634H5.6458V2.6262zM2.7576 16.332V8.245h7.8476l-6.1149 6.1147v1.9723H2.7576zm2.8882 5.0404v-3.8852h.0001v-2.6488l5.7763-5.7764v7.0111l-5.7764 5.2993zm12.7086.0248-5.7766-5.1509V9.0618l5.7766 5.7766v6.5588zm2.8882-5.0652h-1.733v-1.9723L13.3948 8.245h7.8478v8.087z"})))),Object(i.createElement)(f.FlexBlock,null,Object(i.createElement)("span",{style:{display:"flex",alignItems:"center",gap:"6px"}},Object(i.createElement)("input",{type:"checkbox",disabled:!0,style:{margin:0}}),Object(i.createElement)("span",null,Object(b.__)("Perplexity","social-icons-widget-by-wpzoom")),Object(i.createElement)("span",{style:{background:"#2271b1",color:"#fff",fontSize:"9px",padding:"1px 4px",borderRadius:"3px",textTransform:"uppercase",fontWeight:"600"}},"Pro"))))),Object(i.createElement)(f.Button,{variant:"link",href:"https://www.wpzoom.com/plugins/social-widget/?utm_source=wpadmin&utm_medium=plugin&utm_campaign=social-icons-free&utm_content=sharing-networks",target:"_blank",style:{marginTop:"8px",fontSize:"12px"}},Object(b.__)("Unlock all features →","social-icons-widget-by-wpzoom")))),!x&&window.wpzSocialIconsBlock&&Object(i.createElement)(f.PanelBody,{title:Object(b.__)("Auto-Display Configuration","social-icons-widget-by-wpzoom"),initialOpen:!1},Object(i.createElement)("p",{className:"components-base-control__help",style:{marginBottom:"12px"}},Object(b.__)("Want sharing buttons to appear automatically in all posts/pages?","social-icons-widget-by-wpzoom")),Object(i.createElement)("p",{className:"components-base-control__help",style:{marginBottom:"12px"}},Object(b.__)("Configure automatic sharing button display settings for your entire site.","social-icons-widget-by-wpzoom")),window.wpzSocialIconsBlock.sharingConfigUrl?Object(i.createElement)(f.Button,{variant:"secondary",href:window.wpzSocialIconsBlock.sharingConfigUrl,target:"_blank",style:{width:"100%"}},Object(b.__)("Open Sharing Buttons Settings →","social-icons-widget-by-wpzoom")):Object(i.createElement)("p",{className:"components-base-control__help"},Object(b.__)("Sharing configuration not found. Please save this block first.","social-icons-widget-by-wpzoom")),Object(i.createElement)("p",{className:"components-base-control__help",style:{marginTop:"12px",fontSize:"11px",fontStyle:"italic"}},Object(b.__)("Note: This will open the admin settings page where you can configure automatic display of sharing buttons across your site.","social-icons-widget-by-wpzoom"))),x&&Object(i.createElement)(f.PanelBody,{title:Object(b.__)("Display Settings","social-icons-widget-by-wpzoom"),initialOpen:!1},Object(i.createElement)("p",{className:"components-base-control__help",style:{marginBottom:"12px"}},Object(b.__)("You are editing the global Sharing Buttons configuration.","social-icons-widget-by-wpzoom")),Object(i.createElement)("p",{className:"components-base-control__help",style:{marginBottom:"12px"}},Object(b.__)("To control where these buttons appear automatically on your site, click on the button below.","social-icons-widget-by-wpzoom")),Object(i.createElement)(f.Button,{variant:"secondary",onClick:()=>{const e=document.querySelector('button[data-tab-id="edit-post/document"]');e&&"true"!==e.getAttribute("aria-selected")&&e.click(),setTimeout(()=>{const e=document.getElementById("wpzoom_sharing_settings");e?(e.scrollIntoView({behavior:"smooth",block:"center"}),e.style.transition="background-color 0.5s ease",e.style.backgroundColor="#fff3cd",setTimeout(()=>{e.style.backgroundColor=""},2e3)):window.scrollTo({top:document.body.scrollHeight,behavior:"smooth"})},100)},style:{width:"100%"}},Object(b.__)("Jump to Display Settings","social-icons-widget-by-wpzoom"))),Object(i.createElement)(f.PanelBody,{title:Object(b.__)("Display Options","social-icons-widget-by-wpzoom")},Object(i.createElement)(f.__experimentalToggleGroupControl,{label:Object(b.__)("Alignment","social-icons-widget-by-wpzoom"),value:c,onChange:e=>t({align:e}),isBlock:!0},Object(i.createElement)(f.__experimentalToggleGroupControlOption,{value:"left",label:Object(b.__)("Left","social-icons-widget-by-wpzoom")}),Object(i.createElement)(f.__experimentalToggleGroupControlOption,{value:"center",label:Object(b.__)("Center","social-icons-widget-by-wpzoom")}),Object(i.createElement)(f.__experimentalToggleGroupControlOption,{value:"right",label:Object(b.__)("Right","social-icons-widget-by-wpzoom")})),Object(i.createElement)(f.__experimentalSpacer,{margin:4}),Object(i.createElement)(f.ToggleControl,{label:Object(b.__)("Show Labels","social-icons-widget-by-wpzoom"),checked:d,onChange:()=>t({showLabels:!d})}),_.some(e=>"x"===e.id&&e.enabled)&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)(f.__experimentalDivider,null),Object(i.createElement)(f.TextControl,{label:Object(b.__)("X/Twitter Username","social-icons-widget-by-wpzoom"),help:Object(b.__)('When sharing to X, this will be added as "via @username"',"social-icons-widget-by-wpzoom"),value:e.xUsername||"",onChange:e=>t({xUsername:e}),placeholder:"username"})))),Object(i.createElement)(v.InspectorControls,{group:"styles"},Object(i.createElement)(f.PanelBody,{title:Object(b.__)("Size & Spacing","social-icons-widget-by-wpzoom")},Object(i.createElement)(f.RangeControl,{label:Object(b.__)("Icon Size","social-icons-widget-by-wpzoom"),value:g,onChange:e=>t({iconSize:e}),min:10,max:60,allowReset:!0,resetFallbackValue:20,withInputField:!0}),d&&Object(i.createElement)(f.RangeControl,{label:Object(b.__)("Label Size","social-icons-widget-by-wpzoom"),value:w,onChange:e=>t({labelSize:e}),min:10,max:40,allowReset:!0,resetFallbackValue:20,withInputField:!0}),Object(i.createElement)(f.__experimentalDivider,null),Object(i.createElement)(f.RangeControl,{label:Object(b.__)("Vertical Padding","social-icons-widget-by-wpzoom"),value:y,onChange:e=>t({paddingVertical:e}),min:0,max:30,allowReset:!0,resetFallbackValue:10,withInputField:!0}),Object(i.createElement)(f.RangeControl,{label:Object(b.__)("Horizontal Padding","social-icons-widget-by-wpzoom"),value:O,onChange:e=>t({paddingHorizontal:e}),min:0,max:30,allowReset:!0,resetFallbackValue:10,withInputField:!0}),Object(i.createElement)(f.__experimentalDivider,null),Object(i.createElement)(f.RangeControl,{label:Object(b.__)("Vertical Margin","social-icons-widget-by-wpzoom"),value:j,onChange:e=>t({marginVertical:e}),min:0,max:30,allowReset:!0,resetFallbackValue:5,withInputField:!0}),Object(i.createElement)(f.RangeControl,{label:Object(b.__)("Horizontal Margin","social-icons-widget-by-wpzoom"),value:C,onChange:e=>t({marginHorizontal:e}),min:0,max:30,allowReset:!0,resetFallbackValue:5,withInputField:!0})),Object(i.createElement)(f.PanelBody,{title:Object(b.__)("Shape","social-icons-widget-by-wpzoom")},Object(i.createElement)(f.RangeControl,{label:Object(b.__)("Border Radius","social-icons-widget-by-wpzoom"),value:z,onChange:e=>t({borderRadius:e}),min:0,max:50,allowReset:!0,resetFallbackValue:50,withInputField:!0,disabled:K||q||W||Z,help:K||q?Object(b.__)("Border radius is set to 0 for square styles.","social-icons-widget-by-wpzoom"):W?Object(b.__)("Border radius is set to 50 for pill styles.","social-icons-widget-by-wpzoom"):Z?Object(b.__)("Border radius is not applicable for minimal style.","social-icons-widget-by-wpzoom"):""}),Object(i.createElement)(f.ToggleControl,{label:Object(b.__)("Add Border","social-icons-widget-by-wpzoom"),checked:k,onChange:()=>t({hasBorder:!k}),disabled:W||q||Z,help:W||q?Object(b.__)("Border is always enabled for outlined styles.","social-icons-widget-by-wpzoom"):Z?Object(b.__)("Border is not applicable for minimal style.","social-icons-widget-by-wpzoom"):""}),(k||W||q)&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)(f.RangeControl,{label:Object(b.__)("Border Width","social-icons-widget-by-wpzoom"),value:e.borderWidth||1,onChange:e=>t({borderWidth:e}),min:1,max:5,allowReset:!0,resetFallbackValue:1,withInputField:!0}),Object(i.createElement)("div",{className:"wpzoom-border-color-setting"},Object(i.createElement)(v.__experimentalPanelColorGradientSettings,{title:Object(b.__)("Border Color","social-icons-widget-by-wpzoom"),initialOpen:!1,settings:[{colorValue:W||q?p:e.borderColor||"#000000",onColorChange:e=>{t(W||q?{iconColor:e}:{borderColor:e})},label:W||q?Object(b.__)("Border & Icon Color","social-icons-widget-by-wpzoom"):Object(b.__)("Border Color","social-icons-widget-by-wpzoom"),help:W||q?Object(b.__)("For outlined styles, border color matches icon color","social-icons-widget-by-wpzoom"):""}]})))),Object(i.createElement)(v.__experimentalPanelColorGradientSettings,{title:Object(b.__)("Color Settings","social-icons-widget-by-wpzoom"),initialOpen:!0,settings:[{colorValue:I,onColorChange:e=>t({oneToneColor:e}),label:Object(b.__)("One Tone Background Color","social-icons-widget-by-wpzoom"),disabled:!D,help:D?Object(b.__)("Changes the background color of all icons.","social-icons-widget-by-wpzoom"):Object(b.__)("This option is only available with the One Tone style.","social-icons-widget-by-wpzoom")},{colorValue:p,onColorChange:e=>t({iconColor:e}),label:Object(b.__)("Icon Color","social-icons-widget-by-wpzoom"),help:W||q||Z?Object(b.__)("This color will be applied to icons for outlined and minimal styles","social-icons-widget-by-wpzoom"):""},{colorValue:u,onColorChange:e=>t({iconHoverColor:e}),label:Object(b.__)("Icon Hover Color","social-icons-widget-by-wpzoom")},...d?[{colorValue:m,onColorChange:e=>t({labelColor:e}),label:Object(b.__)("Label Color","social-icons-widget-by-wpzoom"),help:W||q||Z?Object(b.__)("This color will be applied to labels for outlined and minimal styles","social-icons-widget-by-wpzoom"):""},{colorValue:h,onColorChange:e=>t({labelHoverColor:e}),label:Object(b.__)("Label Hover Color","social-icons-widget-by-wpzoom")}]:[]]})))}var G=({id:e,size:t,color:o})=>{const n=(t||24)/24,r=24*n,a=24*n,s={width:r,height:a,fill:o};switch(e){case"facebook":return Object(i.createElement)(f.SVG,{width:r,height:a,viewBox:"0 0 24 24",style:s},Object(i.createElement)(f.Path,{d:"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"}));case"x":return Object(i.createElement)(f.SVG,{width:r,height:a,viewBox:"0 0 24 24",style:s},Object(i.createElement)(f.Path,{d:"M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z"}));case"threads":return Object(i.createElement)(f.SVG,{width:r,height:a,viewBox:"0 0 24 24",style:s},Object(i.createElement)("path",{d:"M12.186 24h-.007c-3.581-.024-6.334-1.205-8.184-3.509C2.35 18.44 1.5 15.586 1.472 12.01v-.017c.03-3.579.879-6.43 2.525-8.482C5.845 1.205 8.6.024 12.18 0h.014c2.746.02 5.043.725 6.826 2.098 1.677 1.29 2.858 3.13 3.509 5.467l-2.04.569c-1.104-3.96-3.898-5.984-8.304-6.015-2.91.022-5.11.936-6.54 2.717C4.307 6.504 3.616 8.914 3.589 12c.027 3.086.718 5.496 2.057 7.164 1.43 1.783 3.631 2.698 6.54 2.717 2.623-.02 4.358-.631 5.8-2.045 1.647-1.613 1.618-3.593 1.09-4.798-.31-.71-.873-1.3-1.634-1.75-.192 1.352-.622 2.446-1.284 3.272-.886 1.102-2.14 1.704-3.73 1.79-1.202.065-2.361-.218-3.259-.801-1.063-.689-1.685-1.74-1.752-2.964-.065-1.19.408-2.285 1.33-3.082.88-.76 2.119-1.207 3.583-1.291a13.853 13.853 0 0 1 3.02.142c-.126-.742-.375-1.332-.75-1.757-.513-.586-1.308-.883-2.359-.89h-.029c-.844 0-1.992.232-2.721 1.32L7.734 7.847c.98-1.454 2.568-2.256 4.478-2.256h.044c3.194.02 5.097 1.975 5.287 5.388.108.046.216.094.321.142 1.49.7 2.58 1.761 3.154 3.07.797 1.82.871 4.79-1.548 7.158-1.85 1.81-4.094 2.628-7.277 2.65Zm1.003-11.69c-.242 0-.487.007-.739.021-1.836.103-2.98.946-2.916 2.143.067 1.256 1.452 1.839 2.784 1.767 1.224-.065 2.818-.543 3.086-3.71a10.5 10.5 0 0 0-2.215-.221z"}));case"linkedin":return Object(i.createElement)(f.SVG,{width:r,height:a,viewBox:"0 0 24 24",style:s},Object(i.createElement)(f.Path,{d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"}));case"pinterest":return Object(i.createElement)(f.SVG,{width:r,height:a,viewBox:"0 0 24 24",style:s},Object(i.createElement)(f.Path,{d:"M12.017 0C5.396 0 .029 5.367.029 11.987c0 5.079 3.158 9.417 7.618 11.162-.105-.949-.199-2.403.041-3.439.219-.937 1.406-5.957 1.406-5.957s-.359-.72-.359-1.781c0-1.663.967-2.911 2.168-2.911 1.024 0 1.518.769 1.518 1.688 0 1.029-.653 2.567-.992 3.992-.285 1.193.6 2.165 1.775 2.165 2.128 0 3.768-2.245 3.768-5.487 0-2.861-2.063-4.869-5.008-4.869-3.41 0-5.409 2.562-5.409 5.199 0 1.033.394 2.143.889 2.741.099.12.112.225.085.345-.09.375-.293 1.199-.334 1.363-.053.225-.172.271-.401.165-1.495-.69-2.433-2.878-2.433-4.646 0-3.776 2.748-7.252 7.92-7.252 4.158 0 7.392 2.967 7.392 6.923 0 4.135-2.607 7.462-6.233 7.462-1.214 0-2.354-.629-2.758-1.379l-.749 2.848c-.269 1.045-1.004 2.352-1.498 3.146 1.123.345 2.306.535 3.55.535 6.607 0 11.985-5.365 11.985-11.987C23.97 5.39 18.592.026 11.985.026L12.017 0z"}));case"reddit":return Object(i.createElement)(f.SVG,{width:r,height:a,viewBox:"0 0 24 24",style:s},Object(i.createElement)("path",{d:"M22 12.068a2.184 2.184 0 0 0-2.186-2.186c-.592 0-1.13.233-1.524.609-1.505-1.075-3.566-1.774-5.86-1.864l1.004-4.695 3.261.699A1.56 1.56 0 1 0 18.255 3c-.61-.001-1.147.357-1.398.877l-3.638-.77a.382.382 0 0 0-.287.053.348.348 0 0 0-.161.251l-1.112 5.233c-2.33.072-4.426.77-5.95 1.864a2.201 2.201 0 0 0-1.523-.61 2.184 2.184 0 0 0-.896 4.176c-.036.215-.053.43-.053.663 0 3.37 3.924 6.111 8.763 6.111s8.763-2.724 8.763-6.11c0-.216-.017-.449-.053-.664A2.207 2.207 0 0 0 22 12.068Zm-15.018 1.56a1.56 1.56 0 0 1 3.118 0c0 .86-.699 1.558-1.559 1.558-.86.018-1.559-.699-1.559-1.559Zm8.728 4.139c-1.076 1.075-3.119 1.147-3.71 1.147-.61 0-2.652-.09-3.71-1.147a.4.4 0 0 1 0-.573.4.4 0 0 1 .574 0c.68.68 2.114.914 3.136.914 1.022 0 2.473-.233 3.136-.914a.4.4 0 0 1 .574 0 .436.436 0 0 1 0 .573Zm-.287-2.563a1.56 1.56 0 0 1 0-3.118c.86 0 1.56.699 1.56 1.56 0 .841-.7 1.558-1.56 1.558Z"}));case"telegram":return Object(i.createElement)(f.SVG,{width:r,height:a,viewBox:"0 0 24 24",style:s},Object(i.createElement)("path",{d:"M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z"}));case"whatsapp":return Object(i.createElement)(f.SVG,{width:r,height:a,viewBox:"0 0 24 24",style:s},Object(i.createElement)(f.Path,{d:"M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z"}));case"bluesky":return Object(i.createElement)(f.SVG,{width:r,height:a,viewBox:"0 0 24 24",style:s},Object(i.createElement)("path",{d:"M12 10.8c-1.087-2.114-4.046-6.053-6.798-7.995C2.566.944 1.561 1.266.902 1.565.139 1.908 0 3.08 0 3.768c0 .69.378 5.65.624 6.479.815 2.736 3.713 3.66 6.383 3.364.136-.02.275-.039.415-.056-.138.022-.276.04-.415.056-3.912.58-7.387 2.005-2.83 7.078 5.013 5.19 6.87-1.113 7.823-4.308.953 3.195 2.05 9.271 7.733 4.308 4.267-4.308 1.172-6.498-2.74-7.078a8.741 8.741 0 0 1-.415-.056c.14.017.279.036.415.056 2.67.297 5.568-.628 6.383-3.364.246-.828.624-5.79.624-6.478 0-.69-.139-1.861-.902-2.206-.659-.298-1.664-.62-4.3 1.24C16.046 4.748 13.087 8.687 12 10.8Z"}));case"email":return Object(i.createElement)(f.SVG,{width:r,height:a,viewBox:"0 0 24 24",style:s},Object(i.createElement)(f.Path,{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-.4 4.25l-7.07 4.42c-.32.2-.74.2-1.06 0L4.4 8.25c-.25-.16-.4-.43-.4-.72 0-.67.73-1.07 1.3-.72L12 11l6.7-4.19c.57-.35 1.3.05 1.3.72 0 .29-.15.56-.4.72z"}));case"copy-link":return Object(i.createElement)(f.SVG,{width:r,height:a,viewBox:"0 0 24 24",style:s},Object(i.createElement)(f.Path,{d:"M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"}));case"print":return Object(i.createElement)(f.SVG,{width:r,height:a,viewBox:"0 0 24 24",style:s},Object(i.createElement)(f.Path,{d:"M19 8H5c-1.66 0-3 1.34-3 3v6h4v4h12v-4h4v-6c0-1.66-1.34-3-3-3zm-3 11H8v-5h8v5zm3-7c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm-1-9H6v4h12V3z"}));default:return Object(i.createElement)(f.SVG,{width:r,height:a,viewBox:"0 0 24 24",style:s},Object(i.createElement)(f.Path,{d:"M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65 0 1.61 1.31 2.92 2.92 2.92 1.61 0 2.92-1.31 2.92-2.92s-1.31-2.92-2.92-2.92z"}))}};Object(M.registerBlockType)("wpzoom-blocks/social-sharing",{title:Object(b.__)("Social Sharing Buttons","social-icons-widget-by-wpzoom"),description:Object(b.__)("Add social sharing buttons to allow visitors to share your content.","social-icons-widget-by-wpzoom"),icon:{foreground:"#274474",src:X},category:"wpzoom-blocks",keywords:[Object(b.__)("Social Sharing","social-icons-widget-by-wpzoom"),Object(b.__)("Share","social-icons-widget-by-wpzoom"),Object(b.__)("Buttons","social-icons-widget-by-wpzoom"),Object(b.__)("Social Media","social-icons-widget-by-wpzoom")],attributes:{align:{type:"string",default:"none"},showLabels:{type:"boolean",default:!0},iconColor:{type:"string",default:"#ffffff"},iconHoverColor:{type:"string",default:"#ffffff"},labelColor:{type:"string",default:"inherit"},labelHoverColor:{type:"string",default:"#ffffff"},iconSize:{type:"number",default:20},labelSize:{type:"number",default:16},paddingVertical:{type:"number",default:5},paddingHorizontal:{type:"number",default:15},marginVertical:{type:"number",default:5},marginHorizontal:{type:"number",default:5},borderRadius:{type:"number",default:50},backgroundStyle:{type:"string",default:"brand"},hasBorder:{type:"boolean",default:!1},borderWidth:{type:"number",default:1},borderColor:{type:"string",default:""},oneToneColor:{type:"string",default:"#000000"},xUsername:{type:"string",default:""},platforms:{type:"array",default:[{id:"facebook",name:"Facebook",enabled:!0,color:"#0866FF"},{id:"x",name:"X",enabled:!0,color:"#000000"},{id:"threads",name:"Threads",enabled:!0,color:"#000000"},{id:"linkedin",name:"LinkedIn",enabled:!0,color:"#0966c2"},{id:"pinterest",name:"Pinterest",enabled:!1,color:"#E60023"},{id:"reddit",name:"Reddit",enabled:!0,color:"#FF4500"},{id:"telegram",name:"Telegram",enabled:!1,color:"#0088cc"},{id:"whatsapp",name:"WhatsApp",enabled:!0,color:"#25D366"},{id:"bluesky",name:"Bluesky",enabled:!1,color:"#1DA1F2"},{id:"email",name:"Email",enabled:!0,color:"#333333"},{id:"copy-link",name:"Copy Link",enabled:!0,color:"#333333"},{id:"print",name:"Print",enabled:!1,color:"#333333"}]}},styles:[{name:"default",label:Object(b.__)("Default (Circle)","social-icons-widget-by-wpzoom"),isDefault:!0},{name:"filled",label:Object(b.__)("Square / Filled","social-icons-widget-by-wpzoom")},{name:"rounded",label:Object(b.__)("Rounded / Filled","social-icons-widget-by-wpzoom")},{name:"outlined-pill",label:Object(b.__)("Outlined / Pill","social-icons-widget-by-wpzoom")},{name:"outlined-square",label:Object(b.__)("Outlined / Square","social-icons-widget-by-wpzoom")},{name:"minimal",label:Object(b.__)("Minimal","social-icons-widget-by-wpzoom")},{name:"one-tone",label:Object(b.__)("One Tone","social-icons-widget-by-wpzoom")}],supports:{align:!0,html:!1,spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0}},edit:function({attributes:e,setAttributes:t,className:o,isSelected:n}){var a,s,l,c,d;const{align:p,showLabels:u,iconColor:m,iconHoverColor:g,labelColor:w,labelHoverColor:y,iconSize:O,labelSize:j,paddingVertical:C,paddingHorizontal:z,marginVertical:E,marginHorizontal:k,borderRadius:_,backgroundStyle:I,hasBorder:x,platforms:A,oneToneColor:S}=e,[P,B]=Object(i.useState)(null),[F,N]=Object(i.useState)(""),H=Object(v.useBlockProps)({className:h()(o,{["align-"+p]:p,"wpzoom-social-sharing-block":!0})}),R=(null==o?void 0:o.includes("is-style-one-tone"))||(null===(a=H.className)||void 0===a?void 0:a.includes("is-style-one-tone")),L=null===(s=H.className)||void 0===s?void 0:s.includes("is-style-outlined-pill"),Q=null===(l=H.className)||void 0===l?void 0:l.includes("is-style-outlined-square"),V=null===(c=H.className)||void 0===c?void 0:c.includes("is-style-minimal"),M=null===(d=H.className)||void 0===d?void 0:d.includes("is-style-filled");Object(i.useEffect)(()=>{!R||S&&void 0!==S||t({oneToneColor:"#000000"})},[R,S]),Object(i.useEffect)(()=>{if(!A.some(e=>"print"===e.id)){const e=[...A,{id:"print",name:"Print",enabled:!1,color:"#333333"}];t({platforms:e})}},[]);const T={textAlign:p},U=A.filter(e=>e.enabled);return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(Y,{attributes:e,setAttributes:t}),Object(i.createElement)("div",r()({},H,{style:T}),U.length>0?Object(i.createElement)("ul",{className:"social-sharing-icons"},U.map((o,r)=>{const a=M?0:_,s=m,l=w;let c=o.color||"#333333";R?c=S||"#000000":(L||Q||V)&&(c="transparent");let d="none";const p=e.borderWidth||1;L||Q?d=`${p}px solid ${s}`:x&&(d=`${p}px solid ${e.borderColor||s}`);const h={padding:`${C}px ${z}px`,margin:`${E}px ${k}px`,borderRadius:a+"px",fontSize:O+"px",color:s,backgroundColor:c,border:d};return V&&(h.padding="5px"),Object(i.createElement)("li",{key:o.id,className:"social-sharing-icon-li"},Object(i.createElement)("a",{className:"social-sharing-icon social-sharing-icon-"+o.id,style:h,href:"#",title:o.name,onClick:e=>{e.preventDefault(),n&&(B(o.id),N(o.name))}},Object(i.createElement)(G,{id:o.id,size:O,color:s}),u&&Object(i.createElement)("span",{className:"social-sharing-icon-label",style:{fontSize:j+"px",color:l}},o.name)),n&&P===o.id&&Object(i.createElement)(f.Popover,{className:"wpzoom-social-sharing-edit-label-popover",position:"bottom center",onClose:()=>B(null)},Object(i.createElement)("div",{style:{padding:"16px",minWidth:"240px"}},Object(i.createElement)("h3",{style:{margin:"0 0 8px 0"}},Object(b.__)("Edit Label","social-icons-widget-by-wpzoom")),Object(i.createElement)(f.TextControl,{label:Object(b.__)("Label Text","social-icons-widget-by-wpzoom"),value:F,onChange:N}),Object(i.createElement)("div",{style:{display:"flex",justifyContent:"space-between",marginTop:"12px"}},Object(i.createElement)(f.Button,{isSecondary:!0,onClick:()=>B(null)},Object(b.__)("Cancel","social-icons-widget-by-wpzoom")),Object(i.createElement)(f.Button,{isPrimary:!0,onClick:()=>((e,o)=>{const n=A.map(t=>t.id===e?{...t,name:o}:t);t({platforms:n}),B(null)})(o.id,F)},Object(b.__)("Save","social-icons-widget-by-wpzoom"))))))})):Object(i.createElement)("p",{className:"no-sharing-platforms-selected"},Object(b.__)("Select sharing networks in the block sidebar.","social-icons-widget-by-wpzoom")),n&&U.length>0&&Object(i.createElement)("div",{className:"wpzoom-click-to-edit-hint",style:{textAlign:"center",fontSize:"13px",color:"#757575",marginTop:"8px"}},Object(b.__)("Click on any icon to edit its label","social-icons-widget-by-wpzoom"))))},save:function({attributes:e}){const{align:t,showLabels:o,iconColor:n,iconHoverColor:a,labelColor:s,labelHoverColor:l,iconSize:c,labelSize:d,paddingVertical:p,paddingHorizontal:u,marginVertical:m,marginHorizontal:b,borderRadius:g,backgroundStyle:f,hasBorder:w,platforms:y,xUsername:O}=e,j=v.useBlockProps.save({className:h()({["align-"+t]:t,"wpzoom-social-sharing-block":!0})}),C={textAlign:t},z=y.filter(e=>e.enabled);return Object(i.createElement)("div",r()({},j,{style:C}),Object(i.createElement)("ul",{className:"social-sharing-icons"},z.map(e=>{const t=((e,t="")=>{switch(e){case"facebook":return{color:"#0866FF",hoverColor:"#0866FF",shareUrl:"https://www.facebook.com/sharer/sharer.php?u={url}&t={title}"};case"x":let e="https://x.com/intent/tweet?url={url}&text={title}";return t&&""!==t.trim()&&(e+="&via="+t.trim().replace(/^@/,"")),{color:"#000000",hoverColor:"#000000",shareUrl:e};case"linkedin":return{color:"#0966c2",hoverColor:"#0966c2",shareUrl:"https://www.linkedin.com/sharing/share-offsite/?url={url}"};case"pinterest":return{color:"#E60023",hoverColor:"#E60023",shareUrl:"https://pinterest.com/pin/create/button/?url={url}&media={featured_image}&description={title}"};case"reddit":return{color:"#FF4500",hoverColor:"#FF4500",shareUrl:"https://www.reddit.com/submit?url={url}&title={title}"};case"telegram":return{color:"#0088cc",hoverColor:"#0088cc",shareUrl:"https://t.me/share/url?url={url}&text={title}"};case"whatsapp":return{color:"#25D366",hoverColor:"#25D366",shareUrl:"https://api.whatsapp.com/send?text={title}%20{url}"};case"bluesky":return{color:"#1DA1F2",hoverColor:"#1DA1F2",shareUrl:"https://bsky.app/intent?text={title}%20{url}"};case"email":return{color:"#333333",hoverColor:"#333333",shareUrl:"mailto:?subject={title}&body={url}"};case"copy-link":return{color:"#333333",hoverColor:"#333333",shareUrl:"#copy-link"};case"print":return{color:"#333333",hoverColor:"#333333",shareUrl:"#print"};default:return{color:"#333333",hoverColor:"#333333",shareUrl:"#"}}})(e.id,O),r={padding:`${p}px ${u}px`,margin:`${m}px ${b}px`,borderRadius:g+"px",fontSize:c+"px",color:n,backgroundColor:t.color,border:w?"1px solid":"none"},a="copy-link"===e.id?"#copy-link":t.shareUrl;return Object(i.createElement)("li",{key:e.id,className:"social-sharing-icon-li"},Object(i.createElement)("a",{className:"social-sharing-icon social-sharing-icon-"+e.id,style:r,href:a,title:e.name,target:"_blank",rel:"noopener noreferrer","data-platform":e.id},Object(i.createElement)(G,{id:e.id,size:c,color:n||"#ffffff"}),o&&Object(i.createElement)("span",{className:"social-sharing-icon-label",style:{fontSize:d+"px",color:s}},e.name)))})))}});var $=Object(i.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 64 1024 1024"},Object(i.createElement)(s.Path,{fill:"#08618a",transform:"scale(1,-1) translate(0,-1024)",d:"M581.456 542.931h-31.41v-102.1c6.669-0.4 12.537-0.867 31.877-0.867 35.745 0 57.085 21.207 57.085 54.018 0 29.009-23.541 48.949-57.552 48.949zM512.033 956.666c-280.958 0-508.699-227.741-508.699-508.699s227.741-508.699 508.699-508.699 508.699 227.741 508.699 508.699-227.807 508.699-508.699 508.699zM450.013 542.931h-32.010l-74.358-240.078h-26.475l-73.957 170.189-74.358-170.189h-26.475l-75.625 240.078h-30.21v40.013h120.039v-40.013h-38.146l44.948-146.448 68.489 159.785h25.208l68.489-159.785 42.014 146.448h-37.612v40.013h120.039v-40.013zM577.721 398.417c-13.004 0-21.007 0-27.676 0.4v-49.283h33.344v-40.013h-113.37v40.013h33.344v193.396h-33.344v40.013h113.97c59.219 0 104.234-33.878 104.234-90.163-0.067-63.487-45.415-94.364-110.503-94.364zM925.101 309.522h-213.003l-4.201 25.342 202.066 208.068h-105.901l-10.537-46.682h-43.281l20.14 86.695h206.734l4.201-25.342-202.066-208.068h112.17l10.537 46.682h43.281l-20.14-86.695z"}));Object(M.updateCategory)("wpzoom-blocks",{icon:$})}]);3 Object(b._n)('%d legacy widget "Social Icons" successfully converted to block','%d legacy widgets "Social Icons" successfully converted to block',o,"social-icons-widget-by-wpzoom"),o);t(e)}})}))}(e).then(e=>{n(!0),Object(T.doAction)("converter.isConvertDone",{message:e})}),null):Object(i.createElement)(f.Placeholder,null,Object(i.createElement)(f.Spinner,null))};var q=Object(i.memo)(({clientId:e,attributes:t,widgetId:o})=>{const[n,r]=Object(i.useState)(!1),{createInfoNotice:a,createWarningNotice:s,createSuccessNotice:l}=Object(g.useDispatch)("core/notices");K[o]={},K[o].clientId=e,K[o].attributes=t;const c=Object(b.__)('Legacy Social Icons Widget has been detected on this page. Since our plugin includes a Social Icons Block, supported by WordPress 5.8, we highly recommend transforming legacy widgets to blocks. You can do that by clicking on the "Convert to block" button. You can also disable the new block-based widget screen by installing the Classic Widgets plugin.',"social-icons-widget-by-wpzoom");return Object(i.useEffect)(()=>{s(c,{id:"wpzoom-social-icons-notice",isDismissible:!0,actions:[{url:Object(U.addQueryArgs)("customize.php",{"autofocus[panel]":"widgets",return:window.location.pathname}),label:Object(b.__)("Manage in Customizer","social-icons-widget-by-wpzoom")},{url:Object(U.addQueryArgs)("plugin-install.php",{s:"classic%20widgets",tab:"search",type:"term"}),label:"Install Classic Widgets"},{label:Object(b.__)("Convert to block","social-icons-widget-by-wpzoom"),onClick:()=>r(!n)}]})},[s,n]),Object(i.useEffect)(()=>{n&&a(Object(b.__)("Converting process is starting. Please wait…","social-icons-widget-by-wpzoom"),{type:"snackbar",id:"wpzoom-social-icons-notice"})},[n,a]),Object(T.addAction)("converter.isConvertDone","wpzoom-blocks/social-icons/convert-legacy-widget",({message:e})=>{l(e,{type:"snackbar",id:"wpzoom-social-icons-notice"})}),e&&n?Object(i.createElement)(i.Fragment,null,Object(i.createElement)(W,{replacementData:K,isConvertRun:n})):null}),Z=function(e){const t=Object(M.getBlockTypes)().filter(e=>-1!==e.name.indexOf("wpzoom-blocks/social-icons"))[0],{attributes:o}=t,n=Object(a.mapValues)(o,e=>e.default),r={wasStyled:!0,canvasType:e.icon_style,showIconsLabel:"true"===e.show_icon_labels,openLinkInNewTab:"true"===e.open_new_tab,nofollow:"true"===e.no_follow,noreferrer:"true"===e.no_referrer,noopener:"true"===e.no_opener,iconsAlignment:e.icon_alignment,iconsColor:e.global_color_picker,iconsHoverColor:e.global_color_picker_hover,iconsLabelHoverColor:"inherit",iconsFontSize:e.icon_font_size,iconsPaddingVertical:e.icon_padding_size,iconsPaddingHorizontal:e.icon_padding_size,iconsBackgroundStyle:e.icon_canvas_style||"round",selectedIcons:e.fields.map(e=>function(e){return{url:e.url,icon:e.icon,iconKit:e.icon_kit,color:e.color_picker,hoverColor:e.color_picker_hover,label:e.label,showPopover:!1,isActive:!1}}(e)),title:e.title,description:e.description},i=Object(a.assign)(n,r);"rounded"===i.iconsBackgroundStyle?i.iconsBorderRadius=3:"round"===i.iconsBackgroundStyle?i.iconsBorderRadius=50:i.iconsBorderRadius=0,"without-canvas"===i.canvasType?i.className="is-style-"+i.canvasType:"with-canvas"===i.canvasType&&(i.className="is-style-with-canvas-round");const s=[{name:"without-canvas",label:"Color Icon / No Background",isDefault:"without-canvas"===i.canvasType},{name:"with-canvas-round",label:"Color Background / Round White Icon",isDefault:"with-canvas"===i.canvasType}];for(let e=0;e<s.length;e++){const t=s[e];Object(M.unregisterBlockStyle)("wpzoom-blocks/social-icons",t.name),Object(M.registerBlockStyle)("wpzoom-blocks/social-icons",t)}return i};document.getElementById("customize-theme-controls"),Object(w.createHigherOrderComponent)(e=>t=>{const{attributes:o,name:n}=t,{id:a,idBase:s,instance:l,__internalWidgetId:c}=o,d=null!=a?a:s;if("core/legacy-widget"===n&&"zoom-social-icons-widget"===d){const{widgetType:o,hasResolvedWidgetType:n}=Object(g.useSelect)(e=>({widgetType:e("core").getWidgetType(d),hasResolvedWidgetType:e("core").hasFinishedResolution("getWidgetType",[d])}),[a,s]),p=Z(l.raw);return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(e,t),o&&n&&Object(i.createElement)(q,r()({},t,{attributes:p,widgetId:c})))}return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(e,t))},"withGroupedBlock"),Object(T.addFilter)("blocks.registerBlockType","wpzoom-blocks/social-icons/class-names/heading-paragraph-block",(function(e,t){return"core/heading"!==t||"core/paragraph"!==t?e:Object(a.assign)({},e,{supports:Object(a.assign)({},e.supports,{className:!0})})})),Object(T.addFilter)("blocks.getBlockAttributes","wpzoom-blocks/social-icons",(function(e){if(void 0!==e.selectedIcons){const t=[...e.selectedIcons];t.map(e=>(e.isActive=!1,e)),e.selectedIcons=t,e.showModal=!1}return e})),Object(M.registerBlockType)("wpzoom-blocks/social-icons",{title:Object(b.__)("Social Icons by WPZOOM","social-icons-widget-by-wpzoom"),description:Object(b.__)("Display icons with links to social media platforms.","social-icons-widget-by-wpzoom"),icon:{foreground:"#274474",src:l},example:{attributes:{cover:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQoAAADJCAYAAADbwHxnAAAKz2lDQ1BJQ0MgUHJvZmlsZQAASImVlwdUU2kWx7/30kNCS4iAlNB77yAl9AAK0kFUQhKSUEJIQcWODI7AiKIigmVEh6rgWAAZCyKKbRCsWAdkUFHGwYINlX3AEmZ2z+6e/Z9zz/vl5n73fved7zvnPgDI6iyRKANWBiBTKBVHBvnS4xMS6bhBAAEYEIA2sGWxJSJGREQYQDTz/Lve30GiEd20msz17///V6lwuBI2AFAEwikcCTsT4eOIfWOLxFIAUAgDg2VS0ST3IUwVIxtEeGSSeVOMnsxDTZlm6lRMdKQfwqYA4EkslpgHAMkR8dNz2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ZeVIwA4BCoUdjvRCAk4ToFA43bysHAnYIUChsMORXkjAaQIUCqebl5UjATsEKBR2ONILCThNgELhdPOyciRghwCFwg5HeiEBpwlQKJxuXlaOBOwQoFDY4UgvJOA0AQqF083LypGAHQIUCjsc6YUEnCZAoXC6eVk5ErBDgEJhhyO9kIDTBCgUTjcvK0cCdghQKOxwpBcScJoAhcLp5mXlSMAOAQqFHY70QgJOE6BQON28rBwJ2CFAobDDkV5IwGkCFAqnm5eVIwE7BCgUdjjSCwk4TYBC4XTzsnIkYIcAhcIOR3ohAacJUCicbl5WjgTsEKBQ2OFILyTgNAEKhdPNy8qRgB0CFAo7HOmFBJwmQKFwunlZORKwQ4BCYYcjvZCA0wQoFE43LytHAnYIUCjscKQXEnCaAIXC6eZl5UjADgEKhR2O9EICThOgUDjdvKwcCdghQKGww5FeSMBpAhQKp5uXlSMBOwQoFHY40gsJOE2AQuF087JyJGCHAIXCDkd6IQGnCVAonG5eVo4E7BCgUNjhSC8k4DQBCoXTzcvKkYAdAhQKOxzphQScJkChcLp5WTkSsEOAQmGHI72QgNMEKBRONy8rRwJ2CFAo7HCkFxJwmgCFwunmZeVIwA4BCoUdjvRCAk4ToFA43bysHAnYIUChsMORXkjAaQIUCqebl5UjATsEKBR2ONILCThNgELhdPOyciRghwCFwg5HeiEBpwlQKJxuXlaOBOwQoFDY4UgvJOA0gf8DAD8xcfX+GGoAAAAASUVORK5CYII=",author:"WPZOOM"}},category:"wpzoom-blocks",keywords:[Object(b.__)("Social Icons","social-icons-widget-by-wpzoom"),Object(b.__)("icon","social-icons-widget-by-wpzoom"),Object(b.__)("svg","social-icons-widget-by-wpzoom"),Object(b.__)("share","social-icons-widget-by-wpzoom"),Object(b.__)("sharing","social-icons-widget-by-wpzoom"),Object(b.__)("Fontawesome","social-icons-widget-by-wpzoom")],attributes:{wasStyled:{type:"boolean",default:!1},canvasType:{type:"string",default:"with-canvas"},showIconsLabel:{type:"boolean",default:!1},showModal:{type:"boolean",default:!1},openLinkInNewTab:{type:"boolean",default:!1},nofollow:{type:"boolean",default:!1},noreferrer:{type:"boolean",default:!1},noopener:{type:"boolean",default:!1},relme:{type:"boolean",default:!1},iconsAlignment:{type:"string",default:"left"},iconsColor:{type:"string",default:"#f1f1f1"},iconsLabelColor:{type:"string",default:"inherit"},iconsHoverColor:{type:"string",default:"#f1f1f1"},iconsLabelHoverColor:{type:"string",default:"#f1f1f1"},iconsFontSize:{type:"number",default:20},iconsLabelFontSize:{type:"number",default:20},iconsPaddingVertical:{type:"number",default:10},iconsPaddingHorizontal:{type:"number",default:10},iconsMarginVertical:{type:"number",default:5},iconsMarginHorizontal:{type:"number",default:5},iconsBorderRadius:{type:"number",default:0},iconsBackgroundStyle:{type:"string",default:"round"},iconsHasBorder:{type:"boolean",default:!1},activeIconIndex:{type:"integer",default:0},defaultIcon:{type:"object",default:{icon:"facebook",color:"#f89406",hoverColor:"#f89406"}},selectedIcons:{type:"array",default:[{url:"https://facebook.com",icon:"facebook",iconKit:"socicon",color:"#0866FF",hoverColor:"#0866FF",label:"Facebook",showPopover:!1,isActive:!1,customSvg:null},{url:"https://x.com",icon:"x",iconKit:"socicon",color:"#000000",hoverColor:"#000000",label:"X",showPopover:!1,isActive:!1,customSvg:null},{url:"https://instagram.com",icon:"instagram",iconKit:"socicon",color:"#E4405F",hoverColor:"#E4405F",label:"Instagram",showPopover:!1,isActive:!1,customSvg:null}]}},styles:[{name:"with-canvas-round",label:Object(b.__)("Color Background / Round White Icon","social-icons-widget-by-wpzoom"),isDefault:!0},{name:"with-canvas-rounded",label:Object(b.__)("Color Background / Rounded White Icon","social-icons-widget-by-wpzoom")},{name:"with-canvas-squared",label:Object(b.__)("Color Background / Squared White Icon","social-icons-widget-by-wpzoom")},{name:"without-canvas",label:Object(b.__)("Color Icon / No Background","social-icons-widget-by-wpzoom")},{name:"without-canvas-with-border",label:Object(b.__)("Color Icon / No Background with border","social-icons-widget-by-wpzoom")},{name:"with-label-canvas-rounded",label:Object(b.__)("Color Background / Rounded White Icon with label","social-icons-widget-by-wpzoom")},{name:"without-canvas-with-label",label:Object(b.__)("Color Icon / No Background with label","social-icons-widget-by-wpzoom")}],transforms:{from:[{type:"block",blocks:["core/legacy-widget"],transform:({instance:e})=>Object(M.createBlock)("wpzoom-blocks/social-icons",Z(e.raw))}]},edit:L,save:V}),o(24);var X=Object(i.createElement)(f.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(i.createElement)(f.Path,{d:"M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65 0 1.61 1.31 2.92 2.92 2.92 1.61 0 2.92-1.31 2.92-2.92s-1.31-2.92-2.92-2.92z"})),J=Object(i.createElement)(s.SVG,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(i.createElement)(s.Path,{d:"M5 4h2V2H5v2zm6-2v2h2V2h-2zm-6 8h2V8H5v2zm6 0h2V8h-2v2zm-6 6h2v-2H5v2zm6 0h2v-2h-2v2z"}));function Y({attributes:e,setAttributes:t}){var o,n,r,a,s,l;const{align:c,showLabels:d,iconColor:p,iconHoverColor:u,labelColor:m,labelHoverColor:h,iconSize:g,labelSize:w,paddingVertical:y,paddingHorizontal:O,marginVertical:j,marginHorizontal:C,borderRadius:z,backgroundStyle:E,hasBorder:k,platforms:_,oneToneColor:I}=e,x=document.body.className.includes("post-type-wpzoom-sharing"),[A,S]=Object(i.useState)(!1),[P,B]=Object(i.useState)(null),[F,N]=Object(i.useState)(null),H=e.className,R=null==H?void 0:H.includes("is-style-one-tone"),L=null==H?void 0:H.includes("is-style-filled"),Q=null==H?void 0:H.includes("is-style-rounded"),V=null==H?void 0:H.includes("is-style-outlined-pill"),M=null==H?void 0:H.includes("is-style-outlined-square"),T=null==H?void 0:H.includes("is-style-minimal"),U=v.useBlockProps.save(),D=R||(null===(o=U.className)||void 0===o?void 0:o.includes("is-style-one-tone")),K=L||(null===(n=U.className)||void 0===n?void 0:n.includes("is-style-filled")),W=(Q||null===(r=U.className)||void 0===r||r.includes("is-style-rounded"),V||(null===(a=U.className)||void 0===a?void 0:a.includes("is-style-outlined-pill"))),q=M||(null===(s=U.className)||void 0===s?void 0:s.includes("is-style-outlined-square")),Z=T||(null===(l=U.className)||void 0===l?void 0:l.includes("is-style-minimal"));Object(i.useEffect)(()=>{!D||I&&void 0!==I||(t({oneToneColor:"#000000"}),t({iconColor:"#ffffff",labelColor:"#ffffff"}))},[D,I]),Object(i.useEffect)(()=>{null!=H&&H.includes("is-style-outlined-pill")||null!=H&&H.includes("is-style-outlined-square")||null!=H&&H.includes("is-style-minimal")?("#ffffff"!==p&&"#fff"!==p&&p||t({iconColor:"#000000"}),"inherit"!==m&&"#ffffff"!==m&&"#fff"!==m&&m||t({labelColor:"#000000"})):(null!=H&&H.includes("is-style-one-tone")||null!=H&&H.includes("is-style-default")||null!=H&&H.includes("is-style-filled")||null!=H&&H.includes("is-style-rounded"))&&t({iconColor:"#ffffff",labelColor:"#ffffff"})},[H,t]),Object(i.useEffect)(()=>{var e,o,n;U.className&&((e=>{let o=z;e.includes("is-style-filled")?o=0:e.includes("is-style-rounded")?o=8:e.includes("is-style-default")||e.includes("is-style-outlined-pill")?o=50:e.includes("is-style-outlined-square")&&(o=0),t({borderRadius:o})})(U.className),W||q||Z?("#ffffff"!==p&&"#fff"!==p&&p||t({iconColor:"#000000"}),"inherit"!==m&&"#ffffff"!==m&&"#fff"!==m&&m||t({labelColor:"#000000"})):(D||null!==(e=U.className)&&void 0!==e&&e.includes("is-style-default")||null!==(o=U.className)&&void 0!==o&&o.includes("is-style-filled")||null!==(n=U.className)&&void 0!==n&&n.includes("is-style-rounded"))&&t({iconColor:"#ffffff",labelColor:"#ffffff"}))},[U.className,W,q,Z,D,t]);const X=(e,o)=>{if(o<0||o>=_.length)return;const n=[..._],[r]=n.splice(e,1);n.splice(o,0,r),t({platforms:n,showLabels:d,borderRadius:z,align:c,iconColor:p,iconSize:g,labelSize:w,paddingVertical:y,paddingHorizontal:O,marginVertical:j,marginHorizontal:C,hasBorder:k})},Y=e=>{S(!1),B(null),N(null),document.querySelectorAll(".wpzoom-social-platform-item").forEach(e=>{e.classList.remove("is-dragging","drag-over")})};return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(v.InspectorControls,null,Object(i.createElement)(f.PanelBody,{title:Object(i.createElement)(i.Fragment,null,Object(b.__)("Pro Features","social-icons-widget-by-wpzoom"),Object(i.createElement)("span",{className:"wpzoom-pro-badge",style:{background:"#2271b1",color:"#fff",fontSize:"9px",padding:"2px 5px",borderRadius:"3px",marginLeft:"6px",textTransform:"uppercase",fontWeight:"600",verticalAlign:"middle"}},"Pro")),initialOpen:!0},Object(i.createElement)("div",{className:"wpzoom-pro-features-upsell"},Object(i.createElement)(f.ToggleControl,{label:Object(b.__)("Show Like Button","social-icons-widget-by-wpzoom"),checked:!1,onChange:()=>{},disabled:!0}),Object(i.createElement)(f.ToggleControl,{label:Object(b.__)("Show Share Counts","social-icons-widget-by-wpzoom"),checked:!1,onChange:()=>{},disabled:!0}),Object(i.createElement)(f.ToggleControl,{label:Object(b.__)("Show Individual Counts","social-icons-widget-by-wpzoom"),checked:!1,onChange:()=>{},disabled:!0}),Object(i.createElement)(f.__experimentalDivider,null),Object(i.createElement)("div",{className:"wpzoom-ai-platforms-preview",style:{marginTop:"12px"}},Object(i.createElement)("p",{style:{margin:"0 0 8px 0",fontWeight:"500",fontSize:"11px",textTransform:"uppercase",color:"#757575"}},Object(b.__)("AI Share Buttons","social-icons-widget-by-wpzoom")),Object(i.createElement)("div",{style:{display:"flex",gap:"6px",flexWrap:"wrap"}},Object(i.createElement)("span",{style:{display:"inline-flex",alignItems:"center",gap:"5px",padding:"6px 10px",background:"#000000",borderRadius:"50px",fontSize:"11px",color:"#fff",fontWeight:"500"}},Object(i.createElement)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"#fff"},Object(i.createElement)("path",{d:"M22.282 9.821a5.985 5.985 0 0 0-.516-4.91 6.046 6.046 0 0 0-6.51-2.9A6.065 6.065 0 0 0 4.981 4.18a5.985 5.985 0 0 0-3.998 2.9 6.046 6.046 0 0 0 .743 7.097 5.98 5.98 0 0 0 .51 4.911 6.051 6.051 0 0 0 6.515 2.9A5.985 5.985 0 0 0 13.26 24a6.056 6.056 0 0 0 5.772-4.206 5.99 5.99 0 0 0 3.997-2.9 6.056 6.056 0 0 0-.747-7.073zM13.26 22.43a4.476 4.476 0 0 1-2.876-1.04l.141-.081 4.779-2.758a.795.795 0 0 0 .392-.681v-6.737l2.02 1.168a.071.071 0 0 1 .038.052v5.583a4.504 4.504 0 0 1-4.494 4.494zM3.6 18.304a4.47 4.47 0 0 1-.535-3.014l.142.085 4.783 2.759a.771.771 0 0 0 .78 0l5.843-3.369v2.332a.08.08 0 0 1-.033.062L9.74 19.95a4.5 4.5 0 0 1-6.14-1.646zM2.34 7.896a4.485 4.485 0 0 1 2.366-1.973V11.6a.766.766 0 0 0 .388.676l5.815 3.355-2.02 1.168a.076.076 0 0 1-.071 0l-4.83-2.786A4.504 4.504 0 0 1 2.34 7.872zm16.597 3.855l-5.833-3.387L15.119 7.2a.076.076 0 0 1 .071 0l4.83 2.791a4.494 4.494 0 0 1-.676 8.105v-5.678a.79.79 0 0 0-.407-.667zm2.01-3.023l-.141-.085-4.774-2.782a.776.776 0 0 0-.785 0L9.409 9.23V6.897a.066.066 0 0 1 .028-.061l4.83-2.787a4.5 4.5 0 0 1 6.68 4.66zm-12.64 4.135l-2.02-1.164a.08.08 0 0 1-.038-.057V6.075a4.5 4.5 0 0 1 7.375-3.453l-.142.08L8.704 5.46a.795.795 0 0 0-.393.681zm1.097-2.365l2.602-1.5 2.607 1.5v2.999l-2.597 1.5-2.607-1.5z"})),"ChatGPT"),Object(i.createElement)("span",{style:{display:"inline-flex",alignItems:"center",gap:"5px",padding:"6px 10px",background:"#C6613F",borderRadius:"50px",fontSize:"11px",color:"#fff",fontWeight:"500"}},Object(i.createElement)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"#fff"},Object(i.createElement)("path",{d:"m4.7144 15.9555 4.7174-2.6471.079-.2307-.079-.1275h-.2307l-.7893-.0486-2.6956-.0729-2.3375-.0971-2.2646-.1214-.5707-.1215-.5343-.7042.0546-.3522.4797-.3218.686.0608 1.5179.1032 2.2767.1578 1.6514.0972 2.4468.255h.3886l.0546-.1579-.1336-.0971-.1032-.0972L6.973 9.8356l-2.55-1.6879-1.3356-.9714-.7225-.4918-.3643-.4614-.1578-1.0078.6557-.7225.8803.0607.2246.0607.8925.686 1.9064 1.4754 2.4893 1.8336.3643.3035.1457-.1032.0182-.0728-.164-.2733-1.3539-2.4467-1.445-2.4893-.6435-1.032-.17-.6194c-.0607-.255-.1032-.4674-.1032-.7285L6.287.1335 6.6997 0l.9957.1336.419.3642.6192 1.4147 1.0018 2.2282 1.5543 3.0296.4553.8985.2429.8318.091.255h.1579v-.1457l.1275-1.706.2368-2.0947.2307-2.6957.0789-.7589.3764-.9107.7468-.4918.5828.2793.4797.686-.0668.4433-.2853 1.8517-.5586 2.9021-.3643 1.9429h.2125l.2429-.2429.9835-1.3053 1.6514-2.0643.7286-.8196.85-.9046.5464-.4311h1.0321l.759 1.1293-.34 1.1657-1.0625 1.3478-.8804 1.1414-1.2628 1.7-.7893 1.36.0729.1093.1882-.0183 2.8535-.607 1.5421-.2794 1.8396-.3157.8318.3886.091.3946-.3278.8075-1.967.4857-2.3072.4614-3.4364.8136-.0425.0304.0486.0607 1.5482.1457.6618.0364h1.621l3.0175.2247.7892.522.4736.6376-.079.4857-1.2142.6193-1.6393-.3886-3.825-.9107-1.3113-.3279h-.1822v.1093l1.0929 1.0686 2.0035 1.8092 2.5075 2.3314.1275.5768-.3218.4554-.34-.0486-2.2039-1.6575-.85-.7468-1.9246-1.621h-.1275v.17l.4432.6496 2.3436 3.5214.1214 1.0807-.17.3521-.6071.2125-.6679-.1214-1.3721-1.9246L14.38 17.959l-1.1414-1.9428-.1397.079-.674 7.2552-.3156.3703-.7286.2793-.6071-.4614-.3218-.7468.3218-1.4753.3886-1.9246.3157-1.53.2853-1.9004.17-.6314-.0121-.0425-.1397.0182-1.4328 1.9672-2.1796 2.9446-1.7243 1.8456-.4128.164-.7164-.3704.0667-.6618.4008-.5889 2.386-3.0357 1.4389-1.882.929-1.0868-.0062-.1579h-.0546l-6.3385 4.1164-1.1293.1457-.4857-.4554.0608-.7467.2307-.2429 1.9064-1.3114Z"})),"Claude"),Object(i.createElement)("span",{style:{display:"inline-flex",alignItems:"center",gap:"5px",padding:"6px 10px",background:"#20808D",borderRadius:"50px",fontSize:"11px",color:"#fff",fontWeight:"500"}},Object(i.createElement)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"#fff"},Object(i.createElement)("path",{d:"M22.3977 7.0896h-2.3106V.0676l-7.5094 6.3542V.1577h-1.1554v6.1966L4.4904 0v7.0896H1.6023v10.3976h2.8882V24l6.932-6.3591v6.2005h1.1554v-6.0469l6.9318 6.1807v-6.4879h2.8882V7.0896zm-3.4657-4.531v4.531h-5.355l5.355-4.531zm-13.2862.0676 4.8691 4.4634H5.6458V2.6262zM2.7576 16.332V8.245h7.8476l-6.1149 6.1147v1.9723H2.7576zm2.8882 5.0404v-3.8852h.0001v-2.6488l5.7763-5.7764v7.0111l-5.7764 5.2993zm12.7086.0248-5.7766-5.1509V9.0618l5.7766 5.7766v6.5588zm2.8882-5.0652h-1.733v-1.9723L13.3948 8.245h7.8478v8.087z"})),"Perplexity"))),Object(i.createElement)(f.__experimentalSpacer,{margin:4}),Object(i.createElement)(f.Button,{variant:"primary",href:"https://www.wpzoom.com/plugins/social-share/?utm_source=wpadmin&utm_medium=plugin&utm_campaign=social-icons-free&utm_content=block-inspector",target:"_blank",style:{width:"100%",justifyContent:"center"}},Object(b.__)("Upgrade to Pro","social-icons-widget-by-wpzoom")),Object(i.createElement)("p",{style:{marginTop:"12px",fontSize:"11px",color:"#757575",textAlign:"center"}},Object(b.__)("Unlock analytics, like buttons, AI sharing & more","social-icons-widget-by-wpzoom")))),Object(i.createElement)(f.PanelBody,{title:Object(b.__)("Sharing Networks","social-icons-widget-by-wpzoom")},Object(i.createElement)("p",{className:"components-base-control__help"},Object(b.__)("Select which platforms to display. Drag handles to reorder networks.","social-icons-widget-by-wpzoom")),Object(i.createElement)("div",{className:"wpzoom-social-icons-platforms-list"},_.map((e,o)=>Object(i.createElement)("div",{key:e.id,className:"wpzoom-social-platform-item",draggable:"true",onDragStart:e=>((e,t)=>{S(!0),B(t),e.dataTransfer.effectAllowed="move",e.dataTransfer.setData("text/plain",t.toString()),setTimeout(()=>{document.querySelectorAll(".wpzoom-social-platform-item")[t].classList.add("is-dragging")},0)})(e,o),onDragOver:e=>((e,t)=>{e.preventDefault(),e.dataTransfer.dropEffect="move",P!==t&&N(t)})(e,o),onDragEnter:e=>((e,t)=>{e.preventDefault(),P!==t&&document.querySelectorAll(".wpzoom-social-platform-item")[t].classList.add("drag-over")})(e,o),onDragLeave:e=>((e,t)=>{document.querySelectorAll(".wpzoom-social-platform-item")[t].classList.remove("drag-over")})(0,o),onDrop:e=>((e,o)=>{e.preventDefault(),e.stopPropagation();const n=parseInt(e.dataTransfer.getData("text/plain"),10);if(n!==o){const e=[..._],[r]=e.splice(n,1);e.splice(o,0,r),t({platforms:e,showLabels:d,borderRadius:z,align:c,iconColor:p,iconSize:g,labelSize:w,paddingVertical:y,paddingHorizontal:O,marginVertical:j,marginHorizontal:C,hasBorder:k})}S(!1),B(null),N(null),document.querySelectorAll(".wpzoom-social-platform-item").forEach(e=>{e.classList.remove("is-dragging","drag-over")})})(e,o),onDragEnd:Y,style:{display:"flex",alignItems:"center",padding:"8px 0",borderBottom:"1px solid #e0e0e0"}},Object(i.createElement)(f.Flex,{align:"center"},Object(i.createElement)(f.FlexItem,null,Object(i.createElement)(f.Tooltip,{text:Object(b.__)("Drag to reorder","social-icons-widget-by-wpzoom")},Object(i.createElement)("span",{className:"drag-handle",style:{cursor:"grab",marginRight:"8px",color:"#777"}},Object(i.createElement)(f.Icon,{icon:J})))),Object(i.createElement)(f.FlexBlock,null,Object(i.createElement)(f.CheckboxControl,{label:e.name,checked:e.enabled,onChange:o=>((e,o)=>{const n=_.map(t=>t.id===e?{...t,enabled:o}:t);t({platforms:n})})(e.id,o)})),Object(i.createElement)(f.FlexItem,null,Object(i.createElement)(f.ButtonGroup,null,Object(i.createElement)(f.Tooltip,{text:Object(b.__)("Move Up","social-icons-widget-by-wpzoom")},Object(i.createElement)(f.Button,{icon:"arrow-up-alt2",onClick:()=>X(o,o-1),disabled:0===o,isSmall:!0})),Object(i.createElement)(f.Tooltip,{text:Object(b.__)("Move Down","social-icons-widget-by-wpzoom")},Object(i.createElement)(f.Button,{icon:"arrow-down-alt2",onClick:()=>X(o,o+1),disabled:o===_.length-1,isSmall:!0}))))))),Object(i.createElement)(f.__experimentalDivider,{style:{marginTop:"12px",marginBottom:"8px"}}),Object(i.createElement)("p",{style:{margin:"0 0 8px 0",fontWeight:"500",fontSize:"11px",textTransform:"uppercase",color:"#757575"}},Object(b.__)("Pro Features","social-icons-widget-by-wpzoom")),Object(i.createElement)("div",{className:"wpzoom-social-platform-item wpzoom-pro-item",style:{display:"flex",alignItems:"center",padding:"8px 0",borderBottom:"1px solid #e0e0e0",opacity:"0.6"}},Object(i.createElement)(f.Flex,{align:"center"},Object(i.createElement)(f.FlexItem,null,Object(i.createElement)("span",{style:{marginRight:"8px",color:"#ccc",display:"flex",alignItems:"center"}},Object(i.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"#E91E63"},Object(i.createElement)("path",{d:"M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"})))),Object(i.createElement)(f.FlexBlock,null,Object(i.createElement)("span",{style:{display:"flex",alignItems:"center",gap:"6px"}},Object(i.createElement)("input",{type:"checkbox",disabled:!0,style:{margin:0}}),Object(i.createElement)("span",null,Object(b.__)("Like Button","social-icons-widget-by-wpzoom")),Object(i.createElement)("span",{style:{background:"#2271b1",color:"#fff",fontSize:"9px",padding:"1px 4px",borderRadius:"3px",textTransform:"uppercase",fontWeight:"600"}},"Pro"))))),Object(i.createElement)("div",{className:"wpzoom-social-platform-item wpzoom-pro-item",style:{display:"flex",alignItems:"center",padding:"8px 0",borderBottom:"1px solid #e0e0e0",opacity:"0.6"}},Object(i.createElement)(f.Flex,{align:"center"},Object(i.createElement)(f.FlexItem,null,Object(i.createElement)("span",{style:{marginRight:"8px",color:"#ccc",display:"flex",alignItems:"center"}},Object(i.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"#000"},Object(i.createElement)("path",{d:"M22.282 9.821a5.985 5.985 0 0 0-.516-4.91 6.046 6.046 0 0 0-6.51-2.9A6.065 6.065 0 0 0 4.981 4.18a5.985 5.985 0 0 0-3.998 2.9 6.046 6.046 0 0 0 .743 7.097 5.98 5.98 0 0 0 .51 4.911 6.051 6.051 0 0 0 6.515 2.9A5.985 5.985 0 0 0 13.26 24a6.056 6.056 0 0 0 5.772-4.206 5.99 5.99 0 0 0 3.997-2.9 6.056 6.056 0 0 0-.747-7.073zM13.26 22.43a4.476 4.476 0 0 1-2.876-1.04l.141-.081 4.779-2.758a.795.795 0 0 0 .392-.681v-6.737l2.02 1.168a.071.071 0 0 1 .038.052v5.583a4.504 4.504 0 0 1-4.494 4.494zM3.6 18.304a4.47 4.47 0 0 1-.535-3.014l.142.085 4.783 2.759a.771.771 0 0 0 .78 0l5.843-3.369v2.332a.08.08 0 0 1-.033.062L9.74 19.95a4.5 4.5 0 0 1-6.14-1.646zM2.34 7.896a4.485 4.485 0 0 1 2.366-1.973V11.6a.766.766 0 0 0 .388.676l5.815 3.355-2.02 1.168a.076.076 0 0 1-.071 0l-4.83-2.786A4.504 4.504 0 0 1 2.34 7.872zm16.597 3.855l-5.833-3.387L15.119 7.2a.076.076 0 0 1 .071 0l4.83 2.791a4.494 4.494 0 0 1-.676 8.105v-5.678a.79.79 0 0 0-.407-.667zm2.01-3.023l-.141-.085-4.774-2.782a.776.776 0 0 0-.785 0L9.409 9.23V6.897a.066.066 0 0 1 .028-.061l4.83-2.787a4.5 4.5 0 0 1 6.68 4.66zm-12.64 4.135l-2.02-1.164a.08.08 0 0 1-.038-.057V6.075a4.5 4.5 0 0 1 7.375-3.453l-.142.08L8.704 5.46a.795.795 0 0 0-.393.681zm1.097-2.365l2.602-1.5 2.607 1.5v2.999l-2.597 1.5-2.607-1.5z"})))),Object(i.createElement)(f.FlexBlock,null,Object(i.createElement)("span",{style:{display:"flex",alignItems:"center",gap:"6px"}},Object(i.createElement)("input",{type:"checkbox",disabled:!0,style:{margin:0}}),Object(i.createElement)("span",null,Object(b.__)("ChatGPT","social-icons-widget-by-wpzoom")),Object(i.createElement)("span",{style:{background:"#2271b1",color:"#fff",fontSize:"9px",padding:"1px 4px",borderRadius:"3px",textTransform:"uppercase",fontWeight:"600"}},"Pro"))))),Object(i.createElement)("div",{className:"wpzoom-social-platform-item wpzoom-pro-item",style:{display:"flex",alignItems:"center",padding:"8px 0",borderBottom:"1px solid #e0e0e0",opacity:"0.6"}},Object(i.createElement)(f.Flex,{align:"center"},Object(i.createElement)(f.FlexItem,null,Object(i.createElement)("span",{style:{marginRight:"8px",color:"#ccc",display:"flex",alignItems:"center"}},Object(i.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"#C6613F"},Object(i.createElement)("path",{d:"m4.7144 15.9555 4.7174-2.6471.079-.2307-.079-.1275h-.2307l-.7893-.0486-2.6956-.0729-2.3375-.0971-2.2646-.1214-.5707-.1215-.5343-.7042.0546-.3522.4797-.3218.686.0608 1.5179.1032 2.2767.1578 1.6514.0972 2.4468.255h.3886l.0546-.1579-.1336-.0971-.1032-.0972L6.973 9.8356l-2.55-1.6879-1.3356-.9714-.7225-.4918-.3643-.4614-.1578-1.0078.6557-.7225.8803.0607.2246.0607.8925.686 1.9064 1.4754 2.4893 1.8336.3643.3035.1457-.1032.0182-.0728-.164-.2733-1.3539-2.4467-1.445-2.4893-.6435-1.032-.17-.6194c-.0607-.255-.1032-.4674-.1032-.7285L6.287.1335 6.6997 0l.9957.1336.419.3642.6192 1.4147 1.0018 2.2282 1.5543 3.0296.4553.8985.2429.8318.091.255h.1579v-.1457l.1275-1.706.2368-2.0947.2307-2.6957.0789-.7589.3764-.9107.7468-.4918.5828.2793.4797.686-.0668.4433-.2853 1.8517-.5586 2.9021-.3643 1.9429h.2125l.2429-.2429.9835-1.3053 1.6514-2.0643.7286-.8196.85-.9046.5464-.4311h1.0321l.759 1.1293-.34 1.1657-1.0625 1.3478-.8804 1.1414-1.2628 1.7-.7893 1.36.0729.1093.1882-.0183 2.8535-.607 1.5421-.2794 1.8396-.3157.8318.3886.091.3946-.3278.8075-1.967.4857-2.3072.4614-3.4364.8136-.0425.0304.0486.0607 1.5482.1457.6618.0364h1.621l3.0175.2247.7892.522.4736.6376-.079.4857-1.2142.6193-1.6393-.3886-3.825-.9107-1.3113-.3279h-.1822v.1093l1.0929 1.0686 2.0035 1.8092 2.5075 2.3314.1275.5768-.3218.4554-.34-.0486-2.2039-1.6575-.85-.7468-1.9246-1.621h-.1275v.17l.4432.6496 2.3436 3.5214.1214 1.0807-.17.3521-.6071.2125-.6679-.1214-1.3721-1.9246L14.38 17.959l-1.1414-1.9428-.1397.079-.674 7.2552-.3156.3703-.7286.2793-.6071-.4614-.3218-.7468.3218-1.4753.3886-1.9246.3157-1.53.2853-1.9004.17-.6314-.0121-.0425-.1397.0182-1.4328 1.9672-2.1796 2.9446-1.7243 1.8456-.4128.164-.7164-.3704.0667-.6618.4008-.5889 2.386-3.0357 1.4389-1.882.929-1.0868-.0062-.1579h-.0546l-6.3385 4.1164-1.1293.1457-.4857-.4554.0608-.7467.2307-.2429 1.9064-1.3114Z"})))),Object(i.createElement)(f.FlexBlock,null,Object(i.createElement)("span",{style:{display:"flex",alignItems:"center",gap:"6px"}},Object(i.createElement)("input",{type:"checkbox",disabled:!0,style:{margin:0}}),Object(i.createElement)("span",null,Object(b.__)("Claude","social-icons-widget-by-wpzoom")),Object(i.createElement)("span",{style:{background:"#2271b1",color:"#fff",fontSize:"9px",padding:"1px 4px",borderRadius:"3px",textTransform:"uppercase",fontWeight:"600"}},"Pro"))))),Object(i.createElement)("div",{className:"wpzoom-social-platform-item wpzoom-pro-item",style:{display:"flex",alignItems:"center",padding:"8px 0",borderBottom:"1px solid #e0e0e0",opacity:"0.6"}},Object(i.createElement)(f.Flex,{align:"center"},Object(i.createElement)(f.FlexItem,null,Object(i.createElement)("span",{style:{marginRight:"8px",color:"#ccc",display:"flex",alignItems:"center"}},Object(i.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"#20808D"},Object(i.createElement)("path",{d:"M22.3977 7.0896h-2.3106V.0676l-7.5094 6.3542V.1577h-1.1554v6.1966L4.4904 0v7.0896H1.6023v10.3976h2.8882V24l6.932-6.3591v6.2005h1.1554v-6.0469l6.9318 6.1807v-6.4879h2.8882V7.0896zm-3.4657-4.531v4.531h-5.355l5.355-4.531zm-13.2862.0676 4.8691 4.4634H5.6458V2.6262zM2.7576 16.332V8.245h7.8476l-6.1149 6.1147v1.9723H2.7576zm2.8882 5.0404v-3.8852h.0001v-2.6488l5.7763-5.7764v7.0111l-5.7764 5.2993zm12.7086.0248-5.7766-5.1509V9.0618l5.7766 5.7766v6.5588zm2.8882-5.0652h-1.733v-1.9723L13.3948 8.245h7.8478v8.087z"})))),Object(i.createElement)(f.FlexBlock,null,Object(i.createElement)("span",{style:{display:"flex",alignItems:"center",gap:"6px"}},Object(i.createElement)("input",{type:"checkbox",disabled:!0,style:{margin:0}}),Object(i.createElement)("span",null,Object(b.__)("Perplexity","social-icons-widget-by-wpzoom")),Object(i.createElement)("span",{style:{background:"#2271b1",color:"#fff",fontSize:"9px",padding:"1px 4px",borderRadius:"3px",textTransform:"uppercase",fontWeight:"600"}},"Pro"))))),Object(i.createElement)(f.Button,{variant:"link",href:"https://www.wpzoom.com/plugins/social-share/?utm_source=wpadmin&utm_medium=plugin&utm_campaign=social-icons-free&utm_content=sharing-networks",target:"_blank",style:{marginTop:"8px",fontSize:"12px"}},Object(b.__)("Unlock all features →","social-icons-widget-by-wpzoom")))),!x&&window.wpzSocialIconsBlock&&Object(i.createElement)(f.PanelBody,{title:Object(b.__)("Auto-Display Configuration","social-icons-widget-by-wpzoom"),initialOpen:!1},Object(i.createElement)("p",{className:"components-base-control__help",style:{marginBottom:"12px"}},Object(b.__)("Want sharing buttons to appear automatically in all posts/pages?","social-icons-widget-by-wpzoom")),Object(i.createElement)("p",{className:"components-base-control__help",style:{marginBottom:"12px"}},Object(b.__)("Configure automatic sharing button display settings for your entire site.","social-icons-widget-by-wpzoom")),window.wpzSocialIconsBlock.sharingConfigUrl?Object(i.createElement)(f.Button,{variant:"secondary",href:window.wpzSocialIconsBlock.sharingConfigUrl,target:"_blank",style:{width:"100%"}},Object(b.__)("Open Sharing Buttons Settings →","social-icons-widget-by-wpzoom")):Object(i.createElement)("p",{className:"components-base-control__help"},Object(b.__)("Sharing configuration not found. Please save this block first.","social-icons-widget-by-wpzoom")),Object(i.createElement)("p",{className:"components-base-control__help",style:{marginTop:"12px",fontSize:"11px",fontStyle:"italic"}},Object(b.__)("Note: This will open the admin settings page where you can configure automatic display of sharing buttons across your site.","social-icons-widget-by-wpzoom"))),x&&Object(i.createElement)(f.PanelBody,{title:Object(b.__)("Display Settings","social-icons-widget-by-wpzoom"),initialOpen:!1},Object(i.createElement)("p",{className:"components-base-control__help",style:{marginBottom:"12px"}},Object(b.__)("You are editing the global Sharing Buttons configuration.","social-icons-widget-by-wpzoom")),Object(i.createElement)("p",{className:"components-base-control__help",style:{marginBottom:"12px"}},Object(b.__)("To control where these buttons appear automatically on your site, click on the button below.","social-icons-widget-by-wpzoom")),Object(i.createElement)(f.Button,{variant:"secondary",onClick:()=>{const e=document.querySelector('button[data-tab-id="edit-post/document"]');e&&"true"!==e.getAttribute("aria-selected")&&e.click(),setTimeout(()=>{const e=document.getElementById("wpzoom_sharing_settings");e?(e.scrollIntoView({behavior:"smooth",block:"center"}),e.style.transition="background-color 0.5s ease",e.style.backgroundColor="#fff3cd",setTimeout(()=>{e.style.backgroundColor=""},2e3)):window.scrollTo({top:document.body.scrollHeight,behavior:"smooth"})},100)},style:{width:"100%"}},Object(b.__)("Jump to Display Settings","social-icons-widget-by-wpzoom"))),Object(i.createElement)(f.PanelBody,{title:Object(b.__)("Display Options","social-icons-widget-by-wpzoom")},Object(i.createElement)(f.__experimentalToggleGroupControl,{label:Object(b.__)("Alignment","social-icons-widget-by-wpzoom"),value:c,onChange:e=>t({align:e}),isBlock:!0},Object(i.createElement)(f.__experimentalToggleGroupControlOption,{value:"left",label:Object(b.__)("Left","social-icons-widget-by-wpzoom")}),Object(i.createElement)(f.__experimentalToggleGroupControlOption,{value:"center",label:Object(b.__)("Center","social-icons-widget-by-wpzoom")}),Object(i.createElement)(f.__experimentalToggleGroupControlOption,{value:"right",label:Object(b.__)("Right","social-icons-widget-by-wpzoom")})),Object(i.createElement)(f.__experimentalSpacer,{margin:4}),Object(i.createElement)(f.ToggleControl,{label:Object(b.__)("Show Labels","social-icons-widget-by-wpzoom"),checked:d,onChange:()=>t({showLabels:!d})}),_.some(e=>"x"===e.id&&e.enabled)&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)(f.__experimentalDivider,null),Object(i.createElement)(f.TextControl,{label:Object(b.__)("X/Twitter Username","social-icons-widget-by-wpzoom"),help:Object(b.__)('When sharing to X, this will be added as "via @username"',"social-icons-widget-by-wpzoom"),value:e.xUsername||"",onChange:e=>t({xUsername:e}),placeholder:"username"})))),Object(i.createElement)(v.InspectorControls,{group:"styles"},Object(i.createElement)(f.PanelBody,{title:Object(b.__)("Size & Spacing","social-icons-widget-by-wpzoom")},Object(i.createElement)(f.RangeControl,{label:Object(b.__)("Icon Size","social-icons-widget-by-wpzoom"),value:g,onChange:e=>t({iconSize:e}),min:10,max:60,allowReset:!0,resetFallbackValue:20,withInputField:!0}),d&&Object(i.createElement)(f.RangeControl,{label:Object(b.__)("Label Size","social-icons-widget-by-wpzoom"),value:w,onChange:e=>t({labelSize:e}),min:10,max:40,allowReset:!0,resetFallbackValue:20,withInputField:!0}),Object(i.createElement)(f.__experimentalDivider,null),Object(i.createElement)(f.RangeControl,{label:Object(b.__)("Vertical Padding","social-icons-widget-by-wpzoom"),value:y,onChange:e=>t({paddingVertical:e}),min:0,max:30,allowReset:!0,resetFallbackValue:10,withInputField:!0}),Object(i.createElement)(f.RangeControl,{label:Object(b.__)("Horizontal Padding","social-icons-widget-by-wpzoom"),value:O,onChange:e=>t({paddingHorizontal:e}),min:0,max:30,allowReset:!0,resetFallbackValue:10,withInputField:!0}),Object(i.createElement)(f.__experimentalDivider,null),Object(i.createElement)(f.RangeControl,{label:Object(b.__)("Vertical Margin","social-icons-widget-by-wpzoom"),value:j,onChange:e=>t({marginVertical:e}),min:0,max:30,allowReset:!0,resetFallbackValue:5,withInputField:!0}),Object(i.createElement)(f.RangeControl,{label:Object(b.__)("Horizontal Margin","social-icons-widget-by-wpzoom"),value:C,onChange:e=>t({marginHorizontal:e}),min:0,max:30,allowReset:!0,resetFallbackValue:5,withInputField:!0})),Object(i.createElement)(f.PanelBody,{title:Object(b.__)("Shape","social-icons-widget-by-wpzoom")},Object(i.createElement)(f.RangeControl,{label:Object(b.__)("Border Radius","social-icons-widget-by-wpzoom"),value:z,onChange:e=>t({borderRadius:e}),min:0,max:50,allowReset:!0,resetFallbackValue:50,withInputField:!0,disabled:K||q||W||Z,help:K||q?Object(b.__)("Border radius is set to 0 for square styles.","social-icons-widget-by-wpzoom"):W?Object(b.__)("Border radius is set to 50 for pill styles.","social-icons-widget-by-wpzoom"):Z?Object(b.__)("Border radius is not applicable for minimal style.","social-icons-widget-by-wpzoom"):""}),Object(i.createElement)(f.ToggleControl,{label:Object(b.__)("Add Border","social-icons-widget-by-wpzoom"),checked:k,onChange:()=>t({hasBorder:!k}),disabled:W||q||Z,help:W||q?Object(b.__)("Border is always enabled for outlined styles.","social-icons-widget-by-wpzoom"):Z?Object(b.__)("Border is not applicable for minimal style.","social-icons-widget-by-wpzoom"):""}),(k||W||q)&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)(f.RangeControl,{label:Object(b.__)("Border Width","social-icons-widget-by-wpzoom"),value:e.borderWidth||1,onChange:e=>t({borderWidth:e}),min:1,max:5,allowReset:!0,resetFallbackValue:1,withInputField:!0}),Object(i.createElement)("div",{className:"wpzoom-border-color-setting"},Object(i.createElement)(v.__experimentalPanelColorGradientSettings,{title:Object(b.__)("Border Color","social-icons-widget-by-wpzoom"),initialOpen:!1,settings:[{colorValue:W||q?p:e.borderColor||"#000000",onColorChange:e=>{t(W||q?{iconColor:e}:{borderColor:e})},label:W||q?Object(b.__)("Border & Icon Color","social-icons-widget-by-wpzoom"):Object(b.__)("Border Color","social-icons-widget-by-wpzoom"),help:W||q?Object(b.__)("For outlined styles, border color matches icon color","social-icons-widget-by-wpzoom"):""}]})))),Object(i.createElement)(v.__experimentalPanelColorGradientSettings,{title:Object(b.__)("Color Settings","social-icons-widget-by-wpzoom"),initialOpen:!0,settings:[{colorValue:I,onColorChange:e=>t({oneToneColor:e}),label:Object(b.__)("One Tone Background Color","social-icons-widget-by-wpzoom"),disabled:!D,help:D?Object(b.__)("Changes the background color of all icons.","social-icons-widget-by-wpzoom"):Object(b.__)("This option is only available with the One Tone style.","social-icons-widget-by-wpzoom")},{colorValue:p,onColorChange:e=>t({iconColor:e}),label:Object(b.__)("Icon Color","social-icons-widget-by-wpzoom"),help:W||q||Z?Object(b.__)("This color will be applied to icons for outlined and minimal styles","social-icons-widget-by-wpzoom"):""},{colorValue:u,onColorChange:e=>t({iconHoverColor:e}),label:Object(b.__)("Icon Hover Color","social-icons-widget-by-wpzoom")},...d?[{colorValue:m,onColorChange:e=>t({labelColor:e}),label:Object(b.__)("Label Color","social-icons-widget-by-wpzoom"),help:W||q||Z?Object(b.__)("This color will be applied to labels for outlined and minimal styles","social-icons-widget-by-wpzoom"):""},{colorValue:h,onColorChange:e=>t({labelHoverColor:e}),label:Object(b.__)("Label Hover Color","social-icons-widget-by-wpzoom")}]:[]]})))}var G=({id:e,size:t,color:o})=>{const n=(t||24)/24,r=24*n,a=24*n,s={width:r,height:a,fill:o};switch(e){case"facebook":return Object(i.createElement)(f.SVG,{width:r,height:a,viewBox:"0 0 24 24",style:s},Object(i.createElement)(f.Path,{d:"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"}));case"x":return Object(i.createElement)(f.SVG,{width:r,height:a,viewBox:"0 0 24 24",style:s},Object(i.createElement)(f.Path,{d:"M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z"}));case"threads":return Object(i.createElement)(f.SVG,{width:r,height:a,viewBox:"0 0 24 24",style:s},Object(i.createElement)("path",{d:"M12.186 24h-.007c-3.581-.024-6.334-1.205-8.184-3.509C2.35 18.44 1.5 15.586 1.472 12.01v-.017c.03-3.579.879-6.43 2.525-8.482C5.845 1.205 8.6.024 12.18 0h.014c2.746.02 5.043.725 6.826 2.098 1.677 1.29 2.858 3.13 3.509 5.467l-2.04.569c-1.104-3.96-3.898-5.984-8.304-6.015-2.91.022-5.11.936-6.54 2.717C4.307 6.504 3.616 8.914 3.589 12c.027 3.086.718 5.496 2.057 7.164 1.43 1.783 3.631 2.698 6.54 2.717 2.623-.02 4.358-.631 5.8-2.045 1.647-1.613 1.618-3.593 1.09-4.798-.31-.71-.873-1.3-1.634-1.75-.192 1.352-.622 2.446-1.284 3.272-.886 1.102-2.14 1.704-3.73 1.79-1.202.065-2.361-.218-3.259-.801-1.063-.689-1.685-1.74-1.752-2.964-.065-1.19.408-2.285 1.33-3.082.88-.76 2.119-1.207 3.583-1.291a13.853 13.853 0 0 1 3.02.142c-.126-.742-.375-1.332-.75-1.757-.513-.586-1.308-.883-2.359-.89h-.029c-.844 0-1.992.232-2.721 1.32L7.734 7.847c.98-1.454 2.568-2.256 4.478-2.256h.044c3.194.02 5.097 1.975 5.287 5.388.108.046.216.094.321.142 1.49.7 2.58 1.761 3.154 3.07.797 1.82.871 4.79-1.548 7.158-1.85 1.81-4.094 2.628-7.277 2.65Zm1.003-11.69c-.242 0-.487.007-.739.021-1.836.103-2.98.946-2.916 2.143.067 1.256 1.452 1.839 2.784 1.767 1.224-.065 2.818-.543 3.086-3.71a10.5 10.5 0 0 0-2.215-.221z"}));case"linkedin":return Object(i.createElement)(f.SVG,{width:r,height:a,viewBox:"0 0 24 24",style:s},Object(i.createElement)(f.Path,{d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"}));case"pinterest":return Object(i.createElement)(f.SVG,{width:r,height:a,viewBox:"0 0 24 24",style:s},Object(i.createElement)(f.Path,{d:"M12.017 0C5.396 0 .029 5.367.029 11.987c0 5.079 3.158 9.417 7.618 11.162-.105-.949-.199-2.403.041-3.439.219-.937 1.406-5.957 1.406-5.957s-.359-.72-.359-1.781c0-1.663.967-2.911 2.168-2.911 1.024 0 1.518.769 1.518 1.688 0 1.029-.653 2.567-.992 3.992-.285 1.193.6 2.165 1.775 2.165 2.128 0 3.768-2.245 3.768-5.487 0-2.861-2.063-4.869-5.008-4.869-3.41 0-5.409 2.562-5.409 5.199 0 1.033.394 2.143.889 2.741.099.12.112.225.085.345-.09.375-.293 1.199-.334 1.363-.053.225-.172.271-.401.165-1.495-.69-2.433-2.878-2.433-4.646 0-3.776 2.748-7.252 7.92-7.252 4.158 0 7.392 2.967 7.392 6.923 0 4.135-2.607 7.462-6.233 7.462-1.214 0-2.354-.629-2.758-1.379l-.749 2.848c-.269 1.045-1.004 2.352-1.498 3.146 1.123.345 2.306.535 3.55.535 6.607 0 11.985-5.365 11.985-11.987C23.97 5.39 18.592.026 11.985.026L12.017 0z"}));case"reddit":return Object(i.createElement)(f.SVG,{width:r,height:a,viewBox:"0 0 24 24",style:s},Object(i.createElement)("path",{d:"M22 12.068a2.184 2.184 0 0 0-2.186-2.186c-.592 0-1.13.233-1.524.609-1.505-1.075-3.566-1.774-5.86-1.864l1.004-4.695 3.261.699A1.56 1.56 0 1 0 18.255 3c-.61-.001-1.147.357-1.398.877l-3.638-.77a.382.382 0 0 0-.287.053.348.348 0 0 0-.161.251l-1.112 5.233c-2.33.072-4.426.77-5.95 1.864a2.201 2.201 0 0 0-1.523-.61 2.184 2.184 0 0 0-.896 4.176c-.036.215-.053.43-.053.663 0 3.37 3.924 6.111 8.763 6.111s8.763-2.724 8.763-6.11c0-.216-.017-.449-.053-.664A2.207 2.207 0 0 0 22 12.068Zm-15.018 1.56a1.56 1.56 0 0 1 3.118 0c0 .86-.699 1.558-1.559 1.558-.86.018-1.559-.699-1.559-1.559Zm8.728 4.139c-1.076 1.075-3.119 1.147-3.71 1.147-.61 0-2.652-.09-3.71-1.147a.4.4 0 0 1 0-.573.4.4 0 0 1 .574 0c.68.68 2.114.914 3.136.914 1.022 0 2.473-.233 3.136-.914a.4.4 0 0 1 .574 0 .436.436 0 0 1 0 .573Zm-.287-2.563a1.56 1.56 0 0 1 0-3.118c.86 0 1.56.699 1.56 1.56 0 .841-.7 1.558-1.56 1.558Z"}));case"telegram":return Object(i.createElement)(f.SVG,{width:r,height:a,viewBox:"0 0 24 24",style:s},Object(i.createElement)("path",{d:"M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z"}));case"whatsapp":return Object(i.createElement)(f.SVG,{width:r,height:a,viewBox:"0 0 24 24",style:s},Object(i.createElement)(f.Path,{d:"M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z"}));case"bluesky":return Object(i.createElement)(f.SVG,{width:r,height:a,viewBox:"0 0 24 24",style:s},Object(i.createElement)("path",{d:"M12 10.8c-1.087-2.114-4.046-6.053-6.798-7.995C2.566.944 1.561 1.266.902 1.565.139 1.908 0 3.08 0 3.768c0 .69.378 5.65.624 6.479.815 2.736 3.713 3.66 6.383 3.364.136-.02.275-.039.415-.056-.138.022-.276.04-.415.056-3.912.58-7.387 2.005-2.83 7.078 5.013 5.19 6.87-1.113 7.823-4.308.953 3.195 2.05 9.271 7.733 4.308 4.267-4.308 1.172-6.498-2.74-7.078a8.741 8.741 0 0 1-.415-.056c.14.017.279.036.415.056 2.67.297 5.568-.628 6.383-3.364.246-.828.624-5.79.624-6.478 0-.69-.139-1.861-.902-2.206-.659-.298-1.664-.62-4.3 1.24C16.046 4.748 13.087 8.687 12 10.8Z"}));case"email":return Object(i.createElement)(f.SVG,{width:r,height:a,viewBox:"0 0 24 24",style:s},Object(i.createElement)(f.Path,{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-.4 4.25l-7.07 4.42c-.32.2-.74.2-1.06 0L4.4 8.25c-.25-.16-.4-.43-.4-.72 0-.67.73-1.07 1.3-.72L12 11l6.7-4.19c.57-.35 1.3.05 1.3.72 0 .29-.15.56-.4.72z"}));case"copy-link":return Object(i.createElement)(f.SVG,{width:r,height:a,viewBox:"0 0 24 24",style:s},Object(i.createElement)(f.Path,{d:"M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"}));case"print":return Object(i.createElement)(f.SVG,{width:r,height:a,viewBox:"0 0 24 24",style:s},Object(i.createElement)(f.Path,{d:"M19 8H5c-1.66 0-3 1.34-3 3v6h4v4h12v-4h4v-6c0-1.66-1.34-3-3-3zm-3 11H8v-5h8v5zm3-7c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm-1-9H6v4h12V3z"}));default:return Object(i.createElement)(f.SVG,{width:r,height:a,viewBox:"0 0 24 24",style:s},Object(i.createElement)(f.Path,{d:"M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65 0 1.61 1.31 2.92 2.92 2.92 1.61 0 2.92-1.31 2.92-2.92s-1.31-2.92-2.92-2.92z"}))}};Object(M.registerBlockType)("wpzoom-blocks/social-sharing",{title:Object(b.__)("Social Sharing Buttons","social-icons-widget-by-wpzoom"),description:Object(b.__)("Add social sharing buttons to allow visitors to share your content.","social-icons-widget-by-wpzoom"),icon:{foreground:"#274474",src:X},category:"wpzoom-blocks",keywords:[Object(b.__)("Social Sharing","social-icons-widget-by-wpzoom"),Object(b.__)("Share","social-icons-widget-by-wpzoom"),Object(b.__)("Buttons","social-icons-widget-by-wpzoom"),Object(b.__)("Social Media","social-icons-widget-by-wpzoom")],attributes:{align:{type:"string",default:"none"},showLabels:{type:"boolean",default:!0},iconColor:{type:"string",default:"#ffffff"},iconHoverColor:{type:"string",default:"#ffffff"},labelColor:{type:"string",default:"inherit"},labelHoverColor:{type:"string",default:"#ffffff"},iconSize:{type:"number",default:20},labelSize:{type:"number",default:16},paddingVertical:{type:"number",default:5},paddingHorizontal:{type:"number",default:15},marginVertical:{type:"number",default:5},marginHorizontal:{type:"number",default:5},borderRadius:{type:"number",default:50},backgroundStyle:{type:"string",default:"brand"},hasBorder:{type:"boolean",default:!1},borderWidth:{type:"number",default:1},borderColor:{type:"string",default:""},oneToneColor:{type:"string",default:"#000000"},xUsername:{type:"string",default:""},platforms:{type:"array",default:[{id:"facebook",name:"Facebook",enabled:!0,color:"#0866FF"},{id:"x",name:"X",enabled:!0,color:"#000000"},{id:"threads",name:"Threads",enabled:!0,color:"#000000"},{id:"linkedin",name:"LinkedIn",enabled:!0,color:"#0966c2"},{id:"pinterest",name:"Pinterest",enabled:!1,color:"#E60023"},{id:"reddit",name:"Reddit",enabled:!0,color:"#FF4500"},{id:"telegram",name:"Telegram",enabled:!1,color:"#0088cc"},{id:"whatsapp",name:"WhatsApp",enabled:!0,color:"#25D366"},{id:"bluesky",name:"Bluesky",enabled:!1,color:"#1DA1F2"},{id:"email",name:"Email",enabled:!0,color:"#333333"},{id:"copy-link",name:"Copy Link",enabled:!0,color:"#333333"},{id:"print",name:"Print",enabled:!1,color:"#333333"}]}},styles:[{name:"default",label:Object(b.__)("Default (Circle)","social-icons-widget-by-wpzoom"),isDefault:!0},{name:"filled",label:Object(b.__)("Square / Filled","social-icons-widget-by-wpzoom")},{name:"rounded",label:Object(b.__)("Rounded / Filled","social-icons-widget-by-wpzoom")},{name:"outlined-pill",label:Object(b.__)("Outlined / Pill","social-icons-widget-by-wpzoom")},{name:"outlined-square",label:Object(b.__)("Outlined / Square","social-icons-widget-by-wpzoom")},{name:"minimal",label:Object(b.__)("Minimal","social-icons-widget-by-wpzoom")},{name:"one-tone",label:Object(b.__)("One Tone","social-icons-widget-by-wpzoom")}],supports:{align:!0,html:!1,spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0}},edit:function({attributes:e,setAttributes:t,className:o,isSelected:n}){var a,s,l,c,d;const{align:p,showLabels:u,iconColor:m,iconHoverColor:g,labelColor:w,labelHoverColor:y,iconSize:O,labelSize:j,paddingVertical:C,paddingHorizontal:z,marginVertical:E,marginHorizontal:k,borderRadius:_,backgroundStyle:I,hasBorder:x,platforms:A,oneToneColor:S}=e,[P,B]=Object(i.useState)(null),[F,N]=Object(i.useState)(""),H=Object(v.useBlockProps)({className:h()(o,{["align-"+p]:p,"wpzoom-social-sharing-block":!0})}),R=(null==o?void 0:o.includes("is-style-one-tone"))||(null===(a=H.className)||void 0===a?void 0:a.includes("is-style-one-tone")),L=null===(s=H.className)||void 0===s?void 0:s.includes("is-style-outlined-pill"),Q=null===(l=H.className)||void 0===l?void 0:l.includes("is-style-outlined-square"),V=null===(c=H.className)||void 0===c?void 0:c.includes("is-style-minimal"),M=null===(d=H.className)||void 0===d?void 0:d.includes("is-style-filled");Object(i.useEffect)(()=>{!R||S&&void 0!==S||t({oneToneColor:"#000000"})},[R,S]),Object(i.useEffect)(()=>{if(!A.some(e=>"print"===e.id)){const e=[...A,{id:"print",name:"Print",enabled:!1,color:"#333333"}];t({platforms:e})}},[]);const T={textAlign:p},U=A.filter(e=>e.enabled);return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(Y,{attributes:e,setAttributes:t}),Object(i.createElement)("div",r()({},H,{style:T}),U.length>0?Object(i.createElement)("ul",{className:"social-sharing-icons"},U.map((o,r)=>{const a=M?0:_,s=m,l=w;let c=o.color||"#333333";R?c=S||"#000000":(L||Q||V)&&(c="transparent");let d="none";const p=e.borderWidth||1;L||Q?d=`${p}px solid ${s}`:x&&(d=`${p}px solid ${e.borderColor||s}`);const h={padding:`${C}px ${z}px`,margin:`${E}px ${k}px`,borderRadius:a+"px",fontSize:O+"px",color:s,backgroundColor:c,border:d};return V&&(h.padding="5px"),Object(i.createElement)("li",{key:o.id,className:"social-sharing-icon-li"},Object(i.createElement)("a",{className:"social-sharing-icon social-sharing-icon-"+o.id,style:h,href:"#",title:o.name,onClick:e=>{e.preventDefault(),n&&(B(o.id),N(o.name))}},Object(i.createElement)(G,{id:o.id,size:O,color:s}),u&&Object(i.createElement)("span",{className:"social-sharing-icon-label",style:{fontSize:j+"px",color:l}},o.name)),n&&P===o.id&&Object(i.createElement)(f.Popover,{className:"wpzoom-social-sharing-edit-label-popover",position:"bottom center",onClose:()=>B(null)},Object(i.createElement)("div",{style:{padding:"16px",minWidth:"240px"}},Object(i.createElement)("h3",{style:{margin:"0 0 8px 0"}},Object(b.__)("Edit Label","social-icons-widget-by-wpzoom")),Object(i.createElement)(f.TextControl,{label:Object(b.__)("Label Text","social-icons-widget-by-wpzoom"),value:F,onChange:N}),Object(i.createElement)("div",{style:{display:"flex",justifyContent:"space-between",marginTop:"12px"}},Object(i.createElement)(f.Button,{isSecondary:!0,onClick:()=>B(null)},Object(b.__)("Cancel","social-icons-widget-by-wpzoom")),Object(i.createElement)(f.Button,{isPrimary:!0,onClick:()=>((e,o)=>{const n=A.map(t=>t.id===e?{...t,name:o}:t);t({platforms:n}),B(null)})(o.id,F)},Object(b.__)("Save","social-icons-widget-by-wpzoom"))))))})):Object(i.createElement)("p",{className:"no-sharing-platforms-selected"},Object(b.__)("Select sharing networks in the block sidebar.","social-icons-widget-by-wpzoom")),n&&U.length>0&&Object(i.createElement)("div",{className:"wpzoom-click-to-edit-hint",style:{textAlign:"center",fontSize:"13px",color:"#757575",marginTop:"8px"}},Object(b.__)("Click on any icon to edit its label","social-icons-widget-by-wpzoom"))))},save:function({attributes:e}){const{align:t,showLabels:o,iconColor:n,iconHoverColor:a,labelColor:s,labelHoverColor:l,iconSize:c,labelSize:d,paddingVertical:p,paddingHorizontal:u,marginVertical:m,marginHorizontal:b,borderRadius:g,backgroundStyle:f,hasBorder:w,platforms:y,xUsername:O}=e,j=v.useBlockProps.save({className:h()({["align-"+t]:t,"wpzoom-social-sharing-block":!0})}),C={textAlign:t},z=y.filter(e=>e.enabled);return Object(i.createElement)("div",r()({},j,{style:C}),Object(i.createElement)("ul",{className:"social-sharing-icons"},z.map(e=>{const t=((e,t="")=>{switch(e){case"facebook":return{color:"#0866FF",hoverColor:"#0866FF",shareUrl:"https://www.facebook.com/sharer/sharer.php?u={url}&t={title}"};case"x":let e="https://x.com/intent/tweet?url={url}&text={title}";return t&&""!==t.trim()&&(e+="&via="+t.trim().replace(/^@/,"")),{color:"#000000",hoverColor:"#000000",shareUrl:e};case"linkedin":return{color:"#0966c2",hoverColor:"#0966c2",shareUrl:"https://www.linkedin.com/sharing/share-offsite/?url={url}"};case"pinterest":return{color:"#E60023",hoverColor:"#E60023",shareUrl:"https://pinterest.com/pin/create/button/?url={url}&media={featured_image}&description={title}"};case"reddit":return{color:"#FF4500",hoverColor:"#FF4500",shareUrl:"https://www.reddit.com/submit?url={url}&title={title}"};case"telegram":return{color:"#0088cc",hoverColor:"#0088cc",shareUrl:"https://t.me/share/url?url={url}&text={title}"};case"whatsapp":return{color:"#25D366",hoverColor:"#25D366",shareUrl:"https://api.whatsapp.com/send?text={title}%20{url}"};case"bluesky":return{color:"#1DA1F2",hoverColor:"#1DA1F2",shareUrl:"https://bsky.app/intent?text={title}%20{url}"};case"email":return{color:"#333333",hoverColor:"#333333",shareUrl:"mailto:?subject={title}&body={url}"};case"copy-link":return{color:"#333333",hoverColor:"#333333",shareUrl:"#copy-link"};case"print":return{color:"#333333",hoverColor:"#333333",shareUrl:"#print"};default:return{color:"#333333",hoverColor:"#333333",shareUrl:"#"}}})(e.id,O),r={padding:`${p}px ${u}px`,margin:`${m}px ${b}px`,borderRadius:g+"px",fontSize:c+"px",color:n,backgroundColor:t.color,border:w?"1px solid":"none"},a="copy-link"===e.id?"#copy-link":t.shareUrl;return Object(i.createElement)("li",{key:e.id,className:"social-sharing-icon-li"},Object(i.createElement)("a",{className:"social-sharing-icon social-sharing-icon-"+e.id,style:r,href:a,title:e.name,target:"_blank",rel:"noopener noreferrer","data-platform":e.id},Object(i.createElement)(G,{id:e.id,size:c,color:n||"#ffffff"}),o&&Object(i.createElement)("span",{className:"social-sharing-icon-label",style:{fontSize:d+"px",color:s}},e.name)))})))}});var $=Object(i.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 64 1024 1024"},Object(i.createElement)(s.Path,{fill:"#08618a",transform:"scale(1,-1) translate(0,-1024)",d:"M581.456 542.931h-31.41v-102.1c6.669-0.4 12.537-0.867 31.877-0.867 35.745 0 57.085 21.207 57.085 54.018 0 29.009-23.541 48.949-57.552 48.949zM512.033 956.666c-280.958 0-508.699-227.741-508.699-508.699s227.741-508.699 508.699-508.699 508.699 227.741 508.699 508.699-227.807 508.699-508.699 508.699zM450.013 542.931h-32.010l-74.358-240.078h-26.475l-73.957 170.189-74.358-170.189h-26.475l-75.625 240.078h-30.21v40.013h120.039v-40.013h-38.146l44.948-146.448 68.489 159.785h25.208l68.489-159.785 42.014 146.448h-37.612v40.013h120.039v-40.013zM577.721 398.417c-13.004 0-21.007 0-27.676 0.4v-49.283h33.344v-40.013h-113.37v40.013h33.344v193.396h-33.344v40.013h113.97c59.219 0 104.234-33.878 104.234-90.163-0.067-63.487-45.415-94.364-110.503-94.364zM925.101 309.522h-213.003l-4.201 25.342 202.066 208.068h-105.901l-10.537-46.682h-43.281l20.14 86.695h206.734l4.201-25.342-202.066-208.068h112.17l10.537 46.682h43.281l-20.14-86.695z"}));Object(M.updateCategory)("wpzoom-blocks",{icon:$})}]); -
social-icons-widget-by-wpzoom/tags/4.5.6/block/src/social-sharing-block/components/Inspector.js
r3447901 r3452646 431 431 <Button 432 432 variant="primary" 433 href="https://www.wpzoom.com/plugins/social- widget/?utm_source=wpadmin&utm_medium=plugin&utm_campaign=social-icons-free&utm_content=block-inspector"433 href="https://www.wpzoom.com/plugins/social-share/?utm_source=wpadmin&utm_medium=plugin&utm_campaign=social-icons-free&utm_content=block-inspector" 434 434 target="_blank" 435 435 style={{ width: '100%', justifyContent: 'center' }} … … 703 703 <Button 704 704 variant="link" 705 href="https://www.wpzoom.com/plugins/social- widget/?utm_source=wpadmin&utm_medium=plugin&utm_campaign=social-icons-free&utm_content=sharing-networks"705 href="https://www.wpzoom.com/plugins/social-share/?utm_source=wpadmin&utm_medium=plugin&utm_campaign=social-icons-free&utm_content=sharing-networks" 706 706 target="_blank" 707 707 style={{ marginTop: '8px', fontSize: '12px' }} -
social-icons-widget-by-wpzoom/tags/4.5.6/includes/classes/class-wpzoom-share-analytics-upsell.php
r3447901 r3452646 102 102 */ 103 103 public function render_page() { 104 $upgrade_url = 'https://www.wpzoom.com/plugins/social- widget/?utm_source=wpadmin&utm_medium=plugin&utm_campaign=social-icons-free&utm_content=analytics-page';104 $upgrade_url = 'https://www.wpzoom.com/plugins/social-share/?utm_source=wpadmin&utm_medium=plugin&utm_campaign=social-icons-free&utm_content=analytics-page'; 105 105 ?> 106 106 <div class="wrap wpzoom-analytics-upsell-wrap"> -
social-icons-widget-by-wpzoom/tags/4.5.6/includes/classes/class-wpzoom-sharing-buttons-notice.php
r3447901 r3452646 139 139 /* translators: %s: upgrade link */ 140 140 esc_html__( 'Want more? %s adds AI Share Buttons, Like Button, Share Counts & Analytics.', 'social-icons-widget-by-wpzoom' ), 141 '<a href="https://www.wpzoom.com/plugins/social- widget/?utm_source=wpadmin&utm_medium=plugin&utm_campaign=social-icons-free&utm_content=sharing-notice" target="_blank"><strong>' . esc_html__( 'PRO', 'social-icons-widget-by-wpzoom' ) . '</strong></a>'141 '<a href="https://www.wpzoom.com/plugins/social-share/?utm_source=wpadmin&utm_medium=plugin&utm_campaign=social-icons-free&utm_content=sharing-notice" target="_blank"><strong>' . esc_html__( 'PRO', 'social-icons-widget-by-wpzoom' ) . '</strong></a>' 142 142 ); 143 143 ?> … … 147 147 <?php esc_html_e( 'Configure Sharing Buttons', 'social-icons-widget-by-wpzoom' ); ?> 148 148 </a> 149 <a href="https://www.wpzoom.com/plugins/social- widget/?utm_source=wpadmin&utm_medium=plugin&utm_campaign=social-icons-free&utm_content=sharing-notice-btn" class="button wpzoom-sharing-btn-upgrade" target="_blank">149 <a href="https://www.wpzoom.com/plugins/social-share/?utm_source=wpadmin&utm_medium=plugin&utm_campaign=social-icons-free&utm_content=sharing-notice-btn" class="button wpzoom-sharing-btn-upgrade" target="_blank"> 150 150 <span class="dashicons dashicons-star-filled" style="font-size: 16px; line-height: 28px; width: 16px; height: 16px; margin-right: 3px;"></span> 151 151 <?php esc_html_e( 'Upgrade to Pro', 'social-icons-widget-by-wpzoom' ); ?> -
social-icons-widget-by-wpzoom/tags/4.5.6/includes/classes/class-wpzoom-social-icons-settings.php
r3447901 r3452646 596 596 */ 597 597 public function render_upload_pro_upsell() { 598 $upgrade_url = 'https://www.wpzoom.com/plugins/social- widget/?utm_source=wpadmin&utm_medium=plugin&utm_campaign=social-icons-free&utm_content=settings-upload';598 $upgrade_url = 'https://www.wpzoom.com/plugins/social-share/?utm_source=wpadmin&utm_medium=plugin&utm_campaign=social-icons-free&utm_content=settings-upload'; 599 599 ?> 600 600 <div class="wpzoom-upload-pro-preview"> -
social-icons-widget-by-wpzoom/tags/4.5.6/includes/classes/class-wpzoom-social-icons-upsell.php
r3447901 r3452646 82 82 */ 83 83 private function get_upgrade_url() { 84 return 'https://www.wpzoom.com/plugins/social- widget/?utm_source=wpadmin&utm_medium=plugin&utm_campaign=social-icons-free&utm_content=upsell-page';84 return 'https://www.wpzoom.com/plugins/social-share/?utm_source=wpadmin&utm_medium=plugin&utm_campaign=social-icons-free&utm_content=upsell-page'; 85 85 } 86 86 … … 235 235 </div> 236 236 237 <!-- Floating Buttons --> 238 <div class="wpzoom-upsell-section"> 239 <div class="wpzoom-upsell-section-image"> 240 <img src="https://www.wpzoom.com/wp-content/themes/wpzoom/images/social-landing/floating-buttons.png" alt="<?php esc_attr_e( 'Floating Buttons', 'social-icons-widget-by-wpzoom' ); ?>" /> 241 </div> 242 <span class="wpzoom-upsell-badge wpzoom-upsell-badge-new"><?php esc_html_e( 'NEW', 'social-icons-widget-by-wpzoom' ); ?></span> 243 <h4> 244 <span class="dashicons dashicons-align-left"></span> 245 <?php esc_html_e( 'Floating Buttons', 'social-icons-widget-by-wpzoom' ); ?> 246 </h4> 247 <p class="about"><?php esc_html_e( 'Display social sharing icons as a fixed floating bar on the side of your website. Visitors can share from anywhere on the page. Configure position, layout, and visibility for specific post types.', 'social-icons-widget-by-wpzoom' ); ?></p> 248 <p class="section_footer"> 249 <strong><?php esc_html_e( 'Without PRO:', 'social-icons-widget-by-wpzoom' ); ?></strong> 250 <?php esc_html_e( 'No floating share bar', 'social-icons-widget-by-wpzoom' ); ?> 251 </p> 252 </div> 253 237 254 </div> 238 255 … … 296 313 <li class="t-row"> 297 314 <div class="h-wrap"><?php esc_html_e( 'Share Counts', 'social-icons-widget-by-wpzoom' ); ?></div> 315 <div class="c"><?php echo $cross; // phpcs:ignore ?></div> 316 <div class="c"><?php echo $check; // phpcs:ignore ?></div> 317 </li> 318 <li class="t-row"> 319 <div class="h-wrap"><?php esc_html_e( 'Floating Buttons Bar', 'social-icons-widget-by-wpzoom' ); ?> <span class="wpzoom-new-badge"><?php esc_html_e( 'New', 'social-icons-widget-by-wpzoom' ); ?></span></div> 298 320 <div class="c"><?php echo $cross; // phpcs:ignore ?></div> 299 321 <div class="c"><?php echo $check; // phpcs:ignore ?></div> -
social-icons-widget-by-wpzoom/tags/4.5.6/languages/social-icons-widget-by-wpzoom.pot
r3440326 r3452646 251 251 252 252 #. URI of the plugin 253 msgid "https://www.wpzoom.com/plugins/social- widget/"253 msgid "https://www.wpzoom.com/plugins/social-share/" 254 254 msgstr "" 255 255 -
social-icons-widget-by-wpzoom/tags/4.5.6/readme.txt
r3447901 r3452646 6 6 Requires PHP: 7.4 7 7 Tested up to: 6.9 8 Stable tag: 4.5. 58 Stable tag: 4.5.6 9 9 License: GNU General Public License v2.0 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 20 20 > Did you find this plugin helpful? Please consider [leaving a 5-star review](http://wordpress.org/support/view/plugin-reviews/social-icons-widget-by-wpzoom). 21 21 22 **[View Demo](https://demo.wpzoom.com/social-icons/)** 22 **[Social Icons Block Demo](https://demo.wpzoom.com/social-icons/)** 23 **[Sharing Buttons Demo](https://demo.wpzoom.com/social-icons/2016/04/21/sharing-buttons/)** 23 24 24 25 **Social Icons & Sharing Buttons** helps you to add social media icons and sharing buttons to your website. The plugin includes several icon sets, which gives you the possibility to use the widget for more than just linking to your social media profiles. You can use generic icons to add links to anything you want, and enable sharing buttons to let visitors share your content across social networks. … … 38 39 * **NEW: Gutenberg Block** 39 40 * New icon styles in the new Social Icons Block 40 * New options to customize your icons: change margin, padding, alignment, roundness etc.41 42 = What's new in 3.0.0 =43 44 * Added Global Color Picker to change the color of all icons45 * Added a new color picker to change hover color on all icons46 * Icons are now grouped in categories47 48 = What's new in 2.2.0 =49 50 * Added Padding and Size options for icons51 * Added support for Skype links (skype:username)52 53 = What's new in 2.1.0 =54 55 * Search Icons by keywords56 * FontAwesome Icon Set Integration57 * Updated Instagram Icon58 59 = What's new in 2.0 =60 61 * New custom icons62 * Color picker for each icon63 * 3 Icon Sets from which you can choose more than 400 icons64 65 41 66 42 = Where I can view a Demo? = … … 70 46 = View Demo & Examples = 71 47 * [Foodica Theme](https://demo.wpzoom.com/?theme=foodica) - header bar and sidebar 72 * [Inspiro Theme](https://demo.wpzoom.com/ ?theme=inspiro-demo) - sidebar panel and footer48 * [Inspiro Theme](https://demo.wpzoom.com/inspiro) - sidebar panel and footer 73 49 74 50 = Features: = … … 98 74 = PRO Features = 99 75 100 Upgrade to [Social Icons Widget PRO](https://www.wpzoom.com/plugins/social-widget/) to unlock powerful features: 101 76 Upgrade to [Social Icons Widget PRO](https://www.wpzoom.com/plugins/social-share/) to unlock powerful features: 77 78 * **Floating Buttons** - Display social sharing icons as a fixed floating bar on the side of your website (NEW!) 102 79 * **Share Analytics Dashboard** - Track how visitors share your content with detailed analytics 103 80 * **Like Button** - Add a like button to let visitors engage with your posts … … 110 87 * **Priority Support** - Get help faster with priority email support 111 88 112 [Learn more about PRO →](https://www.wpzoom.com/plugins/social- widget/)89 [Learn more about PRO →](https://www.wpzoom.com/plugins/social-share/) 113 90 114 91 **General Features:** … … 118 95 * Supports Email Addresses (mailto:[email protected]) 119 96 * Supports Telephone Numbers (tel:12345) 120 * Supports Skype (skype:username?call)121 97 * Supports Viber (viber://add?number=123456) 122 98 * Supports WhatsApp (https://api.whatsapp.com/send?phone=15551234567) … … 151 127 = Where do I find more details about this plugin? = 152 128 153 On our [website](http://www.wpzoom.com/plugins/social- widget/).129 On our [website](http://www.wpzoom.com/plugins/social-share/). 154 130 155 131 = How can I add Social Icons to a Page? = … … 196 172 = What features are available in the PRO version? = 197 173 198 [Social Icons Widget PRO](https://www.wpzoom.com/plugins/social-widget/) includes these additional features: 199 174 [Social Icons Widget PRO](https://www.wpzoom.com/plugins/social-share/) includes these additional features: 175 176 * **Floating Buttons** - Display sharing icons as a fixed floating bar on the side of your website 200 177 * **Share Analytics** - Track shares across all platforms with a beautiful analytics dashboard 201 178 * **Like Button** - Let visitors like your posts with engagement tracking … … 205 182 * **Nav Menu Integration** - Add social icons to your navigation menus 206 183 * **Priority Support** - Get faster help with priority email support 184 185 = What are Floating Buttons? = 186 187 Floating Buttons is a PRO feature that displays your social sharing icons as a fixed bar on the side of your website. Visitors can share your content from anywhere on the page without scrolling. You can configure the position (left/right side, top/middle/bottom), choose vertical or horizontal layout, and control which post types display the floating bar. [Upgrade to PRO](https://www.wpzoom.com/plugins/social-share/) to unlock this feature. 207 188 208 189 == Screenshots == … … 221 202 == Changelog == 222 203 204 = 4.5.6 = 205 * Minor fixes 206 223 207 = 4.5.5 = 224 208 * Minor fixes -
social-icons-widget-by-wpzoom/tags/4.5.6/social-icons-widget-by-wpzoom.php
r3447901 r3452646 2 2 /** 3 3 * Plugin Name: Social Icons & Sharing Buttons by WPZOOM 4 * Plugin URI: https://www.wpzoom.com/plugins/social- widget/4 * Plugin URI: https://www.wpzoom.com/plugins/social-share/ 5 5 * Description: Add Social Icons and Share Buttons to your website easily. Link to your social media profiles or let visitors share your content on popular networks. Supports over 400 social media icons, customizable colors, and drag-and-drop sorting. 6 * Version: 4.5. 56 * Version: 4.5.6 7 7 * Author: WPZOOM 8 8 * Author URI: https://www.wpzoom.com/ … … 45 45 require_once plugin_dir_path( __FILE__ ) . 'includes/classes/class-wpzoom-social-icons-shortcode.php'; 46 46 require_once plugin_dir_path( __FILE__ ) . 'includes/classes/class-wpzoom-share-analytics-upsell.php'; 47 require_once plugin_dir_path( __FILE__ ) . 'includes/classes/class-wpzoom-floating-buttons-upsell.php'; 47 48 require_once plugin_dir_path( __FILE__ ) . 'includes/classes/class-wpzoom-sharing-buttons-notice.php'; 48 49 require_once plugin_dir_path( __FILE__ ) . 'includes/classes/class-wpzoom-social-icons-upsell.php'; … … 257 258 $links['go_pro'] = sprintf( 258 259 '<a href="%1$s" target="_blank" class="wpzoom-social-icons-gopro" style="color:#2271b1;font-weight:bold;">UPGRADE → <span class="wpzoom-premium-badge" style="background-color: #2271b1; color: #fff; margin-left: 5px; font-size: 11px; min-height: 16px; border-radius: 8px; display: inline-block; font-weight: 600; line-height: 1.6; padding: 0 8px;">%2$s</span></a>', 259 'https://www.wpzoom.com/plugins/social- widget/?utm_source=wpadmin&utm_medium=plugin&utm_campaign=social-icons-free&utm_content=plugins-page',260 'https://www.wpzoom.com/plugins/social-share/?utm_source=wpadmin&utm_medium=plugin&utm_campaign=social-icons-free&utm_content=plugins-page', 260 261 esc_html__( 'PRO', 'social-icons-widget-by-wpzoom' ) 261 262 ); … … 332 333 </p> 333 334 <p class="wpz-social-icons-notice-actions"> 334 <a class="button-primary" href="https://www.wpzoom.com/plugins/social- widget/?utm_source=admin-notices&utm_medium=admin-notice-actions&utm_campaign=go_pro" target="_blank"><strong><?php esc_html_e( 'Get Social Icons Widget PRO →', 'social-icons-widget-by-wpzoom' ); ?></strong></a>335 <a class="button-primary" href="https://www.wpzoom.com/plugins/social-share/?utm_source=admin-notices&utm_medium=admin-notice-actions&utm_campaign=go_pro" target="_blank"><strong><?php esc_html_e( 'Get Social Icons Widget PRO →', 'social-icons-widget-by-wpzoom' ); ?></strong></a> 335 336 <?php 336 337 // phpcs:disable -
social-icons-widget-by-wpzoom/trunk/assets/css/admin-upsell.css
r3447901 r3452646 881 881 } 882 882 883 .wpzoom-new-badge { 884 display: inline-block; 885 background: #00a32a; 886 color: #fff; 887 font-size: 10px; 888 font-weight: 600; 889 text-transform: uppercase; 890 padding: 2px 6px; 891 border-radius: 3px; 892 margin-left: 6px; 893 vertical-align: middle; 894 } 895 883 896 .wpzoom-features-table .t-footer { 884 897 padding-top: 30px; … … 914 927 } 915 928 } 929 930 /* ===================================================== 931 Floating Buttons Upsell Page 932 ===================================================== */ 933 .wpzoom-floating-upsell-wrap { 934 max-width: 1200px; 935 } 936 937 .wpzoom-floating-upsell-wrap h1 { 938 display: flex; 939 align-items: center; 940 gap: 10px; 941 } 942 943 .wpzoom-floating-description { 944 color: #646970; 945 font-size: 14px; 946 margin-bottom: 20px; 947 } 948 949 .wpzoom-floating-preview-container { 950 position: relative; 951 background: #fff; 952 border: 1px solid #c3c4c7; 953 border-radius: 4px; 954 overflow: hidden; 955 } 956 957 .wpzoom-floating-preview-blurred { 958 padding: 30px; 959 filter: blur(1px); 960 opacity: 0.7; 961 pointer-events: none; 962 user-select: none; 963 display: grid; 964 grid-template-columns: 1fr 300px; 965 gap: 30px; 966 } 967 968 /* Settings Panel Preview */ 969 .wpzoom-floating-settings-header { 970 display: flex; 971 align-items: center; 972 gap: 8px; 973 font-size: 14px; 974 font-weight: 600; 975 color: #1d2327; 976 margin-bottom: 20px; 977 padding-bottom: 12px; 978 border-bottom: 1px solid #dcdcde; 979 } 980 981 .wpzoom-floating-settings-header .dashicons { 982 font-size: 20px; 983 width: 20px; 984 height: 20px; 985 color: #2271b1; 986 } 987 988 .wpzoom-floating-settings-group { 989 margin-bottom: 20px; 990 background: #f6f7f7; 991 padding: 15px; 992 border-radius: 4px; 993 border: 1px solid #dcdcde; 994 } 995 996 .wpzoom-floating-settings-group > label { 997 display: block; 998 font-size: 13px; 999 font-weight: 600; 1000 color: #1d2327; 1001 margin-bottom: 10px; 1002 } 1003 1004 .wpzoom-floating-position-options { 1005 display: flex; 1006 flex-direction: column; 1007 gap: 10px; 1008 } 1009 1010 .wpzoom-floating-option { 1011 display: flex; 1012 align-items: center; 1013 gap: 10px; 1014 } 1015 1016 .wpzoom-floating-option-label { 1017 font-size: 12px; 1018 color: #646970; 1019 min-width: 70px; 1020 } 1021 1022 .wpzoom-floating-radio-group, 1023 .wpzoom-floating-checkbox-group { 1024 display: flex; 1025 flex-wrap: wrap; 1026 gap: 12px; 1027 } 1028 1029 .wpzoom-floating-radio-group label, 1030 .wpzoom-floating-checkbox-group label { 1031 display: flex; 1032 align-items: center; 1033 gap: 4px; 1034 font-size: 13px; 1035 color: #1d2327; 1036 cursor: default; 1037 } 1038 1039 .wpzoom-floating-input-group { 1040 display: flex; 1041 align-items: center; 1042 gap: 8px; 1043 margin-top: 10px; 1044 font-size: 13px; 1045 color: #1d2327; 1046 } 1047 1048 .wpzoom-floating-input-group input { 1049 width: 60px; 1050 padding: 4px 8px; 1051 border: 1px solid #dcdcde; 1052 border-radius: 3px; 1053 background: #fff; 1054 } 1055 1056 /* Visual Preview - Browser Frame */ 1057 .wpzoom-floating-visual-preview { 1058 display: flex; 1059 align-items: center; 1060 justify-content: center; 1061 } 1062 1063 .wpzoom-floating-browser-frame { 1064 background: #f6f7f7; 1065 border: 1px solid #dcdcde; 1066 border-radius: 8px; 1067 overflow: hidden; 1068 width: 100%; 1069 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); 1070 } 1071 1072 .wpzoom-floating-browser-header { 1073 background: #e0e0e0; 1074 padding: 10px 15px; 1075 display: flex; 1076 align-items: center; 1077 gap: 8px; 1078 } 1079 1080 .wpzoom-floating-browser-dot { 1081 width: 12px; 1082 height: 12px; 1083 border-radius: 50%; 1084 background: #c3c4c7; 1085 } 1086 1087 .wpzoom-floating-browser-dot:nth-child(1) { 1088 background: #ff5f56; 1089 } 1090 1091 .wpzoom-floating-browser-dot:nth-child(2) { 1092 background: #ffbd2e; 1093 } 1094 1095 .wpzoom-floating-browser-dot:nth-child(3) { 1096 background: #27ca40; 1097 } 1098 1099 .wpzoom-floating-browser-url { 1100 flex: 1; 1101 margin-left: 10px; 1102 padding: 5px 12px; 1103 background: #fff; 1104 border-radius: 4px; 1105 font-size: 12px; 1106 color: #646970; 1107 } 1108 1109 .wpzoom-floating-browser-content { 1110 position: relative; 1111 min-height: 320px; 1112 background: #fff; 1113 padding: 20px 60px 20px 20px; 1114 } 1115 1116 .wpzoom-floating-page-header { 1117 height: 40px; 1118 background: linear-gradient(90deg, #e0e0e0 0%, #f0f0f0 100%); 1119 border-radius: 4px; 1120 margin-bottom: 20px; 1121 } 1122 1123 .wpzoom-floating-page-content { 1124 padding: 10px 0; 1125 } 1126 1127 .wpzoom-floating-content-line { 1128 height: 12px; 1129 background: #e8e8e8; 1130 border-radius: 3px; 1131 margin-bottom: 12px; 1132 } 1133 1134 .wpzoom-floating-content-line.wpzoom-floating-content-title { 1135 height: 20px; 1136 width: 60%; 1137 background: #d0d0d0; 1138 margin-bottom: 20px; 1139 } 1140 1141 .wpzoom-floating-content-line.wpzoom-floating-content-short { 1142 width: 70%; 1143 } 1144 1145 .wpzoom-floating-content-line:nth-child(even):not(.wpzoom-floating-content-title):not(.wpzoom-floating-content-short) { 1146 width: 85%; 1147 } 1148 1149 /* Floating Bar Preview */ 1150 .wpzoom-floating-bar-preview { 1151 position: absolute; 1152 left: 15px; 1153 top: 50%; 1154 transform: translateY(-50%); 1155 display: flex; 1156 flex-direction: column; 1157 gap: 6px; 1158 z-index: 10; 1159 } 1160 1161 .wpzoom-floating-icon { 1162 width: 36px; 1163 height: 36px; 1164 border-radius: 50%; 1165 display: flex; 1166 align-items: center; 1167 justify-content: center; 1168 color: #fff; 1169 box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); 1170 transition: transform 0.2s ease; 1171 } 1172 1173 .wpzoom-floating-icon svg { 1174 width: 18px; 1175 height: 18px; 1176 } 1177 1178 .wpzoom-floating-icon-fb { background: #1877f2; } 1179 .wpzoom-floating-icon-x { background: #000; } 1180 .wpzoom-floating-icon-linkedin { background: #0a66c2; } 1181 .wpzoom-floating-icon-pinterest { background: #e60023; } 1182 .wpzoom-floating-icon-whatsapp { background: #25d366; } 1183 1184 /* NEW Badge */ 1185 .wpzoom-upsell-badge-new { 1186 background: #00a32a; 1187 } 1188 1189 /* Responsive */ 1190 @media screen and (max-width: 960px) { 1191 .wpzoom-floating-preview-blurred { 1192 grid-template-columns: 1fr; 1193 } 1194 1195 .wpzoom-floating-browser-content { 1196 min-height: 280px; 1197 } 1198 } 1199 1200 @media screen and (max-width: 600px) { 1201 .wpzoom-floating-preview-blurred { 1202 padding: 20px; 1203 } 1204 } -
social-icons-widget-by-wpzoom/trunk/block/dist/wpzoom-social-icons.js
r3447901 r3452646 1 1 (window.webpackJsonp=window.webpackJsonp||[]).push([[0],{21:function(e,t,o){},24:function(e,t,o){}}]),function(e){function t(t){for(var n,a,s=t[0],l=t[1],c=t[2],p=0,u=[];p<s.length;p++)a=s[p],Object.prototype.hasOwnProperty.call(r,a)&&r[a]&&u.push(r[a][0]),r[a]=0;for(n in l)Object.prototype.hasOwnProperty.call(l,n)&&(e[n]=l[n]);for(d&&d(t);u.length;)u.shift()();return i.push.apply(i,c||[]),o()}function o(){for(var e,t=0;t<i.length;t++){for(var o=i[t],n=!0,s=1;s<o.length;s++){var l=o[s];0!==r[l]&&(n=!1)}n&&(i.splice(t--,1),e=a(a.s=o[0]))}return e}var n={},r={1:0},i=[];function a(t){if(n[t])return n[t].exports;var o=n[t]={i:t,l:!1,exports:{}};return e[t].call(o.exports,o,o.exports,a),o.l=!0,o.exports}a.m=e,a.c=n,a.d=function(e,t,o){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(a.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)a.d(o,n,function(t){return e[t]}.bind(null,n));return o},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="";var s=window.webpackJsonp=window.webpackJsonp||[],l=s.push.bind(s);s.push=t,s=s.slice();for(var c=0;c<s.length;c++)t(s[c]);var d=l;i.push([25,0]),o()}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.lodash},function(e,t){e.exports=function(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,o){var n;!function(){"use strict";var o={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var a=r.apply(null,n);a&&e.push(a)}}else if("object"===i)if(n.toString===Object.prototype.toString)for(var s in n)o.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},function(e,t){e.exports=window.wp.blockEditor},function(e,t){e.exports=window.wp.blocks},function(e,t){e.exports=window.wp.primitives},function(e,t){e.exports=window.wp.data},function(e,t){function o(){return e.exports=o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,o.apply(this,arguments)}e.exports=o,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,o){var n,r,i;!function(a,s){"use strict";e.exports?e.exports=s(o(15),o(16),o(17)):(r=[o(15),o(16),o(17)],void 0===(i="function"==typeof(n=s)?n.apply(t,r):n)||(e.exports=i))}(0,(function(e,t,o,n){"use strict";var r=n&&n.URI;function i(e,t){var o=arguments.length>=1,n=arguments.length>=2;if(!(this instanceof i))return o?n?new i(e,t):new i(e):new i;if(void 0===e){if(o)throw new TypeError("undefined is not a valid argument for URI");e="undefined"!=typeof location?location.href+"":""}if(null===e&&o)throw new TypeError("null is not a valid argument for URI");return this.href(e),void 0!==t?this.absoluteTo(t):this}i.version="1.19.7";var a=i.prototype,s=Object.prototype.hasOwnProperty;function l(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}function c(e){return void 0===e?"Undefined":String(Object.prototype.toString.call(e)).slice(8,-1)}function d(e){return"Array"===c(e)}function p(e,t){var o,n,r={};if("RegExp"===c(t))r=null;else if(d(t))for(o=0,n=t.length;o<n;o++)r[t[o]]=!0;else r[t]=!0;for(o=0,n=e.length;o<n;o++)(r&&void 0!==r[e[o]]||!r&&t.test(e[o]))&&(e.splice(o,1),n--,o--);return e}function u(e,t){var o,n;if(d(t)){for(o=0,n=t.length;o<n;o++)if(!u(e,t[o]))return!1;return!0}var r=c(t);for(o=0,n=e.length;o<n;o++)if("RegExp"===r){if("string"==typeof e[o]&&e[o].match(t))return!0}else if(e[o]===t)return!0;return!1}function m(e,t){if(!d(e)||!d(t))return!1;if(e.length!==t.length)return!1;e.sort(),t.sort();for(var o=0,n=e.length;o<n;o++)if(e[o]!==t[o])return!1;return!0}function h(e){return e.replace(/^\/+|\/+$/g,"")}function b(e){return escape(e)}function g(e){return encodeURIComponent(e).replace(/[!'()*]/g,b).replace(/\*/g,"%2A")}i._parts=function(){return{protocol:null,username:null,password:null,hostname:null,urn:null,port:null,path:null,query:null,fragment:null,preventInvalidHostname:i.preventInvalidHostname,duplicateQueryParameters:i.duplicateQueryParameters,escapeQuerySpace:i.escapeQuerySpace}},i.preventInvalidHostname=!1,i.duplicateQueryParameters=!1,i.escapeQuerySpace=!0,i.protocol_expression=/^[a-z][a-z0-9.+-]*$/i,i.idn_expression=/[^a-z0-9\._-]/i,i.punycode_expression=/(xn--)/i,i.ip4_expression=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/,i.ip6_expression=/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/,i.find_uri_expression=/\b((?:[a-z][\w-]+:(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?«»“”‘’]))/gi,i.findUri={start:/\b(?:([a-z][a-z0-9.+-]*:\/\/)|www\.)/gi,end:/[\s\r\n]|$/,trim:/[`!()\[\]{};:'".,<>?«»“”„‘’]+$/,parens:/(\([^\)]*\)|\[[^\]]*\]|\{[^}]*\}|<[^>]*>)/g},i.defaultPorts={http:"80",https:"443",ftp:"21",gopher:"70",ws:"80",wss:"443"},i.hostProtocols=["http","https"],i.invalid_hostname_characters=/[^a-zA-Z0-9\.\-:_]/,i.domAttributes={a:"href",blockquote:"cite",link:"href",base:"href",script:"src",form:"action",img:"src",area:"href",iframe:"src",embed:"src",source:"src",track:"src",input:"src",audio:"src",video:"src"},i.getDomAttribute=function(e){if(e&&e.nodeName){var t=e.nodeName.toLowerCase();if("input"!==t||"image"===e.type)return i.domAttributes[t]}},i.encode=g,i.decode=decodeURIComponent,i.iso8859=function(){i.encode=escape,i.decode=unescape},i.unicode=function(){i.encode=g,i.decode=decodeURIComponent},i.characters={pathname:{encode:{expression:/%(24|26|2B|2C|3B|3D|3A|40)/gi,map:{"%24":"$","%26":"&","%2B":"+","%2C":",","%3B":";","%3D":"=","%3A":":","%40":"@"}},decode:{expression:/[\/\?#]/g,map:{"/":"%2F","?":"%3F","#":"%23"}}},reserved:{encode:{expression:/%(21|23|24|26|27|28|29|2A|2B|2C|2F|3A|3B|3D|3F|40|5B|5D)/gi,map:{"%3A":":","%2F":"/","%3F":"?","%23":"#","%5B":"[","%5D":"]","%40":"@","%21":"!","%24":"$","%26":"&","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"="}}},urnpath:{encode:{expression:/%(21|24|27|28|29|2A|2B|2C|3B|3D|40)/gi,map:{"%21":"!","%24":"$","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"=","%40":"@"}},decode:{expression:/[\/\?#:]/g,map:{"/":"%2F","?":"%3F","#":"%23",":":"%3A"}}}},i.encodeQuery=function(e,t){var o=i.encode(e+"");return void 0===t&&(t=i.escapeQuerySpace),t?o.replace(/%20/g,"+"):o},i.decodeQuery=function(e,t){e+="",void 0===t&&(t=i.escapeQuerySpace);try{return i.decode(t?e.replace(/\+/g,"%20"):e)}catch(t){return e}};var f,v={encode:"encode",decode:"decode"},w=function(e,t){return function(o){try{return i[t](o+"").replace(i.characters[e][t].expression,(function(o){return i.characters[e][t].map[o]}))}catch(e){return o}}};for(f in v)i[f+"PathSegment"]=w("pathname",v[f]),i[f+"UrnPathSegment"]=w("urnpath",v[f]);var y=function(e,t,o){return function(n){var r;r=o?function(e){return i[t](i[o](e))}:i[t];for(var a=(n+"").split(e),s=0,l=a.length;s<l;s++)a[s]=r(a[s]);return a.join(e)}};function O(e){return function(t,o){return void 0===t?this._parts[e]||"":(this._parts[e]=t||null,this.build(!o),this)}}function j(e,t){return function(o,n){return void 0===o?this._parts[e]||"":(null!==o&&(o+="").charAt(0)===t&&(o=o.substring(1)),this._parts[e]=o,this.build(!n),this)}}i.decodePath=y("/","decodePathSegment"),i.decodeUrnPath=y(":","decodeUrnPathSegment"),i.recodePath=y("/","encodePathSegment","decode"),i.recodeUrnPath=y(":","encodeUrnPathSegment","decode"),i.encodeReserved=w("reserved","encode"),i.parse=function(e,t){var o;return t||(t={preventInvalidHostname:i.preventInvalidHostname}),(o=e.indexOf("#"))>-1&&(t.fragment=e.substring(o+1)||null,e=e.substring(0,o)),(o=e.indexOf("?"))>-1&&(t.query=e.substring(o+1)||null,e=e.substring(0,o)),"//"===(e=e.replace(/^(https?|ftp|wss?)?:[/\\]*/,"$1://")).substring(0,2)?(t.protocol=null,e=e.substring(2),e=i.parseAuthority(e,t)):(o=e.indexOf(":"))>-1&&(t.protocol=e.substring(0,o)||null,t.protocol&&!t.protocol.match(i.protocol_expression)?t.protocol=void 0:"//"===e.substring(o+1,o+3).replace(/\\/g,"/")?(e=e.substring(o+3),e=i.parseAuthority(e,t)):(e=e.substring(o+1),t.urn=!0)),t.path=e,t},i.parseHost=function(e,t){e||(e="");var o,n,r=(e=e.replace(/\\/g,"/")).indexOf("/");if(-1===r&&(r=e.length),"["===e.charAt(0))o=e.indexOf("]"),t.hostname=e.substring(1,o)||null,t.port=e.substring(o+2,r)||null,"/"===t.port&&(t.port=null);else{var a=e.indexOf(":"),s=e.indexOf("/"),l=e.indexOf(":",a+1);-1!==l&&(-1===s||l<s)?(t.hostname=e.substring(0,r)||null,t.port=null):(n=e.substring(0,r).split(":"),t.hostname=n[0]||null,t.port=n[1]||null)}return t.hostname&&"/"!==e.substring(r).charAt(0)&&(r++,e="/"+e),t.preventInvalidHostname&&i.ensureValidHostname(t.hostname,t.protocol),t.port&&i.ensureValidPort(t.port),e.substring(r)||"/"},i.parseAuthority=function(e,t){return e=i.parseUserinfo(e,t),i.parseHost(e,t)},i.parseUserinfo=function(e,t){var o=e;-1!==e.indexOf("\\")&&(e=e.replace(/\\/g,"/"));var n,r=e.indexOf("/"),a=e.lastIndexOf("@",r>-1?r:e.length-1);return a>-1&&(-1===r||a<r)?(n=e.substring(0,a).split(":"),t.username=n[0]?i.decode(n[0]):null,n.shift(),t.password=n[0]?i.decode(n.join(":")):null,e=o.substring(a+1)):(t.username=null,t.password=null),e},i.parseQuery=function(e,t){if(!e)return{};if(!(e=e.replace(/&+/g,"&").replace(/^\?*&*|&+$/g,"")))return{};for(var o,n,r,a={},l=e.split("&"),c=l.length,d=0;d<c;d++)o=l[d].split("="),n=i.decodeQuery(o.shift(),t),r=o.length?i.decodeQuery(o.join("="),t):null,"__proto__"!==n&&(s.call(a,n)?("string"!=typeof a[n]&&null!==a[n]||(a[n]=[a[n]]),a[n].push(r)):a[n]=r);return a},i.build=function(e){var t="",o=!1;return e.protocol&&(t+=e.protocol+":"),e.urn||!t&&!e.hostname||(t+="//",o=!0),t+=i.buildAuthority(e)||"","string"==typeof e.path&&("/"!==e.path.charAt(0)&&o&&(t+="/"),t+=e.path),"string"==typeof e.query&&e.query&&(t+="?"+e.query),"string"==typeof e.fragment&&e.fragment&&(t+="#"+e.fragment),t},i.buildHost=function(e){var t="";return e.hostname?(i.ip6_expression.test(e.hostname)?t+="["+e.hostname+"]":t+=e.hostname,e.port&&(t+=":"+e.port),t):""},i.buildAuthority=function(e){return i.buildUserinfo(e)+i.buildHost(e)},i.buildUserinfo=function(e){var t="";return e.username&&(t+=i.encode(e.username)),e.password&&(t+=":"+i.encode(e.password)),t&&(t+="@"),t},i.buildQuery=function(e,t,o){var n,r,a,l,c="";for(r in e)if("__proto__"!==r&&s.call(e,r))if(d(e[r]))for(n={},a=0,l=e[r].length;a<l;a++)void 0!==e[r][a]&&void 0===n[e[r][a]+""]&&(c+="&"+i.buildQueryParameter(r,e[r][a],o),!0!==t&&(n[e[r][a]+""]=!0));else void 0!==e[r]&&(c+="&"+i.buildQueryParameter(r,e[r],o));return c.substring(1)},i.buildQueryParameter=function(e,t,o){return i.encodeQuery(e,o)+(null!==t?"="+i.encodeQuery(t,o):"")},i.addQuery=function(e,t,o){if("object"==typeof t)for(var n in t)s.call(t,n)&&i.addQuery(e,n,t[n]);else{if("string"!=typeof t)throw new TypeError("URI.addQuery() accepts an object, string as the name parameter");if(void 0===e[t])return void(e[t]=o);"string"==typeof e[t]&&(e[t]=[e[t]]),d(o)||(o=[o]),e[t]=(e[t]||[]).concat(o)}},i.setQuery=function(e,t,o){if("object"==typeof t)for(var n in t)s.call(t,n)&&i.setQuery(e,n,t[n]);else{if("string"!=typeof t)throw new TypeError("URI.setQuery() accepts an object, string as the name parameter");e[t]=void 0===o?null:o}},i.removeQuery=function(e,t,o){var n,r,a;if(d(t))for(n=0,r=t.length;n<r;n++)e[t[n]]=void 0;else if("RegExp"===c(t))for(a in e)t.test(a)&&(e[a]=void 0);else if("object"==typeof t)for(a in t)s.call(t,a)&&i.removeQuery(e,a,t[a]);else{if("string"!=typeof t)throw new TypeError("URI.removeQuery() accepts an object, string, RegExp as the first parameter");void 0!==o?"RegExp"===c(o)?!d(e[t])&&o.test(e[t])?e[t]=void 0:e[t]=p(e[t],o):e[t]!==String(o)||d(o)&&1!==o.length?d(e[t])&&(e[t]=p(e[t],o)):e[t]=void 0:e[t]=void 0}},i.hasQuery=function(e,t,o,n){switch(c(t)){case"String":break;case"RegExp":for(var r in e)if(s.call(e,r)&&t.test(r)&&(void 0===o||i.hasQuery(e,r,o)))return!0;return!1;case"Object":for(var a in t)if(s.call(t,a)&&!i.hasQuery(e,a,t[a]))return!1;return!0;default:throw new TypeError("URI.hasQuery() accepts a string, regular expression or object as the name parameter")}switch(c(o)){case"Undefined":return t in e;case"Boolean":return o===Boolean(d(e[t])?e[t].length:e[t]);case"Function":return!!o(e[t],t,e);case"Array":return!!d(e[t])&&(n?u:m)(e[t],o);case"RegExp":return d(e[t])?!!n&&u(e[t],o):Boolean(e[t]&&e[t].match(o));case"Number":o=String(o);case"String":return d(e[t])?!!n&&u(e[t],o):e[t]===o;default:throw new TypeError("URI.hasQuery() accepts undefined, boolean, string, number, RegExp, Function as the value parameter")}},i.joinPaths=function(){for(var e=[],t=[],o=0,n=0;n<arguments.length;n++){var r=new i(arguments[n]);e.push(r);for(var a=r.segment(),s=0;s<a.length;s++)"string"==typeof a[s]&&t.push(a[s]),a[s]&&o++}if(!t.length||!o)return new i("");var l=new i("").segment(t);return""!==e[0].path()&&"/"!==e[0].path().slice(0,1)||l.path("/"+l.path()),l.normalize()},i.commonPath=function(e,t){var o,n=Math.min(e.length,t.length);for(o=0;o<n;o++)if(e.charAt(o)!==t.charAt(o)){o--;break}return o<1?e.charAt(0)===t.charAt(0)&&"/"===e.charAt(0)?"/":"":("/"===e.charAt(o)&&"/"===t.charAt(o)||(o=e.substring(0,o).lastIndexOf("/")),e.substring(0,o+1))},i.withinString=function(e,t,o){o||(o={});var n=o.start||i.findUri.start,r=o.end||i.findUri.end,a=o.trim||i.findUri.trim,s=o.parens||i.findUri.parens,l=/[a-z0-9-]=["']?$/i;for(n.lastIndex=0;;){var c=n.exec(e);if(!c)break;var d=c.index;if(o.ignoreHtml){var p=e.slice(Math.max(d-3,0),d);if(p&&l.test(p))continue}for(var u=d+e.slice(d).search(r),m=e.slice(d,u),h=-1;;){var b=s.exec(m);if(!b)break;var g=b.index+b[0].length;h=Math.max(h,g)}if(!((m=h>-1?m.slice(0,h)+m.slice(h).replace(a,""):m.replace(a,"")).length<=c[0].length||o.ignore&&o.ignore.test(m))){var f=t(m,d,u=d+m.length,e);void 0!==f?(f=String(f),e=e.slice(0,d)+f+e.slice(u),n.lastIndex=d+f.length):n.lastIndex=u}}return n.lastIndex=0,e},i.ensureValidHostname=function(t,o){var n=!!t,r=!1;if(!!o&&(r=u(i.hostProtocols,o)),r&&!n)throw new TypeError("Hostname cannot be empty, if protocol is "+o);if(t&&t.match(i.invalid_hostname_characters)){if(!e)throw new TypeError('Hostname "'+t+'" contains characters other than [A-Z0-9.-:_] and Punycode.js is not available');if(e.toASCII(t).match(i.invalid_hostname_characters))throw new TypeError('Hostname "'+t+'" contains characters other than [A-Z0-9.-:_]')}},i.ensureValidPort=function(e){if(e){var t=Number(e);if(!(/^[0-9]+$/.test(t)&&t>0&&t<65536))throw new TypeError('Port "'+e+'" is not a valid port')}},i.noConflict=function(e){if(e){var t={URI:this.noConflict()};return n.URITemplate&&"function"==typeof n.URITemplate.noConflict&&(t.URITemplate=n.URITemplate.noConflict()),n.IPv6&&"function"==typeof n.IPv6.noConflict&&(t.IPv6=n.IPv6.noConflict()),n.SecondLevelDomains&&"function"==typeof n.SecondLevelDomains.noConflict&&(t.SecondLevelDomains=n.SecondLevelDomains.noConflict()),t}return n.URI===this&&(n.URI=r),this},a.build=function(e){return!0===e?this._deferred_build=!0:(void 0===e||this._deferred_build)&&(this._string=i.build(this._parts),this._deferred_build=!1),this},a.clone=function(){return new i(this)},a.valueOf=a.toString=function(){return this.build(!1)._string},a.protocol=O("protocol"),a.username=O("username"),a.password=O("password"),a.hostname=O("hostname"),a.port=O("port"),a.query=j("query","?"),a.fragment=j("fragment","#"),a.search=function(e,t){var o=this.query(e,t);return"string"==typeof o&&o.length?"?"+o:o},a.hash=function(e,t){var o=this.fragment(e,t);return"string"==typeof o&&o.length?"#"+o:o},a.pathname=function(e,t){if(void 0===e||!0===e){var o=this._parts.path||(this._parts.hostname?"/":"");return e?(this._parts.urn?i.decodeUrnPath:i.decodePath)(o):o}return this._parts.urn?this._parts.path=e?i.recodeUrnPath(e):"":this._parts.path=e?i.recodePath(e):"/",this.build(!t),this},a.path=a.pathname,a.href=function(e,t){var o;if(void 0===e)return this.toString();this._string="",this._parts=i._parts();var n=e instanceof i,r="object"==typeof e&&(e.hostname||e.path||e.pathname);if(e.nodeName&&(e=e[i.getDomAttribute(e)]||"",r=!1),!n&&r&&void 0!==e.pathname&&(e=e.toString()),"string"==typeof e||e instanceof String)this._parts=i.parse(String(e),this._parts);else{if(!n&&!r)throw new TypeError("invalid input");var a=n?e._parts:e;for(o in a)"query"!==o&&s.call(this._parts,o)&&(this._parts[o]=a[o]);a.query&&this.query(a.query,!1)}return this.build(!t),this},a.is=function(e){var t=!1,n=!1,r=!1,a=!1,s=!1,l=!1,c=!1,d=!this._parts.urn;switch(this._parts.hostname&&(d=!1,n=i.ip4_expression.test(this._parts.hostname),r=i.ip6_expression.test(this._parts.hostname),s=(a=!(t=n||r))&&o&&o.has(this._parts.hostname),l=a&&i.idn_expression.test(this._parts.hostname),c=a&&i.punycode_expression.test(this._parts.hostname)),e.toLowerCase()){case"relative":return d;case"absolute":return!d;case"domain":case"name":return a;case"sld":return s;case"ip":return t;case"ip4":case"ipv4":case"inet4":return n;case"ip6":case"ipv6":case"inet6":return r;case"idn":return l;case"url":return!this._parts.urn;case"urn":return!!this._parts.urn;case"punycode":return c}return null};var C=a.protocol,z=a.port,E=a.hostname;a.protocol=function(e,t){if(e&&!(e=e.replace(/:(\/\/)?$/,"")).match(i.protocol_expression))throw new TypeError('Protocol "'+e+"\" contains characters other than [A-Z0-9.+-] or doesn't start with [A-Z]");return C.call(this,e,t)},a.scheme=a.protocol,a.port=function(e,t){return this._parts.urn?void 0===e?"":this:(void 0!==e&&(0===e&&(e=null),e&&(":"===(e+="").charAt(0)&&(e=e.substring(1)),i.ensureValidPort(e))),z.call(this,e,t))},a.hostname=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0!==e){var o={preventInvalidHostname:this._parts.preventInvalidHostname};if("/"!==i.parseHost(e,o))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');e=o.hostname,this._parts.preventInvalidHostname&&i.ensureValidHostname(e,this._parts.protocol)}return E.call(this,e,t)},a.origin=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e){var o=this.protocol();return this.authority()?(o?o+"://":"")+this.authority():""}var n=i(e);return this.protocol(n.protocol()).authority(n.authority()).build(!t),this},a.host=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e)return this._parts.hostname?i.buildHost(this._parts):"";if("/"!==i.parseHost(e,this._parts))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');return this.build(!t),this},a.authority=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e)return this._parts.hostname?i.buildAuthority(this._parts):"";if("/"!==i.parseAuthority(e,this._parts))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');return this.build(!t),this},a.userinfo=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e){var o=i.buildUserinfo(this._parts);return o?o.substring(0,o.length-1):o}return"@"!==e[e.length-1]&&(e+="@"),i.parseUserinfo(e,this._parts),this.build(!t),this},a.resource=function(e,t){var o;return void 0===e?this.path()+this.search()+this.hash():(o=i.parse(e),this._parts.path=o.path,this._parts.query=o.query,this._parts.fragment=o.fragment,this.build(!t),this)},a.subdomain=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var o=this._parts.hostname.length-this.domain().length-1;return this._parts.hostname.substring(0,o)||""}var n=this._parts.hostname.length-this.domain().length,r=this._parts.hostname.substring(0,n),a=new RegExp("^"+l(r));if(e&&"."!==e.charAt(e.length-1)&&(e+="."),-1!==e.indexOf(":"))throw new TypeError("Domains cannot contain colons");return e&&i.ensureValidHostname(e,this._parts.protocol),this._parts.hostname=this._parts.hostname.replace(a,e),this.build(!t),this},a.domain=function(e,t){if(this._parts.urn)return void 0===e?"":this;if("boolean"==typeof e&&(t=e,e=void 0),void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var o=this._parts.hostname.match(/\./g);if(o&&o.length<2)return this._parts.hostname;var n=this._parts.hostname.length-this.tld(t).length-1;return n=this._parts.hostname.lastIndexOf(".",n-1)+1,this._parts.hostname.substring(n)||""}if(!e)throw new TypeError("cannot set domain empty");if(-1!==e.indexOf(":"))throw new TypeError("Domains cannot contain colons");if(i.ensureValidHostname(e,this._parts.protocol),!this._parts.hostname||this.is("IP"))this._parts.hostname=e;else{var r=new RegExp(l(this.domain())+"$");this._parts.hostname=this._parts.hostname.replace(r,e)}return this.build(!t),this},a.tld=function(e,t){if(this._parts.urn)return void 0===e?"":this;if("boolean"==typeof e&&(t=e,e=void 0),void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var n=this._parts.hostname.lastIndexOf("."),r=this._parts.hostname.substring(n+1);return!0!==t&&o&&o.list[r.toLowerCase()]&&o.get(this._parts.hostname)||r}var i;if(!e)throw new TypeError("cannot set TLD empty");if(e.match(/[^a-zA-Z0-9-]/)){if(!o||!o.is(e))throw new TypeError('TLD "'+e+'" contains characters other than [A-Z0-9]');i=new RegExp(l(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(i,e)}else{if(!this._parts.hostname||this.is("IP"))throw new ReferenceError("cannot set TLD on non-domain host");i=new RegExp(l(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(i,e)}return this.build(!t),this},a.directory=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e||!0===e){if(!this._parts.path&&!this._parts.hostname)return"";if("/"===this._parts.path)return"/";var o=this._parts.path.length-this.filename().length-1,n=this._parts.path.substring(0,o)||(this._parts.hostname?"/":"");return e?i.decodePath(n):n}var r=this._parts.path.length-this.filename().length,a=this._parts.path.substring(0,r),s=new RegExp("^"+l(a));return this.is("relative")||(e||(e="/"),"/"!==e.charAt(0)&&(e="/"+e)),e&&"/"!==e.charAt(e.length-1)&&(e+="/"),e=i.recodePath(e),this._parts.path=this._parts.path.replace(s,e),this.build(!t),this},a.filename=function(e,t){if(this._parts.urn)return void 0===e?"":this;if("string"!=typeof e){if(!this._parts.path||"/"===this._parts.path)return"";var o=this._parts.path.lastIndexOf("/"),n=this._parts.path.substring(o+1);return e?i.decodePathSegment(n):n}var r=!1;"/"===e.charAt(0)&&(e=e.substring(1)),e.match(/\.?\//)&&(r=!0);var a=new RegExp(l(this.filename())+"$");return e=i.recodePath(e),this._parts.path=this._parts.path.replace(a,e),r?this.normalizePath(t):this.build(!t),this},a.suffix=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e||!0===e){if(!this._parts.path||"/"===this._parts.path)return"";var o,n,r=this.filename(),a=r.lastIndexOf(".");return-1===a?"":(o=r.substring(a+1),n=/^[a-z0-9%]+$/i.test(o)?o:"",e?i.decodePathSegment(n):n)}"."===e.charAt(0)&&(e=e.substring(1));var s,c=this.suffix();if(c)s=e?new RegExp(l(c)+"$"):new RegExp(l("."+c)+"$");else{if(!e)return this;this._parts.path+="."+i.recodePath(e)}return s&&(e=i.recodePath(e),this._parts.path=this._parts.path.replace(s,e)),this.build(!t),this},a.segment=function(e,t,o){var n=this._parts.urn?":":"/",r=this.path(),i="/"===r.substring(0,1),a=r.split(n);if(void 0!==e&&"number"!=typeof e&&(o=t,t=e,e=void 0),void 0!==e&&"number"!=typeof e)throw new Error('Bad segment "'+e+'", must be 0-based integer');if(i&&a.shift(),e<0&&(e=Math.max(a.length+e,0)),void 0===t)return void 0===e?a:a[e];if(null===e||void 0===a[e])if(d(t)){a=[];for(var s=0,l=t.length;s<l;s++)(t[s].length||a.length&&a[a.length-1].length)&&(a.length&&!a[a.length-1].length&&a.pop(),a.push(h(t[s])))}else(t||"string"==typeof t)&&(t=h(t),""===a[a.length-1]?a[a.length-1]=t:a.push(t));else t?a[e]=h(t):a.splice(e,1);return i&&a.unshift(""),this.path(a.join(n),o)},a.segmentCoded=function(e,t,o){var n,r,a;if("number"!=typeof e&&(o=t,t=e,e=void 0),void 0===t){if(d(n=this.segment(e,t,o)))for(r=0,a=n.length;r<a;r++)n[r]=i.decode(n[r]);else n=void 0!==n?i.decode(n):void 0;return n}if(d(t))for(r=0,a=t.length;r<a;r++)t[r]=i.encode(t[r]);else t="string"==typeof t||t instanceof String?i.encode(t):t;return this.segment(e,t,o)};var k=a.query;return a.query=function(e,t){if(!0===e)return i.parseQuery(this._parts.query,this._parts.escapeQuerySpace);if("function"==typeof e){var o=i.parseQuery(this._parts.query,this._parts.escapeQuerySpace),n=e.call(this,o);return this._parts.query=i.buildQuery(n||o,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),this.build(!t),this}return void 0!==e&&"string"!=typeof e?(this._parts.query=i.buildQuery(e,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),this.build(!t),this):k.call(this,e,t)},a.setQuery=function(e,t,o){var n=i.parseQuery(this._parts.query,this._parts.escapeQuerySpace);if("string"==typeof e||e instanceof String)n[e]=void 0!==t?t:null;else{if("object"!=typeof e)throw new TypeError("URI.addQuery() accepts an object, string as the name parameter");for(var r in e)s.call(e,r)&&(n[r]=e[r])}return this._parts.query=i.buildQuery(n,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),"string"!=typeof e&&(o=t),this.build(!o),this},a.addQuery=function(e,t,o){var n=i.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return i.addQuery(n,e,void 0===t?null:t),this._parts.query=i.buildQuery(n,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),"string"!=typeof e&&(o=t),this.build(!o),this},a.removeQuery=function(e,t,o){var n=i.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return i.removeQuery(n,e,t),this._parts.query=i.buildQuery(n,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),"string"!=typeof e&&(o=t),this.build(!o),this},a.hasQuery=function(e,t,o){var n=i.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return i.hasQuery(n,e,t,o)},a.setSearch=a.setQuery,a.addSearch=a.addQuery,a.removeSearch=a.removeQuery,a.hasSearch=a.hasQuery,a.normalize=function(){return this._parts.urn?this.normalizeProtocol(!1).normalizePath(!1).normalizeQuery(!1).normalizeFragment(!1).build():this.normalizeProtocol(!1).normalizeHostname(!1).normalizePort(!1).normalizePath(!1).normalizeQuery(!1).normalizeFragment(!1).build()},a.normalizeProtocol=function(e){return"string"==typeof this._parts.protocol&&(this._parts.protocol=this._parts.protocol.toLowerCase(),this.build(!e)),this},a.normalizeHostname=function(o){return this._parts.hostname&&(this.is("IDN")&&e?this._parts.hostname=e.toASCII(this._parts.hostname):this.is("IPv6")&&t&&(this._parts.hostname=t.best(this._parts.hostname)),this._parts.hostname=this._parts.hostname.toLowerCase(),this.build(!o)),this},a.normalizePort=function(e){return"string"==typeof this._parts.protocol&&this._parts.port===i.defaultPorts[this._parts.protocol]&&(this._parts.port=null,this.build(!e)),this},a.normalizePath=function(e){var t,o=this._parts.path;if(!o)return this;if(this._parts.urn)return this._parts.path=i.recodeUrnPath(this._parts.path),this.build(!e),this;if("/"===this._parts.path)return this;var n,r,a="";for("/"!==(o=i.recodePath(o)).charAt(0)&&(t=!0,o="/"+o),"/.."!==o.slice(-3)&&"/."!==o.slice(-2)||(o+="/"),o=o.replace(/(\/(\.\/)+)|(\/\.$)/g,"/").replace(/\/{2,}/g,"/"),t&&(a=o.substring(1).match(/^(\.\.\/)+/)||"")&&(a=a[0]);-1!==(n=o.search(/\/\.\.(\/|$)/));)0!==n?(-1===(r=o.substring(0,n).lastIndexOf("/"))&&(r=n),o=o.substring(0,r)+o.substring(n+3)):o=o.substring(3);return t&&this.is("relative")&&(o=a+o.substring(1)),this._parts.path=o,this.build(!e),this},a.normalizePathname=a.normalizePath,a.normalizeQuery=function(e){return"string"==typeof this._parts.query&&(this._parts.query.length?this.query(i.parseQuery(this._parts.query,this._parts.escapeQuerySpace)):this._parts.query=null,this.build(!e)),this},a.normalizeFragment=function(e){return this._parts.fragment||(this._parts.fragment=null,this.build(!e)),this},a.normalizeSearch=a.normalizeQuery,a.normalizeHash=a.normalizeFragment,a.iso8859=function(){var e=i.encode,t=i.decode;i.encode=escape,i.decode=decodeURIComponent;try{this.normalize()}finally{i.encode=e,i.decode=t}return this},a.unicode=function(){var e=i.encode,t=i.decode;i.encode=g,i.decode=unescape;try{this.normalize()}finally{i.encode=e,i.decode=t}return this},a.readable=function(){var t=this.clone();t.username("").password("").normalize();var o="";if(t._parts.protocol&&(o+=t._parts.protocol+"://"),t._parts.hostname&&(t.is("punycode")&&e?(o+=e.toUnicode(t._parts.hostname),t._parts.port&&(o+=":"+t._parts.port)):o+=t.host()),t._parts.hostname&&t._parts.path&&"/"!==t._parts.path.charAt(0)&&(o+="/"),o+=t.path(!0),t._parts.query){for(var n="",r=0,a=t._parts.query.split("&"),s=a.length;r<s;r++){var l=(a[r]||"").split("=");n+="&"+i.decodeQuery(l[0],this._parts.escapeQuerySpace).replace(/&/g,"%26"),void 0!==l[1]&&(n+="="+i.decodeQuery(l[1],this._parts.escapeQuerySpace).replace(/&/g,"%26"))}o+="?"+n.substring(1)}return o+i.decodeQuery(t.hash(),!0)},a.absoluteTo=function(e){var t,o,n,r=this.clone(),a=["protocol","username","password","hostname","port"];if(this._parts.urn)throw new Error("URNs do not have any generally defined hierarchical components");if(e instanceof i||(e=new i(e)),r._parts.protocol)return r;if(r._parts.protocol=e._parts.protocol,this._parts.hostname)return r;for(o=0;n=a[o];o++)r._parts[n]=e._parts[n];return r._parts.path?(".."===r._parts.path.substring(-2)&&(r._parts.path+="/"),"/"!==r.path().charAt(0)&&(t=(t=e.directory())||(0===e.path().indexOf("/")?"/":""),r._parts.path=(t?t+"/":"")+r._parts.path,r.normalizePath())):(r._parts.path=e._parts.path,r._parts.query||(r._parts.query=e._parts.query)),r.build(),r},a.relativeTo=function(e){var t,o,n,r,a,s=this.clone().normalize();if(s._parts.urn)throw new Error("URNs do not have any generally defined hierarchical components");if(e=new i(e).normalize(),t=s._parts,o=e._parts,r=s.path(),a=e.path(),"/"!==r.charAt(0))throw new Error("URI is already relative");if("/"!==a.charAt(0))throw new Error("Cannot calculate a URI relative to another relative URI");if(t.protocol===o.protocol&&(t.protocol=null),t.username!==o.username||t.password!==o.password)return s.build();if(null!==t.protocol||null!==t.username||null!==t.password)return s.build();if(t.hostname!==o.hostname||t.port!==o.port)return s.build();if(t.hostname=null,t.port=null,r===a)return t.path="",s.build();if(!(n=i.commonPath(r,a)))return s.build();var l=o.path.substring(n.length).replace(/[^\/]*$/,"").replace(/.*?\//g,"../");return t.path=l+t.path.substring(n.length)||"./",s.build()},a.equals=function(e){var t,o,n,r,a,l=this.clone(),c=new i(e),p={};if(l.normalize(),c.normalize(),l.toString()===c.toString())return!0;if(n=l.query(),r=c.query(),l.query(""),c.query(""),l.toString()!==c.toString())return!1;if(n.length!==r.length)return!1;for(a in t=i.parseQuery(n,this._parts.escapeQuerySpace),o=i.parseQuery(r,this._parts.escapeQuerySpace),t)if(s.call(t,a)){if(d(t[a])){if(!m(t[a],o[a]))return!1}else if(t[a]!==o[a])return!1;p[a]=!0}for(a in o)if(s.call(o,a)&&!p[a])return!1;return!0},a.preventInvalidHostname=function(e){return this._parts.preventInvalidHostname=!!e,this},a.duplicateQueryParameters=function(e){return this._parts.duplicateQueryParameters=!!e,this},a.escapeQuerySpace=function(e){return this._parts.escapeQuerySpace=!!e,this},i}))},function(e,t){e.exports=window.wp.hooks},function(e,t){e.exports=window.wp.compose},function(e,t){e.exports=window.wp.url},function(e,t,o){(function(e,n){var r;!function(i){t&&t.nodeType,e&&e.nodeType;var a="object"==typeof n&&n;a.global!==a&&a.window!==a&&a.self;var s,l=2147483647,c=/^xn--/,d=/[^\x20-\x7E]/,p=/[\x2E\u3002\uFF0E\uFF61]/g,u={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},m=Math.floor,h=String.fromCharCode;function b(e){throw new RangeError(u[e])}function g(e,t){for(var o=e.length,n=[];o--;)n[o]=t(e[o]);return n}function f(e,t){var o=e.split("@"),n="";return o.length>1&&(n=o[0]+"@",e=o[1]),n+g((e=e.replace(p,".")).split("."),t).join(".")}function v(e){for(var t,o,n=[],r=0,i=e.length;r<i;)(t=e.charCodeAt(r++))>=55296&&t<=56319&&r<i?56320==(64512&(o=e.charCodeAt(r++)))?n.push(((1023&t)<<10)+(1023&o)+65536):(n.push(t),r--):n.push(t);return n}function w(e){return g(e,(function(e){var t="";return e>65535&&(t+=h((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+h(e)})).join("")}function y(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function O(e,t,o){var n=0;for(e=o?m(e/700):e>>1,e+=m(e/t);e>455;n+=36)e=m(e/35);return m(n+36*e/(e+38))}function j(e){var t,o,n,r,i,a,s,c,d,p,u,h=[],g=e.length,f=0,v=128,y=72;for((o=e.lastIndexOf("-"))<0&&(o=0),n=0;n<o;++n)e.charCodeAt(n)>=128&&b("not-basic"),h.push(e.charCodeAt(n));for(r=o>0?o+1:0;r<g;){for(i=f,a=1,s=36;r>=g&&b("invalid-input"),((c=(u=e.charCodeAt(r++))-48<10?u-22:u-65<26?u-65:u-97<26?u-97:36)>=36||c>m((l-f)/a))&&b("overflow"),f+=c*a,!(c<(d=s<=y?1:s>=y+26?26:s-y));s+=36)a>m(l/(p=36-d))&&b("overflow"),a*=p;y=O(f-i,t=h.length+1,0==i),m(f/t)>l-v&&b("overflow"),v+=m(f/t),f%=t,h.splice(f++,0,v)}return w(h)}function C(e){var t,o,n,r,i,a,s,c,d,p,u,g,f,w,j,C=[];for(g=(e=v(e)).length,t=128,o=0,i=72,a=0;a<g;++a)(u=e[a])<128&&C.push(h(u));for(n=r=C.length,r&&C.push("-");n<g;){for(s=l,a=0;a<g;++a)(u=e[a])>=t&&u<s&&(s=u);for(s-t>m((l-o)/(f=n+1))&&b("overflow"),o+=(s-t)*f,t=s,a=0;a<g;++a)if((u=e[a])<t&&++o>l&&b("overflow"),u==t){for(c=o,d=36;!(c<(p=d<=i?1:d>=i+26?26:d-i));d+=36)j=c-p,w=36-p,C.push(h(y(p+j%w,0))),c=m(j/w);C.push(h(y(c,0))),i=O(o,f,n==r),o=0,++n}++o,++t}return C.join("")}s={version:"1.3.2",ucs2:{decode:v,encode:w},decode:j,encode:C,toASCII:function(e){return f(e,(function(e){return d.test(e)?"xn--"+C(e):e}))},toUnicode:function(e){return f(e,(function(e){return c.test(e)?j(e.slice(4).toLowerCase()):e}))}},void 0===(r=function(){return s}.call(t,o,t,e))||(e.exports=r)}()}).call(this,o(22)(e),o(23))},function(e,t,o){var n,r;!function(i,a){"use strict";e.exports?e.exports=a():void 0===(r="function"==typeof(n=a)?n.call(t,o,t,e):n)||(e.exports=r)}(0,(function(e){"use strict";var t=e&&e.IPv6;return{best:function(e){var t,o,n=e.toLowerCase().split(":"),r=n.length,i=8;for(""===n[0]&&""===n[1]&&""===n[2]?(n.shift(),n.shift()):""===n[0]&&""===n[1]?n.shift():""===n[r-1]&&""===n[r-2]&&n.pop(),-1!==n[(r=n.length)-1].indexOf(".")&&(i=7),t=0;t<r&&""!==n[t];t++);if(t<i)for(n.splice(t,1,"0000");n.length<i;)n.splice(t,0,"0000");for(var a=0;a<i;a++){o=n[a].split("");for(var s=0;s<3&&"0"===o[0]&&o.length>1;s++)o.splice(0,1);n[a]=o.join("")}var l=-1,c=0,d=0,p=-1,u=!1;for(a=0;a<i;a++)u?"0"===n[a]?d+=1:(u=!1,d>c&&(l=p,c=d)):"0"===n[a]&&(u=!0,p=a,d=1);d>c&&(l=p,c=d),c>1&&n.splice(l,c,""),r=n.length;var m="";for(""===n[0]&&(m=":"),a=0;a<r&&(m+=n[a],a!==r-1);a++)m+=":";return""===n[r-1]&&(m+=":"),m},noConflict:function(){return e.IPv6===this&&(e.IPv6=t),this}}}))},function(e,t,o){var n,r;!function(i,a){"use strict";e.exports?e.exports=a():void 0===(r="function"==typeof(n=a)?n.call(t,o,t,e):n)||(e.exports=r)}(0,(function(e){"use strict";var t=e&&e.SecondLevelDomains,o={list:{ac:" com gov mil net org ",ae:" ac co gov mil name net org pro sch ",af:" com edu gov net org ",al:" com edu gov mil net org ",ao:" co ed gv it og pb ",ar:" com edu gob gov int mil net org tur ",at:" ac co gv or ",au:" asn com csiro edu gov id net org ",ba:" co com edu gov mil net org rs unbi unmo unsa untz unze ",bb:" biz co com edu gov info net org store tv ",bh:" biz cc com edu gov info net org ",bn:" com edu gov net org ",bo:" com edu gob gov int mil net org tv ",br:" adm adv agr am arq art ato b bio blog bmd cim cng cnt com coop ecn edu eng esp etc eti far flog fm fnd fot fst g12 ggf gov imb ind inf jor jus lel mat med mil mus net nom not ntr odo org ppg pro psc psi qsl rec slg srv tmp trd tur tv vet vlog wiki zlg ",bs:" com edu gov net org ",bz:" du et om ov rg ",ca:" ab bc mb nb nf nl ns nt nu on pe qc sk yk ",ck:" biz co edu gen gov info net org ",cn:" ac ah bj com cq edu fj gd gov gs gx gz ha hb he hi hl hn jl js jx ln mil net nm nx org qh sc sd sh sn sx tj tw xj xz yn zj ",co:" com edu gov mil net nom org ",cr:" ac c co ed fi go or sa ",cy:" ac biz com ekloges gov ltd name net org parliament press pro tm ",do:" art com edu gob gov mil net org sld web ",dz:" art asso com edu gov net org pol ",ec:" com edu fin gov info med mil net org pro ",eg:" com edu eun gov mil name net org sci ",er:" com edu gov ind mil net org rochest w ",es:" com edu gob nom org ",et:" biz com edu gov info name net org ",fj:" ac biz com info mil name net org pro ",fk:" ac co gov net nom org ",fr:" asso com f gouv nom prd presse tm ",gg:" co net org ",gh:" com edu gov mil org ",gn:" ac com gov net org ",gr:" com edu gov mil net org ",gt:" com edu gob ind mil net org ",gu:" com edu gov net org ",hk:" com edu gov idv net org ",hu:" 2000 agrar bolt casino city co erotica erotika film forum games hotel info ingatlan jogasz konyvelo lakas media news org priv reklam sex shop sport suli szex tm tozsde utazas video ",id:" ac co go mil net or sch web ",il:" ac co gov idf k12 muni net org ",in:" ac co edu ernet firm gen gov i ind mil net nic org res ",iq:" com edu gov i mil net org ",ir:" ac co dnssec gov i id net org sch ",it:" edu gov ",je:" co net org ",jo:" com edu gov mil name net org sch ",jp:" ac ad co ed go gr lg ne or ",ke:" ac co go info me mobi ne or sc ",kh:" com edu gov mil net org per ",ki:" biz com de edu gov info mob net org tel ",km:" asso com coop edu gouv k medecin mil nom notaires pharmaciens presse tm veterinaire ",kn:" edu gov net org ",kr:" ac busan chungbuk chungnam co daegu daejeon es gangwon go gwangju gyeongbuk gyeonggi gyeongnam hs incheon jeju jeonbuk jeonnam k kg mil ms ne or pe re sc seoul ulsan ",kw:" com edu gov net org ",ky:" com edu gov net org ",kz:" com edu gov mil net org ",lb:" com edu gov net org ",lk:" assn com edu gov grp hotel int ltd net ngo org sch soc web ",lr:" com edu gov net org ",lv:" asn com conf edu gov id mil net org ",ly:" com edu gov id med net org plc sch ",ma:" ac co gov m net org press ",mc:" asso tm ",me:" ac co edu gov its net org priv ",mg:" com edu gov mil nom org prd tm ",mk:" com edu gov inf name net org pro ",ml:" com edu gov net org presse ",mn:" edu gov org ",mo:" com edu gov net org ",mt:" com edu gov net org ",mv:" aero biz com coop edu gov info int mil museum name net org pro ",mw:" ac co com coop edu gov int museum net org ",mx:" com edu gob net org ",my:" com edu gov mil name net org sch ",nf:" arts com firm info net other per rec store web ",ng:" biz com edu gov mil mobi name net org sch ",ni:" ac co com edu gob mil net nom org ",np:" com edu gov mil net org ",nr:" biz com edu gov info net org ",om:" ac biz co com edu gov med mil museum net org pro sch ",pe:" com edu gob mil net nom org sld ",ph:" com edu gov i mil net ngo org ",pk:" biz com edu fam gob gok gon gop gos gov net org web ",pl:" art bialystok biz com edu gda gdansk gorzow gov info katowice krakow lodz lublin mil net ngo olsztyn org poznan pwr radom slupsk szczecin torun warszawa waw wroc wroclaw zgora ",pr:" ac biz com edu est gov info isla name net org pro prof ",ps:" com edu gov net org plo sec ",pw:" belau co ed go ne or ",ro:" arts com firm info nom nt org rec store tm www ",rs:" ac co edu gov in org ",sb:" com edu gov net org ",sc:" com edu gov net org ",sh:" co com edu gov net nom org ",sl:" com edu gov net org ",st:" co com consulado edu embaixada gov mil net org principe saotome store ",sv:" com edu gob org red ",sz:" ac co org ",tr:" av bbs bel biz com dr edu gen gov info k12 name net org pol tel tsk tv web ",tt:" aero biz cat co com coop edu gov info int jobs mil mobi museum name net org pro tel travel ",tw:" club com ebiz edu game gov idv mil net org ",mu:" ac co com gov net or org ",mz:" ac co edu gov org ",na:" co com ",nz:" ac co cri geek gen govt health iwi maori mil net org parliament school ",pa:" abo ac com edu gob ing med net nom org sld ",pt:" com edu gov int net nome org publ ",py:" com edu gov mil net org ",qa:" com edu gov mil net org ",re:" asso com nom ",ru:" ac adygeya altai amur arkhangelsk astrakhan bashkiria belgorod bir bryansk buryatia cbg chel chelyabinsk chita chukotka chuvashia com dagestan e-burg edu gov grozny int irkutsk ivanovo izhevsk jar joshkar-ola kalmykia kaluga kamchatka karelia kazan kchr kemerovo khabarovsk khakassia khv kirov koenig komi kostroma kranoyarsk kuban kurgan kursk lipetsk magadan mari mari-el marine mil mordovia mosreg msk murmansk nalchik net nnov nov novosibirsk nsk omsk orenburg org oryol penza perm pp pskov ptz rnd ryazan sakhalin samara saratov simbirsk smolensk spb stavropol stv surgut tambov tatarstan tom tomsk tsaritsyn tsk tula tuva tver tyumen udm udmurtia ulan-ude vladikavkaz vladimir vladivostok volgograd vologda voronezh vrn vyatka yakutia yamal yekaterinburg yuzhno-sakhalinsk ",rw:" ac co com edu gouv gov int mil net ",sa:" com edu gov med net org pub sch ",sd:" com edu gov info med net org tv ",se:" a ac b bd c d e f g h i k l m n o org p parti pp press r s t tm u w x y z ",sg:" com edu gov idn net org per ",sn:" art com edu gouv org perso univ ",sy:" com edu gov mil net news org ",th:" ac co go in mi net or ",tj:" ac biz co com edu go gov info int mil name net nic org test web ",tn:" agrinet com defense edunet ens fin gov ind info intl mincom nat net org perso rnrt rns rnu tourism ",tz:" ac co go ne or ",ua:" biz cherkassy chernigov chernovtsy ck cn co com crimea cv dn dnepropetrovsk donetsk dp edu gov if in ivano-frankivsk kh kharkov kherson khmelnitskiy kiev kirovograd km kr ks kv lg lugansk lutsk lviv me mk net nikolaev od odessa org pl poltava pp rovno rv sebastopol sumy te ternopil uzhgorod vinnica vn zaporizhzhe zhitomir zp zt ",ug:" ac co go ne or org sc ",uk:" ac bl british-library co cym gov govt icnet jet lea ltd me mil mod national-library-scotland nel net nhs nic nls org orgn parliament plc police sch scot soc ",us:" dni fed isa kids nsn ",uy:" com edu gub mil net org ",ve:" co com edu gob info mil net org web ",vi:" co com k12 net org ",vn:" ac biz com edu gov health info int name net org pro ",ye:" co com gov ltd me net org plc ",yu:" ac co edu gov org ",za:" ac agric alt bourse city co cybernet db edu gov grondar iaccess imt inca landesign law mil net ngo nis nom olivetti org pix school tm web ",zm:" ac co com edu gov net org sch ",com:"ar br cn de eu gb gr hu jpn kr no qc ru sa se uk us uy za ",net:"gb jp se uk ",org:"ae",de:"com "},has:function(e){var t=e.lastIndexOf(".");if(t<=0||t>=e.length-1)return!1;var n=e.lastIndexOf(".",t-1);if(n<=0||n>=t-1)return!1;var r=o.list[e.slice(t+1)];return!!r&&r.indexOf(" "+e.slice(n+1,t)+" ")>=0},is:function(e){var t=e.lastIndexOf(".");if(t<=0||t>=e.length-1)return!1;if(e.lastIndexOf(".",t-1)>=0)return!1;var n=o.list[e.slice(t+1)];return!!n&&n.indexOf(" "+e.slice(0,t)+" ")>=0},get:function(e){var t=e.lastIndexOf(".");if(t<=0||t>=e.length-1)return null;var n=e.lastIndexOf(".",t-1);if(n<=0||n>=t-1)return null;var r=o.list[e.slice(t+1)];return r?r.indexOf(" "+e.slice(n+1,t)+" ")<0?null:e.slice(n+1):null},noConflict:function(){return e.SecondLevelDomains===this&&(e.SecondLevelDomains=t),this}};return o}))},function(e,t){e.exports=window.wp.tokenList},function(e,t){e.exports=window.React},function(e,t){e.exports=window.wp.a11y},,function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t){var o;o=function(){return this}();try{o=o||new Function("return this")()}catch(e){"object"==typeof window&&(o=window)}e.exports=o},,function(e,t,o){"use strict";o.r(t);var n=o(10),r=o.n(n),i=o(0),a=o(3),s=(o(21),o(8)),l=Object(i.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 225.43 225.56"},Object(i.createElement)(s.Path,{d:"M947.67,465.69h72a18,18,0,0,0,18-18v-72a18,18,0,0,0-18-18h-72a18,18,0,0,0-18,18v12a6,6,0,0,0,12,0v-12a6,6,0,0,1,6-6h72a6,6,0,0,1,6,6v72a6,6,0,0,1-6,6h-72a6,6,0,0,1-6-6v-36a6,6,0,1,0-12,0v36A18,18,0,0,0,947.67,465.69Z",transform:"translate(-812.57 -357.69)"}),Object(i.createElement)(s.Path,{d:"M984,505a24,24,0,1,0,22.17,14.82A24,24,0,0,0,984,505Zm4.59,35.09A12,12,0,1,1,996,529,12,12,0,0,1,988.59,540.09Z",transform:"translate(-812.57 -357.69)"}),Object(i.createElement)(s.Path,{d:"M1032,535a6,6,0,0,0,6-6V493a18,18,0,0,0-18-18H948a18,18,0,0,0-18,18v72a18,18,0,0,0,18,18h72a18,18,0,0,0,18-18V553a6,6,0,0,0-12,0v12a6,6,0,0,1-6,6H948a6,6,0,0,1-6-6V493a6,6,0,0,1,6-6h72a6,6,0,0,1,6,6v36A6,6,0,0,0,1032,535Z",transform:"translate(-812.57 -357.69)"}),Object(i.createElement)(s.Path,{d:"M902.57,475.25h-72a18,18,0,0,0-18,18v12a6,6,0,1,0,12,0v-12a6,6,0,0,1,6-6h72a6,6,0,0,1,6,6v72a6,6,0,0,1-6,6h-72a6,6,0,0,1-6-6v-36a6,6,0,0,0-12,0v36a18,18,0,0,0,18,18h72a18,18,0,0,0,18-18v-72A18,18,0,0,0,902.57,475.25Z",transform:"translate(-812.57 -357.69)"}),Object(i.createElement)(s.Path,{d:"M893.7,406.66l-36-18A6,6,0,0,0,849,394v36a6,6,0,0,0,6,6,5.92,5.92,0,0,0,2.7-.66l36-18a6,6,0,0,0,0-10.68ZM861,420.28V403.72L877.56,412Z",transform:"translate(-812.57 -357.69)"}),Object(i.createElement)(s.Path,{d:"M846.34,362.11a54,54,0,1,0,58.84,11.71A54,54,0,0,0,846.34,362.11ZM896.7,441.7a42,42,0,1,1,9.1-45.77A42,42,0,0,1,896.7,441.7Z",transform:"translate(-812.57 -357.69)"}),Object(i.createElement)(s.Path,{d:"M859.91,504.71v4.5c0,3.24-2.14,5.7-6.59,5.7h-2.13v9.36h7.52v15c0,7,5.38,11.26,14.19,11.26a18.45,18.45,0,0,0,6.75-1v-8.87a19.38,19.38,0,0,1-3.42.35c-2.82,0-4.7-.77-4.7-3.66V524.27h8.29v-9.36h-8.29v-10.2Z",transform:"translate(-812.57 -357.69)"}),Object(i.createElement)(s.Path,{d:"M994.39,395.08a17.74,17.74,0,0,1,3.85.35v-8.72a18.83,18.83,0,0,0-6.16-.78c-10.34,0-16.23,5.49-16.23,13.52v3h-6.76v9h6.76v26h13v-26h9.23v-9h-9.23V399.8C988.84,395.93,992.08,395.08,994.39,395.08Z",transform:"translate(-812.57 -357.69)"})),c=o(4),d=o.n(c),p=o(11),u=o.n(p),m=o(5),h=o.n(m),b=o(2),g=o(9),f=o(1),v=o(6),w=o(13),y=o(18),O=o.n(y);const{icons:j}=wpzSocialIconsBlock;var C=class{static filterIcons(e){const t={};if(""===e)return j;if("wordpress"===e.toLowerCase()){const e={};return Object(a.forEach)(j,(t,o)=>{e[o]=t.filter(e=>Object(a.isObject)(e)?"wordpress"===e.icon||"wordpress-alt"===e.icon:"wordpress"===e||"wordpress-alt"===e)}),e}return Object(a.forEach)(j,(o,n)=>{t[n]=o.filter(t=>Object(a.isObject)(t)?t.icon.indexOf(e)>-1:t.indexOf(e)>-1)}),t}static filterUrlScheme(e){const t={mailto:"mail",viber:"viber",skype:"skype",tg:"tg",tel:"mobile",sms:"comments",fax:"fax",news:"newspaper-o",feed:"rss"},o={"feedburner.google.com":"rss","ok.ru":"odnoklassniki","yt.com":"youtube","fb.com":"facebook","t.me":"telegram","m.me":"messenger","wa.me":"whatsapp","zen.yandex.com":"zen-yandex","zen.yandex.ru":"zen-yandex","bsky.app":"bluesky","wordpress.org":"wordpress","wordpress.com":"wordpress"},n={wordpress:"wordpress",twitter:"twitter",x:"x",facebook:"facebook",instagram:"instagram",linkedin:"linkedin",youtube:"youtube",pinterest:"pinterest",github:"github",spotify:"spotify",tiktok:"tiktok"},r=new u.a(e),i=r.hostname();if(o[i])return o[i];let s=i?i.split("."):[],l="";if(s.length>=2){l=s[0];let e=s[s.length-2];if(n[l])return n[l];if(n[e])return n[e]}l=void 0!==r.domain()?r.domain().split(".").shift():r.scheme();const c=Object(a.findKey)(t,(e,t)=>t===r.scheme());l=void 0!==c?t[c]:l;const d=Object(a.findKey)(o,(e,t)=>t===r.hostname());return void 0!==d?o[d]:l}static hyphensToSpaces(e){return e.replace(/-/g," ")}static capitalize(e){return"string"!=typeof e?"":e.charAt(0).toUpperCase()+e.slice(1)}static humanizeIconLabel(e){return this.hyphensToSpaces(this.capitalize(e))}static getBlockStyle(e){const t=/is-style-(\S*)/g.exec(e);return null!==t?t[1]:null}static getIconClassList(e,t){const o={"social-icon":!0};return o[e]=!0,["fab","fas","far"].includes(e)?o["fa-"+t]=!0:o[e+"-"+t]=!0,o}static addPercentagePipe(e){return e+"%"}static addPercentageHalfPipe(e){return`${.5*e}%/${e}%`}static addPixelsPipe(e){return e+"px"}static arrayMoveMutate(e,t,o){e.splice(o<0?e.length+o:o,0,e.splice(t,1)[0])}static arrayMove(e,t,o){return e=e.slice(),this.arrayMoveMutate(e,t,o),e}static getActiveStyle(e,t){for(const o of new O.a(t).values()){if(-1===o.indexOf("is-style-"))continue;const t=o.substring(9),n=Object(a.find)(e,{name:t});if(n)return n}return Object(a.find)(e,["isDefault",!0])}};class z extends i.Component{constructor(...e){super(...e),d()(this,"state",{color:this.props.color,showColorPicker:!1}),d()(this,"onClickColorIndicatorHandler",()=>{this.setState({showColorPicker:!0})}),d()(this,"setColorPickerHandler",e=>{this.setState({color:e.hex},()=>{this.props.save(this.state)})}),d()(this,"focusOutsideHandler",()=>{this.setState({showColorPicker:!1})})}render(){return Object(i.createElement)(f.ColorIndicator,{title:this.props.title,className:this.props.className,colorValue:this.state.color,onClick:this.onClickColorIndicatorHandler},this.state.showColorPicker&&Object(i.createElement)(f.Popover,{position:"middle right",onFocusOutside:this.focusOutsideHandler},Object(i.createElement)("div",{className:"popover-content"},Object(i.createElement)(f.ColorPicker,{className:"wpzoom-color-picker",disableAlpha:!0,color:this.state.color,onChangeComplete:this.setColorPickerHandler}))))}}var E=z;class k extends i.Component{constructor(...e){super(...e),d()(this,"state",{isHover:!1}),d()(this,"onMouseEnterCallback",()=>{this.setState({isHover:!0})}),d()(this,"onMouseLeaveCallback",()=>{this.setState({isHover:!1})})}render(){return Object(i.createElement)("span",{ref:this.props.setRef,onClick:()=>this.props.click(this.props.icon),className:h()(C.getIconClassList(this.props.iconKit,this.props.icon),{selected:this.props.isSelected}),style:{backgroundColor:this.state.isHover?this.props.hoverColor:this.props.color},onMouseEnter:this.onMouseEnterCallback,onMouseLeave:this.onMouseLeaveCallback})}}var _=k,I=o(19),x=o.n(I);const{iconKitsCategories:A}=wpzSocialIconsBlock;class S extends i.Component{constructor(e){super(e),d()(this,"state",{modalShow:this.props.show,modalUrl:this.props.url,modalLabel:this.props.label,modalIcon:this.props.icon,modalIconKit:this.props.iconKit,modalColor:this.props.color,modalHoverColor:this.props.hoverColor,modalSearch:""}),d()(this,"urlTextControlHandler",e=>{const t={modalUrl:e=Object(a.isEmpty)(new u.a(e).protocol())?"https://"+e:e},o=C.filterUrlScheme(e);if(o){const e=C.filterIcons(o);e[this.state.modalIconKit].length&&(t.modalIcon=e[this.state.modalIconKit][0].icon)}this.setState(t)}),d()(this,"labelTextControlHandler",e=>{this.setState({modalLabel:e})}),d()(this,"searchTextControlHandler",e=>{this.setState({modalSearch:e})}),d()(this,"saveColorPickerHandler",e=>{this.setState({modalColor:e.color})}),d()(this,"saveHoverColorPickerHandler",e=>{this.setState({modalHoverColor:e.color})}),d()(this,"onClickIconHandler",e=>{this.setState({modalIcon:e,modalLabel:C.humanizeIconLabel(e)})}),d()(this,"scrollMe",()=>{const e=this.myRef.current;null!==e&&e.scrollIntoView(!0)}),this.myRef=x.a.createRef(),this.scrollMeDebounced=Object(a.debounce)(this.scrollMe,1e3)}static getDerivedStateFromProps(e,t){return e.show!==t.modalShow?{modalShow:e.show,modalUrl:e.url,modalLabel:e.label,modalIcon:e.icon,modalIconKit:e.iconKit,modalColor:e.color,modalHoverColor:e.hoverColor,modalSearch:""}:null}componentDidUpdate(){this.scrollMeDebounced()}render(){if(!this.state.modalShow)return null;const e=Object.keys(C.filterIcons(this.state.modalSearch)).map((e,t)=>Object(i.createElement)("div",{key:t,className:h()("option-item","icon-kit",e+"-wrapper"),style:{display:this.state.modalIconKit===e?"block":"none"}},C.filterIcons(this.state.modalSearch)[e].map((t,o)=>Object(i.createElement)(_,{key:o,setRef:this.state.modalIcon===t.icon&&this.state.modalIconKit===e?this.myRef:null,color:this.state.modalColor,hoverColor:this.state.modalHoverColor,icon:t.icon,click:this.onClickIconHandler,isSelected:this.state.modalIcon===t.icon,iconKit:e}))));return Object(i.createElement)(f.Modal,{className:h()("wpzoom-social-icons-modal",this.props.className),style:{"--wpz-social-icons-block-modal-item-border-radius":C.addPixelsPipe(this.props.iconsBorderRadius)},title:Object(b.__)("Select Icon","social-icons-widget-by-wpzoom"),shouldCloseOnClickOutside:!1,onRequestClose:()=>this.props.onClose(this.state)},Object(i.createElement)("div",{className:"modal-content"},Object(i.createElement)("div",{className:"option-item"},Object(i.createElement)("div",{className:"label"},Object(b.__)("URL","social-icons-widget-by-wpzoom")),Object(i.createElement)("div",{className:"option-wrapper"},Object(i.createElement)(f.TextControl,{value:this.state.modalUrl,onChange:this.urlTextControlHandler}))),Object(i.createElement)("div",{className:"option-item"},Object(i.createElement)("div",{className:"label"},Object(b.__)("Label","social-icons-widget-by-wpzoom")),Object(i.createElement)("div",{className:"option-wrapper"},Object(i.createElement)(f.TextControl,{value:this.state.modalLabel,onChange:this.labelTextControlHandler}))),Object(i.createElement)("div",{className:"option-item"},Object(i.createElement)("div",{className:"label"},Object(b.__)("Pick icon color","social-icons-widget-by-wpzoom")),Object(i.createElement)("div",{className:"option-wrapper"},Object(i.createElement)(E,{save:this.saveColorPickerHandler,color:this.state.modalColor}))),Object(i.createElement)("div",{className:"option-item"},Object(i.createElement)("div",{className:"label"},Object(b.__)("Pick hover color","social-icons-widget-by-wpzoom")),Object(i.createElement)("div",{className:"option-wrapper"},Object(i.createElement)(E,{save:this.saveHoverColorPickerHandler,color:this.state.modalHoverColor}))),Object(i.createElement)("div",{className:"option-item"},Object(i.createElement)("div",{className:"label"},Object(b.__)("Select Icon Kit","social-icons-widget-by-wpzoom")),Object(i.createElement)("div",{className:"option-wrapper"},Object(i.createElement)(f.SelectControl,{value:this.state.modalIconKit,onChange:e=>{this.setState({modalIconKit:e})},options:Object.values(A)}))),Object(i.createElement)("div",{className:"option-item icon-kits-wrapper"},e)),Object(i.createElement)("div",{className:"modal-controls"},Object(i.createElement)("div",{className:"modal-search"},Object(i.createElement)(f.TextControl,{placeholder:Object(b.__)("Type to search icon","social-icons-widget-by-wpzoom"),value:this.state.modalSearch,onChange:this.searchTextControlHandler})),Object(i.createElement)("div",{className:"modal-buttons"},this.props.showDeleteBtn&&Object(i.createElement)(f.Button,{className:"button-link-delete is-button",onClick:()=>this.props.delete()},Object(b.__)("Delete Icon","social-icons-widget-by-wpzoom")),Object(i.createElement)(f.Button,{isPrimary:!0,onClick:()=>this.props.save(this.state)},Object(b.__)("Save","social-icons-widget-by-wpzoom")))))}}var P=S;class B extends i.Component{constructor(e){super(...arguments),d()(this,"state",{selectedIcons:JSON.parse(JSON.stringify(this.props.attributes.selectedIcons))}),d()(this,"setAlignment",e=>{this.props.setAttributes({iconsAlignment:e})})}static getDerivedStateFromProps(e,t){return t.selectedIcons.length!==e.attributes.selectedIcons.length?{selectedIcons:JSON.parse(JSON.stringify(e.attributes.selectedIcons))}:null}getBlockStyle(e){const t=C.getBlockStyle(e);return null===t?"with-canvas-round":t}render(){const e=[{name:Object(b.__)("Turquoise","social-icons-widget-by-wpzoom"),color:"#4ECDC4"},{name:Object(b.__)("Charcoal","social-icons-widget-by-wpzoom"),color:"#2E3131"},{name:Object(b.__)("White","social-icons-widget-by-wpzoom"),color:"#fff"},{name:Object(b.__)("Dodger blue","social-icons-widget-by-wpzoom"),color:"#22A7F0"},{name:Object(b.__)("Red","social-icons-widget-by-wpzoom"),color:"#D91E18"},{name:Object(b.__)("Orange","social-icons-widget-by-wpzoom"),color:"#F89406"}],{setAttributes:t}=this.props,o="left"===this.props.attributes.iconsAlignment,n="center"===this.props.attributes.iconsAlignment,r="right"===this.props.attributes.iconsAlignment;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(v.InspectorControls,{group:"settings"},Object(i.createElement)(f.PanelBody,{title:Object(b.__)("Icon Labels Settings","social-icons-widget-by-wpzoom")},Object(i.createElement)(f.PanelRow,null,Object(i.createElement)("label",{htmlFor:"show-icon-labels"},Object(b.__)(" Show icon labels?","social-icons-widget-by-wpzoom")),Object(i.createElement)(f.FormToggle,{id:"show-icon-labels",label:Object(b.__)(" Show icon labels?","social-icons-widget-by-wpzoom"),checked:this.props.attributes.showIconsLabel,onChange:()=>{t({showIconsLabel:!this.props.attributes.showIconsLabel})}})),Object(i.createElement)(f.PanelRow,null,Object(i.createElement)("label",{htmlFor:"open-link-in-new-tab"},Object(b.__)("Open links in new tab?","social-icons-widget-by-wpzoom")),Object(i.createElement)(f.FormToggle,{id:"open-link-in-new-tab",label:Object(b.__)("Open links in new tab?","social-icons-widget-by-wpzoom"),checked:this.props.attributes.openLinkInNewTab,onChange:()=>{t({openLinkInNewTab:!this.props.attributes.openLinkInNewTab,noopener:!this.props.attributes.noopener})}})),Object(i.createElement)(i.Fragment,null,Object(i.createElement)(f.PanelRow,null,Object(i.createElement)("label",{htmlFor:"add-nofollow-to-links"},Object(b.__)('Add rel="nofollow" to links',"social-icons-widget-by-wpzoom")),Object(i.createElement)(f.FormToggle,{id:"add-nofollow-to-links",label:Object(b.__)('Add rel="nofollow" to links',"social-icons-widget-by-wpzoom"),checked:this.props.attributes.nofollow,onChange:()=>{t({nofollow:!this.props.attributes.nofollow})}})),Object(i.createElement)(f.PanelRow,null,Object(i.createElement)("label",{htmlFor:"add-noreferrer-to-links"},Object(b.__)('Add rel="noreferrer" to links',"social-icons-widget-by-wpzoom")),Object(i.createElement)(f.FormToggle,{id:"add-noreferrer-to-links",label:Object(b.__)('Add rel="noreferrer" to links',"social-icons-widget-by-wpzoom"),checked:this.props.attributes.noreferrer,onChange:()=>{t({noreferrer:!this.props.attributes.noreferrer})}})),Object(i.createElement)(f.PanelRow,null,Object(i.createElement)("label",{htmlFor:"add-noopener-to-links"},Object(b.__)('Add rel="noopener" to links',"social-icons-widget-by-wpzoom")),Object(i.createElement)(f.FormToggle,{id:"add-noopener-to-links",label:Object(b.__)('Add rel="noopener" to links',"social-icons-widget-by-wpzoom"),checked:this.props.attributes.noopener,onChange:()=>{t({noopener:!this.props.attributes.noopener})}})),Object(i.createElement)(f.PanelRow,null,Object(i.createElement)("label",{htmlFor:"add-noopener-to-links"},Object(b.__)('Add rel="me" to links',"social-icons-widget-by-wpzoom")),Object(i.createElement)(f.FormToggle,{id:"add-noopener-to-links",label:Object(b.__)('Add rel="me" to links',"social-icons-widget-by-wpzoom"),checked:this.props.attributes.relme,onChange:()=>{t({relme:!this.props.attributes.relme})}}))))),Object(i.createElement)(v.InspectorControls,{group:"styles"},Object(i.createElement)(f.PanelBody,{title:Object(b.__)("Icon Styling Settings","social-icons-widget-by-wpzoom")},this.props.attributes.iconsHasBorder?Object(i.createElement)(i.Fragment,null,Object(i.createElement)(f.PanelRow,null,Object(i.createElement)("label",{htmlFor:"icons-border-radius"},Object(b.__)("Icons Border Radius:","social-icons-widget-by-wpzoom"))),Object(i.createElement)(f.PanelRow,null,Object(i.createElement)(f.RangeControl,{id:"icons-border-radius",min:0,max:55,value:this.props.attributes.iconsBorderRadius,onChange:e=>{t({iconsBorderRadius:e})}}))):null,Object(i.createElement)(f.PanelRow,null,Object(i.createElement)("label",{htmlFor:"add-noopener-to-links"},Object(b.__)("Icons Alignment:","social-icons-widget-by-wpzoom"))),Object(i.createElement)(f.PanelRow,null,Object(i.createElement)(f.ButtonGroup,null,Object(i.createElement)(f.Button,{onClick:()=>this.setAlignment("left"),isPrimary:o,isSecondary:!o},"Left"),Object(i.createElement)(f.Button,{onClick:()=>this.setAlignment("center"),isPrimary:n,isSecondary:!n},"Center"),Object(i.createElement)(f.Button,{onClick:()=>this.setAlignment("right"),isPrimary:r,isSecondary:!r},"Right"))),Object(i.createElement)(f.PanelRow,null,Object(i.createElement)("label",{htmlFor:"icons-font-size"},Object(b.__)("Icons Font Size:","social-icons-widget-by-wpzoom"))),Object(i.createElement)(f.PanelRow,null,Object(i.createElement)(f.RangeControl,{id:"icons-font-size",min:0,max:200,value:this.props.attributes.iconsFontSize,onChange:e=>{t({iconsFontSize:e})}})),this.props.attributes.showIconsLabel?Object(i.createElement)(i.Fragment,null,Object(i.createElement)(f.PanelRow,null,Object(i.createElement)("label",{htmlFor:"icons-label-font-size"},Object(b.__)("Icons Label Font Size:","social-icons-widget-by-wpzoom"))),Object(i.createElement)(f.PanelRow,null,Object(i.createElement)(f.RangeControl,{id:"icons-label-font-size",min:0,max:200,value:this.props.attributes.iconsLabelFontSize,onChange:e=>{t({iconsLabelFontSize:e})}}))):null,Object(i.createElement)(f.PanelRow,null,Object(i.createElement)("label",{htmlFor:"icons-padding"},Object(b.__)("Icons Padding Horizontal:","social-icons-widget-by-wpzoom"))),Object(i.createElement)(f.PanelRow,null,Object(i.createElement)(f.RangeControl,{id:"icons-padding-horizontal",beforeIcon:"image-flip-horizontal",value:this.props.attributes.iconsPaddingHorizontal,onChange:e=>t({iconsPaddingHorizontal:e}),min:0,max:200})),Object(i.createElement)(f.PanelRow,null,Object(i.createElement)("label",{htmlFor:"icons-padding"},Object(b.__)("Icons Padding Vertical:","social-icons-widget-by-wpzoom"))),Object(i.createElement)(f.PanelRow,null,Object(i.createElement)(f.RangeControl,{id:"icons-padding-vertical",beforeIcon:"image-flip-vertical",value:this.props.attributes.iconsPaddingVertical,onChange:e=>t({iconsPaddingVertical:e}),min:0,max:200})),Object(i.createElement)(f.PanelRow,null,Object(i.createElement)("label",{htmlFor:"icons-margin-horizontal"},Object(b.__)("Icons Margin Horizontal:","social-icons-widget-by-wpzoom"))),Object(i.createElement)(f.PanelRow,null,Object(i.createElement)(f.RangeControl,{id:"icons-margin-horizontal",beforeIcon:"image-flip-horizontal",value:this.props.attributes.iconsMarginHorizontal,onChange:e=>t({iconsMarginHorizontal:e}),min:0,max:200})),Object(i.createElement)(f.PanelRow,null,Object(i.createElement)("label",{htmlFor:"icons-margin-vertical"},Object(b.__)("Icons Margin Vertical:","social-icons-widget-by-wpzoom"))),Object(i.createElement)(f.PanelRow,null,Object(i.createElement)(f.RangeControl,{id:"icons-margin-vertical",beforeIcon:"image-flip-vertical",value:this.props.attributes.iconsMarginVertical,onChange:e=>t({iconsMarginVertical:e}),min:0,max:200}))),Object(i.createElement)(f.PanelBody,{title:Object(b.__)("Icon Color Settings","social-icons-widget-by-wpzoom")},Object(i.createElement)(f.PanelRow,null,Object(i.createElement)("label",{htmlFor:"icon-color"},Object(b.__)("Set color for all icons","social-icons-widget-by-wpzoom")),Object(i.createElement)(f.ColorIndicator,{colorValue:this.props.attributes.iconsColor})),Object(i.createElement)(f.PanelRow,null,Object(i.createElement)(f.ColorPalette,{id:"icon-color",colors:e,value:this.props.attributes.iconsColor,onChange:e=>{const o=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons));o.map((t,o)=>(t.color=void 0===e?this.state.selectedIcons[o].color:e,t)),t({iconsColor:e,selectedIcons:o})}})),Object(i.createElement)(f.PanelRow,null,Object(i.createElement)("label",{htmlFor:"icon-hover-color"},Object(b.__)("Set hover color for all icons","social-icons-widget-by-wpzoom")),Object(i.createElement)(f.ColorIndicator,{colorValue:this.props.attributes.iconsHoverColor})),Object(i.createElement)(f.PanelRow,null,Object(i.createElement)(f.ColorPalette,{id:"icon-hover-color",colors:e,value:this.props.attributes.iconsHoverColor,onChange:e=>{const o=[...this.props.attributes.selectedIcons];o.map((t,o)=>(t.hoverColor=void 0===e?this.state.selectedIcons[o].hoverColor:e,t)),t({iconsHoverColor:e,selectedIcons:o})}})),this.props.attributes.showIconsLabel?Object(i.createElement)(i.Fragment,null,Object(i.createElement)(f.PanelRow,null,Object(i.createElement)("label",{htmlFor:"icon-label-color"},Object(b.__)("Set color for all label icons","social-icons-widget-by-wpzoom")),Object(i.createElement)(f.ColorIndicator,{colorValue:this.props.attributes.iconsLabelColor})),Object(i.createElement)(f.PanelRow,null,Object(i.createElement)(f.ColorPalette,{id:"icon-label-color",colors:e,value:this.props.attributes.iconsLabelColor,onChange:e=>{t({iconsLabelColor:e})}})),Object(i.createElement)(f.PanelRow,null,Object(i.createElement)("label",{htmlFor:"icon-hover-label-color"},Object(b.__)("Set hover color for all label icons","social-icons-widget-by-wpzoom")),Object(i.createElement)(f.ColorIndicator,{colorValue:this.props.attributes.iconsLabelHoverColor})),Object(i.createElement)(f.PanelRow,null,Object(i.createElement)(f.ColorPalette,{id:"icon-hover-label-color",colors:e,value:this.props.attributes.iconsLabelHoverColor,onChange:e=>{t({iconsLabelHoverColor:e})}}))):null)))}}function F({value:e,save:t}){const[o,n]=Object(i.useState)(e);return Object(i.createElement)(i.Fragment,null,Object(i.createElement)("div",{className:"url-input-wrapper"},Object(i.createElement)(f.Icon,{icon:"admin-site",className:"url-input-icon"}),Object(i.createElement)(f.TextControl,{className:"url-input",type:"text",value:o,onChange:n,onKeyDown:e=>{e.stopPropagation(),"Enter"===e.key&&t(o)},onFocus:e=>e.target.select(),placeholder:Object(b.__)("https://example.com","social-icons-widget-by-wpzoom")})),Object(i.createElement)(f.Button,{icon:"update",isPrimary:!0,onClick:e=>{e.stopPropagation(),t(o)},className:"url-apply-button"},Object(b.__)("Detect Icon","social-icons-widget-by-wpzoom")))}var N=e=>e.isActive&&Object(i.createElement)(f.ButtonGroup,{className:h()("sortable-arrows")},Object(i.createElement)(f.Button,{className:h()("arrow-btn"),isSmall:!0,disabled:0===e.itemKey,onClick:t=>e.left(t,e.itemKey)},Object(i.createElement)(f.Icon,{icon:"arrow-left-alt2",label:"Move Left",size:14,className:h()("arrow-icon")})),Object(i.createElement)(f.Button,{className:h()("arrow-btn"),isSmall:!0,disabled:e.itemKey===e.length-1,onClick:t=>e.right(t,e.itemKey)},Object(i.createElement)(f.Icon,{icon:"arrow-right-alt2",label:"Move Right",size:14,className:h()("arrow-icon")})));class H extends i.Component{constructor(){super(...arguments),d()(this,"closeModal",()=>{this.props.setAttributes({showModal:!1})}),d()(this,"getIconsAlignmentStyle",e=>({left:"flex-start",right:"flex-end",center:"center"}[e])),d()(this,"setAlignment",e=>{this.props.setAttributes({iconsAlignment:e})}),d()(this,"saveModalHandler",e=>{const t=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons)),o=t[this.props.attributes.activeIconIndex],n={url:e.modalUrl,label:e.modalLabel,icon:e.modalIcon,iconKit:e.modalIconKit,color:e.modalColor,hoverColor:e.modalHoverColor};t[this.props.attributes.activeIconIndex]={...o,...n},this.props.setAttributes({selectedIcons:t,showModal:!1})}),d()(this,"insertIcon",e=>{if(e.preventDefault(),e.stopPropagation(),0===e.detail)return;const t=this.getStyleVariations(C.getBlockStyle(this.props.className)),o={url:"",icon:"wordpress",iconKit:"socicon",color:"#444140",hoverColor:"#444140",label:"WordPress",showPopover:!0,isActive:!0,customSvg:null};Object(a.isEmpty)(t.defaultIcon.color)||(o.color=t.defaultIcon.color),Object(a.isEmpty)(t.defaultIcon.hoverColor)||(o.hoverColor=t.defaultIcon.hoverColor);const n=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons));n.map(e=>e.isActive=!1);const r=n.push(o);this.props.setAttributes({selectedIcons:n,activeIconIndex:r-1})}),d()(this,"onClickIconHandler",(e,t,o)=>{e.preventDefault();const n=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons));n.map(e=>e.isActive=!1),n[t].showPopover=!0,n[t].isActive=!0,this.props.setAttributes({activeIconIndex:t,selectedIcons:n})}),d()(this,"popoverCloseHandler",e=>{const t=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons));t[e].showPopover=!1,this.props.setAttributes({selectedIcons:t})}),d()(this,"deleteIconHandler",()=>{const e=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons));e.splice(this.props.attributes.activeIconIndex,1),this.props.setAttributes({selectedIcons:e,showModal:!1,activeIconIndex:0})}),d()(this,"popoverDeleteIconHandler",(e,t)=>{e.stopPropagation();const o=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons));o.splice(t,1),this.props.setAttributes({selectedIcons:o,activeIconIndex:0})}),d()(this,"popoverEditSettingsHandler",(e,t)=>{e.stopPropagation();const o=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons));o[t].showPopover=!1,this.props.setAttributes({showModal:!0,selectedIcons:o})}),d()(this,"popoverSearchHandler",(e,t)=>{t=Object(a.isEmpty)(new u.a(t).protocol())?"https://"+t:t;const o=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons)),n=t.includes("wordpress.org")||t.includes("wordpress.com")||t.includes("wp.org"),r=n?"wordpress":C.filterUrlScheme(t);let i=!1;if(n)o[e].iconKit="dashicons",o[e].icon="wordpress",i=!0,o[e].label="WordPress",o[e].color="#0866FF",o[e].hoverColor="#0866FF";else if(r){const t=C.filterIcons(r);Object(a.map)(t,(t,n)=>{Object(a.isEmpty)(t)||Object(a.filter)(t,(function(t){t.icon===r&&(o[e].iconKit=n,o[e].icon=t.icon,i=!0,t.color&&(o[e].color=t.color,o[e].hoverColor=t.color),o[e].label=C.humanizeIconLabel(r))}))})}o[e].url=t,o[e].showPopover=!0,o[e].iconDetected=i,o[e].justUpdated=!0,this.props.setAttributes({selectedIcons:o}),setTimeout(()=>{const t=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons));t[e]&&(t[e].justUpdated=!1,this.props.setAttributes({selectedIcons:t}))},2e3)}),d()(this,"moveLeftHandler",(e,t)=>{let o=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons));o=C.arrayMove(o,t,t-1),this.props.setAttributes({selectedIcons:o,activeIconIndex:t-1})}),d()(this,"moveRightHandler",(e,t)=>{let o=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons));o=C.arrayMove(o,t,t+1),this.props.setAttributes({selectedIcons:o,activeIconIndex:t+1})}),d()(this,"getRelAttr",()=>{let e=[];return this.props.attributes.nofollow&&e.push("nofollow"),this.props.attributes.noreferrer&&e.push("noreferrer"),this.props.attributes.noopener&&e.push("noopener"),this.props.attributes.relme&&e.push("me"),this.props.attributes.openLinkInNewTab&&(e=["noopener"]),e}),d()(this,"getTarget",()=>{if(this.props.attributes.openLinkInNewTab)return"_blank"}),d()(this,"openCustomSvgModal",e=>{this.setState({isCustomSvgModalOpen:!0,activeIconKey:e,customSvgCode:""})}),d()(this,"closeCustomSvgModal",()=>{this.setState({isCustomSvgModalOpen:!1,customSvgCode:"",activeIconKey:null})}),d()(this,"updateCustomSvgCode",e=>{this.setState({customSvgCode:e})}),d()(this,"applySvgIcon",()=>{const{customSvgCode:e,activeIconKey:t}=this.state;if(!e||""===e.trim())return;if(null===t)return;const o=e.replace(/javascript:/gi,"").replace(/on\w+=/gi,"").replace(/data:/gi,""),n=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons));n[t].iconKit="svg",n[t].icon="custom-svg",n[t].customSvg=o,n[t].showPopover=!1,n[t].label&&""!==n[t].label||(n[t].label=Object(b.__)("Custom Icon","social-icons-widget-by-wpzoom")),this.props.setAttributes({selectedIcons:n}),this.closeCustomSvgModal()}),this.state={isCustomSvgModalOpen:!1,customSvgCode:"",activeIconKey:null}}getStyleVariations(e){const t={"with-label-canvas-rounded":{canvasType:"with-label-canvas",showIconsLabel:!0,iconsColor:null,iconsLabelColor:"#fff",iconsHoverColor:null,iconsLabelHoverColor:"#fff",iconsFontSize:18,iconsLabelFontSize:15,iconsPaddingHorizontal:5,iconsPaddingVertical:5,iconsMarginHorizontal:5,iconsMarginVertical:5,iconsHasBorder:!0,iconsBorderRadius:50,wasStyled:!0,defaultIcon:{icon:"facebook",color:null,hoverColor:null}},"with-canvas-rounded":{canvasType:"with-canvas",showIconsLabel:!1,iconsColor:null,iconsLabelColor:"#2e3131",iconsHoverColor:null,iconsLabelHoverColor:"#2e3131",iconsFontSize:18,iconsLabelFontSize:16,iconsPaddingHorizontal:6,iconsPaddingVertical:6,iconsMarginHorizontal:5,iconsMarginVertical:5,iconsHasBorder:!0,iconsBorderRadius:5,wasStyled:!0,defaultIcon:{icon:"facebook",color:"#0866FF",hoverColor:"#0866FF"},selectedIcons:[{icon:"facebook",color:"#0866FF",hoverColor:"#0866FF"},{icon:"x",color:"#000000",hoverColor:"#000000"},{icon:"instagram",color:"#E4405F",hoverColor:"#E4405F"}]},"with-canvas-round":{canvasType:"with-canvas",showIconsLabel:!1,iconsColor:null,iconsLabelColor:"#2e3131",iconsHoverColor:null,iconsLabelHoverColor:"#2e3131",iconsFontSize:18,iconsLabelFontSize:16,iconsPaddingHorizontal:6,iconsPaddingVertical:6,iconsMarginHorizontal:5,iconsMarginVertical:5,iconsHasBorder:!0,iconsBorderRadius:50,wasStyled:!0,defaultIcon:{icon:"facebook",color:"#0866FF",hoverColor:"#0866FF"},selectedIcons:[{icon:"facebook",color:"#0866FF",hoverColor:"#0866FF"},{icon:"x",color:"#000000",hoverColor:"#000000"},{icon:"instagram",color:"#E4405F",hoverColor:"#E4405F"}]},"with-canvas-squared":{canvasType:"with-canvas",showIconsLabel:!1,iconsColor:null,iconsLabelColor:"#2e3131",iconsHoverColor:null,iconsLabelHoverColor:"#2e3131",iconsFontSize:18,iconsLabelFontSize:16,iconsPaddingHorizontal:6,iconsPaddingVertical:6,iconsMarginHorizontal:5,iconsMarginVertical:5,iconsBorderRadius:0,iconsHasBorder:!0,wasStyled:!0,defaultIcon:{icon:"facebook",color:"#0866FF",hoverColor:"#0866FF"},selectedIcons:[{icon:"facebook",color:"#0866FF",hoverColor:"#0866FF"},{icon:"x",color:"#000000",hoverColor:"#000000"},{icon:"instagram",color:"#E4405F",hoverColor:"#E4405F"}]},"without-canvas":{canvasType:"without-canvas",showIconsLabel:!1,iconsColor:null,iconsLabelColor:"#2e3131",iconsHoverColor:null,iconsLabelHoverColor:"#2e3131",iconsFontSize:18,iconsLabelFontSize:16,iconsPaddingHorizontal:6,iconsPaddingVertical:6,iconsMarginHorizontal:5,iconsMarginVertical:5,iconsHasBorder:!1,wasStyled:!0,defaultIcon:{icon:"facebook",color:"#0866FF",hoverColor:"#0866FF"},selectedIcons:[{icon:"facebook",color:"#0866FF",hoverColor:"#0866FF"},{icon:"x",color:"#000000",hoverColor:"#000000"},{icon:"instagram",color:"#E4405F",hoverColor:"#E4405F"}]},"without-canvas-with-border":{canvasType:"without-canvas",showIconsLabel:!1,iconsColor:null,iconsLabelColor:"inherit",iconsHoverColor:null,iconsLabelHoverColor:"#f1f1f1",iconsFontSize:18,iconsLabelFontSize:16,iconsPaddingHorizontal:6,iconsPaddingVertical:6,iconsMarginHorizontal:5,iconsMarginVertical:5,iconsHasBorder:!0,iconsBorderRadius:0,wasStyled:!0,defaultIcon:{icon:"facebook",color:null,hoverColor:null}},"without-canvas-with-label":{canvasType:"without-canvas",showIconsLabel:!0,iconsColor:null,iconsLabelColor:"inherit",iconsHoverColor:null,iconsLabelHoverColor:"#f1f1f1",iconsFontSize:40,iconsLabelFontSize:15,iconsPaddingHorizontal:10,iconsPaddingVertical:10,iconsMarginHorizontal:0,iconsMarginVertical:0,iconsHasBorder:!1,wasStyled:!0,defaultIcon:{icon:"facebook",color:null,hoverColor:null}}};return Object(a.get)(t,e,!1)?Object(a.get)(t,e,!1):Object(a.get)(t,this.getActiveStyle())}getActiveStyle(){const{blockStyles:e}=this.props,t=C.getActiveStyle(e,this.props.className);return t&&t.name||""}componentDidUpdate(e,t){if(C.getBlockStyle(e.className)!==C.getBlockStyle(this.props.className)){const e=this.getStyleVariations(this.getActiveStyle());if(!Object(a.isEmpty)(e)){this.props.setAttributes(Object(a.omit)(e,["selectedIcons"]));const t=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons));Object(a.isEmpty)(e.selectedIcons)||t.map(t=>(Object(a.isEmpty)(t.color)&&(t.color=e.defaultIcon.color),Object(a.isEmpty)(t.hoverColor)&&(t.hoverColor=e.defaultIcon.hoverColor),t)),Object(a.isEmpty)(e.iconsColor)||t.map(t=>(t.color=e.iconsColor,t)),Object(a.isEmpty)(e.iconsHoverColor)||t.map(t=>(t.hoverColor=e.iconsHoverColor,t)),this.props.setAttributes({selectedIcons:t})}}}componentDidMount(){if(!0===this.props.attributes.wasStyled)return;const e=this.getStyleVariations(this.getActiveStyle());if(!Object(a.isEmpty)(e)){e.wasStyled=!0,this.props.setAttributes(Object(a.omit)(e,["selectedIcons"]));const t=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons));Object(a.isEmpty)(e.selectedIcons)||t.map(t=>{const o=Object(a.find)(e.selectedIcons,["icon",t.icon]);return t.color=Object(a.isEmpty)(o)?e.defaultIcon.color:o.color,t.hoverColor=Object(a.isEmpty)(o)?e.defaultIcon.hoverColor:o.hoverColor,t}),Object(a.isEmpty)(e.iconsColor)||t.map(t=>(t.color=e.iconsColor,t)),Object(a.isEmpty)(e.iconsHoverColor)||t.map(t=>(t.hoverColor=e.iconsHoverColor,t)),this.props.setAttributes({selectedIcons:t})}}render(){const{attributes:e,setAttributes:t,isSelected:o}=this.props,{isCustomSvgModalOpen:n,customSvgCode:r}=this.state;let{className:a}=this.props;null===C.getBlockStyle(a)&&(a=h()(a,"is-style-with-canvas-round")),e.showIconsLabel&&(a=h()(a,"show-icon-labels-style"));const s=e.selectedIcons.map((n,r)=>{const a=e.showIconsLabel?Object(i.createElement)("span",{className:h()("icon-label")},n.label):"",s=this.getRelAttr(),l=this.getTarget();let c;return c="svg"===n.iconKit&&n.customSvg?Object(i.createElement)("span",{className:h()("social-icon","social-icon-svg"),dangerouslySetInnerHTML:{__html:n.customSvg}}):Object(i.createElement)("span",{className:h()(C.getIconClassList(n.iconKit,n.icon))}),Object(i.createElement)(i.Fragment,{key:r},Object(i.createElement)("a",{onClick:e=>this.onClickIconHandler(e,r,n),href:n.url,className:h()("social-icon-link",{selected:n.isActive}),target:l,rel:s.length?s.join(" "):void 0,title:n.label,style:{"--wpz-social-icons-block-item-color":n.color,"--wpz-social-icons-block-item-color-hover":n.hoverColor}},c,a,n.showPopover&&o&&Object(i.createElement)(f.Popover,{className:h()("wpzoom-social-icons-popover"),key:r,position:"bottom center",onClose:()=>this.popoverCloseHandler(r)},Object(i.createElement)("div",{className:h()("popover-content")},Object(i.createElement)("div",{className:"popover-header"},Object(i.createElement)("span",{className:"popover-title"},Object(b.__)("Social Icon Settings","social-icons-widget-by-wpzoom"))),Object(i.createElement)("div",{className:h()("popover-url-wrapper")},Object(i.createElement)("div",{className:"popover-section-title"},Object(i.createElement)(f.Icon,{icon:"admin-links"}),Object(b.__)("URL & ICON","social-icons-widget-by-wpzoom")),Object(i.createElement)("div",{className:"popover-description"},Object(b.__)("Enter a website URL to automatically detect its icon","social-icons-widget-by-wpzoom")),Object(i.createElement)("div",{className:"popover-url-input-container"},Object(i.createElement)(F,{key:r,value:n.url,save:e=>this.popoverSearchHandler(r,e)})),n.justUpdated&&Object(i.createElement)("div",{className:"icon-status-message "+(n.iconDetected?"success":"notice")},Object(i.createElement)(f.Icon,{icon:n.iconDetected?"yes-alt":"info-outline"}),n.iconDetected?Object(b.__)("Icon detected and applied!","social-icons-widget-by-wpzoom"):Object(b.__)("No matching icon found. Choose manually below.","social-icons-widget-by-wpzoom")),Object(i.createElement)("div",{className:"popover-alternate-options"},Object(i.createElement)("span",null,Object(b.__)("Or","social-icons-widget-by-wpzoom")),Object(i.createElement)(f.Button,{isPrimary:!0,onClick:e=>this.popoverEditSettingsHandler(e,r),className:"popover-edit-details-button"},Object(i.createElement)(f.Icon,{icon:"edit"}),Object(b.__)("Choose Icon & Edit Details","social-icons-widget-by-wpzoom")),Object(i.createElement)("div",{className:"popover-section-divider"},Object(i.createElement)("span",null,Object(b.__)("Or","social-icons-widget-by-wpzoom"))),Object(i.createElement)(f.Button,{className:"popover-custom-svg-button",onClick:()=>this.openCustomSvgModal(r)},Object(i.createElement)(f.Icon,{icon:"editor-code"}),Object(b.__)("Insert Custom SVG Icon","social-icons-widget-by-wpzoom")))),Object(i.createElement)("div",{className:"popover-colors-section"},Object(i.createElement)("div",{className:"popover-section-title"},Object(i.createElement)(f.Icon,{icon:"art"}),Object(b.__)("COLORS","social-icons-widget-by-wpzoom")),Object(i.createElement)("div",{className:"color-pickers-container"},Object(i.createElement)("div",{className:"color-picker-option","data-tooltip":Object(b.__)("Change color","social-icons-widget-by-wpzoom")},Object(i.createElement)("span",{className:"color-label"},Object(b.__)("Normal:","social-icons-widget-by-wpzoom")),Object(i.createElement)(E,{title:Object(b.__)("Icon Color","social-icons-widget-by-wpzoom"),className:h()("popover-color-picker"),save:o=>{const n=[...e.selectedIcons];n[e.activeIconIndex].color=o.color,t({selectedIcons:n})},color:n.color})),Object(i.createElement)("div",{className:"color-picker-option","data-tooltip":Object(b.__)("Change color","social-icons-widget-by-wpzoom")},Object(i.createElement)("span",{className:"color-label"},Object(b.__)("Hover:","social-icons-widget-by-wpzoom")),Object(i.createElement)(E,{title:Object(b.__)("Hover Color","social-icons-widget-by-wpzoom"),className:h()("popover-color-picker"),save:o=>{const n=[...e.selectedIcons];n[e.activeIconIndex].hoverColor=o.color,t({selectedIcons:n})},color:n.hoverColor})))),e.selectedIcons.length>1&&Object(i.createElement)("div",{className:"popover-footer"},Object(i.createElement)(f.Button,{isDestructive:!0,onClick:e=>this.popoverDeleteIconHandler(e,r),className:"delete-icon-button"},Object(i.createElement)(f.Icon,{icon:"trash"}),Object(b.__)("Delete Icon","social-icons-widget-by-wpzoom")))))),Object(i.createElement)(N,{left:this.moveLeftHandler,right:this.moveRightHandler,length:e.selectedIcons.length,isActive:n.isActive&&o,itemKey:r}))});return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(B,this.props),Object(i.createElement)(v.BlockControls,null,Object(i.createElement)(v.AlignmentToolbar,{value:e.iconsAlignment,onChange:e=>this.setAlignment(e)})),Object(i.createElement)("div",{className:a,style:{"--wpz-social-icons-block-item-font-size":C.addPixelsPipe(e.iconsFontSize),"--wpz-social-icons-block-item-padding-horizontal":C.addPixelsPipe(e.iconsPaddingHorizontal),"--wpz-social-icons-block-item-padding-vertical":C.addPixelsPipe(e.iconsPaddingVertical),"--wpz-social-icons-block-item-margin-horizontal":C.addPixelsPipe(e.iconsMarginHorizontal),"--wpz-social-icons-block-item-margin-vertical":C.addPixelsPipe(e.iconsMarginVertical),"--wpz-social-icons-block-item-border-radius":C.addPixelsPipe(e.iconsBorderRadius),"--wpz-social-icons-block-label-font-size":C.addPixelsPipe(e.iconsLabelFontSize),"--wpz-social-icons-block-label-color":e.iconsLabelColor,"--wpz-social-icons-block-label-color-hover":e.iconsLabelHoverColor,"--wpz-social-icons-alignment":this.getIconsAlignmentStyle(e.iconsAlignment)}},s,o&&Object(i.createElement)(f.Button,{type:"button",onClick:this.insertIcon,style:{padding:e.iconsPadding},className:"insert-icon"},Object(i.createElement)(f.Icon,{icon:"insert",size:"20"})),e.selectedIcons[e.activeIconIndex]&&Object(i.createElement)(P,{className:h()(C.getBlockStyle(a)),showIconsLabel:e.showIconsLabel,iconsBorderRadius:e.iconsBorderRadius,show:e.showModal,url:e.selectedIcons[e.activeIconIndex].url,label:e.selectedIcons[e.activeIconIndex].label,icon:e.selectedIcons[e.activeIconIndex].icon,iconKit:e.selectedIcons[e.activeIconIndex].iconKit,color:e.selectedIcons[e.activeIconIndex].color,hoverColor:e.selectedIcons[e.activeIconIndex].hoverColor,save:this.saveModalHandler,delete:this.deleteIconHandler,showDeleteBtn:e.selectedIcons.length>1,onClose:this.closeModal}),n&&Object(i.createElement)(f.Modal,{title:Object(b.__)("Insert Custom SVG Icon","social-icons-widget-by-wpzoom"),onRequestClose:this.closeCustomSvgModal,className:"wpzoom-custom-svg-modal"},Object(i.createElement)("div",{className:"wpzoom-custom-svg-modal-content"},Object(i.createElement)("p",{className:"wpzoom-custom-svg-modal-description"},Object(b.__)("Paste your SVG code below. Make sure it's clean and valid SVG code for security reasons.","social-icons-widget-by-wpzoom")),Object(i.createElement)(f.TextareaControl,{label:Object(b.__)("SVG Code","social-icons-widget-by-wpzoom"),help:Object(b.__)("Paste SVG code here. For security reasons, scripts and event handlers will be removed.","social-icons-widget-by-wpzoom"),value:r,onChange:this.updateCustomSvgCode,rows:10,className:"wpzoom-custom-svg-textarea"}),r&&""!==r.trim()&&Object(i.createElement)("div",{className:"wpzoom-custom-svg-preview"},Object(i.createElement)("p",{className:"wpzoom-custom-svg-preview-title"},Object(b.__)("Preview:","social-icons-widget-by-wpzoom")),Object(i.createElement)("div",{className:"wpzoom-custom-svg-preview-box",dangerouslySetInnerHTML:{__html:r}})),Object(i.createElement)("div",{className:"wpzoom-custom-svg-modal-buttons"},Object(i.createElement)(f.Button,{isPrimary:!0,onClick:this.applySvgIcon,disabled:!r||""===r.trim()},Object(b.__)("Apply SVG Icon","social-icons-widget-by-wpzoom")),Object(i.createElement)(f.Button,{isSecondary:!0,onClick:this.closeCustomSvgModal},Object(b.__)("Cancel","social-icons-widget-by-wpzoom")))))))}}const R=Object(g.withSelect)((e,t)=>{const{getBlockStyles:o}=e("core/blocks");return{blockStyles:o(t.name)}});var L=Object(w.compose)(R)(H);class Q extends i.Component{constructor(e){super(...arguments),d()(this,"getIconsAlignmentStyle",e=>({left:"flex-start",right:"flex-end",center:"center"}[e])),d()(this,"getRelAttr",()=>{let e=[];return this.props.attributes.nofollow&&e.push("nofollow"),this.props.attributes.noreferrer&&e.push("noreferrer"),this.props.attributes.noopener&&e.push("noopener"),this.props.attributes.relme&&e.push("me"),this.props.attributes.openLinkInNewTab&&(e=["noopener"]),e}),d()(this,"getTarget",()=>{if(this.props.attributes.openLinkInNewTab)return"_blank"})}render(){const{attributes:e}=this.props;let{className:t}=e;null==C.getBlockStyle(t)&&(t=h()(t,"is-style-with-canvas-round")),e.showIconsLabel&&(t=h()(t,"show-icon-labels-style"));const o=e.selectedIcons.map((t,o)=>{const n=e.showIconsLabel?Object(i.createElement)("span",{className:h()("icon-label")},t.label):"",r=this.getRelAttr(),a=this.getTarget();let s;return s="svg"===t.iconKit&&t.customSvg?Object(i.createElement)("span",{className:h()("social-icon","social-icon-svg"),dangerouslySetInnerHTML:{__html:t.customSvg}}):Object(i.createElement)("span",{className:h()(C.getIconClassList(t.iconKit,t.icon))}),Object(i.createElement)("a",{key:o,href:t.url,className:"social-icon-link",target:a,rel:r.length?r.join(" "):void 0,title:t.label,style:{"--wpz-social-icons-block-item-color":t.color,"--wpz-social-icons-block-item-color-hover":t.hoverColor}},s,n)});return Object(i.createElement)("div",{className:t,style:{"--wpz-social-icons-block-item-font-size":C.addPixelsPipe(e.iconsFontSize),"--wpz-social-icons-block-item-padding-horizontal":C.addPixelsPipe(e.iconsPaddingHorizontal),"--wpz-social-icons-block-item-padding-vertical":C.addPixelsPipe(e.iconsPaddingVertical),"--wpz-social-icons-block-item-margin-horizontal":C.addPixelsPipe(e.iconsMarginHorizontal),"--wpz-social-icons-block-item-margin-vertical":C.addPixelsPipe(e.iconsMarginVertical),"--wpz-social-icons-block-item-border-radius":C.addPixelsPipe(e.iconsBorderRadius),"--wpz-social-icons-block-label-font-size":C.addPixelsPipe(e.iconsLabelFontSize),"--wpz-social-icons-block-label-color":e.iconsLabelColor,"--wpz-social-icons-block-label-color-hover":e.iconsLabelHoverColor,"--wpz-social-icons-alignment":this.getIconsAlignmentStyle(e.iconsAlignment)}},o)}}var V=Q,M=o(7),T=o(12),U=o(14),D=o(20);const K={},W=({replacementData:e,isConvertRun:t})=>{const[o,n]=Object(i.useState)(!1);return t&&!o?(function(e){return new Promise((function(t){let o=0;Object(a.map)(e,n=>{const{clientId:r,attributes:s}=n,{title:l,description:c,iconsAlignment:d}=s,{rootClientId:p}=Object(g.useSelect)(e=>({rootClientId:e("core/block-editor").getBlockRootClientId(r)})),u=[Object(M.createBlock)("core/heading",{content:l,level:3,placeholder:Object(b.__)("Title","social-icons-widget-by-wpzoom"),className:"zoom-social-icons-legacy-widget-title widget-title title heading-size-3"}),Object(M.createBlock)("core/paragraph",{content:c,placeholder:Object(b.__)("Text above icons","social-icons-widget-by-wpzoom"),className:h()("zoom-social-icons-legacy-widget-description",{["zoom-social-icons-list--align-"+d]:void 0!==d&&"none"!==d})}),Object(M.createBlock)("wpzoom-blocks/social-icons",s)],[m]=function({rootClientId:e="",insertionIndex:t,clientId:o,shouldFocusBlock:n=!0}){const{sidebar:r,destinationRootClientId:s,destinationIndex:l}=Object(g.useSelect)(n=>{const{getBlockIndex:r,getBlockOrder:i,getBlock:a}=n("core/block-editor"),s=e;let l;return l=void 0!==t?t:o?r(o,s):""!==s?r(e):i(s).length,{sidebar:a(s),destinationRootClientId:s,destinationIndex:l}},[e,t,o]),{replaceBlock:c}=Object(g.useDispatch)("core/block-editor");return[Object(i.useCallback)((e,t,i=!1)=>{const{attributes:{name:s}}=r;c(o,e,l,n||i?0:null,t);const d=Object(b.sprintf)(// translators: %d: the name of the block that has been added %s: sidebar name. 2 2 Object(b._n)("%1$d group block added in the sidebar: %2$s.","%1$d group blocks added in the sidebar: %2$s.",Object(a.castArray)(e).length),Object(a.castArray)(e).length,s);Object(D.speak)(d)},[c,r,o,s,l,n]),l]}({rootClientId:p,clientId:r});if(m(Object(M.createBlock)("core/group",{tagName:"div",className:"zoom-social-icons-widget zoom-social-icons-legacy-widget-group",layout:{inherit:!0}},u)),o++,Object(a.size)(e)===o){const e=Object(b.sprintf)(// translators: %d: the number of the block that has been converted 3 Object(b._n)('%d legacy widget "Social Icons" successfully converted to block','%d legacy widgets "Social Icons" successfully converted to block',o,"social-icons-widget-by-wpzoom"),o);t(e)}})}))}(e).then(e=>{n(!0),Object(T.doAction)("converter.isConvertDone",{message:e})}),null):Object(i.createElement)(f.Placeholder,null,Object(i.createElement)(f.Spinner,null))};var q=Object(i.memo)(({clientId:e,attributes:t,widgetId:o})=>{const[n,r]=Object(i.useState)(!1),{createInfoNotice:a,createWarningNotice:s,createSuccessNotice:l}=Object(g.useDispatch)("core/notices");K[o]={},K[o].clientId=e,K[o].attributes=t;const c=Object(b.__)('Legacy Social Icons Widget has been detected on this page. Since our plugin includes a Social Icons Block, supported by WordPress 5.8, we highly recommend transforming legacy widgets to blocks. You can do that by clicking on the "Convert to block" button. You can also disable the new block-based widget screen by installing the Classic Widgets plugin.',"social-icons-widget-by-wpzoom");return Object(i.useEffect)(()=>{s(c,{id:"wpzoom-social-icons-notice",isDismissible:!0,actions:[{url:Object(U.addQueryArgs)("customize.php",{"autofocus[panel]":"widgets",return:window.location.pathname}),label:Object(b.__)("Manage in Customizer","social-icons-widget-by-wpzoom")},{url:Object(U.addQueryArgs)("plugin-install.php",{s:"classic%20widgets",tab:"search",type:"term"}),label:"Install Classic Widgets"},{label:Object(b.__)("Convert to block","social-icons-widget-by-wpzoom"),onClick:()=>r(!n)}]})},[s,n]),Object(i.useEffect)(()=>{n&&a(Object(b.__)("Converting process is starting. Please wait…","social-icons-widget-by-wpzoom"),{type:"snackbar",id:"wpzoom-social-icons-notice"})},[n,a]),Object(T.addAction)("converter.isConvertDone","wpzoom-blocks/social-icons/convert-legacy-widget",({message:e})=>{l(e,{type:"snackbar",id:"wpzoom-social-icons-notice"})}),e&&n?Object(i.createElement)(i.Fragment,null,Object(i.createElement)(W,{replacementData:K,isConvertRun:n})):null}),Z=function(e){const t=Object(M.getBlockTypes)().filter(e=>-1!==e.name.indexOf("wpzoom-blocks/social-icons"))[0],{attributes:o}=t,n=Object(a.mapValues)(o,e=>e.default),r={wasStyled:!0,canvasType:e.icon_style,showIconsLabel:"true"===e.show_icon_labels,openLinkInNewTab:"true"===e.open_new_tab,nofollow:"true"===e.no_follow,noreferrer:"true"===e.no_referrer,noopener:"true"===e.no_opener,iconsAlignment:e.icon_alignment,iconsColor:e.global_color_picker,iconsHoverColor:e.global_color_picker_hover,iconsLabelHoverColor:"inherit",iconsFontSize:e.icon_font_size,iconsPaddingVertical:e.icon_padding_size,iconsPaddingHorizontal:e.icon_padding_size,iconsBackgroundStyle:e.icon_canvas_style||"round",selectedIcons:e.fields.map(e=>function(e){return{url:e.url,icon:e.icon,iconKit:e.icon_kit,color:e.color_picker,hoverColor:e.color_picker_hover,label:e.label,showPopover:!1,isActive:!1}}(e)),title:e.title,description:e.description},i=Object(a.assign)(n,r);"rounded"===i.iconsBackgroundStyle?i.iconsBorderRadius=3:"round"===i.iconsBackgroundStyle?i.iconsBorderRadius=50:i.iconsBorderRadius=0,"without-canvas"===i.canvasType?i.className="is-style-"+i.canvasType:"with-canvas"===i.canvasType&&(i.className="is-style-with-canvas-round");const s=[{name:"without-canvas",label:"Color Icon / No Background",isDefault:"without-canvas"===i.canvasType},{name:"with-canvas-round",label:"Color Background / Round White Icon",isDefault:"with-canvas"===i.canvasType}];for(let e=0;e<s.length;e++){const t=s[e];Object(M.unregisterBlockStyle)("wpzoom-blocks/social-icons",t.name),Object(M.registerBlockStyle)("wpzoom-blocks/social-icons",t)}return i};document.getElementById("customize-theme-controls"),Object(w.createHigherOrderComponent)(e=>t=>{const{attributes:o,name:n}=t,{id:a,idBase:s,instance:l,__internalWidgetId:c}=o,d=null!=a?a:s;if("core/legacy-widget"===n&&"zoom-social-icons-widget"===d){const{widgetType:o,hasResolvedWidgetType:n}=Object(g.useSelect)(e=>({widgetType:e("core").getWidgetType(d),hasResolvedWidgetType:e("core").hasFinishedResolution("getWidgetType",[d])}),[a,s]),p=Z(l.raw);return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(e,t),o&&n&&Object(i.createElement)(q,r()({},t,{attributes:p,widgetId:c})))}return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(e,t))},"withGroupedBlock"),Object(T.addFilter)("blocks.registerBlockType","wpzoom-blocks/social-icons/class-names/heading-paragraph-block",(function(e,t){return"core/heading"!==t||"core/paragraph"!==t?e:Object(a.assign)({},e,{supports:Object(a.assign)({},e.supports,{className:!0})})})),Object(T.addFilter)("blocks.getBlockAttributes","wpzoom-blocks/social-icons",(function(e){if(void 0!==e.selectedIcons){const t=[...e.selectedIcons];t.map(e=>(e.isActive=!1,e)),e.selectedIcons=t,e.showModal=!1}return e})),Object(M.registerBlockType)("wpzoom-blocks/social-icons",{title:Object(b.__)("Social Icons by WPZOOM","social-icons-widget-by-wpzoom"),description:Object(b.__)("Display icons with links to social media platforms.","social-icons-widget-by-wpzoom"),icon:{foreground:"#274474",src:l},example:{attributes:{cover:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQoAAADJCAYAAADbwHxnAAAKz2lDQ1BJQ0MgUHJvZmlsZQAASImVlwdUU2kWx7/30kNCS4iAlNB77yAl9AAK0kFUQhKSUEJIQcWODI7AiKIigmVEh6rgWAAZCyKKbRCsWAdkUFHGwYINlX3AEmZ2z+6e/Z9zz/vl5n73fved7zvnPgDI6iyRKANWBiBTKBVHBvnS4xMS6bhBAAEYEIA2sGWxJSJGREQYQDTz/Lve30GiEd20msz17///V6lwuBI2AFAEwikcCTsT4eOIfWOLxFIAUAgDg2VS0ST3IUwVIxtEeGSSeVOMnsxDTZlm6lRMdKQfwqYA4EkslpgHAMkR8dNz2DwkDykaYVshRyBEOB9hLzafxUG4E2HLzMysSR5F2DTlL3l4f8uZIs/JYvHkPN3LlPD+Aokog7Xi/3wd/1uZGbKZGsaIkfji4MhphvrSs0LlLExZED7DAs5MPNTHlwXHzDBb4p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UCjsc6YUEnCZAoXC6eVk5ErBDgEJhhyO9kIDTBCgUTjcvK0cCdghQKOxwpBcScJoAhcLp5mXlSMAOAQqFHY70QgJOE6BQON28rBwJ2CFAobDDkV5IwGkCFAqnm5eVIwE7BCgUdjjSCwk4TYBC4XTzsnIkYIcAhcIOR3ohAacJUCicbl5WjgTsEKBQ2OFILyTgNAEKhdPNy8qRgB0CFAo7HOmFBJwmQKFwunlZORKwQ4BCYYcjvZCA0wQoFE43LytHAnYIUCjscKQXEnCaAIXC6eZl5UjADgEKhR2O9EICThOgUDjdvKwcCdghQKGww5FeSMBpAhQKp5uXlSMBOwQoFHY40gsJOE2AQuF087JyJGCHAIXCDkd6IQGnCVAonG5eVo4E7BCgUNjhSC8k4DQBCoXTzcvKkYAdAhQKOxzphQScJkChcLp5WTkSsEOAQmGHI72QgNMEKBRONy8rRwJ2CFAo7HCkFxJwmgCFwunmZeVIwA4BCoUdjvRCAk4ToFA43bysHAnYIUChsMORXkjAaQIUCqebl5UjATsEKBR2ONILCThNgELhdPOyciRghwCFwg5HeiEBpwlQKJxuXlaOBOwQoFDY4UgvJOA0gf8DAD8xcfX+GGoAAAAASUVORK5CYII=",author:"WPZOOM"}},category:"wpzoom-blocks",keywords:[Object(b.__)("Social Icons","social-icons-widget-by-wpzoom"),Object(b.__)("icon","social-icons-widget-by-wpzoom"),Object(b.__)("svg","social-icons-widget-by-wpzoom"),Object(b.__)("share","social-icons-widget-by-wpzoom"),Object(b.__)("sharing","social-icons-widget-by-wpzoom"),Object(b.__)("Fontawesome","social-icons-widget-by-wpzoom")],attributes:{wasStyled:{type:"boolean",default:!1},canvasType:{type:"string",default:"with-canvas"},showIconsLabel:{type:"boolean",default:!1},showModal:{type:"boolean",default:!1},openLinkInNewTab:{type:"boolean",default:!1},nofollow:{type:"boolean",default:!1},noreferrer:{type:"boolean",default:!1},noopener:{type:"boolean",default:!1},relme:{type:"boolean",default:!1},iconsAlignment:{type:"string",default:"left"},iconsColor:{type:"string",default:"#f1f1f1"},iconsLabelColor:{type:"string",default:"inherit"},iconsHoverColor:{type:"string",default:"#f1f1f1"},iconsLabelHoverColor:{type:"string",default:"#f1f1f1"},iconsFontSize:{type:"number",default:20},iconsLabelFontSize:{type:"number",default:20},iconsPaddingVertical:{type:"number",default:10},iconsPaddingHorizontal:{type:"number",default:10},iconsMarginVertical:{type:"number",default:5},iconsMarginHorizontal:{type:"number",default:5},iconsBorderRadius:{type:"number",default:0},iconsBackgroundStyle:{type:"string",default:"round"},iconsHasBorder:{type:"boolean",default:!1},activeIconIndex:{type:"integer",default:0},defaultIcon:{type:"object",default:{icon:"facebook",color:"#f89406",hoverColor:"#f89406"}},selectedIcons:{type:"array",default:[{url:"https://facebook.com",icon:"facebook",iconKit:"socicon",color:"#0866FF",hoverColor:"#0866FF",label:"Facebook",showPopover:!1,isActive:!1,customSvg:null},{url:"https://x.com",icon:"x",iconKit:"socicon",color:"#000000",hoverColor:"#000000",label:"X",showPopover:!1,isActive:!1,customSvg:null},{url:"https://instagram.com",icon:"instagram",iconKit:"socicon",color:"#E4405F",hoverColor:"#E4405F",label:"Instagram",showPopover:!1,isActive:!1,customSvg:null}]}},styles:[{name:"with-canvas-round",label:Object(b.__)("Color Background / Round White Icon","social-icons-widget-by-wpzoom"),isDefault:!0},{name:"with-canvas-rounded",label:Object(b.__)("Color Background / Rounded White Icon","social-icons-widget-by-wpzoom")},{name:"with-canvas-squared",label:Object(b.__)("Color Background / Squared White Icon","social-icons-widget-by-wpzoom")},{name:"without-canvas",label:Object(b.__)("Color Icon / No Background","social-icons-widget-by-wpzoom")},{name:"without-canvas-with-border",label:Object(b.__)("Color Icon / No Background with border","social-icons-widget-by-wpzoom")},{name:"with-label-canvas-rounded",label:Object(b.__)("Color Background / Rounded White Icon with label","social-icons-widget-by-wpzoom")},{name:"without-canvas-with-label",label:Object(b.__)("Color Icon / No Background with label","social-icons-widget-by-wpzoom")}],transforms:{from:[{type:"block",blocks:["core/legacy-widget"],transform:({instance:e})=>Object(M.createBlock)("wpzoom-blocks/social-icons",Z(e.raw))}]},edit:L,save:V}),o(24);var X=Object(i.createElement)(f.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(i.createElement)(f.Path,{d:"M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65 0 1.61 1.31 2.92 2.92 2.92 1.61 0 2.92-1.31 2.92-2.92s-1.31-2.92-2.92-2.92z"})),J=Object(i.createElement)(s.SVG,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(i.createElement)(s.Path,{d:"M5 4h2V2H5v2zm6-2v2h2V2h-2zm-6 8h2V8H5v2zm6 0h2V8h-2v2zm-6 6h2v-2H5v2zm6 0h2v-2h-2v2z"}));function Y({attributes:e,setAttributes:t}){var o,n,r,a,s,l;const{align:c,showLabels:d,iconColor:p,iconHoverColor:u,labelColor:m,labelHoverColor:h,iconSize:g,labelSize:w,paddingVertical:y,paddingHorizontal:O,marginVertical:j,marginHorizontal:C,borderRadius:z,backgroundStyle:E,hasBorder:k,platforms:_,oneToneColor:I}=e,x=document.body.className.includes("post-type-wpzoom-sharing"),[A,S]=Object(i.useState)(!1),[P,B]=Object(i.useState)(null),[F,N]=Object(i.useState)(null),H=e.className,R=null==H?void 0:H.includes("is-style-one-tone"),L=null==H?void 0:H.includes("is-style-filled"),Q=null==H?void 0:H.includes("is-style-rounded"),V=null==H?void 0:H.includes("is-style-outlined-pill"),M=null==H?void 0:H.includes("is-style-outlined-square"),T=null==H?void 0:H.includes("is-style-minimal"),U=v.useBlockProps.save(),D=R||(null===(o=U.className)||void 0===o?void 0:o.includes("is-style-one-tone")),K=L||(null===(n=U.className)||void 0===n?void 0:n.includes("is-style-filled")),W=(Q||null===(r=U.className)||void 0===r||r.includes("is-style-rounded"),V||(null===(a=U.className)||void 0===a?void 0:a.includes("is-style-outlined-pill"))),q=M||(null===(s=U.className)||void 0===s?void 0:s.includes("is-style-outlined-square")),Z=T||(null===(l=U.className)||void 0===l?void 0:l.includes("is-style-minimal"));Object(i.useEffect)(()=>{!D||I&&void 0!==I||(t({oneToneColor:"#000000"}),t({iconColor:"#ffffff",labelColor:"#ffffff"}))},[D,I]),Object(i.useEffect)(()=>{null!=H&&H.includes("is-style-outlined-pill")||null!=H&&H.includes("is-style-outlined-square")||null!=H&&H.includes("is-style-minimal")?("#ffffff"!==p&&"#fff"!==p&&p||t({iconColor:"#000000"}),"inherit"!==m&&"#ffffff"!==m&&"#fff"!==m&&m||t({labelColor:"#000000"})):(null!=H&&H.includes("is-style-one-tone")||null!=H&&H.includes("is-style-default")||null!=H&&H.includes("is-style-filled")||null!=H&&H.includes("is-style-rounded"))&&t({iconColor:"#ffffff",labelColor:"#ffffff"})},[H,t]),Object(i.useEffect)(()=>{var e,o,n;U.className&&((e=>{let o=z;e.includes("is-style-filled")?o=0:e.includes("is-style-rounded")?o=8:e.includes("is-style-default")||e.includes("is-style-outlined-pill")?o=50:e.includes("is-style-outlined-square")&&(o=0),t({borderRadius:o})})(U.className),W||q||Z?("#ffffff"!==p&&"#fff"!==p&&p||t({iconColor:"#000000"}),"inherit"!==m&&"#ffffff"!==m&&"#fff"!==m&&m||t({labelColor:"#000000"})):(D||null!==(e=U.className)&&void 0!==e&&e.includes("is-style-default")||null!==(o=U.className)&&void 0!==o&&o.includes("is-style-filled")||null!==(n=U.className)&&void 0!==n&&n.includes("is-style-rounded"))&&t({iconColor:"#ffffff",labelColor:"#ffffff"}))},[U.className,W,q,Z,D,t]);const X=(e,o)=>{if(o<0||o>=_.length)return;const n=[..._],[r]=n.splice(e,1);n.splice(o,0,r),t({platforms:n,showLabels:d,borderRadius:z,align:c,iconColor:p,iconSize:g,labelSize:w,paddingVertical:y,paddingHorizontal:O,marginVertical:j,marginHorizontal:C,hasBorder:k})},Y=e=>{S(!1),B(null),N(null),document.querySelectorAll(".wpzoom-social-platform-item").forEach(e=>{e.classList.remove("is-dragging","drag-over")})};return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(v.InspectorControls,null,Object(i.createElement)(f.PanelBody,{title:Object(i.createElement)(i.Fragment,null,Object(b.__)("Pro Features","social-icons-widget-by-wpzoom"),Object(i.createElement)("span",{className:"wpzoom-pro-badge",style:{background:"#2271b1",color:"#fff",fontSize:"9px",padding:"2px 5px",borderRadius:"3px",marginLeft:"6px",textTransform:"uppercase",fontWeight:"600",verticalAlign:"middle"}},"Pro")),initialOpen:!0},Object(i.createElement)("div",{className:"wpzoom-pro-features-upsell"},Object(i.createElement)(f.ToggleControl,{label:Object(b.__)("Show Like Button","social-icons-widget-by-wpzoom"),checked:!1,onChange:()=>{},disabled:!0}),Object(i.createElement)(f.ToggleControl,{label:Object(b.__)("Show Share Counts","social-icons-widget-by-wpzoom"),checked:!1,onChange:()=>{},disabled:!0}),Object(i.createElement)(f.ToggleControl,{label:Object(b.__)("Show Individual Counts","social-icons-widget-by-wpzoom"),checked:!1,onChange:()=>{},disabled:!0}),Object(i.createElement)(f.__experimentalDivider,null),Object(i.createElement)("div",{className:"wpzoom-ai-platforms-preview",style:{marginTop:"12px"}},Object(i.createElement)("p",{style:{margin:"0 0 8px 0",fontWeight:"500",fontSize:"11px",textTransform:"uppercase",color:"#757575"}},Object(b.__)("AI Share Buttons","social-icons-widget-by-wpzoom")),Object(i.createElement)("div",{style:{display:"flex",gap:"6px",flexWrap:"wrap"}},Object(i.createElement)("span",{style:{display:"inline-flex",alignItems:"center",gap:"5px",padding:"6px 10px",background:"#000000",borderRadius:"50px",fontSize:"11px",color:"#fff",fontWeight:"500"}},Object(i.createElement)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"#fff"},Object(i.createElement)("path",{d:"M22.282 9.821a5.985 5.985 0 0 0-.516-4.91 6.046 6.046 0 0 0-6.51-2.9A6.065 6.065 0 0 0 4.981 4.18a5.985 5.985 0 0 0-3.998 2.9 6.046 6.046 0 0 0 .743 7.097 5.98 5.98 0 0 0 .51 4.911 6.051 6.051 0 0 0 6.515 2.9A5.985 5.985 0 0 0 13.26 24a6.056 6.056 0 0 0 5.772-4.206 5.99 5.99 0 0 0 3.997-2.9 6.056 6.056 0 0 0-.747-7.073zM13.26 22.43a4.476 4.476 0 0 1-2.876-1.04l.141-.081 4.779-2.758a.795.795 0 0 0 .392-.681v-6.737l2.02 1.168a.071.071 0 0 1 .038.052v5.583a4.504 4.504 0 0 1-4.494 4.494zM3.6 18.304a4.47 4.47 0 0 1-.535-3.014l.142.085 4.783 2.759a.771.771 0 0 0 .78 0l5.843-3.369v2.332a.08.08 0 0 1-.033.062L9.74 19.95a4.5 4.5 0 0 1-6.14-1.646zM2.34 7.896a4.485 4.485 0 0 1 2.366-1.973V11.6a.766.766 0 0 0 .388.676l5.815 3.355-2.02 1.168a.076.076 0 0 1-.071 0l-4.83-2.786A4.504 4.504 0 0 1 2.34 7.872zm16.597 3.855l-5.833-3.387L15.119 7.2a.076.076 0 0 1 .071 0l4.83 2.791a4.494 4.494 0 0 1-.676 8.105v-5.678a.79.79 0 0 0-.407-.667zm2.01-3.023l-.141-.085-4.774-2.782a.776.776 0 0 0-.785 0L9.409 9.23V6.897a.066.066 0 0 1 .028-.061l4.83-2.787a4.5 4.5 0 0 1 6.68 4.66zm-12.64 4.135l-2.02-1.164a.08.08 0 0 1-.038-.057V6.075a4.5 4.5 0 0 1 7.375-3.453l-.142.08L8.704 5.46a.795.795 0 0 0-.393.681zm1.097-2.365l2.602-1.5 2.607 1.5v2.999l-2.597 1.5-2.607-1.5z"})),"ChatGPT"),Object(i.createElement)("span",{style:{display:"inline-flex",alignItems:"center",gap:"5px",padding:"6px 10px",background:"#C6613F",borderRadius:"50px",fontSize:"11px",color:"#fff",fontWeight:"500"}},Object(i.createElement)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"#fff"},Object(i.createElement)("path",{d:"m4.7144 15.9555 4.7174-2.6471.079-.2307-.079-.1275h-.2307l-.7893-.0486-2.6956-.0729-2.3375-.0971-2.2646-.1214-.5707-.1215-.5343-.7042.0546-.3522.4797-.3218.686.0608 1.5179.1032 2.2767.1578 1.6514.0972 2.4468.255h.3886l.0546-.1579-.1336-.0971-.1032-.0972L6.973 9.8356l-2.55-1.6879-1.3356-.9714-.7225-.4918-.3643-.4614-.1578-1.0078.6557-.7225.8803.0607.2246.0607.8925.686 1.9064 1.4754 2.4893 1.8336.3643.3035.1457-.1032.0182-.0728-.164-.2733-1.3539-2.4467-1.445-2.4893-.6435-1.032-.17-.6194c-.0607-.255-.1032-.4674-.1032-.7285L6.287.1335 6.6997 0l.9957.1336.419.3642.6192 1.4147 1.0018 2.2282 1.5543 3.0296.4553.8985.2429.8318.091.255h.1579v-.1457l.1275-1.706.2368-2.0947.2307-2.6957.0789-.7589.3764-.9107.7468-.4918.5828.2793.4797.686-.0668.4433-.2853 1.8517-.5586 2.9021-.3643 1.9429h.2125l.2429-.2429.9835-1.3053 1.6514-2.0643.7286-.8196.85-.9046.5464-.4311h1.0321l.759 1.1293-.34 1.1657-1.0625 1.3478-.8804 1.1414-1.2628 1.7-.7893 1.36.0729.1093.1882-.0183 2.8535-.607 1.5421-.2794 1.8396-.3157.8318.3886.091.3946-.3278.8075-1.967.4857-2.3072.4614-3.4364.8136-.0425.0304.0486.0607 1.5482.1457.6618.0364h1.621l3.0175.2247.7892.522.4736.6376-.079.4857-1.2142.6193-1.6393-.3886-3.825-.9107-1.3113-.3279h-.1822v.1093l1.0929 1.0686 2.0035 1.8092 2.5075 2.3314.1275.5768-.3218.4554-.34-.0486-2.2039-1.6575-.85-.7468-1.9246-1.621h-.1275v.17l.4432.6496 2.3436 3.5214.1214 1.0807-.17.3521-.6071.2125-.6679-.1214-1.3721-1.9246L14.38 17.959l-1.1414-1.9428-.1397.079-.674 7.2552-.3156.3703-.7286.2793-.6071-.4614-.3218-.7468.3218-1.4753.3886-1.9246.3157-1.53.2853-1.9004.17-.6314-.0121-.0425-.1397.0182-1.4328 1.9672-2.1796 2.9446-1.7243 1.8456-.4128.164-.7164-.3704.0667-.6618.4008-.5889 2.386-3.0357 1.4389-1.882.929-1.0868-.0062-.1579h-.0546l-6.3385 4.1164-1.1293.1457-.4857-.4554.0608-.7467.2307-.2429 1.9064-1.3114Z"})),"Claude"),Object(i.createElement)("span",{style:{display:"inline-flex",alignItems:"center",gap:"5px",padding:"6px 10px",background:"#20808D",borderRadius:"50px",fontSize:"11px",color:"#fff",fontWeight:"500"}},Object(i.createElement)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"#fff"},Object(i.createElement)("path",{d:"M22.3977 7.0896h-2.3106V.0676l-7.5094 6.3542V.1577h-1.1554v6.1966L4.4904 0v7.0896H1.6023v10.3976h2.8882V24l6.932-6.3591v6.2005h1.1554v-6.0469l6.9318 6.1807v-6.4879h2.8882V7.0896zm-3.4657-4.531v4.531h-5.355l5.355-4.531zm-13.2862.0676 4.8691 4.4634H5.6458V2.6262zM2.7576 16.332V8.245h7.8476l-6.1149 6.1147v1.9723H2.7576zm2.8882 5.0404v-3.8852h.0001v-2.6488l5.7763-5.7764v7.0111l-5.7764 5.2993zm12.7086.0248-5.7766-5.1509V9.0618l5.7766 5.7766v6.5588zm2.8882-5.0652h-1.733v-1.9723L13.3948 8.245h7.8478v8.087z"})),"Perplexity"))),Object(i.createElement)(f.__experimentalSpacer,{margin:4}),Object(i.createElement)(f.Button,{variant:"primary",href:"https://www.wpzoom.com/plugins/social- widget/?utm_source=wpadmin&utm_medium=plugin&utm_campaign=social-icons-free&utm_content=block-inspector",target:"_blank",style:{width:"100%",justifyContent:"center"}},Object(b.__)("Upgrade to Pro","social-icons-widget-by-wpzoom")),Object(i.createElement)("p",{style:{marginTop:"12px",fontSize:"11px",color:"#757575",textAlign:"center"}},Object(b.__)("Unlock analytics, like buttons, AI sharing & more","social-icons-widget-by-wpzoom")))),Object(i.createElement)(f.PanelBody,{title:Object(b.__)("Sharing Networks","social-icons-widget-by-wpzoom")},Object(i.createElement)("p",{className:"components-base-control__help"},Object(b.__)("Select which platforms to display. Drag handles to reorder networks.","social-icons-widget-by-wpzoom")),Object(i.createElement)("div",{className:"wpzoom-social-icons-platforms-list"},_.map((e,o)=>Object(i.createElement)("div",{key:e.id,className:"wpzoom-social-platform-item",draggable:"true",onDragStart:e=>((e,t)=>{S(!0),B(t),e.dataTransfer.effectAllowed="move",e.dataTransfer.setData("text/plain",t.toString()),setTimeout(()=>{document.querySelectorAll(".wpzoom-social-platform-item")[t].classList.add("is-dragging")},0)})(e,o),onDragOver:e=>((e,t)=>{e.preventDefault(),e.dataTransfer.dropEffect="move",P!==t&&N(t)})(e,o),onDragEnter:e=>((e,t)=>{e.preventDefault(),P!==t&&document.querySelectorAll(".wpzoom-social-platform-item")[t].classList.add("drag-over")})(e,o),onDragLeave:e=>((e,t)=>{document.querySelectorAll(".wpzoom-social-platform-item")[t].classList.remove("drag-over")})(0,o),onDrop:e=>((e,o)=>{e.preventDefault(),e.stopPropagation();const n=parseInt(e.dataTransfer.getData("text/plain"),10);if(n!==o){const e=[..._],[r]=e.splice(n,1);e.splice(o,0,r),t({platforms:e,showLabels:d,borderRadius:z,align:c,iconColor:p,iconSize:g,labelSize:w,paddingVertical:y,paddingHorizontal:O,marginVertical:j,marginHorizontal:C,hasBorder:k})}S(!1),B(null),N(null),document.querySelectorAll(".wpzoom-social-platform-item").forEach(e=>{e.classList.remove("is-dragging","drag-over")})})(e,o),onDragEnd:Y,style:{display:"flex",alignItems:"center",padding:"8px 0",borderBottom:"1px solid #e0e0e0"}},Object(i.createElement)(f.Flex,{align:"center"},Object(i.createElement)(f.FlexItem,null,Object(i.createElement)(f.Tooltip,{text:Object(b.__)("Drag to reorder","social-icons-widget-by-wpzoom")},Object(i.createElement)("span",{className:"drag-handle",style:{cursor:"grab",marginRight:"8px",color:"#777"}},Object(i.createElement)(f.Icon,{icon:J})))),Object(i.createElement)(f.FlexBlock,null,Object(i.createElement)(f.CheckboxControl,{label:e.name,checked:e.enabled,onChange:o=>((e,o)=>{const n=_.map(t=>t.id===e?{...t,enabled:o}:t);t({platforms:n})})(e.id,o)})),Object(i.createElement)(f.FlexItem,null,Object(i.createElement)(f.ButtonGroup,null,Object(i.createElement)(f.Tooltip,{text:Object(b.__)("Move Up","social-icons-widget-by-wpzoom")},Object(i.createElement)(f.Button,{icon:"arrow-up-alt2",onClick:()=>X(o,o-1),disabled:0===o,isSmall:!0})),Object(i.createElement)(f.Tooltip,{text:Object(b.__)("Move Down","social-icons-widget-by-wpzoom")},Object(i.createElement)(f.Button,{icon:"arrow-down-alt2",onClick:()=>X(o,o+1),disabled:o===_.length-1,isSmall:!0}))))))),Object(i.createElement)(f.__experimentalDivider,{style:{marginTop:"12px",marginBottom:"8px"}}),Object(i.createElement)("p",{style:{margin:"0 0 8px 0",fontWeight:"500",fontSize:"11px",textTransform:"uppercase",color:"#757575"}},Object(b.__)("Pro Features","social-icons-widget-by-wpzoom")),Object(i.createElement)("div",{className:"wpzoom-social-platform-item wpzoom-pro-item",style:{display:"flex",alignItems:"center",padding:"8px 0",borderBottom:"1px solid #e0e0e0",opacity:"0.6"}},Object(i.createElement)(f.Flex,{align:"center"},Object(i.createElement)(f.FlexItem,null,Object(i.createElement)("span",{style:{marginRight:"8px",color:"#ccc",display:"flex",alignItems:"center"}},Object(i.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"#E91E63"},Object(i.createElement)("path",{d:"M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"})))),Object(i.createElement)(f.FlexBlock,null,Object(i.createElement)("span",{style:{display:"flex",alignItems:"center",gap:"6px"}},Object(i.createElement)("input",{type:"checkbox",disabled:!0,style:{margin:0}}),Object(i.createElement)("span",null,Object(b.__)("Like Button","social-icons-widget-by-wpzoom")),Object(i.createElement)("span",{style:{background:"#2271b1",color:"#fff",fontSize:"9px",padding:"1px 4px",borderRadius:"3px",textTransform:"uppercase",fontWeight:"600"}},"Pro"))))),Object(i.createElement)("div",{className:"wpzoom-social-platform-item wpzoom-pro-item",style:{display:"flex",alignItems:"center",padding:"8px 0",borderBottom:"1px solid #e0e0e0",opacity:"0.6"}},Object(i.createElement)(f.Flex,{align:"center"},Object(i.createElement)(f.FlexItem,null,Object(i.createElement)("span",{style:{marginRight:"8px",color:"#ccc",display:"flex",alignItems:"center"}},Object(i.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"#000"},Object(i.createElement)("path",{d:"M22.282 9.821a5.985 5.985 0 0 0-.516-4.91 6.046 6.046 0 0 0-6.51-2.9A6.065 6.065 0 0 0 4.981 4.18a5.985 5.985 0 0 0-3.998 2.9 6.046 6.046 0 0 0 .743 7.097 5.98 5.98 0 0 0 .51 4.911 6.051 6.051 0 0 0 6.515 2.9A5.985 5.985 0 0 0 13.26 24a6.056 6.056 0 0 0 5.772-4.206 5.99 5.99 0 0 0 3.997-2.9 6.056 6.056 0 0 0-.747-7.073zM13.26 22.43a4.476 4.476 0 0 1-2.876-1.04l.141-.081 4.779-2.758a.795.795 0 0 0 .392-.681v-6.737l2.02 1.168a.071.071 0 0 1 .038.052v5.583a4.504 4.504 0 0 1-4.494 4.494zM3.6 18.304a4.47 4.47 0 0 1-.535-3.014l.142.085 4.783 2.759a.771.771 0 0 0 .78 0l5.843-3.369v2.332a.08.08 0 0 1-.033.062L9.74 19.95a4.5 4.5 0 0 1-6.14-1.646zM2.34 7.896a4.485 4.485 0 0 1 2.366-1.973V11.6a.766.766 0 0 0 .388.676l5.815 3.355-2.02 1.168a.076.076 0 0 1-.071 0l-4.83-2.786A4.504 4.504 0 0 1 2.34 7.872zm16.597 3.855l-5.833-3.387L15.119 7.2a.076.076 0 0 1 .071 0l4.83 2.791a4.494 4.494 0 0 1-.676 8.105v-5.678a.79.79 0 0 0-.407-.667zm2.01-3.023l-.141-.085-4.774-2.782a.776.776 0 0 0-.785 0L9.409 9.23V6.897a.066.066 0 0 1 .028-.061l4.83-2.787a4.5 4.5 0 0 1 6.68 4.66zm-12.64 4.135l-2.02-1.164a.08.08 0 0 1-.038-.057V6.075a4.5 4.5 0 0 1 7.375-3.453l-.142.08L8.704 5.46a.795.795 0 0 0-.393.681zm1.097-2.365l2.602-1.5 2.607 1.5v2.999l-2.597 1.5-2.607-1.5z"})))),Object(i.createElement)(f.FlexBlock,null,Object(i.createElement)("span",{style:{display:"flex",alignItems:"center",gap:"6px"}},Object(i.createElement)("input",{type:"checkbox",disabled:!0,style:{margin:0}}),Object(i.createElement)("span",null,Object(b.__)("ChatGPT","social-icons-widget-by-wpzoom")),Object(i.createElement)("span",{style:{background:"#2271b1",color:"#fff",fontSize:"9px",padding:"1px 4px",borderRadius:"3px",textTransform:"uppercase",fontWeight:"600"}},"Pro"))))),Object(i.createElement)("div",{className:"wpzoom-social-platform-item wpzoom-pro-item",style:{display:"flex",alignItems:"center",padding:"8px 0",borderBottom:"1px solid #e0e0e0",opacity:"0.6"}},Object(i.createElement)(f.Flex,{align:"center"},Object(i.createElement)(f.FlexItem,null,Object(i.createElement)("span",{style:{marginRight:"8px",color:"#ccc",display:"flex",alignItems:"center"}},Object(i.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"#C6613F"},Object(i.createElement)("path",{d:"m4.7144 15.9555 4.7174-2.6471.079-.2307-.079-.1275h-.2307l-.7893-.0486-2.6956-.0729-2.3375-.0971-2.2646-.1214-.5707-.1215-.5343-.7042.0546-.3522.4797-.3218.686.0608 1.5179.1032 2.2767.1578 1.6514.0972 2.4468.255h.3886l.0546-.1579-.1336-.0971-.1032-.0972L6.973 9.8356l-2.55-1.6879-1.3356-.9714-.7225-.4918-.3643-.4614-.1578-1.0078.6557-.7225.8803.0607.2246.0607.8925.686 1.9064 1.4754 2.4893 1.8336.3643.3035.1457-.1032.0182-.0728-.164-.2733-1.3539-2.4467-1.445-2.4893-.6435-1.032-.17-.6194c-.0607-.255-.1032-.4674-.1032-.7285L6.287.1335 6.6997 0l.9957.1336.419.3642.6192 1.4147 1.0018 2.2282 1.5543 3.0296.4553.8985.2429.8318.091.255h.1579v-.1457l.1275-1.706.2368-2.0947.2307-2.6957.0789-.7589.3764-.9107.7468-.4918.5828.2793.4797.686-.0668.4433-.2853 1.8517-.5586 2.9021-.3643 1.9429h.2125l.2429-.2429.9835-1.3053 1.6514-2.0643.7286-.8196.85-.9046.5464-.4311h1.0321l.759 1.1293-.34 1.1657-1.0625 1.3478-.8804 1.1414-1.2628 1.7-.7893 1.36.0729.1093.1882-.0183 2.8535-.607 1.5421-.2794 1.8396-.3157.8318.3886.091.3946-.3278.8075-1.967.4857-2.3072.4614-3.4364.8136-.0425.0304.0486.0607 1.5482.1457.6618.0364h1.621l3.0175.2247.7892.522.4736.6376-.079.4857-1.2142.6193-1.6393-.3886-3.825-.9107-1.3113-.3279h-.1822v.1093l1.0929 1.0686 2.0035 1.8092 2.5075 2.3314.1275.5768-.3218.4554-.34-.0486-2.2039-1.6575-.85-.7468-1.9246-1.621h-.1275v.17l.4432.6496 2.3436 3.5214.1214 1.0807-.17.3521-.6071.2125-.6679-.1214-1.3721-1.9246L14.38 17.959l-1.1414-1.9428-.1397.079-.674 7.2552-.3156.3703-.7286.2793-.6071-.4614-.3218-.7468.3218-1.4753.3886-1.9246.3157-1.53.2853-1.9004.17-.6314-.0121-.0425-.1397.0182-1.4328 1.9672-2.1796 2.9446-1.7243 1.8456-.4128.164-.7164-.3704.0667-.6618.4008-.5889 2.386-3.0357 1.4389-1.882.929-1.0868-.0062-.1579h-.0546l-6.3385 4.1164-1.1293.1457-.4857-.4554.0608-.7467.2307-.2429 1.9064-1.3114Z"})))),Object(i.createElement)(f.FlexBlock,null,Object(i.createElement)("span",{style:{display:"flex",alignItems:"center",gap:"6px"}},Object(i.createElement)("input",{type:"checkbox",disabled:!0,style:{margin:0}}),Object(i.createElement)("span",null,Object(b.__)("Claude","social-icons-widget-by-wpzoom")),Object(i.createElement)("span",{style:{background:"#2271b1",color:"#fff",fontSize:"9px",padding:"1px 4px",borderRadius:"3px",textTransform:"uppercase",fontWeight:"600"}},"Pro"))))),Object(i.createElement)("div",{className:"wpzoom-social-platform-item wpzoom-pro-item",style:{display:"flex",alignItems:"center",padding:"8px 0",borderBottom:"1px solid #e0e0e0",opacity:"0.6"}},Object(i.createElement)(f.Flex,{align:"center"},Object(i.createElement)(f.FlexItem,null,Object(i.createElement)("span",{style:{marginRight:"8px",color:"#ccc",display:"flex",alignItems:"center"}},Object(i.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"#20808D"},Object(i.createElement)("path",{d:"M22.3977 7.0896h-2.3106V.0676l-7.5094 6.3542V.1577h-1.1554v6.1966L4.4904 0v7.0896H1.6023v10.3976h2.8882V24l6.932-6.3591v6.2005h1.1554v-6.0469l6.9318 6.1807v-6.4879h2.8882V7.0896zm-3.4657-4.531v4.531h-5.355l5.355-4.531zm-13.2862.0676 4.8691 4.4634H5.6458V2.6262zM2.7576 16.332V8.245h7.8476l-6.1149 6.1147v1.9723H2.7576zm2.8882 5.0404v-3.8852h.0001v-2.6488l5.7763-5.7764v7.0111l-5.7764 5.2993zm12.7086.0248-5.7766-5.1509V9.0618l5.7766 5.7766v6.5588zm2.8882-5.0652h-1.733v-1.9723L13.3948 8.245h7.8478v8.087z"})))),Object(i.createElement)(f.FlexBlock,null,Object(i.createElement)("span",{style:{display:"flex",alignItems:"center",gap:"6px"}},Object(i.createElement)("input",{type:"checkbox",disabled:!0,style:{margin:0}}),Object(i.createElement)("span",null,Object(b.__)("Perplexity","social-icons-widget-by-wpzoom")),Object(i.createElement)("span",{style:{background:"#2271b1",color:"#fff",fontSize:"9px",padding:"1px 4px",borderRadius:"3px",textTransform:"uppercase",fontWeight:"600"}},"Pro"))))),Object(i.createElement)(f.Button,{variant:"link",href:"https://www.wpzoom.com/plugins/social-widget/?utm_source=wpadmin&utm_medium=plugin&utm_campaign=social-icons-free&utm_content=sharing-networks",target:"_blank",style:{marginTop:"8px",fontSize:"12px"}},Object(b.__)("Unlock all features →","social-icons-widget-by-wpzoom")))),!x&&window.wpzSocialIconsBlock&&Object(i.createElement)(f.PanelBody,{title:Object(b.__)("Auto-Display Configuration","social-icons-widget-by-wpzoom"),initialOpen:!1},Object(i.createElement)("p",{className:"components-base-control__help",style:{marginBottom:"12px"}},Object(b.__)("Want sharing buttons to appear automatically in all posts/pages?","social-icons-widget-by-wpzoom")),Object(i.createElement)("p",{className:"components-base-control__help",style:{marginBottom:"12px"}},Object(b.__)("Configure automatic sharing button display settings for your entire site.","social-icons-widget-by-wpzoom")),window.wpzSocialIconsBlock.sharingConfigUrl?Object(i.createElement)(f.Button,{variant:"secondary",href:window.wpzSocialIconsBlock.sharingConfigUrl,target:"_blank",style:{width:"100%"}},Object(b.__)("Open Sharing Buttons Settings →","social-icons-widget-by-wpzoom")):Object(i.createElement)("p",{className:"components-base-control__help"},Object(b.__)("Sharing configuration not found. Please save this block first.","social-icons-widget-by-wpzoom")),Object(i.createElement)("p",{className:"components-base-control__help",style:{marginTop:"12px",fontSize:"11px",fontStyle:"italic"}},Object(b.__)("Note: This will open the admin settings page where you can configure automatic display of sharing buttons across your site.","social-icons-widget-by-wpzoom"))),x&&Object(i.createElement)(f.PanelBody,{title:Object(b.__)("Display Settings","social-icons-widget-by-wpzoom"),initialOpen:!1},Object(i.createElement)("p",{className:"components-base-control__help",style:{marginBottom:"12px"}},Object(b.__)("You are editing the global Sharing Buttons configuration.","social-icons-widget-by-wpzoom")),Object(i.createElement)("p",{className:"components-base-control__help",style:{marginBottom:"12px"}},Object(b.__)("To control where these buttons appear automatically on your site, click on the button below.","social-icons-widget-by-wpzoom")),Object(i.createElement)(f.Button,{variant:"secondary",onClick:()=>{const e=document.querySelector('button[data-tab-id="edit-post/document"]');e&&"true"!==e.getAttribute("aria-selected")&&e.click(),setTimeout(()=>{const e=document.getElementById("wpzoom_sharing_settings");e?(e.scrollIntoView({behavior:"smooth",block:"center"}),e.style.transition="background-color 0.5s ease",e.style.backgroundColor="#fff3cd",setTimeout(()=>{e.style.backgroundColor=""},2e3)):window.scrollTo({top:document.body.scrollHeight,behavior:"smooth"})},100)},style:{width:"100%"}},Object(b.__)("Jump to Display Settings","social-icons-widget-by-wpzoom"))),Object(i.createElement)(f.PanelBody,{title:Object(b.__)("Display Options","social-icons-widget-by-wpzoom")},Object(i.createElement)(f.__experimentalToggleGroupControl,{label:Object(b.__)("Alignment","social-icons-widget-by-wpzoom"),value:c,onChange:e=>t({align:e}),isBlock:!0},Object(i.createElement)(f.__experimentalToggleGroupControlOption,{value:"left",label:Object(b.__)("Left","social-icons-widget-by-wpzoom")}),Object(i.createElement)(f.__experimentalToggleGroupControlOption,{value:"center",label:Object(b.__)("Center","social-icons-widget-by-wpzoom")}),Object(i.createElement)(f.__experimentalToggleGroupControlOption,{value:"right",label:Object(b.__)("Right","social-icons-widget-by-wpzoom")})),Object(i.createElement)(f.__experimentalSpacer,{margin:4}),Object(i.createElement)(f.ToggleControl,{label:Object(b.__)("Show Labels","social-icons-widget-by-wpzoom"),checked:d,onChange:()=>t({showLabels:!d})}),_.some(e=>"x"===e.id&&e.enabled)&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)(f.__experimentalDivider,null),Object(i.createElement)(f.TextControl,{label:Object(b.__)("X/Twitter Username","social-icons-widget-by-wpzoom"),help:Object(b.__)('When sharing to X, this will be added as "via @username"',"social-icons-widget-by-wpzoom"),value:e.xUsername||"",onChange:e=>t({xUsername:e}),placeholder:"username"})))),Object(i.createElement)(v.InspectorControls,{group:"styles"},Object(i.createElement)(f.PanelBody,{title:Object(b.__)("Size & Spacing","social-icons-widget-by-wpzoom")},Object(i.createElement)(f.RangeControl,{label:Object(b.__)("Icon Size","social-icons-widget-by-wpzoom"),value:g,onChange:e=>t({iconSize:e}),min:10,max:60,allowReset:!0,resetFallbackValue:20,withInputField:!0}),d&&Object(i.createElement)(f.RangeControl,{label:Object(b.__)("Label Size","social-icons-widget-by-wpzoom"),value:w,onChange:e=>t({labelSize:e}),min:10,max:40,allowReset:!0,resetFallbackValue:20,withInputField:!0}),Object(i.createElement)(f.__experimentalDivider,null),Object(i.createElement)(f.RangeControl,{label:Object(b.__)("Vertical Padding","social-icons-widget-by-wpzoom"),value:y,onChange:e=>t({paddingVertical:e}),min:0,max:30,allowReset:!0,resetFallbackValue:10,withInputField:!0}),Object(i.createElement)(f.RangeControl,{label:Object(b.__)("Horizontal Padding","social-icons-widget-by-wpzoom"),value:O,onChange:e=>t({paddingHorizontal:e}),min:0,max:30,allowReset:!0,resetFallbackValue:10,withInputField:!0}),Object(i.createElement)(f.__experimentalDivider,null),Object(i.createElement)(f.RangeControl,{label:Object(b.__)("Vertical Margin","social-icons-widget-by-wpzoom"),value:j,onChange:e=>t({marginVertical:e}),min:0,max:30,allowReset:!0,resetFallbackValue:5,withInputField:!0}),Object(i.createElement)(f.RangeControl,{label:Object(b.__)("Horizontal Margin","social-icons-widget-by-wpzoom"),value:C,onChange:e=>t({marginHorizontal:e}),min:0,max:30,allowReset:!0,resetFallbackValue:5,withInputField:!0})),Object(i.createElement)(f.PanelBody,{title:Object(b.__)("Shape","social-icons-widget-by-wpzoom")},Object(i.createElement)(f.RangeControl,{label:Object(b.__)("Border Radius","social-icons-widget-by-wpzoom"),value:z,onChange:e=>t({borderRadius:e}),min:0,max:50,allowReset:!0,resetFallbackValue:50,withInputField:!0,disabled:K||q||W||Z,help:K||q?Object(b.__)("Border radius is set to 0 for square styles.","social-icons-widget-by-wpzoom"):W?Object(b.__)("Border radius is set to 50 for pill styles.","social-icons-widget-by-wpzoom"):Z?Object(b.__)("Border radius is not applicable for minimal style.","social-icons-widget-by-wpzoom"):""}),Object(i.createElement)(f.ToggleControl,{label:Object(b.__)("Add Border","social-icons-widget-by-wpzoom"),checked:k,onChange:()=>t({hasBorder:!k}),disabled:W||q||Z,help:W||q?Object(b.__)("Border is always enabled for outlined styles.","social-icons-widget-by-wpzoom"):Z?Object(b.__)("Border is not applicable for minimal style.","social-icons-widget-by-wpzoom"):""}),(k||W||q)&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)(f.RangeControl,{label:Object(b.__)("Border Width","social-icons-widget-by-wpzoom"),value:e.borderWidth||1,onChange:e=>t({borderWidth:e}),min:1,max:5,allowReset:!0,resetFallbackValue:1,withInputField:!0}),Object(i.createElement)("div",{className:"wpzoom-border-color-setting"},Object(i.createElement)(v.__experimentalPanelColorGradientSettings,{title:Object(b.__)("Border Color","social-icons-widget-by-wpzoom"),initialOpen:!1,settings:[{colorValue:W||q?p:e.borderColor||"#000000",onColorChange:e=>{t(W||q?{iconColor:e}:{borderColor:e})},label:W||q?Object(b.__)("Border & Icon Color","social-icons-widget-by-wpzoom"):Object(b.__)("Border Color","social-icons-widget-by-wpzoom"),help:W||q?Object(b.__)("For outlined styles, border color matches icon color","social-icons-widget-by-wpzoom"):""}]})))),Object(i.createElement)(v.__experimentalPanelColorGradientSettings,{title:Object(b.__)("Color Settings","social-icons-widget-by-wpzoom"),initialOpen:!0,settings:[{colorValue:I,onColorChange:e=>t({oneToneColor:e}),label:Object(b.__)("One Tone Background Color","social-icons-widget-by-wpzoom"),disabled:!D,help:D?Object(b.__)("Changes the background color of all icons.","social-icons-widget-by-wpzoom"):Object(b.__)("This option is only available with the One Tone style.","social-icons-widget-by-wpzoom")},{colorValue:p,onColorChange:e=>t({iconColor:e}),label:Object(b.__)("Icon Color","social-icons-widget-by-wpzoom"),help:W||q||Z?Object(b.__)("This color will be applied to icons for outlined and minimal styles","social-icons-widget-by-wpzoom"):""},{colorValue:u,onColorChange:e=>t({iconHoverColor:e}),label:Object(b.__)("Icon Hover Color","social-icons-widget-by-wpzoom")},...d?[{colorValue:m,onColorChange:e=>t({labelColor:e}),label:Object(b.__)("Label Color","social-icons-widget-by-wpzoom"),help:W||q||Z?Object(b.__)("This color will be applied to labels for outlined and minimal styles","social-icons-widget-by-wpzoom"):""},{colorValue:h,onColorChange:e=>t({labelHoverColor:e}),label:Object(b.__)("Label Hover Color","social-icons-widget-by-wpzoom")}]:[]]})))}var G=({id:e,size:t,color:o})=>{const n=(t||24)/24,r=24*n,a=24*n,s={width:r,height:a,fill:o};switch(e){case"facebook":return Object(i.createElement)(f.SVG,{width:r,height:a,viewBox:"0 0 24 24",style:s},Object(i.createElement)(f.Path,{d:"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"}));case"x":return Object(i.createElement)(f.SVG,{width:r,height:a,viewBox:"0 0 24 24",style:s},Object(i.createElement)(f.Path,{d:"M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z"}));case"threads":return Object(i.createElement)(f.SVG,{width:r,height:a,viewBox:"0 0 24 24",style:s},Object(i.createElement)("path",{d:"M12.186 24h-.007c-3.581-.024-6.334-1.205-8.184-3.509C2.35 18.44 1.5 15.586 1.472 12.01v-.017c.03-3.579.879-6.43 2.525-8.482C5.845 1.205 8.6.024 12.18 0h.014c2.746.02 5.043.725 6.826 2.098 1.677 1.29 2.858 3.13 3.509 5.467l-2.04.569c-1.104-3.96-3.898-5.984-8.304-6.015-2.91.022-5.11.936-6.54 2.717C4.307 6.504 3.616 8.914 3.589 12c.027 3.086.718 5.496 2.057 7.164 1.43 1.783 3.631 2.698 6.54 2.717 2.623-.02 4.358-.631 5.8-2.045 1.647-1.613 1.618-3.593 1.09-4.798-.31-.71-.873-1.3-1.634-1.75-.192 1.352-.622 2.446-1.284 3.272-.886 1.102-2.14 1.704-3.73 1.79-1.202.065-2.361-.218-3.259-.801-1.063-.689-1.685-1.74-1.752-2.964-.065-1.19.408-2.285 1.33-3.082.88-.76 2.119-1.207 3.583-1.291a13.853 13.853 0 0 1 3.02.142c-.126-.742-.375-1.332-.75-1.757-.513-.586-1.308-.883-2.359-.89h-.029c-.844 0-1.992.232-2.721 1.32L7.734 7.847c.98-1.454 2.568-2.256 4.478-2.256h.044c3.194.02 5.097 1.975 5.287 5.388.108.046.216.094.321.142 1.49.7 2.58 1.761 3.154 3.07.797 1.82.871 4.79-1.548 7.158-1.85 1.81-4.094 2.628-7.277 2.65Zm1.003-11.69c-.242 0-.487.007-.739.021-1.836.103-2.98.946-2.916 2.143.067 1.256 1.452 1.839 2.784 1.767 1.224-.065 2.818-.543 3.086-3.71a10.5 10.5 0 0 0-2.215-.221z"}));case"linkedin":return Object(i.createElement)(f.SVG,{width:r,height:a,viewBox:"0 0 24 24",style:s},Object(i.createElement)(f.Path,{d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"}));case"pinterest":return Object(i.createElement)(f.SVG,{width:r,height:a,viewBox:"0 0 24 24",style:s},Object(i.createElement)(f.Path,{d:"M12.017 0C5.396 0 .029 5.367.029 11.987c0 5.079 3.158 9.417 7.618 11.162-.105-.949-.199-2.403.041-3.439.219-.937 1.406-5.957 1.406-5.957s-.359-.72-.359-1.781c0-1.663.967-2.911 2.168-2.911 1.024 0 1.518.769 1.518 1.688 0 1.029-.653 2.567-.992 3.992-.285 1.193.6 2.165 1.775 2.165 2.128 0 3.768-2.245 3.768-5.487 0-2.861-2.063-4.869-5.008-4.869-3.41 0-5.409 2.562-5.409 5.199 0 1.033.394 2.143.889 2.741.099.12.112.225.085.345-.09.375-.293 1.199-.334 1.363-.053.225-.172.271-.401.165-1.495-.69-2.433-2.878-2.433-4.646 0-3.776 2.748-7.252 7.92-7.252 4.158 0 7.392 2.967 7.392 6.923 0 4.135-2.607 7.462-6.233 7.462-1.214 0-2.354-.629-2.758-1.379l-.749 2.848c-.269 1.045-1.004 2.352-1.498 3.146 1.123.345 2.306.535 3.55.535 6.607 0 11.985-5.365 11.985-11.987C23.97 5.39 18.592.026 11.985.026L12.017 0z"}));case"reddit":return Object(i.createElement)(f.SVG,{width:r,height:a,viewBox:"0 0 24 24",style:s},Object(i.createElement)("path",{d:"M22 12.068a2.184 2.184 0 0 0-2.186-2.186c-.592 0-1.13.233-1.524.609-1.505-1.075-3.566-1.774-5.86-1.864l1.004-4.695 3.261.699A1.56 1.56 0 1 0 18.255 3c-.61-.001-1.147.357-1.398.877l-3.638-.77a.382.382 0 0 0-.287.053.348.348 0 0 0-.161.251l-1.112 5.233c-2.33.072-4.426.77-5.95 1.864a2.201 2.201 0 0 0-1.523-.61 2.184 2.184 0 0 0-.896 4.176c-.036.215-.053.43-.053.663 0 3.37 3.924 6.111 8.763 6.111s8.763-2.724 8.763-6.11c0-.216-.017-.449-.053-.664A2.207 2.207 0 0 0 22 12.068Zm-15.018 1.56a1.56 1.56 0 0 1 3.118 0c0 .86-.699 1.558-1.559 1.558-.86.018-1.559-.699-1.559-1.559Zm8.728 4.139c-1.076 1.075-3.119 1.147-3.71 1.147-.61 0-2.652-.09-3.71-1.147a.4.4 0 0 1 0-.573.4.4 0 0 1 .574 0c.68.68 2.114.914 3.136.914 1.022 0 2.473-.233 3.136-.914a.4.4 0 0 1 .574 0 .436.436 0 0 1 0 .573Zm-.287-2.563a1.56 1.56 0 0 1 0-3.118c.86 0 1.56.699 1.56 1.56 0 .841-.7 1.558-1.56 1.558Z"}));case"telegram":return Object(i.createElement)(f.SVG,{width:r,height:a,viewBox:"0 0 24 24",style:s},Object(i.createElement)("path",{d:"M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z"}));case"whatsapp":return Object(i.createElement)(f.SVG,{width:r,height:a,viewBox:"0 0 24 24",style:s},Object(i.createElement)(f.Path,{d:"M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z"}));case"bluesky":return Object(i.createElement)(f.SVG,{width:r,height:a,viewBox:"0 0 24 24",style:s},Object(i.createElement)("path",{d:"M12 10.8c-1.087-2.114-4.046-6.053-6.798-7.995C2.566.944 1.561 1.266.902 1.565.139 1.908 0 3.08 0 3.768c0 .69.378 5.65.624 6.479.815 2.736 3.713 3.66 6.383 3.364.136-.02.275-.039.415-.056-.138.022-.276.04-.415.056-3.912.58-7.387 2.005-2.83 7.078 5.013 5.19 6.87-1.113 7.823-4.308.953 3.195 2.05 9.271 7.733 4.308 4.267-4.308 1.172-6.498-2.74-7.078a8.741 8.741 0 0 1-.415-.056c.14.017.279.036.415.056 2.67.297 5.568-.628 6.383-3.364.246-.828.624-5.79.624-6.478 0-.69-.139-1.861-.902-2.206-.659-.298-1.664-.62-4.3 1.24C16.046 4.748 13.087 8.687 12 10.8Z"}));case"email":return Object(i.createElement)(f.SVG,{width:r,height:a,viewBox:"0 0 24 24",style:s},Object(i.createElement)(f.Path,{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-.4 4.25l-7.07 4.42c-.32.2-.74.2-1.06 0L4.4 8.25c-.25-.16-.4-.43-.4-.72 0-.67.73-1.07 1.3-.72L12 11l6.7-4.19c.57-.35 1.3.05 1.3.72 0 .29-.15.56-.4.72z"}));case"copy-link":return Object(i.createElement)(f.SVG,{width:r,height:a,viewBox:"0 0 24 24",style:s},Object(i.createElement)(f.Path,{d:"M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"}));case"print":return Object(i.createElement)(f.SVG,{width:r,height:a,viewBox:"0 0 24 24",style:s},Object(i.createElement)(f.Path,{d:"M19 8H5c-1.66 0-3 1.34-3 3v6h4v4h12v-4h4v-6c0-1.66-1.34-3-3-3zm-3 11H8v-5h8v5zm3-7c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm-1-9H6v4h12V3z"}));default:return Object(i.createElement)(f.SVG,{width:r,height:a,viewBox:"0 0 24 24",style:s},Object(i.createElement)(f.Path,{d:"M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65 0 1.61 1.31 2.92 2.92 2.92 1.61 0 2.92-1.31 2.92-2.92s-1.31-2.92-2.92-2.92z"}))}};Object(M.registerBlockType)("wpzoom-blocks/social-sharing",{title:Object(b.__)("Social Sharing Buttons","social-icons-widget-by-wpzoom"),description:Object(b.__)("Add social sharing buttons to allow visitors to share your content.","social-icons-widget-by-wpzoom"),icon:{foreground:"#274474",src:X},category:"wpzoom-blocks",keywords:[Object(b.__)("Social Sharing","social-icons-widget-by-wpzoom"),Object(b.__)("Share","social-icons-widget-by-wpzoom"),Object(b.__)("Buttons","social-icons-widget-by-wpzoom"),Object(b.__)("Social Media","social-icons-widget-by-wpzoom")],attributes:{align:{type:"string",default:"none"},showLabels:{type:"boolean",default:!0},iconColor:{type:"string",default:"#ffffff"},iconHoverColor:{type:"string",default:"#ffffff"},labelColor:{type:"string",default:"inherit"},labelHoverColor:{type:"string",default:"#ffffff"},iconSize:{type:"number",default:20},labelSize:{type:"number",default:16},paddingVertical:{type:"number",default:5},paddingHorizontal:{type:"number",default:15},marginVertical:{type:"number",default:5},marginHorizontal:{type:"number",default:5},borderRadius:{type:"number",default:50},backgroundStyle:{type:"string",default:"brand"},hasBorder:{type:"boolean",default:!1},borderWidth:{type:"number",default:1},borderColor:{type:"string",default:""},oneToneColor:{type:"string",default:"#000000"},xUsername:{type:"string",default:""},platforms:{type:"array",default:[{id:"facebook",name:"Facebook",enabled:!0,color:"#0866FF"},{id:"x",name:"X",enabled:!0,color:"#000000"},{id:"threads",name:"Threads",enabled:!0,color:"#000000"},{id:"linkedin",name:"LinkedIn",enabled:!0,color:"#0966c2"},{id:"pinterest",name:"Pinterest",enabled:!1,color:"#E60023"},{id:"reddit",name:"Reddit",enabled:!0,color:"#FF4500"},{id:"telegram",name:"Telegram",enabled:!1,color:"#0088cc"},{id:"whatsapp",name:"WhatsApp",enabled:!0,color:"#25D366"},{id:"bluesky",name:"Bluesky",enabled:!1,color:"#1DA1F2"},{id:"email",name:"Email",enabled:!0,color:"#333333"},{id:"copy-link",name:"Copy Link",enabled:!0,color:"#333333"},{id:"print",name:"Print",enabled:!1,color:"#333333"}]}},styles:[{name:"default",label:Object(b.__)("Default (Circle)","social-icons-widget-by-wpzoom"),isDefault:!0},{name:"filled",label:Object(b.__)("Square / Filled","social-icons-widget-by-wpzoom")},{name:"rounded",label:Object(b.__)("Rounded / Filled","social-icons-widget-by-wpzoom")},{name:"outlined-pill",label:Object(b.__)("Outlined / Pill","social-icons-widget-by-wpzoom")},{name:"outlined-square",label:Object(b.__)("Outlined / Square","social-icons-widget-by-wpzoom")},{name:"minimal",label:Object(b.__)("Minimal","social-icons-widget-by-wpzoom")},{name:"one-tone",label:Object(b.__)("One Tone","social-icons-widget-by-wpzoom")}],supports:{align:!0,html:!1,spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0}},edit:function({attributes:e,setAttributes:t,className:o,isSelected:n}){var a,s,l,c,d;const{align:p,showLabels:u,iconColor:m,iconHoverColor:g,labelColor:w,labelHoverColor:y,iconSize:O,labelSize:j,paddingVertical:C,paddingHorizontal:z,marginVertical:E,marginHorizontal:k,borderRadius:_,backgroundStyle:I,hasBorder:x,platforms:A,oneToneColor:S}=e,[P,B]=Object(i.useState)(null),[F,N]=Object(i.useState)(""),H=Object(v.useBlockProps)({className:h()(o,{["align-"+p]:p,"wpzoom-social-sharing-block":!0})}),R=(null==o?void 0:o.includes("is-style-one-tone"))||(null===(a=H.className)||void 0===a?void 0:a.includes("is-style-one-tone")),L=null===(s=H.className)||void 0===s?void 0:s.includes("is-style-outlined-pill"),Q=null===(l=H.className)||void 0===l?void 0:l.includes("is-style-outlined-square"),V=null===(c=H.className)||void 0===c?void 0:c.includes("is-style-minimal"),M=null===(d=H.className)||void 0===d?void 0:d.includes("is-style-filled");Object(i.useEffect)(()=>{!R||S&&void 0!==S||t({oneToneColor:"#000000"})},[R,S]),Object(i.useEffect)(()=>{if(!A.some(e=>"print"===e.id)){const e=[...A,{id:"print",name:"Print",enabled:!1,color:"#333333"}];t({platforms:e})}},[]);const T={textAlign:p},U=A.filter(e=>e.enabled);return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(Y,{attributes:e,setAttributes:t}),Object(i.createElement)("div",r()({},H,{style:T}),U.length>0?Object(i.createElement)("ul",{className:"social-sharing-icons"},U.map((o,r)=>{const a=M?0:_,s=m,l=w;let c=o.color||"#333333";R?c=S||"#000000":(L||Q||V)&&(c="transparent");let d="none";const p=e.borderWidth||1;L||Q?d=`${p}px solid ${s}`:x&&(d=`${p}px solid ${e.borderColor||s}`);const h={padding:`${C}px ${z}px`,margin:`${E}px ${k}px`,borderRadius:a+"px",fontSize:O+"px",color:s,backgroundColor:c,border:d};return V&&(h.padding="5px"),Object(i.createElement)("li",{key:o.id,className:"social-sharing-icon-li"},Object(i.createElement)("a",{className:"social-sharing-icon social-sharing-icon-"+o.id,style:h,href:"#",title:o.name,onClick:e=>{e.preventDefault(),n&&(B(o.id),N(o.name))}},Object(i.createElement)(G,{id:o.id,size:O,color:s}),u&&Object(i.createElement)("span",{className:"social-sharing-icon-label",style:{fontSize:j+"px",color:l}},o.name)),n&&P===o.id&&Object(i.createElement)(f.Popover,{className:"wpzoom-social-sharing-edit-label-popover",position:"bottom center",onClose:()=>B(null)},Object(i.createElement)("div",{style:{padding:"16px",minWidth:"240px"}},Object(i.createElement)("h3",{style:{margin:"0 0 8px 0"}},Object(b.__)("Edit Label","social-icons-widget-by-wpzoom")),Object(i.createElement)(f.TextControl,{label:Object(b.__)("Label Text","social-icons-widget-by-wpzoom"),value:F,onChange:N}),Object(i.createElement)("div",{style:{display:"flex",justifyContent:"space-between",marginTop:"12px"}},Object(i.createElement)(f.Button,{isSecondary:!0,onClick:()=>B(null)},Object(b.__)("Cancel","social-icons-widget-by-wpzoom")),Object(i.createElement)(f.Button,{isPrimary:!0,onClick:()=>((e,o)=>{const n=A.map(t=>t.id===e?{...t,name:o}:t);t({platforms:n}),B(null)})(o.id,F)},Object(b.__)("Save","social-icons-widget-by-wpzoom"))))))})):Object(i.createElement)("p",{className:"no-sharing-platforms-selected"},Object(b.__)("Select sharing networks in the block sidebar.","social-icons-widget-by-wpzoom")),n&&U.length>0&&Object(i.createElement)("div",{className:"wpzoom-click-to-edit-hint",style:{textAlign:"center",fontSize:"13px",color:"#757575",marginTop:"8px"}},Object(b.__)("Click on any icon to edit its label","social-icons-widget-by-wpzoom"))))},save:function({attributes:e}){const{align:t,showLabels:o,iconColor:n,iconHoverColor:a,labelColor:s,labelHoverColor:l,iconSize:c,labelSize:d,paddingVertical:p,paddingHorizontal:u,marginVertical:m,marginHorizontal:b,borderRadius:g,backgroundStyle:f,hasBorder:w,platforms:y,xUsername:O}=e,j=v.useBlockProps.save({className:h()({["align-"+t]:t,"wpzoom-social-sharing-block":!0})}),C={textAlign:t},z=y.filter(e=>e.enabled);return Object(i.createElement)("div",r()({},j,{style:C}),Object(i.createElement)("ul",{className:"social-sharing-icons"},z.map(e=>{const t=((e,t="")=>{switch(e){case"facebook":return{color:"#0866FF",hoverColor:"#0866FF",shareUrl:"https://www.facebook.com/sharer/sharer.php?u={url}&t={title}"};case"x":let e="https://x.com/intent/tweet?url={url}&text={title}";return t&&""!==t.trim()&&(e+="&via="+t.trim().replace(/^@/,"")),{color:"#000000",hoverColor:"#000000",shareUrl:e};case"linkedin":return{color:"#0966c2",hoverColor:"#0966c2",shareUrl:"https://www.linkedin.com/sharing/share-offsite/?url={url}"};case"pinterest":return{color:"#E60023",hoverColor:"#E60023",shareUrl:"https://pinterest.com/pin/create/button/?url={url}&media={featured_image}&description={title}"};case"reddit":return{color:"#FF4500",hoverColor:"#FF4500",shareUrl:"https://www.reddit.com/submit?url={url}&title={title}"};case"telegram":return{color:"#0088cc",hoverColor:"#0088cc",shareUrl:"https://t.me/share/url?url={url}&text={title}"};case"whatsapp":return{color:"#25D366",hoverColor:"#25D366",shareUrl:"https://api.whatsapp.com/send?text={title}%20{url}"};case"bluesky":return{color:"#1DA1F2",hoverColor:"#1DA1F2",shareUrl:"https://bsky.app/intent?text={title}%20{url}"};case"email":return{color:"#333333",hoverColor:"#333333",shareUrl:"mailto:?subject={title}&body={url}"};case"copy-link":return{color:"#333333",hoverColor:"#333333",shareUrl:"#copy-link"};case"print":return{color:"#333333",hoverColor:"#333333",shareUrl:"#print"};default:return{color:"#333333",hoverColor:"#333333",shareUrl:"#"}}})(e.id,O),r={padding:`${p}px ${u}px`,margin:`${m}px ${b}px`,borderRadius:g+"px",fontSize:c+"px",color:n,backgroundColor:t.color,border:w?"1px solid":"none"},a="copy-link"===e.id?"#copy-link":t.shareUrl;return Object(i.createElement)("li",{key:e.id,className:"social-sharing-icon-li"},Object(i.createElement)("a",{className:"social-sharing-icon social-sharing-icon-"+e.id,style:r,href:a,title:e.name,target:"_blank",rel:"noopener noreferrer","data-platform":e.id},Object(i.createElement)(G,{id:e.id,size:c,color:n||"#ffffff"}),o&&Object(i.createElement)("span",{className:"social-sharing-icon-label",style:{fontSize:d+"px",color:s}},e.name)))})))}});var $=Object(i.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 64 1024 1024"},Object(i.createElement)(s.Path,{fill:"#08618a",transform:"scale(1,-1) translate(0,-1024)",d:"M581.456 542.931h-31.41v-102.1c6.669-0.4 12.537-0.867 31.877-0.867 35.745 0 57.085 21.207 57.085 54.018 0 29.009-23.541 48.949-57.552 48.949zM512.033 956.666c-280.958 0-508.699-227.741-508.699-508.699s227.741-508.699 508.699-508.699 508.699 227.741 508.699 508.699-227.807 508.699-508.699 508.699zM450.013 542.931h-32.010l-74.358-240.078h-26.475l-73.957 170.189-74.358-170.189h-26.475l-75.625 240.078h-30.21v40.013h120.039v-40.013h-38.146l44.948-146.448 68.489 159.785h25.208l68.489-159.785 42.014 146.448h-37.612v40.013h120.039v-40.013zM577.721 398.417c-13.004 0-21.007 0-27.676 0.4v-49.283h33.344v-40.013h-113.37v40.013h33.344v193.396h-33.344v40.013h113.97c59.219 0 104.234-33.878 104.234-90.163-0.067-63.487-45.415-94.364-110.503-94.364zM925.101 309.522h-213.003l-4.201 25.342 202.066 208.068h-105.901l-10.537-46.682h-43.281l20.14 86.695h206.734l4.201-25.342-202.066-208.068h112.17l10.537 46.682h43.281l-20.14-86.695z"}));Object(M.updateCategory)("wpzoom-blocks",{icon:$})}]);3 Object(b._n)('%d legacy widget "Social Icons" successfully converted to block','%d legacy widgets "Social Icons" successfully converted to block',o,"social-icons-widget-by-wpzoom"),o);t(e)}})}))}(e).then(e=>{n(!0),Object(T.doAction)("converter.isConvertDone",{message:e})}),null):Object(i.createElement)(f.Placeholder,null,Object(i.createElement)(f.Spinner,null))};var q=Object(i.memo)(({clientId:e,attributes:t,widgetId:o})=>{const[n,r]=Object(i.useState)(!1),{createInfoNotice:a,createWarningNotice:s,createSuccessNotice:l}=Object(g.useDispatch)("core/notices");K[o]={},K[o].clientId=e,K[o].attributes=t;const c=Object(b.__)('Legacy Social Icons Widget has been detected on this page. Since our plugin includes a Social Icons Block, supported by WordPress 5.8, we highly recommend transforming legacy widgets to blocks. You can do that by clicking on the "Convert to block" button. You can also disable the new block-based widget screen by installing the Classic Widgets plugin.',"social-icons-widget-by-wpzoom");return Object(i.useEffect)(()=>{s(c,{id:"wpzoom-social-icons-notice",isDismissible:!0,actions:[{url:Object(U.addQueryArgs)("customize.php",{"autofocus[panel]":"widgets",return:window.location.pathname}),label:Object(b.__)("Manage in Customizer","social-icons-widget-by-wpzoom")},{url:Object(U.addQueryArgs)("plugin-install.php",{s:"classic%20widgets",tab:"search",type:"term"}),label:"Install Classic Widgets"},{label:Object(b.__)("Convert to block","social-icons-widget-by-wpzoom"),onClick:()=>r(!n)}]})},[s,n]),Object(i.useEffect)(()=>{n&&a(Object(b.__)("Converting process is starting. Please wait…","social-icons-widget-by-wpzoom"),{type:"snackbar",id:"wpzoom-social-icons-notice"})},[n,a]),Object(T.addAction)("converter.isConvertDone","wpzoom-blocks/social-icons/convert-legacy-widget",({message:e})=>{l(e,{type:"snackbar",id:"wpzoom-social-icons-notice"})}),e&&n?Object(i.createElement)(i.Fragment,null,Object(i.createElement)(W,{replacementData:K,isConvertRun:n})):null}),Z=function(e){const t=Object(M.getBlockTypes)().filter(e=>-1!==e.name.indexOf("wpzoom-blocks/social-icons"))[0],{attributes:o}=t,n=Object(a.mapValues)(o,e=>e.default),r={wasStyled:!0,canvasType:e.icon_style,showIconsLabel:"true"===e.show_icon_labels,openLinkInNewTab:"true"===e.open_new_tab,nofollow:"true"===e.no_follow,noreferrer:"true"===e.no_referrer,noopener:"true"===e.no_opener,iconsAlignment:e.icon_alignment,iconsColor:e.global_color_picker,iconsHoverColor:e.global_color_picker_hover,iconsLabelHoverColor:"inherit",iconsFontSize:e.icon_font_size,iconsPaddingVertical:e.icon_padding_size,iconsPaddingHorizontal:e.icon_padding_size,iconsBackgroundStyle:e.icon_canvas_style||"round",selectedIcons:e.fields.map(e=>function(e){return{url:e.url,icon:e.icon,iconKit:e.icon_kit,color:e.color_picker,hoverColor:e.color_picker_hover,label:e.label,showPopover:!1,isActive:!1}}(e)),title:e.title,description:e.description},i=Object(a.assign)(n,r);"rounded"===i.iconsBackgroundStyle?i.iconsBorderRadius=3:"round"===i.iconsBackgroundStyle?i.iconsBorderRadius=50:i.iconsBorderRadius=0,"without-canvas"===i.canvasType?i.className="is-style-"+i.canvasType:"with-canvas"===i.canvasType&&(i.className="is-style-with-canvas-round");const s=[{name:"without-canvas",label:"Color Icon / No Background",isDefault:"without-canvas"===i.canvasType},{name:"with-canvas-round",label:"Color Background / Round White Icon",isDefault:"with-canvas"===i.canvasType}];for(let e=0;e<s.length;e++){const t=s[e];Object(M.unregisterBlockStyle)("wpzoom-blocks/social-icons",t.name),Object(M.registerBlockStyle)("wpzoom-blocks/social-icons",t)}return i};document.getElementById("customize-theme-controls"),Object(w.createHigherOrderComponent)(e=>t=>{const{attributes:o,name:n}=t,{id:a,idBase:s,instance:l,__internalWidgetId:c}=o,d=null!=a?a:s;if("core/legacy-widget"===n&&"zoom-social-icons-widget"===d){const{widgetType:o,hasResolvedWidgetType:n}=Object(g.useSelect)(e=>({widgetType:e("core").getWidgetType(d),hasResolvedWidgetType:e("core").hasFinishedResolution("getWidgetType",[d])}),[a,s]),p=Z(l.raw);return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(e,t),o&&n&&Object(i.createElement)(q,r()({},t,{attributes:p,widgetId:c})))}return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(e,t))},"withGroupedBlock"),Object(T.addFilter)("blocks.registerBlockType","wpzoom-blocks/social-icons/class-names/heading-paragraph-block",(function(e,t){return"core/heading"!==t||"core/paragraph"!==t?e:Object(a.assign)({},e,{supports:Object(a.assign)({},e.supports,{className:!0})})})),Object(T.addFilter)("blocks.getBlockAttributes","wpzoom-blocks/social-icons",(function(e){if(void 0!==e.selectedIcons){const t=[...e.selectedIcons];t.map(e=>(e.isActive=!1,e)),e.selectedIcons=t,e.showModal=!1}return e})),Object(M.registerBlockType)("wpzoom-blocks/social-icons",{title:Object(b.__)("Social Icons by WPZOOM","social-icons-widget-by-wpzoom"),description:Object(b.__)("Display icons with links to social media platforms.","social-icons-widget-by-wpzoom"),icon:{foreground:"#274474",src:l},example:{attributes:{cover:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQoAAADJCAYAAADbwHxnAAAKz2lDQ1BJQ0MgUHJvZmlsZQAASImVlwdUU2kWx7/30kNCS4iAlNB77yAl9AAK0kFUQhKSUEJIQcWODI7AiKIigmVEh6rgWAAZCyKKbRCsWAdkUFHGwYINlX3AEmZ2z+6e/Z9zz/vl5n73fved7zvnPgDI6iyRKANWBiBTKBVHBvnS4xMS6bhBAAEYEIA2sGWxJSJGREQYQDTz/Lve30GiEd20msz17///V6lwuBI2AFAEwikcCTsT4eOIfWOLxFIAUAgDg2VS0ST3IUwVIxtEeGSSeVOMnsxDTZlm6lRMdKQfwqYA4EkslpgHAMkR8dNz2DwkDykaYVshRyBEOB9hLzafxUG4E2HLzMysSR5F2DTlL3l4f8uZIs/JYvHkPN3LlPD+Aokog7Xi/3wd/1uZGbKZGsaIkfji4MhphvrSs0LlLExZED7DAs5MPNTHlwXHzDBb4pc4wxyWf6h8bcaCsBlOFQQy5XmkzOgZ5koComZYnBUpr5Uq9mPMMEs8W1eWHiP387lMef5cfnTcDOcIYhfMsCQ9KnQ2xk/uF8si5fvnCoN8Z+sGynvPlPylXwFTvlbKjw6W986a3T9XyJjNKYmX743D9Q+YjYmRx4ukvvJaoowIeTw3I0jul+REyddKkQM5uzZC/g7TWCERMwyiAR/IgBBwABeIQQrIAhlACujAHwiABIiQXyyAHCcpd7l0sjm/LNEKsYDHl9IZyK3j0plCtrUl3d7Wzg2AyTs8fUTe0qbuJkS7MuvLbgfArRBx8mZ9LAMATj4FgPJ+1mfwBjleWwA43cOWiXOmfVN3DQOIQAlQgQbQAQbAFFgBe+AMPIAPCAAhIBzpJAEsAWykn0ykk2VgFVgPCkAR2AJ2gAqwDxwAteAwOApawClwDlwEV0EPuA0egH4wBF6CUfAejEMQhIPIEAXSgHQhI8gCsodcIS8oAAqDIqEEKBniQUJIBq2CNkBFUClUAe2H6qCfoZP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jAaQIUCqebl5UjATsEKBR2ONILCThNgELhdPOyciRghwCFwg5HeiEBpwlQKJxuXlaOBOwQoFDY4UgvJOA0gf8DAD8xcfX+GGoAAAAASUVORK5CYII=",author:"WPZOOM"}},category:"wpzoom-blocks",keywords:[Object(b.__)("Social Icons","social-icons-widget-by-wpzoom"),Object(b.__)("icon","social-icons-widget-by-wpzoom"),Object(b.__)("svg","social-icons-widget-by-wpzoom"),Object(b.__)("share","social-icons-widget-by-wpzoom"),Object(b.__)("sharing","social-icons-widget-by-wpzoom"),Object(b.__)("Fontawesome","social-icons-widget-by-wpzoom")],attributes:{wasStyled:{type:"boolean",default:!1},canvasType:{type:"string",default:"with-canvas"},showIconsLabel:{type:"boolean",default:!1},showModal:{type:"boolean",default:!1},openLinkInNewTab:{type:"boolean",default:!1},nofollow:{type:"boolean",default:!1},noreferrer:{type:"boolean",default:!1},noopener:{type:"boolean",default:!1},relme:{type:"boolean",default:!1},iconsAlignment:{type:"string",default:"left"},iconsColor:{type:"string",default:"#f1f1f1"},iconsLabelColor:{type:"string",default:"inherit"},iconsHoverColor:{type:"string",default:"#f1f1f1"},iconsLabelHoverColor:{type:"string",default:"#f1f1f1"},iconsFontSize:{type:"number",default:20},iconsLabelFontSize:{type:"number",default:20},iconsPaddingVertical:{type:"number",default:10},iconsPaddingHorizontal:{type:"number",default:10},iconsMarginVertical:{type:"number",default:5},iconsMarginHorizontal:{type:"number",default:5},iconsBorderRadius:{type:"number",default:0},iconsBackgroundStyle:{type:"string",default:"round"},iconsHasBorder:{type:"boolean",default:!1},activeIconIndex:{type:"integer",default:0},defaultIcon:{type:"object",default:{icon:"facebook",color:"#f89406",hoverColor:"#f89406"}},selectedIcons:{type:"array",default:[{url:"https://facebook.com",icon:"facebook",iconKit:"socicon",color:"#0866FF",hoverColor:"#0866FF",label:"Facebook",showPopover:!1,isActive:!1,customSvg:null},{url:"https://x.com",icon:"x",iconKit:"socicon",color:"#000000",hoverColor:"#000000",label:"X",showPopover:!1,isActive:!1,customSvg:null},{url:"https://instagram.com",icon:"instagram",iconKit:"socicon",color:"#E4405F",hoverColor:"#E4405F",label:"Instagram",showPopover:!1,isActive:!1,customSvg:null}]}},styles:[{name:"with-canvas-round",label:Object(b.__)("Color Background / Round White Icon","social-icons-widget-by-wpzoom"),isDefault:!0},{name:"with-canvas-rounded",label:Object(b.__)("Color Background / Rounded White Icon","social-icons-widget-by-wpzoom")},{name:"with-canvas-squared",label:Object(b.__)("Color Background / Squared White Icon","social-icons-widget-by-wpzoom")},{name:"without-canvas",label:Object(b.__)("Color Icon / No Background","social-icons-widget-by-wpzoom")},{name:"without-canvas-with-border",label:Object(b.__)("Color Icon / No Background with border","social-icons-widget-by-wpzoom")},{name:"with-label-canvas-rounded",label:Object(b.__)("Color Background / Rounded White Icon with label","social-icons-widget-by-wpzoom")},{name:"without-canvas-with-label",label:Object(b.__)("Color Icon / No Background with label","social-icons-widget-by-wpzoom")}],transforms:{from:[{type:"block",blocks:["core/legacy-widget"],transform:({instance:e})=>Object(M.createBlock)("wpzoom-blocks/social-icons",Z(e.raw))}]},edit:L,save:V}),o(24);var X=Object(i.createElement)(f.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(i.createElement)(f.Path,{d:"M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65 0 1.61 1.31 2.92 2.92 2.92 1.61 0 2.92-1.31 2.92-2.92s-1.31-2.92-2.92-2.92z"})),J=Object(i.createElement)(s.SVG,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(i.createElement)(s.Path,{d:"M5 4h2V2H5v2zm6-2v2h2V2h-2zm-6 8h2V8H5v2zm6 0h2V8h-2v2zm-6 6h2v-2H5v2zm6 0h2v-2h-2v2z"}));function Y({attributes:e,setAttributes:t}){var o,n,r,a,s,l;const{align:c,showLabels:d,iconColor:p,iconHoverColor:u,labelColor:m,labelHoverColor:h,iconSize:g,labelSize:w,paddingVertical:y,paddingHorizontal:O,marginVertical:j,marginHorizontal:C,borderRadius:z,backgroundStyle:E,hasBorder:k,platforms:_,oneToneColor:I}=e,x=document.body.className.includes("post-type-wpzoom-sharing"),[A,S]=Object(i.useState)(!1),[P,B]=Object(i.useState)(null),[F,N]=Object(i.useState)(null),H=e.className,R=null==H?void 0:H.includes("is-style-one-tone"),L=null==H?void 0:H.includes("is-style-filled"),Q=null==H?void 0:H.includes("is-style-rounded"),V=null==H?void 0:H.includes("is-style-outlined-pill"),M=null==H?void 0:H.includes("is-style-outlined-square"),T=null==H?void 0:H.includes("is-style-minimal"),U=v.useBlockProps.save(),D=R||(null===(o=U.className)||void 0===o?void 0:o.includes("is-style-one-tone")),K=L||(null===(n=U.className)||void 0===n?void 0:n.includes("is-style-filled")),W=(Q||null===(r=U.className)||void 0===r||r.includes("is-style-rounded"),V||(null===(a=U.className)||void 0===a?void 0:a.includes("is-style-outlined-pill"))),q=M||(null===(s=U.className)||void 0===s?void 0:s.includes("is-style-outlined-square")),Z=T||(null===(l=U.className)||void 0===l?void 0:l.includes("is-style-minimal"));Object(i.useEffect)(()=>{!D||I&&void 0!==I||(t({oneToneColor:"#000000"}),t({iconColor:"#ffffff",labelColor:"#ffffff"}))},[D,I]),Object(i.useEffect)(()=>{null!=H&&H.includes("is-style-outlined-pill")||null!=H&&H.includes("is-style-outlined-square")||null!=H&&H.includes("is-style-minimal")?("#ffffff"!==p&&"#fff"!==p&&p||t({iconColor:"#000000"}),"inherit"!==m&&"#ffffff"!==m&&"#fff"!==m&&m||t({labelColor:"#000000"})):(null!=H&&H.includes("is-style-one-tone")||null!=H&&H.includes("is-style-default")||null!=H&&H.includes("is-style-filled")||null!=H&&H.includes("is-style-rounded"))&&t({iconColor:"#ffffff",labelColor:"#ffffff"})},[H,t]),Object(i.useEffect)(()=>{var e,o,n;U.className&&((e=>{let o=z;e.includes("is-style-filled")?o=0:e.includes("is-style-rounded")?o=8:e.includes("is-style-default")||e.includes("is-style-outlined-pill")?o=50:e.includes("is-style-outlined-square")&&(o=0),t({borderRadius:o})})(U.className),W||q||Z?("#ffffff"!==p&&"#fff"!==p&&p||t({iconColor:"#000000"}),"inherit"!==m&&"#ffffff"!==m&&"#fff"!==m&&m||t({labelColor:"#000000"})):(D||null!==(e=U.className)&&void 0!==e&&e.includes("is-style-default")||null!==(o=U.className)&&void 0!==o&&o.includes("is-style-filled")||null!==(n=U.className)&&void 0!==n&&n.includes("is-style-rounded"))&&t({iconColor:"#ffffff",labelColor:"#ffffff"}))},[U.className,W,q,Z,D,t]);const X=(e,o)=>{if(o<0||o>=_.length)return;const n=[..._],[r]=n.splice(e,1);n.splice(o,0,r),t({platforms:n,showLabels:d,borderRadius:z,align:c,iconColor:p,iconSize:g,labelSize:w,paddingVertical:y,paddingHorizontal:O,marginVertical:j,marginHorizontal:C,hasBorder:k})},Y=e=>{S(!1),B(null),N(null),document.querySelectorAll(".wpzoom-social-platform-item").forEach(e=>{e.classList.remove("is-dragging","drag-over")})};return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(v.InspectorControls,null,Object(i.createElement)(f.PanelBody,{title:Object(i.createElement)(i.Fragment,null,Object(b.__)("Pro Features","social-icons-widget-by-wpzoom"),Object(i.createElement)("span",{className:"wpzoom-pro-badge",style:{background:"#2271b1",color:"#fff",fontSize:"9px",padding:"2px 5px",borderRadius:"3px",marginLeft:"6px",textTransform:"uppercase",fontWeight:"600",verticalAlign:"middle"}},"Pro")),initialOpen:!0},Object(i.createElement)("div",{className:"wpzoom-pro-features-upsell"},Object(i.createElement)(f.ToggleControl,{label:Object(b.__)("Show Like Button","social-icons-widget-by-wpzoom"),checked:!1,onChange:()=>{},disabled:!0}),Object(i.createElement)(f.ToggleControl,{label:Object(b.__)("Show Share Counts","social-icons-widget-by-wpzoom"),checked:!1,onChange:()=>{},disabled:!0}),Object(i.createElement)(f.ToggleControl,{label:Object(b.__)("Show Individual Counts","social-icons-widget-by-wpzoom"),checked:!1,onChange:()=>{},disabled:!0}),Object(i.createElement)(f.__experimentalDivider,null),Object(i.createElement)("div",{className:"wpzoom-ai-platforms-preview",style:{marginTop:"12px"}},Object(i.createElement)("p",{style:{margin:"0 0 8px 0",fontWeight:"500",fontSize:"11px",textTransform:"uppercase",color:"#757575"}},Object(b.__)("AI Share Buttons","social-icons-widget-by-wpzoom")),Object(i.createElement)("div",{style:{display:"flex",gap:"6px",flexWrap:"wrap"}},Object(i.createElement)("span",{style:{display:"inline-flex",alignItems:"center",gap:"5px",padding:"6px 10px",background:"#000000",borderRadius:"50px",fontSize:"11px",color:"#fff",fontWeight:"500"}},Object(i.createElement)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"#fff"},Object(i.createElement)("path",{d:"M22.282 9.821a5.985 5.985 0 0 0-.516-4.91 6.046 6.046 0 0 0-6.51-2.9A6.065 6.065 0 0 0 4.981 4.18a5.985 5.985 0 0 0-3.998 2.9 6.046 6.046 0 0 0 .743 7.097 5.98 5.98 0 0 0 .51 4.911 6.051 6.051 0 0 0 6.515 2.9A5.985 5.985 0 0 0 13.26 24a6.056 6.056 0 0 0 5.772-4.206 5.99 5.99 0 0 0 3.997-2.9 6.056 6.056 0 0 0-.747-7.073zM13.26 22.43a4.476 4.476 0 0 1-2.876-1.04l.141-.081 4.779-2.758a.795.795 0 0 0 .392-.681v-6.737l2.02 1.168a.071.071 0 0 1 .038.052v5.583a4.504 4.504 0 0 1-4.494 4.494zM3.6 18.304a4.47 4.47 0 0 1-.535-3.014l.142.085 4.783 2.759a.771.771 0 0 0 .78 0l5.843-3.369v2.332a.08.08 0 0 1-.033.062L9.74 19.95a4.5 4.5 0 0 1-6.14-1.646zM2.34 7.896a4.485 4.485 0 0 1 2.366-1.973V11.6a.766.766 0 0 0 .388.676l5.815 3.355-2.02 1.168a.076.076 0 0 1-.071 0l-4.83-2.786A4.504 4.504 0 0 1 2.34 7.872zm16.597 3.855l-5.833-3.387L15.119 7.2a.076.076 0 0 1 .071 0l4.83 2.791a4.494 4.494 0 0 1-.676 8.105v-5.678a.79.79 0 0 0-.407-.667zm2.01-3.023l-.141-.085-4.774-2.782a.776.776 0 0 0-.785 0L9.409 9.23V6.897a.066.066 0 0 1 .028-.061l4.83-2.787a4.5 4.5 0 0 1 6.68 4.66zm-12.64 4.135l-2.02-1.164a.08.08 0 0 1-.038-.057V6.075a4.5 4.5 0 0 1 7.375-3.453l-.142.08L8.704 5.46a.795.795 0 0 0-.393.681zm1.097-2.365l2.602-1.5 2.607 1.5v2.999l-2.597 1.5-2.607-1.5z"})),"ChatGPT"),Object(i.createElement)("span",{style:{display:"inline-flex",alignItems:"center",gap:"5px",padding:"6px 10px",background:"#C6613F",borderRadius:"50px",fontSize:"11px",color:"#fff",fontWeight:"500"}},Object(i.createElement)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"#fff"},Object(i.createElement)("path",{d:"m4.7144 15.9555 4.7174-2.6471.079-.2307-.079-.1275h-.2307l-.7893-.0486-2.6956-.0729-2.3375-.0971-2.2646-.1214-.5707-.1215-.5343-.7042.0546-.3522.4797-.3218.686.0608 1.5179.1032 2.2767.1578 1.6514.0972 2.4468.255h.3886l.0546-.1579-.1336-.0971-.1032-.0972L6.973 9.8356l-2.55-1.6879-1.3356-.9714-.7225-.4918-.3643-.4614-.1578-1.0078.6557-.7225.8803.0607.2246.0607.8925.686 1.9064 1.4754 2.4893 1.8336.3643.3035.1457-.1032.0182-.0728-.164-.2733-1.3539-2.4467-1.445-2.4893-.6435-1.032-.17-.6194c-.0607-.255-.1032-.4674-.1032-.7285L6.287.1335 6.6997 0l.9957.1336.419.3642.6192 1.4147 1.0018 2.2282 1.5543 3.0296.4553.8985.2429.8318.091.255h.1579v-.1457l.1275-1.706.2368-2.0947.2307-2.6957.0789-.7589.3764-.9107.7468-.4918.5828.2793.4797.686-.0668.4433-.2853 1.8517-.5586 2.9021-.3643 1.9429h.2125l.2429-.2429.9835-1.3053 1.6514-2.0643.7286-.8196.85-.9046.5464-.4311h1.0321l.759 1.1293-.34 1.1657-1.0625 1.3478-.8804 1.1414-1.2628 1.7-.7893 1.36.0729.1093.1882-.0183 2.8535-.607 1.5421-.2794 1.8396-.3157.8318.3886.091.3946-.3278.8075-1.967.4857-2.3072.4614-3.4364.8136-.0425.0304.0486.0607 1.5482.1457.6618.0364h1.621l3.0175.2247.7892.522.4736.6376-.079.4857-1.2142.6193-1.6393-.3886-3.825-.9107-1.3113-.3279h-.1822v.1093l1.0929 1.0686 2.0035 1.8092 2.5075 2.3314.1275.5768-.3218.4554-.34-.0486-2.2039-1.6575-.85-.7468-1.9246-1.621h-.1275v.17l.4432.6496 2.3436 3.5214.1214 1.0807-.17.3521-.6071.2125-.6679-.1214-1.3721-1.9246L14.38 17.959l-1.1414-1.9428-.1397.079-.674 7.2552-.3156.3703-.7286.2793-.6071-.4614-.3218-.7468.3218-1.4753.3886-1.9246.3157-1.53.2853-1.9004.17-.6314-.0121-.0425-.1397.0182-1.4328 1.9672-2.1796 2.9446-1.7243 1.8456-.4128.164-.7164-.3704.0667-.6618.4008-.5889 2.386-3.0357 1.4389-1.882.929-1.0868-.0062-.1579h-.0546l-6.3385 4.1164-1.1293.1457-.4857-.4554.0608-.7467.2307-.2429 1.9064-1.3114Z"})),"Claude"),Object(i.createElement)("span",{style:{display:"inline-flex",alignItems:"center",gap:"5px",padding:"6px 10px",background:"#20808D",borderRadius:"50px",fontSize:"11px",color:"#fff",fontWeight:"500"}},Object(i.createElement)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"#fff"},Object(i.createElement)("path",{d:"M22.3977 7.0896h-2.3106V.0676l-7.5094 6.3542V.1577h-1.1554v6.1966L4.4904 0v7.0896H1.6023v10.3976h2.8882V24l6.932-6.3591v6.2005h1.1554v-6.0469l6.9318 6.1807v-6.4879h2.8882V7.0896zm-3.4657-4.531v4.531h-5.355l5.355-4.531zm-13.2862.0676 4.8691 4.4634H5.6458V2.6262zM2.7576 16.332V8.245h7.8476l-6.1149 6.1147v1.9723H2.7576zm2.8882 5.0404v-3.8852h.0001v-2.6488l5.7763-5.7764v7.0111l-5.7764 5.2993zm12.7086.0248-5.7766-5.1509V9.0618l5.7766 5.7766v6.5588zm2.8882-5.0652h-1.733v-1.9723L13.3948 8.245h7.8478v8.087z"})),"Perplexity"))),Object(i.createElement)(f.__experimentalSpacer,{margin:4}),Object(i.createElement)(f.Button,{variant:"primary",href:"https://www.wpzoom.com/plugins/social-share/?utm_source=wpadmin&utm_medium=plugin&utm_campaign=social-icons-free&utm_content=block-inspector",target:"_blank",style:{width:"100%",justifyContent:"center"}},Object(b.__)("Upgrade to Pro","social-icons-widget-by-wpzoom")),Object(i.createElement)("p",{style:{marginTop:"12px",fontSize:"11px",color:"#757575",textAlign:"center"}},Object(b.__)("Unlock analytics, like buttons, AI sharing & more","social-icons-widget-by-wpzoom")))),Object(i.createElement)(f.PanelBody,{title:Object(b.__)("Sharing Networks","social-icons-widget-by-wpzoom")},Object(i.createElement)("p",{className:"components-base-control__help"},Object(b.__)("Select which platforms to display. Drag handles to reorder networks.","social-icons-widget-by-wpzoom")),Object(i.createElement)("div",{className:"wpzoom-social-icons-platforms-list"},_.map((e,o)=>Object(i.createElement)("div",{key:e.id,className:"wpzoom-social-platform-item",draggable:"true",onDragStart:e=>((e,t)=>{S(!0),B(t),e.dataTransfer.effectAllowed="move",e.dataTransfer.setData("text/plain",t.toString()),setTimeout(()=>{document.querySelectorAll(".wpzoom-social-platform-item")[t].classList.add("is-dragging")},0)})(e,o),onDragOver:e=>((e,t)=>{e.preventDefault(),e.dataTransfer.dropEffect="move",P!==t&&N(t)})(e,o),onDragEnter:e=>((e,t)=>{e.preventDefault(),P!==t&&document.querySelectorAll(".wpzoom-social-platform-item")[t].classList.add("drag-over")})(e,o),onDragLeave:e=>((e,t)=>{document.querySelectorAll(".wpzoom-social-platform-item")[t].classList.remove("drag-over")})(0,o),onDrop:e=>((e,o)=>{e.preventDefault(),e.stopPropagation();const n=parseInt(e.dataTransfer.getData("text/plain"),10);if(n!==o){const e=[..._],[r]=e.splice(n,1);e.splice(o,0,r),t({platforms:e,showLabels:d,borderRadius:z,align:c,iconColor:p,iconSize:g,labelSize:w,paddingVertical:y,paddingHorizontal:O,marginVertical:j,marginHorizontal:C,hasBorder:k})}S(!1),B(null),N(null),document.querySelectorAll(".wpzoom-social-platform-item").forEach(e=>{e.classList.remove("is-dragging","drag-over")})})(e,o),onDragEnd:Y,style:{display:"flex",alignItems:"center",padding:"8px 0",borderBottom:"1px solid #e0e0e0"}},Object(i.createElement)(f.Flex,{align:"center"},Object(i.createElement)(f.FlexItem,null,Object(i.createElement)(f.Tooltip,{text:Object(b.__)("Drag to reorder","social-icons-widget-by-wpzoom")},Object(i.createElement)("span",{className:"drag-handle",style:{cursor:"grab",marginRight:"8px",color:"#777"}},Object(i.createElement)(f.Icon,{icon:J})))),Object(i.createElement)(f.FlexBlock,null,Object(i.createElement)(f.CheckboxControl,{label:e.name,checked:e.enabled,onChange:o=>((e,o)=>{const n=_.map(t=>t.id===e?{...t,enabled:o}:t);t({platforms:n})})(e.id,o)})),Object(i.createElement)(f.FlexItem,null,Object(i.createElement)(f.ButtonGroup,null,Object(i.createElement)(f.Tooltip,{text:Object(b.__)("Move Up","social-icons-widget-by-wpzoom")},Object(i.createElement)(f.Button,{icon:"arrow-up-alt2",onClick:()=>X(o,o-1),disabled:0===o,isSmall:!0})),Object(i.createElement)(f.Tooltip,{text:Object(b.__)("Move Down","social-icons-widget-by-wpzoom")},Object(i.createElement)(f.Button,{icon:"arrow-down-alt2",onClick:()=>X(o,o+1),disabled:o===_.length-1,isSmall:!0}))))))),Object(i.createElement)(f.__experimentalDivider,{style:{marginTop:"12px",marginBottom:"8px"}}),Object(i.createElement)("p",{style:{margin:"0 0 8px 0",fontWeight:"500",fontSize:"11px",textTransform:"uppercase",color:"#757575"}},Object(b.__)("Pro Features","social-icons-widget-by-wpzoom")),Object(i.createElement)("div",{className:"wpzoom-social-platform-item wpzoom-pro-item",style:{display:"flex",alignItems:"center",padding:"8px 0",borderBottom:"1px solid #e0e0e0",opacity:"0.6"}},Object(i.createElement)(f.Flex,{align:"center"},Object(i.createElement)(f.FlexItem,null,Object(i.createElement)("span",{style:{marginRight:"8px",color:"#ccc",display:"flex",alignItems:"center"}},Object(i.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"#E91E63"},Object(i.createElement)("path",{d:"M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"})))),Object(i.createElement)(f.FlexBlock,null,Object(i.createElement)("span",{style:{display:"flex",alignItems:"center",gap:"6px"}},Object(i.createElement)("input",{type:"checkbox",disabled:!0,style:{margin:0}}),Object(i.createElement)("span",null,Object(b.__)("Like Button","social-icons-widget-by-wpzoom")),Object(i.createElement)("span",{style:{background:"#2271b1",color:"#fff",fontSize:"9px",padding:"1px 4px",borderRadius:"3px",textTransform:"uppercase",fontWeight:"600"}},"Pro"))))),Object(i.createElement)("div",{className:"wpzoom-social-platform-item wpzoom-pro-item",style:{display:"flex",alignItems:"center",padding:"8px 0",borderBottom:"1px solid #e0e0e0",opacity:"0.6"}},Object(i.createElement)(f.Flex,{align:"center"},Object(i.createElement)(f.FlexItem,null,Object(i.createElement)("span",{style:{marginRight:"8px",color:"#ccc",display:"flex",alignItems:"center"}},Object(i.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"#000"},Object(i.createElement)("path",{d:"M22.282 9.821a5.985 5.985 0 0 0-.516-4.91 6.046 6.046 0 0 0-6.51-2.9A6.065 6.065 0 0 0 4.981 4.18a5.985 5.985 0 0 0-3.998 2.9 6.046 6.046 0 0 0 .743 7.097 5.98 5.98 0 0 0 .51 4.911 6.051 6.051 0 0 0 6.515 2.9A5.985 5.985 0 0 0 13.26 24a6.056 6.056 0 0 0 5.772-4.206 5.99 5.99 0 0 0 3.997-2.9 6.056 6.056 0 0 0-.747-7.073zM13.26 22.43a4.476 4.476 0 0 1-2.876-1.04l.141-.081 4.779-2.758a.795.795 0 0 0 .392-.681v-6.737l2.02 1.168a.071.071 0 0 1 .038.052v5.583a4.504 4.504 0 0 1-4.494 4.494zM3.6 18.304a4.47 4.47 0 0 1-.535-3.014l.142.085 4.783 2.759a.771.771 0 0 0 .78 0l5.843-3.369v2.332a.08.08 0 0 1-.033.062L9.74 19.95a4.5 4.5 0 0 1-6.14-1.646zM2.34 7.896a4.485 4.485 0 0 1 2.366-1.973V11.6a.766.766 0 0 0 .388.676l5.815 3.355-2.02 1.168a.076.076 0 0 1-.071 0l-4.83-2.786A4.504 4.504 0 0 1 2.34 7.872zm16.597 3.855l-5.833-3.387L15.119 7.2a.076.076 0 0 1 .071 0l4.83 2.791a4.494 4.494 0 0 1-.676 8.105v-5.678a.79.79 0 0 0-.407-.667zm2.01-3.023l-.141-.085-4.774-2.782a.776.776 0 0 0-.785 0L9.409 9.23V6.897a.066.066 0 0 1 .028-.061l4.83-2.787a4.5 4.5 0 0 1 6.68 4.66zm-12.64 4.135l-2.02-1.164a.08.08 0 0 1-.038-.057V6.075a4.5 4.5 0 0 1 7.375-3.453l-.142.08L8.704 5.46a.795.795 0 0 0-.393.681zm1.097-2.365l2.602-1.5 2.607 1.5v2.999l-2.597 1.5-2.607-1.5z"})))),Object(i.createElement)(f.FlexBlock,null,Object(i.createElement)("span",{style:{display:"flex",alignItems:"center",gap:"6px"}},Object(i.createElement)("input",{type:"checkbox",disabled:!0,style:{margin:0}}),Object(i.createElement)("span",null,Object(b.__)("ChatGPT","social-icons-widget-by-wpzoom")),Object(i.createElement)("span",{style:{background:"#2271b1",color:"#fff",fontSize:"9px",padding:"1px 4px",borderRadius:"3px",textTransform:"uppercase",fontWeight:"600"}},"Pro"))))),Object(i.createElement)("div",{className:"wpzoom-social-platform-item wpzoom-pro-item",style:{display:"flex",alignItems:"center",padding:"8px 0",borderBottom:"1px solid #e0e0e0",opacity:"0.6"}},Object(i.createElement)(f.Flex,{align:"center"},Object(i.createElement)(f.FlexItem,null,Object(i.createElement)("span",{style:{marginRight:"8px",color:"#ccc",display:"flex",alignItems:"center"}},Object(i.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"#C6613F"},Object(i.createElement)("path",{d:"m4.7144 15.9555 4.7174-2.6471.079-.2307-.079-.1275h-.2307l-.7893-.0486-2.6956-.0729-2.3375-.0971-2.2646-.1214-.5707-.1215-.5343-.7042.0546-.3522.4797-.3218.686.0608 1.5179.1032 2.2767.1578 1.6514.0972 2.4468.255h.3886l.0546-.1579-.1336-.0971-.1032-.0972L6.973 9.8356l-2.55-1.6879-1.3356-.9714-.7225-.4918-.3643-.4614-.1578-1.0078.6557-.7225.8803.0607.2246.0607.8925.686 1.9064 1.4754 2.4893 1.8336.3643.3035.1457-.1032.0182-.0728-.164-.2733-1.3539-2.4467-1.445-2.4893-.6435-1.032-.17-.6194c-.0607-.255-.1032-.4674-.1032-.7285L6.287.1335 6.6997 0l.9957.1336.419.3642.6192 1.4147 1.0018 2.2282 1.5543 3.0296.4553.8985.2429.8318.091.255h.1579v-.1457l.1275-1.706.2368-2.0947.2307-2.6957.0789-.7589.3764-.9107.7468-.4918.5828.2793.4797.686-.0668.4433-.2853 1.8517-.5586 2.9021-.3643 1.9429h.2125l.2429-.2429.9835-1.3053 1.6514-2.0643.7286-.8196.85-.9046.5464-.4311h1.0321l.759 1.1293-.34 1.1657-1.0625 1.3478-.8804 1.1414-1.2628 1.7-.7893 1.36.0729.1093.1882-.0183 2.8535-.607 1.5421-.2794 1.8396-.3157.8318.3886.091.3946-.3278.8075-1.967.4857-2.3072.4614-3.4364.8136-.0425.0304.0486.0607 1.5482.1457.6618.0364h1.621l3.0175.2247.7892.522.4736.6376-.079.4857-1.2142.6193-1.6393-.3886-3.825-.9107-1.3113-.3279h-.1822v.1093l1.0929 1.0686 2.0035 1.8092 2.5075 2.3314.1275.5768-.3218.4554-.34-.0486-2.2039-1.6575-.85-.7468-1.9246-1.621h-.1275v.17l.4432.6496 2.3436 3.5214.1214 1.0807-.17.3521-.6071.2125-.6679-.1214-1.3721-1.9246L14.38 17.959l-1.1414-1.9428-.1397.079-.674 7.2552-.3156.3703-.7286.2793-.6071-.4614-.3218-.7468.3218-1.4753.3886-1.9246.3157-1.53.2853-1.9004.17-.6314-.0121-.0425-.1397.0182-1.4328 1.9672-2.1796 2.9446-1.7243 1.8456-.4128.164-.7164-.3704.0667-.6618.4008-.5889 2.386-3.0357 1.4389-1.882.929-1.0868-.0062-.1579h-.0546l-6.3385 4.1164-1.1293.1457-.4857-.4554.0608-.7467.2307-.2429 1.9064-1.3114Z"})))),Object(i.createElement)(f.FlexBlock,null,Object(i.createElement)("span",{style:{display:"flex",alignItems:"center",gap:"6px"}},Object(i.createElement)("input",{type:"checkbox",disabled:!0,style:{margin:0}}),Object(i.createElement)("span",null,Object(b.__)("Claude","social-icons-widget-by-wpzoom")),Object(i.createElement)("span",{style:{background:"#2271b1",color:"#fff",fontSize:"9px",padding:"1px 4px",borderRadius:"3px",textTransform:"uppercase",fontWeight:"600"}},"Pro"))))),Object(i.createElement)("div",{className:"wpzoom-social-platform-item wpzoom-pro-item",style:{display:"flex",alignItems:"center",padding:"8px 0",borderBottom:"1px solid #e0e0e0",opacity:"0.6"}},Object(i.createElement)(f.Flex,{align:"center"},Object(i.createElement)(f.FlexItem,null,Object(i.createElement)("span",{style:{marginRight:"8px",color:"#ccc",display:"flex",alignItems:"center"}},Object(i.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"#20808D"},Object(i.createElement)("path",{d:"M22.3977 7.0896h-2.3106V.0676l-7.5094 6.3542V.1577h-1.1554v6.1966L4.4904 0v7.0896H1.6023v10.3976h2.8882V24l6.932-6.3591v6.2005h1.1554v-6.0469l6.9318 6.1807v-6.4879h2.8882V7.0896zm-3.4657-4.531v4.531h-5.355l5.355-4.531zm-13.2862.0676 4.8691 4.4634H5.6458V2.6262zM2.7576 16.332V8.245h7.8476l-6.1149 6.1147v1.9723H2.7576zm2.8882 5.0404v-3.8852h.0001v-2.6488l5.7763-5.7764v7.0111l-5.7764 5.2993zm12.7086.0248-5.7766-5.1509V9.0618l5.7766 5.7766v6.5588zm2.8882-5.0652h-1.733v-1.9723L13.3948 8.245h7.8478v8.087z"})))),Object(i.createElement)(f.FlexBlock,null,Object(i.createElement)("span",{style:{display:"flex",alignItems:"center",gap:"6px"}},Object(i.createElement)("input",{type:"checkbox",disabled:!0,style:{margin:0}}),Object(i.createElement)("span",null,Object(b.__)("Perplexity","social-icons-widget-by-wpzoom")),Object(i.createElement)("span",{style:{background:"#2271b1",color:"#fff",fontSize:"9px",padding:"1px 4px",borderRadius:"3px",textTransform:"uppercase",fontWeight:"600"}},"Pro"))))),Object(i.createElement)(f.Button,{variant:"link",href:"https://www.wpzoom.com/plugins/social-share/?utm_source=wpadmin&utm_medium=plugin&utm_campaign=social-icons-free&utm_content=sharing-networks",target:"_blank",style:{marginTop:"8px",fontSize:"12px"}},Object(b.__)("Unlock all features →","social-icons-widget-by-wpzoom")))),!x&&window.wpzSocialIconsBlock&&Object(i.createElement)(f.PanelBody,{title:Object(b.__)("Auto-Display Configuration","social-icons-widget-by-wpzoom"),initialOpen:!1},Object(i.createElement)("p",{className:"components-base-control__help",style:{marginBottom:"12px"}},Object(b.__)("Want sharing buttons to appear automatically in all posts/pages?","social-icons-widget-by-wpzoom")),Object(i.createElement)("p",{className:"components-base-control__help",style:{marginBottom:"12px"}},Object(b.__)("Configure automatic sharing button display settings for your entire site.","social-icons-widget-by-wpzoom")),window.wpzSocialIconsBlock.sharingConfigUrl?Object(i.createElement)(f.Button,{variant:"secondary",href:window.wpzSocialIconsBlock.sharingConfigUrl,target:"_blank",style:{width:"100%"}},Object(b.__)("Open Sharing Buttons Settings →","social-icons-widget-by-wpzoom")):Object(i.createElement)("p",{className:"components-base-control__help"},Object(b.__)("Sharing configuration not found. Please save this block first.","social-icons-widget-by-wpzoom")),Object(i.createElement)("p",{className:"components-base-control__help",style:{marginTop:"12px",fontSize:"11px",fontStyle:"italic"}},Object(b.__)("Note: This will open the admin settings page where you can configure automatic display of sharing buttons across your site.","social-icons-widget-by-wpzoom"))),x&&Object(i.createElement)(f.PanelBody,{title:Object(b.__)("Display Settings","social-icons-widget-by-wpzoom"),initialOpen:!1},Object(i.createElement)("p",{className:"components-base-control__help",style:{marginBottom:"12px"}},Object(b.__)("You are editing the global Sharing Buttons configuration.","social-icons-widget-by-wpzoom")),Object(i.createElement)("p",{className:"components-base-control__help",style:{marginBottom:"12px"}},Object(b.__)("To control where these buttons appear automatically on your site, click on the button below.","social-icons-widget-by-wpzoom")),Object(i.createElement)(f.Button,{variant:"secondary",onClick:()=>{const e=document.querySelector('button[data-tab-id="edit-post/document"]');e&&"true"!==e.getAttribute("aria-selected")&&e.click(),setTimeout(()=>{const e=document.getElementById("wpzoom_sharing_settings");e?(e.scrollIntoView({behavior:"smooth",block:"center"}),e.style.transition="background-color 0.5s ease",e.style.backgroundColor="#fff3cd",setTimeout(()=>{e.style.backgroundColor=""},2e3)):window.scrollTo({top:document.body.scrollHeight,behavior:"smooth"})},100)},style:{width:"100%"}},Object(b.__)("Jump to Display Settings","social-icons-widget-by-wpzoom"))),Object(i.createElement)(f.PanelBody,{title:Object(b.__)("Display Options","social-icons-widget-by-wpzoom")},Object(i.createElement)(f.__experimentalToggleGroupControl,{label:Object(b.__)("Alignment","social-icons-widget-by-wpzoom"),value:c,onChange:e=>t({align:e}),isBlock:!0},Object(i.createElement)(f.__experimentalToggleGroupControlOption,{value:"left",label:Object(b.__)("Left","social-icons-widget-by-wpzoom")}),Object(i.createElement)(f.__experimentalToggleGroupControlOption,{value:"center",label:Object(b.__)("Center","social-icons-widget-by-wpzoom")}),Object(i.createElement)(f.__experimentalToggleGroupControlOption,{value:"right",label:Object(b.__)("Right","social-icons-widget-by-wpzoom")})),Object(i.createElement)(f.__experimentalSpacer,{margin:4}),Object(i.createElement)(f.ToggleControl,{label:Object(b.__)("Show Labels","social-icons-widget-by-wpzoom"),checked:d,onChange:()=>t({showLabels:!d})}),_.some(e=>"x"===e.id&&e.enabled)&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)(f.__experimentalDivider,null),Object(i.createElement)(f.TextControl,{label:Object(b.__)("X/Twitter Username","social-icons-widget-by-wpzoom"),help:Object(b.__)('When sharing to X, this will be added as "via @username"',"social-icons-widget-by-wpzoom"),value:e.xUsername||"",onChange:e=>t({xUsername:e}),placeholder:"username"})))),Object(i.createElement)(v.InspectorControls,{group:"styles"},Object(i.createElement)(f.PanelBody,{title:Object(b.__)("Size & Spacing","social-icons-widget-by-wpzoom")},Object(i.createElement)(f.RangeControl,{label:Object(b.__)("Icon Size","social-icons-widget-by-wpzoom"),value:g,onChange:e=>t({iconSize:e}),min:10,max:60,allowReset:!0,resetFallbackValue:20,withInputField:!0}),d&&Object(i.createElement)(f.RangeControl,{label:Object(b.__)("Label Size","social-icons-widget-by-wpzoom"),value:w,onChange:e=>t({labelSize:e}),min:10,max:40,allowReset:!0,resetFallbackValue:20,withInputField:!0}),Object(i.createElement)(f.__experimentalDivider,null),Object(i.createElement)(f.RangeControl,{label:Object(b.__)("Vertical Padding","social-icons-widget-by-wpzoom"),value:y,onChange:e=>t({paddingVertical:e}),min:0,max:30,allowReset:!0,resetFallbackValue:10,withInputField:!0}),Object(i.createElement)(f.RangeControl,{label:Object(b.__)("Horizontal Padding","social-icons-widget-by-wpzoom"),value:O,onChange:e=>t({paddingHorizontal:e}),min:0,max:30,allowReset:!0,resetFallbackValue:10,withInputField:!0}),Object(i.createElement)(f.__experimentalDivider,null),Object(i.createElement)(f.RangeControl,{label:Object(b.__)("Vertical Margin","social-icons-widget-by-wpzoom"),value:j,onChange:e=>t({marginVertical:e}),min:0,max:30,allowReset:!0,resetFallbackValue:5,withInputField:!0}),Object(i.createElement)(f.RangeControl,{label:Object(b.__)("Horizontal Margin","social-icons-widget-by-wpzoom"),value:C,onChange:e=>t({marginHorizontal:e}),min:0,max:30,allowReset:!0,resetFallbackValue:5,withInputField:!0})),Object(i.createElement)(f.PanelBody,{title:Object(b.__)("Shape","social-icons-widget-by-wpzoom")},Object(i.createElement)(f.RangeControl,{label:Object(b.__)("Border Radius","social-icons-widget-by-wpzoom"),value:z,onChange:e=>t({borderRadius:e}),min:0,max:50,allowReset:!0,resetFallbackValue:50,withInputField:!0,disabled:K||q||W||Z,help:K||q?Object(b.__)("Border radius is set to 0 for square styles.","social-icons-widget-by-wpzoom"):W?Object(b.__)("Border radius is set to 50 for pill styles.","social-icons-widget-by-wpzoom"):Z?Object(b.__)("Border radius is not applicable for minimal style.","social-icons-widget-by-wpzoom"):""}),Object(i.createElement)(f.ToggleControl,{label:Object(b.__)("Add Border","social-icons-widget-by-wpzoom"),checked:k,onChange:()=>t({hasBorder:!k}),disabled:W||q||Z,help:W||q?Object(b.__)("Border is always enabled for outlined styles.","social-icons-widget-by-wpzoom"):Z?Object(b.__)("Border is not applicable for minimal style.","social-icons-widget-by-wpzoom"):""}),(k||W||q)&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)(f.RangeControl,{label:Object(b.__)("Border Width","social-icons-widget-by-wpzoom"),value:e.borderWidth||1,onChange:e=>t({borderWidth:e}),min:1,max:5,allowReset:!0,resetFallbackValue:1,withInputField:!0}),Object(i.createElement)("div",{className:"wpzoom-border-color-setting"},Object(i.createElement)(v.__experimentalPanelColorGradientSettings,{title:Object(b.__)("Border Color","social-icons-widget-by-wpzoom"),initialOpen:!1,settings:[{colorValue:W||q?p:e.borderColor||"#000000",onColorChange:e=>{t(W||q?{iconColor:e}:{borderColor:e})},label:W||q?Object(b.__)("Border & Icon Color","social-icons-widget-by-wpzoom"):Object(b.__)("Border Color","social-icons-widget-by-wpzoom"),help:W||q?Object(b.__)("For outlined styles, border color matches icon color","social-icons-widget-by-wpzoom"):""}]})))),Object(i.createElement)(v.__experimentalPanelColorGradientSettings,{title:Object(b.__)("Color Settings","social-icons-widget-by-wpzoom"),initialOpen:!0,settings:[{colorValue:I,onColorChange:e=>t({oneToneColor:e}),label:Object(b.__)("One Tone Background Color","social-icons-widget-by-wpzoom"),disabled:!D,help:D?Object(b.__)("Changes the background color of all icons.","social-icons-widget-by-wpzoom"):Object(b.__)("This option is only available with the One Tone style.","social-icons-widget-by-wpzoom")},{colorValue:p,onColorChange:e=>t({iconColor:e}),label:Object(b.__)("Icon Color","social-icons-widget-by-wpzoom"),help:W||q||Z?Object(b.__)("This color will be applied to icons for outlined and minimal styles","social-icons-widget-by-wpzoom"):""},{colorValue:u,onColorChange:e=>t({iconHoverColor:e}),label:Object(b.__)("Icon Hover Color","social-icons-widget-by-wpzoom")},...d?[{colorValue:m,onColorChange:e=>t({labelColor:e}),label:Object(b.__)("Label Color","social-icons-widget-by-wpzoom"),help:W||q||Z?Object(b.__)("This color will be applied to labels for outlined and minimal styles","social-icons-widget-by-wpzoom"):""},{colorValue:h,onColorChange:e=>t({labelHoverColor:e}),label:Object(b.__)("Label Hover Color","social-icons-widget-by-wpzoom")}]:[]]})))}var G=({id:e,size:t,color:o})=>{const n=(t||24)/24,r=24*n,a=24*n,s={width:r,height:a,fill:o};switch(e){case"facebook":return Object(i.createElement)(f.SVG,{width:r,height:a,viewBox:"0 0 24 24",style:s},Object(i.createElement)(f.Path,{d:"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"}));case"x":return Object(i.createElement)(f.SVG,{width:r,height:a,viewBox:"0 0 24 24",style:s},Object(i.createElement)(f.Path,{d:"M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z"}));case"threads":return Object(i.createElement)(f.SVG,{width:r,height:a,viewBox:"0 0 24 24",style:s},Object(i.createElement)("path",{d:"M12.186 24h-.007c-3.581-.024-6.334-1.205-8.184-3.509C2.35 18.44 1.5 15.586 1.472 12.01v-.017c.03-3.579.879-6.43 2.525-8.482C5.845 1.205 8.6.024 12.18 0h.014c2.746.02 5.043.725 6.826 2.098 1.677 1.29 2.858 3.13 3.509 5.467l-2.04.569c-1.104-3.96-3.898-5.984-8.304-6.015-2.91.022-5.11.936-6.54 2.717C4.307 6.504 3.616 8.914 3.589 12c.027 3.086.718 5.496 2.057 7.164 1.43 1.783 3.631 2.698 6.54 2.717 2.623-.02 4.358-.631 5.8-2.045 1.647-1.613 1.618-3.593 1.09-4.798-.31-.71-.873-1.3-1.634-1.75-.192 1.352-.622 2.446-1.284 3.272-.886 1.102-2.14 1.704-3.73 1.79-1.202.065-2.361-.218-3.259-.801-1.063-.689-1.685-1.74-1.752-2.964-.065-1.19.408-2.285 1.33-3.082.88-.76 2.119-1.207 3.583-1.291a13.853 13.853 0 0 1 3.02.142c-.126-.742-.375-1.332-.75-1.757-.513-.586-1.308-.883-2.359-.89h-.029c-.844 0-1.992.232-2.721 1.32L7.734 7.847c.98-1.454 2.568-2.256 4.478-2.256h.044c3.194.02 5.097 1.975 5.287 5.388.108.046.216.094.321.142 1.49.7 2.58 1.761 3.154 3.07.797 1.82.871 4.79-1.548 7.158-1.85 1.81-4.094 2.628-7.277 2.65Zm1.003-11.69c-.242 0-.487.007-.739.021-1.836.103-2.98.946-2.916 2.143.067 1.256 1.452 1.839 2.784 1.767 1.224-.065 2.818-.543 3.086-3.71a10.5 10.5 0 0 0-2.215-.221z"}));case"linkedin":return Object(i.createElement)(f.SVG,{width:r,height:a,viewBox:"0 0 24 24",style:s},Object(i.createElement)(f.Path,{d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"}));case"pinterest":return Object(i.createElement)(f.SVG,{width:r,height:a,viewBox:"0 0 24 24",style:s},Object(i.createElement)(f.Path,{d:"M12.017 0C5.396 0 .029 5.367.029 11.987c0 5.079 3.158 9.417 7.618 11.162-.105-.949-.199-2.403.041-3.439.219-.937 1.406-5.957 1.406-5.957s-.359-.72-.359-1.781c0-1.663.967-2.911 2.168-2.911 1.024 0 1.518.769 1.518 1.688 0 1.029-.653 2.567-.992 3.992-.285 1.193.6 2.165 1.775 2.165 2.128 0 3.768-2.245 3.768-5.487 0-2.861-2.063-4.869-5.008-4.869-3.41 0-5.409 2.562-5.409 5.199 0 1.033.394 2.143.889 2.741.099.12.112.225.085.345-.09.375-.293 1.199-.334 1.363-.053.225-.172.271-.401.165-1.495-.69-2.433-2.878-2.433-4.646 0-3.776 2.748-7.252 7.92-7.252 4.158 0 7.392 2.967 7.392 6.923 0 4.135-2.607 7.462-6.233 7.462-1.214 0-2.354-.629-2.758-1.379l-.749 2.848c-.269 1.045-1.004 2.352-1.498 3.146 1.123.345 2.306.535 3.55.535 6.607 0 11.985-5.365 11.985-11.987C23.97 5.39 18.592.026 11.985.026L12.017 0z"}));case"reddit":return Object(i.createElement)(f.SVG,{width:r,height:a,viewBox:"0 0 24 24",style:s},Object(i.createElement)("path",{d:"M22 12.068a2.184 2.184 0 0 0-2.186-2.186c-.592 0-1.13.233-1.524.609-1.505-1.075-3.566-1.774-5.86-1.864l1.004-4.695 3.261.699A1.56 1.56 0 1 0 18.255 3c-.61-.001-1.147.357-1.398.877l-3.638-.77a.382.382 0 0 0-.287.053.348.348 0 0 0-.161.251l-1.112 5.233c-2.33.072-4.426.77-5.95 1.864a2.201 2.201 0 0 0-1.523-.61 2.184 2.184 0 0 0-.896 4.176c-.036.215-.053.43-.053.663 0 3.37 3.924 6.111 8.763 6.111s8.763-2.724 8.763-6.11c0-.216-.017-.449-.053-.664A2.207 2.207 0 0 0 22 12.068Zm-15.018 1.56a1.56 1.56 0 0 1 3.118 0c0 .86-.699 1.558-1.559 1.558-.86.018-1.559-.699-1.559-1.559Zm8.728 4.139c-1.076 1.075-3.119 1.147-3.71 1.147-.61 0-2.652-.09-3.71-1.147a.4.4 0 0 1 0-.573.4.4 0 0 1 .574 0c.68.68 2.114.914 3.136.914 1.022 0 2.473-.233 3.136-.914a.4.4 0 0 1 .574 0 .436.436 0 0 1 0 .573Zm-.287-2.563a1.56 1.56 0 0 1 0-3.118c.86 0 1.56.699 1.56 1.56 0 .841-.7 1.558-1.56 1.558Z"}));case"telegram":return Object(i.createElement)(f.SVG,{width:r,height:a,viewBox:"0 0 24 24",style:s},Object(i.createElement)("path",{d:"M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z"}));case"whatsapp":return Object(i.createElement)(f.SVG,{width:r,height:a,viewBox:"0 0 24 24",style:s},Object(i.createElement)(f.Path,{d:"M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z"}));case"bluesky":return Object(i.createElement)(f.SVG,{width:r,height:a,viewBox:"0 0 24 24",style:s},Object(i.createElement)("path",{d:"M12 10.8c-1.087-2.114-4.046-6.053-6.798-7.995C2.566.944 1.561 1.266.902 1.565.139 1.908 0 3.08 0 3.768c0 .69.378 5.65.624 6.479.815 2.736 3.713 3.66 6.383 3.364.136-.02.275-.039.415-.056-.138.022-.276.04-.415.056-3.912.58-7.387 2.005-2.83 7.078 5.013 5.19 6.87-1.113 7.823-4.308.953 3.195 2.05 9.271 7.733 4.308 4.267-4.308 1.172-6.498-2.74-7.078a8.741 8.741 0 0 1-.415-.056c.14.017.279.036.415.056 2.67.297 5.568-.628 6.383-3.364.246-.828.624-5.79.624-6.478 0-.69-.139-1.861-.902-2.206-.659-.298-1.664-.62-4.3 1.24C16.046 4.748 13.087 8.687 12 10.8Z"}));case"email":return Object(i.createElement)(f.SVG,{width:r,height:a,viewBox:"0 0 24 24",style:s},Object(i.createElement)(f.Path,{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-.4 4.25l-7.07 4.42c-.32.2-.74.2-1.06 0L4.4 8.25c-.25-.16-.4-.43-.4-.72 0-.67.73-1.07 1.3-.72L12 11l6.7-4.19c.57-.35 1.3.05 1.3.72 0 .29-.15.56-.4.72z"}));case"copy-link":return Object(i.createElement)(f.SVG,{width:r,height:a,viewBox:"0 0 24 24",style:s},Object(i.createElement)(f.Path,{d:"M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"}));case"print":return Object(i.createElement)(f.SVG,{width:r,height:a,viewBox:"0 0 24 24",style:s},Object(i.createElement)(f.Path,{d:"M19 8H5c-1.66 0-3 1.34-3 3v6h4v4h12v-4h4v-6c0-1.66-1.34-3-3-3zm-3 11H8v-5h8v5zm3-7c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm-1-9H6v4h12V3z"}));default:return Object(i.createElement)(f.SVG,{width:r,height:a,viewBox:"0 0 24 24",style:s},Object(i.createElement)(f.Path,{d:"M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65 0 1.61 1.31 2.92 2.92 2.92 1.61 0 2.92-1.31 2.92-2.92s-1.31-2.92-2.92-2.92z"}))}};Object(M.registerBlockType)("wpzoom-blocks/social-sharing",{title:Object(b.__)("Social Sharing Buttons","social-icons-widget-by-wpzoom"),description:Object(b.__)("Add social sharing buttons to allow visitors to share your content.","social-icons-widget-by-wpzoom"),icon:{foreground:"#274474",src:X},category:"wpzoom-blocks",keywords:[Object(b.__)("Social Sharing","social-icons-widget-by-wpzoom"),Object(b.__)("Share","social-icons-widget-by-wpzoom"),Object(b.__)("Buttons","social-icons-widget-by-wpzoom"),Object(b.__)("Social Media","social-icons-widget-by-wpzoom")],attributes:{align:{type:"string",default:"none"},showLabels:{type:"boolean",default:!0},iconColor:{type:"string",default:"#ffffff"},iconHoverColor:{type:"string",default:"#ffffff"},labelColor:{type:"string",default:"inherit"},labelHoverColor:{type:"string",default:"#ffffff"},iconSize:{type:"number",default:20},labelSize:{type:"number",default:16},paddingVertical:{type:"number",default:5},paddingHorizontal:{type:"number",default:15},marginVertical:{type:"number",default:5},marginHorizontal:{type:"number",default:5},borderRadius:{type:"number",default:50},backgroundStyle:{type:"string",default:"brand"},hasBorder:{type:"boolean",default:!1},borderWidth:{type:"number",default:1},borderColor:{type:"string",default:""},oneToneColor:{type:"string",default:"#000000"},xUsername:{type:"string",default:""},platforms:{type:"array",default:[{id:"facebook",name:"Facebook",enabled:!0,color:"#0866FF"},{id:"x",name:"X",enabled:!0,color:"#000000"},{id:"threads",name:"Threads",enabled:!0,color:"#000000"},{id:"linkedin",name:"LinkedIn",enabled:!0,color:"#0966c2"},{id:"pinterest",name:"Pinterest",enabled:!1,color:"#E60023"},{id:"reddit",name:"Reddit",enabled:!0,color:"#FF4500"},{id:"telegram",name:"Telegram",enabled:!1,color:"#0088cc"},{id:"whatsapp",name:"WhatsApp",enabled:!0,color:"#25D366"},{id:"bluesky",name:"Bluesky",enabled:!1,color:"#1DA1F2"},{id:"email",name:"Email",enabled:!0,color:"#333333"},{id:"copy-link",name:"Copy Link",enabled:!0,color:"#333333"},{id:"print",name:"Print",enabled:!1,color:"#333333"}]}},styles:[{name:"default",label:Object(b.__)("Default (Circle)","social-icons-widget-by-wpzoom"),isDefault:!0},{name:"filled",label:Object(b.__)("Square / Filled","social-icons-widget-by-wpzoom")},{name:"rounded",label:Object(b.__)("Rounded / Filled","social-icons-widget-by-wpzoom")},{name:"outlined-pill",label:Object(b.__)("Outlined / Pill","social-icons-widget-by-wpzoom")},{name:"outlined-square",label:Object(b.__)("Outlined / Square","social-icons-widget-by-wpzoom")},{name:"minimal",label:Object(b.__)("Minimal","social-icons-widget-by-wpzoom")},{name:"one-tone",label:Object(b.__)("One Tone","social-icons-widget-by-wpzoom")}],supports:{align:!0,html:!1,spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0}},edit:function({attributes:e,setAttributes:t,className:o,isSelected:n}){var a,s,l,c,d;const{align:p,showLabels:u,iconColor:m,iconHoverColor:g,labelColor:w,labelHoverColor:y,iconSize:O,labelSize:j,paddingVertical:C,paddingHorizontal:z,marginVertical:E,marginHorizontal:k,borderRadius:_,backgroundStyle:I,hasBorder:x,platforms:A,oneToneColor:S}=e,[P,B]=Object(i.useState)(null),[F,N]=Object(i.useState)(""),H=Object(v.useBlockProps)({className:h()(o,{["align-"+p]:p,"wpzoom-social-sharing-block":!0})}),R=(null==o?void 0:o.includes("is-style-one-tone"))||(null===(a=H.className)||void 0===a?void 0:a.includes("is-style-one-tone")),L=null===(s=H.className)||void 0===s?void 0:s.includes("is-style-outlined-pill"),Q=null===(l=H.className)||void 0===l?void 0:l.includes("is-style-outlined-square"),V=null===(c=H.className)||void 0===c?void 0:c.includes("is-style-minimal"),M=null===(d=H.className)||void 0===d?void 0:d.includes("is-style-filled");Object(i.useEffect)(()=>{!R||S&&void 0!==S||t({oneToneColor:"#000000"})},[R,S]),Object(i.useEffect)(()=>{if(!A.some(e=>"print"===e.id)){const e=[...A,{id:"print",name:"Print",enabled:!1,color:"#333333"}];t({platforms:e})}},[]);const T={textAlign:p},U=A.filter(e=>e.enabled);return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(Y,{attributes:e,setAttributes:t}),Object(i.createElement)("div",r()({},H,{style:T}),U.length>0?Object(i.createElement)("ul",{className:"social-sharing-icons"},U.map((o,r)=>{const a=M?0:_,s=m,l=w;let c=o.color||"#333333";R?c=S||"#000000":(L||Q||V)&&(c="transparent");let d="none";const p=e.borderWidth||1;L||Q?d=`${p}px solid ${s}`:x&&(d=`${p}px solid ${e.borderColor||s}`);const h={padding:`${C}px ${z}px`,margin:`${E}px ${k}px`,borderRadius:a+"px",fontSize:O+"px",color:s,backgroundColor:c,border:d};return V&&(h.padding="5px"),Object(i.createElement)("li",{key:o.id,className:"social-sharing-icon-li"},Object(i.createElement)("a",{className:"social-sharing-icon social-sharing-icon-"+o.id,style:h,href:"#",title:o.name,onClick:e=>{e.preventDefault(),n&&(B(o.id),N(o.name))}},Object(i.createElement)(G,{id:o.id,size:O,color:s}),u&&Object(i.createElement)("span",{className:"social-sharing-icon-label",style:{fontSize:j+"px",color:l}},o.name)),n&&P===o.id&&Object(i.createElement)(f.Popover,{className:"wpzoom-social-sharing-edit-label-popover",position:"bottom center",onClose:()=>B(null)},Object(i.createElement)("div",{style:{padding:"16px",minWidth:"240px"}},Object(i.createElement)("h3",{style:{margin:"0 0 8px 0"}},Object(b.__)("Edit Label","social-icons-widget-by-wpzoom")),Object(i.createElement)(f.TextControl,{label:Object(b.__)("Label Text","social-icons-widget-by-wpzoom"),value:F,onChange:N}),Object(i.createElement)("div",{style:{display:"flex",justifyContent:"space-between",marginTop:"12px"}},Object(i.createElement)(f.Button,{isSecondary:!0,onClick:()=>B(null)},Object(b.__)("Cancel","social-icons-widget-by-wpzoom")),Object(i.createElement)(f.Button,{isPrimary:!0,onClick:()=>((e,o)=>{const n=A.map(t=>t.id===e?{...t,name:o}:t);t({platforms:n}),B(null)})(o.id,F)},Object(b.__)("Save","social-icons-widget-by-wpzoom"))))))})):Object(i.createElement)("p",{className:"no-sharing-platforms-selected"},Object(b.__)("Select sharing networks in the block sidebar.","social-icons-widget-by-wpzoom")),n&&U.length>0&&Object(i.createElement)("div",{className:"wpzoom-click-to-edit-hint",style:{textAlign:"center",fontSize:"13px",color:"#757575",marginTop:"8px"}},Object(b.__)("Click on any icon to edit its label","social-icons-widget-by-wpzoom"))))},save:function({attributes:e}){const{align:t,showLabels:o,iconColor:n,iconHoverColor:a,labelColor:s,labelHoverColor:l,iconSize:c,labelSize:d,paddingVertical:p,paddingHorizontal:u,marginVertical:m,marginHorizontal:b,borderRadius:g,backgroundStyle:f,hasBorder:w,platforms:y,xUsername:O}=e,j=v.useBlockProps.save({className:h()({["align-"+t]:t,"wpzoom-social-sharing-block":!0})}),C={textAlign:t},z=y.filter(e=>e.enabled);return Object(i.createElement)("div",r()({},j,{style:C}),Object(i.createElement)("ul",{className:"social-sharing-icons"},z.map(e=>{const t=((e,t="")=>{switch(e){case"facebook":return{color:"#0866FF",hoverColor:"#0866FF",shareUrl:"https://www.facebook.com/sharer/sharer.php?u={url}&t={title}"};case"x":let e="https://x.com/intent/tweet?url={url}&text={title}";return t&&""!==t.trim()&&(e+="&via="+t.trim().replace(/^@/,"")),{color:"#000000",hoverColor:"#000000",shareUrl:e};case"linkedin":return{color:"#0966c2",hoverColor:"#0966c2",shareUrl:"https://www.linkedin.com/sharing/share-offsite/?url={url}"};case"pinterest":return{color:"#E60023",hoverColor:"#E60023",shareUrl:"https://pinterest.com/pin/create/button/?url={url}&media={featured_image}&description={title}"};case"reddit":return{color:"#FF4500",hoverColor:"#FF4500",shareUrl:"https://www.reddit.com/submit?url={url}&title={title}"};case"telegram":return{color:"#0088cc",hoverColor:"#0088cc",shareUrl:"https://t.me/share/url?url={url}&text={title}"};case"whatsapp":return{color:"#25D366",hoverColor:"#25D366",shareUrl:"https://api.whatsapp.com/send?text={title}%20{url}"};case"bluesky":return{color:"#1DA1F2",hoverColor:"#1DA1F2",shareUrl:"https://bsky.app/intent?text={title}%20{url}"};case"email":return{color:"#333333",hoverColor:"#333333",shareUrl:"mailto:?subject={title}&body={url}"};case"copy-link":return{color:"#333333",hoverColor:"#333333",shareUrl:"#copy-link"};case"print":return{color:"#333333",hoverColor:"#333333",shareUrl:"#print"};default:return{color:"#333333",hoverColor:"#333333",shareUrl:"#"}}})(e.id,O),r={padding:`${p}px ${u}px`,margin:`${m}px ${b}px`,borderRadius:g+"px",fontSize:c+"px",color:n,backgroundColor:t.color,border:w?"1px solid":"none"},a="copy-link"===e.id?"#copy-link":t.shareUrl;return Object(i.createElement)("li",{key:e.id,className:"social-sharing-icon-li"},Object(i.createElement)("a",{className:"social-sharing-icon social-sharing-icon-"+e.id,style:r,href:a,title:e.name,target:"_blank",rel:"noopener noreferrer","data-platform":e.id},Object(i.createElement)(G,{id:e.id,size:c,color:n||"#ffffff"}),o&&Object(i.createElement)("span",{className:"social-sharing-icon-label",style:{fontSize:d+"px",color:s}},e.name)))})))}});var $=Object(i.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 64 1024 1024"},Object(i.createElement)(s.Path,{fill:"#08618a",transform:"scale(1,-1) translate(0,-1024)",d:"M581.456 542.931h-31.41v-102.1c6.669-0.4 12.537-0.867 31.877-0.867 35.745 0 57.085 21.207 57.085 54.018 0 29.009-23.541 48.949-57.552 48.949zM512.033 956.666c-280.958 0-508.699-227.741-508.699-508.699s227.741-508.699 508.699-508.699 508.699 227.741 508.699 508.699-227.807 508.699-508.699 508.699zM450.013 542.931h-32.010l-74.358-240.078h-26.475l-73.957 170.189-74.358-170.189h-26.475l-75.625 240.078h-30.21v40.013h120.039v-40.013h-38.146l44.948-146.448 68.489 159.785h25.208l68.489-159.785 42.014 146.448h-37.612v40.013h120.039v-40.013zM577.721 398.417c-13.004 0-21.007 0-27.676 0.4v-49.283h33.344v-40.013h-113.37v40.013h33.344v193.396h-33.344v40.013h113.97c59.219 0 104.234-33.878 104.234-90.163-0.067-63.487-45.415-94.364-110.503-94.364zM925.101 309.522h-213.003l-4.201 25.342 202.066 208.068h-105.901l-10.537-46.682h-43.281l20.14 86.695h206.734l4.201-25.342-202.066-208.068h112.17l10.537 46.682h43.281l-20.14-86.695z"}));Object(M.updateCategory)("wpzoom-blocks",{icon:$})}]); -
social-icons-widget-by-wpzoom/trunk/block/src/social-sharing-block/components/Inspector.js
r3447901 r3452646 431 431 <Button 432 432 variant="primary" 433 href="https://www.wpzoom.com/plugins/social- widget/?utm_source=wpadmin&utm_medium=plugin&utm_campaign=social-icons-free&utm_content=block-inspector"433 href="https://www.wpzoom.com/plugins/social-share/?utm_source=wpadmin&utm_medium=plugin&utm_campaign=social-icons-free&utm_content=block-inspector" 434 434 target="_blank" 435 435 style={{ width: '100%', justifyContent: 'center' }} … … 703 703 <Button 704 704 variant="link" 705 href="https://www.wpzoom.com/plugins/social- widget/?utm_source=wpadmin&utm_medium=plugin&utm_campaign=social-icons-free&utm_content=sharing-networks"705 href="https://www.wpzoom.com/plugins/social-share/?utm_source=wpadmin&utm_medium=plugin&utm_campaign=social-icons-free&utm_content=sharing-networks" 706 706 target="_blank" 707 707 style={{ marginTop: '8px', fontSize: '12px' }} -
social-icons-widget-by-wpzoom/trunk/includes/classes/class-wpzoom-share-analytics-upsell.php
r3447901 r3452646 102 102 */ 103 103 public function render_page() { 104 $upgrade_url = 'https://www.wpzoom.com/plugins/social- widget/?utm_source=wpadmin&utm_medium=plugin&utm_campaign=social-icons-free&utm_content=analytics-page';104 $upgrade_url = 'https://www.wpzoom.com/plugins/social-share/?utm_source=wpadmin&utm_medium=plugin&utm_campaign=social-icons-free&utm_content=analytics-page'; 105 105 ?> 106 106 <div class="wrap wpzoom-analytics-upsell-wrap"> -
social-icons-widget-by-wpzoom/trunk/includes/classes/class-wpzoom-sharing-buttons-notice.php
r3447901 r3452646 139 139 /* translators: %s: upgrade link */ 140 140 esc_html__( 'Want more? %s adds AI Share Buttons, Like Button, Share Counts & Analytics.', 'social-icons-widget-by-wpzoom' ), 141 '<a href="https://www.wpzoom.com/plugins/social- widget/?utm_source=wpadmin&utm_medium=plugin&utm_campaign=social-icons-free&utm_content=sharing-notice" target="_blank"><strong>' . esc_html__( 'PRO', 'social-icons-widget-by-wpzoom' ) . '</strong></a>'141 '<a href="https://www.wpzoom.com/plugins/social-share/?utm_source=wpadmin&utm_medium=plugin&utm_campaign=social-icons-free&utm_content=sharing-notice" target="_blank"><strong>' . esc_html__( 'PRO', 'social-icons-widget-by-wpzoom' ) . '</strong></a>' 142 142 ); 143 143 ?> … … 147 147 <?php esc_html_e( 'Configure Sharing Buttons', 'social-icons-widget-by-wpzoom' ); ?> 148 148 </a> 149 <a href="https://www.wpzoom.com/plugins/social- widget/?utm_source=wpadmin&utm_medium=plugin&utm_campaign=social-icons-free&utm_content=sharing-notice-btn" class="button wpzoom-sharing-btn-upgrade" target="_blank">149 <a href="https://www.wpzoom.com/plugins/social-share/?utm_source=wpadmin&utm_medium=plugin&utm_campaign=social-icons-free&utm_content=sharing-notice-btn" class="button wpzoom-sharing-btn-upgrade" target="_blank"> 150 150 <span class="dashicons dashicons-star-filled" style="font-size: 16px; line-height: 28px; width: 16px; height: 16px; margin-right: 3px;"></span> 151 151 <?php esc_html_e( 'Upgrade to Pro', 'social-icons-widget-by-wpzoom' ); ?> -
social-icons-widget-by-wpzoom/trunk/includes/classes/class-wpzoom-social-icons-settings.php
r3447901 r3452646 596 596 */ 597 597 public function render_upload_pro_upsell() { 598 $upgrade_url = 'https://www.wpzoom.com/plugins/social- widget/?utm_source=wpadmin&utm_medium=plugin&utm_campaign=social-icons-free&utm_content=settings-upload';598 $upgrade_url = 'https://www.wpzoom.com/plugins/social-share/?utm_source=wpadmin&utm_medium=plugin&utm_campaign=social-icons-free&utm_content=settings-upload'; 599 599 ?> 600 600 <div class="wpzoom-upload-pro-preview"> -
social-icons-widget-by-wpzoom/trunk/includes/classes/class-wpzoom-social-icons-upsell.php
r3447901 r3452646 82 82 */ 83 83 private function get_upgrade_url() { 84 return 'https://www.wpzoom.com/plugins/social- widget/?utm_source=wpadmin&utm_medium=plugin&utm_campaign=social-icons-free&utm_content=upsell-page';84 return 'https://www.wpzoom.com/plugins/social-share/?utm_source=wpadmin&utm_medium=plugin&utm_campaign=social-icons-free&utm_content=upsell-page'; 85 85 } 86 86 … … 235 235 </div> 236 236 237 <!-- Floating Buttons --> 238 <div class="wpzoom-upsell-section"> 239 <div class="wpzoom-upsell-section-image"> 240 <img src="https://www.wpzoom.com/wp-content/themes/wpzoom/images/social-landing/floating-buttons.png" alt="<?php esc_attr_e( 'Floating Buttons', 'social-icons-widget-by-wpzoom' ); ?>" /> 241 </div> 242 <span class="wpzoom-upsell-badge wpzoom-upsell-badge-new"><?php esc_html_e( 'NEW', 'social-icons-widget-by-wpzoom' ); ?></span> 243 <h4> 244 <span class="dashicons dashicons-align-left"></span> 245 <?php esc_html_e( 'Floating Buttons', 'social-icons-widget-by-wpzoom' ); ?> 246 </h4> 247 <p class="about"><?php esc_html_e( 'Display social sharing icons as a fixed floating bar on the side of your website. Visitors can share from anywhere on the page. Configure position, layout, and visibility for specific post types.', 'social-icons-widget-by-wpzoom' ); ?></p> 248 <p class="section_footer"> 249 <strong><?php esc_html_e( 'Without PRO:', 'social-icons-widget-by-wpzoom' ); ?></strong> 250 <?php esc_html_e( 'No floating share bar', 'social-icons-widget-by-wpzoom' ); ?> 251 </p> 252 </div> 253 237 254 </div> 238 255 … … 296 313 <li class="t-row"> 297 314 <div class="h-wrap"><?php esc_html_e( 'Share Counts', 'social-icons-widget-by-wpzoom' ); ?></div> 315 <div class="c"><?php echo $cross; // phpcs:ignore ?></div> 316 <div class="c"><?php echo $check; // phpcs:ignore ?></div> 317 </li> 318 <li class="t-row"> 319 <div class="h-wrap"><?php esc_html_e( 'Floating Buttons Bar', 'social-icons-widget-by-wpzoom' ); ?> <span class="wpzoom-new-badge"><?php esc_html_e( 'New', 'social-icons-widget-by-wpzoom' ); ?></span></div> 298 320 <div class="c"><?php echo $cross; // phpcs:ignore ?></div> 299 321 <div class="c"><?php echo $check; // phpcs:ignore ?></div> -
social-icons-widget-by-wpzoom/trunk/languages/social-icons-widget-by-wpzoom.pot
r3440326 r3452646 251 251 252 252 #. URI of the plugin 253 msgid "https://www.wpzoom.com/plugins/social- widget/"253 msgid "https://www.wpzoom.com/plugins/social-share/" 254 254 msgstr "" 255 255 -
social-icons-widget-by-wpzoom/trunk/readme.txt
r3447901 r3452646 6 6 Requires PHP: 7.4 7 7 Tested up to: 6.9 8 Stable tag: 4.5. 58 Stable tag: 4.5.6 9 9 License: GNU General Public License v2.0 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 20 20 > Did you find this plugin helpful? Please consider [leaving a 5-star review](http://wordpress.org/support/view/plugin-reviews/social-icons-widget-by-wpzoom). 21 21 22 **[View Demo](https://demo.wpzoom.com/social-icons/)** 22 **[Social Icons Block Demo](https://demo.wpzoom.com/social-icons/)** 23 **[Sharing Buttons Demo](https://demo.wpzoom.com/social-icons/2016/04/21/sharing-buttons/)** 23 24 24 25 **Social Icons & Sharing Buttons** helps you to add social media icons and sharing buttons to your website. The plugin includes several icon sets, which gives you the possibility to use the widget for more than just linking to your social media profiles. You can use generic icons to add links to anything you want, and enable sharing buttons to let visitors share your content across social networks. … … 38 39 * **NEW: Gutenberg Block** 39 40 * New icon styles in the new Social Icons Block 40 * New options to customize your icons: change margin, padding, alignment, roundness etc.41 42 = What's new in 3.0.0 =43 44 * Added Global Color Picker to change the color of all icons45 * Added a new color picker to change hover color on all icons46 * Icons are now grouped in categories47 48 = What's new in 2.2.0 =49 50 * Added Padding and Size options for icons51 * Added support for Skype links (skype:username)52 53 = What's new in 2.1.0 =54 55 * Search Icons by keywords56 * FontAwesome Icon Set Integration57 * Updated Instagram Icon58 59 = What's new in 2.0 =60 61 * New custom icons62 * Color picker for each icon63 * 3 Icon Sets from which you can choose more than 400 icons64 65 41 66 42 = Where I can view a Demo? = … … 70 46 = View Demo & Examples = 71 47 * [Foodica Theme](https://demo.wpzoom.com/?theme=foodica) - header bar and sidebar 72 * [Inspiro Theme](https://demo.wpzoom.com/ ?theme=inspiro-demo) - sidebar panel and footer48 * [Inspiro Theme](https://demo.wpzoom.com/inspiro) - sidebar panel and footer 73 49 74 50 = Features: = … … 98 74 = PRO Features = 99 75 100 Upgrade to [Social Icons Widget PRO](https://www.wpzoom.com/plugins/social-widget/) to unlock powerful features: 101 76 Upgrade to [Social Icons Widget PRO](https://www.wpzoom.com/plugins/social-share/) to unlock powerful features: 77 78 * **Floating Buttons** - Display social sharing icons as a fixed floating bar on the side of your website (NEW!) 102 79 * **Share Analytics Dashboard** - Track how visitors share your content with detailed analytics 103 80 * **Like Button** - Add a like button to let visitors engage with your posts … … 110 87 * **Priority Support** - Get help faster with priority email support 111 88 112 [Learn more about PRO →](https://www.wpzoom.com/plugins/social- widget/)89 [Learn more about PRO →](https://www.wpzoom.com/plugins/social-share/) 113 90 114 91 **General Features:** … … 118 95 * Supports Email Addresses (mailto:[email protected]) 119 96 * Supports Telephone Numbers (tel:12345) 120 * Supports Skype (skype:username?call)121 97 * Supports Viber (viber://add?number=123456) 122 98 * Supports WhatsApp (https://api.whatsapp.com/send?phone=15551234567) … … 151 127 = Where do I find more details about this plugin? = 152 128 153 On our [website](http://www.wpzoom.com/plugins/social- widget/).129 On our [website](http://www.wpzoom.com/plugins/social-share/). 154 130 155 131 = How can I add Social Icons to a Page? = … … 196 172 = What features are available in the PRO version? = 197 173 198 [Social Icons Widget PRO](https://www.wpzoom.com/plugins/social-widget/) includes these additional features: 199 174 [Social Icons Widget PRO](https://www.wpzoom.com/plugins/social-share/) includes these additional features: 175 176 * **Floating Buttons** - Display sharing icons as a fixed floating bar on the side of your website 200 177 * **Share Analytics** - Track shares across all platforms with a beautiful analytics dashboard 201 178 * **Like Button** - Let visitors like your posts with engagement tracking … … 205 182 * **Nav Menu Integration** - Add social icons to your navigation menus 206 183 * **Priority Support** - Get faster help with priority email support 184 185 = What are Floating Buttons? = 186 187 Floating Buttons is a PRO feature that displays your social sharing icons as a fixed bar on the side of your website. Visitors can share your content from anywhere on the page without scrolling. You can configure the position (left/right side, top/middle/bottom), choose vertical or horizontal layout, and control which post types display the floating bar. [Upgrade to PRO](https://www.wpzoom.com/plugins/social-share/) to unlock this feature. 207 188 208 189 == Screenshots == … … 221 202 == Changelog == 222 203 204 = 4.5.6 = 205 * Minor fixes 206 223 207 = 4.5.5 = 224 208 * Minor fixes -
social-icons-widget-by-wpzoom/trunk/social-icons-widget-by-wpzoom.php
r3447901 r3452646 2 2 /** 3 3 * Plugin Name: Social Icons & Sharing Buttons by WPZOOM 4 * Plugin URI: https://www.wpzoom.com/plugins/social- widget/4 * Plugin URI: https://www.wpzoom.com/plugins/social-share/ 5 5 * Description: Add Social Icons and Share Buttons to your website easily. Link to your social media profiles or let visitors share your content on popular networks. Supports over 400 social media icons, customizable colors, and drag-and-drop sorting. 6 * Version: 4.5. 56 * Version: 4.5.6 7 7 * Author: WPZOOM 8 8 * Author URI: https://www.wpzoom.com/ … … 45 45 require_once plugin_dir_path( __FILE__ ) . 'includes/classes/class-wpzoom-social-icons-shortcode.php'; 46 46 require_once plugin_dir_path( __FILE__ ) . 'includes/classes/class-wpzoom-share-analytics-upsell.php'; 47 require_once plugin_dir_path( __FILE__ ) . 'includes/classes/class-wpzoom-floating-buttons-upsell.php'; 47 48 require_once plugin_dir_path( __FILE__ ) . 'includes/classes/class-wpzoom-sharing-buttons-notice.php'; 48 49 require_once plugin_dir_path( __FILE__ ) . 'includes/classes/class-wpzoom-social-icons-upsell.php'; … … 257 258 $links['go_pro'] = sprintf( 258 259 '<a href="%1$s" target="_blank" class="wpzoom-social-icons-gopro" style="color:#2271b1;font-weight:bold;">UPGRADE → <span class="wpzoom-premium-badge" style="background-color: #2271b1; color: #fff; margin-left: 5px; font-size: 11px; min-height: 16px; border-radius: 8px; display: inline-block; font-weight: 600; line-height: 1.6; padding: 0 8px;">%2$s</span></a>', 259 'https://www.wpzoom.com/plugins/social- widget/?utm_source=wpadmin&utm_medium=plugin&utm_campaign=social-icons-free&utm_content=plugins-page',260 'https://www.wpzoom.com/plugins/social-share/?utm_source=wpadmin&utm_medium=plugin&utm_campaign=social-icons-free&utm_content=plugins-page', 260 261 esc_html__( 'PRO', 'social-icons-widget-by-wpzoom' ) 261 262 ); … … 332 333 </p> 333 334 <p class="wpz-social-icons-notice-actions"> 334 <a class="button-primary" href="https://www.wpzoom.com/plugins/social- widget/?utm_source=admin-notices&utm_medium=admin-notice-actions&utm_campaign=go_pro" target="_blank"><strong><?php esc_html_e( 'Get Social Icons Widget PRO →', 'social-icons-widget-by-wpzoom' ); ?></strong></a>335 <a class="button-primary" href="https://www.wpzoom.com/plugins/social-share/?utm_source=admin-notices&utm_medium=admin-notice-actions&utm_campaign=go_pro" target="_blank"><strong><?php esc_html_e( 'Get Social Icons Widget PRO →', 'social-icons-widget-by-wpzoom' ); ?></strong></a> 335 336 <?php 336 337 // phpcs:disable
Note: See TracChangeset
for help on using the changeset viewer.