Social Icons Widget by WPZOOM - Version 4.2.0

Version Description

  • Fixed compatibility issues with WordPress 5.8
  • Added warning notice to widgets block-based page. Please make sure you've read the message before doing some changes to widgets!
  • Added the ability to convert legacy widget "Social Icons" to block
Download this release

Release Info

Developer WPZOOM
Plugin Icon 128x128 Social Icons Widget by WPZOOM
Version 4.2.0
Comparing to
See all releases

Code changes from version 4.1.3 to 4.2.0

assets/css/social-icons-widget-admin.css CHANGED
@@ -286,4 +286,9 @@ border-radius: 0;
286
 
287
  .block-editor-block-list__layout .block-editor-block-list__block[data-is-social-icons-widget] {
288
  z-index: 999;
289
- }
 
 
 
 
 
286
 
287
  .block-editor-block-list__layout .block-editor-block-list__block[data-is-social-icons-widget] {
288
  z-index: 999;
289
+ }
290
+
291
+ .wp-block-legacy-widget .zoom-social-icons__notice {
292
+ display: block !important;
293
+ font-size: 14px;
294
+ }
assets/js/social-icons-widget-backend.js CHANGED
@@ -499,4 +499,4 @@
499
  }
500
  });
501
  });
502
- })(jQuery, _, zoom_social_widget_data);
499
  }
500
  });
501
  });
502
+ })(jQuery, _, zoom_social_widget_data);
block/dist/blocks.build.js DELETED
@@ -1 +0,0 @@
1
- !function(e){function t(n){if(o[n])return o[n].exports;var r=o[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var o={};t.m=e,t.c=o,t.d=function(e,o,n){t.o(e,o)||Object.defineProperty(e,o,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(o,"a",o),o},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=12)}([function(e,t){e.exports=wp.element},function(e,t){e.exports=wp.components},function(e,t,o){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var r=o(6),i=o.n(r),a=o(5),s=(o.n(a),o(21)),l=function(){function e(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,o,n){return o&&e(t.prototype,o),n&&e(t,n),t}}(),c=wpzSocialIconsBlock,u=c.icons,p=function(){function e(){n(this,e)}return l(e,null,[{key:"filterIcons",value:function(e){var t={};return""==e?u:(Object(a.forEach)(u,function(o,n){t[n]=o.filter(function(t){return Object(a.isObject)(t)?t.icon.indexOf(e)>-1:t.indexOf(e)>-1})}),t)}},{key:"filterUrlScheme",value:function(e){var 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","t.me":"telegram","wa.me":"whatsapp","zen.yandex.com":"zen-yandex","zen.yandex.ru":"zen-yandex"},n=new i.a(e),r=void 0!==n.domain()?n.domain().split(".").shift():n.scheme(),s=Object(a.findKey)(t,function(e,t){return t===n.scheme()});r=void 0!==s?t[s]:r;var l=Object(a.findKey)(o,function(e,t){return t===n.hostname()});return void 0!==l?o[l]:r}},{key:"hyphensToSpaces",value:function(e){return e.replace(/-/g," ")}},{key:"capitalize",value:function(e){return"string"!==typeof e?"":e.charAt(0).toUpperCase()+e.slice(1)}},{key:"humanizeIconLabel",value:function(e){return this.hyphensToSpaces(this.capitalize(e))}},{key:"getBlockStyle",value:function(e){var t=/is-style-(\S*)/g,o=t.exec(e);return null!==o?o[1]:null}},{key:"getIconClassList",value:function(e,t){var o={"social-icon":!0};return o[e]=!0,["fab","fas","far"].includes(e)?o["fa-"+t]=!0:o[e+"-"+t]=!0,o}},{key:"addPercentagePipe",value:function(e){return e+"%"}},{key:"addPercentageHalfPipe",value:function(e){return.5*e+"%/"+e+"%"}},{key:"addPixelsPipe",value:function(e){return e+"px"}},{key:"arrayMoveMutate",value:function(e,t,o){e.splice(o<0?e.length+o:o,0,e.splice(t,1)[0])}},{key:"arrayMove",value:function(e,t,o){return e=e.slice(),this.arrayMoveMutate(e,t,o),e}},{key:"getActiveStyle",value:function(e,t){var o=!0,n=!1,r=void 0;try{for(var i,l=new s.a(t).values()[Symbol.iterator]();!(o=(i=l.next()).done);o=!0){var c=i.value;if(-1!==c.indexOf("is-style-")){var u=c.substring(9),p=Object(a.find)(e,{name:u});if(p)return p}}}catch(e){n=!0,r=e}finally{try{!o&&l.return&&l.return()}finally{if(n)throw r}}return Object(a.find)(e,"isDefault")}}]),e}();t.a=p},function(e,t,o){var n,r;!function(){"use strict";function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var r=typeof n;if("string"===r||"number"===r)e.push(n);else if(Array.isArray(n)&&n.length){var a=o.apply(null,n);a&&e.push(a)}else if("object"===r)for(var s in n)i.call(n,s)&&n[s]&&e.push(s)}}return e.join(" ")}var i={}.hasOwnProperty;"undefined"!==typeof e&&e.exports?(o.default=o,e.exports=o):(n=[],void 0!==(r=function(){return o}.apply(t,n))&&(e.exports=r))}()},function(e,t){e.exports=wp.i18n},function(e,t){e.exports=lodash},function(e,t,o){var n,r,i;!function(a,s){"use strict";"object"===typeof e&&e.exports?e.exports=s(o(7),o(8),o(9)):(r=[o(7),o(8),o(9)],n=s,void 0!==(i="function"===typeof n?n.apply(t,r):n)&&(e.exports=i))}(0,function(e,t,o,n){"use strict";function r(e,t){var o=arguments.length>=1,n=arguments.length>=2;if(!(this instanceof r))return o?n?new r(e,t):new r(e):new r;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}function i(e){return/^[0-9]+$/.test(e)}function a(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}function s(e){return void 0===e?"Undefined":String(Object.prototype.toString.call(e)).slice(8,-1)}function l(e){return"Array"===s(e)}function c(e,t){var o,n,r={};if("RegExp"===s(t))r=null;else if(l(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(l(t)){for(o=0,n=t.length;o<n;o++)if(!u(e,t[o]))return!1;return!0}var r=s(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 p(e,t){if(!l(e)||!l(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){var t=/^\/+|\/+$/g;return e.replace(t,"")}function d(e){return escape(e)}function m(e){return encodeURIComponent(e).replace(/[!'()*]/g,d).replace(/\*/g,"%2A")}function f(e){return function(t,o){return void 0===t?this._parts[e]||"":(this._parts[e]=t||null,this.build(!o),this)}}function g(e,t){return function(o,n){return void 0===o?this._parts[e]||"":(null!==o&&(o+="",o.charAt(0)===t&&(o=o.substring(1))),this._parts[e]=o,this.build(!n),this)}}var v=n&&n.URI;r.version="1.19.2";var b=r.prototype,y=Object.prototype.hasOwnProperty;r._parts=function(){return{protocol:null,username:null,password:null,hostname:null,urn:null,port:null,path:null,query:null,fragment:null,preventInvalidHostname:r.preventInvalidHostname,duplicateQueryParameters:r.duplicateQueryParameters,escapeQuerySpace:r.escapeQuerySpace}},r.preventInvalidHostname=!1,r.duplicateQueryParameters=!1,r.escapeQuerySpace=!0,r.protocol_expression=/^[a-z][a-z0-9.+-]*$/i,r.idn_expression=/[^a-z0-9\._-]/i,r.punycode_expression=/(xn--)/i,r.ip4_expression=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/,r.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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<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?\xab\xbb\u201c\u201d\u2018\u2019]))/gi,r.findUri={start:/\b(?:([a-z][a-z0-9.+-]*:\/\/)|www\.)/gi,end:/[\s\r\n]|$/,trim:/[`!()\[\]{};:'".,<>?\xab\xbb\u201c\u201d\u201e\u2018\u2019]+$/,parens:/(\([^\)]*\)|\[[^\]]*\]|\{[^}]*\}|<[^>]*>)/g},r.defaultPorts={http:"80",https:"443",ftp:"21",gopher:"70",ws:"80",wss:"443"},r.hostProtocols=["http","https"],r.invalid_hostname_characters=/[^a-zA-Z0-9\.\-:_]/,r.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"},r.getDomAttribute=function(e){if(e&&e.nodeName){var t=e.nodeName.toLowerCase();if("input"!==t||"image"===e.type)return r.domAttributes[t]}},r.encode=m,r.decode=decodeURIComponent,r.iso8859=function(){r.encode=escape,r.decode=unescape},r.unicode=function(){r.encode=m,r.decode=decodeURIComponent},r.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"}}}},r.encodeQuery=function(e,t){var o=r.encode(e+"");return void 0===t&&(t=r.escapeQuerySpace),t?o.replace(/%20/g,"+"):o},r.decodeQuery=function(e,t){e+="",void 0===t&&(t=r.escapeQuerySpace);try{return r.decode(t?e.replace(/\+/g,"%20"):e)}catch(t){return e}};var w,A={encode:"encode",decode:"decode"},k=function(e,t){return function(o){try{return r[t](o+"").replace(r.characters[e][t].expression,function(o){return r.characters[e][t].map[o]})}catch(e){return o}}};for(w in A)r[w+"PathSegment"]=k("pathname",A[w]),r[w+"UrnPathSegment"]=k("urnpath",A[w]);var I=function(e,t,o){return function(n){var i;i=o?function(e){return r[t](r[o](e))}:r[t];for(var a=(n+"").split(e),s=0,l=a.length;s<l;s++)a[s]=i(a[s]);return a.join(e)}};r.decodePath=I("/","decodePathSegment"),r.decodeUrnPath=I(":","decodeUrnPathSegment"),r.recodePath=I("/","encodePathSegment","decode"),r.recodeUrnPath=I(":","encodeUrnPathSegment","decode"),r.encodeReserved=k("reserved","encode"),r.parse=function(e,t){var o;return t||(t={preventInvalidHostname:r.preventInvalidHostname}),o=e.indexOf("#"),o>-1&&(t.fragment=e.substring(o+1)||null,e=e.substring(0,o)),o=e.indexOf("?"),o>-1&&(t.query=e.substring(o+1)||null,e=e.substring(0,o)),"//"===e.substring(0,2)?(t.protocol=null,e=e.substring(2),e=r.parseAuthority(e,t)):(o=e.indexOf(":"))>-1&&(t.protocol=e.substring(0,o)||null,t.protocol&&!t.protocol.match(r.protocol_expression)?t.protocol=void 0:"//"===e.substring(o+1,o+3)?(e=e.substring(o+3),e=r.parseAuthority(e,t)):(e=e.substring(o+1),t.urn=!0)),t.path=e,t},r.parseHost=function(e,t){e||(e=""),e=e.replace(/\\/g,"/");var o,n,i=e.indexOf("/");if(-1===i&&(i=e.length),"["===e.charAt(0))o=e.indexOf("]"),t.hostname=e.substring(1,o)||null,t.port=e.substring(o+2,i)||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,i)||null,t.port=null):(n=e.substring(0,i).split(":"),t.hostname=n[0]||null,t.port=n[1]||null)}return t.hostname&&"/"!==e.substring(i).charAt(0)&&(i++,e="/"+e),t.preventInvalidHostname&&r.ensureValidHostname(t.hostname,t.protocol),t.port&&r.ensureValidPort(t.port),e.substring(i)||"/"},r.parseAuthority=function(e,t){return e=r.parseUserinfo(e,t),r.parseHost(e,t)},r.parseUserinfo=function(e,t){var o,n=e.indexOf("/"),i=e.lastIndexOf("@",n>-1?n:e.length-1);return i>-1&&(-1===n||i<n)?(o=e.substring(0,i).split(":"),t.username=o[0]?r.decode(o[0]):null,o.shift(),t.password=o[0]?r.decode(o.join(":")):null,e=e.substring(i+1)):(t.username=null,t.password=null),e},r.parseQuery=function(e,t){if(!e)return{};if(!(e=e.replace(/&+/g,"&").replace(/^\?*&*|&+$/g,"")))return{};for(var o,n,i,a={},s=e.split("&"),l=s.length,c=0;c<l;c++)o=s[c].split("="),n=r.decodeQuery(o.shift(),t),i=o.length?r.decodeQuery(o.join("="),t):null,y.call(a,n)?("string"!==typeof a[n]&&null!==a[n]||(a[n]=[a[n]]),a[n].push(i)):a[n]=i;return a},r.build=function(e){var t="",o=!1;return e.protocol&&(t+=e.protocol+":"),e.urn||!t&&!e.hostname||(t+="//",o=!0),t+=r.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},r.buildHost=function(e){var t="";return e.hostname?(r.ip6_expression.test(e.hostname)?t+="["+e.hostname+"]":t+=e.hostname,e.port&&(t+=":"+e.port),t):""},r.buildAuthority=function(e){return r.buildUserinfo(e)+r.buildHost(e)},r.buildUserinfo=function(e){var t="";return e.username&&(t+=r.encode(e.username)),e.password&&(t+=":"+r.encode(e.password)),t&&(t+="@"),t},r.buildQuery=function(e,t,o){var n,i,a,s,c="";for(i in e)if(y.call(e,i))if(l(e[i]))for(n={},a=0,s=e[i].length;a<s;a++)void 0!==e[i][a]&&void 0===n[e[i][a]+""]&&(c+="&"+r.buildQueryParameter(i,e[i][a],o),!0!==t&&(n[e[i][a]+""]=!0));else void 0!==e[i]&&(c+="&"+r.buildQueryParameter(i,e[i],o));return c.substring(1)},r.buildQueryParameter=function(e,t,o){return r.encodeQuery(e,o)+(null!==t?"="+r.encodeQuery(t,o):"")},r.addQuery=function(e,t,o){if("object"===typeof t)for(var n in t)y.call(t,n)&&r.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]]),l(o)||(o=[o]),e[t]=(e[t]||[]).concat(o)}},r.setQuery=function(e,t,o){if("object"===typeof t)for(var n in t)y.call(t,n)&&r.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}},r.removeQuery=function(e,t,o){var n,i,a;if(l(t))for(n=0,i=t.length;n<i;n++)e[t[n]]=void 0;else if("RegExp"===s(t))for(a in e)t.test(a)&&(e[a]=void 0);else if("object"===typeof t)for(a in t)y.call(t,a)&&r.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"===s(o)?!l(e[t])&&o.test(e[t])?e[t]=void 0:e[t]=c(e[t],o):e[t]!==String(o)||l(o)&&1!==o.length?l(e[t])&&(e[t]=c(e[t],o)):e[t]=void 0:e[t]=void 0}},r.hasQuery=function(e,t,o,n){switch(s(t)){case"String":break;case"RegExp":for(var i in e)if(y.call(e,i)&&t.test(i)&&(void 0===o||r.hasQuery(e,i,o)))return!0;return!1;case"Object":for(var a in t)if(y.call(t,a)&&!r.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(s(o)){case"Undefined":return t in e;case"Boolean":return o===Boolean(l(e[t])?e[t].length:e[t]);case"Function":return!!o(e[t],t,e);case"Array":if(!l(e[t]))return!1;return(n?u:p)(e[t],o);case"RegExp":return l(e[t])?!!n&&u(e[t],o):Boolean(e[t]&&e[t].match(o));case"Number":o=String(o);case"String":return l(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")}},r.joinPaths=function(){for(var e=[],t=[],o=0,n=0;n<arguments.length;n++){var i=new r(arguments[n]);e.push(i);for(var a=i.segment(),s=0;s<a.length;s++)"string"===typeof a[s]&&t.push(a[s]),a[s]&&o++}if(!t.length||!o)return new r("");var l=new r("").segment(t);return""!==e[0].path()&&"/"!==e[0].path().slice(0,1)||l.path("/"+l.path()),l.normalize()},r.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))},r.withinString=function(e,t,o){o||(o={});var n=o.start||r.findUri.start,i=o.end||r.findUri.end,a=o.trim||r.findUri.trim,s=o.parens||r.findUri.parens,l=/[a-z0-9-]=["']?$/i;for(n.lastIndex=0;;){var c=n.exec(e);if(!c)break;var u=c.index;if(o.ignoreHtml){var p=e.slice(Math.max(u-3,0),u);if(p&&l.test(p))continue}for(var h=u+e.slice(u).search(i),d=e.slice(u,h),m=-1;;){var f=s.exec(d);if(!f)break;var g=f.index+f[0].length;m=Math.max(m,g)}if(d=m>-1?d.slice(0,m)+d.slice(m).replace(a,""):d.replace(a,""),!(d.length<=c[0].length)&&(!o.ignore||!o.ignore.test(d))){h=u+d.length;var v=t(d,u,h,e);void 0!==v?(v=String(v),e=e.slice(0,u)+v+e.slice(h),n.lastIndex=u+v.length):n.lastIndex=h}}return n.lastIndex=0,e},r.ensureValidHostname=function(t,o){var n=!!t,i=!!o,a=!1;if(i&&(a=u(r.hostProtocols,o)),a&&!n)throw new TypeError("Hostname cannot be empty, if protocol is "+o);if(t&&t.match(r.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(r.invalid_hostname_characters))throw new TypeError('Hostname "'+t+'" contains characters other than [A-Z0-9.-:_]')}},r.ensureValidPort=function(e){if(e){var t=Number(e);if(!(i(t)&&t>0&&t<65536))throw new TypeError('Port "'+e+'" is not a valid port')}},r.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=v),this},b.build=function(e){return!0===e?this._deferred_build=!0:(void 0===e||this._deferred_build)&&(this._string=r.build(this._parts),this._deferred_build=!1),this},b.clone=function(){return new r(this)},b.valueOf=b.toString=function(){return this.build(!1)._string},b.protocol=f("protocol"),b.username=f("username"),b.password=f("password"),b.hostname=f("hostname"),b.port=f("port"),b.query=g("query","?"),b.fragment=g("fragment","#"),b.search=function(e,t){var o=this.query(e,t);return"string"===typeof o&&o.length?"?"+o:o},b.hash=function(e,t){var o=this.fragment(e,t);return"string"===typeof o&&o.length?"#"+o:o},b.pathname=function(e,t){if(void 0===e||!0===e){var o=this._parts.path||(this._parts.hostname?"/":"");return e?(this._parts.urn?r.decodeUrnPath:r.decodePath)(o):o}return this._parts.urn?this._parts.path=e?r.recodeUrnPath(e):"":this._parts.path=e?r.recodePath(e):"/",this.build(!t),this},b.path=b.pathname,b.href=function(e,t){var o;if(void 0===e)return this.toString();this._string="",this._parts=r._parts();var n=e instanceof r,i="object"===typeof e&&(e.hostname||e.path||e.pathname);if(e.nodeName){e=e[r.getDomAttribute(e)]||"",i=!1}if(!n&&i&&void 0!==e.pathname&&(e=e.toString()),"string"===typeof e||e instanceof String)this._parts=r.parse(String(e),this._parts);else{if(!n&&!i)throw new TypeError("invalid input");var a=n?e._parts:e;for(o in a)"query"!==o&&y.call(this._parts,o)&&(this._parts[o]=a[o]);a.query&&this.query(a.query,!1)}return this.build(!t),this},b.is=function(e){var t=!1,n=!1,i=!1,a=!1,s=!1,l=!1,c=!1,u=!this._parts.urn;switch(this._parts.hostname&&(u=!1,n=r.ip4_expression.test(this._parts.hostname),i=r.ip6_expression.test(this._parts.hostname),t=n||i,a=!t,s=a&&o&&o.has(this._parts.hostname),l=a&&r.idn_expression.test(this._parts.hostname),c=a&&r.punycode_expression.test(this._parts.hostname)),e.toLowerCase()){case"relative":return u;case"absolute":return!u;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 i;case"idn":return l;case"url":return!this._parts.urn;case"urn":return!!this._parts.urn;case"punycode":return c}return null};var C=b.protocol,E=b.port,z=b.hostname;b.protocol=function(e,t){if(e&&(e=e.replace(/:(\/\/)?$/,""),!e.match(r.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)},b.scheme=b.protocol,b.port=function(e,t){return this._parts.urn?void 0===e?"":this:(void 0!==e&&(0===e&&(e=null),e&&(e+="",":"===e.charAt(0)&&(e=e.substring(1)),r.ensureValidPort(e))),E.call(this,e,t))},b.hostname=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0!==e){var o={preventInvalidHostname:this._parts.preventInvalidHostname};if("/"!==r.parseHost(e,o))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');e=o.hostname,this._parts.preventInvalidHostname&&r.ensureValidHostname(e,this._parts.protocol)}return z.call(this,e,t)},b.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=r(e);return this.protocol(n.protocol()).authority(n.authority()).build(!t),this},b.host=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e)return this._parts.hostname?r.buildHost(this._parts):"";if("/"!==r.parseHost(e,this._parts))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');return this.build(!t),this},b.authority=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e)return this._parts.hostname?r.buildAuthority(this._parts):"";if("/"!==r.parseAuthority(e,this._parts))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');return this.build(!t),this},b.userinfo=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e){var o=r.buildUserinfo(this._parts);return o?o.substring(0,o.length-1):o}return"@"!==e[e.length-1]&&(e+="@"),r.parseUserinfo(e,this._parts),this.build(!t),this},b.resource=function(e,t){var o;return void 0===e?this.path()+this.search()+this.hash():(o=r.parse(e),this._parts.path=o.path,this._parts.query=o.query,this._parts.fragment=o.fragment,this.build(!t),this)},b.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,i=this._parts.hostname.substring(0,n),s=new RegExp("^"+a(i));if(e&&"."!==e.charAt(e.length-1)&&(e+="."),-1!==e.indexOf(":"))throw new TypeError("Domains cannot contain colons");return e&&r.ensureValidHostname(e,this._parts.protocol),this._parts.hostname=this._parts.hostname.replace(s,e),this.build(!t),this},b.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(r.ensureValidHostname(e,this._parts.protocol),!this._parts.hostname||this.is("IP"))this._parts.hostname=e;else{var i=new RegExp(a(this.domain())+"$");this._parts.hostname=this._parts.hostname.replace(i,e)}return this.build(!t),this},b.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: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(a(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(a(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(i,e)}return this.build(!t),this},b.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?r.decodePath(n):n}var i=this._parts.path.length-this.filename().length,s=this._parts.path.substring(0,i),l=new RegExp("^"+a(s));return this.is("relative")||(e||(e="/"),"/"!==e.charAt(0)&&(e="/"+e)),e&&"/"!==e.charAt(e.length-1)&&(e+="/"),e=r.recodePath(e),this._parts.path=this._parts.path.replace(l,e),this.build(!t),this},b.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?r.decodePathSegment(n):n}var i=!1;"/"===e.charAt(0)&&(e=e.substring(1)),e.match(/\.?\//)&&(i=!0);var s=new RegExp(a(this.filename())+"$");return e=r.recodePath(e),this._parts.path=this._parts.path.replace(s,e),i?this.normalizePath(t):this.build(!t),this},b.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,i=this.filename(),s=i.lastIndexOf(".");return-1===s?"":(o=i.substring(s+1),n=/^[a-z0-9%]+$/i.test(o)?o:"",e?r.decodePathSegment(n):n)}"."===e.charAt(0)&&(e=e.substring(1));var l,c=this.suffix();if(c)l=e?new RegExp(a(c)+"$"):new RegExp(a("."+c)+"$");else{if(!e)return this;this._parts.path+="."+r.recodePath(e)}return l&&(e=r.recodePath(e),this._parts.path=this._parts.path.replace(l,e)),this.build(!t),this},b.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(l(t)){a=[];for(var s=0,c=t.length;s<c;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)},b.segmentCoded=function(e,t,o){var n,i,a;if("number"!==typeof e&&(o=t,t=e,e=void 0),void 0===t){if(n=this.segment(e,t,o),l(n))for(i=0,a=n.length;i<a;i++)n[i]=r.decode(n[i]);else n=void 0!==n?r.decode(n):void 0;return n}if(l(t))for(i=0,a=t.length;i<a;i++)t[i]=r.encode(t[i]);else t="string"===typeof t||t instanceof String?r.encode(t):t;return this.segment(e,t,o)};var x=b.query;return b.query=function(e,t){if(!0===e)return r.parseQuery(this._parts.query,this._parts.escapeQuerySpace);if("function"===typeof e){var o=r.parseQuery(this._parts.query,this._parts.escapeQuerySpace),n=e.call(this,o);return this._parts.query=r.buildQuery(n||o,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),this.build(!t),this}return void 0!==e&&"string"!==typeof e?(this._parts.query=r.buildQuery(e,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),this.build(!t),this):x.call(this,e,t)},b.setQuery=function(e,t,o){var n=r.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 i in e)y.call(e,i)&&(n[i]=e[i])}return this._parts.query=r.buildQuery(n,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),"string"!==typeof e&&(o=t),this.build(!o),this},b.addQuery=function(e,t,o){var n=r.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return r.addQuery(n,e,void 0===t?null:t),this._parts.query=r.buildQuery(n,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),"string"!==typeof e&&(o=t),this.build(!o),this},b.removeQuery=function(e,t,o){var n=r.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return r.removeQuery(n,e,t),this._parts.query=r.buildQuery(n,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),"string"!==typeof e&&(o=t),this.build(!o),this},b.hasQuery=function(e,t,o){var n=r.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return r.hasQuery(n,e,t,o)},b.setSearch=b.setQuery,b.addSearch=b.addQuery,b.removeSearch=b.removeQuery,b.hasSearch=b.hasQuery,b.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()},b.normalizeProtocol=function(e){return"string"===typeof this._parts.protocol&&(this._parts.protocol=this._parts.protocol.toLowerCase(),this.build(!e)),this},b.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},b.normalizePort=function(e){return"string"===typeof this._parts.protocol&&this._parts.port===r.defaultPorts[this._parts.protocol]&&(this._parts.port=null,this.build(!e)),this},b.normalizePath=function(e){var t=this._parts.path;if(!t)return this;if(this._parts.urn)return this._parts.path=r.recodeUrnPath(this._parts.path),this.build(!e),this;if("/"===this._parts.path)return this;t=r.recodePath(t);var o,n,i,a="";for("/"!==t.charAt(0)&&(o=!0,t="/"+t),"/.."!==t.slice(-3)&&"/."!==t.slice(-2)||(t+="/"),t=t.replace(/(\/(\.\/)+)|(\/\.$)/g,"/").replace(/\/{2,}/g,"/"),o&&(a=t.substring(1).match(/^(\.\.\/)+/)||"")&&(a=a[0]);;){if(-1===(n=t.search(/\/\.\.(\/|$)/)))break;0!==n?(i=t.substring(0,n).lastIndexOf("/"),-1===i&&(i=n),t=t.substring(0,i)+t.substring(n+3)):t=t.substring(3)}return o&&this.is("relative")&&(t=a+t.substring(1)),this._parts.path=t,this.build(!e),this},b.normalizePathname=b.normalizePath,b.normalizeQuery=function(e){return"string"===typeof this._parts.query&&(this._parts.query.length?this.query(r.parseQuery(this._parts.query,this._parts.escapeQuerySpace)):this._parts.query=null,this.build(!e)),this},b.normalizeFragment=function(e){return this._parts.fragment||(this._parts.fragment=null,this.build(!e)),this},b.normalizeSearch=b.normalizeQuery,b.normalizeHash=b.normalizeFragment,b.iso8859=function(){var e=r.encode,t=r.decode;r.encode=escape,r.decode=decodeURIComponent;try{this.normalize()}finally{r.encode=e,r.decode=t}return this},b.unicode=function(){var e=r.encode,t=r.decode;r.encode=m,r.decode=unescape;try{this.normalize()}finally{r.encode=e,r.decode=t}return this},b.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="",i=0,a=t._parts.query.split("&"),s=a.length;i<s;i++){var l=(a[i]||"").split("=");n+="&"+r.decodeQuery(l[0],this._parts.escapeQuerySpace).replace(/&/g,"%26"),void 0!==l[1]&&(n+="="+r.decodeQuery(l[1],this._parts.escapeQuerySpace).replace(/&/g,"%26"))}o+="?"+n.substring(1)}return o+=r.decodeQuery(t.hash(),!0)},b.absoluteTo=function(e){var t,o,n,i=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 r||(e=new r(e)),i._parts.protocol)return i;if(i._parts.protocol=e._parts.protocol,this._parts.hostname)return i;for(o=0;n=a[o];o++)i._parts[n]=e._parts[n];return i._parts.path?(".."===i._parts.path.substring(-2)&&(i._parts.path+="/"),"/"!==i.path().charAt(0)&&(t=e.directory(),t=t||(0===e.path().indexOf("/")?"/":""),i._parts.path=(t?t+"/":"")+i._parts.path,i.normalizePath())):(i._parts.path=e._parts.path,i._parts.query||(i._parts.query=e._parts.query)),i.build(),i},b.relativeTo=function(e){var t,o,n,i,a,s=this.clone().normalize();if(s._parts.urn)throw new Error("URNs do not have any generally defined hierarchical components");if(e=new r(e).normalize(),t=s._parts,o=e._parts,i=s.path(),a=e.path(),"/"!==i.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,i===a)return t.path="",s.build();if(!(n=r.commonPath(i,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()},b.equals=function(e){var t,o,n,i=this.clone(),a=new r(e),s={},c={},u={};if(i.normalize(),a.normalize(),i.toString()===a.toString())return!0;if(t=i.query(),o=a.query(),i.query(""),a.query(""),i.toString()!==a.toString())return!1;if(t.length!==o.length)return!1;s=r.parseQuery(t,this._parts.escapeQuerySpace),c=r.parseQuery(o,this._parts.escapeQuerySpace);for(n in s)if(y.call(s,n)){if(l(s[n])){if(!p(s[n],c[n]))return!1}else if(s[n]!==c[n])return!1;u[n]=!0}for(n in c)if(y.call(c,n)&&!u[n])return!1;return!0},b.preventInvalidHostname=function(e){return this._parts.preventInvalidHostname=!!e,this},b.duplicateQueryParameters=function(e){return this._parts.duplicateQueryParameters=!!e,this},b.escapeQuerySpace=function(e){return this._parts.escapeQuerySpace=!!e,this},r})},function(e,t,o){(function(e,n){var r;!function(i){function a(e){throw new RangeError(j[e])}function s(e,t){for(var o=e.length,n=[];o--;)n[o]=t(e[o]);return n}function l(e,t){var o=e.split("@"),n="";return o.length>1&&(n=o[0]+"@",e=o[1]),e=e.replace(P,"."),n+s(e.split("."),t).join(".")}function c(e){for(var t,o,n=[],r=0,i=e.length;r<i;)t=e.charCodeAt(r++),t>=55296&&t<=56319&&r<i?(o=e.charCodeAt(r++),56320==(64512&o)?n.push(((1023&t)<<10)+(1023&o)+65536):(n.push(t),r--)):n.push(t);return n}function u(e){return s(e,function(e){var t="";return e>65535&&(e-=65536,t+=H(e>>>10&1023|55296),e=56320|1023&e),t+=H(e)}).join("")}function p(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:A}function h(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function d(e,t,o){var n=0;for(e=o?B(e/E):e>>1,e+=B(e/t);e>Q*I>>1;n+=A)e=B(e/Q);return B(n+(Q+1)*e/(e+C))}function m(e){var t,o,n,r,i,s,l,c,h,m,f=[],g=e.length,v=0,b=x,y=z;for(o=e.lastIndexOf(_),o<0&&(o=0),n=0;n<o;++n)e.charCodeAt(n)>=128&&a("not-basic"),f.push(e.charCodeAt(n));for(r=o>0?o+1:0;r<g;){for(i=v,s=1,l=A;r>=g&&a("invalid-input"),c=p(e.charCodeAt(r++)),(c>=A||c>B((w-v)/s))&&a("overflow"),v+=c*s,h=l<=y?k:l>=y+I?I:l-y,!(c<h);l+=A)m=A-h,s>B(w/m)&&a("overflow"),s*=m;t=f.length+1,y=d(v-i,t,0==i),B(v/t)>w-b&&a("overflow"),b+=B(v/t),v%=t,f.splice(v++,0,b)}return u(f)}function f(e){var t,o,n,r,i,s,l,u,p,m,f,g,v,b,y,C=[];for(e=c(e),g=e.length,t=x,o=0,i=z,s=0;s<g;++s)(f=e[s])<128&&C.push(H(f));for(n=r=C.length,r&&C.push(_);n<g;){for(l=w,s=0;s<g;++s)(f=e[s])>=t&&f<l&&(l=f);for(v=n+1,l-t>B((w-o)/v)&&a("overflow"),o+=(l-t)*v,t=l,s=0;s<g;++s)if(f=e[s],f<t&&++o>w&&a("overflow"),f==t){for(u=o,p=A;m=p<=i?k:p>=i+I?I:p-i,!(u<m);p+=A)y=u-m,b=A-m,C.push(H(h(m+y%b,0))),u=B(y/b);C.push(H(h(u,0))),i=d(o,v,n==r),o=0,++n}++o,++t}return C.join("")}function g(e){return l(e,function(e){return O.test(e)?m(e.slice(4).toLowerCase()):e})}function v(e){return l(e,function(e){return S.test(e)?"xn--"+f(e):e})}var b=("object"==typeof t&&t&&t.nodeType,"object"==typeof e&&e&&e.nodeType,"object"==typeof n&&n);var y,w=2147483647,A=36,k=1,I=26,C=38,E=700,z=72,x=128,_="-",O=/^xn--/,S=/[^\x20-\x7E]/,P=/[\x2E\u3002\uFF0E\uFF61]/g,j={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Q=A-k,B=Math.floor,H=String.fromCharCode;y={version:"1.3.2",ucs2:{decode:c,encode:u},decode:m,encode:f,toASCII:v,toUnicode:g},void 0!==(r=function(){return y}.call(t,o,t,e))&&(e.exports=r)}()}).call(t,o(19)(e),o(20))},function(e,t,o){var n,r;!function(i,a){"use strict";"object"===typeof e&&e.exports?e.exports=a():(n=a,void 0!==(r="function"===typeof n?n.call(t,o,t,e):n)&&(e.exports=r))}(0,function(e){"use strict";function t(e){var t=e.toLowerCase(),o=t.split(":"),n=o.length,r=8;""===o[0]&&""===o[1]&&""===o[2]?(o.shift(),o.shift()):""===o[0]&&""===o[1]?o.shift():""===o[n-1]&&""===o[n-2]&&o.pop(),n=o.length,-1!==o[n-1].indexOf(".")&&(r=7);var i;for(i=0;i<n&&""!==o[i];i++);if(i<r)for(o.splice(i,1,"0000");o.length<r;)o.splice(i,0,"0000");for(var a,s=0;s<r;s++){a=o[s].split("");for(var l=0;l<3&&("0"===a[0]&&a.length>1);l++)a.splice(0,1);o[s]=a.join("")}var c=-1,u=0,p=0,h=-1,d=!1;for(s=0;s<r;s++)d?"0"===o[s]?p+=1:(d=!1,p>u&&(c=h,u=p)):"0"===o[s]&&(d=!0,h=s,p=1);p>u&&(c=h,u=p),u>1&&o.splice(c,u,""),n=o.length;var m="";for(""===o[0]&&(m=":"),s=0;s<n&&(m+=o[s],s!==n-1);s++)m+=":";return""===o[n-1]&&(m+=":"),m}function o(){return e.IPv6===this&&(e.IPv6=n),this}var n=e&&e.IPv6;return{best:t,noConflict:o}})},function(e,t,o){var n,r;!function(i,a){"use strict";"object"===typeof e&&e.exports?e.exports=a():(n=a,void 0!==(r="function"===typeof n?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,o){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=o(0),s=(o.n(a),o(1)),l=(o.n(s),function(){function e(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,o,n){return o&&e(t.prototype,o),n&&e(t,n),t}}()),c=function(e){function t(){var e,o,i,a;n(this,t);for(var s=arguments.length,l=Array(s),c=0;c<s;c++)l[c]=arguments[c];return o=i=r(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),i.state={color:i.props.color,showColorPicker:!1},i.onClickColorIndicatorHandler=function(){i.setState({showColorPicker:!0})},i.setColorPickerHandler=function(e){i.setState({color:e.hex},function(){i.props.save(i.state)})},i.focusOutsideHandler=function(){i.setState({showColorPicker:!1})},a=o,r(i,a)}return i(t,e),l(t,[{key:"render",value:function(){return wp.element.createElement(s.ColorIndicator,{title:this.props.title,className:this.props.className,colorValue:this.state.color,onClick:this.onClickColorIndicatorHandler},this.state.showColorPicker&&wp.element.createElement(s.Popover,{position:"middle right",onFocusOutside:this.focusOutsideHandler},wp.element.createElement("div",{className:"popover-content"},wp.element.createElement(s.ColorPicker,{className:"wpzoom-color-picker",disableAlpha:!0,color:this.state.color,onChangeComplete:this.setColorPickerHandler}))))}}]),t}(a.Component);t.a=c},function(e,t){e.exports=wp.blockEditor},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=(o(13),o(36));!function(){wp.blocks.updateCategory("wpzoom-blocks",{icon:n.a})}()},function(e,t,o){"use strict";function n(e){if(Array.isArray(e)){for(var t=0,o=Array(e.length);t<e.length;t++)o[t]=e[t];return o}return Array.from(e)}var r=o(14),i=(o.n(r),o(15)),a=(o.n(i),o(16)),s=o(17),l=o(18),c=o(33),u=o(34),p=(o.n(u),o(4)),h=(o.n(p),o(35));o.n(h);Object(u.addFilter)("blocks.getBlockAttributes","wpzoom-blocks/social-icons",function(e){if(void 0!==e.selectedIcons){var t=[].concat(n(e.selectedIcons));t.map(function(e){return e.isActive=!1,e}),e.selectedIcons=t,e.showModal=!1}return e}),Object(h.registerBlockType)("wpzoom-blocks/social-icons",{title:Object(p.__)("Social Icons Block","zoom-social-icons-widget"),description:Object(p.__)("Display icons with links to social media platforms.","zoom-social-icons-widget"),icon:{foreground:"#274474",src:a.a},example:{attributes:{cover:s.a,author:"WPZOOM"}},category:"wpzoom-blocks",keywords:[Object(p.__)("Social Icons","zoom-social-icons-widget"),Object(p.__)("Dashicons","zoom-social-icons-widget"),Object(p.__)("Socicons","zoom-social-icons-widget"),Object(p.__)("Fontawesome","zoom-social-icons-widget"),Object(p.__)("Academic Icons","zoom-social-icons-widget")],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},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:"#3b5998",hoverColor:"#3b5998",label:"Facebook",showPopover:!1,isActive:!1},{url:"https://twitter.com",icon:"twitter",iconKit:"socicon",color:"#1da1f2",hoverColor:"#1da1f2",label:"Twitter",showPopover:!1,isActive:!1},{url:"https://instagram.com",icon:"instagram",iconKit:"socicon",color:"#E44060",hoverColor:"#E44060",label:"Instagram",showPopover:!1,isActive:!1}]}},styles:[{name:"with-canvas-round",label:Object(p.__)("Color Background / Round White Icon","zoom-social-icons-widget"),isDefault:!0},{name:"with-canvas-rounded",label:Object(p.__)("Color Background / Rounded White Icon","zoom-social-icons-widget")},{name:"with-canvas-squared",label:Object(p.__)("Color Background / Squared White Icon","zoom-social-icons-widget")},{name:"without-canvas",label:Object(p.__)("Color Icon / No Background","zoom-social-icons-widget")},{name:"without-canvas-with-border",label:Object(p.__)("Color Icon / No Background with border","zoom-social-icons-widget")},{name:"with-label-canvas-rounded",label:Object(p.__)("Color Background / Rounded White Icon with label","zoom-social-icons-widget")},{name:"without-canvas-with-label",label:Object(p.__)("Color Icon / No Background with label","zoom-social-icons-widget")}],edit:l.a,save:c.a})},function(e,t){},function(e,t){},function(e,t,o){"use strict";t.a=wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 225.43 225.56"},wp.element.createElement("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)"}),wp.element.createElement("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)"}),wp.element.createElement("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)"}),wp.element.createElement("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)"}),wp.element.createElement("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)"}),wp.element.createElement("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)"}),wp.element.createElement("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)"}),wp.element.createElement("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)"}))},function(e,t,o){"use strict";t.a="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQoAAADJCAYAAADbwHxnAAAKz2lDQ1BJQ0MgUHJvZmlsZQAASImVlwdUU2kWx7/30kNCS4iAlNB77yAl9AAK0kFUQhKSUEJIQcWODI7AiKIigmVEh6rgWAAZCyKKbRCsWAdkUFHGwYINlX3AEmZ2z+6e/Z9zz/vl5n73fved7zvnPgDI6iyRKANWBiBTKBVHBvnS4xMS6bhBAAEYEIA2sGWxJSJGREQYQDTz/Lve30GiEd20msz17///V6lwuBI2AFAEwikcCTsT4eOIfWOLxFIAUAgDg2VS0ST3IUwVIxtEeGSSeVOMnsxDTZlm6lRMdKQfwqYA4EkslpgHAMkR8dNz2DwkDykaYVshRyBEOB9hLzafxUG4E2HLzMysSR5F2DTlL3l4f8uZIs/JYvHkPN3LlPD+Aokog7Xi/3wd/1uZGbKZGsaIkfji4MhphvrSs0LlLExZED7DAs5MPNTHlwXHzDBb4pc4wxyWf6h8bcaCsBlOFQQy5XmkzOgZ5koComZYnBUpr5Uq9mPMMEs8W1eWHiP387lMef5cfnTcDOcIYhfMsCQ9KnQ2xk/uF8si5fvnCoN8Z+sGynvPlPylXwFTvlbKjw6W986a3T9XyJjNKYmX743D9Q+YjYmRx4ukvvJaoowIeTw3I0jul+REyddKkQM5uzZC/g7TWCERMwyiAR/IgBBwABeIQQrIAhlACujAHwiABIiQXyyAHCcpd7l0sjm/LNEKsYDHl9IZyK3j0plCtrUl3d7Wzg2AyTs8fUTe0qbuJkS7MuvLbgfArRBx8mZ9LAMATj4FgPJ+1mfwBjleWwA43cOWiXOmfVN3DQOIQAlQgQbQAQbAFFgBe+AMPIAPCAAhIBzpJAEsAWykn0ykk2VgFVgPCkAR2AJ2gAqwDxw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JkChcLp5WTkSsEOAQmGHI72QgNMEKBRONy8rRwJ2CFAo7HCkFxJwmgCFwunmZeVIwA4BCoUdjvRCAk4ToFA43bysHAnYIUChsMORXkjAaQIUCqebl5UjATsEKBR2ONILCThNgELhdPOyciRghwCFwg5HeiEBpwlQKJxuXlaOBOwQoFDY4UgvJOA0gf8DAD8xcfX+GGoAAAAASUVORK5CYII="},function(e,t,o){"use strict";function n(e){if(Array.isArray(e)){for(var t=0,o=Array(e.length);t<e.length;t++)o[t]=e[t];return o}return Array.from(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function a(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=o(2),l=o(3),c=o.n(l),u=o(26),p=o(29),h=o(30),d=o(31),m=o(5),f=(o.n(m),o(10)),g=o(6),v=o.n(g),b=o(4),y=(o.n(b),o(0)),w=(o.n(y),o(32)),A=(o.n(w),o(1)),k=(o.n(A),o(11)),I=(o.n(k),function(){function e(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,o,n){return o&&e(t.prototype,o),n&&e(t,n),t}}()),C=function(e){function t(e){r(this,t);var o=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return o.closeModal=function(){o.props.setAttributes({showModal:!1})},o.getIconsAlignmentStyle=function(e){return{left:"flex-start",right:"flex-end",center:"center"}[e]},o.setAlignment=function(e){o.props.setAttributes({iconsAlignment:e})},o.saveModalHandler=function(e){var t=JSON.parse(JSON.stringify(o.props.attributes.selectedIcons)),n=t[o.props.attributes.activeIconIndex],r={url:e.modalUrl,label:e.modalLabel,icon:e.modalIcon,iconKit:e.modalIconKit,color:e.modalColor,hoverColor:e.modalHoverColor};t[o.props.attributes.activeIconIndex]=Object.assign({},n,r),o.props.setAttributes({selectedIcons:t,showModal:!1})},o.insertIcon=function(e){if(e.preventDefault(),e.stopPropagation(),0!==e.detail){var t=o.getStyleVariations(s.a.getBlockStyle(o.props.className)),n={url:"https://wordpress.org",icon:"wordpress",iconKit:"socicon",color:"#444140",hoverColor:"#444140",label:"WordPress",showPopover:!0,isActive:!0};Object(m.isEmpty)(t.defaultIcon.color)||(n.color=t.defaultIcon.color),Object(m.isEmpty)(t.defaultIcon.hoverColor)||(n.hoverColor=t.defaultIcon.hoverColor);var r=JSON.parse(JSON.stringify(o.props.attributes.selectedIcons));r.map(function(e){return e.isActive=!1});var i=r.push(n);o.props.setAttributes({selectedIcons:r,activeIconIndex:i-1})}},o.onClickIconHandler=function(e,t,n){e.preventDefault();var r=JSON.parse(JSON.stringify(o.props.attributes.selectedIcons));r.map(function(e){return e.isActive=!1}),r[t].showPopover=!0,r[t].isActive=!0,o.props.setAttributes({activeIconIndex:t,selectedIcons:r})},o.popoverCloseHandler=function(e){var t=JSON.parse(JSON.stringify(o.props.attributes.selectedIcons));t[e].showPopover=!1,o.props.setAttributes({selectedIcons:t})},o.deleteIconHandler=function(){var e=JSON.parse(JSON.stringify(o.props.attributes.selectedIcons));e.splice(o.props.attributes.activeIconIndex,1),o.props.setAttributes({selectedIcons:e,showModal:!1,activeIconIndex:0})},o.popoverDeleteIconHandler=function(e,t){e.stopPropagation();var n=JSON.parse(JSON.stringify(o.props.attributes.selectedIcons));n.splice(t,1),o.props.setAttributes({selectedIcons:n,activeIconIndex:0})},o.popoverEditSettingsHandler=function(e,t){e.stopPropagation();var n=JSON.parse(JSON.stringify(o.props.attributes.selectedIcons));n[t].showPopover=!1,o.props.setAttributes({showModal:!0,selectedIcons:n})},o.popoverSearchHandler=function(e,t,n){t=Object(m.isEmpty)(new v.a(t).protocol())?"https://"+t:t;var r=JSON.parse(JSON.stringify(o.props.attributes.selectedIcons)),i=s.a.filterUrlScheme(t);if(i){var a=s.a.filterIcons(i);a[r[e].iconKit].length&&(r[e].icon=a[r[e].iconKit][0].icon,a[r[e].iconKit][0].color&&(r[e].color=a[r[e].iconKit][0].color,r[e].hoverColor=a[r[e].iconKit][0].color),r[e].label=s.a.humanizeIconLabel(i))}r[e].url=t,r[e].showPopover=!1,o.props.setAttributes({selectedIcons:r})},o.moveLeftHandler=function(e,t){var n=JSON.parse(JSON.stringify(o.props.attributes.selectedIcons));n=s.a.arrayMove(n,t,t-1),o.props.setAttributes({selectedIcons:n,activeIconIndex:t-1})},o.moveRightHandler=function(e,t){var n=JSON.parse(JSON.stringify(o.props.attributes.selectedIcons));n=s.a.arrayMove(n,t,t+1),o.props.setAttributes({selectedIcons:n,activeIconIndex:t+1})},o.getRelAttr=function(){var e=[];return o.props.attributes.nofollow&&e.push("nofollow"),o.props.attributes.noreferrer&&e.push("noreferrer"),o.props.attributes.noopener&&e.push("noopener"),o.props.attributes.openLinkInNewTab&&(e=["noopener","noreferrer"]),e},o}return a(t,e),I(t,[{key:"getStyleVariations",value:function(e){var t={"with-label-canvas-rounded":{canvasType:"with-label-canvas",showIconsLabel:!0,iconsColor:"#2f4974",iconsLabelColor:"#fff",iconsHoverColor:"#2f4974",iconsLabelHoverColor:"#fff",iconsFontSize:20,iconsLabelFontSize:15,iconsPaddingHorizontal:5,iconsPaddingVertical:5,iconsMarginHorizontal:5,iconsMarginVertical:5,iconsHasBorder:!0,iconsBorderRadius:50,wasStyled:!0,defaultIcon:{icon:"facebook",color:"#2f4974",hoverColor:"#2f4974"}},"with-canvas-rounded":{canvasType:"with-canvas",showIconsLabel:!1,iconsColor:!1,iconsLabelColor:"#2e3131",iconsHoverColor:!1,iconsLabelHoverColor:"#2e3131",iconsFontSize:20,iconsLabelFontSize:20,iconsPaddingHorizontal:10,iconsPaddingVertical:10,iconsMarginHorizontal:5,iconsMarginVertical:5,iconsHasBorder:!0,iconsBorderRadius:10,wasStyled:!0,defaultIcon:{icon:"facebook",color:"#3b5998",hoverColor:"#3b5998"},selectedIcons:[{icon:"facebook",color:"#3b5998",hoverColor:"#3b5998"},{icon:"twitter",color:"#1da1f2",hoverColor:"#1da1f2"},{icon:"instagram",color:"#E44060",hoverColor:"#E44060"}]},"with-canvas-round":{canvasType:"with-canvas",showIconsLabel:!1,iconsColor:!1,iconsLabelColor:"#2e3131",iconsHoverColor:!1,iconsLabelHoverColor:"#2e3131",iconsFontSize:20,iconsLabelFontSize:20,iconsPaddingHorizontal:10,iconsPaddingVertical:10,iconsMarginHorizontal:5,iconsMarginVertical:5,iconsHasBorder:!0,iconsBorderRadius:50,wasStyled:!0,defaultIcon:{icon:"facebook",color:"#3b5998",hoverColor:"#3b5998"},selectedIcons:[{icon:"facebook",color:"#3b5998",hoverColor:"#3b5998"},{icon:"twitter",color:"#1da1f2",hoverColor:"#1da1f2"},{icon:"instagram",color:"#E44060",hoverColor:"#E44060"}]},"with-canvas-squared":{canvasType:"with-canvas",showIconsLabel:!1,iconsColor:!1,iconsLabelColor:"#2e3131",iconsHoverColor:!1,iconsLabelHoverColor:"#2e3131",iconsFontSize:20,iconsLabelFontSize:20,iconsPaddingHorizontal:10,iconsPaddingVertical:10,iconsMarginHorizontal:5,iconsMarginVertical:5,iconsBorderRadius:0,iconsHasBorder:!0,wasStyled:!0,defaultIcon:{icon:"facebook",color:"#3b5998",hoverColor:"#3b5998"},selectedIcons:[{icon:"facebook",color:"#3b5998",hoverColor:"#3b5998"},{icon:"twitter",color:"#1da1f2",hoverColor:"#1da1f2"},{icon:"instagram",color:"#E44060",hoverColor:"#E44060"}]},"without-canvas":{canvasType:"without-canvas",showIconsLabel:!1,iconsColor:!1,iconsLabelColor:"#2e3131",iconsHoverColor:!1,iconsLabelHoverColor:"#2e3131",iconsFontSize:20,iconsLabelFontSize:20,iconsPaddingHorizontal:10,iconsPaddingVertical:10,iconsMarginHorizontal:5,iconsMarginVertical:5,iconsHasBorder:!1,wasStyled:!0,defaultIcon:{icon:"facebook",color:"#3b5998",hoverColor:"#3b5998"},selectedIcons:[{icon:"facebook",color:"#3b5998",hoverColor:"#3b5998"},{icon:"twitter",color:"#1da1f2",hoverColor:"#1da1f2"},{icon:"instagram",color:"#E44060",hoverColor:"#E44060"}]},"without-canvas-with-border":{canvasType:"without-canvas",showIconsLabel:!1,iconsColor:"#2f4974",iconsLabelColor:"#2f4974",iconsHoverColor:"#2f4974",iconsLabelHoverColor:"#2f4974",iconsFontSize:20,iconsLabelFontSize:20,iconsPaddingHorizontal:10,iconsPaddingVertical:10,iconsMarginHorizontal:5,iconsMarginVertical:5,iconsHasBorder:!0,iconsBorderRadius:0,wasStyled:!0,defaultIcon:{icon:"facebook",color:"#2f4974",hoverColor:"#2f4974"}},"without-canvas-with-label":{canvasType:"without-canvas",showIconsLabel:!0,iconsColor:"#2f4974",iconsLabelColor:"#2f4974",iconsHoverColor:"#2f4974",iconsLabelHoverColor:"#2f4974",iconsFontSize:40,iconsLabelFontSize:15,iconsPaddingHorizontal:10,iconsPaddingVertical:10,iconsMarginHorizontal:0,iconsMarginVertical:0,iconsHasBorder:!1,wasStyled:!0,defaultIcon:{icon:"facebook",color:"#2f4974",hoverColor:"#2f4974"}}};return Object(m.get)(t,e,!1)?Object(m.get)(t,e,!1):Object(m.get)(t,this.getActiveStyle())}},{key:"getActiveStyle",value:function(){return s.a.getActiveStyle(Object(w.select)("core/blocks").getBlockStyles(this.props.name),this.props.className).name}},{key:"componentDidUpdate",value:function(e,t){if(s.a.getBlockStyle(e.className)!=s.a.getBlockStyle(this.props.className)){var o=this.getStyleVariations(this.getActiveStyle());if(!Object(m.isEmpty)(o)){this.props.setAttributes(Object(m.omit)(o,["selectedIcons"]));var n=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons));Object(m.isEmpty)(o.selectedIcons)||(n.map(function(e,t){var n=Object(m.find)(o.selectedIcons,["icon",e.icon]);return e.color=Object(m.isEmpty)(n)?o.defaultIcon.color:n.color,e.hoverColor=Object(m.isEmpty)(n)?o.defaultIcon.hoverColor:n.hoverColor,e}),this.props.setAttributes({selectedIcons:n})),Object(m.isEmpty)(o.iconsColor)||n.map(function(e,t){return e.color=o.iconsColor,e}),Object(m.isEmpty)(o.iconsHoverColor)||n.map(function(e,t){return e.hoverColor=o.iconsHoverColor,e}),this.props.setAttributes({selectedIcons:n})}}}},{key:"componentDidMount",value:function(){var e=this.getStyleVariations(this.getActiveStyle());if(!0!==this.props.attributes.wasStyled&&!Object(m.isEmpty)(e)){e.wasStyled=!0,this.props.setAttributes(Object(m.omit)(e,["selectedIcons"]));var t=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons));Object(m.isEmpty)(e.selectedIcons)||t.map(function(t,o){var n=Object(m.find)(e.selectedIcons,["icon",t.icon]);return t.color=Object(m.isEmpty)(n)?e.defaultIcon.color:n.color,t.hoverColor=Object(m.isEmpty)(n)?e.defaultIcon.hoverColor:n.hoverColor,t}),Object(m.isEmpty)(e.iconsColor)||t.map(function(t,o){return t.color=e.iconsColor,t}),Object(m.isEmpty)(e.iconsHoverColor)||t.map(function(t,o){return t.hoverColor=e.iconsHoverColor,t}),this.props.setAttributes({selectedIcons:t})}}},{key:"render",value:function(){var e=this,t=this.props,o=t.attributes,r=t.setAttributes,i=t.isSelected,a=this.props.className;null==s.a.getBlockStyle(a)&&(a=c()(a,"is-style-with-canvas-round"));var l=o.selectedIcons.map(function(t,a){var l=o.showIconsLabel?wp.element.createElement("span",{className:c()("icon-label")},t.label):"",u=e.getRelAttr();return wp.element.createElement(y.Fragment,{key:a},wp.element.createElement("a",{onClick:function(o){return e.onClickIconHandler(o,a,t)},href:t.url,className:c()("social-icon-link",{selected:t.isActive}),target:o.openLinkInNewTab?"_blank":void 0,rel:u.length?u.join(" "):void 0,style:{"--wpz-social-icons-block-item-color":t.color,"--wpz-social-icons-block-item-color-hover":t.hoverColor}},wp.element.createElement("span",{className:c()(s.a.getIconClassList(t.iconKit,t.icon))}),l,t.showPopover&&i&&wp.element.createElement(A.Popover,{className:c()("wpzoom-social-icons-popover"),key:a,position:"bottom center",onClose:function(){return e.popoverCloseHandler(a)}},wp.element.createElement("div",{className:c()("popover-content")},wp.element.createElement("div",{className:c()("popover-url-wrapper")},wp.element.createElement(h.a,{key:a,value:t.url,save:function(t,o){return e.popoverSearchHandler(a,o,t)}})),wp.element.createElement("div",{className:c()("popover-controls")},wp.element.createElement(A.Button,{isLink:!0,onClick:function(t){return e.popoverEditSettingsHandler(t,a)}},Object(b.__)("Edit Details","zoom-social-icons-widget")),wp.element.createElement("div",{className:c()("popover-color-picker-wrapper")},wp.element.createElement(f.a,{title:"Color",className:c()("popover-color-picker"),save:function(e){var t=[].concat(n(o.selectedIcons));t[o.activeIconIndex].color=e.color,r({selectedIcons:t})},color:t.color}),wp.element.createElement(f.a,{title:"Hover Color",className:c()("popover-color-picker"),save:function(e){var t=[].concat(n(o.selectedIcons));t[o.activeIconIndex].hoverColor=e.color,r({selectedIcons:t})},color:t.hoverColor}),o.selectedIcons.length>1&&wp.element.createElement(A.Button,{onClick:function(t){return e.popoverDeleteIconHandler(t,a)},className:["is-button","button-link-delete","is-small"]},Object(b.__)("Delete Icon","zoom-social-icons-widget"))))))),wp.element.createElement(d.a,{left:e.moveLeftHandler,right:e.moveRightHandler,length:o.selectedIcons.length,isActive:t.isActive&&i,itemKey:a}))});return wp.element.createElement(y.Fragment,null,wp.element.createElement(p.a,this.props),wp.element.createElement(k.BlockControls,null,wp.element.createElement(k.AlignmentToolbar,{value:o.iconsAlignment,onChange:function(t){return e.setAlignment(t)}})),wp.element.createElement("div",{className:a,style:{"--wpz-social-icons-block-item-font-size":s.a.addPixelsPipe(o.iconsFontSize),"--wpz-social-icons-block-item-padding-horizontal":s.a.addPixelsPipe(o.iconsPaddingHorizontal),"--wpz-social-icons-block-item-padding-vertical":s.a.addPixelsPipe(o.iconsPaddingVertical),"--wpz-social-icons-block-item-margin-horizontal":s.a.addPixelsPipe(o.iconsMarginHorizontal),"--wpz-social-icons-block-item-margin-vertical":s.a.addPixelsPipe(o.iconsMarginVertical),"--wpz-social-icons-block-item-border-radius":s.a.addPixelsPipe(o.iconsBorderRadius),"--wpz-social-icons-block-label-font-size":s.a.addPixelsPipe(o.iconsLabelFontSize),"--wpz-social-icons-block-label-color":o.iconsLabelColor,"--wpz-social-icons-block-label-color-hover":o.iconsLabelHoverColor,"--wpz-social-icons-alignment":this.getIconsAlignmentStyle(o.iconsAlignment)}},l,i&&wp.element.createElement(A.Button,{type:"button",onClick:this.insertIcon,style:{padding:o.iconsPadding},className:"insert-icon"},wp.element.createElement(A.Icon,{icon:"insert",size:"20"})),wp.element.createElement(u.a,{className:c()(s.a.getBlockStyle(a)),showIconsLabel:o.showIconsLabel,iconsBorderRadius:o.iconsBorderRadius,show:o.showModal,url:o.selectedIcons[o.activeIconIndex].url,label:o.selectedIcons[o.activeIconIndex].label,icon:o.selectedIcons[o.activeIconIndex].icon,iconKit:o.selectedIcons[o.activeIconIndex].iconKit,color:o.selectedIcons[o.activeIconIndex].color,hoverColor:o.selectedIcons[o.activeIconIndex].hoverColor,save:this.saveModalHandler,delete:this.deleteIconHandler,showDeleteBtn:o.selectedIcons.length>1,onClose:this.closeModal})))}}]),t}(y.Component);t.a=C},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||Function("return this")()||(0,eval)("this")}catch(e){"object"===typeof window&&(o=window)}e.exports=o},function(e,t,o){"use strict";o.d(t,"a",function(){return l});var n=o(22),r=o.n(n),i=o(24),a=o(25),s=o(5),l=(o.n(s),function(){function e(){var t=this,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";Object(i.a)(this,e),this.value=o,["entries","forEach","keys","values"].forEach(function(e){t[e]=function(){var o;return(o=t._valueAsArray)[e].apply(o,arguments)}})}return Object(a.a)(e,[{key:"toString",value:function(){return this.value}},{key:Symbol.iterator,value:r.a.mark(function e(){return r.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.delegateYield(this._valueAsArray,"t0",1);case 1:return e.abrupt("return",e.t0);case 2:case"end":return e.stop()}},e,this)})},{key:"item",value:function(e){return this._valueAsArray[e]}},{key:"contains",value:function(e){return-1!==this._valueAsArray.indexOf(e)}},{key:"add",value:function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];this.value+=" "+t.join(" ")}},{key:"remove",value:function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];this.value=s.without.apply(void 0,[this._valueAsArray].concat(t)).join(" ")}},{key:"toggle",value:function(e,t){return void 0===t&&(t=!this.contains(e)),t?this.add(e):this.remove(e),t}},{key:"replace",value:function(e,t){return!!this.contains(e)&&(this.remove(e),this.add(t),!0)}},{key:"supports",value:function(){return!0}},{key:"value",get:function(){return this._currentValue},set:function(e){e=String(e),this._valueAsArray=Object(s.uniq)(Object(s.compact)(e.split(/\s+/g))),this._currentValue=this._valueAsArray.join(" ")}},{key:"length",get:function(){return this._valueAsArray.length}}]),e}())},function(e,t,o){e.exports=o(23)},function(e,t,o){var n=function(e){"use strict";function t(e,t,o,r){var i=t&&t.prototype instanceof n?t:n,a=Object.create(i.prototype),s=new h(r||[]);return a._invoke=l(e,o,s),a}function o(e,t,o){try{return{type:"normal",arg:e.call(t,o)}}catch(e){return{type:"throw",arg:e}}}function n(){}function r(){}function i(){}function a(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function s(e){function t(n,r,i,a){var s=o(e[n],e,r);if("throw"!==s.type){var l=s.arg,c=l.value;return c&&"object"===typeof c&&v.call(c,"__await")?Promise.resolve(c.__await).then(function(e){t("next",e,i,a)},function(e){t("throw",e,i,a)}):Promise.resolve(c).then(function(e){l.value=e,i(l)},function(e){return t("throw",e,i,a)})}a(s.arg)}function n(e,o){function n(){return new Promise(function(n,r){t(e,o,n,r)})}return r=r?r.then(n,n):n()}var r;this._invoke=n}function l(e,t,n){var r=k;return function(i,a){if(r===C)throw new Error("Generator is already running");if(r===E){if("throw"===i)throw a;return m()}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=c(s,n);if(l){if(l===z)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===k)throw r=E,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=C;var u=o(e,t,n);if("normal"===u.type){if(r=n.done?E:I,u.arg===z)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=E,n.method="throw",n.arg=u.arg)}}}function c(e,t){var n=e.iterator[t.method];if(n===f){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=f,c(e,t),"throw"===t.method))return z;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return z}var r=o(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,z;var i=r.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=f),t.delegate=null,z):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,z)}function u(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function p(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function h(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(u,this),this.reset(!0)}function d(e){if(e){var t=e[y];if(t)return t.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var o=-1,n=function t(){for(;++o<e.length;)if(v.call(e,o))return t.value=e[o],t.done=!1,t;return t.value=f,t.done=!0,t};return n.next=n}}return{next:m}}function m(){return{value:f,done:!0}}var f,g=Object.prototype,v=g.hasOwnProperty,b="function"===typeof Symbol?Symbol:{},y=b.iterator||"@@iterator",w=b.asyncIterator||"@@asyncIterator",A=b.toStringTag||"@@toStringTag";e.wrap=t;var k="suspendedStart",I="suspendedYield",C="executing",E="completed",z={},x={};x[y]=function(){return this};var _=Object.getPrototypeOf,O=_&&_(_(d([])));O&&O!==g&&v.call(O,y)&&(x=O);var S=i.prototype=n.prototype=Object.create(x);return r.prototype=S.constructor=i,i.constructor=r,i[A]=r.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===r||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,i):(e.__proto__=i,A in e||(e[A]="GeneratorFunction")),e.prototype=Object.create(S),e},e.awrap=function(e){return{__await:e}},a(s.prototype),s.prototype[w]=function(){return this},e.AsyncIterator=s,e.async=function(o,n,r,i){var a=new s(t(o,n,r,i));return e.isGeneratorFunction(n)?a:a.next().then(function(e){return e.done?e.value:a.next()})},a(S),S[A]="Generator",S[y]=function(){return this},S.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var o in e)t.push(o);return t.reverse(),function o(){for(;t.length;){var n=t.pop();if(n in e)return o.value=n,o.done=!1,o}return o.done=!0,o}},e.values=d,h.prototype={constructor:h,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=f,this.done=!1,this.delegate=null,this.method="next",this.arg=f,this.tryEntries.forEach(p),!e)for(var t in this)"t"===t.charAt(0)&&v.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=f)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){function t(t,n){return i.type="throw",i.arg=e,o.next=t,n&&(o.method="next",o.arg=f),!!n}if(this.done)throw e;for(var o=this,n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n],i=r.completion;if("root"===r.tryLoc)return t("end");if(r.tryLoc<=this.prev){var a=v.call(r,"catchLoc"),s=v.call(r,"finallyLoc");if(a&&s){if(this.prev<r.catchLoc)return t(r.catchLoc,!0);if(this.prev<r.finallyLoc)return t(r.finallyLoc)}else if(a){if(this.prev<r.catchLoc)return t(r.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<r.finallyLoc)return t(r.finallyLoc)}}}},abrupt:function(e,t){for(var o=this.tryEntries.length-1;o>=0;--o){var n=this.tryEntries[o];if(n.tryLoc<=this.prev&&v.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var r=n;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc&&(r=null);var i=r?r.completion:{};return i.type=e,i.arg=t,r?(this.method="next",this.next=r.finallyLoc,z):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),z},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var o=this.tryEntries[t];if(o.finallyLoc===e)return this.complete(o.completion,o.afterLoc),p(o),z}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var o=this.tryEntries[t];if(o.tryLoc===e){var n=o.completion;if("throw"===n.type){var r=n.arg;p(o)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,o){return this.delegate={iterator:d(e),resultName:t,nextLoc:o},"next"===this.method&&(this.arg=f),z}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}},function(e,t,o){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.a=n},function(e,t,o){"use strict";function n(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function r(e,t,o){return t&&n(e.prototype,t),o&&n(e,o),e}t.a=r},function(e,t,o){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=o(10),s=o(27),l=o(2),c=o(28),u=o.n(c),p=o(3),h=o.n(p),d=o(5),m=(o.n(d),o(4)),f=(o.n(m),o(0)),g=(o.n(f),o(1)),v=(o.n(g),o(6)),b=o.n(v),y=function(){function e(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,o,n){return o&&e(t.prototype,o),n&&e(t,n),t}}(),w=wpzSocialIconsBlock,A=w.iconKitsCategories;console.log(A);var k=function(e){function t(e){n(this,t);var o=r(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return o.state={modalShow:o.props.show,modalUrl:o.props.url,modalLabel:o.props.label,modalIcon:o.props.icon,modalIconKit:o.props.iconKit,modalColor:o.props.color,modalHoverColor:o.props.hoverColor,modalSearch:""},o.urlTextControlHandler=function(e){e=Object(d.isEmpty)(new b.a(e).protocol())?"https://"+e:e;var t={modalUrl:e},n=l.a.filterUrlScheme(e);if(n){var r=l.a.filterIcons(n);r[o.state.modalIconKit].length&&(t.modalIcon=r[o.state.modalIconKit][0].icon)}o.setState(t)},o.labelTextControlHandler=function(e){o.setState({modalLabel:e})},o.searchTextControlHandler=function(e){o.setState({modalSearch:e})},o.saveColorPickerHandler=function(e){o.setState({modalColor:e.color})},o.saveHoverColorPickerHandler=function(e){o.setState({modalHoverColor:e.color})},o.onClickIconHandler=function(e){o.setState({modalIcon:e,modalLabel:l.a.humanizeIconLabel(e)})},o.scrollMe=function(){var e=o.myRef.current;null!=e&&e.scrollIntoView(!0)},o.myRef=u.a.createRef(),o.scrollMeDebounced=Object(d.debounce)(o.scrollMe,1e3),o}return i(t,e),y(t,[{key:"componentDidUpdate",value:function(){this.scrollMeDebounced()}},{key:"render",value:function(){var e=this;if(!this.state.modalShow)return null;var t=Object.keys(l.a.filterIcons(this.state.modalSearch)).map(function(t,o){return wp.element.createElement("div",{key:o,className:h()("option-item","icon-kit",t+"-wrapper"),style:{display:e.state.modalIconKit===t?"block":"none"}},l.a.filterIcons(e.state.modalSearch)[t].map(function(o,n){return wp.element.createElement(s.a,{key:n,setRef:e.state.modalIcon===o.icon&&e.state.modalIconKit===t?e.myRef:null,color:e.state.modalColor,hoverColor:e.state.modalHoverColor,icon:o.icon,click:e.onClickIconHandler,isSelected:e.state.modalIcon==o.icon,iconKit:t})}))});return wp.element.createElement(g.Modal,{className:h()("wpzoom-social-icons-modal",this.props.className),style:{"--wpz-social-icons-block-modal-item-border-radius":l.a.addPixelsPipe(this.props.iconsBorderRadius)},title:Object(m.__)("Select Icon","zoom-social-icons-widget"),shouldCloseOnClickOutside:!1,onRequestClose:function(){return e.props.onClose(e.state)}},wp.element.createElement("div",{className:"modal-content"},wp.element.createElement("div",{className:"option-item"},wp.element.createElement("div",{className:"label"},Object(m.__)("URL","zoom-social-icons-widget")),wp.element.createElement("div",{className:"option-wrapper"},wp.element.createElement(g.TextControl,{value:this.state.modalUrl,onChange:this.urlTextControlHandler}))),this.props.showIconsLabel?wp.element.createElement("div",{className:"option-item"},wp.element.createElement("div",{className:"label"},Object(m.__)("Label","zoom-social-icons-widget")),wp.element.createElement("div",{className:"option-wrapper"},wp.element.createElement(g.TextControl,{value:this.state.modalLabel,onChange:this.labelTextControlHandler}))):null,wp.element.createElement("div",{className:"option-item"},wp.element.createElement("div",{className:"label"},Object(m.__)("Pick icon color","zoom-social-icons-widget")),wp.element.createElement("div",{className:"option-wrapper"},wp.element.createElement(a.a,{save:this.saveColorPickerHandler,color:this.state.modalColor}))),wp.element.createElement("div",{className:"option-item"},wp.element.createElement("div",{className:"label"},Object(m.__)("Pick hover color","zoom-social-icons-widget")),wp.element.createElement("div",{className:"option-wrapper"},wp.element.createElement(a.a,{save:this.saveHoverColorPickerHandler,color:this.state.modalHoverColor}))),wp.element.createElement("div",{className:"option-item"},wp.element.createElement("div",{className:"label"},Object(m.__)("Select Icon Kit","zoom-social-icons-widget")),wp.element.createElement("div",{className:"option-wrapper"},wp.element.createElement(g.SelectControl,{value:this.state.modalIconKit,onChange:function(t){e.setState({modalIconKit:t})},options:Object.values(A)}))),wp.element.createElement("div",{className:"option-item icon-kits-wrapper"},t)),wp.element.createElement("div",{className:"modal-controls"},wp.element.createElement("div",{className:"modal-search"},wp.element.createElement(g.TextControl,{placeholder:Object(m.__)("Type to search icon","zoom-social-icons-widget"),value:this.state.modalSearch,onChange:this.searchTextControlHandler})),wp.element.createElement("div",{className:"modal-buttons"},this.props.showDeleteBtn&&wp.element.createElement(g.Button,{className:"button-link-delete is-button",onClick:function(){return e.props.delete()}},Object(m.__)("Delete Icon","zoom-social-icons-widget")),wp.element.createElement(g.Button,{isPrimary:!0,onClick:function(){return e.props.save(e.state)}},Object(m.__)("Save","zoom-social-icons-widget")))))}}],[{key:"getDerivedStateFromProps",value:function(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}}]),t}(f.Component);t.a=k},function(e,t,o){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=o(0),s=(o.n(a),o(3)),l=o.n(s),c=o(2),u=function(){function e(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,o,n){return o&&e(t.prototype,o),n&&e(t,n),t}}(),p=function(e){function t(){var e,o,i,a;n(this,t);for(var s=arguments.length,l=Array(s),c=0;c<s;c++)l[c]=arguments[c];return o=i=r(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),i.state={isHover:!1},i.onMouseEnterCallback=function(){i.setState({isHover:!0})},i.onMouseLeaveCallback=function(){i.setState({isHover:!1})},a=o,r(i,a)}return i(t,e),u(t,[{key:"render",value:function(){var e=this;return wp.element.createElement("span",{ref:this.props.setRef,onClick:function(){return e.props.click(e.props.icon)},className:l()(c.a.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})}}]),t}(a.Component);t.a=p},function(e,t){e.exports=React},function(e,t,o){"use strict";function n(e){if(Array.isArray(e)){for(var t=0,o=Array(e.length);t<e.length;t++)o[t]=e[t];return o}return Array.from(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function a(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=o(2),l=o(4),c=(o.n(l),o(0)),u=(o.n(c),o(11)),p=(o.n(u),o(1)),h=(o.n(p),function(){function e(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,o,n){return o&&e(t.prototype,o),n&&e(t,n),t}}()),d=function(e){function t(e){r(this,t);var o=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return o.state={selectedIcons:JSON.parse(JSON.stringify(o.props.attributes.selectedIcons))},o.setAlignment=function(e){o.props.setAttributes({iconsAlignment:e})},o}return a(t,e),h(t,[{key:"getBlockStyle",value:function(e){var t=s.a.getBlockStyle(e);return null===t?"with-canvas-round":t}},{key:"render",value:function(){var e=this,t=[{name:Object(l.__)("Turquoise","zoom-social-icons-widget"),color:"#4ECDC4"},{name:Object(l.__)("Charcoal","zoom-social-icons-widget"),color:"#2E3131"},{name:Object(l.__)("White","zoom-social-icons-widget"),color:"#fff"},{name:Object(l.__)("Dodger blue","zoom-social-icons-widget"),color:"#22A7F0"},{name:Object(l.__)("Red","zoom-social-icons-widget"),color:"#D91E18"},{name:Object(l.__)("Orange","zoom-social-icons-widget"),color:"#F89406"}],o=this.props.setAttributes,r="left"===this.props.attributes.iconsAlignment,i="center"===this.props.attributes.iconsAlignment,a="right"===this.props.attributes.iconsAlignment;return wp.element.createElement(u.InspectorControls,null,wp.element.createElement(p.PanelBody,{title:Object(l.__)("Icon Labels Settings","zoom-social-icons-widget")},wp.element.createElement(p.PanelRow,null,wp.element.createElement("label",{htmlFor:"show-icon-labels"},Object(l.__)(" Show icon labels?","zoom-social-icons-widget")),wp.element.createElement(p.FormToggle,{id:"show-icon-labels",label:Object(l.__)(" Show icon labels?","zoom-social-icons-widget"),checked:this.props.attributes.showIconsLabel,onChange:function(){o({showIconsLabel:!e.props.attributes.showIconsLabel})}})),wp.element.createElement(p.PanelRow,null,wp.element.createElement("label",{htmlFor:"open-link-in-new-tab"},Object(l.__)("Open links in new tab?","zoom-social-icons-widget")),wp.element.createElement(p.FormToggle,{id:"open-link-in-new-tab",label:Object(l.__)("Open links in new tab?","zoom-social-icons-widget"),checked:this.props.attributes.openLinkInNewTab,onChange:function(){o({openLinkInNewTab:!e.props.attributes.openLinkInNewTab})}})),!this.props.attributes.openLinkInNewTab&&wp.element.createElement(c.Fragment,null,wp.element.createElement(p.PanelRow,null,wp.element.createElement("label",{htmlFor:"add-nofollow-to-links"},Object(l.__)('Add rel="nofollow" to links',"zoom-social-icons-widget")),wp.element.createElement(p.FormToggle,{id:"add-nofollow-to-links",label:Object(l.__)('Add rel="nofollow" to links',"zoom-social-icons-widget"),checked:this.props.attributes.nofollow,onChange:function(){o({nofollow:!e.props.attributes.nofollow})}})),wp.element.createElement(p.PanelRow,null,wp.element.createElement("label",{htmlFor:"add-noreferrer-to-links"},Object(l.__)('Add rel="noreferrer" to links',"zoom-social-icons-widget")),wp.element.createElement(p.FormToggle,{id:"add-noreferrer-to-links",label:Object(l.__)('Add rel="noreferrer" to links',"zoom-social-icons-widget"),checked:this.props.attributes.noreferrer,onChange:function(){o({noreferrer:!e.props.attributes.noreferrer})}})),wp.element.createElement(p.PanelRow,null,wp.element.createElement("label",{htmlFor:"add-noopener-to-links"},Object(l.__)('Add rel="noopener" to links',"zoom-social-icons-widget")),wp.element.createElement(p.FormToggle,{id:"add-noopener-to-links",label:Object(l.__)('Add rel="noopener" to links',"zoom-social-icons-widget"),checked:this.props.attributes.noopener,onChange:function(){o({noopener:!e.props.attributes.noopener})}})))),wp.element.createElement(p.PanelBody,{title:Object(l.__)("Icon Styling Settings","zoom-social-icons-widget")},this.props.attributes.iconsHasBorder?wp.element.createElement(c.Fragment,null,wp.element.createElement(p.PanelRow,null,wp.element.createElement("label",{htmlFor:"icons-border-radius"},Object(l.__)("Icons Border Radius:","zoom-social-icons-widget"))),wp.element.createElement(p.PanelRow,null,wp.element.createElement(p.RangeControl,{id:"icons-border-radius",min:0,max:55,value:this.props.attributes.iconsBorderRadius,onChange:function(e){o({iconsBorderRadius:e})}}))):null,wp.element.createElement(p.PanelRow,null,wp.element.createElement("label",{htmlFor:"add-noopener-to-links"},Object(l.__)("Icons Alignment:","zoom-social-icons-widget"))),wp.element.createElement(p.PanelRow,null,wp.element.createElement(p.ButtonGroup,null,wp.element.createElement(p.Button,{onClick:function(){return e.setAlignment("left")},isPrimary:r,isSecondary:!r},"Left"),wp.element.createElement(p.Button,{onClick:function(){return e.setAlignment("center")},isPrimary:i,isSecondary:!i},"Center"),wp.element.createElement(p.Button,{onClick:function(){return e.setAlignment("right")},isPrimary:a,isSecondary:!a},"Right"))),wp.element.createElement(p.PanelRow,null,wp.element.createElement("label",{htmlFor:"icons-font-size"},Object(l.__)("Icons Font Size:","zoom-social-icons-widget"))),wp.element.createElement(p.PanelRow,null,wp.element.createElement(p.RangeControl,{id:"icons-font-size",min:0,max:200,value:this.props.attributes.iconsFontSize,onChange:function(e){o({iconsFontSize:e})}})),this.props.attributes.showIconsLabel?wp.element.createElement(c.Fragment,null,wp.element.createElement(p.PanelRow,null,wp.element.createElement("label",{htmlFor:"icons-label-font-size"},Object(l.__)("Icons Label Font Size:","zoom-social-icons-widget"))),wp.element.createElement(p.PanelRow,null,wp.element.createElement(p.RangeControl,{id:"icons-label-font-size",min:0,max:200,value:this.props.attributes.iconsLabelFontSize,onChange:function(e){o({iconsLabelFontSize:e})}}))):null,wp.element.createElement(p.PanelRow,null,wp.element.createElement("label",{htmlFor:"icons-padding"},Object(l.__)("Icons Padding Horizontal:","zoom-social-icons-widget"))),wp.element.createElement(p.PanelRow,null,wp.element.createElement(p.RangeControl,{id:"icons-padding-horizontal",beforeIcon:"image-flip-horizontal",value:this.props.attributes.iconsPaddingHorizontal,onChange:function(e){return o({iconsPaddingHorizontal:e})},min:0,max:200})),wp.element.createElement(p.PanelRow,null,wp.element.createElement("label",{htmlFor:"icons-padding"},Object(l.__)("Icons Padding Vertical:","zoom-social-icons-widget"))),wp.element.createElement(p.PanelRow,null,wp.element.createElement(p.RangeControl,{id:"icons-padding-vertical",beforeIcon:"image-flip-vertical",value:this.props.attributes.iconsPaddingVertical,onChange:function(e){return o({iconsPaddingVertical:e})},min:0,max:200})),wp.element.createElement(p.PanelRow,null,wp.element.createElement("label",{htmlFor:"icons-margin-horizontal"},Object(l.__)("Icons Margin Horizontal:","zoom-social-icons-widget"))),wp.element.createElement(p.PanelRow,null,wp.element.createElement(p.RangeControl,{id:"icons-margin-horizontal",beforeIcon:"image-flip-horizontal",value:this.props.attributes.iconsMarginHorizontal,onChange:function(e){return o({iconsMarginHorizontal:e})},min:0,max:200})),wp.element.createElement(p.PanelRow,null,wp.element.createElement("label",{htmlFor:"icons-margin-vertical"},Object(l.__)("Icons Margin Vertical:","zoom-social-icons-widget"))),wp.element.createElement(p.PanelRow,null,wp.element.createElement(p.RangeControl,{id:"icons-margin-vertical",beforeIcon:"image-flip-vertical",value:this.props.attributes.iconsMarginVertical,onChange:function(e){return o({iconsMarginVertical:e})},min:0,max:200}))),wp.element.createElement(p.PanelBody,{title:Object(l.__)("Icon Color Settings","zoom-social-icons-widget")},wp.element.createElement(p.PanelRow,null,wp.element.createElement("label",{htmlFor:"icon-color"},Object(l.__)("Set color for all icons","zoom-social-icons-widget")),wp.element.createElement(p.ColorIndicator,{colorValue:this.props.attributes.iconsColor})),wp.element.createElement(p.PanelRow,null,wp.element.createElement(p.ColorPalette,{id:"icon-color",colors:t,value:this.props.attributes.iconsColor,onChange:function(t){var n=JSON.parse(JSON.stringify(e.props.attributes.selectedIcons));n.map(function(o,n){return o.color=void 0===t?e.state.selectedIcons[n].color:t,o}),o({iconsColor:t,selectedIcons:n})}})),wp.element.createElement(p.PanelRow,null,wp.element.createElement("label",{htmlFor:"icon-hover-color"},Object(l.__)("Set hover color for all icons","zoom-social-icons-widget")),wp.element.createElement(p.ColorIndicator,{colorValue:this.props.attributes.iconsHoverColor})),wp.element.createElement(p.PanelRow,null,wp.element.createElement(p.ColorPalette,{id:"icon-hover-color",colors:t,value:this.props.attributes.iconsHoverColor,onChange:function(t){var r=[].concat(n(e.props.attributes.selectedIcons));r.map(function(o,n){return o.hoverColor=void 0===t?e.state.selectedIcons[n].hoverColor:t,o}),o({iconsHoverColor:t,selectedIcons:r})}})),this.props.attributes.showIconsLabel?wp.element.createElement(c.Fragment,null,wp.element.createElement(p.PanelRow,null,wp.element.createElement("label",{htmlFor:"icon-label-color"},Object(l.__)("Set color for all label icons","zoom-social-icons-widget")),wp.element.createElement(p.ColorIndicator,{colorValue:this.props.attributes.iconsLabelColor})),wp.element.createElement(p.PanelRow,null,wp.element.createElement(p.ColorPalette,{id:"icon-label-color",colors:t,value:this.props.attributes.iconsLabelColor,onChange:function(e){o({iconsLabelColor:e})}})),wp.element.createElement(p.PanelRow,null,wp.element.createElement("label",{htmlFor:"icon-hover-label-color"},Object(l.__)("Set hover color for all label icons","zoom-social-icons-widget")),wp.element.createElement(p.ColorIndicator,{colorValue:this.props.attributes.iconsLabelHoverColor})),wp.element.createElement(p.PanelRow,null,wp.element.createElement(p.ColorPalette,{id:"icon-hover-label-color",colors:t,value:this.props.attributes.iconsLabelHoverColor,onChange:function(e){o({iconsLabelHoverColor:e})}}))):null))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return t.selectedIcons.length!==e.attributes.selectedIcons.length?{selectedIcons:JSON.parse(JSON.stringify(e.attributes.selectedIcons))}:null}}]),t}(c.Component);t.a=d},function(e,t,o){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=o(0),s=(o.n(a),o(1)),l=(o.n(s),o(4)),c=(o.n(l),function(){function e(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,o,n){return o&&e(t.prototype,o),n&&e(t,n),t}}()),u=function(e){function t(){var e,o,i,a;n(this,t);for(var s=arguments.length,l=Array(s),c=0;c<s;c++)l[c]=arguments[c];return o=i=r(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),i.state={searchValue:i.props.value},i.onChangeTextControlHandler=function(e){i.setState({searchValue:e})},i.onKeyDownHandler=function(e){e.stopPropagation(),"Enter"===e.key&&i.props.save(e,i.state.searchValue)},i.onClickHandler=function(e){e.stopPropagation(),i.props.save(e,i.state.searchValue)},a=o,r(i,a)}return i(t,e),c(t,[{key:"render",value:function(){return wp.element.createElement(a.Fragment,null,wp.element.createElement(s.TextControl,{className:"url-input",type:"text",value:this.state.searchValue,onChange:this.onChangeTextControlHandler,onKeyDown:this.onKeyDownHandler}),wp.element.createElement(s.Button,{icon:"editor-break",label:Object(l.__)("Apply","zoom-social-icons-widget"),onClick:this.onClickHandler,className:["is-button","button-small","is-default","url-button"]}))}}]),t}(a.Component);t.a=u},function(e,t,o){"use strict";var n=o(3),r=o.n(n),i=o(1),a=(o.n(i),function(e){return e.isActive&&wp.element.createElement(i.ButtonGroup,{className:r()("sortable-arrows")},wp.element.createElement(i.Button,{className:r()("arrow-btn"),isSmall:!0,disabled:0===e.itemKey,onClick:function(t){return e.left(t,e.itemKey)}},wp.element.createElement(i.Icon,{icon:"arrow-left-alt2",label:"Move Left",size:14,className:r()("arrow-icon")})),wp.element.createElement(i.Button,{className:r()("arrow-btn"),isSmall:!0,disabled:e.itemKey===e.length-1,onClick:function(t){return e.right(t,e.itemKey)}},wp.element.createElement(i.Icon,{icon:"arrow-right-alt2",label:"Move Right",size:14,className:r()("arrow-icon")})))});t.a=a},function(e,t){e.exports=wp.data},function(e,t,o){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=o(2),s=o(3),l=o.n(s),c=o(0),u=(o.n(c),function(){function e(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,o,n){return o&&e(t.prototype,o),n&&e(t,n),t}}()),p=function(e){function t(e){n(this,t);var o=r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return o.getIconsAlignmentStyle=function(e){return{left:"flex-start",right:"flex-end",center:"center"}[e]},o.getRelAttr=function(){var e=[];return o.props.attributes.nofollow&&e.push("nofollow"),o.props.attributes.noreferrer&&e.push("noreferrer"),o.props.attributes.noopener&&e.push("noopener"),o.props.attributes.openLinkInNewTab&&(e=["noopener","noreferrer"]),e},o}return i(t,e),u(t,[{key:"render",value:function(){var e=this,t=this.props.attributes,o=t.className;null==a.a.getBlockStyle(o)&&(o=l()(o,"is-style-with-canvas-round"));var n=t.selectedIcons.map(function(o,n){var r=t.showIconsLabel?wp.element.createElement("span",{className:l()("icon-label")},o.label):"",i=e.getRelAttr();return wp.element.createElement("a",{key:n,href:o.url,className:"social-icon-link",target:t.openLinkInNewTab?"_blank":void 0,rel:i.length?i.join(" "):void 0,style:{"--wpz-social-icons-block-item-color":o.color,"--wpz-social-icons-block-item-color-hover":o.hoverColor}},wp.element.createElement("span",{className:l()(a.a.getIconClassList(o.iconKit,o.icon))}),r)});return wp.element.createElement("div",{className:o,style:{"--wpz-social-icons-block-item-font-size":a.a.addPixelsPipe(t.iconsFontSize),"--wpz-social-icons-block-item-padding-horizontal":a.a.addPixelsPipe(t.iconsPaddingHorizontal),"--wpz-social-icons-block-item-padding-vertical":a.a.addPixelsPipe(t.iconsPaddingVertical),"--wpz-social-icons-block-item-margin-horizontal":a.a.addPixelsPipe(t.iconsMarginHorizontal),"--wpz-social-icons-block-item-margin-vertical":a.a.addPixelsPipe(t.iconsMarginVertical),"--wpz-social-icons-block-item-border-radius":a.a.addPixelsPipe(t.iconsBorderRadius),"--wpz-social-icons-block-label-font-size":a.a.addPixelsPipe(t.iconsLabelFontSize),"--wpz-social-icons-block-label-color":t.iconsLabelColor,"--wpz-social-icons-block-label-color-hover":t.iconsLabelHoverColor,"--wpz-social-icons-alignment":this.getIconsAlignmentStyle(t.iconsAlignment)}},n)}}]),t}(c.Component);t.a=p},function(e,t){e.exports=wp.hooks},function(e,t){e.exports=wp.blocks},function(e,t,o){"use strict";t.a=wp.element.createElement("svg",{viewBox:"0 64 1024 1024",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("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"}))}]);
 
block/dist/blocks.editor.build.css DELETED
@@ -1 +0,0 @@
1
- .wp-block.is-selected .wp-block-wpzoom-blocks-social-icons .social-icon-link{outline:none;-webkit-box-shadow:none;box-shadow:none;opacity:0.6}.wp-block.is-selected .wp-block-wpzoom-blocks-social-icons .social-icon-link:hover,.wp-block.is-selected .wp-block-wpzoom-blocks-social-icons .social-icon-link.selected{opacity:1;-webkit-transform:scale(1.05);-ms-transform:scale(1.05);transform:scale(1.05)}.wp-block-wpzoom-blocks-social-icons{margin:0 auto}.wp-block-wpzoom-blocks-social-icons .sortable-arrows{margin:0px 10px}.wp-block-wpzoom-blocks-social-icons .sortable-arrows .arrow-btn{border:1px solid #0e1c2e9e;width:20px;height:20px;padding:0px;color:#0e1c2e9e}.wp-block-wpzoom-blocks-social-icons .sortable-arrows .arrow-btn .arrow-icon{margin:0px auto}.wp-block-wpzoom-blocks-social-icons .insert-icon{padding:10px;height:20px;-ms-flex-item-align:center;align-self:center}.wp-block-wpzoom-blocks-social-icons .insert-icon.components-button:focus:enabled{outline:none;background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.wp-block-wpzoom-blocks-social-icons .social-icon.dashicons,.wp-block-wpzoom-blocks-social-icons .social-icon.genericon{text-decoration:none}.wp-block-wpzoom-blocks-social-icons .sortable-arrows{-ms-flex-item-align:center;align-self:center}.wp-block-wpzoom-blocks-social-icons .sortable-arrows .components-button:disabled{opacity:0.3}.wpzoom-social-icons-popover .popover-content{display:-ms-flexbox;display:flex;padding:5px;-ms-flex-direction:column;flex-direction:column}.wpzoom-social-icons-popover .popover-content .components-button.is-button{padding:0 10px;line-height:2;height:28px;border-radius:3px;white-space:nowrap;border-width:1px;border-style:solid}.wpzoom-social-icons-popover .popover-content .popover-controls{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.wpzoom-social-icons-popover .popover-content .popover-controls button.components-button.button-small{margin-left:5px}.wpzoom-social-icons-popover .popover-content .popover-controls .popover-color-picker{border-radius:50%;width:18px;height:18px;-ms-flex-item-align:center;align-self:center;margin:0px 5px}.wpzoom-social-icons-popover .popover-content .popover-controls .popover-color-picker-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.wpzoom-social-icons-popover .popover-url-wrapper{display:-ms-flexbox;display:flex}.wpzoom-social-icons-popover .popover-url-wrapper .url-input{width:90%}.wpzoom-social-icons-popover .popover-url-wrapper .url-button{height:30px;margin-left:3px;margin-top:1px}.wpzoom-social-icons-modal .social-icon{border-radius:var(--wpz-social-icons-block-modal-item-border-radius)}.wpzoom-social-icons-modal .components-button.is-button{padding:0 10px;line-height:2;height:28px;border-radius:3px;white-space:nowrap;border-width:1px;border-style:solid}.wpzoom-social-icons-modal .modal-content{width:650px;min-height:480px}.wpzoom-social-icons-modal .modal-content .option-item{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;min-height:50px}.wpzoom-social-icons-modal .modal-content .label{font-weight:600;font-size:15px;margin-right:30px;min-width:25%}.wpzoom-social-icons-modal .modal-content .icon-kits-wrapper{padding:10px 0px}.wpzoom-social-icons-modal .modal-content .components-base-control .components-base-control__field{margin-bottom:0px}.wpzoom-social-icons-modal .modal-content .dashicons:hover,.wpzoom-social-icons-modal .modal-content .dashicons.selected,.wpzoom-social-icons-modal .modal-content .socicon:hover,.wpzoom-social-icons-modal .modal-content .socicon.selected,.wpzoom-social-icons-modal .modal-content .genericon.selected,.wpzoom-social-icons-modal .modal-content .genericon:hover,.wpzoom-social-icons-modal .modal-content .academicons.selected,.wpzoom-social-icons-modal .modal-content .academicons:hover,.wpzoom-social-icons-modal .modal-content .fas.selected,.wpzoom-social-icons-modal .modal-content .fas:hover,.wpzoom-social-icons-modal .modal-content .fab.selected,.wpzoom-social-icons-modal .modal-content .fab:hover,.wpzoom-social-icons-modal .modal-content .far.selected,.wpzoom-social-icons-modal .modal-content .far:hover{padding:9px;border-width:1px;border-style:solid;-webkit-box-shadow:2px 2px 5px 0px #000;box-shadow:2px 2px 5px 0px #000}.wpzoom-social-icons-modal .modal-controls{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;border-top:1px solid #e2e4e7;padding:0 16px;margin:0 -24px -16px;height:56px;-ms-flex-align:center;align-items:center}.wpzoom-social-icons-modal .modal-controls .components-base-control .components-base-control__field{margin-bottom:0px}.wpzoom-social-icons-modal .modal-buttons button.components-button+button.components-button{margin-left:10px}.wpzoom-social-icons-modal .icon-kit{-ms-flex-flow:row wrap;flex-flow:row wrap;-webkit-box-sizing:content-box;box-sizing:content-box}.wpzoom-social-icons-modal .icon-kits-wrapper .icon-kit{overflow-y:scroll;max-height:290px}.wpzoom-social-icons-modal .social-icon.socicon,.wpzoom-social-icons-modal .social-icon.dashicons,.wpzoom-social-icons-modal .social-icon.genericon,.wpzoom-social-icons-modal .social-icon.academicons,.wpzoom-social-icons-modal .social-icon.fas,.wpzoom-social-icons-modal .social-icon.fab,.wpzoom-social-icons-modal .social-icon.far{color:white;padding:10px;margin:5px;background:#5A5A59;font-size:1.2em;width:1.2em;height:1.2em;vertical-align:middle;-webkit-box-sizing:content-box;box-sizing:content-box;line-height:1.2em;text-align:center;text-decoration:none}.wpzoom-social-icons-modal .social-icon.socicon:empty{width:1.2em;height:1.2em}.wpzoom-social-icons-modal .social-icon.socicon{top:0px}.wpzoom-color-picker .components-color-picker__inputs-fields>.components-base-control+.components-base-control{margin-bottom:0px}.components-panel__row .components-range-control{width:100%}
 
block/dist/blocks.style.build.css DELETED
@@ -1 +0,0 @@
1
- .wp-block-wpzoom-blocks-social-icons{margin:0 auto;display:-ms-flexbox;display:flex;-webkit-box-sizing:content-box;box-sizing:content-box;-ms-flex-flow:row wrap;flex-flow:row wrap;-ms-flex-pack:var(--wpz-social-icons-alignment);justify-content:var(--wpz-social-icons-alignment)}.wp-block-wpzoom-blocks-social-icons a.social-icon-link{text-decoration:none !important;-webkit-box-shadow:none;box-shadow:none}.wp-block-wpzoom-blocks-social-icons .social-icon.socicon,.wp-block-wpzoom-blocks-social-icons .social-icon.dashicons,.wp-block-wpzoom-blocks-social-icons .social-icon.genericon,.wp-block-wpzoom-blocks-social-icons .social-icon.academicons,.wp-block-wpzoom-blocks-social-icons .social-icon.fas,.wp-block-wpzoom-blocks-social-icons .social-icon.fab,.wp-block-wpzoom-blocks-social-icons .social-icon.far{color:white;padding:10px;margin:5px;background:#5A5A59;font-size:1.2em;width:1.2em;height:1.2em;vertical-align:middle;-webkit-box-sizing:content-box;box-sizing:content-box;line-height:1.2em;text-align:center}.wp-block-wpzoom-blocks-social-icons .social-icon.socicon:empty{width:1.2em;height:1.2em}.wp-block-wpzoom-blocks-social-icons .social-icon.socicon{top:0px}.wp-block-wpzoom-blocks-social-icons.is-style-with-canvas-round .social-icon{font-size:var(--wpz-social-icons-block-item-font-size);padding:var(--wpz-social-icons-block-item-padding-vertical) var(--wpz-social-icons-block-item-padding-horizontal);margin:var(--wpz-social-icons-block-item-margin-vertical) var(--wpz-social-icons-block-item-margin-horizontal);border-radius:var(--wpz-social-icons-block-item-border-radius);background-color:var(--wpz-social-icons-block-item-color)}.wp-block-wpzoom-blocks-social-icons.is-style-with-canvas-round .social-icon:hover{background-color:var(--wpz-social-icons-block-item-color-hover)}.wp-block-wpzoom-blocks-social-icons.is-style-with-canvas-round .icon-label{color:var(--wpz-social-icons-block-label-color);font-size:var(--wpz-social-icons-block-label-font-size)}.wp-block-wpzoom-blocks-social-icons.is-style-with-canvas-round .icon-label:hover{color:var(--wpz-social-icons-block-label-color-hover)}.wp-block-wpzoom-blocks-social-icons.is-style-with-canvas-rounded .social-icon{font-size:var(--wpz-social-icons-block-item-font-size);padding:var(--wpz-social-icons-block-item-padding-vertical) var(--wpz-social-icons-block-item-padding-horizontal);margin:var(--wpz-social-icons-block-item-margin-vertical) var(--wpz-social-icons-block-item-margin-horizontal);border-radius:var(--wpz-social-icons-block-item-border-radius);background-color:var(--wpz-social-icons-block-item-color)}.wp-block-wpzoom-blocks-social-icons.is-style-with-canvas-rounded .social-icon:hover{background-color:var(--wpz-social-icons-block-item-color-hover)}.wp-block-wpzoom-blocks-social-icons.is-style-with-canvas-rounded .icon-label{color:var(--wpz-social-icons-block-label-color);font-size:var(--wpz-social-icons-block-label-font-size)}.wp-block-wpzoom-blocks-social-icons.is-style-with-canvas-rounded .icon-label:hover{color:var(--wpz-social-icons-block-label-color-hover)}.wp-block-wpzoom-blocks-social-icons.is-style-with-canvas-squared .social-icon{font-size:var(--wpz-social-icons-block-item-font-size);padding:var(--wpz-social-icons-block-item-padding-vertical) var(--wpz-social-icons-block-item-padding-horizontal);margin:var(--wpz-social-icons-block-item-margin-vertical) var(--wpz-social-icons-block-item-margin-horizontal);border-radius:var(--wpz-social-icons-block-item-border-radius);background-color:var(--wpz-social-icons-block-item-color)}.wp-block-wpzoom-blocks-social-icons.is-style-with-canvas-squared .social-icon:hover{background-color:var(--wpz-social-icons-block-item-color-hover)}.wp-block-wpzoom-blocks-social-icons.is-style-with-canvas-squared .icon-label{color:var(--wpz-social-icons-block-label-color);font-size:var(--wpz-social-icons-block-label-font-size)}.wp-block-wpzoom-blocks-social-icons.is-style-with-canvas-squared .icon-label:hover{color:var(--wpz-social-icons-block-label-color-hover)}.wp-block-wpzoom-blocks-social-icons.is-style-without-canvas .social-icon{font-size:var(--wpz-social-icons-block-item-font-size);padding:var(--wpz-social-icons-block-item-padding-vertical) var(--wpz-social-icons-block-item-padding-horizontal);margin:var(--wpz-social-icons-block-item-margin-vertical) var(--wpz-social-icons-block-item-margin-horizontal);border-radius:var(--wpz-social-icons-block-item-border-radius);color:var(--wpz-social-icons-block-item-color);background-color:transparent}.wp-block-wpzoom-blocks-social-icons.is-style-without-canvas .social-icon:hover{color:var(--wpz-social-icons-block-item-color-hover)}.wp-block-wpzoom-blocks-social-icons.is-style-without-canvas .icon-label{color:var(--wpz-social-icons-block-label-color);font-size:var(--wpz-social-icons-block-label-font-size)}.wp-block-wpzoom-blocks-social-icons.is-style-without-canvas .icon-label:hover{color:var(--wpz-social-icons-block-label-color-hover)}.wp-block-wpzoom-blocks-social-icons.is-style-without-canvas-with-border .social-icon{font-size:var(--wpz-social-icons-block-item-font-size);padding:var(--wpz-social-icons-block-item-padding-vertical) var(--wpz-social-icons-block-item-padding-horizontal);margin:var(--wpz-social-icons-block-item-margin-vertical) var(--wpz-social-icons-block-item-margin-horizontal);border-radius:var(--wpz-social-icons-block-item-border-radius);color:var(--wpz-social-icons-block-item-color);background-color:transparent;border-width:1px;border-style:solid}.wp-block-wpzoom-blocks-social-icons.is-style-without-canvas-with-border .social-icon:hover{color:var(--wpz-social-icons-block-item-color-hover)}.wp-block-wpzoom-blocks-social-icons.is-style-without-canvas-with-border .icon-label{color:var(--wpz-social-icons-block-label-color);font-size:var(--wpz-social-icons-block-label-font-size)}.wp-block-wpzoom-blocks-social-icons.is-style-without-canvas-with-border .icon-label:hover{color:var(--wpz-social-icons-block-label-color-hover)}.wp-block-wpzoom-blocks-social-icons.is-style-without-canvas-with-label .social-icon-link{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}.wp-block-wpzoom-blocks-social-icons.is-style-without-canvas-with-label .social-icon-link .social-icon,.wp-block-wpzoom-blocks-social-icons.is-style-without-canvas-with-label .social-icon-link .icon-label{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}.wp-block-wpzoom-blocks-social-icons.is-style-without-canvas-with-label .social-icon-link .social-icon{background-color:transparent;color:var(--wpz-social-icons-block-item-color);font-size:var(--wpz-social-icons-block-item-font-size);padding:var(--wpz-social-icons-block-item-padding-vertical) var(--wpz-social-icons-block-item-padding-horizontal);margin:var(--wpz-social-icons-block-item-margin-vertical) var(--wpz-social-icons-block-item-margin-horizontal);border-radius:var(--wpz-social-icons-block-item-border-radius)}.wp-block-wpzoom-blocks-social-icons.is-style-without-canvas-with-label .social-icon-link .social-icon:hover{color:var(--wpz-social-icons-block-item-color-hover)}.wp-block-wpzoom-blocks-social-icons.is-style-without-canvas-with-label .social-icon-link .icon-label{padding:0px 5px 5px 5px;color:var(--wpz-social-icons-block-label-color);font-size:var(--wpz-social-icons-block-label-font-size)}.wp-block-wpzoom-blocks-social-icons.is-style-without-canvas-with-label .social-icon-link .icon-label:hover{color:var(--wpz-social-icons-block-label-color-hover)}.wp-block-wpzoom-blocks-social-icons.is-style-with-label-canvas-rounded .social-icon-link{color:#fff;margin:16px 10px;background-color:var(--wpz-social-icons-block-item-color);padding:var(--wpz-social-icons-block-item-padding-vertical) var(--wpz-social-icons-block-item-padding-horizontal);margin:var(--wpz-social-icons-block-item-margin-vertical) var(--wpz-social-icons-block-item-margin-horizontal);border-radius:var(--wpz-social-icons-block-item-border-radius)}.wp-block-wpzoom-blocks-social-icons.is-style-with-label-canvas-rounded .social-icon-link .social-icon{font-size:var(--wpz-social-icons-block-item-font-size);background-color:transparent;padding:0px}.wp-block-wpzoom-blocks-social-icons.is-style-with-label-canvas-rounded .social-icon-link:hover{background-color:var(--wpz-social-icons-block-item-color-hover)}.wp-block-wpzoom-blocks-social-icons.is-style-with-label-canvas-rounded .social-icon-link .icon-label{padding:5px 5px 5px 0px;color:var(--wpz-social-icons-block-label-color);font-size:var(--wpz-social-icons-block-label-font-size)}.wp-block-wpzoom-blocks-social-icons.is-style-with-label-canvas-rounded .social-icon-link .icon-label:hover{color:var(--wpz-social-icons-block-label-color-hover)}
 
block/dist/style-wpzoom-social-icons.css ADDED
@@ -0,0 +1 @@
 
1
+ .wp-block-wpzoom-blocks-social-icons{margin:0 auto;display:flex;box-sizing:content-box;flex-flow:row wrap;justify-content:var(--wpz-social-icons-alignment)}.wp-block-wpzoom-blocks-social-icons a.social-icon-link{text-decoration:none !important;box-shadow:none}.wp-block-wpzoom-blocks-social-icons .social-icon.socicon,.wp-block-wpzoom-blocks-social-icons .social-icon.dashicons,.wp-block-wpzoom-blocks-social-icons .social-icon.genericon,.wp-block-wpzoom-blocks-social-icons .social-icon.academicons,.wp-block-wpzoom-blocks-social-icons .social-icon.fas,.wp-block-wpzoom-blocks-social-icons .social-icon.fab,.wp-block-wpzoom-blocks-social-icons .social-icon.far{color:#fff;padding:10px;margin:5px;background:#5a5a59;font-size:1.2em;width:1.2em;height:1.2em;vertical-align:middle;box-sizing:content-box;line-height:1.2em;text-align:center}.wp-block-wpzoom-blocks-social-icons .social-icon.socicon:empty{width:1.2em;height:1.2em}.wp-block-wpzoom-blocks-social-icons .social-icon.socicon{top:0px}.wp-block-wpzoom-blocks-social-icons.is-style-with-canvas-round .social-icon{font-size:var(--wpz-social-icons-block-item-font-size);padding:var(--wpz-social-icons-block-item-padding-vertical) var(--wpz-social-icons-block-item-padding-horizontal);margin:var(--wpz-social-icons-block-item-margin-vertical) var(--wpz-social-icons-block-item-margin-horizontal);border-radius:var(--wpz-social-icons-block-item-border-radius);background-color:var(--wpz-social-icons-block-item-color)}.wp-block-wpzoom-blocks-social-icons.is-style-with-canvas-round .social-icon:hover{background-color:var(--wpz-social-icons-block-item-color-hover)}.wp-block-wpzoom-blocks-social-icons.is-style-with-canvas-round .icon-label{color:var(--wpz-social-icons-block-label-color);font-size:var(--wpz-social-icons-block-label-font-size)}.wp-block-wpzoom-blocks-social-icons.is-style-with-canvas-round .icon-label:hover{color:var(--wpz-social-icons-block-label-color-hover)}.wp-block-wpzoom-blocks-social-icons.is-style-with-canvas-rounded .social-icon{font-size:var(--wpz-social-icons-block-item-font-size);padding:var(--wpz-social-icons-block-item-padding-vertical) var(--wpz-social-icons-block-item-padding-horizontal);margin:var(--wpz-social-icons-block-item-margin-vertical) var(--wpz-social-icons-block-item-margin-horizontal);border-radius:var(--wpz-social-icons-block-item-border-radius);background-color:var(--wpz-social-icons-block-item-color)}.wp-block-wpzoom-blocks-social-icons.is-style-with-canvas-rounded .social-icon:hover{background-color:var(--wpz-social-icons-block-item-color-hover)}.wp-block-wpzoom-blocks-social-icons.is-style-with-canvas-rounded .icon-label{color:var(--wpz-social-icons-block-label-color);font-size:var(--wpz-social-icons-block-label-font-size)}.wp-block-wpzoom-blocks-social-icons.is-style-with-canvas-rounded .icon-label:hover{color:var(--wpz-social-icons-block-label-color-hover)}.wp-block-wpzoom-blocks-social-icons.is-style-with-canvas-squared .social-icon{font-size:var(--wpz-social-icons-block-item-font-size);padding:var(--wpz-social-icons-block-item-padding-vertical) var(--wpz-social-icons-block-item-padding-horizontal);margin:var(--wpz-social-icons-block-item-margin-vertical) var(--wpz-social-icons-block-item-margin-horizontal);border-radius:var(--wpz-social-icons-block-item-border-radius);background-color:var(--wpz-social-icons-block-item-color)}.wp-block-wpzoom-blocks-social-icons.is-style-with-canvas-squared .social-icon:hover{background-color:var(--wpz-social-icons-block-item-color-hover)}.wp-block-wpzoom-blocks-social-icons.is-style-with-canvas-squared .icon-label{color:var(--wpz-social-icons-block-label-color);font-size:var(--wpz-social-icons-block-label-font-size)}.wp-block-wpzoom-blocks-social-icons.is-style-with-canvas-squared .icon-label:hover{color:var(--wpz-social-icons-block-label-color-hover)}.wp-block-wpzoom-blocks-social-icons.is-style-without-canvas .social-icon{font-size:var(--wpz-social-icons-block-item-font-size);padding:var(--wpz-social-icons-block-item-padding-vertical) var(--wpz-social-icons-block-item-padding-horizontal);margin:var(--wpz-social-icons-block-item-margin-vertical) var(--wpz-social-icons-block-item-margin-horizontal);border-radius:var(--wpz-social-icons-block-item-border-radius);color:var(--wpz-social-icons-block-item-color);background-color:transparent}.wp-block-wpzoom-blocks-social-icons.is-style-without-canvas .social-icon:hover{color:var(--wpz-social-icons-block-item-color-hover)}.wp-block-wpzoom-blocks-social-icons.is-style-without-canvas .icon-label{color:var(--wpz-social-icons-block-label-color);font-size:var(--wpz-social-icons-block-label-font-size)}.wp-block-wpzoom-blocks-social-icons.is-style-without-canvas .icon-label:hover{color:var(--wpz-social-icons-block-label-color-hover)}.wp-block-wpzoom-blocks-social-icons.is-style-without-canvas-with-border .social-icon{font-size:var(--wpz-social-icons-block-item-font-size);padding:var(--wpz-social-icons-block-item-padding-vertical) var(--wpz-social-icons-block-item-padding-horizontal);margin:var(--wpz-social-icons-block-item-margin-vertical) var(--wpz-social-icons-block-item-margin-horizontal);border-radius:var(--wpz-social-icons-block-item-border-radius);color:var(--wpz-social-icons-block-item-color);background-color:transparent;border-width:1px;border-style:solid}.wp-block-wpzoom-blocks-social-icons.is-style-without-canvas-with-border .social-icon:hover{color:var(--wpz-social-icons-block-item-color-hover)}.wp-block-wpzoom-blocks-social-icons.is-style-without-canvas-with-border .icon-label{color:var(--wpz-social-icons-block-label-color);font-size:var(--wpz-social-icons-block-label-font-size)}.wp-block-wpzoom-blocks-social-icons.is-style-without-canvas-with-border .icon-label:hover{color:var(--wpz-social-icons-block-label-color-hover)}.wp-block-wpzoom-blocks-social-icons.is-style-without-canvas-with-label .social-icon-link{display:flex;flex-direction:column;align-items:center}.wp-block-wpzoom-blocks-social-icons.is-style-without-canvas-with-label .social-icon-link .social-icon,.wp-block-wpzoom-blocks-social-icons.is-style-without-canvas-with-label .social-icon-link .icon-label{display:flex;justify-content:center}.wp-block-wpzoom-blocks-social-icons.is-style-without-canvas-with-label .social-icon-link .social-icon{background-color:transparent;color:var(--wpz-social-icons-block-item-color);font-size:var(--wpz-social-icons-block-item-font-size);padding:var(--wpz-social-icons-block-item-padding-vertical) var(--wpz-social-icons-block-item-padding-horizontal);margin:var(--wpz-social-icons-block-item-margin-vertical) var(--wpz-social-icons-block-item-margin-horizontal);border-radius:var(--wpz-social-icons-block-item-border-radius)}.wp-block-wpzoom-blocks-social-icons.is-style-without-canvas-with-label .social-icon-link .social-icon:hover{color:var(--wpz-social-icons-block-item-color-hover)}.wp-block-wpzoom-blocks-social-icons.is-style-without-canvas-with-label .social-icon-link .icon-label{padding:0px 5px 5px 5px;color:var(--wpz-social-icons-block-label-color);font-size:var(--wpz-social-icons-block-label-font-size)}.wp-block-wpzoom-blocks-social-icons.is-style-without-canvas-with-label .social-icon-link .icon-label:hover{color:var(--wpz-social-icons-block-label-color-hover)}.wp-block-wpzoom-blocks-social-icons.is-style-with-label-canvas-rounded .social-icon-link{color:#fff;margin:16px 10px;background-color:var(--wpz-social-icons-block-item-color);padding:var(--wpz-social-icons-block-item-padding-vertical) var(--wpz-social-icons-block-item-padding-horizontal);margin:var(--wpz-social-icons-block-item-margin-vertical) var(--wpz-social-icons-block-item-margin-horizontal);border-radius:var(--wpz-social-icons-block-item-border-radius)}.wp-block-wpzoom-blocks-social-icons.is-style-with-label-canvas-rounded .social-icon-link .social-icon{font-size:var(--wpz-social-icons-block-item-font-size);background-color:transparent;padding:0px}.wp-block-wpzoom-blocks-social-icons.is-style-with-label-canvas-rounded .social-icon-link:hover{background-color:var(--wpz-social-icons-block-item-color-hover)}.wp-block-wpzoom-blocks-social-icons.is-style-with-label-canvas-rounded .social-icon-link .icon-label{padding:5px 5px 5px 0px;color:var(--wpz-social-icons-block-label-color);font-size:var(--wpz-social-icons-block-label-font-size)}.wp-block-wpzoom-blocks-social-icons.is-style-with-label-canvas-rounded .social-icon-link .icon-label:hover{color:var(--wpz-social-icons-block-label-color-hover)}.zoom-social-icons-legacy-widget-title:empty,.zoom-social-icons-legacy-widget-description:empty{display:none !important}
block/dist/wpzoom-social-icons.asset.php ADDED
@@ -0,0 +1 @@
 
1
+ <?php return array('dependencies' => array('lodash', 'react', 'wp-a11y', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-token-list', 'wp-url'), 'version' => '807fb556e0d8884882bbb6cd4c7e25ce');
block/dist/wpzoom-social-icons.css ADDED
@@ -0,0 +1 @@
 
1
+ .wp-block.is-selected .wp-block-wpzoom-blocks-social-icons .social-icon-link{outline:none;box-shadow:none;opacity:.6}.wp-block.is-selected .wp-block-wpzoom-blocks-social-icons .social-icon-link:hover,.wp-block.is-selected .wp-block-wpzoom-blocks-social-icons .social-icon-link.selected{opacity:1;transform:scale(1.05)}.wp-block-wpzoom-blocks-social-icons{margin:0 auto}.wp-block-wpzoom-blocks-social-icons .sortable-arrows{margin:0px 10px}.wp-block-wpzoom-blocks-social-icons .sortable-arrows .arrow-btn{border:1px solid #0e1c2e9e;width:20px;height:20px;padding:0px;color:#0e1c2e9e}.wp-block-wpzoom-blocks-social-icons .sortable-arrows .arrow-btn .arrow-icon{margin:0px auto}.wp-block-wpzoom-blocks-social-icons .insert-icon{padding:10px;height:20px;-ms-grid-row-align:center;align-self:center}.wp-block-wpzoom-blocks-social-icons .insert-icon.components-button:focus:enabled{outline:none;background-color:transparent;box-shadow:none}.wp-block-wpzoom-blocks-social-icons .social-icon.dashicons,.wp-block-wpzoom-blocks-social-icons .social-icon.genericon{text-decoration:none}.wp-block-wpzoom-blocks-social-icons .sortable-arrows{-ms-grid-row-align:center;align-self:center}.wp-block-wpzoom-blocks-social-icons .sortable-arrows .components-button:disabled{opacity:.3}.wpzoom-social-icons-popover .popover-content{display:flex;padding:5px;flex-direction:column}.wpzoom-social-icons-popover .popover-content .components-button.is-button{padding:0 10px;line-height:2;height:28px;border-radius:3px;white-space:nowrap;border-width:1px;border-style:solid}.wpzoom-social-icons-popover .popover-content .popover-controls{display:flex;justify-content:space-between}.wpzoom-social-icons-popover .popover-content .popover-controls button.components-button.button-small{margin-left:5px}.wpzoom-social-icons-popover .popover-content .popover-controls .popover-color-picker{border-radius:50%;width:18px;height:18px;-ms-grid-row-align:center;align-self:center;margin:0px 5px}.wpzoom-social-icons-popover .popover-content .popover-controls .popover-color-picker-wrapper{display:flex;align-items:center}.wpzoom-social-icons-popover .popover-url-wrapper{display:flex}.wpzoom-social-icons-popover .popover-url-wrapper .url-input{width:90%}.wpzoom-social-icons-popover .popover-url-wrapper .url-button{height:30px;margin-left:3px;margin-top:1px}.wpzoom-social-icons-modal .social-icon{border-radius:var(--wpz-social-icons-block-modal-item-border-radius)}.wpzoom-social-icons-modal .components-button.is-button{padding:0 10px;line-height:2;height:28px;border-radius:3px;white-space:nowrap;border-width:1px;border-style:solid}.wpzoom-social-icons-modal .modal-content{width:650px;min-height:480px}.wpzoom-social-icons-modal .modal-content .option-item{display:flex;flex-direction:row;align-items:center;min-height:50px}.wpzoom-social-icons-modal .modal-content .label{font-weight:600;font-size:15px;margin-right:30px;min-width:25%}.wpzoom-social-icons-modal .modal-content .icon-kits-wrapper{padding:10px 0px}.wpzoom-social-icons-modal .modal-content .components-base-control .components-base-control__field{margin-bottom:0px}.wpzoom-social-icons-modal .modal-content .dashicons:hover,.wpzoom-social-icons-modal .modal-content .dashicons.selected,.wpzoom-social-icons-modal .modal-content .socicon:hover,.wpzoom-social-icons-modal .modal-content .socicon.selected,.wpzoom-social-icons-modal .modal-content .genericon.selected,.wpzoom-social-icons-modal .modal-content .genericon:hover,.wpzoom-social-icons-modal .modal-content .academicons.selected,.wpzoom-social-icons-modal .modal-content .academicons:hover,.wpzoom-social-icons-modal .modal-content .fas.selected,.wpzoom-social-icons-modal .modal-content .fas:hover,.wpzoom-social-icons-modal .modal-content .fab.selected,.wpzoom-social-icons-modal .modal-content .fab:hover,.wpzoom-social-icons-modal .modal-content .far.selected,.wpzoom-social-icons-modal .modal-content .far:hover{padding:9px;border-width:1px;border-style:solid;box-shadow:2px 2px 5px 0px #000}.wpzoom-social-icons-modal .modal-controls{display:flex;justify-content:space-between;border-top:1px solid #e2e4e7;padding:0 16px;margin:0 -24px -16px;height:56px;align-items:center}.wpzoom-social-icons-modal .modal-controls .components-base-control .components-base-control__field{margin-bottom:0px}.wpzoom-social-icons-modal .modal-buttons button.components-button+button.components-button{margin-left:10px}.wpzoom-social-icons-modal .icon-kit{flex-flow:row wrap;box-sizing:content-box}.wpzoom-social-icons-modal .icon-kits-wrapper .icon-kit{overflow-y:scroll;max-height:290px}.wpzoom-social-icons-modal .social-icon.socicon,.wpzoom-social-icons-modal .social-icon.dashicons,.wpzoom-social-icons-modal .social-icon.genericon,.wpzoom-social-icons-modal .social-icon.academicons,.wpzoom-social-icons-modal .social-icon.fas,.wpzoom-social-icons-modal .social-icon.fab,.wpzoom-social-icons-modal .social-icon.far{color:#fff;padding:10px;margin:5px;background:#5a5a59;font-size:1.2em;width:1.2em;height:1.2em;vertical-align:middle;box-sizing:content-box;line-height:1.2em;text-align:center;text-decoration:none}.wpzoom-social-icons-modal .social-icon.socicon:empty{width:1.2em;height:1.2em}.wpzoom-social-icons-modal .social-icon.socicon{top:0px}.wpzoom-color-picker .components-color-picker__inputs-fields>.components-base-control+.components-base-control{margin-bottom:0px}.components-panel__row .components-range-control{width:100%}.wp-admin .zoom-social-icons-legacy-widget-title:empty,.wp-admin .zoom-social-icons-legacy-widget-description:empty,.wp-customizer .zoom-social-icons-legacy-widget-title:empty,.wp-customizer .zoom-social-icons-legacy-widget-description:empty{display:block !important}
block/dist/wpzoom-social-icons.js ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[0],{29:function(e,t,o){}}]),function(e){function t(t){for(var n,s,a=t[0],c=t[1],l=t[2],p=0,d=[];p<a.length;p++)s=a[p],Object.prototype.hasOwnProperty.call(r,s)&&r[s]&&d.push(r[s][0]),r[s]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n]);for(u&&u(t);d.length;)d.shift()();return i.push.apply(i,l||[]),o()}function o(){for(var e,t=0;t<i.length;t++){for(var o=i[t],n=!0,a=1;a<o.length;a++){var c=o[a];0!==r[c]&&(n=!1)}n&&(i.splice(t--,1),e=s(s.s=o[0]))}return e}var n={},r={1:0},i=[];function s(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,s),o.l=!0,o.exports}s.m=e,s.c=n,s.d=function(e,t,o){s.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},s.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.t=function(e,t){if(1&t&&(e=s(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(s.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)s.d(o,n,function(t){return e[t]}.bind(null,n));return o},s.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(t,"a",t),t},s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},s.p="";var a=window.webpackJsonp=window.webpackJsonp||[],c=a.push.bind(a);a.push=t,a=a.slice();for(var l=0;l<a.length;l++)t(a[l]);var u=c;i.push([38,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){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return 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 s=r.apply(null,n);s&&e.push(s)}}else if("object"===i)if(n.toString===Object.prototype.toString)for(var a in n)o.call(n,a)&&n[a]&&e.push(a);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){function o(t){return e.exports=o=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.default=e.exports,e.exports.__esModule=!0,o(t)}e.exports=o,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function o(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}e.exports=function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=window.wp.blocks},function(e,t){e.exports=window.wp.primitives},function(e,t,o){var n=o(32);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&n(e,t)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,o){var n=o(33).default,r=o(5);e.exports=function(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?r(e):t},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=window.wp.data},function(e,t){e.exports=window.wp.hooks},function(e,t,o){var n,r,i;!function(s,a){"use strict";e.exports?e.exports=a(o(20),o(21),o(22)):(r=[o(20),o(21),o(22)],void 0===(i="function"==typeof(n=a)?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 s=i.prototype,a=Object.prototype.hasOwnProperty;function c(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}function l(e){return void 0===e?"Undefined":String(Object.prototype.toString.call(e)).slice(8,-1)}function u(e){return"Array"===l(e)}function p(e,t){var o,n,r={};if("RegExp"===l(t))r=null;else if(u(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 d(e,t){var o,n;if(u(t)){for(o=0,n=t.length;o<n;o++)if(!d(e,t[o]))return!1;return!0}var r=l(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 h(e,t){if(!u(e)||!u(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 m(e){return e.replace(/^\/+|\/+$/g,"")}function f(e){return escape(e)}function g(e){return encodeURIComponent(e).replace(/[!'()*]/g,f).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 b,v={encode:"encode",decode:"decode"},y=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(b in v)i[b+"PathSegment"]=y("pathname",v[b]),i[b+"UrnPathSegment"]=y("urnpath",v[b]);var w=function(e,t,o){return function(n){var r;r=o?function(e){return i[t](i[o](e))}:i[t];for(var s=(n+"").split(e),a=0,c=s.length;a<c;a++)s[a]=r(s[a]);return s.join(e)}};function k(e){return function(t,o){return void 0===t?this._parts[e]||"":(this._parts[e]=t||null,this.build(!o),this)}}function I(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=w("/","decodePathSegment"),i.decodeUrnPath=w(":","decodeUrnPathSegment"),i.recodePath=w("/","encodePathSegment","decode"),i.recodeUrnPath=w(":","encodeUrnPathSegment","decode"),i.encodeReserved=y("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 s=e.indexOf(":"),a=e.indexOf("/"),c=e.indexOf(":",s+1);-1!==c&&(-1===a||c<a)?(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("/"),s=e.lastIndexOf("@",r>-1?r:e.length-1);return s>-1&&(-1===r||s<r)?(n=e.substring(0,s).split(":"),t.username=n[0]?i.decode(n[0]):null,n.shift(),t.password=n[0]?i.decode(n.join(":")):null,e=o.substring(s+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,s={},c=e.split("&"),l=c.length,u=0;u<l;u++)o=c[u].split("="),n=i.decodeQuery(o.shift(),t),r=o.length?i.decodeQuery(o.join("="),t):null,"__proto__"!==n&&(a.call(s,n)?("string"!=typeof s[n]&&null!==s[n]||(s[n]=[s[n]]),s[n].push(r)):s[n]=r);return s},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,s,c,l="";for(r in e)if("__proto__"!==r&&a.call(e,r))if(u(e[r]))for(n={},s=0,c=e[r].length;s<c;s++)void 0!==e[r][s]&&void 0===n[e[r][s]+""]&&(l+="&"+i.buildQueryParameter(r,e[r][s],o),!0!==t&&(n[e[r][s]+""]=!0));else void 0!==e[r]&&(l+="&"+i.buildQueryParameter(r,e[r],o));return l.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)a.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]]),u(o)||(o=[o]),e[t]=(e[t]||[]).concat(o)}},i.setQuery=function(e,t,o){if("object"==typeof t)for(var n in t)a.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,s;if(u(t))for(n=0,r=t.length;n<r;n++)e[t[n]]=void 0;else if("RegExp"===l(t))for(s in e)t.test(s)&&(e[s]=void 0);else if("object"==typeof t)for(s in t)a.call(t,s)&&i.removeQuery(e,s,t[s]);else{if("string"!=typeof t)throw new TypeError("URI.removeQuery() accepts an object, string, RegExp as the first parameter");void 0!==o?"RegExp"===l(o)?!u(e[t])&&o.test(e[t])?e[t]=void 0:e[t]=p(e[t],o):e[t]!==String(o)||u(o)&&1!==o.length?u(e[t])&&(e[t]=p(e[t],o)):e[t]=void 0:e[t]=void 0}},i.hasQuery=function(e,t,o,n){switch(l(t)){case"String":break;case"RegExp":for(var r in e)if(a.call(e,r)&&t.test(r)&&(void 0===o||i.hasQuery(e,r,o)))return!0;return!1;case"Object":for(var s in t)if(a.call(t,s)&&!i.hasQuery(e,s,t[s]))return!1;return!0;default:throw new TypeError("URI.hasQuery() accepts a string, regular expression or object as the name parameter")}switch(l(o)){case"Undefined":return t in e;case"Boolean":return o===Boolean(u(e[t])?e[t].length:e[t]);case"Function":return!!o(e[t],t,e);case"Array":return!!u(e[t])&&(n?d:h)(e[t],o);case"RegExp":return u(e[t])?!!n&&d(e[t],o):Boolean(e[t]&&e[t].match(o));case"Number":o=String(o);case"String":return u(e[t])?!!n&&d(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 s=r.segment(),a=0;a<s.length;a++)"string"==typeof s[a]&&t.push(s[a]),s[a]&&o++}if(!t.length||!o)return new i("");var c=new i("").segment(t);return""!==e[0].path()&&"/"!==e[0].path().slice(0,1)||c.path("/"+c.path()),c.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,s=o.trim||i.findUri.trim,a=o.parens||i.findUri.parens,c=/[a-z0-9-]=["']?$/i;for(n.lastIndex=0;;){var l=n.exec(e);if(!l)break;var u=l.index;if(o.ignoreHtml){var p=e.slice(Math.max(u-3,0),u);if(p&&c.test(p))continue}for(var d=u+e.slice(u).search(r),h=e.slice(u,d),m=-1;;){var f=a.exec(h);if(!f)break;var g=f.index+f[0].length;m=Math.max(m,g)}if(!((h=m>-1?h.slice(0,m)+h.slice(m).replace(s,""):h.replace(s,"")).length<=l[0].length||o.ignore&&o.ignore.test(h))){var b=t(h,u,d=u+h.length,e);void 0!==b?(b=String(b),e=e.slice(0,u)+b+e.slice(d),n.lastIndex=u+b.length):n.lastIndex=d}}return n.lastIndex=0,e},i.ensureValidHostname=function(t,o){var n=!!t,r=!1;if(!!o&&(r=d(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},s.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},s.clone=function(){return new i(this)},s.valueOf=s.toString=function(){return this.build(!1)._string},s.protocol=k("protocol"),s.username=k("username"),s.password=k("password"),s.hostname=k("hostname"),s.port=k("port"),s.query=I("query","?"),s.fragment=I("fragment","#"),s.search=function(e,t){var o=this.query(e,t);return"string"==typeof o&&o.length?"?"+o:o},s.hash=function(e,t){var o=this.fragment(e,t);return"string"==typeof o&&o.length?"#"+o:o},s.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},s.path=s.pathname,s.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 s=n?e._parts:e;for(o in s)"query"!==o&&a.call(this._parts,o)&&(this._parts[o]=s[o]);s.query&&this.query(s.query,!1)}return this.build(!t),this},s.is=function(e){var t=!1,n=!1,r=!1,s=!1,a=!1,c=!1,l=!1,u=!this._parts.urn;switch(this._parts.hostname&&(u=!1,n=i.ip4_expression.test(this._parts.hostname),r=i.ip6_expression.test(this._parts.hostname),a=(s=!(t=n||r))&&o&&o.has(this._parts.hostname),c=s&&i.idn_expression.test(this._parts.hostname),l=s&&i.punycode_expression.test(this._parts.hostname)),e.toLowerCase()){case"relative":return u;case"absolute":return!u;case"domain":case"name":return s;case"sld":return a;case"ip":return t;case"ip4":case"ipv4":case"inet4":return n;case"ip6":case"ipv6":case"inet6":return r;case"idn":return c;case"url":return!this._parts.urn;case"urn":return!!this._parts.urn;case"punycode":return l}return null};var O=s.protocol,A=s.port,j=s.hostname;s.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 O.call(this,e,t)},s.scheme=s.protocol,s.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))),A.call(this,e,t))},s.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 j.call(this,e,t)},s.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},s.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},s.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},s.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},s.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)},s.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),s=new RegExp("^"+c(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(s,e),this.build(!t),this},s.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(c(this.domain())+"$");this._parts.hostname=this._parts.hostname.replace(r,e)}return this.build(!t),this},s.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(c(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(c(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(i,e)}return this.build(!t),this},s.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,s=this._parts.path.substring(0,r),a=new RegExp("^"+c(s));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(a,e),this.build(!t),this},s.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 s=new RegExp(c(this.filename())+"$");return e=i.recodePath(e),this._parts.path=this._parts.path.replace(s,e),r?this.normalizePath(t):this.build(!t),this},s.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(),s=r.lastIndexOf(".");return-1===s?"":(o=r.substring(s+1),n=/^[a-z0-9%]+$/i.test(o)?o:"",e?i.decodePathSegment(n):n)}"."===e.charAt(0)&&(e=e.substring(1));var a,l=this.suffix();if(l)a=e?new RegExp(c(l)+"$"):new RegExp(c("."+l)+"$");else{if(!e)return this;this._parts.path+="."+i.recodePath(e)}return a&&(e=i.recodePath(e),this._parts.path=this._parts.path.replace(a,e)),this.build(!t),this},s.segment=function(e,t,o){var n=this._parts.urn?":":"/",r=this.path(),i="/"===r.substring(0,1),s=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&&s.shift(),e<0&&(e=Math.max(s.length+e,0)),void 0===t)return void 0===e?s:s[e];if(null===e||void 0===s[e])if(u(t)){s=[];for(var a=0,c=t.length;a<c;a++)(t[a].length||s.length&&s[s.length-1].length)&&(s.length&&!s[s.length-1].length&&s.pop(),s.push(m(t[a])))}else(t||"string"==typeof t)&&(t=m(t),""===s[s.length-1]?s[s.length-1]=t:s.push(t));else t?s[e]=m(t):s.splice(e,1);return i&&s.unshift(""),this.path(s.join(n),o)},s.segmentCoded=function(e,t,o){var n,r,s;if("number"!=typeof e&&(o=t,t=e,e=void 0),void 0===t){if(u(n=this.segment(e,t,o)))for(r=0,s=n.length;r<s;r++)n[r]=i.decode(n[r]);else n=void 0!==n?i.decode(n):void 0;return n}if(u(t))for(r=0,s=t.length;r<s;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 C=s.query;return s.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):C.call(this,e,t)},s.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)a.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},s.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},s.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},s.hasQuery=function(e,t,o){var n=i.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return i.hasQuery(n,e,t,o)},s.setSearch=s.setQuery,s.addSearch=s.addQuery,s.removeSearch=s.removeQuery,s.hasSearch=s.hasQuery,s.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()},s.normalizeProtocol=function(e){return"string"==typeof this._parts.protocol&&(this._parts.protocol=this._parts.protocol.toLowerCase(),this.build(!e)),this},s.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},s.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},s.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,s="";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&&(s=o.substring(1).match(/^(\.\.\/)+/)||"")&&(s=s[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=s+o.substring(1)),this._parts.path=o,this.build(!e),this},s.normalizePathname=s.normalizePath,s.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},s.normalizeFragment=function(e){return this._parts.fragment||(this._parts.fragment=null,this.build(!e)),this},s.normalizeSearch=s.normalizeQuery,s.normalizeHash=s.normalizeFragment,s.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},s.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},s.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,s=t._parts.query.split("&"),a=s.length;r<a;r++){var c=(s[r]||"").split("=");n+="&"+i.decodeQuery(c[0],this._parts.escapeQuerySpace).replace(/&/g,"%26"),void 0!==c[1]&&(n+="="+i.decodeQuery(c[1],this._parts.escapeQuerySpace).replace(/&/g,"%26"))}o+="?"+n.substring(1)}return o+i.decodeQuery(t.hash(),!0)},s.absoluteTo=function(e){var t,o,n,r=this.clone(),s=["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=s[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},s.relativeTo=function(e){var t,o,n,r,s,a=this.clone().normalize();if(a._parts.urn)throw new Error("URNs do not have any generally defined hierarchical components");if(e=new i(e).normalize(),t=a._parts,o=e._parts,r=a.path(),s=e.path(),"/"!==r.charAt(0))throw new Error("URI is already relative");if("/"!==s.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 a.build();if(null!==t.protocol||null!==t.username||null!==t.password)return a.build();if(t.hostname!==o.hostname||t.port!==o.port)return a.build();if(t.hostname=null,t.port=null,r===s)return t.path="",a.build();if(!(n=i.commonPath(r,s)))return a.build();var c=o.path.substring(n.length).replace(/[^\/]*$/,"").replace(/.*?\//g,"../");return t.path=c+t.path.substring(n.length)||"./",a.build()},s.equals=function(e){var t,o,n,r,s,c=this.clone(),l=new i(e),p={};if(c.normalize(),l.normalize(),c.toString()===l.toString())return!0;if(n=c.query(),r=l.query(),c.query(""),l.query(""),c.toString()!==l.toString())return!1;if(n.length!==r.length)return!1;for(s in t=i.parseQuery(n,this._parts.escapeQuerySpace),o=i.parseQuery(r,this._parts.escapeQuerySpace),t)if(a.call(t,s)){if(u(t[s])){if(!h(t[s],o[s]))return!1}else if(t[s]!==o[s])return!1;p[s]=!0}for(s in o)if(a.call(o,s)&&!p[s])return!1;return!0},s.preventInvalidHostname=function(e){return this._parts.preventInvalidHostname=!!e,this},s.duplicateQueryParameters=function(e){return this._parts.duplicateQueryParameters=!!e,this},s.escapeQuerySpace=function(e){return this._parts.escapeQuerySpace=!!e,this},i}))},function(e,t){e.exports=window.wp.blockEditor},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 s="object"==typeof n&&n;s.global!==s&&s.window!==s&&s.self;var a,c=2147483647,l=/^xn--/,u=/[^\x20-\x7E]/,p=/[\x2E\u3002\uFF0E\uFF61]/g,d={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},h=Math.floor,m=String.fromCharCode;function f(e){throw new RangeError(d[e])}function g(e,t){for(var o=e.length,n=[];o--;)n[o]=t(e[o]);return n}function b(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 y(e){return g(e,(function(e){var t="";return e>65535&&(t+=m((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+m(e)})).join("")}function w(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function k(e,t,o){var n=0;for(e=o?h(e/700):e>>1,e+=h(e/t);e>455;n+=36)e=h(e/35);return h(n+36*e/(e+38))}function I(e){var t,o,n,r,i,s,a,l,u,p,d,m=[],g=e.length,b=0,v=128,w=72;for((o=e.lastIndexOf("-"))<0&&(o=0),n=0;n<o;++n)e.charCodeAt(n)>=128&&f("not-basic"),m.push(e.charCodeAt(n));for(r=o>0?o+1:0;r<g;){for(i=b,s=1,a=36;r>=g&&f("invalid-input"),((l=(d=e.charCodeAt(r++))-48<10?d-22:d-65<26?d-65:d-97<26?d-97:36)>=36||l>h((c-b)/s))&&f("overflow"),b+=l*s,!(l<(u=a<=w?1:a>=w+26?26:a-w));a+=36)s>h(c/(p=36-u))&&f("overflow"),s*=p;w=k(b-i,t=m.length+1,0==i),h(b/t)>c-v&&f("overflow"),v+=h(b/t),b%=t,m.splice(b++,0,v)}return y(m)}function O(e){var t,o,n,r,i,s,a,l,u,p,d,g,b,y,I,O=[];for(g=(e=v(e)).length,t=128,o=0,i=72,s=0;s<g;++s)(d=e[s])<128&&O.push(m(d));for(n=r=O.length,r&&O.push("-");n<g;){for(a=c,s=0;s<g;++s)(d=e[s])>=t&&d<a&&(a=d);for(a-t>h((c-o)/(b=n+1))&&f("overflow"),o+=(a-t)*b,t=a,s=0;s<g;++s)if((d=e[s])<t&&++o>c&&f("overflow"),d==t){for(l=o,u=36;!(l<(p=u<=i?1:u>=i+26?26:u-i));u+=36)I=l-p,y=36-p,O.push(m(w(p+I%y,0))),l=h(I/y);O.push(m(w(l,0))),i=k(o,b,n==r),o=0,++n}++o,++t}return O.join("")}a={version:"1.3.2",ucs2:{decode:v,encode:y},decode:I,encode:O,toASCII:function(e){return b(e,(function(e){return u.test(e)?"xn--"+O(e):e}))},toUnicode:function(e){return b(e,(function(e){return l.test(e)?I(e.slice(4).toLowerCase()):e}))}},void 0===(r=function(){return a}.call(t,o,t,e))||(e.exports=r)}()}).call(this,o(30)(e),o(31))},function(e,t,o){var n,r;!function(i,s){"use strict";e.exports?e.exports=s():void 0===(r="function"==typeof(n=s)?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 s=0;s<i;s++){o=n[s].split("");for(var a=0;a<3&&"0"===o[0]&&o.length>1;a++)o.splice(0,1);n[s]=o.join("")}var c=-1,l=0,u=0,p=-1,d=!1;for(s=0;s<i;s++)d?"0"===n[s]?u+=1:(d=!1,u>l&&(c=p,l=u)):"0"===n[s]&&(d=!0,p=s,u=1);u>l&&(c=p,l=u),l>1&&n.splice(c,l,""),r=n.length;var h="";for(""===n[0]&&(h=":"),s=0;s<r&&(h+=n[s],s!==r-1);s++)h+=":";return""===n[r-1]&&(h+=":"),h},noConflict:function(){return e.IPv6===this&&(e.IPv6=t),this}}}))},function(e,t,o){var n,r;!function(i,s){"use strict";e.exports?e.exports=s():void 0===(r="function"==typeof(n=s)?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=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n},e.exports.default=e.exports,e.exports.__esModule=!0},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){e.exports=window.wp.tokenList},function(e,t){e.exports=window.React},function(e,t,o){var n=o(34),r=o(35),i=o(36),s=o(37);e.exports=function(e){return n(e)||r(e)||i(e)||s()},e.exports.default=e.exports,e.exports.__esModule=!0},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){function o(t,n){return e.exports=o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports.default=e.exports,e.exports.__esModule=!0,o(t,n)}e.exports=o,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function o(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=o=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=o=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),o(t)}e.exports=o,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,o){var n=o(23);e.exports=function(e){if(Array.isArray(e))return n(e)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,o){var n=o(23);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?n(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,o){"use strict";o.r(t);var n=o(24),r=o.n(n),i=o(0),s=o(3),a=(o(29),o(11)),c=Object(i.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 225.43 225.56"},Object(i.createElement)(a.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)(a.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)(a.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)(a.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)(a.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)(a.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)(a.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)(a.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)"})),l=o(4),u=o.n(l),p=o(8),d=o.n(p),h=o(9),m=o.n(h),f=o(16),g=o.n(f),b=o(25),v=o.n(b);function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}var w=wpzSocialIconsBlock.icons,k=function(){function e(){d()(this,e)}return m()(e,null,[{key:"filterIcons",value:function(e){var t={};return""===e?w:(Object(s.forEach)(w,(function(o,n){t[n]=o.filter((function(t){return Object(s.isObject)(t)?t.icon.indexOf(e)>-1:t.indexOf(e)>-1}))})),t)}},{key:"filterUrlScheme",value:function(e){var 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","t.me":"telegram","wa.me":"whatsapp","zen.yandex.com":"zen-yandex","zen.yandex.ru":"zen-yandex"},n=new g.a(e),r=void 0!==n.domain()?n.domain().split(".").shift():n.scheme(),i=Object(s.findKey)(t,(function(e,t){return t===n.scheme()}));r=void 0!==i?t[i]:r;var a=Object(s.findKey)(o,(function(e,t){return t===n.hostname()}));return void 0!==a?o[a]:r}},{key:"hyphensToSpaces",value:function(e){return e.replace(/-/g," ")}},{key:"capitalize",value:function(e){return"string"!=typeof e?"":e.charAt(0).toUpperCase()+e.slice(1)}},{key:"humanizeIconLabel",value:function(e){return this.hyphensToSpaces(this.capitalize(e))}},{key:"getBlockStyle",value:function(e){var t=/is-style-(\S*)/g.exec(e);return null!==t?t[1]:null}},{key:"getIconClassList",value:function(e,t){var o={"social-icon":!0};return o[e]=!0,["fab","fas","far"].includes(e)?o["fa-"+t]=!0:o[e+"-"+t]=!0,o}},{key:"addPercentagePipe",value:function(e){return"".concat(e,"%")}},{key:"addPercentageHalfPipe",value:function(e){return"".concat(.5*e,"%/").concat(e,"%")}},{key:"addPixelsPipe",value:function(e){return"".concat(e,"px")}},{key:"arrayMoveMutate",value:function(e,t,o){e.splice(o<0?e.length+o:o,0,e.splice(t,1)[0])}},{key:"arrayMove",value:function(e,t,o){return e=e.slice(),this.arrayMoveMutate(e,t,o),e}},{key:"getActiveStyle",value:function(e,t){var o,n=function(e,t){var o="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!o){if(Array.isArray(e)||(o=function(e,t){if(e){if("string"==typeof e)return y(e,void 0);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?y(e,void 0):void 0}}(e))||t&&e&&"number"==typeof e.length){o&&(e=o);var n=0,r=function(){};return{s:r,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,a=!1;return{s:function(){o=o.call(e)},n:function(){var e=o.next();return s=e.done,e},e:function(e){a=!0,i=e},f:function(){try{s||null==o.return||o.return()}finally{if(a)throw i}}}}(new v.a(t).values());try{for(n.s();!(o=n.n()).done;){var r=o.value;if(-1!==r.indexOf("is-style-")){var i=r.substring(9),a=Object(s.find)(e,{name:i});if(a)return a}}}catch(e){n.e(e)}finally{n.f()}return Object(s.find)(e,["isDefault",!0])}}]),e}(),I=o(6),O=o.n(I),A=o(5),j=o.n(A),C=o(12),x=o.n(C),E=o(13),z=o.n(E),S=o(7),_=o.n(S),P=o(1);var B=function(e){x()(r,e);var t,o,n=(t=r,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=_()(t);if(o){var r=_()(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return z()(this,e)});function r(){var e;d()(this,r);for(var t=arguments.length,o=new Array(t),i=0;i<t;i++)o[i]=arguments[i];return e=n.call.apply(n,[this].concat(o)),u()(j()(e),"state",{color:e.props.color,showColorPicker:!1}),u()(j()(e),"onClickColorIndicatorHandler",(function(){e.setState({showColorPicker:!0})})),u()(j()(e),"setColorPickerHandler",(function(t){e.setState({color:t.hex},(function(){e.props.save(e.state)}))})),u()(j()(e),"focusOutsideHandler",(function(){e.setState({showColorPicker:!1})})),e}return m()(r,[{key:"render",value:function(){return Object(i.createElement)(P.ColorIndicator,{title:this.props.title,className:this.props.className,colorValue:this.state.color,onClick:this.onClickColorIndicatorHandler},this.state.showColorPicker&&Object(i.createElement)(P.Popover,{position:"middle right",onFocusOutside:this.focusOutsideHandler},Object(i.createElement)("div",{className:"popover-content"},Object(i.createElement)(P.ColorPicker,{className:"wpzoom-color-picker",disableAlpha:!0,color:this.state.color,onChangeComplete:this.setColorPickerHandler}))))}}]),r}(i.Component);var R=function(e){x()(r,e);var t,o,n=(t=r,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=_()(t);if(o){var r=_()(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return z()(this,e)});function r(){var e;d()(this,r);for(var t=arguments.length,o=new Array(t),i=0;i<t;i++)o[i]=arguments[i];return e=n.call.apply(n,[this].concat(o)),u()(j()(e),"state",{isHover:!1}),u()(j()(e),"onMouseEnterCallback",(function(){e.setState({isHover:!0})})),u()(j()(e),"onMouseLeaveCallback",(function(){e.setState({isHover:!1})})),e}return m()(r,[{key:"render",value:function(){var e=this;return Object(i.createElement)("span",{ref:this.props.setRef,onClick:function(){return e.props.click(e.props.icon)},className:O()(k.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})}}]),r}(i.Component),Q=o(26),H=o.n(Q),F=o(2);var N=wpzSocialIconsBlock.iconKitsCategories,L=function(e){x()(r,e);var t,o,n=(t=r,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=_()(t);if(o){var r=_()(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return z()(this,e)});function r(e){var t;return d()(this,r),t=n.call(this,e),u()(j()(t),"state",{modalShow:t.props.show,modalUrl:t.props.url,modalLabel:t.props.label,modalIcon:t.props.icon,modalIconKit:t.props.iconKit,modalColor:t.props.color,modalHoverColor:t.props.hoverColor,modalSearch:""}),u()(j()(t),"urlTextControlHandler",(function(e){var o={modalUrl:e=Object(s.isEmpty)(new g.a(e).protocol())?"https://".concat(e):e},n=k.filterUrlScheme(e);if(n){var r=k.filterIcons(n);r[t.state.modalIconKit].length&&(o.modalIcon=r[t.state.modalIconKit][0].icon)}t.setState(o)})),u()(j()(t),"labelTextControlHandler",(function(e){t.setState({modalLabel:e})})),u()(j()(t),"searchTextControlHandler",(function(e){t.setState({modalSearch:e})})),u()(j()(t),"saveColorPickerHandler",(function(e){t.setState({modalColor:e.color})})),u()(j()(t),"saveHoverColorPickerHandler",(function(e){t.setState({modalHoverColor:e.color})})),u()(j()(t),"onClickIconHandler",(function(e){t.setState({modalIcon:e,modalLabel:k.humanizeIconLabel(e)})})),u()(j()(t),"scrollMe",(function(){var e=t.myRef.current;null!==e&&e.scrollIntoView(!0)})),t.myRef=H.a.createRef(),t.scrollMeDebounced=Object(s.debounce)(t.scrollMe,1e3),t}return m()(r,[{key:"componentDidUpdate",value:function(){this.scrollMeDebounced()}},{key:"render",value:function(){var e=this;if(!this.state.modalShow)return null;var t=Object.keys(k.filterIcons(this.state.modalSearch)).map((function(t,o){return Object(i.createElement)("div",{key:o,className:O()("option-item","icon-kit","".concat(t,"-wrapper")),style:{display:e.state.modalIconKit===t?"block":"none"}},k.filterIcons(e.state.modalSearch)[t].map((function(o,n){return Object(i.createElement)(R,{key:n,setRef:e.state.modalIcon===o.icon&&e.state.modalIconKit===t?e.myRef:null,color:e.state.modalColor,hoverColor:e.state.modalHoverColor,icon:o.icon,click:e.onClickIconHandler,isSelected:e.state.modalIcon===o.icon,iconKit:t})})))}));return Object(i.createElement)(P.Modal,{className:O()("wpzoom-social-icons-modal",this.props.className),style:{"--wpz-social-icons-block-modal-item-border-radius":k.addPixelsPipe(this.props.iconsBorderRadius)},title:Object(F.__)("Select Icon","zoom-social-icons-widget"),shouldCloseOnClickOutside:!1,onRequestClose:function(){return e.props.onClose(e.state)}},Object(i.createElement)("div",{className:"modal-content"},Object(i.createElement)("div",{className:"option-item"},Object(i.createElement)("div",{className:"label"},Object(F.__)("URL","zoom-social-icons-widget")),Object(i.createElement)("div",{className:"option-wrapper"},Object(i.createElement)(P.TextControl,{value:this.state.modalUrl,onChange:this.urlTextControlHandler}))),this.props.showIconsLabel?Object(i.createElement)("div",{className:"option-item"},Object(i.createElement)("div",{className:"label"},Object(F.__)("Label","zoom-social-icons-widget")),Object(i.createElement)("div",{className:"option-wrapper"},Object(i.createElement)(P.TextControl,{value:this.state.modalLabel,onChange:this.labelTextControlHandler}))):null,Object(i.createElement)("div",{className:"option-item"},Object(i.createElement)("div",{className:"label"},Object(F.__)("Pick icon color","zoom-social-icons-widget")),Object(i.createElement)("div",{className:"option-wrapper"},Object(i.createElement)(B,{save:this.saveColorPickerHandler,color:this.state.modalColor}))),Object(i.createElement)("div",{className:"option-item"},Object(i.createElement)("div",{className:"label"},Object(F.__)("Pick hover color","zoom-social-icons-widget")),Object(i.createElement)("div",{className:"option-wrapper"},Object(i.createElement)(B,{save:this.saveHoverColorPickerHandler,color:this.state.modalHoverColor}))),Object(i.createElement)("div",{className:"option-item"},Object(i.createElement)("div",{className:"label"},Object(F.__)("Select Icon Kit","zoom-social-icons-widget")),Object(i.createElement)("div",{className:"option-wrapper"},Object(i.createElement)(P.SelectControl,{value:this.state.modalIconKit,onChange:function(t){e.setState({modalIconKit:t})},options:Object.values(N)}))),Object(i.createElement)("div",{className:"option-item icon-kits-wrapper"},t)),Object(i.createElement)("div",{className:"modal-controls"},Object(i.createElement)("div",{className:"modal-search"},Object(i.createElement)(P.TextControl,{placeholder:Object(F.__)("Type to search icon","zoom-social-icons-widget"),value:this.state.modalSearch,onChange:this.searchTextControlHandler})),Object(i.createElement)("div",{className:"modal-buttons"},this.props.showDeleteBtn&&Object(i.createElement)(P.Button,{className:"button-link-delete is-button",onClick:function(){return e.props.delete()}},Object(F.__)("Delete Icon","zoom-social-icons-widget")),Object(i.createElement)(P.Button,{isPrimary:!0,onClick:function(){return e.props.save(e.state)}},Object(F.__)("Save","zoom-social-icons-widget")))))}}],[{key:"getDerivedStateFromProps",value:function(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}}]),r}(i.Component),M=o(27),U=o.n(M),V=o(17);var T=function(e){x()(r,e);var t,o,n=(t=r,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=_()(t);if(o){var r=_()(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return z()(this,e)});function r(e){var t;return d()(this,r),t=n.apply(this,arguments),u()(j()(t),"state",{selectedIcons:JSON.parse(JSON.stringify(t.props.attributes.selectedIcons))}),u()(j()(t),"setAlignment",(function(e){t.props.setAttributes({iconsAlignment:e})})),t}return m()(r,[{key:"getBlockStyle",value:function(e){var t=k.getBlockStyle(e);return null===t?"with-canvas-round":t}},{key:"render",value:function(){var e=this,t=[{name:Object(F.__)("Turquoise","zoom-social-icons-widget"),color:"#4ECDC4"},{name:Object(F.__)("Charcoal","zoom-social-icons-widget"),color:"#2E3131"},{name:Object(F.__)("White","zoom-social-icons-widget"),color:"#fff"},{name:Object(F.__)("Dodger blue","zoom-social-icons-widget"),color:"#22A7F0"},{name:Object(F.__)("Red","zoom-social-icons-widget"),color:"#D91E18"},{name:Object(F.__)("Orange","zoom-social-icons-widget"),color:"#F89406"}],o=this.props.setAttributes,n="left"===this.props.attributes.iconsAlignment,r="center"===this.props.attributes.iconsAlignment,s="right"===this.props.attributes.iconsAlignment;return Object(i.createElement)(V.InspectorControls,null,Object(i.createElement)(P.PanelBody,{title:Object(F.__)("Icon Labels Settings","zoom-social-icons-widget")},Object(i.createElement)(P.PanelRow,null,Object(i.createElement)("label",{htmlFor:"show-icon-labels"},Object(F.__)(" Show icon labels?","zoom-social-icons-widget")),Object(i.createElement)(P.FormToggle,{id:"show-icon-labels",label:Object(F.__)(" Show icon labels?","zoom-social-icons-widget"),checked:this.props.attributes.showIconsLabel,onChange:function(){o({showIconsLabel:!e.props.attributes.showIconsLabel})}})),Object(i.createElement)(P.PanelRow,null,Object(i.createElement)("label",{htmlFor:"open-link-in-new-tab"},Object(F.__)("Open links in new tab?","zoom-social-icons-widget")),Object(i.createElement)(P.FormToggle,{id:"open-link-in-new-tab",label:Object(F.__)("Open links in new tab?","zoom-social-icons-widget"),checked:this.props.attributes.openLinkInNewTab,onChange:function(){o({openLinkInNewTab:!e.props.attributes.openLinkInNewTab})}})),!this.props.attributes.openLinkInNewTab&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)(P.PanelRow,null,Object(i.createElement)("label",{htmlFor:"add-nofollow-to-links"},Object(F.__)('Add rel="nofollow" to links',"zoom-social-icons-widget")),Object(i.createElement)(P.FormToggle,{id:"add-nofollow-to-links",label:Object(F.__)('Add rel="nofollow" to links',"zoom-social-icons-widget"),checked:this.props.attributes.nofollow,onChange:function(){o({nofollow:!e.props.attributes.nofollow})}})),Object(i.createElement)(P.PanelRow,null,Object(i.createElement)("label",{htmlFor:"add-noreferrer-to-links"},Object(F.__)('Add rel="noreferrer" to links',"zoom-social-icons-widget")),Object(i.createElement)(P.FormToggle,{id:"add-noreferrer-to-links",label:Object(F.__)('Add rel="noreferrer" to links',"zoom-social-icons-widget"),checked:this.props.attributes.noreferrer,onChange:function(){o({noreferrer:!e.props.attributes.noreferrer})}})),Object(i.createElement)(P.PanelRow,null,Object(i.createElement)("label",{htmlFor:"add-noopener-to-links"},Object(F.__)('Add rel="noopener" to links',"zoom-social-icons-widget")),Object(i.createElement)(P.FormToggle,{id:"add-noopener-to-links",label:Object(F.__)('Add rel="noopener" to links',"zoom-social-icons-widget"),checked:this.props.attributes.noopener,onChange:function(){o({noopener:!e.props.attributes.noopener})}})))),Object(i.createElement)(P.PanelBody,{title:Object(F.__)("Icon Styling Settings","zoom-social-icons-widget")},this.props.attributes.iconsHasBorder?Object(i.createElement)(i.Fragment,null,Object(i.createElement)(P.PanelRow,null,Object(i.createElement)("label",{htmlFor:"icons-border-radius"},Object(F.__)("Icons Border Radius:","zoom-social-icons-widget"))),Object(i.createElement)(P.PanelRow,null,Object(i.createElement)(P.RangeControl,{id:"icons-border-radius",min:0,max:55,value:this.props.attributes.iconsBorderRadius,onChange:function(e){o({iconsBorderRadius:e})}}))):null,Object(i.createElement)(P.PanelRow,null,Object(i.createElement)("label",{htmlFor:"add-noopener-to-links"},Object(F.__)("Icons Alignment:","zoom-social-icons-widget"))),Object(i.createElement)(P.PanelRow,null,Object(i.createElement)(P.ButtonGroup,null,Object(i.createElement)(P.Button,{onClick:function(){return e.setAlignment("left")},isPrimary:n,isSecondary:!n},"Left"),Object(i.createElement)(P.Button,{onClick:function(){return e.setAlignment("center")},isPrimary:r,isSecondary:!r},"Center"),Object(i.createElement)(P.Button,{onClick:function(){return e.setAlignment("right")},isPrimary:s,isSecondary:!s},"Right"))),Object(i.createElement)(P.PanelRow,null,Object(i.createElement)("label",{htmlFor:"icons-font-size"},Object(F.__)("Icons Font Size:","zoom-social-icons-widget"))),Object(i.createElement)(P.PanelRow,null,Object(i.createElement)(P.RangeControl,{id:"icons-font-size",min:0,max:200,value:this.props.attributes.iconsFontSize,onChange:function(e){o({iconsFontSize:e})}})),this.props.attributes.showIconsLabel?Object(i.createElement)(i.Fragment,null,Object(i.createElement)(P.PanelRow,null,Object(i.createElement)("label",{htmlFor:"icons-label-font-size"},Object(F.__)("Icons Label Font Size:","zoom-social-icons-widget"))),Object(i.createElement)(P.PanelRow,null,Object(i.createElement)(P.RangeControl,{id:"icons-label-font-size",min:0,max:200,value:this.props.attributes.iconsLabelFontSize,onChange:function(e){o({iconsLabelFontSize:e})}}))):null,Object(i.createElement)(P.PanelRow,null,Object(i.createElement)("label",{htmlFor:"icons-padding"},Object(F.__)("Icons Padding Horizontal:","zoom-social-icons-widget"))),Object(i.createElement)(P.PanelRow,null,Object(i.createElement)(P.RangeControl,{id:"icons-padding-horizontal",beforeIcon:"image-flip-horizontal",value:this.props.attributes.iconsPaddingHorizontal,onChange:function(e){return o({iconsPaddingHorizontal:e})},min:0,max:200})),Object(i.createElement)(P.PanelRow,null,Object(i.createElement)("label",{htmlFor:"icons-padding"},Object(F.__)("Icons Padding Vertical:","zoom-social-icons-widget"))),Object(i.createElement)(P.PanelRow,null,Object(i.createElement)(P.RangeControl,{id:"icons-padding-vertical",beforeIcon:"image-flip-vertical",value:this.props.attributes.iconsPaddingVertical,onChange:function(e){return o({iconsPaddingVertical:e})},min:0,max:200})),Object(i.createElement)(P.PanelRow,null,Object(i.createElement)("label",{htmlFor:"icons-margin-horizontal"},Object(F.__)("Icons Margin Horizontal:","zoom-social-icons-widget"))),Object(i.createElement)(P.PanelRow,null,Object(i.createElement)(P.RangeControl,{id:"icons-margin-horizontal",beforeIcon:"image-flip-horizontal",value:this.props.attributes.iconsMarginHorizontal,onChange:function(e){return o({iconsMarginHorizontal:e})},min:0,max:200})),Object(i.createElement)(P.PanelRow,null,Object(i.createElement)("label",{htmlFor:"icons-margin-vertical"},Object(F.__)("Icons Margin Vertical:","zoom-social-icons-widget"))),Object(i.createElement)(P.PanelRow,null,Object(i.createElement)(P.RangeControl,{id:"icons-margin-vertical",beforeIcon:"image-flip-vertical",value:this.props.attributes.iconsMarginVertical,onChange:function(e){return o({iconsMarginVertical:e})},min:0,max:200}))),Object(i.createElement)(P.PanelBody,{title:Object(F.__)("Icon Color Settings","zoom-social-icons-widget")},Object(i.createElement)(P.PanelRow,null,Object(i.createElement)("label",{htmlFor:"icon-color"},Object(F.__)("Set color for all icons","zoom-social-icons-widget")),Object(i.createElement)(P.ColorIndicator,{colorValue:this.props.attributes.iconsColor})),Object(i.createElement)(P.PanelRow,null,Object(i.createElement)(P.ColorPalette,{id:"icon-color",colors:t,value:this.props.attributes.iconsColor,onChange:function(t){var n=JSON.parse(JSON.stringify(e.props.attributes.selectedIcons));n.map((function(o,n){return o.color=void 0===t?e.state.selectedIcons[n].color:t,o})),o({iconsColor:t,selectedIcons:n})}})),Object(i.createElement)(P.PanelRow,null,Object(i.createElement)("label",{htmlFor:"icon-hover-color"},Object(F.__)("Set hover color for all icons","zoom-social-icons-widget")),Object(i.createElement)(P.ColorIndicator,{colorValue:this.props.attributes.iconsHoverColor})),Object(i.createElement)(P.PanelRow,null,Object(i.createElement)(P.ColorPalette,{id:"icon-hover-color",colors:t,value:this.props.attributes.iconsHoverColor,onChange:function(t){var n=U()(e.props.attributes.selectedIcons);n.map((function(o,n){return o.hoverColor=void 0===t?e.state.selectedIcons[n].hoverColor:t,o})),o({iconsHoverColor:t,selectedIcons:n})}})),this.props.attributes.showIconsLabel?Object(i.createElement)(i.Fragment,null,Object(i.createElement)(P.PanelRow,null,Object(i.createElement)("label",{htmlFor:"icon-label-color"},Object(F.__)("Set color for all label icons","zoom-social-icons-widget")),Object(i.createElement)(P.ColorIndicator,{colorValue:this.props.attributes.iconsLabelColor})),Object(i.createElement)(P.PanelRow,null,Object(i.createElement)(P.ColorPalette,{id:"icon-label-color",colors:t,value:this.props.attributes.iconsLabelColor,onChange:function(e){o({iconsLabelColor:e})}})),Object(i.createElement)(P.PanelRow,null,Object(i.createElement)("label",{htmlFor:"icon-hover-label-color"},Object(F.__)("Set hover color for all label icons","zoom-social-icons-widget")),Object(i.createElement)(P.ColorIndicator,{colorValue:this.props.attributes.iconsLabelHoverColor})),Object(i.createElement)(P.PanelRow,null,Object(i.createElement)(P.ColorPalette,{id:"icon-hover-label-color",colors:t,value:this.props.attributes.iconsLabelHoverColor,onChange:function(e){o({iconsLabelHoverColor:e})}}))):null))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return t.selectedIcons.length!==e.attributes.selectedIcons.length?{selectedIcons:JSON.parse(JSON.stringify(e.attributes.selectedIcons))}:null}}]),r}(i.Component);var K=function(e){x()(r,e);var t,o,n=(t=r,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=_()(t);if(o){var r=_()(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return z()(this,e)});function r(){var e;d()(this,r);for(var t=arguments.length,o=new Array(t),i=0;i<t;i++)o[i]=arguments[i];return e=n.call.apply(n,[this].concat(o)),u()(j()(e),"state",{searchValue:e.props.value}),u()(j()(e),"onChangeTextControlHandler",(function(t){e.setState({searchValue:t})})),u()(j()(e),"onKeyDownHandler",(function(t){t.stopPropagation(),"Enter"===t.key&&e.props.save(t,e.state.searchValue)})),u()(j()(e),"onClickHandler",(function(t){t.stopPropagation(),e.props.save(t,e.state.searchValue)})),e}return m()(r,[{key:"render",value:function(){return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(P.TextControl,{className:"url-input",type:"text",value:this.state.searchValue,onChange:this.onChangeTextControlHandler,onKeyDown:this.onKeyDownHandler}),Object(i.createElement)(P.Button,{icon:"editor-break",label:Object(F.__)("Apply","zoom-social-icons-widget"),onClick:this.onClickHandler,className:["is-button","button-small","is-default","url-button"]}))}}]),r}(i.Component),D=function(e){return e.isActive&&Object(i.createElement)(P.ButtonGroup,{className:O()("sortable-arrows")},Object(i.createElement)(P.Button,{className:O()("arrow-btn"),isSmall:!0,disabled:0===e.itemKey,onClick:function(t){return e.left(t,e.itemKey)}},Object(i.createElement)(P.Icon,{icon:"arrow-left-alt2",label:"Move Left",size:14,className:O()("arrow-icon")})),Object(i.createElement)(P.Button,{className:O()("arrow-btn"),isSmall:!0,disabled:e.itemKey===e.length-1,onClick:function(t){return e.right(t,e.itemKey)}},Object(i.createElement)(P.Icon,{icon:"arrow-right-alt2",label:"Move Right",size:14,className:O()("arrow-icon")})))},X=o(14),W=o(18);class Z extends i.Component{constructor(...e){super(...e),u()(this,"closeModal",()=>{this.props.setAttributes({showModal:!1})}),u()(this,"getIconsAlignmentStyle",e=>({left:"flex-start",right:"flex-end",center:"center"}[e])),u()(this,"setAlignment",e=>{this.props.setAttributes({iconsAlignment:e})}),u()(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})}),u()(this,"insertIcon",e=>{if(e.preventDefault(),e.stopPropagation(),0===e.detail)return;const t=this.getStyleVariations(k.getBlockStyle(this.props.className)),o={url:"https://wordpress.org",icon:"wordpress",iconKit:"socicon",color:"#444140",hoverColor:"#444140",label:"WordPress",showPopover:!0,isActive:!0};Object(s.isEmpty)(t.defaultIcon.color)||(o.color=t.defaultIcon.color),Object(s.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})}),u()(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})}),u()(this,"popoverCloseHandler",e=>{const t=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons));t[e].showPopover=!1,this.props.setAttributes({selectedIcons:t})}),u()(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})}),u()(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})}),u()(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})}),u()(this,"popoverSearchHandler",(e,t)=>{t=Object(s.isEmpty)(new g.a(t).protocol())?"https://"+t:t;const o=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons)),n=k.filterUrlScheme(t);if(n){const t=k.filterIcons(n);t[o[e].iconKit].length&&(o[e].icon=t[o[e].iconKit][0].icon,t[o[e].iconKit][0].color&&(o[e].color=t[o[e].iconKit][0].color,o[e].hoverColor=t[o[e].iconKit][0].color),o[e].label=k.humanizeIconLabel(n))}o[e].url=t,o[e].showPopover=!1,this.props.setAttributes({selectedIcons:o})}),u()(this,"moveLeftHandler",(e,t)=>{let o=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons));o=k.arrayMove(o,t,t-1),this.props.setAttributes({selectedIcons:o,activeIconIndex:t-1})}),u()(this,"moveRightHandler",(e,t)=>{let o=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons));o=k.arrayMove(o,t,t+1),this.props.setAttributes({selectedIcons:o,activeIconIndex:t+1})}),u()(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.openLinkInNewTab&&(e=["noopener","noreferrer"]),e})}getStyleVariations(e){const t={"with-label-canvas-rounded":{canvasType:"with-label-canvas",showIconsLabel:!0,iconsColor:"#2f4974",iconsLabelColor:"#fff",iconsHoverColor:"#2f4974",iconsLabelHoverColor:"#fff",iconsFontSize:20,iconsLabelFontSize:15,iconsPaddingHorizontal:5,iconsPaddingVertical:5,iconsMarginHorizontal:5,iconsMarginVertical:5,iconsHasBorder:!0,iconsBorderRadius:50,wasStyled:!0,defaultIcon:{icon:"facebook",color:"#2f4974",hoverColor:"#2f4974"}},"with-canvas-rounded":{canvasType:"with-canvas",showIconsLabel:!1,iconsColor:!1,iconsLabelColor:"#2e3131",iconsHoverColor:!1,iconsLabelHoverColor:"#2e3131",iconsFontSize:20,iconsLabelFontSize:20,iconsPaddingHorizontal:10,iconsPaddingVertical:10,iconsMarginHorizontal:5,iconsMarginVertical:5,iconsHasBorder:!0,iconsBorderRadius:10,wasStyled:!0,defaultIcon:{icon:"facebook",color:"#3b5998",hoverColor:"#3b5998"},selectedIcons:[{icon:"facebook",color:"#3b5998",hoverColor:"#3b5998"},{icon:"twitter",color:"#1da1f2",hoverColor:"#1da1f2"},{icon:"instagram",color:"#E44060",hoverColor:"#E44060"}]},"with-canvas-round":{canvasType:"with-canvas",showIconsLabel:!1,iconsColor:!1,iconsLabelColor:"#2e3131",iconsHoverColor:!1,iconsLabelHoverColor:"#2e3131",iconsFontSize:20,iconsLabelFontSize:20,iconsPaddingHorizontal:10,iconsPaddingVertical:10,iconsMarginHorizontal:5,iconsMarginVertical:5,iconsHasBorder:!0,iconsBorderRadius:50,wasStyled:!0,defaultIcon:{icon:"facebook",color:"#3b5998",hoverColor:"#3b5998"},selectedIcons:[{icon:"facebook",color:"#3b5998",hoverColor:"#3b5998"},{icon:"twitter",color:"#1da1f2",hoverColor:"#1da1f2"},{icon:"instagram",color:"#E44060",hoverColor:"#E44060"}]},"with-canvas-squared":{canvasType:"with-canvas",showIconsLabel:!1,iconsColor:!1,iconsLabelColor:"#2e3131",iconsHoverColor:!1,iconsLabelHoverColor:"#2e3131",iconsFontSize:20,iconsLabelFontSize:20,iconsPaddingHorizontal:10,iconsPaddingVertical:10,iconsMarginHorizontal:5,iconsMarginVertical:5,iconsBorderRadius:0,iconsHasBorder:!0,wasStyled:!0,defaultIcon:{icon:"facebook",color:"#3b5998",hoverColor:"#3b5998"},selectedIcons:[{icon:"facebook",color:"#3b5998",hoverColor:"#3b5998"},{icon:"twitter",color:"#1da1f2",hoverColor:"#1da1f2"},{icon:"instagram",color:"#E44060",hoverColor:"#E44060"}]},"without-canvas":{canvasType:"without-canvas",showIconsLabel:!1,iconsColor:!1,iconsLabelColor:"#2e3131",iconsHoverColor:!1,iconsLabelHoverColor:"#2e3131",iconsFontSize:20,iconsLabelFontSize:20,iconsPaddingHorizontal:10,iconsPaddingVertical:10,iconsMarginHorizontal:5,iconsMarginVertical:5,iconsHasBorder:!1,wasStyled:!0,defaultIcon:{icon:"facebook",color:"#3b5998",hoverColor:"#3b5998"},selectedIcons:[{icon:"facebook",color:"#3b5998",hoverColor:"#3b5998"},{icon:"twitter",color:"#1da1f2",hoverColor:"#1da1f2"},{icon:"instagram",color:"#E44060",hoverColor:"#E44060"}]},"without-canvas-with-border":{canvasType:"without-canvas",showIconsLabel:!1,iconsColor:"#2f4974",iconsLabelColor:"#2f4974",iconsHoverColor:"#2f4974",iconsLabelHoverColor:"#2f4974",iconsFontSize:20,iconsLabelFontSize:20,iconsPaddingHorizontal:10,iconsPaddingVertical:10,iconsMarginHorizontal:5,iconsMarginVertical:5,iconsHasBorder:!0,iconsBorderRadius:0,wasStyled:!0,defaultIcon:{icon:"facebook",color:"#2f4974",hoverColor:"#2f4974"}},"without-canvas-with-label":{canvasType:"without-canvas",showIconsLabel:!0,iconsColor:"#2f4974",iconsLabelColor:"#2f4974",iconsHoverColor:"#2f4974",iconsLabelHoverColor:"#2f4974",iconsFontSize:40,iconsLabelFontSize:15,iconsPaddingHorizontal:10,iconsPaddingVertical:10,iconsMarginHorizontal:0,iconsMarginVertical:0,iconsHasBorder:!1,wasStyled:!0,defaultIcon:{icon:"facebook",color:"#2f4974",hoverColor:"#2f4974"}}};return Object(s.get)(t,e,!1)?Object(s.get)(t,e,!1):Object(s.get)(t,this.getActiveStyle())}getActiveStyle(){const{blockStyles:e}=this.props,t=k.getActiveStyle(e,this.props.className);return t&&t.name||""}componentDidUpdate(e,t){if(k.getBlockStyle(e.className)!==k.getBlockStyle(this.props.className)){const e=this.getStyleVariations(this.getActiveStyle());if(!Object(s.isEmpty)(e)){this.props.setAttributes(Object(s.omit)(e,["selectedIcons"]));const t=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons));Object(s.isEmpty)(e.selectedIcons)||(t.map(t=>{const o=Object(s.find)(e.selectedIcons,["icon",t.icon]);return t.color=Object(s.isEmpty)(o)?e.defaultIcon.color:o.color,t.hoverColor=Object(s.isEmpty)(o)?e.defaultIcon.hoverColor:o.hoverColor,t}),this.props.setAttributes({selectedIcons:t})),Object(s.isEmpty)(e.iconsColor)||t.map(t=>(t.color=e.iconsColor,t)),Object(s.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(s.isEmpty)(e)){e.wasStyled=!0,this.props.setAttributes(Object(s.omit)(e,["selectedIcons"]));const t=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons));Object(s.isEmpty)(e.selectedIcons)||t.map(t=>{const o=Object(s.find)(e.selectedIcons,["icon",t.icon]);return t.color=Object(s.isEmpty)(o)?e.defaultIcon.color:o.color,t.hoverColor=Object(s.isEmpty)(o)?e.defaultIcon.hoverColor:o.hoverColor,t}),Object(s.isEmpty)(e.iconsColor)||t.map(t=>(t.color=e.iconsColor,t)),Object(s.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;let{className:n}=this.props;null===k.getBlockStyle(n)&&(n=O()(n,"is-style-with-canvas-round"));const r=e.selectedIcons.map((n,r)=>{const s=e.showIconsLabel?Object(i.createElement)("span",{className:O()("icon-label")},n.label):"",a=this.getRelAttr();return Object(i.createElement)(i.Fragment,{key:r},Object(i.createElement)("a",{onClick:e=>this.onClickIconHandler(e,r,n),href:n.url,className:O()("social-icon-link",{selected:n.isActive}),target:e.openLinkInNewTab?"_blank":void 0,rel:a.length?a.join(" "):void 0,style:{"--wpz-social-icons-block-item-color":n.color,"--wpz-social-icons-block-item-color-hover":n.hoverColor}},Object(i.createElement)("span",{className:O()(k.getIconClassList(n.iconKit,n.icon))}),s,n.showPopover&&o&&Object(i.createElement)(P.Popover,{className:O()("wpzoom-social-icons-popover"),key:r,position:"bottom center",onClose:()=>this.popoverCloseHandler(r)},Object(i.createElement)("div",{className:O()("popover-content")},Object(i.createElement)("div",{className:O()("popover-url-wrapper")},Object(i.createElement)(K,{key:r,value:n.url,save:(e,t)=>this.popoverSearchHandler(r,t,e)})),Object(i.createElement)("div",{className:O()("popover-controls")},Object(i.createElement)(P.Button,{isLink:!0,onClick:e=>this.popoverEditSettingsHandler(e,r)},Object(F.__)("Edit Details","zoom-social-icons-widget")),Object(i.createElement)("div",{className:O()("popover-color-picker-wrapper")},Object(i.createElement)(B,{title:"Color",className:O()("popover-color-picker"),save:o=>{const n=[...e.selectedIcons];n[e.activeIconIndex].color=o.color,t({selectedIcons:n})},color:n.color}),Object(i.createElement)(B,{title:"Hover Color",className:O()("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)(P.Button,{onClick:e=>this.popoverDeleteIconHandler(e,r),className:["is-button","button-link-delete","is-small"]},Object(F.__)("Delete Icon","zoom-social-icons-widget"))))))),Object(i.createElement)(D,{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)(T,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:n,style:{"--wpz-social-icons-block-item-font-size":k.addPixelsPipe(e.iconsFontSize),"--wpz-social-icons-block-item-padding-horizontal":k.addPixelsPipe(e.iconsPaddingHorizontal),"--wpz-social-icons-block-item-padding-vertical":k.addPixelsPipe(e.iconsPaddingVertical),"--wpz-social-icons-block-item-margin-horizontal":k.addPixelsPipe(e.iconsMarginHorizontal),"--wpz-social-icons-block-item-margin-vertical":k.addPixelsPipe(e.iconsMarginVertical),"--wpz-social-icons-block-item-border-radius":k.addPixelsPipe(e.iconsBorderRadius),"--wpz-social-icons-block-label-font-size":k.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)}},r,o&&Object(i.createElement)(P.Button,{type:"button",onClick:this.insertIcon,style:{padding:e.iconsPadding},className:"insert-icon"},Object(i.createElement)(P.Icon,{icon:"insert",size:"20"})),e.selectedIcons[e.activeIconIndex]&&Object(i.createElement)(L,{className:O()(k.getBlockStyle(n)),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})))}}const q=Object(X.withSelect)((e,t)=>{const{getBlockStyles:o}=e("core/blocks");return{blockStyles:o(t.name)}});var Y=Object(W.compose)(q)(Z);var J=function(e){x()(r,e);var t,o,n=(t=r,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=_()(t);if(o){var r=_()(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return z()(this,e)});function r(e){var t;return d()(this,r),t=n.apply(this,arguments),u()(j()(t),"getIconsAlignmentStyle",(function(e){return{left:"flex-start",right:"flex-end",center:"center"}[e]})),u()(j()(t),"getRelAttr",(function(){var e=[];return t.props.attributes.nofollow&&e.push("nofollow"),t.props.attributes.noreferrer&&e.push("noreferrer"),t.props.attributes.noopener&&e.push("noopener"),t.props.attributes.openLinkInNewTab&&(e=["noopener","noreferrer"]),e})),t}return m()(r,[{key:"render",value:function(){var e=this,t=this.props.attributes,o=t.className;null==k.getBlockStyle(o)&&(o=O()(o,"is-style-with-canvas-round"));var n=t.selectedIcons.map((function(o,n){var r=t.showIconsLabel?Object(i.createElement)("span",{className:O()("icon-label")},o.label):"",s=e.getRelAttr();return Object(i.createElement)("a",{key:n,href:o.url,className:"social-icon-link",target:t.openLinkInNewTab?"_blank":void 0,rel:s.length?s.join(" "):void 0,style:{"--wpz-social-icons-block-item-color":o.color,"--wpz-social-icons-block-item-color-hover":o.hoverColor}},Object(i.createElement)("span",{className:O()(k.getIconClassList(o.iconKit,o.icon))}),r)}));return Object(i.createElement)("div",{className:o,style:{"--wpz-social-icons-block-item-font-size":k.addPixelsPipe(t.iconsFontSize),"--wpz-social-icons-block-item-padding-horizontal":k.addPixelsPipe(t.iconsPaddingHorizontal),"--wpz-social-icons-block-item-padding-vertical":k.addPixelsPipe(t.iconsPaddingVertical),"--wpz-social-icons-block-item-margin-horizontal":k.addPixelsPipe(t.iconsMarginHorizontal),"--wpz-social-icons-block-item-margin-vertical":k.addPixelsPipe(t.iconsMarginVertical),"--wpz-social-icons-block-item-border-radius":k.addPixelsPipe(t.iconsBorderRadius),"--wpz-social-icons-block-label-font-size":k.addPixelsPipe(t.iconsLabelFontSize),"--wpz-social-icons-block-label-color":t.iconsLabelColor,"--wpz-social-icons-block-label-color-hover":t.iconsLabelHoverColor,"--wpz-social-icons-alignment":this.getIconsAlignmentStyle(t.iconsAlignment)}},n)}}]),r}(i.Component),G=o(10),$=o(15),ee=o(19),te=o(28);const oe={},ne=({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(s.map)(e,n=>{const{clientId:r,attributes:a}=n,{title:c,description:l,iconsAlignment:u}=a,{rootClientId:p}=Object(X.useSelect)(e=>({rootClientId:e("core/block-editor").getBlockRootClientId(r)})),d=[Object(G.createBlock)("core/heading",{content:c,level:3,placeholder:Object(F.__)("Title","zoom-social-icons-widget"),className:"zoom-social-icons-legacy-widget-title widget-title title heading-size-3"}),Object(G.createBlock)("core/paragraph",{content:l,placeholder:Object(F.__)("Text above icons","zoom-social-icons-widget"),className:O()("zoom-social-icons-legacy-widget-description",{["zoom-social-icons-list--align-"+u]:void 0!==u&&"none"!==u})}),Object(G.createBlock)("wpzoom-blocks/social-icons",a)],[h]=function({rootClientId:e="",insertionIndex:t,clientId:o,shouldFocusBlock:n=!0}){const{sidebar:r,destinationRootClientId:a,destinationIndex:c}=Object(X.useSelect)(n=>{const{getBlockIndex:r,getBlockOrder:i,getBlock:s}=n("core/block-editor"),a=e;let c;return c=void 0!==t?t:o?r(o,a):""!==a?r(e):i(a).length,{sidebar:s(a),destinationRootClientId:a,destinationIndex:c}},[e,t,o]),{replaceBlock:l}=Object(X.useDispatch)("core/block-editor");return[Object(i.useCallback)((e,t,i=!1)=>{const{attributes:{name:a}}=r;l(o,e,c,n||i?0:null,t);const u=Object(F.sprintf)(// translators: %d: the name of the block that has been added %s: sidebar name.
2
+ Object(F._n)("%1$d group block added in the sidebar: %2$s.","%1$d group blocks added in the sidebar: %2$s.",Object(s.castArray)(e).length),Object(s.castArray)(e).length,a);Object(te.speak)(u)},[l,r,o,a,c,n]),c]}({rootClientId:p,clientId:r});if(h(Object(G.createBlock)("core/group",{tagName:"div",className:"zoom-social-icons-widget zoom-social-icons-legacy-widget-group",layout:{inherit:!0}},d)),o++,Object(s.size)(e)===o){const e=Object(F.sprintf)(// translators: %d: the number of the block that has been converted
3
+ Object(F._n)('%d legacy widget "Social Icons" successfully converted to block','%d legacy widgets "Social Icons" successfully converted to block',o,"zoom-social-icons-widget"),o);t(e)}})}))}(e).then(e=>{n(!0),Object($.doAction)("converter.isConvertDone",{message:e})}),null):Object(i.createElement)(P.Placeholder,null,Object(i.createElement)(P.Spinner,null))};var re=Object(i.memo)(({clientId:e,attributes:t,widgetId:o})=>{const[n,r]=Object(i.useState)(!1),{createInfoNotice:s,createWarningNotice:a,createSuccessNotice:c}=Object(X.useDispatch)("core/notices");oe[o]={},oe[o].clientId=e,oe[o].attributes=t;const l=Object(F.__)('Social Icons Widget is currently not supported by the new block-based widget screen in WordPress 5.8. We highly recommend to edit it in the Customizer or transform it to Social Icons Block by clicking on the "Convert to block" button. You can also disable the new block-based widget screen by installing the Classic Widgets plugin.',"zoom-social-icons-widget");return Object(i.useEffect)(()=>{a(l,{id:"wpzoom-social-icons-notice",isDismissible:!0,actions:[{url:Object(ee.addQueryArgs)("customize.php",{"autofocus[panel]":"widgets",return:window.location.pathname}),label:Object(F.__)("Manage in Customizer","zoom-social-icons-widget")},{url:Object(ee.addQueryArgs)("plugin-install.php",{s:"classic%20widgets",tab:"search",type:"term"}),label:"Install Classic Widgets"},{label:Object(F.__)("Convert to block","zoom-social-icons-widget"),onClick:()=>r(!n)}]})},[a,n]),Object(i.useEffect)(()=>{n&&s(Object(F.__)("Convert process is started. Please wait…","zoom-social-icons-widget"),{type:"snackbar",id:"wpzoom-social-icons-notice"})},[n,s]),Object($.addAction)("converter.isConvertDone","wpzoom-blocks/social-icons/convert-legacy-widget",({message:e})=>{c(e,{type:"snackbar",id:"wpzoom-social-icons-notice"})}),e&&n?Object(i.createElement)(i.Fragment,null,Object(i.createElement)(ne,{replacementData:oe,isConvertRun:n})):null}),ie=function(e){const t=Object(G.getBlockTypes)().filter(e=>-1!==e.name.indexOf("wpzoom-blocks/social-icons"))[0],{attributes:o}=t,n=Object(s.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(s.assign)(n,r);return"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"),[{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}].map(e=>{Object(G.unregisterBlockStyle)("wpzoom-blocks/social-icons",e.name),Object(G.registerBlockStyle)("wpzoom-blocks/social-icons",e)}),i};const se=document.getElementById("customize-theme-controls"),ae=Object(W.createHigherOrderComponent)(e=>t=>{const{attributes:o,name:n}=t,{id:s,idBase:a,instance:c,__internalWidgetId:l}=o,u=null!=s?s:a;if("core/legacy-widget"===n&&"zoom-social-icons-widget"===u){const{widgetType:o,hasResolvedWidgetType:n}=Object(X.useSelect)(e=>({widgetType:e("core").getWidgetType(u),hasResolvedWidgetType:e("core").hasFinishedResolution("getWidgetType",[u])}),[s,a]),p=ie(c.raw);return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(e,t),o&&n&&Object(i.createElement)(re,r()({},t,{attributes:p,widgetId:l})))}return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(e,t))},"withGroupedBlock");Object($.addFilter)("blocks.registerBlockType","wpzoom-blocks/social-icons/class-names/heading-paragraph-block",(function(e,t){return"core/heading"!==t||"core/paragraph"!==t?e:Object(s.assign)({},e,{supports:Object(s.assign)({},e.supports,{className:!0})})})),Object($.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})),se||Object($.addFilter)("editor.BlockEdit","wpzoom-blocks/social-icons/wrap-group-blocks",ae),Object(G.registerBlockType)("wpzoom-blocks/social-icons",{title:Object(F.__)("Social Icons Block","zoom-social-icons-widget"),description:Object(F.__)("Display icons with links to social media platforms.","zoom-social-icons-widget"),icon:{foreground:"#274474",src:c},example:{attributes:{cover:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQoAAADJCAYAAADbwHxnAAAKz2lDQ1BJQ0MgUHJvZmlsZQAASImVlwdUU2kWx7/30kNCS4iAlNB77yAl9AAK0kFUQhKSUEJIQcWODI7AiKIigmVEh6rgWAAZCyKKbRCsWAdkUFHGwYINlX3AEmZ2z+6e/Z9zz/vl5n73fved7zvnPgDI6iyRKANWB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p5uXlSMBOwQoFHY40gsJOE2AQuF087JyJGCHAIXCDkd6IQGnCVAonG5eVo4E7BCgUNjhSC8k4DQBCoXTzcvKkYAdAhQKOxzphQScJkChcLp5WTkSsEOAQmGHI72QgNMEKBRONy8rRwJ2CFAo7HCkFxJwmgCFwunmZeVIwA4BCoUdjvRCAk4ToFA43bysHAnYIUChsMORXkjAaQIUCqebl5UjATsEKBR2ONILCThNgELhdPOyciRghwCFwg5HeiEBpwlQKJxuXlaOBOwQoFDY4UgvJOA0AQqF083LypGAHQIUCjsc6YUEnCZAoXC6eVk5ErBDgEJhhyO9kIDTBCgUTjcvK0cCdghQKOxwpBcScJoAhcLp5mXlSMAOAQqFHY70QgJOE6BQON28rBwJ2CFAobDDkV5IwGkCFAqnm5eVIwE7BCgUdjjSCwk4TYBC4XTzsnIkYIcAhcIOR3ohAacJUCicbl5WjgTsEKBQ2OFILyTgNAEKhdPNy8qRgB0CFAo7HOmFBJwmQKFwunlZORKwQ4BCYYcjvZCA0wQoFE43LytHAnYIUCjscKQXEnCaAIXC6eZl5UjADgEKhR2O9EICThOgUDjdvKwcCdghQKGww5FeSMBpAhQKp5uXlSMBOwQoFHY40gsJOE2AQuF087JyJGCHAIXCDkd6IQGnCVAonG5eVo4E7BCgUNjhSC8k4DQBCoXTzcvKkYAdAhQKOxzphQScJkChcLp5WTkSsEOAQmGHI72QgNMEKBRONy8rRwJ2CFAo7HCkFxJwmgCFwunmZeVIwA4BCoUdjvRCAk4ToFA43bysHAnYIUChsMORXkjAaQIUCqebl5UjATsEKBR2ONILCThNgELhdPOyciRghwCFwg5HeiEBpwlQKJxuXlaOBOwQoFDY4UgvJOA0gf8DAD8xcfX+GGoAAAAASUVORK5CYII=",author:"WPZOOM"}},category:"wpzoom-blocks",keywords:[Object(F.__)("Social Icons","zoom-social-icons-widget"),Object(F.__)("Dashicons","zoom-social-icons-widget"),Object(F.__)("Socicons","zoom-social-icons-widget"),Object(F.__)("Fontawesome","zoom-social-icons-widget"),Object(F.__)("Academic Icons","zoom-social-icons-widget")],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},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:"#3b5998",hoverColor:"#3b5998",label:"Facebook",showPopover:!1,isActive:!1},{url:"https://twitter.com",icon:"twitter",iconKit:"socicon",color:"#1da1f2",hoverColor:"#1da1f2",label:"Twitter",showPopover:!1,isActive:!1},{url:"https://instagram.com",icon:"instagram",iconKit:"socicon",color:"#E44060",hoverColor:"#E44060",label:"Instagram",showPopover:!1,isActive:!1}]}},styles:[{name:"with-canvas-round",label:Object(F.__)("Color Background / Round White Icon","zoom-social-icons-widget"),isDefault:!0},{name:"with-canvas-rounded",label:Object(F.__)("Color Background / Rounded White Icon","zoom-social-icons-widget")},{name:"with-canvas-squared",label:Object(F.__)("Color Background / Squared White Icon","zoom-social-icons-widget")},{name:"without-canvas",label:Object(F.__)("Color Icon / No Background","zoom-social-icons-widget")},{name:"without-canvas-with-border",label:Object(F.__)("Color Icon / No Background with border","zoom-social-icons-widget")},{name:"with-label-canvas-rounded",label:Object(F.__)("Color Background / Rounded White Icon with label","zoom-social-icons-widget")},{name:"without-canvas-with-label",label:Object(F.__)("Color Icon / No Background with label","zoom-social-icons-widget")}],transforms:{from:[{type:"block",blocks:["core/legacy-widget"],isMatch:({idBase:e,instance:t})=>!!t.raw&&"zoom-social-icons-widget"===e,transform:({instance:e})=>Object(G.createBlock)("wpzoom-blocks/social-icons",ie(e.raw))}]},edit:Y,save:J});var ce=Object(i.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 64 1024 1024"},Object(i.createElement)(a.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(G.updateCategory)("wpzoom-blocks",{icon:ce})}]);
block/src/init.php CHANGED
@@ -17,9 +17,9 @@ if ( ! defined( 'ABSPATH' ) ) {
17
  * Enqueue Gutenberg block assets for both frontend + backend.
18
  *
19
  * Assets enqueued:
20
- * 1. blocks.style.build.css - Frontend + Backend.
21
- * 2. blocks.build.js - Backend.
22
- * 3. blocks.editor.build.css - Backend.
23
  *
24
  * @uses {wp-blocks} for block type registration & related functions.
25
  * @uses {wp-element} for WP Element abstraction — structure of blocks.
@@ -29,19 +29,23 @@ if ( ! defined( 'ABSPATH' ) ) {
29
  */
30
  function wpzoom_social_icons_block_enqueue_assets() {
31
 
 
 
32
  wp_register_style(
33
  'wpzoom-social-icons-block-style',
34
- plugins_url( 'dist/blocks.style.build.css', dirname( __FILE__ ) ),
35
- array(),
36
- filemtime( plugin_dir_path( __DIR__ ) . 'dist/blocks.style.build.css' )
37
  );
38
 
 
 
39
  // Register block editor script for backend.
40
  wp_register_script(
41
  'wpzoom-social-icons-block-js',
42
- plugins_url( '/dist/blocks.build.js', dirname( __FILE__ ) ),
43
- array( 'wp-blocks', 'wp-i18n', 'wp-element', 'wp-editor' ),
44
- filemtime( plugin_dir_path( __DIR__ ) . 'dist/blocks.build.js' ),
45
  true
46
  );
47
 
@@ -49,9 +53,9 @@ function wpzoom_social_icons_block_enqueue_assets() {
49
  // Register block editor styles for backend.
50
  wp_register_style(
51
  'wpzoom-social-icons-block-editor',
52
- plugins_url( 'dist/blocks.editor.build.css', dirname( __FILE__ ) ),
53
  array( 'wp-edit-blocks' ),
54
- filemtime( plugin_dir_path( __DIR__ ) . 'dist/blocks.editor.build.css' )
55
  );
56
 
57
  // WP Localized globals. Use dynamic PHP stuff in JavaScript via `cgbGlobal` object.
@@ -78,16 +82,19 @@ function wpzoom_social_icons_block_enqueue_assets() {
78
  */
79
  register_block_type(
80
  'wpzoom-blocks/social-icons', array(
81
- // Enqueue blocks.style.build.css on both frontend & backend.
82
  'style' => 'wpzoom-social-icons-block-style',
83
- // Enqueue blocks.build.js in the editor only.
84
  'editor_script' => 'wpzoom-social-icons-block-js',
85
- // Enqueue blocks.editor.build.css in the editor only.
86
  'editor_style' => 'wpzoom-social-icons-block-editor',
87
  )
88
  );
89
  }
90
 
 
 
 
91
  /**
92
  * Add custom block category
93
  *
@@ -105,8 +112,13 @@ function wpzoom_social_icons_block_add_custom_category( $categories, $post ) {
105
  );
106
  }
107
 
108
- // Hook: Block assets.
109
- add_action( 'init', 'wpzoom_social_icons_block_enqueue_assets' );
 
 
 
 
 
110
 
111
  /**
112
  * Register css and js files.
@@ -258,5 +270,22 @@ function wpzoom_social_icons_block_enqueue_secondary_assets() {
258
 
259
  add_action( 'enqueue_block_assets', 'wpzoom_social_icons_block_enqueue_secondary_assets' );
260
 
261
- //Hook: Add block category.
262
- add_filter( 'block_categories', 'wpzoom_social_icons_block_add_custom_category', 10, 2 );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  * Enqueue Gutenberg block assets for both frontend + backend.
18
  *
19
  * Assets enqueued:
20
+ * 1. style-wpzoom-social-icons.css - Frontend + Backend.
21
+ * 2. wpzoom-social-icons.js - Backend.
22
+ * 3. wpzoom-social-icons.css - Backend.
23
  *
24
  * @uses {wp-blocks} for block type registration & related functions.
25
  * @uses {wp-element} for WP Element abstraction — structure of blocks.
29
  */
30
  function wpzoom_social_icons_block_enqueue_assets() {
31
 
32
+ $asset_file = wpzoom_social_icons_get_asset_file('block/dist/style-wpzoom-social-icons');
33
+
34
  wp_register_style(
35
  'wpzoom-social-icons-block-style',
36
+ plugins_url( 'dist/style-wpzoom-social-icons.css', dirname( __FILE__ ) ),
37
+ $asset_file['dependencies'],
38
+ $asset_file['version']
39
  );
40
 
41
+ $asset_file = wpzoom_social_icons_get_asset_file('block/dist/wpzoom-social-icons');
42
+
43
  // Register block editor script for backend.
44
  wp_register_script(
45
  'wpzoom-social-icons-block-js',
46
+ plugins_url( '/dist/wpzoom-social-icons.js', dirname( __FILE__ ) ),
47
+ $asset_file['dependencies'],
48
+ $asset_file['version'],
49
  true
50
  );
51
 
53
  // Register block editor styles for backend.
54
  wp_register_style(
55
  'wpzoom-social-icons-block-editor',
56
+ plugins_url( 'dist/wpzoom-social-icons.css', dirname( __FILE__ ) ),
57
  array( 'wp-edit-blocks' ),
58
+ $asset_file['version']
59
  );
60
 
61
  // WP Localized globals. Use dynamic PHP stuff in JavaScript via `cgbGlobal` object.
82
  */
83
  register_block_type(
84
  'wpzoom-blocks/social-icons', array(
85
+ // Enqueue style-wpzoom-social-icons.css on both frontend & backend.
86
  'style' => 'wpzoom-social-icons-block-style',
87
+ // Enqueue wpzoom-social-icons.js in the editor only.
88
  'editor_script' => 'wpzoom-social-icons-block-js',
89
+ // Enqueue wpzoom-social-icons.css in the editor only.
90
  'editor_style' => 'wpzoom-social-icons-block-editor',
91
  )
92
  );
93
  }
94
 
95
+ // Hook: Block assets.
96
+ add_action( 'init', 'wpzoom_social_icons_block_enqueue_assets' );
97
+
98
  /**
99
  * Add custom block category
100
  *
112
  );
113
  }
114
 
115
+ //Hook: Add block category.
116
+ global $wp_version;
117
+ if ( version_compare( $wp_version, '5.8', '<' ) ) {
118
+ add_filter( 'block_categories', 'wpzoom_social_icons_block_add_custom_category', 10, 2 );
119
+ } else {
120
+ add_filter( 'block_categories_all', 'wpzoom_social_icons_block_add_custom_category', 10, 2 );
121
+ }
122
 
123
  /**
124
  * Register css and js files.
270
 
271
  add_action( 'enqueue_block_assets', 'wpzoom_social_icons_block_enqueue_secondary_assets' );
272
 
273
+ /**
274
+ * Loads the asset file for the given script or style.
275
+ * Returns a default if the asset file is not found.
276
+ *
277
+ * @since 4.2.0
278
+ * @param string $filepath The name of the file without the extension.
279
+ *
280
+ * @return array The asset file contents.
281
+ */
282
+ function wpzoom_social_icons_get_asset_file( $filepath ) {
283
+ $asset_path = WPZOOM_SOCIAL_ICONS_PLUGIN_PATH . $filepath . '.asset.php';
284
+
285
+ return file_exists( $asset_path )
286
+ ? include $asset_path
287
+ : array(
288
+ 'dependencies' => array(),
289
+ 'version' => WPZOOM_SOCIAL_ICONS_PLUGIN_VERSION,
290
+ );
291
+ }
class.zoom-social-icons-widget.php CHANGED
@@ -42,18 +42,28 @@ class Zoom_Social_Icons_Widget extends WP_Widget
42
  'xmpp'
43
  );
44
 
 
 
 
 
 
 
45
  /**
46
  * Zoom_Social_Icons_Widget constructor.
47
  */
48
  public function __construct()
49
  {
 
 
 
 
 
 
 
50
  parent::__construct(
51
- 'zoom-social-icons-widget',
52
- esc_html__('Social Icons by WPZOOM', 'zoom-social-icons-widget'),
53
- array(
54
- 'classname' => 'zoom-social-icons-widget',
55
- 'description' => __('Sortable widget that supports more than 80+ social networks', 'zoom-social-icons-widget'),
56
- )
57
  );
58
 
59
  add_action( 'wp_enqueue_scripts', [ $this, 'enqueue_scripts' ] );
@@ -621,6 +631,8 @@ class Zoom_Social_Icons_Widget extends WP_Widget
621
  */
622
  public function form($instance)
623
  {
 
 
624
  $defaults = $this->get_defaults();
625
 
626
  if (isset($instance['show-icon-labels']) or
@@ -653,6 +665,18 @@ class Zoom_Social_Icons_Widget extends WP_Widget
653
  $instance_attr = 'data-instance="' . htmlentities(json_encode($encoded)) . '"';
654
  }
655
 
 
 
 
 
 
 
 
 
 
 
 
 
656
  ?>
657
  <div class="form-instance" <?php echo $instance_attr ?> id="<?php echo $this->id ?>">
658
  <p>
@@ -1557,4 +1581,4 @@ class Zoom_Social_Icons_Widget extends WP_Widget
1557
  );
1558
  }
1559
 
1560
- }
42
  'xmpp'
43
  );
44
 
45
+ public $id_base = 'zoom-social-icons-widget';
46
+
47
+ public $widget_name;
48
+
49
+ public $widget_options = array();
50
+
51
  /**
52
  * Zoom_Social_Icons_Widget constructor.
53
  */
54
  public function __construct()
55
  {
56
+ $this->widget_name = esc_html__('Social Icons by WPZOOM', 'zoom-social-icons-widget');
57
+ $this->widget_options = array(
58
+ 'classname' => 'zoom-social-icons-widget',
59
+ 'description' => __('Sortable widget that supports more than 80+ social networks', 'zoom-social-icons-widget'),
60
+ 'show_instance_in_rest' => true,
61
+ );
62
+
63
  parent::__construct(
64
+ $this->id_base,
65
+ $this->widget_name,
66
+ $this->widget_options
 
 
 
67
  );
68
 
69
  add_action( 'wp_enqueue_scripts', [ $this, 'enqueue_scripts' ] );
631
  */
632
  public function form($instance)
633
  {
634
+ global $wp_version;
635
+
636
  $defaults = $this->get_defaults();
637
 
638
  if (isset($instance['show-icon-labels']) or
665
  $instance_attr = 'data-instance="' . htmlentities(json_encode($encoded)) . '"';
666
  }
667
 
668
+ // $transform_to_block = '';
669
+ // if ( current_theme_supports( 'widgets-block-editor' ) && version_compare( $wp_version, '5.8', '>=' ) ) {
670
+ // $transform_to_block = sprintf( __('<strong>%s</strong> is currently not supported by the new block-based widget screen in WordPress 5.8. You can edit it in the Customizer or transform it to Social Icons Block by clicking on the calendar icon.
671
+ // You can also disable the new block-based widget screen by installing the Classic Widget plugin', 'zoom-social-icons-widget'), $this->widget_name);
672
+ // $transform_to_block .= '(<a href="https://wordpress.org/plugins/classic-widgets/" target="_blank">https://wordpress.org/plugins/classic-widgets/</a>)';
673
+ // }
674
+
675
+ // if ( ! empty( $transform_to_block ) ) {
676
+ // echo '<p class="notice notice-warning zoom-social-icons__notice">' . wp_kses_post( $transform_to_block ) .'</p>';
677
+ // return;
678
+ // }
679
+
680
  ?>
681
  <div class="form-instance" <?php echo $instance_attr ?> id="<?php echo $this->id ?>">
682
  <p>
1581
  );
1582
  }
1583
 
1584
+ }
readme.txt CHANGED
@@ -1,335 +1,340 @@
1
- === Social Icons Widget & Block by WPZOOM ===
2
- Contributors: WPZOOM, nvartolomei, ciorici, llemurya
3
- Donate link: https://www.wpzoom.com/
4
- Tags: social icons, social networks, social media, social media icons, icons, social profiles, social widget, widget, block, social block, block icons, academicons, elementor, social networking, sharing, share buttons, fontawesome
5
- Requires at least: 5.0
6
- Requires PHP: 5.6
7
- Tested up to: 5.7
8
- Stable tag: trunk
9
- License: GPLv2 or later
10
- License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
-
12
- Social Icons Widget & Block helps adding icons with links to social media profiles on your website. Supports more than 100 websites and includes 400 icons.
13
-
14
- == Description ==
15
-
16
- ⭐️ **[Social Icons Widget PRO](https://www.wpzoom.com/plugins/social-widget/?utm_source=wporg&utm_medium=website&utm_campaign=free_description)** *NOW AVAILABLE!* ⭐️
17
-
18
- > 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).
19
-
20
- **[View Demo](https://demo.wpzoom.com/social-icons/)**
21
-
22
- **Social Icons Widget & Block** helps you to add quickly icons with links to your profiles from different social networks. 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.
23
-
24
- > With the help of WPZOOM’s excellent Social Icons Widget plugin, you can link to all your social network profiles in no time, letting your visitors easily get in touch with you on all social media channels.
25
- > ⭐️⭐️⭐️⭐️⭐️
26
- > Read [WPKlik's](https://wpklik.com/wordpress-plugins/wordpress-social-icons-widget/) review of this plugin: [A Complete Guide to Social Icons Widget](https://wpklik.com/wordpress-plugins/wordpress-social-icons-widget/)
27
-
28
-
29
- [youtube https://www.youtube.com/watch?v=mFClpAjzCpc]
30
-
31
- = ⭐️ PRO FEATURES ⭐️ =
32
- * **Upload your SVG icons - 🆕**
33
- * **Load icons in SVG format - 🆕**
34
- * **Create your own custom icon set**
35
- * **Outstanding performance**
36
- * Premium Support
37
- * and many new features coming soon!
38
-
39
- ⭐️ **[Get the PRO version!](https://www.wpzoom.com/plugins/social-widget/?utm_source=wporg&utm_medium=website&utm_campaign=free_description)** ⭐️
40
-
41
-
42
-
43
- = What's new in 4.0.0 =
44
- * **NEW: Gutenberg Block**
45
- * New icon styles in the new Social Icons Block
46
- * New options to customize your icons: change margin, padding, alignment, roundness etc.
47
-
48
- = What's new in 3.0.0 =
49
-
50
- * Added Global Color Picker to change the color of all icons
51
- * Added a new color picker to change hover color on all icons
52
- * Icons are now grouped in categories
53
-
54
- = What's new in 2.2.0 =
55
-
56
- * Added Padding and Size options for icons
57
- * Added support for Skype links (skype:username)
58
-
59
- = What's new in 2.1.0 =
60
-
61
- * Search Icons by keywords
62
- * FontAwesome Icon Set Integration
63
- * Updated Instagram Icon
64
-
65
- = What's new in 2.0 =
66
-
67
- * Support for custom icons
68
- * Color picker for each icon
69
- * 3 Icon Sets from which you can choose more than 400 icons
70
-
71
-
72
- = Where I can view a Demo? =
73
-
74
- You can view the widget live in all our themes at [WPZOOM](https://www.wpzoom.com/themes/).
75
-
76
- = View Demo & Examples =
77
- * [Monte Theme](https://demo.wpzoom.com/?theme=monte) - header bar and footer
78
- * [Tempo Theme](https://demo.wpzoom.com/?theme=tempo) - header (under logo) and footer
79
- * [Foodica Theme](https://demo.wpzoom.com/?theme=foodica) - header bar and sidebar
80
- * [Inspiro Theme](https://demo.wpzoom.com/?theme=inspiro) - sidebar panel and footer
81
-
82
- = Features: =
83
-
84
- * Gutenberg Block - **NEW**
85
- * 100+ Sites/Social Networks supported
86
- * 400+ Custom Icons
87
- * 5 Icons Sets
88
- * FontAwesome Integration
89
- * Academicons Integration: 38 academia icons for academics
90
- * Drag & Drop Icons
91
- * Color Picker
92
- * Search by keywords
93
- * Adjust icon size & padding
94
- * 2 Styles: Icon Shape and Icon with Background
95
- * 3 Background Styles: Rounded Corners, Round, Square
96
- * Retina Ready Icons
97
- * Supports email addresses (mailto:email@example.com)
98
- * Supports Telephone numbers (tel:12345)
99
- * Supports Skype (skype:username?call)
100
- * Supports Viber (viber://add?number=123456)
101
- * Supports WhatsApp (https://api.whatsapp.com/send?phone=15551234567)
102
-
103
- = Icons =
104
-
105
- Icons are provided by [socicon](http://www.socicon.com) icon font.
106
-
107
- Twitter, Facebook, Google+, Instagram, Pinterest, Snapchat, Skype, Yelp, Feedburner, LinkedIn, Bloglovin', Lookbook, Feedly, Periscope, SoundCloud, Spotify, Last.fm, YouTube, Vimeo, Vine, Flickr, 500px, Tumblr, Blogger, Reddit, Dribbble, Envato, Behance, DeviantArt, GitHub, RSS, Disqus, Stackoverflow, Komoot, Tiktok, Mailchimp, Podcasts, Telegram and many others.
108
-
109
- = Credits =
110
-
111
- Social Icons are provided by [socicon](http://www.socicon.com) icon font.
112
-
113
- [Academicons](https://jpswalsh.github.io/academicons/) are provided by James Walsh.
114
-
115
- = GDPR COMPLIANCE =
116
-
117
- Social Icons Widget does not collect any information from your visitors, therefore it’s **100% GDPR compliant**.
118
-
119
-
120
- = Get Involved =
121
-
122
- Looking to contribute code to this plugin? Go ahead and [fork the repository over at GitHub](https://github.com/wpzoom/social-icons-widget/).
123
-
124
- == Installation ==
125
-
126
- Simply search for the plugin via the **Plugins -> Add New** dialog and click install, or download and extract the plugin, and copy the plugin folder into your wp-content/plugins directory and activate.
127
-
128
- After that go to the **Widgets** page and add the widget **Social Icons by WPZOOM** to a widget area like Sidebar.
129
-
130
- == Frequently Asked Questions ==
131
-
132
- = Where do I find more details about this plugin? =
133
-
134
- On our [website](http://www.wpzoom.com/plugins/social-widget/).
135
-
136
- = Can I insert the Widget as a Shortcode in a Page? =
137
-
138
- Yes, using the [Widget Shortcode](https://wordpress.org/plugins/widget-shortcode/) plugin you can generate a shortcode for each Social Icons widget and insert the shortcode in posts or pages where you need it.
139
- You can also create a hidden widget area using a plugin like Custom Sidebars if you don’t want to add the widget in a sidebar to be visible.
140
-
141
-
142
- == Screenshots ==
143
-
144
- 1. NEW: Social Icons Block
145
- 2. NEW: Social Icons Block
146
- 3. Rounded Corners Style
147
- 4. Square Style
148
- 5. Rounded Icons Style
149
- 6. No Background Style
150
- 7. With Icon label
151
- 8. Widget Settings
152
-
153
- == Changelog ==
154
-
155
- = 4.1.3 =
156
- * Added new tab in the Settings page with a promo for the new PRO version
157
-
158
- = 4.1.2 =
159
- * Bug fix when font preloading is enabled.
160
-
161
- = 4.1.1 =
162
- * New icons: Komoot, Gab, KKBox, Etsy, CastBox, Pocketcasts
163
-
164
- = 4.1.0 =
165
- * New options on the settings page to disable individual icon sets
166
- * Plugin optimization: enabled font preloading to improve the PageSpeed score. This option can be disabled from the Settings page.
167
- * New icons: Guilded, ko-fi, MeWe, Mail.ru, iHeartRadio, PlayerFM, Stitcher (new icon), Ravelry, NewGrounds
168
-
169
- = 4.0.5 =
170
- * New icons: Mailchimp, Parler, Nextdoor (updated icon)
171
-
172
- = 4.0.4 =
173
- * Bug fix when using the Social Icons Block as a Reusable Block
174
- * Fixed compatibility issues with Elementor
175
- * New icon: Fiverr
176
-
177
- = 4.0.3 =
178
- * Fixed a conflict with the Divi Booster plugin
179
- * Minor performance improvements
180
- * New icons: Apple Podcasts, Google Podcasts, Overcast, Google News, Deviantart (updated), RedBubble
181
-
182
- = 4.0.2 =
183
- * New icons: Patreon (updated), Zazzle, Displate, Pixiv, Anchorfm, SSRN, Yummly
184
-
185
- = 4.0.1 =
186
- * Fixed a bug affecting column blocks after 4.0 update
187
-
188
- = 4.0.0 =
189
- * NEW: Gutenberg Block - Social Icons Block
190
- * New icon styles in the new Social Icons Block
191
- * New options to customize your icons: change margin, padding, alignment, roundness etc.
192
-
193
- = 3.4.2 =
194
- * New Icons: ArtStation, Issuu, Google Calendar, Google Maps
195
- * Added detection for Whatsapp links: e.g. "https://wa.me/15551234567"
196
-
197
- = 3.4.1 =
198
- * New Icons: Mixer, Letterboxd
199
-
200
- = 3.4.0 =
201
- * New icons: Zomato, The Fork, New Facebook Icon (click on the icon to change it)
202
- * Added compatibility with WPML plugin
203
- * Added a new field for each icon to improve the accessibility: "aria-label".
204
-
205
- = 3.3.2 =
206
- * New icons: Yandex Zen, Yandex.
207
-
208
- = 3.3.1 =
209
- * New icons: Zillow, TikTok, Shutterstock, Aparat
210
-
211
- = 3.3.0 =
212
- * Fixed incompatibility with Beaver Builder plugin
213
- * Fixed a bug with multiple "rel" attributes
214
- * Fixed a problem with the icon for OK.ru
215
- * Added support for Telegram links ("t.me" and "tg://resolve..." protocol)
216
-
217
- = 3.2.0 =
218
- * New icon set: [Academicons](https://jpswalsh.github.io/academicons/). Includes icons like Academia.edu, Google Scholar, Coursera, ResearchGate, and many more.
219
-
220
- = 3.1.0 =
221
- * New icons: HomeAdvisor, TuneIn (old), Stitcher, MyWed
222
- * Updated icons: Unsplash
223
- * New option: Add rel="noopener" to links
224
- * New option: Add rel="noreferrer" to links
225
-
226
- = 3.0.13 =
227
- * New option: Icon Alignment (Left/Center/Right)
228
-
229
- = 3.0.12 =
230
- * New icons: Mastodon
231
- * Bug fix with EyeEm icon
232
-
233
- = 3.0.11 =
234
- * New icons: Beatport, iTunes
235
-
236
- = 3.0.10 =
237
- * New icons: Slack, Songkick, ReverbNation
238
-
239
- = 3.0.9 =
240
- * Fixed: minor caching issue happening after update to 3.0.8
241
-
242
- = 3.0.8 =
243
- * New icons: Ello, Line
244
- * Fixed: links with no labels were missing the anchor text, so we changed the widget to show by default the name of the icon when no label was provided
245
-
246
- = 3.0.7 =
247
- * New icons: Discord, Flipboard
248
- * Fixed a few minor bugs
249
-
250
- = 3.0.6 =
251
- * New option: Add rel="nofollow" to links
252
- * New icons: WhatsApp, ResearchGate
253
-
254
- = 3.0.5 =
255
- * New icons: Tidal, Deezer, Unsplash, Codered, Udemy, CrunchBase, Angie's List, App Store, Nextdoor
256
-
257
- = 3.0.4 =
258
- * New icon: Strava
259
-
260
- = 3.0.3 =
261
- * New icons: Facebook Messenger, PlayStation Store, Overwatch.
262
-
263
- = 3.0.2 =
264
- * Fixed bug [#4](https://github.com/wpzoom/social-icons-widget/issues/4)
265
-
266
- = 3.0.1 =
267
- * Fixed a bug with default values
268
-
269
- = 3.0.0 =
270
- * Added global color picker for all icons
271
- * New color picker to change hover color
272
- * Icons are now grouped in categories
273
-
274
- = 2.2.2 =
275
- * FontAwesome updated to latest version
276
- * New icons: Hellocoton, Quora, Etsy, Bandcamp, Meetup, Linode, IMDB, Telegram
277
-
278
- = 2.2.1 =
279
- * Added Viber support (Example: viber://add?number=12345)
280
-
281
- = 2.2.0 =
282
- * Added Padding and Size options for icons
283
- * Added support for Skype links (skype:username)
284
-
285
- = 2.1.0 =
286
- * New Feature: search icons by keywords
287
- * New Icon Set: Font Awesome - 600+ new icons
288
- * Updated Instagram Icon
289
- * New Icon: EyeEm
290
-
291
- = 2.0.1 =
292
-
293
- * Added new icon: Bandcamp
294
-
295
- = 2.0 =
296
- * Major Upate
297
- * Added Color Picker to change the color of each icon individually
298
- * Added 3 Icon Sets which allows you to choose a custom icon for any links you want.
299
-
300
- = 1.0.7 =
301
- * Fixed a bug with links containing the word "play" now showing the right icon.
302
-
303
- = 1.0.6 =
304
- * The widget is now fully compatible with the Page Builder by SiteOrigin plugin
305
-
306
- = 1.0.5 =
307
- * Added new icons: Snapchat, Telegram, Bloglovin'
308
- * The plugin is now localized and can be easily translated
309
- * Added Romanian translations.
310
-
311
- = 1.0.4 =
312
- * Added new icons: LOOKBOOK, feedly
313
-
314
- = 1.0.3 =
315
- * Updated Google+ icon
316
- * Added new icons: Airbnb, Baidu, eBay, Medium, Periscope
317
-
318
- = 1.0.2 =
319
- * Display proper icons for FeedBurner services
320
-
321
- = 1.0.1 =
322
- * Fix TripAdvisor brand color
323
- * Add subtle hover effect for icons
324
- * Add description field for cool call to action headlines
325
-
326
- = 1.0 =
327
- * Initial release.
328
-
329
- == Upgrade Notice ==
330
-
331
- = 4.0.0 =
332
- Major update. We've added a new Social Icons Block in the new Gutenberg editor!
333
-
334
- = 3.0.0 =
335
- Major update. Make sure to check if all your icons work fine.
 
 
 
 
 
1
+ === Social Icons Widget & Block by WPZOOM ===
2
+ Contributors: WPZOOM, nvartolomei, ciorici, llemurya
3
+ Donate link: https://www.wpzoom.com/
4
+ Tags: social icons, social networks, social media, social media icons, icons, social profiles, social widget, widget, block, social block, block icons, academicons, elementor, social networking, sharing, share buttons, fontawesome
5
+ Requires at least: 5.0
6
+ Requires PHP: 5.6
7
+ Tested up to: 5.8
8
+ Stable tag: trunk
9
+ License: GPLv2 or later
10
+ License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
+
12
+ Social Icons Widget & Block helps adding icons with links to social media profiles on your website. Supports more than 100 websites and includes 400 icons.
13
+
14
+ == Description ==
15
+
16
+ ⭐️ **[Social Icons Widget PRO](https://www.wpzoom.com/plugins/social-widget/?utm_source=wporg&utm_medium=website&utm_campaign=free_description)** *NOW AVAILABLE!* ⭐️
17
+
18
+ > 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).
19
+
20
+ **[View Demo](https://demo.wpzoom.com/social-icons/)**
21
+
22
+ **Social Icons Widget & Block** helps you to add quickly icons with links to your profiles from different social networks. 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.
23
+
24
+ > With the help of WPZOOM’s excellent Social Icons Widget plugin, you can link to all your social network profiles in no time, letting your visitors easily get in touch with you on all social media channels.
25
+ > ⭐️⭐️⭐️⭐️⭐️
26
+ > Read [WPKlik's](https://wpklik.com/wordpress-plugins/wordpress-social-icons-widget/) review of this plugin: [A Complete Guide to Social Icons Widget](https://wpklik.com/wordpress-plugins/wordpress-social-icons-widget/)
27
+
28
+
29
+ [youtube https://www.youtube.com/watch?v=mFClpAjzCpc]
30
+
31
+ = ⭐️ PRO FEATURES ⭐️ =
32
+ * **Upload your SVG icons - 🆕**
33
+ * **Load icons in SVG format - 🆕**
34
+ * **Create your own custom icon set**
35
+ * **Outstanding performance**
36
+ * Premium Support
37
+ * and many new features coming soon!
38
+
39
+ ⭐️ **[Get the PRO version!](https://www.wpzoom.com/plugins/social-widget/?utm_source=wporg&utm_medium=website&utm_campaign=free_description)** ⭐️
40
+
41
+
42
+
43
+ = What's new in 4.0.0 =
44
+ * **NEW: Gutenberg Block**
45
+ * New icon styles in the new Social Icons Block
46
+ * New options to customize your icons: change margin, padding, alignment, roundness etc.
47
+
48
+ = What's new in 3.0.0 =
49
+
50
+ * Added Global Color Picker to change the color of all icons
51
+ * Added a new color picker to change hover color on all icons
52
+ * Icons are now grouped in categories
53
+
54
+ = What's new in 2.2.0 =
55
+
56
+ * Added Padding and Size options for icons
57
+ * Added support for Skype links (skype:username)
58
+
59
+ = What's new in 2.1.0 =
60
+
61
+ * Search Icons by keywords
62
+ * FontAwesome Icon Set Integration
63
+ * Updated Instagram Icon
64
+
65
+ = What's new in 2.0 =
66
+
67
+ * Support for custom icons
68
+ * Color picker for each icon
69
+ * 3 Icon Sets from which you can choose more than 400 icons
70
+
71
+
72
+ = Where I can view a Demo? =
73
+
74
+ You can view the widget live in all our themes at [WPZOOM](https://www.wpzoom.com/themes/).
75
+
76
+ = View Demo & Examples =
77
+ * [Monte Theme](https://demo.wpzoom.com/?theme=monte) - header bar and footer
78
+ * [Tempo Theme](https://demo.wpzoom.com/?theme=tempo) - header (under logo) and footer
79
+ * [Foodica Theme](https://demo.wpzoom.com/?theme=foodica) - header bar and sidebar
80
+ * [Inspiro Theme](https://demo.wpzoom.com/?theme=inspiro) - sidebar panel and footer
81
+
82
+ = Features: =
83
+
84
+ * Gutenberg Block - **NEW**
85
+ * 100+ Sites/Social Networks supported
86
+ * 400+ Custom Icons
87
+ * 5 Icons Sets
88
+ * FontAwesome Integration
89
+ * Academicons Integration: 38 academia icons for academics
90
+ * Drag & Drop Icons
91
+ * Color Picker
92
+ * Search by keywords
93
+ * Adjust icon size & padding
94
+ * 2 Styles: Icon Shape and Icon with Background
95
+ * 3 Background Styles: Rounded Corners, Round, Square
96
+ * Retina Ready Icons
97
+ * Supports email addresses (mailto:email@example.com)
98
+ * Supports Telephone numbers (tel:12345)
99
+ * Supports Skype (skype:username?call)
100
+ * Supports Viber (viber://add?number=123456)
101
+ * Supports WhatsApp (https://api.whatsapp.com/send?phone=15551234567)
102
+
103
+ = Icons =
104
+
105
+ Icons are provided by [socicon](http://www.socicon.com) icon font.
106
+
107
+ Twitter, Facebook, Google+, Instagram, Pinterest, Snapchat, Skype, Yelp, Feedburner, LinkedIn, Bloglovin', Lookbook, Feedly, Periscope, SoundCloud, Spotify, Last.fm, YouTube, Vimeo, Vine, Flickr, 500px, Tumblr, Blogger, Reddit, Dribbble, Envato, Behance, DeviantArt, GitHub, RSS, Disqus, Stackoverflow, Komoot, Tiktok, Mailchimp, Podcasts, Telegram and many others.
108
+
109
+ = Credits =
110
+
111
+ Social Icons are provided by [socicon](http://www.socicon.com) icon font.
112
+
113
+ [Academicons](https://jpswalsh.github.io/academicons/) are provided by James Walsh.
114
+
115
+ = GDPR COMPLIANCE =
116
+
117
+ Social Icons Widget does not collect any information from your visitors, therefore it’s **100% GDPR compliant**.
118
+
119
+
120
+ = Get Involved =
121
+
122
+ Looking to contribute code to this plugin? Go ahead and [fork the repository over at GitHub](https://github.com/wpzoom/social-icons-widget/).
123
+
124
+ == Installation ==
125
+
126
+ Simply search for the plugin via the **Plugins -> Add New** dialog and click install, or download and extract the plugin, and copy the plugin folder into your wp-content/plugins directory and activate.
127
+
128
+ After that go to the **Widgets** page and add the widget **Social Icons by WPZOOM** to a widget area like Sidebar.
129
+
130
+ == Frequently Asked Questions ==
131
+
132
+ = Where do I find more details about this plugin? =
133
+
134
+ On our [website](http://www.wpzoom.com/plugins/social-widget/).
135
+
136
+ = Can I insert the Widget as a Shortcode in a Page? =
137
+
138
+ Yes, using the [Widget Shortcode](https://wordpress.org/plugins/widget-shortcode/) plugin you can generate a shortcode for each Social Icons widget and insert the shortcode in posts or pages where you need it.
139
+ You can also create a hidden widget area using a plugin like Custom Sidebars if you don’t want to add the widget in a sidebar to be visible.
140
+
141
+
142
+ == Screenshots ==
143
+
144
+ 1. NEW: Social Icons Block
145
+ 2. NEW: Social Icons Block
146
+ 3. Rounded Corners Style
147
+ 4. Square Style
148
+ 5. Rounded Icons Style
149
+ 6. No Background Style
150
+ 7. With Icon label
151
+ 8. Widget Settings
152
+
153
+ == Changelog ==
154
+
155
+ = 4.2.0 =
156
+ * Fixed compatibility issues with WordPress 5.8
157
+ * Added warning notice to widgets block-based page. Please make sure you've read the message before doing some changes to widgets!
158
+ * Added the ability to convert legacy widget "Social Icons" to block
159
+
160
+ = 4.1.3 =
161
+ * Added new tab in the Settings page with a promo for the new PRO version
162
+
163
+ = 4.1.2 =
164
+ * Bug fix when font preloading is enabled.
165
+
166
+ = 4.1.1 =
167
+ * New icons: Komoot, Gab, KKBox, Etsy, CastBox, Pocketcasts
168
+
169
+ = 4.1.0 =
170
+ * New options on the settings page to disable individual icon sets
171
+ * Plugin optimization: enabled font preloading to improve the PageSpeed score. This option can be disabled from the Settings page.
172
+ * New icons: Guilded, ko-fi, MeWe, Mail.ru, iHeartRadio, PlayerFM, Stitcher (new icon), Ravelry, NewGrounds
173
+
174
+ = 4.0.5 =
175
+ * New icons: Mailchimp, Parler, Nextdoor (updated icon)
176
+
177
+ = 4.0.4 =
178
+ * Bug fix when using the Social Icons Block as a Reusable Block
179
+ * Fixed compatibility issues with Elementor
180
+ * New icon: Fiverr
181
+
182
+ = 4.0.3 =
183
+ * Fixed a conflict with the Divi Booster plugin
184
+ * Minor performance improvements
185
+ * New icons: Apple Podcasts, Google Podcasts, Overcast, Google News, Deviantart (updated), RedBubble
186
+
187
+ = 4.0.2 =
188
+ * New icons: Patreon (updated), Zazzle, Displate, Pixiv, Anchorfm, SSRN, Yummly
189
+
190
+ = 4.0.1 =
191
+ * Fixed a bug affecting column blocks after 4.0 update
192
+
193
+ = 4.0.0 =
194
+ * NEW: Gutenberg Block - Social Icons Block
195
+ * New icon styles in the new Social Icons Block
196
+ * New options to customize your icons: change margin, padding, alignment, roundness etc.
197
+
198
+ = 3.4.2 =
199
+ * New Icons: ArtStation, Issuu, Google Calendar, Google Maps
200
+ * Added detection for Whatsapp links: e.g. "https://wa.me/15551234567"
201
+
202
+ = 3.4.1 =
203
+ * New Icons: Mixer, Letterboxd
204
+
205
+ = 3.4.0 =
206
+ * New icons: Zomato, The Fork, New Facebook Icon (click on the icon to change it)
207
+ * Added compatibility with WPML plugin
208
+ * Added a new field for each icon to improve the accessibility: "aria-label".
209
+
210
+ = 3.3.2 =
211
+ * New icons: Yandex Zen, Yandex.
212
+
213
+ = 3.3.1 =
214
+ * New icons: Zillow, TikTok, Shutterstock, Aparat
215
+
216
+ = 3.3.0 =
217
+ * Fixed incompatibility with Beaver Builder plugin
218
+ * Fixed a bug with multiple "rel" attributes
219
+ * Fixed a problem with the icon for OK.ru
220
+ * Added support for Telegram links ("t.me" and "tg://resolve..." protocol)
221
+
222
+ = 3.2.0 =
223
+ * New icon set: [Academicons](https://jpswalsh.github.io/academicons/). Includes icons like Academia.edu, Google Scholar, Coursera, ResearchGate, and many more.
224
+
225
+ = 3.1.0 =
226
+ * New icons: HomeAdvisor, TuneIn (old), Stitcher, MyWed
227
+ * Updated icons: Unsplash
228
+ * New option: Add rel="noopener" to links
229
+ * New option: Add rel="noreferrer" to links
230
+
231
+ = 3.0.13 =
232
+ * New option: Icon Alignment (Left/Center/Right)
233
+
234
+ = 3.0.12 =
235
+ * New icons: Mastodon
236
+ * Bug fix with EyeEm icon
237
+
238
+ = 3.0.11 =
239
+ * New icons: Beatport, iTunes
240
+
241
+ = 3.0.10 =
242
+ * New icons: Slack, Songkick, ReverbNation
243
+
244
+ = 3.0.9 =
245
+ * Fixed: minor caching issue happening after update to 3.0.8
246
+
247
+ = 3.0.8 =
248
+ * New icons: Ello, Line
249
+ * Fixed: links with no labels were missing the anchor text, so we changed the widget to show by default the name of the icon when no label was provided
250
+
251
+ = 3.0.7 =
252
+ * New icons: Discord, Flipboard
253
+ * Fixed a few minor bugs
254
+
255
+ = 3.0.6 =
256
+ * New option: Add rel="nofollow" to links
257
+ * New icons: WhatsApp, ResearchGate
258
+
259
+ = 3.0.5 =
260
+ * New icons: Tidal, Deezer, Unsplash, Codered, Udemy, CrunchBase, Angie's List, App Store, Nextdoor
261
+
262
+ = 3.0.4 =
263
+ * New icon: Strava
264
+
265
+ = 3.0.3 =
266
+ * New icons: Facebook Messenger, PlayStation Store, Overwatch.
267
+
268
+ = 3.0.2 =
269
+ * Fixed bug [#4](https://github.com/wpzoom/social-icons-widget/issues/4)
270
+
271
+ = 3.0.1 =
272
+ * Fixed a bug with default values
273
+
274
+ = 3.0.0 =
275
+ * Added global color picker for all icons
276
+ * New color picker to change hover color
277
+ * Icons are now grouped in categories
278
+
279
+ = 2.2.2 =
280
+ * FontAwesome updated to latest version
281
+ * New icons: Hellocoton, Quora, Etsy, Bandcamp, Meetup, Linode, IMDB, Telegram
282
+
283
+ = 2.2.1 =
284
+ * Added Viber support (Example: viber://add?number=12345)
285
+
286
+ = 2.2.0 =
287
+ * Added Padding and Size options for icons
288
+ * Added support for Skype links (skype:username)
289
+
290
+ = 2.1.0 =
291
+ * New Feature: search icons by keywords
292
+ * New Icon Set: Font Awesome - 600+ new icons
293
+ * Updated Instagram Icon
294
+ * New Icon: EyeEm
295
+
296
+ = 2.0.1 =
297
+
298
+ * Added new icon: Bandcamp
299
+
300
+ = 2.0 =
301
+ * Major Upate
302
+ * Added Color Picker to change the color of each icon individually
303
+ * Added 3 Icon Sets which allows you to choose a custom icon for any links you want.
304
+
305
+ = 1.0.7 =
306
+ * Fixed a bug with links containing the word "play" now showing the right icon.
307
+
308
+ = 1.0.6 =
309
+ * The widget is now fully compatible with the Page Builder by SiteOrigin plugin
310
+
311
+ = 1.0.5 =
312
+ * Added new icons: Snapchat, Telegram, Bloglovin'
313
+ * The plugin is now localized and can be easily translated
314
+ * Added Romanian translations.
315
+
316
+ = 1.0.4 =
317
+ * Added new icons: LOOKBOOK, feedly
318
+
319
+ = 1.0.3 =
320
+ * Updated Google+ icon
321
+ * Added new icons: Airbnb, Baidu, eBay, Medium, Periscope
322
+
323
+ = 1.0.2 =
324
+ * Display proper icons for FeedBurner services
325
+
326
+ = 1.0.1 =
327
+ * Fix TripAdvisor brand color
328
+ * Add subtle hover effect for icons
329
+ * Add description field for cool call to action headlines
330
+
331
+ = 1.0 =
332
+ * Initial release.
333
+
334
+ == Upgrade Notice ==
335
+
336
+ = 4.0.0 =
337
+ Major update. We've added a new Social Icons Block in the new Gutenberg editor!
338
+
339
+ = 3.0.0 =
340
+ Major update. Make sure to check if all your icons work fine.
social-icons-widget-by-wpzoom.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Social Icons Widget & Block to display links to social media networks websites. Supports most of the known social networks and includes more than 400 icons. Sort icons by Drag & Drop and change their color easily.
6
  * Author: WPZOOM
7
  * Author URI: https://www.wpzoom.com/
8
- * Version: 4.1.3
9
  * License: GPLv2 or later
10
  * Text Domain: zoom-social-icons-widget
11
  * Domain Path: /languages
@@ -126,6 +126,15 @@ function zoom_social_icons_widget_load_textdomain() {
126
  load_plugin_textdomain( 'zoom-social-icons-widget', false, plugin_basename( dirname( __FILE__ ) ) . '/languages' );
127
  }
128
 
 
 
 
 
 
 
 
 
 
129
  /**
130
  * Generate select values for block and widget options that are synced with fonts loading values from Settings Page.
131
  *
@@ -175,4 +184,4 @@ add_action( 'init', function () {
175
  add_filter( 'style_loader_tag', 'zoom_social_icons_add_preload_to_rel_attribute', 10, 3 );
176
  }
177
 
178
- } );
5
  * Description: Social Icons Widget & Block to display links to social media networks websites. Supports most of the known social networks and includes more than 400 icons. Sort icons by Drag & Drop and change their color easily.
6
  * Author: WPZOOM
7
  * Author URI: https://www.wpzoom.com/
8
+ * Version: 4.2.0
9
  * License: GPLv2 or later
10
  * Text Domain: zoom-social-icons-widget
11
  * Domain Path: /languages
126
  load_plugin_textdomain( 'zoom-social-icons-widget', false, plugin_basename( dirname( __FILE__ ) ) . '/languages' );
127
  }
128
 
129
+ /**
130
+ * Hide old widget
131
+ */
132
+ function zoom_social_icons_widget_hide( $widget_types ) {
133
+ $widget_types[] = 'zoom-social-icons-widget';
134
+ return $widget_types;
135
+ }
136
+ add_filter( 'widget_types_to_hide_from_legacy_widget_block', 'zoom_social_icons_widget_hide' );
137
+
138
  /**
139
  * Generate select values for block and widget options that are synced with fonts loading values from Settings Page.
140
  *
184
  add_filter( 'style_loader_tag', 'zoom_social_icons_add_preload_to_rel_attribute', 10, 3 );
185
  }
186
 
187
+ } );