Changeset 3451006
- Timestamp:
- 01/31/2026 01:40:01 PM (3 weeks ago)
- Location:
- analogwp-library
- Files:
-
- 14 edited
- 1 copied
-
tags/2.1.0 (copied) (copied from analogwp-library/trunk)
-
tags/2.1.0/analogwp-library.php (modified) (3 diffs)
-
tags/2.1.0/assets/css/library-components.css (modified) (3 diffs)
-
tags/2.1.0/assets/js/app/index.asset.php (modified) (1 diff)
-
tags/2.1.0/assets/js/app/index.js (modified) (7 diffs)
-
tags/2.1.0/inc/Settings/class-register-settings.php (modified) (2 diffs)
-
tags/2.1.0/languages/analogwp-library-analog-custom-library-app.json (modified) (1 diff)
-
tags/2.1.0/languages/analogwp-library.pot (modified) (7 diffs)
-
trunk/analogwp-library.php (modified) (3 diffs)
-
trunk/assets/css/library-components.css (modified) (3 diffs)
-
trunk/assets/js/app/index.asset.php (modified) (1 diff)
-
trunk/assets/js/app/index.js (modified) (7 diffs)
-
trunk/inc/Settings/class-register-settings.php (modified) (2 diffs)
-
trunk/languages/analogwp-library-analog-custom-library-app.json (modified) (1 diff)
-
trunk/languages/analogwp-library.pot (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
analogwp-library/tags/2.1.0/analogwp-library.php
r3440313 r3451006 11 11 * Plugin URI: https://analogwp.com/custom-library-for-elementor 12 12 * Description: Custom Library for Elementor creates the foundation for a design framework that will help you create better, more consistent websites with Elementor. 13 * Version: 2. 0.013 * Version: 2.1.0 14 14 * Author: AnalogWP 15 15 * Author URI: https://analogwp.com/ … … 19 19 * Requires at least: 6.0 20 20 * Requires PHP: 7.4 21 * Elementor tested up to: 3.34. 122 * Elementor Pro tested up to: 3.34. 021 * Elementor tested up to: 3.34.4 22 * Elementor Pro tested up to: 3.34.4 23 23 */ 24 24 … … 28 28 define( 'AGWP_LIBRARY_PHP_MINIMUM', '7.4' ); 29 29 define( 'AGWP_LIBRARY_WP_MINIMUM', '6.0' ); 30 define( 'AGWP_LIBRARY_VERSION', '2. 0.0' );30 define( 'AGWP_LIBRARY_VERSION', '2.1.0' ); 31 31 define( 'AGWP_LIBRARY_PLUGIN_FILE', __FILE__ ); 32 32 define( 'AGWP_LIBRARY_PLUGIN_URL', plugin_dir_url( AGWP_LIBRARY_PLUGIN_FILE ) ); -
analogwp-library/tags/2.1.0/assets/css/library-components.css
r3440313 r3451006 1 #analog-custom-library { 1 #analog-custom-library, 2 .analog-custom-library-themed { 2 3 --analog-custom-library-top-header-bg: #4D45BD; 3 4 --analog-custom-library-top-header-text: #FFFFFF; … … 30 31 /*Top navigation tab CSS*/ 31 32 /*START*/ 32 #analog-custom-library .close-modal {33 margin-left: 8px;34 }35 36 33 #analog-custom-library .logo + .actions svg { 37 34 color: currentColor; … … 1272 1269 flex-direction: column; 1273 1270 } 1271 1272 .analog-custom-library-themed { 1273 background-color: transparent; 1274 top: -10px !important; 1275 1276 .components-popover__content { 1277 background: var(--analog-custom-library-top-header-bg); 1278 box-shadow: none !important; 1279 border-radius: 0 !important; 1280 } 1281 } -
analogwp-library/tags/2.1.0/assets/js/app/index.asset.php
r3440313 r3451006 1 <?php return array('dependencies' => array('react', 'react-jsx-runtime'), 'version' => ' faf21c51592e4f14a7fa');1 <?php return array('dependencies' => array('react', 'react-jsx-runtime'), 'version' => '779a817cb24776b14daa'); -
analogwp-library/tags/2.1.0/assets/js/app/index.js
r3440313 r3451006 1 (()=>{var e={452:e=>{var t=function(e){"use strict";var t,r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var a=t&&t.prototype instanceof b?t:b,i=Object.create(a.prototype),s=new R(n||[]);return o(i,"_invoke",{value:S(e,r,s)}),i}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var p="suspendedStart",h="suspendedYield",f="executing",m="completed",g={};function b(){}function v(){}function y(){}var x={};l(x,i,(function(){return this}));var w=Object.getPrototypeOf,k=w&&w(w(_([])));k&&k!==r&&n.call(k,i)&&(x=k);var C=y.prototype=b.prototype=Object.create(x);function j(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function A(e,t){function r(o,a,i,s){var c=d(e[o],e,a);if("throw"!==c.type){var l=c.arg,u=l.value;return u&&"object"==typeof u&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,i,s)}),(function(e){r("throw",e,i,s)})):t.resolve(u).then((function(e){l.value=e,i(l)}),(function(e){return r("throw",e,i,s)}))}s(c.arg)}var a;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function S(e,r,n){var o=p;return function(a,i){if(o===f)throw new Error("Generator is already running");if(o===m){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var s=n.delegate;if(s){var c=I(s,n);if(c){if(c===g)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=f;var l=d(e,r,n);if("normal"===l.type){if(o=n.done?m:h,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function I(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,I(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var a=d(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,g;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function O(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 L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function R(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function _(e){if(null!=e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return v.prototype=y,o(C,"constructor",{value:y,configurable:!0}),o(y,"constructor",{value:v,configurable:!0}),v.displayName=l(y,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,l(e,c,"GeneratorFunction")),e.prototype=Object.create(C),e},e.awrap=function(e){return{__await:e}},j(A.prototype),l(A.prototype,s,(function(){return this})),e.AsyncIterator=A,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new A(u(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},j(C),l(C,c,"Generator"),l(C,i,(function(){return this})),l(C,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=_,R.prototype={constructor:R,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(L),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return s.type="throw",s.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,g):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),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),L(r),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;L(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:_(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}},967:(e,t)=>{"use strict";var r="function"==typeof Symbol&&Symbol.for,n=(r&&Symbol.for("react.element"),r&&Symbol.for("react.portal"),r?Symbol.for("react.fragment"):60107),o=r?Symbol.for("react.strict_mode"):60108,a=r?Symbol.for("react.profiler"):60114,i=r?Symbol.for("react.provider"):60109,s=r?Symbol.for("react.context"):60110,c=(r&&Symbol.for("react.async_mode"),r?Symbol.for("react.concurrent_mode"):60111),l=r?Symbol.for("react.forward_ref"):60112,u=r?Symbol.for("react.suspense"):60113,d=r?Symbol.for("react.suspense_list"):60120,p=r?Symbol.for("react.memo"):60115,h=r?Symbol.for("react.lazy"):60116,f=r?Symbol.for("react.block"):60121,m=r?Symbol.for("react.fundamental"):60117,g=r?Symbol.for("react.responder"):60118,b=r?Symbol.for("react.scope"):60119;t.ForwardRef=l,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===c||e===a||e===o||e===u||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===p||e.$$typeof===i||e.$$typeof===s||e.$$typeof===l||e.$$typeof===m||e.$$typeof===g||e.$$typeof===b||e.$$typeof===f)}},467:(e,t,r)=>{"use strict";e.exports=r(967)},162:e=>{e.exports=function(){"use strict";return function(e){var t="/*|*/",r=t+"}";function n(t){if(t)try{e(t+"}")}catch(e){}}return function(o,a,i,s,c,l,u,d,p,h){switch(o){case 1:if(0===p&&64===a.charCodeAt(0))return e(a+";"),"";break;case 2:if(0===d)return a+t;break;case 3:switch(d){case 102:case 112:return e(i[0]+a),"";default:return a+(0===h?t:"")}case-2:a.split(r).forEach(n)}}}}()},79:e=>{e.exports=function e(t){"use strict";var r=/^\0+/g,n=/[\0\r\f]/g,o=/: */g,a=/zoo|gra/,i=/([,: ])(transform)/g,s=/,+\s*(?![^(]*[)])/g,c=/ +\s*(?![^(]*[)])/g,l=/ *[\0] */g,u=/,\r+?/g,d=/([\t\r\n ])*\f?&/g,p=/:global\(((?:[^\(\)\[\]]*|\[.*\]|\([^\(\)]*\))*)\)/g,h=/\W+/g,f=/@(k\w+)\s*(\S*)\s*/,m=/::(place)/g,g=/:(read-only)/g,b=/\s+(?=[{\];=:>])/g,v=/([[}=:>])\s+/g,y=/(\{[^{]+?);(?=\})/g,x=/\s{2,}/g,w=/([^\(])(:+) */g,k=/[svh]\w+-[tblr]{2}/,C=/\(\s*(.*)\s*\)/g,j=/([\s\S]*?);/g,A=/-self|flex-/g,S=/[^]*?(:[rp][el]a[\w-]+)[^]*/,I=/stretch|:\s*\w+\-(?:conte|avail)/,O=/([^-])(image-set\()/,L="-webkit-",R="-moz-",_="-ms-",P=59,T=125,N=123,E=40,F=41,B=10,D=13,M=32,$=45,z=42,W=44,G=58,Y=47,H=126,q=107,U=1,V=1,X=0,Z=1,J=1,K=1,Q=0,ee=0,te=0,re=[],ne=[],oe=0,ae=null,ie=0,se=1,ce="",le="",ue="";function de(e,t,o,a,i){for(var s,c,u=0,d=0,p=0,h=0,b=0,v=0,y=0,x=0,k=0,j=0,A=0,S=0,I=0,O=0,R=0,_=0,Q=0,ne=0,ae=0,he=o.length,ye=he-1,xe="",we="",ke="",Ce="",je="",Ae="";R<he;){if(y=o.charCodeAt(R),R===ye&&d+h+p+u!==0&&(0!==d&&(y=d===Y?B:Y),h=p=u=0,he++,ye++),d+h+p+u===0){if(R===ye&&(_>0&&(we=we.replace(n,"")),we.trim().length>0)){switch(y){case M:case 9:case P:case D:case B:break;default:we+=o.charAt(R)}y=P}if(1===Q)switch(y){case N:case T:case P:case 34:case 39:case E:case F:case W:Q=0;case 9:case D:case B:case M:break;default:for(Q=0,ae=R,b=y,R--,y=P;ae<he;)switch(o.charCodeAt(ae++)){case B:case D:case P:++R,y=b,ae=he;break;case G:_>0&&(++R,y=b);case N:ae=he}}switch(y){case N:for(b=(we=we.trim()).charCodeAt(0),A=1,ae=++R;R<he;){switch(y=o.charCodeAt(R)){case N:A++;break;case T:A--;break;case Y:switch(v=o.charCodeAt(R+1)){case z:case Y:R=ve(v,R,ye,o)}break;case 91:y++;case E:y++;case 34:case 39:for(;R++<ye&&o.charCodeAt(R)!==y;);}if(0===A)break;R++}if(ke=o.substring(ae,R),0===b&&(b=(we=we.replace(r,"").trim()).charCodeAt(0)),64===b){switch(_>0&&(we=we.replace(n,"")),v=we.charCodeAt(1)){case 100:case 109:case 115:case $:s=t;break;default:s=re}if(ae=(ke=de(t,s,ke,v,i+1)).length,te>0&&0===ae&&(ae=we.length),oe>0&&(c=be(3,ke,s=pe(re,we,ne),t,V,U,ae,v,i,a),we=s.join(""),void 0!==c&&0===(ae=(ke=c.trim()).length)&&(v=0,ke="")),ae>0)switch(v){case 115:we=we.replace(C,ge);case 100:case 109:case $:ke=we+"{"+ke+"}";break;case q:ke=(we=we.replace(f,"$1 $2"+(se>0?ce:"")))+"{"+ke+"}",ke=1===J||2===J&&me("@"+ke,3)?"@"+L+ke+"@"+ke:"@"+ke;break;default:ke=we+ke,112===a&&(Ce+=ke,ke="")}else ke=""}else ke=de(t,pe(t,we,ne),ke,a,i+1);je+=ke,S=0,Q=0,O=0,_=0,ne=0,I=0,we="",ke="",y=o.charCodeAt(++R);break;case T:case P:if((ae=(we=(_>0?we.replace(n,""):we).trim()).length)>1)switch(0===O&&((b=we.charCodeAt(0))===$||b>96&&b<123)&&(ae=(we=we.replace(" ",":")).length),oe>0&&void 0!==(c=be(1,we,t,e,V,U,Ce.length,a,i,a))&&0===(ae=(we=c.trim()).length)&&(we="\0\0"),b=we.charCodeAt(0),v=we.charCodeAt(1),b){case 0:break;case 64:if(105===v||99===v){Ae+=we+o.charAt(R);break}default:if(we.charCodeAt(ae-1)===G)break;Ce+=fe(we,b,v,we.charCodeAt(2))}S=0,Q=0,O=0,_=0,ne=0,we="",y=o.charCodeAt(++R)}}switch(y){case D:case B:if(d+h+p+u+ee===0)switch(j){case F:case 39:case 34:case 64:case H:case 62:case z:case 43:case Y:case $:case G:case W:case P:case N:case T:break;default:O>0&&(Q=1)}d===Y?d=0:Z+S===0&&a!==q&&we.length>0&&(_=1,we+="\0"),oe*ie>0&&be(0,we,t,e,V,U,Ce.length,a,i,a),U=1,V++;break;case P:case T:if(d+h+p+u===0){U++;break}default:switch(U++,xe=o.charAt(R),y){case 9:case M:if(h+u+d===0)switch(x){case W:case G:case 9:case M:xe="";break;default:y!==M&&(xe=" ")}break;case 0:xe="\\0";break;case 12:xe="\\f";break;case 11:xe="\\v";break;case 38:h+d+u===0&&Z>0&&(ne=1,_=1,xe="\f"+xe);break;case 108:if(h+d+u+X===0&&O>0)switch(R-O){case 2:112===x&&o.charCodeAt(R-3)===G&&(X=x);case 8:111===k&&(X=k)}break;case G:h+d+u===0&&(O=R);break;case W:d+p+h+u===0&&(_=1,xe+="\r");break;case 34:case 39:0===d&&(h=h===y?0:0===h?y:h);break;case 91:h+d+p===0&&u++;break;case 93:h+d+p===0&&u--;break;case F:h+d+u===0&&p--;break;case E:h+d+u===0&&(0===S&&(2*x+3*k==533||(A=0,S=1)),p++);break;case 64:d+p+h+u+O+I===0&&(I=1);break;case z:case Y:if(h+u+p>0)break;switch(d){case 0:switch(2*y+3*o.charCodeAt(R+1)){case 235:d=Y;break;case 220:ae=R,d=z}break;case z:y===Y&&x===z&&ae+2!==R&&(33===o.charCodeAt(ae+2)&&(Ce+=o.substring(ae,R+1)),xe="",d=0)}}if(0===d){if(Z+h+u+I===0&&a!==q&&y!==P)switch(y){case W:case H:case 62:case 43:case F:case E:if(0===S){switch(x){case 9:case M:case B:case D:xe+="\0";break;default:xe="\0"+xe+(y===W?"":"\0")}_=1}else switch(y){case E:O+7===R&&108===x&&(O=0),S=++A;break;case F:0==(S=--A)&&(_=1,xe+="\0")}break;case 9:case M:switch(x){case 0:case N:case T:case P:case W:case 12:case 9:case M:case B:case D:break;default:0===S&&(_=1,xe+="\0")}}we+=xe,y!==M&&9!==y&&(j=y)}}k=x,x=y,R++}if(ae=Ce.length,te>0&&0===ae&&0===je.length&&0===t[0].length==0&&(109!==a||1===t.length&&(Z>0?le:ue)===t[0])&&(ae=t.join(",").length+2),ae>0){if(s=0===Z&&a!==q?function(e){for(var t,r,o=0,a=e.length,i=Array(a);o<a;++o){for(var s=e[o].split(l),c="",u=0,d=0,p=0,h=0,f=s.length;u<f;++u)if(!(0===(d=(r=s[u]).length)&&f>1)){if(p=c.charCodeAt(c.length-1),h=r.charCodeAt(0),t="",0!==u)switch(p){case z:case H:case 62:case 43:case M:case E:break;default:t=" "}switch(h){case 38:r=t+le;case H:case 62:case 43:case M:case F:case E:break;case 91:r=t+r+le;break;case G:switch(2*r.charCodeAt(1)+3*r.charCodeAt(2)){case 530:if(K>0){r=t+r.substring(8,d-1);break}default:(u<1||s[u-1].length<1)&&(r=t+le+r)}break;case W:t="";default:r=d>1&&r.indexOf(":")>0?t+r.replace(w,"$1"+le+"$2"):t+r+le}c+=r}i[o]=c.replace(n,"").trim()}return i}(t):t,oe>0&&void 0!==(c=be(2,Ce,s,e,V,U,ae,a,i,a))&&0===(Ce=c).length)return Ae+Ce+je;if(Ce=s.join(",")+"{"+Ce+"}",J*X!=0){switch(2!==J||me(Ce,2)||(X=0),X){case 111:Ce=Ce.replace(g,":-moz-$1")+Ce;break;case 112:Ce=Ce.replace(m,"::"+L+"input-$1")+Ce.replace(m,"::-moz-$1")+Ce.replace(m,":-ms-input-$1")+Ce}X=0}}return Ae+Ce+je}function pe(e,t,r){var n=t.trim().split(u),o=n,a=n.length,i=e.length;switch(i){case 0:case 1:for(var s=0,c=0===i?"":e[0]+" ";s<a;++s)o[s]=he(c,o[s],r,i).trim();break;default:s=0;var l=0;for(o=[];s<a;++s)for(var d=0;d<i;++d)o[l++]=he(e[d]+" ",n[s],r,i).trim()}return o}function he(e,t,r,n){var o=t,a=o.charCodeAt(0);switch(a<33&&(a=(o=o.trim()).charCodeAt(0)),a){case 38:switch(Z+n){case 0:case 1:if(0===e.trim().length)break;default:return o.replace(d,"$1"+e.trim())}break;case G:if(103!==o.charCodeAt(1))return e.trim()+o.replace(d,"$1"+e.trim());if(K>0&&Z>0)return o.replace(p,"$1").replace(d,"$1"+ue);default:if(r*Z>0&&o.indexOf("\f")>0)return o.replace(d,(e.charCodeAt(0)===G?"":"$1")+e.trim())}return e+o}function fe(e,t,r,n){var l,u=0,d=e+";",p=2*t+3*r+4*n;if(944===p)return function(e){var t=e.length,r=e.indexOf(":",9)+1,n=e.substring(0,r).trim(),o=e.substring(r,t-1).trim();switch(e.charCodeAt(9)*se){case 0:break;case $:if(110!==e.charCodeAt(10))break;default:var a=o.split((o="",s)),i=0;for(r=0,t=a.length;i<t;r=0,++i){for(var l=a[i],u=l.split(c);l=u[r];){var d=l.charCodeAt(0);if(1===se&&(d>64&&d<90||d>96&&d<123||95===d||d===$&&l.charCodeAt(1)!==$)&&isNaN(parseFloat(l))+(-1!==l.indexOf("("))===1)switch(l){case"infinite":case"alternate":case"backwards":case"running":case"normal":case"forwards":case"both":case"none":case"linear":case"ease":case"ease-in":case"ease-out":case"ease-in-out":case"paused":case"reverse":case"alternate-reverse":case"inherit":case"initial":case"unset":case"step-start":case"step-end":break;default:l+=ce}u[r++]=l}o+=(0===i?"":",")+u.join(" ")}}return o=n+o+";",1===J||2===J&&me(o,1)?L+o+o:o}(d);if(0===J||2===J&&!me(d,1))return d;switch(p){case 1015:return 97===d.charCodeAt(10)?L+d+d:d;case 951:return 116===d.charCodeAt(3)?L+d+d:d;case 963:return 110===d.charCodeAt(5)?L+d+d:d;case 1009:if(100!==d.charCodeAt(4))break;case 969:case 942:return L+d+d;case 978:return L+d+R+d+d;case 1019:case 983:return L+d+R+d+_+d+d;case 883:return d.charCodeAt(8)===$?L+d+d:d.indexOf("image-set(",11)>0?d.replace(O,"$1"+L+"$2")+d:d;case 932:if(d.charCodeAt(4)===$)switch(d.charCodeAt(5)){case 103:return L+"box-"+d.replace("-grow","")+L+d+_+d.replace("grow","positive")+d;case 115:return L+d+_+d.replace("shrink","negative")+d;case 98:return L+d+_+d.replace("basis","preferred-size")+d}return L+d+_+d+d;case 964:return L+d+_+"flex-"+d+d;case 1023:if(99!==d.charCodeAt(8))break;return l=d.substring(d.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),L+"box-pack"+l+L+d+_+"flex-pack"+l+d;case 1005:return a.test(d)?d.replace(o,":"+L)+d.replace(o,":"+R)+d:d;case 1e3:switch(u=(l=d.substring(13).trim()).indexOf("-")+1,l.charCodeAt(0)+l.charCodeAt(u)){case 226:l=d.replace(k,"tb");break;case 232:l=d.replace(k,"tb-rl");break;case 220:l=d.replace(k,"lr");break;default:return d}return L+d+_+l+d;case 1017:if(-1===d.indexOf("sticky",9))return d;case 975:switch(u=(d=e).length-10,p=(l=(33===d.charCodeAt(u)?d.substring(0,u):d).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|l.charCodeAt(7))){case 203:if(l.charCodeAt(8)<111)break;case 115:d=d.replace(l,L+l)+";"+d;break;case 207:case 102:d=d.replace(l,L+(p>102?"inline-":"")+"box")+";"+d.replace(l,L+l)+";"+d.replace(l,_+l+"box")+";"+d}return d+";";case 938:if(d.charCodeAt(5)===$)switch(d.charCodeAt(6)){case 105:return l=d.replace("-items",""),L+d+L+"box-"+l+_+"flex-"+l+d;case 115:return L+d+_+"flex-item-"+d.replace(A,"")+d;default:return L+d+_+"flex-line-pack"+d.replace("align-content","").replace(A,"")+d}break;case 973:case 989:if(d.charCodeAt(3)!==$||122===d.charCodeAt(4))break;case 931:case 953:if(!0===I.test(e))return 115===(l=e.substring(e.indexOf(":")+1)).charCodeAt(0)?fe(e.replace("stretch","fill-available"),t,r,n).replace(":fill-available",":stretch"):d.replace(l,L+l)+d.replace(l,R+l.replace("fill-",""))+d;break;case 962:if(d=L+d+(102===d.charCodeAt(5)?_+d:"")+d,r+n===211&&105===d.charCodeAt(13)&&d.indexOf("transform",10)>0)return d.substring(0,d.indexOf(";",27)+1).replace(i,"$1"+L+"$2")+d}return d}function me(e,t){var r=e.indexOf(1===t?":":"{"),n=e.substring(0,3!==t?r:10),o=e.substring(r+1,e.length-1);return ae(2!==t?n:n.replace(S,"$1"),o,t)}function ge(e,t){var r=fe(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return r!==t+";"?r.replace(j," or ($1)").substring(4):"("+t+")"}function be(e,t,r,n,o,a,i,s,c,l){for(var u,d=0,p=t;d<oe;++d)switch(u=ne[d].call(xe,e,p,r,n,o,a,i,s,c,l)){case void 0:case!1:case!0:case null:break;default:p=u}if(p!==t)return p}function ve(e,t,r,n){for(var o=t+1;o<r;++o)switch(n.charCodeAt(o)){case Y:if(e===z&&n.charCodeAt(o-1)===z&&t+2!==o)return o+1;break;case B:if(e===Y)return o+1}return o}function ye(e){for(var t in e){var r=e[t];switch(t){case"keyframe":se=0|r;break;case"global":K=0|r;break;case"cascade":Z=0|r;break;case"compress":Q=0|r;break;case"semicolon":ee=0|r;break;case"preserve":te=0|r;break;case"prefix":ae=null,r?"function"!=typeof r?J=1:(J=2,ae=r):J=0}}return ye}function xe(t,r){if(void 0!==this&&this.constructor===xe)return e(t);var o=t,a=o.charCodeAt(0);a<33&&(a=(o=o.trim()).charCodeAt(0)),se>0&&(ce=o.replace(h,91===a?"":"-")),a=1,1===Z?ue=o:le=o;var i,s=[ue];oe>0&&void 0!==(i=be(-1,r,s,s,V,U,0,0,0,0))&&"string"==typeof i&&(r=i);var c=de(re,s,r,0,0);return oe>0&&void 0!==(i=be(-2,c,s,s,V,U,c.length,0,0,0))&&"string"!=typeof(c=i)&&(a=0),ce="",ue="",le="",X=0,V=1,U=1,Q*a==0?c:c.replace(n,"").replace(b,"").replace(v,"$1").replace(y,"$1").replace(x," ")}return xe.use=function e(t){switch(t){case void 0:case null:oe=ne.length=0;break;default:if("function"==typeof t)ne[oe++]=t;else if("object"==typeof t)for(var r=0,n=t.length;r<n;++r)e(t[r]);else ie=0|!!t}return e},xe.set=ye,void 0!==t&&ye(t),xe}(null)},942:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];r&&(e=i(e,a(r)))}return e}function a(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var r in e)n.call(e,r)&&e[r]&&(t=i(t,r));return t}function i(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.nc=void 0,(()=>{"use strict";var e=r(79),t=r.n(e),n=r(162),o=r.n(n);const a=window.React;var i=r.n(a);const s={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var c=r(467),l=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function u(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(!((n=e[r])===(o=t[r])||l(n)&&l(o)))return!1;var n,o;return!0}const d=function(e,t){var r;void 0===t&&(t=u);var n,o=[],a=!1;return function(){for(var i=[],s=0;s<arguments.length;s++)i[s]=arguments[s];return a&&r===this&&t(i,o)||(n=e.apply(this,i),a=!0,r=this,o=i),n}};var p=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/;const h=(f={},function(e){return void 0===f[e]&&(f[e]=(t=e,p.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)<91)),f[e];var t});var f;function m(e){return Object.prototype.toString.call(e).slice(8,-1)}function g(e){return"Object"===m(e)&&e.constructor===Object&&Object.getPrototypeOf(e)===Object.prototype}function b(e){return"Array"===m(e)}function v(e){return"Symbol"===m(e)}function y(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),o=0;for(t=0;t<r;t++)for(var a=arguments[t],i=0,s=a.length;i<s;i++,o++)n[o]=a[i];return n}function x(e,t,r,n){var o=n.propertyIsEnumerable(t)?"enumerable":"nonenumerable";"enumerable"===o&&(e[t]=r),"nonenumerable"===o&&Object.defineProperty(e,t,{value:r,enumerable:!1,writable:!0,configurable:!0})}function w(e,t,r){if(!g(t))return r&&b(r)&&r.forEach((function(r){t=r(e,t)})),t;var n={};return g(e)&&(n=y(Object.getOwnPropertyNames(e),Object.getOwnPropertySymbols(e)).reduce((function(r,n){var o=e[n];return(!v(n)&&!Object.getOwnPropertyNames(t).includes(n)||v(n)&&!Object.getOwnPropertySymbols(t).includes(n))&&x(r,n,o,e),r}),{})),y(Object.getOwnPropertyNames(t),Object.getOwnPropertySymbols(t)).reduce((function(n,o){var a=t[o],i=g(e)?e[o]:void 0;return r&&b(r)&&r.forEach((function(e){a=e(i,a)})),void 0!==i&&g(a)&&(a=w(i,a,r)),x(n,o,a,t),n}),n)}const k=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=null,o=e;return g(e)&&e.extensions&&1===Object.keys(e).length&&(o={},n=e.extensions),t.reduce((function(e,t){return w(e,t,n)}),o)};var C=function(e,t){for(var r=[e[0]],n=0,o=t.length;n<o;n+=1)r.push(t[n],e[n+1]);return r},j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},A=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},S=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),I=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},O=function(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)},L=function(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},R=function(e){return"object"===(void 0===e?"undefined":j(e))&&e.constructor===Object},_=Object.freeze([]),P=Object.freeze({});function T(e){return"function"==typeof e}function N(e){return e.displayName||e.name||"Component"}function E(e){return e&&"string"==typeof e.styledComponentId}var F="undefined"!=typeof process&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",B="data-styled-version",D="undefined"!=typeof window&&"HTMLElement"in window,M="boolean"==typeof SC_DISABLE_SPEEDY&&SC_DISABLE_SPEEDY||"undefined"!=typeof process&&(process.env.REACT_APP_SC_DISABLE_SPEEDY||process.env.SC_DISABLE_SPEEDY)||!1,$=function(e){function t(r){A(this,t);for(var n=arguments.length,o=Array(n>1?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a];var i=L(this,e.call(this,"An error occurred. See https://github.com/styled-components/styled-components/blob/master/packages/styled-components/src/utils/errors.md#"+r+" for more information."+(o.length>0?" Additional arguments: "+o.join(", "):"")));return L(i)}return O(t,e),t}(Error),z=/^[^\S\n]*?\/\* sc-component-id:\s*(\S+)\s+\*\//gm,W=function(e){var t=""+(e||""),r=[];return t.replace(z,(function(e,t,n){return r.push({componentId:t,matchIndex:n}),e})),r.map((function(e,n){var o=e.componentId,a=e.matchIndex,i=r[n+1];return{componentId:o,cssFromDOM:i?t.slice(a,i.matchIndex):t.slice(a)}}))},G=/^\s*\/\/.*$/gm,Y=new(t())({global:!1,cascade:!0,keyframe:!1,prefix:!1,compress:!1,semicolon:!0}),H=new(t())({global:!1,cascade:!0,keyframe:!1,prefix:!0,compress:!1,semicolon:!1}),q=[],U=function(e){if(-2===e){var t=q;return q=[],t}},V=o()((function(e){q.push(e)})),X=void 0,Z=void 0,J=void 0,K=function(e,t,r){return t>0&&-1!==r.slice(0,t).indexOf(Z)&&r.slice(t-Z.length,t)!==Z?"."+X:e};H.use([function(e,t,r){2===e&&r.length&&r[0].lastIndexOf(Z)>0&&(r[0]=r[0].replace(J,K))},V,U]),Y.use([V,U]);var Q=function(e){return Y("",e)};function ee(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"&",o=e.join("").replace(G,""),a=t&&r?r+" "+t+" { "+o+" }":o;return X=n,Z=t,J=new RegExp("\\"+Z+"\\b","g"),H(r||!t?"":t,a)}var te,re=function(){return r.nc},ne=function(e,t,r){r&&((e[t]||(e[t]=Object.create(null)))[r]=!0)},oe=function(e,t){e[t]=Object.create(null)},ae=function(e){return function(t,r){return void 0!==e[t]&&e[t][r]}},ie=function(e){var t="";for(var r in e)t+=Object.keys(e[r]).join(" ")+" ";return t.trim()},se=function(e){if(e.sheet)return e.sheet;for(var t=e.ownerDocument.styleSheets.length,r=0;r<t;r+=1){var n=e.ownerDocument.styleSheets[r];if(n.ownerNode===e)return n}throw new $(10)},ce=function(e,t,r){if(!t)return!1;var n=e.cssRules.length;try{e.insertRule(t,r<=n?r:n)}catch(e){return!1}return!0},le=function(e){return"\n/* sc-component-id: "+e+" */\n"},ue=function(e,t){for(var r=0,n=0;n<=t;n+=1)r+=e[n];return r},de=function(e,t){return function(r){var n=re();return"<style "+[n&&'nonce="'+n+'"',F+'="'+ie(t)+'"',B+'="4.4.1"',r].filter(Boolean).join(" ")+">"+e()+"</style>"}},pe=function(e,t){return function(){var r,n=((r={})[F]=ie(t),r[B]="4.4.1",r),o=re();return o&&(n.nonce=o),i().createElement("style",I({},n,{dangerouslySetInnerHTML:{__html:e()}}))}},he=function(e){return function(){return Object.keys(e)}},fe=function(e,t){return e.createTextNode(le(t))},me=function e(t,r){var n=void 0===t?Object.create(null):t,o=void 0===r?Object.create(null):r,a=function(e){var t=o[e];return void 0!==t?t:o[e]=[""]},i=function(){var e="";for(var t in o){var r=o[t][0];r&&(e+=le(t)+r)}return e};return{clone:function(){var t=function(e){var t=Object.create(null);for(var r in e)t[r]=I({},e[r]);return t}(n),r=Object.create(null);for(var a in o)r[a]=[o[a][0]];return e(t,r)},css:i,getIds:he(o),hasNameForId:ae(n),insertMarker:a,insertRules:function(e,t,r){a(e)[0]+=t.join(" "),ne(n,e,r)},removeRules:function(e){var t=o[e];void 0!==t&&(t[0]="",oe(n,e))},sealed:!1,styleTag:null,toElement:pe(i,n),toHTML:de(i,n)}},ge=function(e,t,r,n,o){if(D&&!r){var a=function(e,t,r){var n=document;e?n=e.ownerDocument:t&&(n=t.ownerDocument);var o=n.createElement("style");o.setAttribute(F,""),o.setAttribute(B,"4.4.1");var a=re();if(a&&o.setAttribute("nonce",a),o.appendChild(n.createTextNode("")),e&&!t)e.appendChild(o);else{if(!t||!e||!t.parentNode)throw new $(6);t.parentNode.insertBefore(o,r?t:t.nextSibling)}return o}(e,t,n);return M?function(e,t){var r=Object.create(null),n=Object.create(null),o=void 0!==t,a=!1,i=function(t){var o=n[t];return void 0!==o?o:(n[t]=fe(e.ownerDocument,t),e.appendChild(n[t]),r[t]=Object.create(null),n[t])},s=function(){var e="";for(var t in n)e+=n[t].data;return e};return{clone:function(){throw new $(5)},css:s,getIds:he(n),hasNameForId:ae(r),insertMarker:i,insertRules:function(e,n,s){for(var c=i(e),l=[],u=n.length,d=0;d<u;d+=1){var p=n[d],h=o;if(h&&-1!==p.indexOf("@import"))l.push(p);else{h=!1;var f=d===u-1?"":" ";c.appendData(""+p+f)}}ne(r,e,s),o&&l.length>0&&(a=!0,t().insertRules(e+"-import",l))},removeRules:function(i){var s=n[i];if(void 0!==s){var c=fe(e.ownerDocument,i);e.replaceChild(c,s),n[i]=c,oe(r,i),o&&a&&t().removeRules(i+"-import")}},sealed:!1,styleTag:e,toElement:pe(s,r),toHTML:de(s,r)}}(a,o):function(e,t){var r=Object.create(null),n=Object.create(null),o=[],a=void 0!==t,i=!1,s=function(e){var t=n[e];return void 0!==t?t:(n[e]=o.length,o.push(0),oe(r,e),n[e])},c=function(){var t=se(e).cssRules,r="";for(var a in n){r+=le(a);for(var i=n[a],s=ue(o,i),c=s-o[i];c<s;c+=1){var l=t[c];void 0!==l&&(r+=l.cssText)}}return r};return{clone:function(){throw new $(5)},css:c,getIds:he(n),hasNameForId:ae(r),insertMarker:s,insertRules:function(n,c,l){for(var u=s(n),d=se(e),p=ue(o,u),h=0,f=[],m=c.length,g=0;g<m;g+=1){var b=c[g],v=a;v&&-1!==b.indexOf("@import")?f.push(b):ce(d,b,p+h)&&(v=!1,h+=1)}a&&f.length>0&&(i=!0,t().insertRules(n+"-import",f)),o[u]+=h,ne(r,n,l)},removeRules:function(s){var c=n[s];if(void 0!==c&&!1!==e.isConnected){var l=o[c];!function(e,t,r){for(var n=t-r,o=t;o>n;o-=1)e.deleteRule(o)}(se(e),ue(o,c)-1,l),o[c]=0,oe(r,s),a&&i&&t().removeRules(s+"-import")}},sealed:!1,styleTag:e,toElement:pe(c,r),toHTML:de(c,r)}}(a,o)}return me()},be=/\s+/;te=D?M?40:1e3:-1;var ve=0,ye=void 0,xe=function(){function e(){var t=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:D?document.head:null,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];A(this,e),this.getImportRuleTag=function(){var e=t.importRuleTag;if(void 0!==e)return e;var r=t.tags[0];return t.importRuleTag=ge(t.target,r?r.styleTag:null,t.forceServer,!0)},ve+=1,this.id=ve,this.forceServer=n,this.target=n?null:r,this.tagMap={},this.deferred={},this.rehydratedNames={},this.ignoreRehydratedNames={},this.tags=[],this.capacity=1,this.clones=[]}return e.prototype.rehydrate=function(){if(!D||this.forceServer)return this;var e=[],t=[],r=!1,n=document.querySelectorAll("style["+F+"]["+B+'="4.4.1"]'),o=n.length;if(!o)return this;for(var a=0;a<o;a+=1){var i=n[a];r||(r=!!i.getAttribute("data-styled-streamed"));for(var s,c=(i.getAttribute(F)||"").trim().split(be),l=c.length,u=0;u<l;u+=1)s=c[u],this.rehydratedNames[s]=!0;t.push.apply(t,W(i.textContent)),e.push(i)}var d=t.length;if(!d)return this;var p=this.makeTag(null);!function(e,t,r){for(var n=0,o=r.length;n<o;n+=1){var a=r[n],i=a.componentId,s=a.cssFromDOM,c=Q(s);e.insertRules(i,c)}for(var l=0,u=t.length;l<u;l+=1){var d=t[l];d.parentNode&&d.parentNode.removeChild(d)}}(p,e,t),this.capacity=Math.max(1,te-d),this.tags.push(p);for(var h=0;h<d;h+=1)this.tagMap[t[h].componentId]=p;return this},e.reset=function(){ye=new e(void 0,arguments.length>0&&void 0!==arguments[0]&&arguments[0]).rehydrate()},e.prototype.clone=function(){var t=new e(this.target,this.forceServer);return this.clones.push(t),t.tags=this.tags.map((function(e){for(var r=e.getIds(),n=e.clone(),o=0;o<r.length;o+=1)t.tagMap[r[o]]=n;return n})),t.rehydratedNames=I({},this.rehydratedNames),t.deferred=I({},this.deferred),t},e.prototype.sealAllTags=function(){this.capacity=1,this.tags.forEach((function(e){e.sealed=!0}))},e.prototype.makeTag=function(e){var t=e?e.styleTag:null;return ge(this.target,t,this.forceServer,!1,this.getImportRuleTag)},e.prototype.getTagForId=function(e){var t=this.tagMap[e];if(void 0!==t&&!t.sealed)return t;var r=this.tags[this.tags.length-1];return this.capacity-=1,0===this.capacity&&(this.capacity=te,r=this.makeTag(r),this.tags.push(r)),this.tagMap[e]=r},e.prototype.hasId=function(e){return void 0!==this.tagMap[e]},e.prototype.hasNameForId=function(e,t){if(void 0===this.ignoreRehydratedNames[e]&&this.rehydratedNames[t])return!0;var r=this.tagMap[e];return void 0!==r&&r.hasNameForId(e,t)},e.prototype.deferredInject=function(e,t){if(void 0===this.tagMap[e]){for(var r=this.clones,n=0;n<r.length;n+=1)r[n].deferredInject(e,t);this.getTagForId(e).insertMarker(e),this.deferred[e]=t}},e.prototype.inject=function(e,t,r){for(var n=this.clones,o=0;o<n.length;o+=1)n[o].inject(e,t,r);var a=this.getTagForId(e);if(void 0!==this.deferred[e]){var i=this.deferred[e].concat(t);a.insertRules(e,i,r),this.deferred[e]=void 0}else a.insertRules(e,t,r)},e.prototype.remove=function(e){var t=this.tagMap[e];if(void 0!==t){for(var r=this.clones,n=0;n<r.length;n+=1)r[n].remove(e);t.removeRules(e),this.ignoreRehydratedNames[e]=!0,this.deferred[e]=void 0}},e.prototype.toHTML=function(){return this.tags.map((function(e){return e.toHTML()})).join("")},e.prototype.toReactElements=function(){var e=this.id;return this.tags.map((function(t,r){var n="sc-"+e+"-"+r;return(0,a.cloneElement)(t.toElement(),{key:n})}))},S(e,null,[{key:"master",get:function(){return ye||(ye=(new e).rehydrate())}},{key:"instance",get:function(){return e.master}}]),e}(),we=function(){function e(t,r){var n=this;A(this,e),this.inject=function(e){e.hasNameForId(n.id,n.name)||e.inject(n.id,n.rules,n.name)},this.toString=function(){throw new $(12,String(n.name))},this.name=t,this.rules=r,this.id="sc-keyframes-"+t}return e.prototype.getName=function(){return this.name},e}(),ke=/([A-Z])/g,Ce=/^ms-/;function je(e){return e.replace(ke,"-$1").toLowerCase().replace(Ce,"-ms-")}var Ae=function(e){return null==e||!1===e||""===e},Se=function e(t,r){var n=[];return Object.keys(t).forEach((function(r){if(!Ae(t[r])){if(R(t[r]))return n.push.apply(n,e(t[r],r)),n;if(T(t[r]))return n.push(je(r)+":",t[r],";"),n;n.push(je(r)+": "+(o=r,(null==(a=t[r])||"boolean"==typeof a||""===a?"":"number"!=typeof a||0===a||o in s?String(a).trim():a+"px")+";"))}var o,a;return n})),r?[r+" {"].concat(n,["}"]):n};function Ie(e,t,r){if(Array.isArray(e)){for(var n,o=[],a=0,i=e.length;a<i;a+=1)null!==(n=Ie(e[a],t,r))&&(Array.isArray(n)?o.push.apply(o,n):o.push(n));return o}return Ae(e)?null:E(e)?"."+e.styledComponentId:T(e)?"function"!=typeof(s=e)||s.prototype&&s.prototype.isReactComponent||!t?e:Ie(e(t),t,r):e instanceof we?r?(e.inject(r),e.getName()):e:R(e)?Se(e):e.toString();var s}function Oe(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return T(e)||R(e)?Ie(C(_,[e].concat(r))):Ie(C(e,r))}function Le(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:P;if(!(0,c.isValidElementType)(t))throw new $(1,String(t));var n=function(){return e(t,r,Oe.apply(void 0,arguments))};return n.withConfig=function(n){return Le(e,t,I({},r,n))},n.attrs=function(n){return Le(e,t,I({},r,{attrs:Array.prototype.concat(r.attrs,n).filter(Boolean)}))},n}function Re(e){for(var t,r=0|e.length,n=0|r,o=0;r>=4;)t=1540483477*(65535&(t=255&e.charCodeAt(o)|(255&e.charCodeAt(++o))<<8|(255&e.charCodeAt(++o))<<16|(255&e.charCodeAt(++o))<<24))+((1540483477*(t>>>16)&65535)<<16),n=1540483477*(65535&n)+((1540483477*(n>>>16)&65535)<<16)^(t=1540483477*(65535&(t^=t>>>24))+((1540483477*(t>>>16)&65535)<<16)),r-=4,++o;switch(r){case 3:n^=(255&e.charCodeAt(o+2))<<16;case 2:n^=(255&e.charCodeAt(o+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(o)))+((1540483477*(n>>>16)&65535)<<16)}return((n=1540483477*(65535&(n^=n>>>13))+((1540483477*(n>>>16)&65535)<<16))^n>>>15)>>>0}var _e=function(e){return String.fromCharCode(e+(e>25?39:97))};function Pe(e){var t="",r=void 0;for(r=e;r>52;r=Math.floor(r/52))t=_e(r%52)+t;return _e(r%52)+t}function Te(e,t){for(var r=0;r<e.length;r+=1){var n=e[r];if(Array.isArray(n)&&!Te(n,t))return!1;if(T(n)&&!E(n))return!1}return!t.some((function(e){return T(e)||function(e){for(var t in e)if(T(e[t]))return!0;return!1}(e)}))}var Ne,Ee=function(e){return Pe(Re(e))},Fe=function(){function e(t,r,n){A(this,e),this.rules=t,this.isStatic=Te(t,r),this.componentId=n,xe.master.hasId(n)||xe.master.deferredInject(n,[])}return e.prototype.generateAndInjectStyles=function(e,t){var r=this.isStatic,n=this.componentId,o=this.lastClassName;if(D&&r&&"string"==typeof o&&t.hasNameForId(n,o))return o;var a=Ie(this.rules,e,t),i=Ee(this.componentId+a.join(""));return t.hasNameForId(n,i)||t.inject(this.componentId,ee(a,"."+i,void 0,n),i),this.lastClassName=i,i},e.generateName=function(e){return Ee(e)},e}(),Be=/[[\].#*$><+~=|^:(),"'`-]+/g,De=/(^-|-$)/g;function Me(e){return e.replace(Be,"-").replace(De,"")}function ze(e){return"string"==typeof e&&!0}var We={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDerivedStateFromProps:!0,propTypes:!0,type:!0},Ge={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Ye=((Ne={})[c.ForwardRef]={$$typeof:!0,render:!0},Ne),He=Object.defineProperty,qe=Object.getOwnPropertyNames,Ue=Object.getOwnPropertySymbols,Ve=void 0===Ue?function(){return[]}:Ue,Xe=Object.getOwnPropertyDescriptor,Ze=Object.getPrototypeOf,Je=Object.prototype,Ke=Array.prototype;function Qe(e,t,r){if("string"!=typeof t){var n=Ze(t);n&&n!==Je&&Qe(e,n,r);for(var o=Ke.concat(qe(t),Ve(t)),a=Ye[e.$$typeof]||We,i=Ye[t.$$typeof]||We,s=o.length,c=void 0,l=void 0;s--;)if(l=o[s],!(Ge[l]||r&&r[l]||i&&i[l]||a&&a[l])&&(c=Xe(t,l)))try{He(e,l,c)}catch(e){}return e}return e}var et=(0,a.createContext)(),tt=et.Consumer,rt=(function(e){function t(r){A(this,t);var n=L(this,e.call(this,r));return n.getContext=d(n.getContext.bind(n)),n.renderInner=n.renderInner.bind(n),n}O(t,e),t.prototype.render=function(){return this.props.children?i().createElement(et.Consumer,null,this.renderInner):null},t.prototype.renderInner=function(e){var t=this.getContext(this.props.theme,e);return i().createElement(et.Provider,{value:t},this.props.children)},t.prototype.getTheme=function(e,t){if(T(e))return e(t);if(null===e||Array.isArray(e)||"object"!==(void 0===e?"undefined":j(e)))throw new $(8);return I({},t,e)},t.prototype.getContext=function(e,t){return this.getTheme(e,t)}}(a.Component),function(){function e(){A(this,e),this.masterSheet=xe.master,this.instance=this.masterSheet.clone(),this.sealed=!1}e.prototype.seal=function(){if(!this.sealed){var e=this.masterSheet.clones.indexOf(this.instance);this.masterSheet.clones.splice(e,1),this.sealed=!0}},e.prototype.collectStyles=function(e){if(this.sealed)throw new $(2);return i().createElement(ot,{sheet:this.instance},e)},e.prototype.getStyleTags=function(){return this.seal(),this.instance.toHTML()},e.prototype.getStyleElement=function(){return this.seal(),this.instance.toReactElements()},e.prototype.interleaveWithNodeStream=function(e){throw new $(3)}}(),(0,a.createContext)()),nt=rt.Consumer,ot=function(e){function t(r){A(this,t);var n=L(this,e.call(this,r));return n.getContext=d(n.getContext),n}return O(t,e),t.prototype.getContext=function(e,t){if(e)return e;if(t)return new xe(t);throw new $(4)},t.prototype.render=function(){var e=this.props,t=e.children,r=e.sheet,n=e.target;return i().createElement(rt.Provider,{value:this.getContext(r,n)},t)},t}(a.Component),at={},it=function(e){function t(){A(this,t);var r=L(this,e.call(this));return r.attrs={},r.renderOuter=r.renderOuter.bind(r),r.renderInner=r.renderInner.bind(r),r}return O(t,e),t.prototype.render=function(){return i().createElement(nt,null,this.renderOuter)},t.prototype.renderOuter=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:xe.master;return this.styleSheet=e,this.props.forwardedComponent.componentStyle.isStatic?this.renderInner():i().createElement(tt,null,this.renderInner)},t.prototype.renderInner=function(e){var t,r=this.props.forwardedComponent,n=r.componentStyle,o=r.defaultProps,i=(r.displayName,r.foldedComponentIds),s=r.styledComponentId,c=r.target;t=n.isStatic?this.generateAndInjectStyles(P,this.props):this.generateAndInjectStyles(function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:P,n=!!r&&e.theme===r.theme;return e.theme&&!n?e.theme:t||r.theme}(this.props,e,o)||P,this.props);var l=this.props.as||this.attrs.as||c,u=ze(l),d={},p=I({},this.props,this.attrs),f=void 0;for(f in p)"forwardedComponent"!==f&&"as"!==f&&("forwardedRef"===f?d.ref=p[f]:"forwardedAs"===f?d.as=p[f]:u&&!h(f)||(d[f]=p[f]));return this.props.style&&this.attrs.style&&(d.style=I({},this.attrs.style,this.props.style)),d.className=Array.prototype.concat(i,s,t!==s?t:null,this.props.className,this.attrs.className).filter(Boolean).join(" "),(0,a.createElement)(l,d)},t.prototype.buildExecutionContext=function(e,t,r){var n=this,o=I({},t,{theme:e});return r.length?(this.attrs={},r.forEach((function(e){var t,r=e,a=!1,i=void 0,s=void 0;for(s in T(r)&&(r=r(o),a=!0),r)i=r[s],a||!T(i)||(t=i)&&t.prototype&&t.prototype.isReactComponent||E(i)||(i=i(o)),n.attrs[s]=i,o[s]=i})),o):o},t.prototype.generateAndInjectStyles=function(e,t){var r=t.forwardedComponent,n=r.attrs,o=r.componentStyle;return r.warnTooManyClasses,o.isStatic&&!n.length?o.generateAndInjectStyles(P,this.styleSheet):o.generateAndInjectStyles(this.buildExecutionContext(e,t,n),this.styleSheet)},t}(a.Component);function st(e,t,r){var n=E(e),o=!ze(e),a=t.displayName,s=void 0===a?function(e){return ze(e)?"styled."+e:"Styled("+N(e)+")"}(e):a,c=t.componentId,l=void 0===c?function(e,t,r){var n="string"!=typeof t?"sc":Me(t),o=(at[n]||0)+1;at[n]=o;var a=n+"-"+e.generateName(n+o);return r?r+"-"+a:a}(Fe,t.displayName,t.parentComponentId):c,u=t.ParentComponent,d=void 0===u?it:u,p=t.attrs,h=void 0===p?_:p,f=t.displayName&&t.componentId?Me(t.displayName)+"-"+t.componentId:t.componentId||l,m=n&&e.attrs?Array.prototype.concat(e.attrs,h).filter(Boolean):h,g=new Fe(n?e.componentStyle.rules.concat(r):r,m,f),b=void 0,v=function(e,t){return i().createElement(d,I({},e,{forwardedComponent:b,forwardedRef:t}))};return v.displayName=s,(b=i().forwardRef(v)).displayName=s,b.attrs=m,b.componentStyle=g,b.foldedComponentIds=n?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):_,b.styledComponentId=f,b.target=n?e.target:e,b.withComponent=function(e){var n=t.componentId,o=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(t,["componentId"]),a=n&&n+"-"+(ze(e)?e:Me(N(e)));return st(e,I({},o,{attrs:m,componentId:a,ParentComponent:d}),r)},Object.defineProperty(b,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=n?k(e.defaultProps,t):t}}),b.toString=function(){return"."+b.styledComponentId},o&&Qe(b,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,styledComponentId:!0,target:!0,withComponent:!0}),b}var ct=function(e){return Le(st,e)};function lt(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var o=Oe.apply(void 0,[e].concat(r)),a=Pe(Re(JSON.stringify(o).replace(/\s|\\n/g,"")));return new we(a,ee(o,a,"@keyframes"))}["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){ct[e]=ct(e)})),function(){function e(t,r){A(this,e),this.rules=t,this.componentId=r,this.isStatic=Te(t,_),xe.master.hasId(r)||xe.master.deferredInject(r,[])}e.prototype.createStyles=function(e,t){var r=ee(Ie(this.rules,e,t),"");t.inject(this.componentId,r)},e.prototype.removeStyles=function(e){var t=this.componentId;e.hasId(t)&&e.remove(t)},e.prototype.renderStyles=function(e,t){this.removeStyles(t),this.createStyles(e,t)}}(),D&&(window.scCGSHMRCache={});const ut=ct,dt=React.createContext(),pt=(dt.Provider,dt.Consumer,dt);r(452);const{apiFetch:ht}=wp,{__}=wp.i18n;async function ft(e,t=!0,r="template"){return await ht({path:"/agwp-library/v1/mark_favorite",method:"post",data:{id:e,favorite:t,type:r}}).then((e=>e))}const mt=React.createContext(),gt=(mt.Provider,mt.Consumer,{accent:"var(--analog-custom-library-primary)",textLight:"var(--analog-custom-library-sec-text)",textDark:"var(--analog-custom-library-main-text)",lightGray:"#F2F2F2"}),bt=mt;var vt=r(942),yt=r.n(vt);const xt=window.ReactJSXRuntime,wt=()=>(0,xt.jsx)("svg",{width:"10",height:"9",viewBox:"0 0 10 9",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,xt.jsx)("path",{d:"M6.27486 4.5L8.8619 1.95916C9.17937 1.64736 9.17937 1.14184 8.8619 0.829785L8.28695 0.265098C7.96948 -0.0466992 7.45476 -0.0466992 7.13704 0.265098L4.55 2.80594L1.96296 0.265098C1.6455 -0.0466992 1.13078 -0.0466992 0.813054 0.265098L0.238099 0.829785C-0.0793665 1.14158 -0.0793665 1.64711 0.238099 1.95916L2.82514 4.5L0.238099 7.04084C-0.0793665 7.35264 -0.0793665 7.85816 0.238099 8.17021L0.813054 8.7349C1.13052 9.0467 1.6455 9.0467 1.96296 8.7349L4.55 6.19406L7.13704 8.7349C7.4545 9.0467 7.96948 9.0467 8.28695 8.7349L8.8619 8.17021C9.17937 7.85842 9.17937 7.35289 8.8619 7.04084L6.27486 4.5Z"})}),kt=()=>(0,xt.jsx)("svg",{height:"16",width:"12",viewBox:"0 0 12 16",children:(0,xt.jsx)("path",{fillRule:"evenodd",d:"M5.05.01c.81 2.17.41 3.38-.52 4.31C3.55 5.37 1.98 6.15.9 7.68c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.01 8.68 2.15 5.05.02L5.03 0l.02.01z"})}),Ct=()=>(0,xt.jsx)("svg",{height:"16",width:"16",viewBox:"0 0 16 16",children:(0,xt.jsx)("path",{fillRule:"evenodd",d:"M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"})}),jt=()=>(0,xt.jsx)("svg",{height:"16",width:"12",viewBox:"0 0 12 16",children:(0,xt.jsx)("path",{fillRule:"evenodd",d:"M12 5.5l-8 8-4-4L1.5 8 4 10.5 10.5 4 12 5.5z"})}),At=({text:e="No templates found.",...t})=>(0,xt.jsx)("div",{className:"empty-container",...t,children:(0,xt.jsx)("p",{children:e})});function St(){return St=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},St.apply(this,arguments)}function It(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ot(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?It(Object(r),!0).forEach((function(t){Lt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):It(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Lt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class Rt extends i().Component{constructor(e){let t;super(e),this.reCalculateColumnCount=this.reCalculateColumnCount.bind(this),this.reCalculateColumnCountDebounce=this.reCalculateColumnCountDebounce.bind(this),t=this.props.breakpointCols&&this.props.breakpointCols.default?this.props.breakpointCols.default:parseInt(this.props.breakpointCols)||2,this.state={columnCount:t}}componentDidMount(){this.reCalculateColumnCount(),window&&window.addEventListener("resize",this.reCalculateColumnCountDebounce)}componentDidUpdate(){this.reCalculateColumnCount()}componentWillUnmount(){window&&window.removeEventListener("resize",this.reCalculateColumnCountDebounce)}reCalculateColumnCountDebounce(){window&&window.requestAnimationFrame?(window.cancelAnimationFrame&&window.cancelAnimationFrame(this._lastRecalculateAnimationFrame),this._lastRecalculateAnimationFrame=window.requestAnimationFrame((()=>{this.reCalculateColumnCount()}))):this.reCalculateColumnCount()}reCalculateColumnCount(){const e=window&&window.innerWidth||1/0;let t=this.props.breakpointCols;"object"!=typeof t&&(t={default:parseInt(t)||2});let r=1/0,n=t.default||2;for(let o in t){const a=parseInt(o);a>0&&e<=a&&a<r&&(r=a,n=t[o])}n=Math.max(1,parseInt(n)||1),this.state.columnCount!==n&&this.setState({columnCount:n})}itemsInColumns(){const e=this.state.columnCount,t=new Array(e),r=i().Children.toArray(this.props.children);for(let n=0;n<r.length;n++){const o=n%e;t[o]||(t[o]=[]),t[o].push(r[n])}return t}renderColumns(){const{column:e,columnAttrs:t={},columnClassName:r}=this.props,n=this.itemsInColumns(),o=100/n.length+"%";let a=r;a&&"string"!=typeof a&&(this.logDeprecated('The property "columnClassName" requires a string'),void 0===a&&(a="my-masonry-grid_column"));const s=Ot(Ot(Ot({},e),t),{},{style:Ot(Ot({},t.style),{},{width:o}),className:a});return n.map(((e,t)=>i().createElement("div",St({},s,{key:t}),e)))}logDeprecated(e){console.error("[Masonry]",e)}render(){const e=this.props,{children:t,breakpointCols:r,columnClassName:n,columnAttrs:o,column:a,className:s}=e,c=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["children","breakpointCols","columnClassName","columnAttrs","column","className"]);let l=s;return"string"!=typeof s&&(this.logDeprecated('The property "className" requires a string'),void 0===s&&(l="my-masonry-grid")),i().createElement("div",St({},c,{className:l}),this.renderColumns())}}Rt.defaultProps={breakpointCols:void 0,className:void 0,columnClassName:void 0,children:void 0,columnAttrs:void 0,column:void 0};const _t=Rt,Pt=()=>(0,xt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:(0,xt.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.48 3.499a.562.562 0 0 1 1.04 0l2.125 5.111a.563.563 0 0 0 .475.345l5.518.442c.499.04.701.663.321.988l-4.204 3.602a.563.563 0 0 0-.182.557l1.285 5.385a.562.562 0 0 1-.84.61l-4.725-2.885a.562.562 0 0 0-.586 0L6.982 20.54a.562.562 0 0 1-.84-.61l1.285-5.386a.562.562 0 0 0-.182-.557l-4.204-3.602a.562.562 0 0 1 .321-.988l5.518-.442a.563.563 0 0 0 .475-.345L11.48 3.5Z"})}),{Card:Tt,CardBody:Nt,CardDivider:Et,CardHeader:Ft}=wp.components,Bt=e=>{const{title:t,onRequestClose:r,children:n,...o}=e;return(0,xt.jsx)("div",{className:"popup-container",...o,children:(0,xt.jsx)("div",{className:"inner",children:(0,xt.jsxs)(Tt,{children:[(0,xt.jsx)(Ft,{children:(0,xt.jsxs)("div",{className:"inner-popup-header",children:[(0,xt.jsx)("h1",{children:t}),r&&(0,xt.jsx)("button",{className:"button-plain",onClick:()=>r(),children:(0,xt.jsx)(wt,{})})]})}),(0,xt.jsx)(Et,{}),(0,xt.jsx)(Nt,{children:(0,xt.jsx)("div",{className:"inner-popup-content",children:n})})]})})})},Dt=()=>(0,xt.jsxs)("div",{className:"animation-loader",children:[(0,xt.jsx)("div",{}),(0,xt.jsx)("div",{}),(0,xt.jsx)("div",{}),(0,xt.jsx)("div",{})]}),Mt=()=>(0,xt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:(0,xt.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5M16.5 12 12 16.5m0 0L7.5 12m4.5 4.5V3"})}),$t=()=>(0,xt.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:[(0,xt.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z"}),(0,xt.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"})]}),zt=()=>(0,xt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:(0,xt.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L6.832 19.82a4.5 4.5 0 0 1-1.897 1.13l-2.685.8.8-2.685a4.5 4.5 0 0 1 1.13-1.897L16.863 4.487Zm0 0L19.5 7.125"})}),Wt=()=>(0,xt.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"icon icon-tabler icons-tabler-outline icon-tabler-world",children:[(0,xt.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,xt.jsx)("path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0"}),(0,xt.jsx)("path",{d:"M3.6 9h16.8"}),(0,xt.jsx)("path",{d:"M3.6 15h16.8"}),(0,xt.jsx)("path",{d:"M11.5 3a17 17 0 0 0 0 18"}),(0,xt.jsx)("path",{d:"M12.5 3a17 17 0 0 1 0 18"})]}),{decodeEntities:Gt}=wp.htmlEntities,{__:Yt,sprintf:Ht}=wp.i18n,{Dashicon:qt,Button:Ut,Card:Vt,CardBody:Xt}=wp.components,{addQueryArgs:Zt}=wp.url,Jt=lt`1 (()=>{var e={452:e=>{var t=function(e){"use strict";var t,r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var a=t&&t.prototype instanceof b?t:b,i=Object.create(a.prototype),s=new R(n||[]);return o(i,"_invoke",{value:S(e,r,s)}),i}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var d="suspendedStart",h="suspendedYield",f="executing",m="completed",g={};function b(){}function v(){}function y(){}var x={};l(x,i,(function(){return this}));var w=Object.getPrototypeOf,k=w&&w(w(L([])));k&&k!==r&&n.call(k,i)&&(x=k);var C=y.prototype=b.prototype=Object.create(x);function j(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function A(e,t){function r(o,a,i,s){var c=p(e[o],e,a);if("throw"!==c.type){var l=c.arg,u=l.value;return u&&"object"==typeof u&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,i,s)}),(function(e){r("throw",e,i,s)})):t.resolve(u).then((function(e){l.value=e,i(l)}),(function(e){return r("throw",e,i,s)}))}s(c.arg)}var a;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function S(e,r,n){var o=d;return function(a,i){if(o===f)throw new Error("Generator is already running");if(o===m){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var s=n.delegate;if(s){var c=I(s,n);if(c){if(c===g)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=f;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:h,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function I(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,I(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var a=p(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,g;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function O(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 _(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function R(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function L(e){if(null!=e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return v.prototype=y,o(C,"constructor",{value:y,configurable:!0}),o(y,"constructor",{value:v,configurable:!0}),v.displayName=l(y,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,l(e,c,"GeneratorFunction")),e.prototype=Object.create(C),e},e.awrap=function(e){return{__await:e}},j(A.prototype),l(A.prototype,s,(function(){return this})),e.AsyncIterator=A,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new A(u(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},j(C),l(C,c,"Generator"),l(C,i,(function(){return this})),l(C,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=L,R.prototype={constructor:R,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(_),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return s.type="throw",s.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,g):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),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),_(r),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:L(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}},967:(e,t)=>{"use strict";var r="function"==typeof Symbol&&Symbol.for,n=(r&&Symbol.for("react.element"),r&&Symbol.for("react.portal"),r?Symbol.for("react.fragment"):60107),o=r?Symbol.for("react.strict_mode"):60108,a=r?Symbol.for("react.profiler"):60114,i=r?Symbol.for("react.provider"):60109,s=r?Symbol.for("react.context"):60110,c=(r&&Symbol.for("react.async_mode"),r?Symbol.for("react.concurrent_mode"):60111),l=r?Symbol.for("react.forward_ref"):60112,u=r?Symbol.for("react.suspense"):60113,p=r?Symbol.for("react.suspense_list"):60120,d=r?Symbol.for("react.memo"):60115,h=r?Symbol.for("react.lazy"):60116,f=r?Symbol.for("react.block"):60121,m=r?Symbol.for("react.fundamental"):60117,g=r?Symbol.for("react.responder"):60118,b=r?Symbol.for("react.scope"):60119;t.ForwardRef=l,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===c||e===a||e===o||e===u||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===d||e.$$typeof===i||e.$$typeof===s||e.$$typeof===l||e.$$typeof===m||e.$$typeof===g||e.$$typeof===b||e.$$typeof===f)}},467:(e,t,r)=>{"use strict";e.exports=r(967)},162:e=>{e.exports=function(){"use strict";return function(e){var t="/*|*/",r=t+"}";function n(t){if(t)try{e(t+"}")}catch(e){}}return function(o,a,i,s,c,l,u,p,d,h){switch(o){case 1:if(0===d&&64===a.charCodeAt(0))return e(a+";"),"";break;case 2:if(0===p)return a+t;break;case 3:switch(p){case 102:case 112:return e(i[0]+a),"";default:return a+(0===h?t:"")}case-2:a.split(r).forEach(n)}}}}()},79:e=>{e.exports=function e(t){"use strict";var r=/^\0+/g,n=/[\0\r\f]/g,o=/: */g,a=/zoo|gra/,i=/([,: ])(transform)/g,s=/,+\s*(?![^(]*[)])/g,c=/ +\s*(?![^(]*[)])/g,l=/ *[\0] */g,u=/,\r+?/g,p=/([\t\r\n ])*\f?&/g,d=/:global\(((?:[^\(\)\[\]]*|\[.*\]|\([^\(\)]*\))*)\)/g,h=/\W+/g,f=/@(k\w+)\s*(\S*)\s*/,m=/::(place)/g,g=/:(read-only)/g,b=/\s+(?=[{\];=:>])/g,v=/([[}=:>])\s+/g,y=/(\{[^{]+?);(?=\})/g,x=/\s{2,}/g,w=/([^\(])(:+) */g,k=/[svh]\w+-[tblr]{2}/,C=/\(\s*(.*)\s*\)/g,j=/([\s\S]*?);/g,A=/-self|flex-/g,S=/[^]*?(:[rp][el]a[\w-]+)[^]*/,I=/stretch|:\s*\w+\-(?:conte|avail)/,O=/([^-])(image-set\()/,_="-webkit-",R="-moz-",L="-ms-",P=59,N=125,T=123,E=40,F=41,M=10,B=13,D=32,$=45,z=42,W=44,G=58,Y=47,H=126,q=107,U=1,V=1,X=0,Z=1,J=1,K=1,Q=0,ee=0,te=0,re=[],ne=[],oe=0,ae=null,ie=0,se=1,ce="",le="",ue="";function pe(e,t,o,a,i){for(var s,c,u=0,p=0,d=0,h=0,b=0,v=0,y=0,x=0,k=0,j=0,A=0,S=0,I=0,O=0,R=0,L=0,Q=0,ne=0,ae=0,he=o.length,ye=he-1,xe="",we="",ke="",Ce="",je="",Ae="";R<he;){if(y=o.charCodeAt(R),R===ye&&p+h+d+u!==0&&(0!==p&&(y=p===Y?M:Y),h=d=u=0,he++,ye++),p+h+d+u===0){if(R===ye&&(L>0&&(we=we.replace(n,"")),we.trim().length>0)){switch(y){case D:case 9:case P:case B:case M:break;default:we+=o.charAt(R)}y=P}if(1===Q)switch(y){case T:case N:case P:case 34:case 39:case E:case F:case W:Q=0;case 9:case B:case M:case D:break;default:for(Q=0,ae=R,b=y,R--,y=P;ae<he;)switch(o.charCodeAt(ae++)){case M:case B:case P:++R,y=b,ae=he;break;case G:L>0&&(++R,y=b);case T:ae=he}}switch(y){case T:for(b=(we=we.trim()).charCodeAt(0),A=1,ae=++R;R<he;){switch(y=o.charCodeAt(R)){case T:A++;break;case N:A--;break;case Y:switch(v=o.charCodeAt(R+1)){case z:case Y:R=ve(v,R,ye,o)}break;case 91:y++;case E:y++;case 34:case 39:for(;R++<ye&&o.charCodeAt(R)!==y;);}if(0===A)break;R++}if(ke=o.substring(ae,R),0===b&&(b=(we=we.replace(r,"").trim()).charCodeAt(0)),64===b){switch(L>0&&(we=we.replace(n,"")),v=we.charCodeAt(1)){case 100:case 109:case 115:case $:s=t;break;default:s=re}if(ae=(ke=pe(t,s,ke,v,i+1)).length,te>0&&0===ae&&(ae=we.length),oe>0&&(c=be(3,ke,s=de(re,we,ne),t,V,U,ae,v,i,a),we=s.join(""),void 0!==c&&0===(ae=(ke=c.trim()).length)&&(v=0,ke="")),ae>0)switch(v){case 115:we=we.replace(C,ge);case 100:case 109:case $:ke=we+"{"+ke+"}";break;case q:ke=(we=we.replace(f,"$1 $2"+(se>0?ce:"")))+"{"+ke+"}",ke=1===J||2===J&&me("@"+ke,3)?"@"+_+ke+"@"+ke:"@"+ke;break;default:ke=we+ke,112===a&&(Ce+=ke,ke="")}else ke=""}else ke=pe(t,de(t,we,ne),ke,a,i+1);je+=ke,S=0,Q=0,O=0,L=0,ne=0,I=0,we="",ke="",y=o.charCodeAt(++R);break;case N:case P:if((ae=(we=(L>0?we.replace(n,""):we).trim()).length)>1)switch(0===O&&((b=we.charCodeAt(0))===$||b>96&&b<123)&&(ae=(we=we.replace(" ",":")).length),oe>0&&void 0!==(c=be(1,we,t,e,V,U,Ce.length,a,i,a))&&0===(ae=(we=c.trim()).length)&&(we="\0\0"),b=we.charCodeAt(0),v=we.charCodeAt(1),b){case 0:break;case 64:if(105===v||99===v){Ae+=we+o.charAt(R);break}default:if(we.charCodeAt(ae-1)===G)break;Ce+=fe(we,b,v,we.charCodeAt(2))}S=0,Q=0,O=0,L=0,ne=0,we="",y=o.charCodeAt(++R)}}switch(y){case B:case M:if(p+h+d+u+ee===0)switch(j){case F:case 39:case 34:case 64:case H:case 62:case z:case 43:case Y:case $:case G:case W:case P:case T:case N:break;default:O>0&&(Q=1)}p===Y?p=0:Z+S===0&&a!==q&&we.length>0&&(L=1,we+="\0"),oe*ie>0&&be(0,we,t,e,V,U,Ce.length,a,i,a),U=1,V++;break;case P:case N:if(p+h+d+u===0){U++;break}default:switch(U++,xe=o.charAt(R),y){case 9:case D:if(h+u+p===0)switch(x){case W:case G:case 9:case D:xe="";break;default:y!==D&&(xe=" ")}break;case 0:xe="\\0";break;case 12:xe="\\f";break;case 11:xe="\\v";break;case 38:h+p+u===0&&Z>0&&(ne=1,L=1,xe="\f"+xe);break;case 108:if(h+p+u+X===0&&O>0)switch(R-O){case 2:112===x&&o.charCodeAt(R-3)===G&&(X=x);case 8:111===k&&(X=k)}break;case G:h+p+u===0&&(O=R);break;case W:p+d+h+u===0&&(L=1,xe+="\r");break;case 34:case 39:0===p&&(h=h===y?0:0===h?y:h);break;case 91:h+p+d===0&&u++;break;case 93:h+p+d===0&&u--;break;case F:h+p+u===0&&d--;break;case E:h+p+u===0&&(0===S&&(2*x+3*k==533||(A=0,S=1)),d++);break;case 64:p+d+h+u+O+I===0&&(I=1);break;case z:case Y:if(h+u+d>0)break;switch(p){case 0:switch(2*y+3*o.charCodeAt(R+1)){case 235:p=Y;break;case 220:ae=R,p=z}break;case z:y===Y&&x===z&&ae+2!==R&&(33===o.charCodeAt(ae+2)&&(Ce+=o.substring(ae,R+1)),xe="",p=0)}}if(0===p){if(Z+h+u+I===0&&a!==q&&y!==P)switch(y){case W:case H:case 62:case 43:case F:case E:if(0===S){switch(x){case 9:case D:case M:case B:xe+="\0";break;default:xe="\0"+xe+(y===W?"":"\0")}L=1}else switch(y){case E:O+7===R&&108===x&&(O=0),S=++A;break;case F:0==(S=--A)&&(L=1,xe+="\0")}break;case 9:case D:switch(x){case 0:case T:case N:case P:case W:case 12:case 9:case D:case M:case B:break;default:0===S&&(L=1,xe+="\0")}}we+=xe,y!==D&&9!==y&&(j=y)}}k=x,x=y,R++}if(ae=Ce.length,te>0&&0===ae&&0===je.length&&0===t[0].length==0&&(109!==a||1===t.length&&(Z>0?le:ue)===t[0])&&(ae=t.join(",").length+2),ae>0){if(s=0===Z&&a!==q?function(e){for(var t,r,o=0,a=e.length,i=Array(a);o<a;++o){for(var s=e[o].split(l),c="",u=0,p=0,d=0,h=0,f=s.length;u<f;++u)if(!(0===(p=(r=s[u]).length)&&f>1)){if(d=c.charCodeAt(c.length-1),h=r.charCodeAt(0),t="",0!==u)switch(d){case z:case H:case 62:case 43:case D:case E:break;default:t=" "}switch(h){case 38:r=t+le;case H:case 62:case 43:case D:case F:case E:break;case 91:r=t+r+le;break;case G:switch(2*r.charCodeAt(1)+3*r.charCodeAt(2)){case 530:if(K>0){r=t+r.substring(8,p-1);break}default:(u<1||s[u-1].length<1)&&(r=t+le+r)}break;case W:t="";default:r=p>1&&r.indexOf(":")>0?t+r.replace(w,"$1"+le+"$2"):t+r+le}c+=r}i[o]=c.replace(n,"").trim()}return i}(t):t,oe>0&&void 0!==(c=be(2,Ce,s,e,V,U,ae,a,i,a))&&0===(Ce=c).length)return Ae+Ce+je;if(Ce=s.join(",")+"{"+Ce+"}",J*X!=0){switch(2!==J||me(Ce,2)||(X=0),X){case 111:Ce=Ce.replace(g,":-moz-$1")+Ce;break;case 112:Ce=Ce.replace(m,"::"+_+"input-$1")+Ce.replace(m,"::-moz-$1")+Ce.replace(m,":-ms-input-$1")+Ce}X=0}}return Ae+Ce+je}function de(e,t,r){var n=t.trim().split(u),o=n,a=n.length,i=e.length;switch(i){case 0:case 1:for(var s=0,c=0===i?"":e[0]+" ";s<a;++s)o[s]=he(c,o[s],r,i).trim();break;default:s=0;var l=0;for(o=[];s<a;++s)for(var p=0;p<i;++p)o[l++]=he(e[p]+" ",n[s],r,i).trim()}return o}function he(e,t,r,n){var o=t,a=o.charCodeAt(0);switch(a<33&&(a=(o=o.trim()).charCodeAt(0)),a){case 38:switch(Z+n){case 0:case 1:if(0===e.trim().length)break;default:return o.replace(p,"$1"+e.trim())}break;case G:if(103!==o.charCodeAt(1))return e.trim()+o.replace(p,"$1"+e.trim());if(K>0&&Z>0)return o.replace(d,"$1").replace(p,"$1"+ue);default:if(r*Z>0&&o.indexOf("\f")>0)return o.replace(p,(e.charCodeAt(0)===G?"":"$1")+e.trim())}return e+o}function fe(e,t,r,n){var l,u=0,p=e+";",d=2*t+3*r+4*n;if(944===d)return function(e){var t=e.length,r=e.indexOf(":",9)+1,n=e.substring(0,r).trim(),o=e.substring(r,t-1).trim();switch(e.charCodeAt(9)*se){case 0:break;case $:if(110!==e.charCodeAt(10))break;default:var a=o.split((o="",s)),i=0;for(r=0,t=a.length;i<t;r=0,++i){for(var l=a[i],u=l.split(c);l=u[r];){var p=l.charCodeAt(0);if(1===se&&(p>64&&p<90||p>96&&p<123||95===p||p===$&&l.charCodeAt(1)!==$)&&isNaN(parseFloat(l))+(-1!==l.indexOf("("))===1)switch(l){case"infinite":case"alternate":case"backwards":case"running":case"normal":case"forwards":case"both":case"none":case"linear":case"ease":case"ease-in":case"ease-out":case"ease-in-out":case"paused":case"reverse":case"alternate-reverse":case"inherit":case"initial":case"unset":case"step-start":case"step-end":break;default:l+=ce}u[r++]=l}o+=(0===i?"":",")+u.join(" ")}}return o=n+o+";",1===J||2===J&&me(o,1)?_+o+o:o}(p);if(0===J||2===J&&!me(p,1))return p;switch(d){case 1015:return 97===p.charCodeAt(10)?_+p+p:p;case 951:return 116===p.charCodeAt(3)?_+p+p:p;case 963:return 110===p.charCodeAt(5)?_+p+p:p;case 1009:if(100!==p.charCodeAt(4))break;case 969:case 942:return _+p+p;case 978:return _+p+R+p+p;case 1019:case 983:return _+p+R+p+L+p+p;case 883:return p.charCodeAt(8)===$?_+p+p:p.indexOf("image-set(",11)>0?p.replace(O,"$1"+_+"$2")+p:p;case 932:if(p.charCodeAt(4)===$)switch(p.charCodeAt(5)){case 103:return _+"box-"+p.replace("-grow","")+_+p+L+p.replace("grow","positive")+p;case 115:return _+p+L+p.replace("shrink","negative")+p;case 98:return _+p+L+p.replace("basis","preferred-size")+p}return _+p+L+p+p;case 964:return _+p+L+"flex-"+p+p;case 1023:if(99!==p.charCodeAt(8))break;return l=p.substring(p.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),_+"box-pack"+l+_+p+L+"flex-pack"+l+p;case 1005:return a.test(p)?p.replace(o,":"+_)+p.replace(o,":"+R)+p:p;case 1e3:switch(u=(l=p.substring(13).trim()).indexOf("-")+1,l.charCodeAt(0)+l.charCodeAt(u)){case 226:l=p.replace(k,"tb");break;case 232:l=p.replace(k,"tb-rl");break;case 220:l=p.replace(k,"lr");break;default:return p}return _+p+L+l+p;case 1017:if(-1===p.indexOf("sticky",9))return p;case 975:switch(u=(p=e).length-10,d=(l=(33===p.charCodeAt(u)?p.substring(0,u):p).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|l.charCodeAt(7))){case 203:if(l.charCodeAt(8)<111)break;case 115:p=p.replace(l,_+l)+";"+p;break;case 207:case 102:p=p.replace(l,_+(d>102?"inline-":"")+"box")+";"+p.replace(l,_+l)+";"+p.replace(l,L+l+"box")+";"+p}return p+";";case 938:if(p.charCodeAt(5)===$)switch(p.charCodeAt(6)){case 105:return l=p.replace("-items",""),_+p+_+"box-"+l+L+"flex-"+l+p;case 115:return _+p+L+"flex-item-"+p.replace(A,"")+p;default:return _+p+L+"flex-line-pack"+p.replace("align-content","").replace(A,"")+p}break;case 973:case 989:if(p.charCodeAt(3)!==$||122===p.charCodeAt(4))break;case 931:case 953:if(!0===I.test(e))return 115===(l=e.substring(e.indexOf(":")+1)).charCodeAt(0)?fe(e.replace("stretch","fill-available"),t,r,n).replace(":fill-available",":stretch"):p.replace(l,_+l)+p.replace(l,R+l.replace("fill-",""))+p;break;case 962:if(p=_+p+(102===p.charCodeAt(5)?L+p:"")+p,r+n===211&&105===p.charCodeAt(13)&&p.indexOf("transform",10)>0)return p.substring(0,p.indexOf(";",27)+1).replace(i,"$1"+_+"$2")+p}return p}function me(e,t){var r=e.indexOf(1===t?":":"{"),n=e.substring(0,3!==t?r:10),o=e.substring(r+1,e.length-1);return ae(2!==t?n:n.replace(S,"$1"),o,t)}function ge(e,t){var r=fe(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return r!==t+";"?r.replace(j," or ($1)").substring(4):"("+t+")"}function be(e,t,r,n,o,a,i,s,c,l){for(var u,p=0,d=t;p<oe;++p)switch(u=ne[p].call(xe,e,d,r,n,o,a,i,s,c,l)){case void 0:case!1:case!0:case null:break;default:d=u}if(d!==t)return d}function ve(e,t,r,n){for(var o=t+1;o<r;++o)switch(n.charCodeAt(o)){case Y:if(e===z&&n.charCodeAt(o-1)===z&&t+2!==o)return o+1;break;case M:if(e===Y)return o+1}return o}function ye(e){for(var t in e){var r=e[t];switch(t){case"keyframe":se=0|r;break;case"global":K=0|r;break;case"cascade":Z=0|r;break;case"compress":Q=0|r;break;case"semicolon":ee=0|r;break;case"preserve":te=0|r;break;case"prefix":ae=null,r?"function"!=typeof r?J=1:(J=2,ae=r):J=0}}return ye}function xe(t,r){if(void 0!==this&&this.constructor===xe)return e(t);var o=t,a=o.charCodeAt(0);a<33&&(a=(o=o.trim()).charCodeAt(0)),se>0&&(ce=o.replace(h,91===a?"":"-")),a=1,1===Z?ue=o:le=o;var i,s=[ue];oe>0&&void 0!==(i=be(-1,r,s,s,V,U,0,0,0,0))&&"string"==typeof i&&(r=i);var c=pe(re,s,r,0,0);return oe>0&&void 0!==(i=be(-2,c,s,s,V,U,c.length,0,0,0))&&"string"!=typeof(c=i)&&(a=0),ce="",ue="",le="",X=0,V=1,U=1,Q*a==0?c:c.replace(n,"").replace(b,"").replace(v,"$1").replace(y,"$1").replace(x," ")}return xe.use=function e(t){switch(t){case void 0:case null:oe=ne.length=0;break;default:if("function"==typeof t)ne[oe++]=t;else if("object"==typeof t)for(var r=0,n=t.length;r<n;++r)e(t[r]);else ie=0|!!t}return e},xe.set=ye,void 0!==t&&ye(t),xe}(null)},942:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];r&&(e=i(e,a(r)))}return e}function a(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var r in e)n.call(e,r)&&e[r]&&(t=i(t,r));return t}function i(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.nc=void 0,(()=>{"use strict";var e=r(79),t=r.n(e),n=r(162),o=r.n(n);const a=window.React;var i=r.n(a);const s={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var c=r(467),l=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function u(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(!((n=e[r])===(o=t[r])||l(n)&&l(o)))return!1;var n,o;return!0}const p=function(e,t){var r;void 0===t&&(t=u);var n,o=[],a=!1;return function(){for(var i=[],s=0;s<arguments.length;s++)i[s]=arguments[s];return a&&r===this&&t(i,o)||(n=e.apply(this,i),a=!0,r=this,o=i),n}};var d=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/;const h=(f={},function(e){return void 0===f[e]&&(f[e]=(t=e,d.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)<91)),f[e];var t});var f;function m(e){return Object.prototype.toString.call(e).slice(8,-1)}function g(e){return"Object"===m(e)&&e.constructor===Object&&Object.getPrototypeOf(e)===Object.prototype}function b(e){return"Array"===m(e)}function v(e){return"Symbol"===m(e)}function y(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),o=0;for(t=0;t<r;t++)for(var a=arguments[t],i=0,s=a.length;i<s;i++,o++)n[o]=a[i];return n}function x(e,t,r,n){var o=n.propertyIsEnumerable(t)?"enumerable":"nonenumerable";"enumerable"===o&&(e[t]=r),"nonenumerable"===o&&Object.defineProperty(e,t,{value:r,enumerable:!1,writable:!0,configurable:!0})}function w(e,t,r){if(!g(t))return r&&b(r)&&r.forEach((function(r){t=r(e,t)})),t;var n={};return g(e)&&(n=y(Object.getOwnPropertyNames(e),Object.getOwnPropertySymbols(e)).reduce((function(r,n){var o=e[n];return(!v(n)&&!Object.getOwnPropertyNames(t).includes(n)||v(n)&&!Object.getOwnPropertySymbols(t).includes(n))&&x(r,n,o,e),r}),{})),y(Object.getOwnPropertyNames(t),Object.getOwnPropertySymbols(t)).reduce((function(n,o){var a=t[o],i=g(e)?e[o]:void 0;return r&&b(r)&&r.forEach((function(e){a=e(i,a)})),void 0!==i&&g(a)&&(a=w(i,a,r)),x(n,o,a,t),n}),n)}const k=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=null,o=e;return g(e)&&e.extensions&&1===Object.keys(e).length&&(o={},n=e.extensions),t.reduce((function(e,t){return w(e,t,n)}),o)};var C=function(e,t){for(var r=[e[0]],n=0,o=t.length;n<o;n+=1)r.push(t[n],e[n+1]);return r},j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},A=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},S=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),I=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},O=function(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)},_=function(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},R=function(e){return"object"===(void 0===e?"undefined":j(e))&&e.constructor===Object},L=Object.freeze([]),P=Object.freeze({});function N(e){return"function"==typeof e}function T(e){return e.displayName||e.name||"Component"}function E(e){return e&&"string"==typeof e.styledComponentId}var F="undefined"!=typeof process&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",M="data-styled-version",B="undefined"!=typeof window&&"HTMLElement"in window,D="boolean"==typeof SC_DISABLE_SPEEDY&&SC_DISABLE_SPEEDY||"undefined"!=typeof process&&(process.env.REACT_APP_SC_DISABLE_SPEEDY||process.env.SC_DISABLE_SPEEDY)||!1,$=function(e){function t(r){A(this,t);for(var n=arguments.length,o=Array(n>1?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a];var i=_(this,e.call(this,"An error occurred. See https://github.com/styled-components/styled-components/blob/master/packages/styled-components/src/utils/errors.md#"+r+" for more information."+(o.length>0?" Additional arguments: "+o.join(", "):"")));return _(i)}return O(t,e),t}(Error),z=/^[^\S\n]*?\/\* sc-component-id:\s*(\S+)\s+\*\//gm,W=function(e){var t=""+(e||""),r=[];return t.replace(z,(function(e,t,n){return r.push({componentId:t,matchIndex:n}),e})),r.map((function(e,n){var o=e.componentId,a=e.matchIndex,i=r[n+1];return{componentId:o,cssFromDOM:i?t.slice(a,i.matchIndex):t.slice(a)}}))},G=/^\s*\/\/.*$/gm,Y=new(t())({global:!1,cascade:!0,keyframe:!1,prefix:!1,compress:!1,semicolon:!0}),H=new(t())({global:!1,cascade:!0,keyframe:!1,prefix:!0,compress:!1,semicolon:!1}),q=[],U=function(e){if(-2===e){var t=q;return q=[],t}},V=o()((function(e){q.push(e)})),X=void 0,Z=void 0,J=void 0,K=function(e,t,r){return t>0&&-1!==r.slice(0,t).indexOf(Z)&&r.slice(t-Z.length,t)!==Z?"."+X:e};H.use([function(e,t,r){2===e&&r.length&&r[0].lastIndexOf(Z)>0&&(r[0]=r[0].replace(J,K))},V,U]),Y.use([V,U]);var Q=function(e){return Y("",e)};function ee(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"&",o=e.join("").replace(G,""),a=t&&r?r+" "+t+" { "+o+" }":o;return X=n,Z=t,J=new RegExp("\\"+Z+"\\b","g"),H(r||!t?"":t,a)}var te,re=function(){return r.nc},ne=function(e,t,r){r&&((e[t]||(e[t]=Object.create(null)))[r]=!0)},oe=function(e,t){e[t]=Object.create(null)},ae=function(e){return function(t,r){return void 0!==e[t]&&e[t][r]}},ie=function(e){var t="";for(var r in e)t+=Object.keys(e[r]).join(" ")+" ";return t.trim()},se=function(e){if(e.sheet)return e.sheet;for(var t=e.ownerDocument.styleSheets.length,r=0;r<t;r+=1){var n=e.ownerDocument.styleSheets[r];if(n.ownerNode===e)return n}throw new $(10)},ce=function(e,t,r){if(!t)return!1;var n=e.cssRules.length;try{e.insertRule(t,r<=n?r:n)}catch(e){return!1}return!0},le=function(e){return"\n/* sc-component-id: "+e+" */\n"},ue=function(e,t){for(var r=0,n=0;n<=t;n+=1)r+=e[n];return r},pe=function(e,t){return function(r){var n=re();return"<style "+[n&&'nonce="'+n+'"',F+'="'+ie(t)+'"',M+'="4.4.1"',r].filter(Boolean).join(" ")+">"+e()+"</style>"}},de=function(e,t){return function(){var r,n=((r={})[F]=ie(t),r[M]="4.4.1",r),o=re();return o&&(n.nonce=o),i().createElement("style",I({},n,{dangerouslySetInnerHTML:{__html:e()}}))}},he=function(e){return function(){return Object.keys(e)}},fe=function(e,t){return e.createTextNode(le(t))},me=function e(t,r){var n=void 0===t?Object.create(null):t,o=void 0===r?Object.create(null):r,a=function(e){var t=o[e];return void 0!==t?t:o[e]=[""]},i=function(){var e="";for(var t in o){var r=o[t][0];r&&(e+=le(t)+r)}return e};return{clone:function(){var t=function(e){var t=Object.create(null);for(var r in e)t[r]=I({},e[r]);return t}(n),r=Object.create(null);for(var a in o)r[a]=[o[a][0]];return e(t,r)},css:i,getIds:he(o),hasNameForId:ae(n),insertMarker:a,insertRules:function(e,t,r){a(e)[0]+=t.join(" "),ne(n,e,r)},removeRules:function(e){var t=o[e];void 0!==t&&(t[0]="",oe(n,e))},sealed:!1,styleTag:null,toElement:de(i,n),toHTML:pe(i,n)}},ge=function(e,t,r,n,o){if(B&&!r){var a=function(e,t,r){var n=document;e?n=e.ownerDocument:t&&(n=t.ownerDocument);var o=n.createElement("style");o.setAttribute(F,""),o.setAttribute(M,"4.4.1");var a=re();if(a&&o.setAttribute("nonce",a),o.appendChild(n.createTextNode("")),e&&!t)e.appendChild(o);else{if(!t||!e||!t.parentNode)throw new $(6);t.parentNode.insertBefore(o,r?t:t.nextSibling)}return o}(e,t,n);return D?function(e,t){var r=Object.create(null),n=Object.create(null),o=void 0!==t,a=!1,i=function(t){var o=n[t];return void 0!==o?o:(n[t]=fe(e.ownerDocument,t),e.appendChild(n[t]),r[t]=Object.create(null),n[t])},s=function(){var e="";for(var t in n)e+=n[t].data;return e};return{clone:function(){throw new $(5)},css:s,getIds:he(n),hasNameForId:ae(r),insertMarker:i,insertRules:function(e,n,s){for(var c=i(e),l=[],u=n.length,p=0;p<u;p+=1){var d=n[p],h=o;if(h&&-1!==d.indexOf("@import"))l.push(d);else{h=!1;var f=p===u-1?"":" ";c.appendData(""+d+f)}}ne(r,e,s),o&&l.length>0&&(a=!0,t().insertRules(e+"-import",l))},removeRules:function(i){var s=n[i];if(void 0!==s){var c=fe(e.ownerDocument,i);e.replaceChild(c,s),n[i]=c,oe(r,i),o&&a&&t().removeRules(i+"-import")}},sealed:!1,styleTag:e,toElement:de(s,r),toHTML:pe(s,r)}}(a,o):function(e,t){var r=Object.create(null),n=Object.create(null),o=[],a=void 0!==t,i=!1,s=function(e){var t=n[e];return void 0!==t?t:(n[e]=o.length,o.push(0),oe(r,e),n[e])},c=function(){var t=se(e).cssRules,r="";for(var a in n){r+=le(a);for(var i=n[a],s=ue(o,i),c=s-o[i];c<s;c+=1){var l=t[c];void 0!==l&&(r+=l.cssText)}}return r};return{clone:function(){throw new $(5)},css:c,getIds:he(n),hasNameForId:ae(r),insertMarker:s,insertRules:function(n,c,l){for(var u=s(n),p=se(e),d=ue(o,u),h=0,f=[],m=c.length,g=0;g<m;g+=1){var b=c[g],v=a;v&&-1!==b.indexOf("@import")?f.push(b):ce(p,b,d+h)&&(v=!1,h+=1)}a&&f.length>0&&(i=!0,t().insertRules(n+"-import",f)),o[u]+=h,ne(r,n,l)},removeRules:function(s){var c=n[s];if(void 0!==c&&!1!==e.isConnected){var l=o[c];!function(e,t,r){for(var n=t-r,o=t;o>n;o-=1)e.deleteRule(o)}(se(e),ue(o,c)-1,l),o[c]=0,oe(r,s),a&&i&&t().removeRules(s+"-import")}},sealed:!1,styleTag:e,toElement:de(c,r),toHTML:pe(c,r)}}(a,o)}return me()},be=/\s+/;te=B?D?40:1e3:-1;var ve=0,ye=void 0,xe=function(){function e(){var t=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:B?document.head:null,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];A(this,e),this.getImportRuleTag=function(){var e=t.importRuleTag;if(void 0!==e)return e;var r=t.tags[0];return t.importRuleTag=ge(t.target,r?r.styleTag:null,t.forceServer,!0)},ve+=1,this.id=ve,this.forceServer=n,this.target=n?null:r,this.tagMap={},this.deferred={},this.rehydratedNames={},this.ignoreRehydratedNames={},this.tags=[],this.capacity=1,this.clones=[]}return e.prototype.rehydrate=function(){if(!B||this.forceServer)return this;var e=[],t=[],r=!1,n=document.querySelectorAll("style["+F+"]["+M+'="4.4.1"]'),o=n.length;if(!o)return this;for(var a=0;a<o;a+=1){var i=n[a];r||(r=!!i.getAttribute("data-styled-streamed"));for(var s,c=(i.getAttribute(F)||"").trim().split(be),l=c.length,u=0;u<l;u+=1)s=c[u],this.rehydratedNames[s]=!0;t.push.apply(t,W(i.textContent)),e.push(i)}var p=t.length;if(!p)return this;var d=this.makeTag(null);!function(e,t,r){for(var n=0,o=r.length;n<o;n+=1){var a=r[n],i=a.componentId,s=a.cssFromDOM,c=Q(s);e.insertRules(i,c)}for(var l=0,u=t.length;l<u;l+=1){var p=t[l];p.parentNode&&p.parentNode.removeChild(p)}}(d,e,t),this.capacity=Math.max(1,te-p),this.tags.push(d);for(var h=0;h<p;h+=1)this.tagMap[t[h].componentId]=d;return this},e.reset=function(){ye=new e(void 0,arguments.length>0&&void 0!==arguments[0]&&arguments[0]).rehydrate()},e.prototype.clone=function(){var t=new e(this.target,this.forceServer);return this.clones.push(t),t.tags=this.tags.map((function(e){for(var r=e.getIds(),n=e.clone(),o=0;o<r.length;o+=1)t.tagMap[r[o]]=n;return n})),t.rehydratedNames=I({},this.rehydratedNames),t.deferred=I({},this.deferred),t},e.prototype.sealAllTags=function(){this.capacity=1,this.tags.forEach((function(e){e.sealed=!0}))},e.prototype.makeTag=function(e){var t=e?e.styleTag:null;return ge(this.target,t,this.forceServer,!1,this.getImportRuleTag)},e.prototype.getTagForId=function(e){var t=this.tagMap[e];if(void 0!==t&&!t.sealed)return t;var r=this.tags[this.tags.length-1];return this.capacity-=1,0===this.capacity&&(this.capacity=te,r=this.makeTag(r),this.tags.push(r)),this.tagMap[e]=r},e.prototype.hasId=function(e){return void 0!==this.tagMap[e]},e.prototype.hasNameForId=function(e,t){if(void 0===this.ignoreRehydratedNames[e]&&this.rehydratedNames[t])return!0;var r=this.tagMap[e];return void 0!==r&&r.hasNameForId(e,t)},e.prototype.deferredInject=function(e,t){if(void 0===this.tagMap[e]){for(var r=this.clones,n=0;n<r.length;n+=1)r[n].deferredInject(e,t);this.getTagForId(e).insertMarker(e),this.deferred[e]=t}},e.prototype.inject=function(e,t,r){for(var n=this.clones,o=0;o<n.length;o+=1)n[o].inject(e,t,r);var a=this.getTagForId(e);if(void 0!==this.deferred[e]){var i=this.deferred[e].concat(t);a.insertRules(e,i,r),this.deferred[e]=void 0}else a.insertRules(e,t,r)},e.prototype.remove=function(e){var t=this.tagMap[e];if(void 0!==t){for(var r=this.clones,n=0;n<r.length;n+=1)r[n].remove(e);t.removeRules(e),this.ignoreRehydratedNames[e]=!0,this.deferred[e]=void 0}},e.prototype.toHTML=function(){return this.tags.map((function(e){return e.toHTML()})).join("")},e.prototype.toReactElements=function(){var e=this.id;return this.tags.map((function(t,r){var n="sc-"+e+"-"+r;return(0,a.cloneElement)(t.toElement(),{key:n})}))},S(e,null,[{key:"master",get:function(){return ye||(ye=(new e).rehydrate())}},{key:"instance",get:function(){return e.master}}]),e}(),we=function(){function e(t,r){var n=this;A(this,e),this.inject=function(e){e.hasNameForId(n.id,n.name)||e.inject(n.id,n.rules,n.name)},this.toString=function(){throw new $(12,String(n.name))},this.name=t,this.rules=r,this.id="sc-keyframes-"+t}return e.prototype.getName=function(){return this.name},e}(),ke=/([A-Z])/g,Ce=/^ms-/;function je(e){return e.replace(ke,"-$1").toLowerCase().replace(Ce,"-ms-")}var Ae=function(e){return null==e||!1===e||""===e},Se=function e(t,r){var n=[];return Object.keys(t).forEach((function(r){if(!Ae(t[r])){if(R(t[r]))return n.push.apply(n,e(t[r],r)),n;if(N(t[r]))return n.push(je(r)+":",t[r],";"),n;n.push(je(r)+": "+(o=r,(null==(a=t[r])||"boolean"==typeof a||""===a?"":"number"!=typeof a||0===a||o in s?String(a).trim():a+"px")+";"))}var o,a;return n})),r?[r+" {"].concat(n,["}"]):n};function Ie(e,t,r){if(Array.isArray(e)){for(var n,o=[],a=0,i=e.length;a<i;a+=1)null!==(n=Ie(e[a],t,r))&&(Array.isArray(n)?o.push.apply(o,n):o.push(n));return o}return Ae(e)?null:E(e)?"."+e.styledComponentId:N(e)?"function"!=typeof(s=e)||s.prototype&&s.prototype.isReactComponent||!t?e:Ie(e(t),t,r):e instanceof we?r?(e.inject(r),e.getName()):e:R(e)?Se(e):e.toString();var s}function Oe(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return N(e)||R(e)?Ie(C(L,[e].concat(r))):Ie(C(e,r))}function _e(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:P;if(!(0,c.isValidElementType)(t))throw new $(1,String(t));var n=function(){return e(t,r,Oe.apply(void 0,arguments))};return n.withConfig=function(n){return _e(e,t,I({},r,n))},n.attrs=function(n){return _e(e,t,I({},r,{attrs:Array.prototype.concat(r.attrs,n).filter(Boolean)}))},n}function Re(e){for(var t,r=0|e.length,n=0|r,o=0;r>=4;)t=1540483477*(65535&(t=255&e.charCodeAt(o)|(255&e.charCodeAt(++o))<<8|(255&e.charCodeAt(++o))<<16|(255&e.charCodeAt(++o))<<24))+((1540483477*(t>>>16)&65535)<<16),n=1540483477*(65535&n)+((1540483477*(n>>>16)&65535)<<16)^(t=1540483477*(65535&(t^=t>>>24))+((1540483477*(t>>>16)&65535)<<16)),r-=4,++o;switch(r){case 3:n^=(255&e.charCodeAt(o+2))<<16;case 2:n^=(255&e.charCodeAt(o+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(o)))+((1540483477*(n>>>16)&65535)<<16)}return((n=1540483477*(65535&(n^=n>>>13))+((1540483477*(n>>>16)&65535)<<16))^n>>>15)>>>0}var Le=function(e){return String.fromCharCode(e+(e>25?39:97))};function Pe(e){var t="",r=void 0;for(r=e;r>52;r=Math.floor(r/52))t=Le(r%52)+t;return Le(r%52)+t}function Ne(e,t){for(var r=0;r<e.length;r+=1){var n=e[r];if(Array.isArray(n)&&!Ne(n,t))return!1;if(N(n)&&!E(n))return!1}return!t.some((function(e){return N(e)||function(e){for(var t in e)if(N(e[t]))return!0;return!1}(e)}))}var Te,Ee=function(e){return Pe(Re(e))},Fe=function(){function e(t,r,n){A(this,e),this.rules=t,this.isStatic=Ne(t,r),this.componentId=n,xe.master.hasId(n)||xe.master.deferredInject(n,[])}return e.prototype.generateAndInjectStyles=function(e,t){var r=this.isStatic,n=this.componentId,o=this.lastClassName;if(B&&r&&"string"==typeof o&&t.hasNameForId(n,o))return o;var a=Ie(this.rules,e,t),i=Ee(this.componentId+a.join(""));return t.hasNameForId(n,i)||t.inject(this.componentId,ee(a,"."+i,void 0,n),i),this.lastClassName=i,i},e.generateName=function(e){return Ee(e)},e}(),Me=/[[\].#*$><+~=|^:(),"'`-]+/g,Be=/(^-|-$)/g;function De(e){return e.replace(Me,"-").replace(Be,"")}function ze(e){return"string"==typeof e&&!0}var We={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDerivedStateFromProps:!0,propTypes:!0,type:!0},Ge={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Ye=((Te={})[c.ForwardRef]={$$typeof:!0,render:!0},Te),He=Object.defineProperty,qe=Object.getOwnPropertyNames,Ue=Object.getOwnPropertySymbols,Ve=void 0===Ue?function(){return[]}:Ue,Xe=Object.getOwnPropertyDescriptor,Ze=Object.getPrototypeOf,Je=Object.prototype,Ke=Array.prototype;function Qe(e,t,r){if("string"!=typeof t){var n=Ze(t);n&&n!==Je&&Qe(e,n,r);for(var o=Ke.concat(qe(t),Ve(t)),a=Ye[e.$$typeof]||We,i=Ye[t.$$typeof]||We,s=o.length,c=void 0,l=void 0;s--;)if(l=o[s],!(Ge[l]||r&&r[l]||i&&i[l]||a&&a[l])&&(c=Xe(t,l)))try{He(e,l,c)}catch(e){}return e}return e}var et=(0,a.createContext)(),tt=et.Consumer,rt=(function(e){function t(r){A(this,t);var n=_(this,e.call(this,r));return n.getContext=p(n.getContext.bind(n)),n.renderInner=n.renderInner.bind(n),n}O(t,e),t.prototype.render=function(){return this.props.children?i().createElement(et.Consumer,null,this.renderInner):null},t.prototype.renderInner=function(e){var t=this.getContext(this.props.theme,e);return i().createElement(et.Provider,{value:t},this.props.children)},t.prototype.getTheme=function(e,t){if(N(e))return e(t);if(null===e||Array.isArray(e)||"object"!==(void 0===e?"undefined":j(e)))throw new $(8);return I({},t,e)},t.prototype.getContext=function(e,t){return this.getTheme(e,t)}}(a.Component),function(){function e(){A(this,e),this.masterSheet=xe.master,this.instance=this.masterSheet.clone(),this.sealed=!1}e.prototype.seal=function(){if(!this.sealed){var e=this.masterSheet.clones.indexOf(this.instance);this.masterSheet.clones.splice(e,1),this.sealed=!0}},e.prototype.collectStyles=function(e){if(this.sealed)throw new $(2);return i().createElement(ot,{sheet:this.instance},e)},e.prototype.getStyleTags=function(){return this.seal(),this.instance.toHTML()},e.prototype.getStyleElement=function(){return this.seal(),this.instance.toReactElements()},e.prototype.interleaveWithNodeStream=function(e){throw new $(3)}}(),(0,a.createContext)()),nt=rt.Consumer,ot=function(e){function t(r){A(this,t);var n=_(this,e.call(this,r));return n.getContext=p(n.getContext),n}return O(t,e),t.prototype.getContext=function(e,t){if(e)return e;if(t)return new xe(t);throw new $(4)},t.prototype.render=function(){var e=this.props,t=e.children,r=e.sheet,n=e.target;return i().createElement(rt.Provider,{value:this.getContext(r,n)},t)},t}(a.Component),at={},it=function(e){function t(){A(this,t);var r=_(this,e.call(this));return r.attrs={},r.renderOuter=r.renderOuter.bind(r),r.renderInner=r.renderInner.bind(r),r}return O(t,e),t.prototype.render=function(){return i().createElement(nt,null,this.renderOuter)},t.prototype.renderOuter=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:xe.master;return this.styleSheet=e,this.props.forwardedComponent.componentStyle.isStatic?this.renderInner():i().createElement(tt,null,this.renderInner)},t.prototype.renderInner=function(e){var t,r=this.props.forwardedComponent,n=r.componentStyle,o=r.defaultProps,i=(r.displayName,r.foldedComponentIds),s=r.styledComponentId,c=r.target;t=n.isStatic?this.generateAndInjectStyles(P,this.props):this.generateAndInjectStyles(function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:P,n=!!r&&e.theme===r.theme;return e.theme&&!n?e.theme:t||r.theme}(this.props,e,o)||P,this.props);var l=this.props.as||this.attrs.as||c,u=ze(l),p={},d=I({},this.props,this.attrs),f=void 0;for(f in d)"forwardedComponent"!==f&&"as"!==f&&("forwardedRef"===f?p.ref=d[f]:"forwardedAs"===f?p.as=d[f]:u&&!h(f)||(p[f]=d[f]));return this.props.style&&this.attrs.style&&(p.style=I({},this.attrs.style,this.props.style)),p.className=Array.prototype.concat(i,s,t!==s?t:null,this.props.className,this.attrs.className).filter(Boolean).join(" "),(0,a.createElement)(l,p)},t.prototype.buildExecutionContext=function(e,t,r){var n=this,o=I({},t,{theme:e});return r.length?(this.attrs={},r.forEach((function(e){var t,r=e,a=!1,i=void 0,s=void 0;for(s in N(r)&&(r=r(o),a=!0),r)i=r[s],a||!N(i)||(t=i)&&t.prototype&&t.prototype.isReactComponent||E(i)||(i=i(o)),n.attrs[s]=i,o[s]=i})),o):o},t.prototype.generateAndInjectStyles=function(e,t){var r=t.forwardedComponent,n=r.attrs,o=r.componentStyle;return r.warnTooManyClasses,o.isStatic&&!n.length?o.generateAndInjectStyles(P,this.styleSheet):o.generateAndInjectStyles(this.buildExecutionContext(e,t,n),this.styleSheet)},t}(a.Component);function st(e,t,r){var n=E(e),o=!ze(e),a=t.displayName,s=void 0===a?function(e){return ze(e)?"styled."+e:"Styled("+T(e)+")"}(e):a,c=t.componentId,l=void 0===c?function(e,t,r){var n="string"!=typeof t?"sc":De(t),o=(at[n]||0)+1;at[n]=o;var a=n+"-"+e.generateName(n+o);return r?r+"-"+a:a}(Fe,t.displayName,t.parentComponentId):c,u=t.ParentComponent,p=void 0===u?it:u,d=t.attrs,h=void 0===d?L:d,f=t.displayName&&t.componentId?De(t.displayName)+"-"+t.componentId:t.componentId||l,m=n&&e.attrs?Array.prototype.concat(e.attrs,h).filter(Boolean):h,g=new Fe(n?e.componentStyle.rules.concat(r):r,m,f),b=void 0,v=function(e,t){return i().createElement(p,I({},e,{forwardedComponent:b,forwardedRef:t}))};return v.displayName=s,(b=i().forwardRef(v)).displayName=s,b.attrs=m,b.componentStyle=g,b.foldedComponentIds=n?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):L,b.styledComponentId=f,b.target=n?e.target:e,b.withComponent=function(e){var n=t.componentId,o=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(t,["componentId"]),a=n&&n+"-"+(ze(e)?e:De(T(e)));return st(e,I({},o,{attrs:m,componentId:a,ParentComponent:p}),r)},Object.defineProperty(b,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=n?k(e.defaultProps,t):t}}),b.toString=function(){return"."+b.styledComponentId},o&&Qe(b,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,styledComponentId:!0,target:!0,withComponent:!0}),b}var ct=function(e){return _e(st,e)};function lt(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var o=Oe.apply(void 0,[e].concat(r)),a=Pe(Re(JSON.stringify(o).replace(/\s|\\n/g,"")));return new we(a,ee(o,a,"@keyframes"))}["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){ct[e]=ct(e)})),function(){function e(t,r){A(this,e),this.rules=t,this.componentId=r,this.isStatic=Ne(t,L),xe.master.hasId(r)||xe.master.deferredInject(r,[])}e.prototype.createStyles=function(e,t){var r=ee(Ie(this.rules,e,t),"");t.inject(this.componentId,r)},e.prototype.removeStyles=function(e){var t=this.componentId;e.hasId(t)&&e.remove(t)},e.prototype.renderStyles=function(e,t){this.removeStyles(t),this.createStyles(e,t)}}(),B&&(window.scCGSHMRCache={});const ut=ct,pt=React.createContext(),dt=(pt.Provider,pt.Consumer,pt);r(452);const{apiFetch:ht}=wp,{__}=wp.i18n;async function ft(e,t=!0,r="template"){return await ht({path:"/agwp-library/v1/mark_favorite",method:"post",data:{id:e,favorite:t,type:r}}).then((e=>e))}const mt=React.createContext(),gt=(mt.Provider,mt.Consumer,{accent:"var(--analog-custom-library-primary)",textLight:"var(--analog-custom-library-sec-text)",textDark:"var(--analog-custom-library-main-text)",lightGray:"#F2F2F2"}),bt=mt;var vt=r(942),yt=r.n(vt);const xt=window.ReactJSXRuntime,wt=()=>(0,xt.jsx)("svg",{width:"10",height:"9",viewBox:"0 0 10 9",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,xt.jsx)("path",{d:"M6.27486 4.5L8.8619 1.95916C9.17937 1.64736 9.17937 1.14184 8.8619 0.829785L8.28695 0.265098C7.96948 -0.0466992 7.45476 -0.0466992 7.13704 0.265098L4.55 2.80594L1.96296 0.265098C1.6455 -0.0466992 1.13078 -0.0466992 0.813054 0.265098L0.238099 0.829785C-0.0793665 1.14158 -0.0793665 1.64711 0.238099 1.95916L2.82514 4.5L0.238099 7.04084C-0.0793665 7.35264 -0.0793665 7.85816 0.238099 8.17021L0.813054 8.7349C1.13052 9.0467 1.6455 9.0467 1.96296 8.7349L4.55 6.19406L7.13704 8.7349C7.4545 9.0467 7.96948 9.0467 8.28695 8.7349L8.8619 8.17021C9.17937 7.85842 9.17937 7.35289 8.8619 7.04084L6.27486 4.5Z"})}),kt=()=>(0,xt.jsx)("svg",{height:"16",width:"12",viewBox:"0 0 12 16",children:(0,xt.jsx)("path",{fillRule:"evenodd",d:"M5.05.01c.81 2.17.41 3.38-.52 4.31C3.55 5.37 1.98 6.15.9 7.68c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.01 8.68 2.15 5.05.02L5.03 0l.02.01z"})}),Ct=()=>(0,xt.jsx)("svg",{height:"16",width:"16",viewBox:"0 0 16 16",children:(0,xt.jsx)("path",{fillRule:"evenodd",d:"M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"})}),jt=()=>(0,xt.jsx)("svg",{height:"16",width:"12",viewBox:"0 0 12 16",children:(0,xt.jsx)("path",{fillRule:"evenodd",d:"M12 5.5l-8 8-4-4L1.5 8 4 10.5 10.5 4 12 5.5z"})}),At=({text:e="No templates found.",...t})=>(0,xt.jsx)("div",{className:"empty-container",...t,children:(0,xt.jsx)("p",{children:e})});function St(){return St=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},St.apply(this,arguments)}function It(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ot(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?It(Object(r),!0).forEach((function(t){_t(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):It(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function _t(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class Rt extends i().Component{constructor(e){let t;super(e),this.reCalculateColumnCount=this.reCalculateColumnCount.bind(this),this.reCalculateColumnCountDebounce=this.reCalculateColumnCountDebounce.bind(this),t=this.props.breakpointCols&&this.props.breakpointCols.default?this.props.breakpointCols.default:parseInt(this.props.breakpointCols)||2,this.state={columnCount:t}}componentDidMount(){this.reCalculateColumnCount(),window&&window.addEventListener("resize",this.reCalculateColumnCountDebounce)}componentDidUpdate(){this.reCalculateColumnCount()}componentWillUnmount(){window&&window.removeEventListener("resize",this.reCalculateColumnCountDebounce)}reCalculateColumnCountDebounce(){window&&window.requestAnimationFrame?(window.cancelAnimationFrame&&window.cancelAnimationFrame(this._lastRecalculateAnimationFrame),this._lastRecalculateAnimationFrame=window.requestAnimationFrame((()=>{this.reCalculateColumnCount()}))):this.reCalculateColumnCount()}reCalculateColumnCount(){const e=window&&window.innerWidth||1/0;let t=this.props.breakpointCols;"object"!=typeof t&&(t={default:parseInt(t)||2});let r=1/0,n=t.default||2;for(let o in t){const a=parseInt(o);a>0&&e<=a&&a<r&&(r=a,n=t[o])}n=Math.max(1,parseInt(n)||1),this.state.columnCount!==n&&this.setState({columnCount:n})}itemsInColumns(){const e=this.state.columnCount,t=new Array(e),r=i().Children.toArray(this.props.children);for(let n=0;n<r.length;n++){const o=n%e;t[o]||(t[o]=[]),t[o].push(r[n])}return t}renderColumns(){const{column:e,columnAttrs:t={},columnClassName:r}=this.props,n=this.itemsInColumns(),o=100/n.length+"%";let a=r;a&&"string"!=typeof a&&(this.logDeprecated('The property "columnClassName" requires a string'),void 0===a&&(a="my-masonry-grid_column"));const s=Ot(Ot(Ot({},e),t),{},{style:Ot(Ot({},t.style),{},{width:o}),className:a});return n.map(((e,t)=>i().createElement("div",St({},s,{key:t}),e)))}logDeprecated(e){console.error("[Masonry]",e)}render(){const e=this.props,{children:t,breakpointCols:r,columnClassName:n,columnAttrs:o,column:a,className:s}=e,c=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["children","breakpointCols","columnClassName","columnAttrs","column","className"]);let l=s;return"string"!=typeof s&&(this.logDeprecated('The property "className" requires a string'),void 0===s&&(l="my-masonry-grid")),i().createElement("div",St({},c,{className:l}),this.renderColumns())}}Rt.defaultProps={breakpointCols:void 0,className:void 0,columnClassName:void 0,children:void 0,columnAttrs:void 0,column:void 0};const Lt=Rt,Pt=()=>(0,xt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:(0,xt.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.48 3.499a.562.562 0 0 1 1.04 0l2.125 5.111a.563.563 0 0 0 .475.345l5.518.442c.499.04.701.663.321.988l-4.204 3.602a.563.563 0 0 0-.182.557l1.285 5.385a.562.562 0 0 1-.84.61l-4.725-2.885a.562.562 0 0 0-.586 0L6.982 20.54a.562.562 0 0 1-.84-.61l1.285-5.386a.562.562 0 0 0-.182-.557l-4.204-3.602a.562.562 0 0 1 .321-.988l5.518-.442a.563.563 0 0 0 .475-.345L11.48 3.5Z"})}),{Card:Nt,CardBody:Tt,CardDivider:Et,CardHeader:Ft}=wp.components,Mt=e=>{const{title:t,onRequestClose:r,children:n,...o}=e;return(0,xt.jsx)("div",{className:"popup-container",...o,children:(0,xt.jsx)("div",{className:"inner",children:(0,xt.jsxs)(Nt,{children:[(0,xt.jsx)(Ft,{children:(0,xt.jsxs)("div",{className:"inner-popup-header",children:[(0,xt.jsx)("h1",{children:t}),r&&(0,xt.jsx)("button",{className:"button-plain",onClick:()=>r(),children:(0,xt.jsx)(wt,{})})]})}),(0,xt.jsx)(Et,{}),(0,xt.jsx)(Tt,{children:(0,xt.jsx)("div",{className:"inner-popup-content",children:n})})]})})})},Bt=()=>(0,xt.jsxs)("div",{className:"animation-loader",children:[(0,xt.jsx)("div",{}),(0,xt.jsx)("div",{}),(0,xt.jsx)("div",{}),(0,xt.jsx)("div",{})]}),Dt=()=>(0,xt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:(0,xt.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5M16.5 12 12 16.5m0 0L7.5 12m4.5 4.5V3"})}),$t=()=>(0,xt.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:[(0,xt.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z"}),(0,xt.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"})]}),zt=()=>(0,xt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:(0,xt.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L6.832 19.82a4.5 4.5 0 0 1-1.897 1.13l-2.685.8.8-2.685a4.5 4.5 0 0 1 1.13-1.897L16.863 4.487Zm0 0L19.5 7.125"})}),Wt=()=>(0,xt.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"icon icon-tabler icons-tabler-outline icon-tabler-world",children:[(0,xt.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,xt.jsx)("path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0"}),(0,xt.jsx)("path",{d:"M3.6 9h16.8"}),(0,xt.jsx)("path",{d:"M3.6 15h16.8"}),(0,xt.jsx)("path",{d:"M11.5 3a17 17 0 0 0 0 18"}),(0,xt.jsx)("path",{d:"M12.5 3a17 17 0 0 1 0 18"})]}),{decodeEntities:Gt}=wp.htmlEntities,{__:Yt,sprintf:Ht}=wp.i18n,{Dashicon:qt,Button:Ut,Card:Vt,CardBody:Xt}=wp.components,{addQueryArgs:Zt}=wp.url,Jt=lt` 2 2 0% { 3 3 opacity: 0.7; … … 201 201 color: #565d65; 202 202 } 203 `),Qt=({state:e,importBlock:t,favorites:r,makeFavorite:n})=>{const o=React.useContext( pt),a=o.state.blocks.filter((e=>!("valid"!==AGWP_LIBRARY.license.status&&o.state.showFree&&Boolean(e.is_pro))));AGWP_LIBRARY.pluginURL;let i={default:3,2e3:3,1600:3,1300:2,700:1};"2c"===AGWP_LIBRARY.libraryTemplateCols?i={default:2,2e3:2,1600:2,1300:2,700:1}:"auto"===AGWP_LIBRARY.libraryTemplateCols&&(i={default:5,2e3:4,1600:3,1300:2,700:1});const s=e=>{const t=AGWP_LIBRARY.libraryPlaceholderImgURL||AGWP_LIBRARY.pluginURL+"assets/img/placeholder.svg";return e.thumbnail||t};return(0,xt.jsxs)(React.Fragment,{children:[e.state.modalActive&&(0,xt.jsxs)(Bt,{title:Gt(e.state.activeBlock.title),style:{textAlign:"center"},onRequestClose:()=>{e.dispatch({activeBlock:!1,modalActive:!1,blockImported:!1})},children:[!e.state.blockImported&&(0,xt.jsx)(Dt,{}),e.state.blockImported&&(0,xt.jsxs)(React.Fragment,{children:[(0,xt.jsxs)("p",{children:[Ht(Yt("The %s has been imported and is now available in the","analogwp-library"),AGWP_LIBRARY.isContainer?"container":"section")," ",(0,xt.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:Zt("edit.php",{post_type:"elementor_library",tabs_group:!0,elementor_library_type:AGWP_LIBRARY.isContainer?"container":"section"}),children:Ht(Yt("Elementor %s library","analogwp-library"),AGWP_LIBRARY.isContainer?"container":"section")}),"."]}),(0,xt.jsx)("p",{children:(0,xt.jsxs)(Ut,{isPrimary:!0,onClick:()=>{e.dispatch({activeBlock:!1,modalActive:!1,blockImported:!1})},children:[Yt("Ok, thanks","analogwp-library")," ",(0,xt.jsx)(qt,{icon:"yes"})]})})]})]}),(0,xt.jsxs)(Kt,{className:"blocks-area",children:[!o.state.syncing&&o.state.blocks.length<1&&(0,xt.jsx)(At,{text:Yt("No Templates found","analogwp-library")}),o.state.syncing&&o.state.blocks.length<1&&(0,xt.jsx)(At,{text:Yt("Loading Templates...","analogwp-library")}),(0,xt.jsx)(_t,{breakpointCols:i||3,className:"grid",columnClassName:"grid-item block-list",children:a.length>=1&&a.map((e=>{let o=!1;if(e.requiredPluginsrequiredPlugins&&e.requiredPlugins.length>0){const t=e.requiredPlugins.filter((e=>""!==e&&!AGWP_LIBRARY.activePlugins.includes(e)));if(t.length>0&&!t.includes("elementor-pro"))return null;o=t&&t.includes("elementor-pro")}return(0,xt.jsxs)("div",{className:yt()({"is-remote-template":e.is_remote}),children:[(0,xt.jsx)(Vt,{children:(0,xt.jsxs)(Xt,{children:[e.is_pro&&(0,xt.jsx)("span",{className:"pro",children:Yt("Pro","analogwp-library")}),e.is_remote&&(0,xt.jsx)("span",{className:"remote-badge",title:e.server_name,children:(0,xt.jsx)(Wt,{})}),(0,xt.jsxs)("figure",{children:[(0,xt.jsx)("img",{src:s(e),loading:"lazy",width:"900",height:"600",alt:e.title}),(0,xt.jsxs)("div",{className:"actions",children:[!e.is_remote&&(0,xt.jsxs)(xt.Fragment,{children:[(0,xt.jsx)("a",{href:AGWP_LIBRARY.siteURL+`?post_type=elementor_library&p=${e.id}&preview=true`,target:"_blank",className:"template-preview-button",children:(0,xt.jsx)(Ut,{isPrimary:!0,children:(0,xt.jsx)($t,{})})}),(0,xt.jsx)("a",{href:AGWP_LIBRARY.adminURL+`post.php?post=${e.id}&action=elementor`,target:"_blank",className:"template-edit-button",children:(0,xt.jsx)(Ut,{isPrimary:!0,children:(0,xt.jsx)(zt,{})})})]}),(0,xt.jsx)(br,{children:({add:r})=>!o&&!(e.is_pro&&"valid"!==AGWP_LIBRARY.license.status)&&(0,xt.jsxs)(Ut,{isPrimary:!0,onClick:()=>t(e,r),className:"is-large",children:[(0,xt.jsx)(Mt,{})," ",Yt("Insert","analogwp-library")]})})]}),(0,xt.jsx)("button",{className:yt()("button-plain favorite",{"is-active":e.id in r}),onClick:()=>n(e.id),children:(0,xt.jsx)(Pt,{})})]})]})}),(0,xt.jsxs)("div",{className:"content",children:[(0,xt.jsx)("h3",{children:Gt(e.title)}),e.is_pro&&(0,xt.jsx)("span",{className:"pro",children:Yt("Pro","analogwp-library")})]})]},e.id)}))})]})]})},{__:er}=wp.i18n,{TabPanel:tr,TextControl:rr}=wp.components,nr="all",or=["favorites",nr],ar=AGWP_LIBRARY.libraryCategoriesLocation?AGWP_LIBRARY.libraryCategoriesLocation:"horizontal",ir=ut.div`203 `),Qt=({state:e,importBlock:t,favorites:r,makeFavorite:n})=>{const o=React.useContext(dt);let a=o.state.blocks.filter((e=>!("valid"!==AGWP_LIBRARY.license.status&&o.state.showFree&&Boolean(e.is_pro))));const i=o.state.sourceFilter;i&&"all"!==i&&(a=a.filter((e=>"local"===i?!e.is_remote:"remote"!==i||!0===e.is_remote))),AGWP_LIBRARY.pluginURL;let s={default:3,2e3:3,1600:3,1300:2,700:1};"2c"===AGWP_LIBRARY.libraryTemplateCols?s={default:2,2e3:2,1600:2,1300:2,700:1}:"auto"===AGWP_LIBRARY.libraryTemplateCols&&(s={default:5,2e3:4,1600:3,1300:2,700:1});const c=e=>{const t=AGWP_LIBRARY.libraryPlaceholderImgURL||AGWP_LIBRARY.pluginURL+"assets/img/placeholder.svg";return e.thumbnail||t};return(0,xt.jsxs)(React.Fragment,{children:[e.state.modalActive&&(0,xt.jsxs)(Mt,{title:Gt(e.state.activeBlock.title),style:{textAlign:"center"},onRequestClose:()=>{e.dispatch({activeBlock:!1,modalActive:!1,blockImported:!1})},children:[!e.state.blockImported&&(0,xt.jsx)(Bt,{}),e.state.blockImported&&(0,xt.jsxs)(React.Fragment,{children:[(0,xt.jsxs)("p",{children:[Ht(Yt("The %s has been imported and is now available in the","analogwp-library"),AGWP_LIBRARY.isContainer?"container":"section")," ",(0,xt.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:Zt("edit.php",{post_type:"elementor_library",tabs_group:!0,elementor_library_type:AGWP_LIBRARY.isContainer?"container":"section"}),children:Ht(Yt("Elementor %s library","analogwp-library"),AGWP_LIBRARY.isContainer?"container":"section")}),"."]}),(0,xt.jsx)("p",{children:(0,xt.jsxs)(Ut,{isPrimary:!0,onClick:()=>{e.dispatch({activeBlock:!1,modalActive:!1,blockImported:!1})},children:[Yt("Ok, thanks","analogwp-library")," ",(0,xt.jsx)(qt,{icon:"yes"})]})})]})]}),(0,xt.jsxs)(Kt,{className:"blocks-area",children:[!o.state.syncing&&o.state.blocks.length<1&&(0,xt.jsx)(At,{text:Yt("No Templates found","analogwp-library")}),o.state.syncing&&o.state.blocks.length<1&&(0,xt.jsx)(At,{text:Yt("Loading Templates...","analogwp-library")}),(0,xt.jsx)(Lt,{breakpointCols:s||3,className:"grid",columnClassName:"grid-item block-list",children:a.length>=1&&a.map((e=>{let o=!1;if(e.requiredPluginsrequiredPlugins&&e.requiredPlugins.length>0){const t=e.requiredPlugins.filter((e=>""!==e&&!AGWP_LIBRARY.activePlugins.includes(e)));if(t.length>0&&!t.includes("elementor-pro"))return null;o=t&&t.includes("elementor-pro")}return(0,xt.jsxs)("div",{className:yt()({"is-remote-template":e.is_remote}),children:[(0,xt.jsx)(Vt,{children:(0,xt.jsxs)(Xt,{children:[e.is_pro&&(0,xt.jsx)("span",{className:"pro",children:Yt("Pro","analogwp-library")}),e.is_remote&&(0,xt.jsx)("span",{className:"remote-badge",title:e.server_name,children:(0,xt.jsx)(Wt,{})}),(0,xt.jsxs)("figure",{children:[(0,xt.jsx)("img",{src:c(e),loading:"lazy",width:"900",height:"600",alt:e.title}),(0,xt.jsxs)("div",{className:"actions",children:[!e.is_remote&&(0,xt.jsxs)(xt.Fragment,{children:[(0,xt.jsx)("a",{href:AGWP_LIBRARY.siteURL+`?post_type=elementor_library&p=${e.id}&preview=true`,target:"_blank",className:"template-preview-button",children:(0,xt.jsx)(Ut,{isPrimary:!0,children:(0,xt.jsx)($t,{})})}),(0,xt.jsx)("a",{href:AGWP_LIBRARY.adminURL+`post.php?post=${e.id}&action=elementor`,target:"_blank",className:"template-edit-button",children:(0,xt.jsx)(Ut,{isPrimary:!0,children:(0,xt.jsx)(zt,{})})})]}),(0,xt.jsx)(br,{children:({add:r})=>!o&&!(e.is_pro&&"valid"!==AGWP_LIBRARY.license.status)&&(0,xt.jsxs)(Ut,{isPrimary:!0,onClick:()=>t(e,r),className:"is-large",children:[(0,xt.jsx)(Dt,{})," ",Yt("Insert","analogwp-library")]})})]}),(0,xt.jsx)("button",{className:yt()("button-plain favorite",{"is-active":e.id in r}),onClick:()=>n(e.id),children:(0,xt.jsx)(Pt,{})})]})]})}),(0,xt.jsxs)("div",{className:"content",children:[(0,xt.jsx)("h3",{children:Gt(e.title)}),e.is_pro&&(0,xt.jsx)("span",{className:"pro",children:Yt("Pro","analogwp-library")})]})]},e.id)}))})]})]})},{__:er}=wp.i18n,{TabPanel:tr,TextControl:rr}=wp.components,nr="all",or=["favorites",nr],ar=AGWP_LIBRARY.libraryCategoriesLocation?AGWP_LIBRARY.libraryCategoriesLocation:"horizontal",ir=ut.div` 204 204 .components-tab-panel__tabs > .components-button { 205 205 text-transform: capitalize; … … 281 281 padding-right: 10px; 282 282 } 283 `,sr=({state:e})=>{const t=React.useContext( pt),r=[...new Set(t.state.blockArchive.map((e=>e.tags[0])))];let n=t.state.blockArchive,o=n.filter((e=>e.id in t.state.blockFavorites));const a=e=>{const r=t.state.blockArchive,{blocksSearchInput:n}=t.state;let a=[];return e===nr&&(a=t.state.blockArchive),"favorites"===e&&(a=o),e!==nr&&"favorites"!==e&&(a=r.filter((t=>t.tags.indexOf(e)>-1))),"valid"!==AGWP_LIBRARY.license.status&&t.state.showFree&&(a=a.filter((e=>!e.is_pro))),n&&(a=t.state.itemFilteredWithSearchTerm(a,n)),!!a&&a.length},i=()=>or.concat(r.sort()),s=e=>{let t=a(e),r=t>0?t:0;return[`${e.replace(/-/g," ")} `,AGWP_LIBRARY.showLibraryCategoriesTemplateCount?(0,xt.jsx)("span",{children:r},e):""]},c=e=>e.filter((e=>e&&a(e)>0)).map((e=>({name:e,title:s(e),className:`tab-${e}`})));return(0,xt.jsxs)(ir,{className:"sidebar "+(t.state.blockArchive.length?"":"no-templates"),children:[t.state.blockArchive.length>=10&&(0,xt.jsx)(rr,{placeholder:er("Search Templates","analogwp-library"),value:t.state.blocksSearchInput,onChange:e=>{t.handleSearch(e,"patterns"),t.dispatch({blocksSearchInput:e})}}),c(i()).length>=1?(0,xt.jsx)(tr,{className:"block-categories-tabs",orientation:ar,activeClass:"active-tab",initialTabName:(e=>{let r=e||t.state.blocksTab;if("undefined"!=typeof elementor&&elementor&&elementor.config){const n=elementor.config.document.type,o=i();if(t.state.showFree&&"valid"!==AGWP_LIBRARY.license.status)return r;switch(n){case"header":r=o.includes("Headers")?"Headers":e;break;case"footer":r=o.includes("Footers")?"Footers":e;break;case"single-page":case"single-post":case"page":r=o.includes("Post Templates")?"Post Templates":e}}return r})(t.state.blocksTab),onSelect:e=>{t.dispatch({blocksTab:e});let r=n;"favorites"===e&&(r=o),"favorites"!==e&&e!==nr&&(r=t.state.blockArchive.filter((t=>t.tags.indexOf(e)>-1)));const{blocksSearchInput:a}=t.state;a&&(r=t.state.itemFilteredWithSearchTerm(r,a)),t.dispatch({blocks:r})},tabs:c(i()),children:e=>null},t.state.blocksTab):(0,xt.jsx)("div",{className:"block-categories-tabs"})]})},{__:cr}=wp.i18n,{Component:lr,Fragment:ur}=wp.element,dr=ut.div`283 `,sr=({state:e})=>{const t=React.useContext(dt),r=t.state.sourceFilter;let n=t.state.blockArchive;r&&"all"!==r&&(n=t.state.blockArchive.filter((e=>"local"===r?!e.is_remote:"remote"!==r||!0===e.is_remote)));const o=[...new Set(n.map((e=>e.tags[0])))];let a=n,i=a.filter((e=>e.id in t.state.blockFavorites));const s=e=>{const r=n,{blocksSearchInput:o}=t.state;let a=[];return e===nr&&(a=n),"favorites"===e&&(a=i),e!==nr&&"favorites"!==e&&(a=r.filter((t=>t.tags.indexOf(e)>-1))),"valid"!==AGWP_LIBRARY.license.status&&t.state.showFree&&(a=a.filter((e=>!e.is_pro))),o&&(a=t.state.itemFilteredWithSearchTerm(a,o)),!!a&&a.length},c=()=>or.concat(o.sort()),l=e=>{let t=s(e),r=t>0?t:0;return[`${e.replace(/-/g," ")} `,AGWP_LIBRARY.showLibraryCategoriesTemplateCount?(0,xt.jsx)("span",{children:r},e):""]},u=e=>e.filter((e=>e&&s(e)>0)).map((e=>({name:e,title:l(e),className:`tab-${e}`})));return(0,xt.jsxs)(ir,{className:"sidebar "+(t.state.blockArchive.length?"":"no-templates"),children:[t.state.blockArchive.length>=10&&(0,xt.jsx)(rr,{placeholder:er("Search Templates","analogwp-library"),value:t.state.blocksSearchInput,onChange:e=>{t.handleSearch(e,"patterns"),t.dispatch({blocksSearchInput:e})}}),u(c()).length>=1?(0,xt.jsx)(tr,{className:"block-categories-tabs",orientation:ar,activeClass:"active-tab",initialTabName:(e=>{let r=e||t.state.blocksTab;if("undefined"!=typeof elementor&&elementor&&elementor.config){const n=elementor.config.document.type,o=c();if(t.state.showFree&&"valid"!==AGWP_LIBRARY.license.status)return r;switch(n){case"header":r=o.includes("Headers")?"Headers":e;break;case"footer":r=o.includes("Footers")?"Footers":e;break;case"single-page":case"single-post":case"page":r=o.includes("Post Templates")?"Post Templates":e}}return r})(t.state.blocksTab),onSelect:e=>{t.dispatch({blocksTab:e});let r=a;"favorites"===e&&(r=i),"favorites"!==e&&e!==nr&&(r=n.filter((t=>t.tags.indexOf(e)>-1)));const{blocksSearchInput:o}=t.state;o&&(r=t.state.itemFilteredWithSearchTerm(r,o)),t.dispatch({blocks:r})},tabs:u(c()),children:e=>null},t.state.blocksTab):(0,xt.jsx)("div",{className:"block-categories-tabs"})]})},{__:cr}=wp.i18n,{Component:lr,Fragment:ur}=wp.element,pr=ut.div` 284 284 display: flex; 285 285 justify-content: space-between; 286 286 position: relative; 287 `,pr={blocks:[],activeBlock:!1,blockImported:!1,modalActive:!1},hr=AGWP_LIBRARY.libraryCategoriesLocation?AGWP_LIBRARY.libraryCategoriesLocation:"horizontal";class fr extends lr{static contextType=pt;constructor(){super(...arguments),this.state={...pr},this.importBlock=this.importBlock.bind(this),this.handleImport=this.handleImport.bind(this)}importBlock(e,t){this.setState({modalActive:!0,activeBlock:e}),this.handleImport(e,t)}handleImport(e,t){const r=Boolean(AGWP_LIBRARY.is_settings_page)?"library":"elementor";(async function(e,t){return await ht({path:"/agwp-library/v1/blocks/insert",method:"post",data:{block:e,method:t}}).then((e=>e))})(e,r).then((e=>{"elementor"===r?(function(e,t="template"){let r=__("Template","analogwp-library");"block"===t&&(r=__("Block","analogwp-library"));let n=analogCustomLibrary.insertIndex||-1;if("undefined"!=typeof $e){const t=$e.internal("document/history/start-log",{type:"add",title:`${__("Add Custom Library for Elementor","analogwp-library")} ${r}`});for(let t=0;t<e.length;t++)$e.run("document/elements/create",{container:elementor.getPreviewContainer(),model:e[t],options:n>=0?{at:n++}:{}});$e.internal("document/history/end-log",{id:t})}else{const t=new Backbone.Model({getTitle:()=>"Test"});elementor.channels.data.trigger("template:before:insert",t);for(let t=0;t<json.data.content.length;t++)elementor.getPreviewView().addChildElement(e[t],n>=0?{at:n++}:null);elementor.channels.data.trigger("template:after:insert",{})}}(e.data.content,"block"),this.setState({modalActive:!1,activeBlock:!1}),window.analogCustomLibraryModal.hide()):this.setState({blockImported:!0})})).catch((e=>{t(e.message,"error","import-error",!1),this.setState({modalActive:!1,activeBlock:!1})}))}getItemCount(e){const t=this.context.state.blocks.filter((t=>t.tags.indexOf(e)>-1));return!!t&&t.length}makeFavorite=e=>{const t=this.context.state.blockFavorites;if(this.context.markFavorite(e,!(e in t),"block"),e in t?delete t[e]:t[e]=!(e in t),this.context.dispatch({blockFavorites:t}),this.context.state.showing_favorites){const e=this.context.state.blocks.filter((e=>e.id in t));this.context.dispatch({blocks:e})}};render(){const e={state:this.state,dispatch:e=>this.setState(e)};return(0,xt.jsx)(ur,{children:(0,xt.jsxs)(dr,{className:hr,children:[(0,xt.jsx)(sr,{state:e}),(0,xt.jsx)(Qt,{state:e,importBlock:this.importBlock,favorites:this.context.state.blockFavorites,makeFavorite:this.makeFavorite})]})})}}function mr(e){const t=moment.unix(e),r=moment.now();return Math.ceil(moment.duration(t.diff(r)).asMinutes())}const gr=React.createContext(),br=(gr.Provider,gr.Consumer);class vr extends React.Component{constructor(){super(...arguments),this.state={notices:[]},this.autoDismissTimeout=3e3,this.add=this.add.bind(this)}getNotices(){return this.state.notices.map((e=>(0,xt.jsx)(yr,{id:e.id,type:e.type,label:e.label,onDismiss:()=>this.remove(e.id),autoDismiss:!!e.autoDismiss&&e.autoDismiss,autoDismissTimeout:e.autoDismissTimeout?e.autoDismissTimeout:this.autoDismissTimeout},e.id)))}add(e,t="success",r=function(){let e=46656*Math.random()||0,t=46656*Math.random()||0;return e=("000"+e.toString(36)).slice(-3),t=("000"+t.toString(36)).slice(-3),e+t}(),n=!0,o=3e3){const a=[...this.state.notices,{label:e,id:r,type:t,autoDismiss:n,autoDismissTimeout:o}];this.setState({notices:a})}remove(e){const t=this.state.notices.filter((t=>t.id!==e));this.setState({notices:t})}onDismiss=e=>()=>this.remove(e);render(){const{add:e}=this,{children:t}=this.props;return(0,xt.jsxs)(gr.Provider,{value:{add:e},children:[(0,xt.jsx)("div",{className:"analog-custom-library-notices",children:this.getNotices()}),t]})}}class yr extends React.Component{timeout=0;state={autoDismissTimeout:this.props.autoDismissTimeout,autoDismiss:this.props.autoDismiss};static defaultProps={autoDismiss:!1};static getDerivedStateFromProps({autoDismiss:e,autoDismissTimeout:t}){return e?{autoDismissTimeout:"number"==typeof e?e:t}:null}componentDidMount(){const{autoDismiss:e,onDismiss:t}=this.props,{autoDismissTimeout:r}=this.state;e&&(this.timeout=setTimeout(t,r))}componentWillUnmount(){this.timeout&&clearTimeout(this.timeout)}render(){const{onDismiss:e,label:t,id:r,type:n}=this.props;return(0,xt.jsxs)("div",{id:r,className:`notifications-container type-${n}`,children:[(0,xt.jsx)("div",{className:"notification-countdown",style:{opacity:this.state.autoDismiss?1:0,animation:`sk-notification-anim ${this.state.autoDismissTimeout}ms linear`,animationPlayState:"running"}}),(0,xt.jsx)("div",{className:"icon-wrapper",children:(o=n,"success"===o?(0,xt.jsx)(jt,{}):"error"===o?(0,xt.jsx)(kt,{}):(0,xt.jsx)(Ct,{}))}),(0,xt.jsx)("p",{children:t}),(0,xt.jsx)("button",{onClick:()=>e(),children:(0,xt.jsx)(wt,{})})]});var o}}const xr=()=>(0,xt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:(0,xt.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"})}),wr=()=>(0,xt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"size-6",children:(0,xt.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99"})}),{__:kr}=wp.i18n,{Button:Cr}=wp.components,jr=()=>(0,xt.jsxs)("div",{className:"actions",children:[(0,xt.jsx)(pt.Consumer,{children:e=>(0,xt.jsx)(br,{children:({add:t})=>(0,xt.jsx)(Cr,{className:yt()("analog-custom-library-sync",{"is-active":e.state.syncing}),onClick:r=>{r.preventDefault(),e.forceRefresh().then((()=>t(kr("Library is now synced","analogwp-library")))).catch((()=>t(kr("Something is not right, please try again.","analogwp-library"),"error")))},children:(e.state.syncing,(0,xt.jsx)(wr,{}))})})}),!AGWP_LIBRARY.is_settings_page&&(0,xt.jsx)(Cr,{className:"close-modal",children:(0,xt.jsx)(xr,{className:"icons"})})]}),Ar=lt` 287 `,dr={blocks:[],activeBlock:!1,blockImported:!1,modalActive:!1},hr=AGWP_LIBRARY.libraryCategoriesLocation?AGWP_LIBRARY.libraryCategoriesLocation:"horizontal";class fr extends lr{static contextType=dt;constructor(){super(...arguments),this.state={...dr},this.importBlock=this.importBlock.bind(this),this.handleImport=this.handleImport.bind(this)}importBlock(e,t){this.setState({modalActive:!0,activeBlock:e}),this.handleImport(e,t)}handleImport(e,t){const r=Boolean(AGWP_LIBRARY.is_settings_page)?"library":"elementor";(async function(e,t){return await ht({path:"/agwp-library/v1/blocks/insert",method:"post",data:{block:e,method:t}}).then((e=>e))})(e,r).then((e=>{"elementor"===r?(function(e,t="template"){let r=__("Template","analogwp-library");"block"===t&&(r=__("Block","analogwp-library"));let n=analogCustomLibrary.insertIndex||-1;if("undefined"!=typeof $e){const t=$e.internal("document/history/start-log",{type:"add",title:`${__("Add Custom Library for Elementor","analogwp-library")} ${r}`});for(let t=0;t<e.length;t++)$e.run("document/elements/create",{container:elementor.getPreviewContainer(),model:e[t],options:n>=0?{at:n++}:{}});$e.internal("document/history/end-log",{id:t})}else{const t=new Backbone.Model({getTitle:()=>"Test"});elementor.channels.data.trigger("template:before:insert",t);for(let t=0;t<json.data.content.length;t++)elementor.getPreviewView().addChildElement(e[t],n>=0?{at:n++}:null);elementor.channels.data.trigger("template:after:insert",{})}}(e.data.content,"block"),this.setState({modalActive:!1,activeBlock:!1}),window.analogCustomLibraryModal.hide()):this.setState({blockImported:!0})})).catch((e=>{t(e.message,"error","import-error",!1),this.setState({modalActive:!1,activeBlock:!1})}))}getItemCount(e){const t=this.context.state.blocks.filter((t=>t.tags.indexOf(e)>-1));return!!t&&t.length}makeFavorite=e=>{const t=this.context.state.blockFavorites;if(this.context.markFavorite(e,!(e in t),"block"),e in t?delete t[e]:t[e]=!(e in t),this.context.dispatch({blockFavorites:t}),this.context.state.showing_favorites){const e=this.context.state.blocks.filter((e=>e.id in t));this.context.dispatch({blocks:e})}};render(){const e={state:this.state,dispatch:e=>this.setState(e)};return(0,xt.jsx)(ur,{children:(0,xt.jsxs)(pr,{className:hr,children:[(0,xt.jsx)(sr,{state:e}),(0,xt.jsx)(Qt,{state:e,importBlock:this.importBlock,favorites:this.context.state.blockFavorites,makeFavorite:this.makeFavorite})]})})}}function mr(e){const t=moment.unix(e),r=moment.now();return Math.ceil(moment.duration(t.diff(r)).asMinutes())}const gr=React.createContext(),br=(gr.Provider,gr.Consumer);class vr extends React.Component{constructor(){super(...arguments),this.state={notices:[]},this.autoDismissTimeout=3e3,this.add=this.add.bind(this)}getNotices(){return this.state.notices.map((e=>(0,xt.jsx)(yr,{id:e.id,type:e.type,label:e.label,onDismiss:()=>this.remove(e.id),autoDismiss:!!e.autoDismiss&&e.autoDismiss,autoDismissTimeout:e.autoDismissTimeout?e.autoDismissTimeout:this.autoDismissTimeout},e.id)))}add(e,t="success",r=function(){let e=46656*Math.random()||0,t=46656*Math.random()||0;return e=("000"+e.toString(36)).slice(-3),t=("000"+t.toString(36)).slice(-3),e+t}(),n=!0,o=3e3){const a=[...this.state.notices,{label:e,id:r,type:t,autoDismiss:n,autoDismissTimeout:o}];this.setState({notices:a})}remove(e){const t=this.state.notices.filter((t=>t.id!==e));this.setState({notices:t})}onDismiss=e=>()=>this.remove(e);render(){const{add:e}=this,{children:t}=this.props;return(0,xt.jsxs)(gr.Provider,{value:{add:e},children:[(0,xt.jsx)("div",{className:"analog-custom-library-notices",children:this.getNotices()}),t]})}}class yr extends React.Component{timeout=0;state={autoDismissTimeout:this.props.autoDismissTimeout,autoDismiss:this.props.autoDismiss};static defaultProps={autoDismiss:!1};static getDerivedStateFromProps({autoDismiss:e,autoDismissTimeout:t}){return e?{autoDismissTimeout:"number"==typeof e?e:t}:null}componentDidMount(){const{autoDismiss:e,onDismiss:t}=this.props,{autoDismissTimeout:r}=this.state;e&&(this.timeout=setTimeout(t,r))}componentWillUnmount(){this.timeout&&clearTimeout(this.timeout)}render(){const{onDismiss:e,label:t,id:r,type:n}=this.props;return(0,xt.jsxs)("div",{id:r,className:`notifications-container type-${n}`,children:[(0,xt.jsx)("div",{className:"notification-countdown",style:{opacity:this.state.autoDismiss?1:0,animation:`sk-notification-anim ${this.state.autoDismissTimeout}ms linear`,animationPlayState:"running"}}),(0,xt.jsx)("div",{className:"icon-wrapper",children:(o=n,"success"===o?(0,xt.jsx)(jt,{}):"error"===o?(0,xt.jsx)(kt,{}):(0,xt.jsx)(Ct,{}))}),(0,xt.jsx)("p",{children:t}),(0,xt.jsx)("button",{onClick:()=>e(),children:(0,xt.jsx)(wt,{})})]});var o}}const xr=()=>(0,xt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:(0,xt.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"})}),wr=()=>(0,xt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"size-6",children:(0,xt.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99"})}),{__:kr}=wp.i18n,{Button:Cr}=wp.components,jr=()=>(0,xt.jsxs)("div",{className:"actions",children:[(0,xt.jsx)(dt.Consumer,{children:e=>(0,xt.jsx)(br,{children:({add:t})=>(0,xt.jsx)(Cr,{className:yt()("analog-custom-library-sync",{"is-active":e.state.syncing}),onClick:r=>{r.preventDefault(),e.forceRefresh().then((()=>t(kr("Library is now synced","analogwp-library")))).catch((()=>t(kr("Something is not right, please try again.","analogwp-library"),"error")))},children:(e.state.syncing,(0,xt.jsx)(wr,{}))})})}),!AGWP_LIBRARY.is_settings_page&&(0,xt.jsx)(Cr,{className:"close-modal",children:(0,xt.jsx)(xr,{className:"icons"})})]}),Ar=()=>(0,xt.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,xt.jsx)("path",{d:"M6 12C5.46957 12 4.96086 11.7893 4.58579 11.4142C4.21071 11.0391 4 10.5304 4 10C4 9.46957 4.21071 8.96086 4.58579 8.58579C4.96086 8.21071 5.46957 8 6 8M6 12C6.53043 12 7.03914 11.7893 7.41421 11.4142C7.78929 11.0391 8 10.5304 8 10C8 9.46957 7.78929 8.96086 7.41421 8.58579C7.03914 8.21071 6.53043 8 6 8M6 12V20M6 8V4M12 18C11.4696 18 10.9609 17.7893 10.5858 17.4142C10.2107 17.0391 10 16.5304 10 16C10 15.4696 10.2107 14.9609 10.5858 14.5858C10.9609 14.2107 11.4696 14 12 14M12 18C12.5304 18 13.0391 17.7893 13.4142 17.4142C13.7893 17.0391 14 16.5304 14 16C14 15.4696 13.7893 14.9609 13.4142 14.5858C13.0391 14.2107 12.5304 14 12 14M12 18V20M12 14V4M18 9C17.4696 9 16.9609 8.78929 16.5858 8.41421C16.2107 8.03914 16 7.53043 16 7C16 6.46957 16.2107 5.96086 16.5858 5.58579C16.9609 5.21071 17.4696 5 18 5M18 9C18.5304 9 19.0391 8.78929 19.4142 8.41421C19.7893 8.03914 20 7.53043 20 7C20 6.46957 19.7893 5.96086 19.4142 5.58579C19.0391 5.21071 18.5304 5 18 5M18 9V20M18 5V4",stroke:"white","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})}),{__:Sr}=wp.i18n,{Button:Ir,Dropdown:Or,MenuGroup:_r,MenuItem:Rr}=wp.components,Lr=ut(Ir)` 288 color: var(--analog-custom-library-btn-text) !important; 289 font-weight: 500 !important; 290 font-size: 12px !important; 291 text-transform: uppercase; 292 letter-spacing: 0.5px; 293 display: inline-flex !important; 294 align-items: center !important; 295 gap: 6px; 296 padding: 6px 12px !important; 297 border-radius: 4px !important; 298 background: transparent !important; 299 margin-right: 12px; 300 height: auto !important; 301 min-height: 32px; 302 303 svg { 304 width: 14px; 305 height: 14px; 306 } 307 `,Pr=ut.div` 308 min-width: 180px; 309 310 .components-menu-group { 311 padding: 8px 0; 312 } 313 314 .components-menu-item__button { 315 width: 100%; 316 padding: 8px 14px; 317 display: flex; 318 align-items: center; 319 gap: 8px; 320 font-size: 14px; 321 font-weight: 400; 322 color: var(--analog-custom-library-top-header-text) !important; 323 324 &.is-active { 325 .filter-icon .circle { 326 width: 8px; 327 height: 8px; 328 border-radius: 100%; 329 background: white; 330 } 331 } 332 333 &:hover, 334 &:focus { 335 box-shadow: none !important; 336 outline: none !important; 337 } 338 } 339 340 .filter-icon { 341 width: 18px; 342 height: 18px; 343 padding: 4px; 344 display: flex; 345 align-items: center; 346 justify-content: center; 347 border: 1px solid var(--analog-custom-library-top-header-text) !important; 348 border-radius: 100%; 349 margin-right: 8px; 350 } 351 `,Nr=[{value:"all",label:Sr("All Templates","analogwp-library")},{value:"local",label:Sr("Local Only","analogwp-library")},{value:"remote",label:Sr("Remote Only","analogwp-library")}],Tr=()=>{const e=React.useContext(dt),t=AGWP_LIBRARY?.sourceFilter;if(!t?.enabled)return null;const r=e.state.sourceFilter||"all";return Nr.find((e=>e.value===r))||Nr[0],(0,xt.jsx)(Or,{className:"analog-source-filter-dropdown",contentClassName:"analog-custom-library-themed",popoverProps:{placement:"bottom-end"},renderToggle:({isOpen:e,onToggle:t})=>(0,xt.jsx)(Lr,{onClick:t,"aria-expanded":e,children:(0,xt.jsx)(Ar,{})}),renderContent:({onClose:t})=>(0,xt.jsx)(Pr,{children:(0,xt.jsx)(_r,{children:Nr.map((n=>(0,xt.jsxs)(Rr,{className:r===n.value?"is-active":"",onClick:()=>{e.setSourceFilter(n.value),t()},children:[(0,xt.jsx)("span",{className:"filter-icon",children:(0,xt.jsx)("span",{className:"circle"})}),n.label]},n.value)))})})})},Er=()=>(0,xt.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,xt.jsx)("path",{d:"M21 21L15 15M3 10C3 10.9193 3.18106 11.8295 3.53284 12.6788C3.88463 13.5281 4.40024 14.2997 5.05025 14.9497C5.70026 15.5998 6.47194 16.1154 7.32122 16.4672C8.1705 16.8189 9.08075 17 10 17C10.9193 17 11.8295 16.8189 12.6788 16.4672C13.5281 16.1154 14.2997 15.5998 14.9497 14.9497C15.5998 14.2997 16.1154 13.5281 16.4672 12.6788C16.8189 11.8295 17 10.9193 17 10C17 9.08075 16.8189 8.1705 16.4672 7.32122C16.1154 6.47194 15.5998 5.70026 14.9497 5.05025C14.2997 4.40024 13.5281 3.88463 12.6788 3.53284C11.8295 3.18106 10.9193 3 10 3C9.08075 3 8.1705 3.18106 7.32122 3.53284C6.47194 3.88463 5.70026 4.40024 5.05025 5.05025C4.40024 5.70026 3.88463 6.47194 3.53284 7.32122C3.18106 8.1705 3 9.08075 3 10Z",stroke:"white","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})}),{__:Fr}=wp.i18n,Mr=lt` 352 from { 353 width: 32px; 354 opacity: 0.8; 355 } 356 to { 357 width: 250px; 358 opacity: 1; 359 } 360 `,Br=lt` 361 from { 362 width: 250px; 363 opacity: 1; 364 } 365 to { 366 width: 32px; 367 opacity: 0.8; 368 } 369 `,Dr=ut.div` 370 display: flex; 371 align-items: center; 372 position: relative; 373 margin-right: 8px; 374 padding: 0 12px; 375 `,$r=ut.button` 376 background: transparent; 377 padding: 6px 0; 378 border: none; 379 cursor: pointer; 380 display: flex; 381 align-items: center; 382 justify-content: center; 383 color: var(--analog-custom-library-btn-text); 384 transition: background 0.2s ease; 385 386 &:hover, 387 &:focus { 388 outline: none; 389 } 390 391 svg { 392 width: 16px; 393 height: 16px; 394 } 395 `,zr=ut.div` 396 display: flex; 397 align-items: center; 398 border-radius: 4px; 399 padding: 0; 400 height: 32px; 401 width: 250px; 402 animation: ${Mr} 0.2s ease-out forwards; 403 404 ${e=>e.$isClosing&&Oe` 405 animation: ${Br} 0.2s ease-out forwards; 406 `} 407 `,Wr=ut.input` 408 flex: 1; 409 background-color: rgba(0, 0, 0, 0.15) !important; 410 border: none; 411 outline: none; 412 color: var(--analog-custom-library-top-header-text) !important; 413 font-size: 14px; 414 font-weight: 400; 415 line-height: 1; 416 padding: 10px 12px; 417 width: 100%; 418 419 &::placeholder { 420 color: rgba(255, 255, 255, 0.6); 421 } 422 `,Gr=ut.span` 423 display: flex; 424 align-items: center; 425 justify-content: center; 426 color: var(--analog-custom-library-btn-text); 427 opacity: 0.7; 428 429 svg { 430 width: 14px; 431 height: 14px; 432 } 433 `,Yr=ut.button` 434 margin-left: 14px; 435 background: transparent; 436 border: none; 437 cursor: pointer; 438 display: flex; 439 align-items: center; 440 justify-content: center; 441 color: var(--analog-custom-library-btn-text); 442 padding: 0; 443 border-radius: 2px; 444 transition: background 0.2s ease; 445 446 &:hover, 447 &:focus { 448 outline: none; 449 } 450 451 svg { 452 width: 10px; 453 height: 10px; 454 fill: currentColor; 455 } 456 `,Hr=()=>{const e=(0,a.useContext)(dt),[t,r]=(0,a.useState)(!1),[n,o]=(0,a.useState)(!1),[i,s]=(0,a.useState)(""),c=(0,a.useRef)(null);(0,a.useEffect)((()=>{s(e.state.blocksSearchInput||"")}),[e.state.blocksSearchInput]);const l=()=>{o(!0),s(""),e.handleSearch(""),setTimeout((()=>{r(!1),o(!1)}),200)};return t?(0,xt.jsx)(Dr,{children:(0,xt.jsxs)(zr,{$isClosing:n,children:[!t&&(0,xt.jsx)(Gr,{children:(0,xt.jsx)(Er,{})}),(0,xt.jsx)(Wr,{ref:c,type:"text",value:i,onChange:t=>{const r=t.target.value;s(r),e.handleSearch(r)},onKeyDown:e=>{"Escape"===e.key&&l()},placeholder:Fr("Search templates...","analogwp-library"),"aria-label":Fr("Search templates","analogwp-library")}),(0,xt.jsx)(Yr,{onClick:l,"aria-label":Fr("Close search","analogwp-library"),title:Fr("Close search","analogwp-library"),children:(0,xt.jsx)(xr,{className:"icons"})})]})}):(0,xt.jsx)(Dr,{children:(0,xt.jsx)($r,{onClick:()=>{r(!0),o(!1),setTimeout((()=>{c.current&&c.current.focus()}),100)},"aria-label":Fr("Search templates","analogwp-library"),title:Fr("Search templates","analogwp-library"),children:(0,xt.jsx)(Er,{})})})},qr=lt` 288 457 from { 289 458 transform: rotate(0deg); … … 293 462 transform: rotate(360deg); 294 463 } 295 `, Sr=ut.div.attrs({className:"analogwp-header"})`464 `,Ur=ut.div.attrs({className:"analogwp-header"})` 296 465 padding: 8px 24px; 297 466 background: var(--analog-custom-library-top-header-bg); … … 336 505 pointer-events: none; 337 506 svg { 338 animation: ${ Ar} 2s linear infinite;507 animation: ${qr} 2s linear infinite; 339 508 } 340 509 } … … 358 527 letter-spacing: 1px; 359 528 } 360 `,Ir=()=>{const{theme:e}=React.useContext(bt);return(0,xt.jsx)(Sr,{theme:e,children:(0,xt.jsxs)("div",{className:"analog-custom-library-container",children:[(0,xt.jsx)("div",{className:"logo",children:(0,xt.jsx)("h2",{children:AGWP_LIBRARY?.library_title_text})}),(0,xt.jsx)(jr,{})]})})},{apiFetch:Or}=wp,Lr=ut.div` 529 530 .header-actions { 531 display: flex; 532 align-items: center; 533 } 534 `,Vr=()=>{const{theme:e}=React.useContext(bt);return(0,xt.jsx)(Ur,{theme:e,children:(0,xt.jsxs)("div",{className:"analog-custom-library-container",children:[(0,xt.jsx)("div",{className:"logo",children:(0,xt.jsx)("h2",{children:AGWP_LIBRARY?.library_title_text})}),(0,xt.jsxs)("div",{className:"header-actions",children:[(0,xt.jsx)(Hr,{}),(0,xt.jsx)(Tr,{}),(0,xt.jsx)(jr,{})]})]})})},{apiFetch:Xr}=wp,Zr=ut.div` 361 535 margin: 0 0 0 -20px; 362 536 -webkit-font-smoothing: antialiased; … … 489 663 visibility: hidden; 490 664 } 491 `;class Rr extends React.Component{constructor(){super(...arguments),this.state={blocks:[],count:null,isOpen:!1,syncing:!1,favorites:AGWP_LIBRARY.favorites,blockFavorites:AGWP_LIBRARY.blockFavorites,showing_favorites:!1,blockArchive:[],showFree:!0,showPro:!0,group:!0,tab:"blocks",blocksTab:"all",hasPro:!1,settings:{},blocksSearchInput:"",itemFilteredWithSearchTerm:function(e,t){let r=[];return e.filter((e=>(e.tags&&e.tags[0]&&(r=e.tags.filter((e=>e.toLowerCase().includes(t)))),e.title.toLowerCase().includes(t)||r.length>=1)))}},this.refreshAPI=this.refreshAPI.bind(this),this.toggleFavorites=this.toggleFavorites.bind(this),this.handleSearch=this.handleSearch.bind(this),this.handleSort=this.handleSort.bind(this),this.handleFilter=this.handleFilter.bind(this),this.switchTabs=this.switchTabs.bind(this)}switchTabs(){const e=location.hash;["#blocks"].indexOf(e)>-1&&AGWP_LIBRARY.is_settings_page&&this.setState({tab:e.substr(1),templates:this.state.archive,blocks:this.state.blockArchive,showing_favorites:!1})}async componentDidMount(){window.addEventListener("hashchange",this.switchTabs,!1),window.addEventListener("DOMContentLoaded",this.switchTabs,!1),"false"===window.localStorage.getItem("analog-custom-library::show-free")&&this.setState({showFree:!1}),"false"===window.localStorage.getItem("analog-custom-library::show-pro")&&this.setState({showPro:!1}),this.setState({syncing:!0});const e=(await async function(){return await ht({path:"/agwp-library/v1/templates"}).then((e=>e))}()).library;var t;this.setState({templates:e.templates,archive:e.templates,blockArchive:e.blocks,count:e.templates.length,hasPro:(t=e.templates,t.some((e=>!0===e.is_pro))),blocks:e.blocks,blocksTab:"all",syncing:!1}),this.handleSort("latest"),document.addEventListener("modal-close",(()=>{this.setState({isOpen:!1,showing_favorites:!1,templates:this.state.archive})})),async function(){return await ht({path:"/agwp-library/v1/get/settings"}).then((e=>e))}().then((e=>this.setState({settings:e})))}handleFilter(e){const t=[...this.state.blockArchive];if("all"===e)return void this.setState({blocks:this.state.blockArchive});const r=t.filter((t=>t.tags[0]===e));this.setState({blocks:r})}handleSort(e){this.setState({showing_favorites:!1});const t=this.state.blocks;if("popular"===e){const e=t.sort(((e,t)=>{if("popularityIndex"in e){if(parseInt(e.popularityIndex)<parseInt(t.popularityIndex))return 1;if(parseInt(e.popularityIndex)>parseInt(t.popularityIndex))return-1}return 0}));this.setState({blocks:e})}if("latest"===e){const e=t.sort(((e,t)=>{if("published"in e){if(parseInt(mr(e.published))<parseInt(mr(t.published)))return 1;if(parseInt(mr(e.published))>parseInt(mr(t.published)))return-1}return 0}));this.setState({blocks:e})}}handleSearch(e,t="blocks"){let r=this.state.blockArchive,n=[],o=[];e&&(n=r.filter((r=>("patterns"===t&&r.keywords&&r.keywords[0]?o=r.keywords.filter((t=>t.toLowerCase().includes(e.toLowerCase()))):r.tags&&r.tags[0]&&(o=r.tags.filter((t=>t.toLowerCase().includes(e.toLowerCase())))),r.title.toLowerCase().includes(e.toLowerCase())||o.length>=1))),n.length>0)?this.setState({blocks:n,blocksSearchInput:e}):this.setState({blocks:e?[]:this.state.blockArchive,blocksSearchInput:""})}async refreshAPI(){return this.setState({syncing:!0,blocksSearchInput:""}),wp.hooks.doAction("analog.refreshLibrary"),await Or({path:"/agwp-library/v1/templates/?force_update=true"}).then((e=>{const t=e.library;this.setState({blockArchive:t.blocks,blocks:t.blocks,syncing:!1,blocksSearchInput:"",blocksTab:"all"})})).catch((()=>{this.setState({syncing:!1})}))}toggleFavorites(){this.setState({group:!1}),window.localStorage.setItem("analog-custom-library::group-block",!1);const e=this.state.blockArchive.filter((e=>e.id in this.state.blockFavorites));this.setState({showing_favorites:!this.state.showing_favorites,blocks:this.state.showing_favorites?this.state.blockArchive:e})}render(){return(0,xt.jsx)(bt.Provider,{value:{theme:gt},children:(0,xt.jsx)(bt.Consumer,{children:({theme:e})=>(0,xt.jsx)(Lr,{theme:e,children:(0,xt.jsx)(vr,{children:(0,xt.jsxs)(pt.Provider,{value:{state:this.state,forceRefresh:this.refreshAPI,markFavorite:ft,toggleFavorites:this.toggleFavorites,handleSearch:this.handleSearch,handleSort:this.handleSort,handleFilter:this.handleFilter,dispatch:e=>this.setState(e)},children:[(0,xt.jsx)(Ir,{}),(0,xt.jsx)("div",{className:"analogwp-content",children:(0,xt.jsx)("div",{className:"ang-container",children:(this.state,(0,xt.jsx)(fr,{}))})})]})})})})})}}const _r=Rr,Pr="analog-custom-library",Tr=(e,t)=>{document.getElementById(Pr)?t():setTimeout((function(){window.requestAnimationFrame((function(){Tr(e,t)}))}),1e3)};Tr(document.getElementById(Pr),(()=>{if(window.AGWP_LIBRARY&&window.AGWP_LIBRARY.wp_version&&window.AGWP_LIBRARY.wp_version>="6.2"){const{createRoot:e}=wp.element;e(document.getElementById(Pr)).render((0,xt.jsx)(_r,{}))}else{const{render:e}=wp.element;e((0,xt.jsx)(_r,{}),document.getElementById(Pr))}}))})()})();665 `;class Jr extends React.Component{constructor(){super(...arguments),this.state={blocks:[],count:null,isOpen:!1,syncing:!1,favorites:AGWP_LIBRARY.favorites,blockFavorites:AGWP_LIBRARY.blockFavorites,showing_favorites:!1,blockArchive:[],showFree:!0,showPro:!0,group:!0,tab:"blocks",blocksTab:"all",hasPro:!1,settings:{},blocksSearchInput:"",sourceFilter:"all",itemFilteredWithSearchTerm:function(e,t){let r=[];return e.filter((e=>(e.tags&&e.tags[0]&&(r=e.tags.filter((e=>e.toLowerCase().includes(t)))),e.title.toLowerCase().includes(t)||r.length>=1)))}},this.refreshAPI=this.refreshAPI.bind(this),this.toggleFavorites=this.toggleFavorites.bind(this),this.handleSearch=this.handleSearch.bind(this),this.handleSort=this.handleSort.bind(this),this.handleFilter=this.handleFilter.bind(this),this.switchTabs=this.switchTabs.bind(this),this.setSourceFilter=this.setSourceFilter.bind(this)}setSourceFilter(e){this.setState({sourceFilter:e})}switchTabs(){const e=location.hash;["#blocks"].indexOf(e)>-1&&AGWP_LIBRARY.is_settings_page&&this.setState({tab:e.substr(1),templates:this.state.archive,blocks:this.state.blockArchive,showing_favorites:!1})}async componentDidMount(){window.addEventListener("hashchange",this.switchTabs,!1),window.addEventListener("DOMContentLoaded",this.switchTabs,!1),"false"===window.localStorage.getItem("analog-custom-library::show-free")&&this.setState({showFree:!1}),"false"===window.localStorage.getItem("analog-custom-library::show-pro")&&this.setState({showPro:!1}),this.setState({syncing:!0});const e=(await async function(){return await ht({path:"/agwp-library/v1/templates"}).then((e=>e))}()).library;var t;this.setState({templates:e.templates,archive:e.templates,blockArchive:e.blocks,count:e.templates.length,hasPro:(t=e.templates,t.some((e=>!0===e.is_pro))),blocks:e.blocks,blocksTab:"all",syncing:!1}),this.handleSort("latest"),document.addEventListener("modal-close",(()=>{this.setState({isOpen:!1,showing_favorites:!1,templates:this.state.archive})})),async function(){return await ht({path:"/agwp-library/v1/get/settings"}).then((e=>e))}().then((e=>this.setState({settings:e})))}handleFilter(e){const t=[...this.state.blockArchive];if("all"===e)return void this.setState({blocks:this.state.blockArchive});const r=t.filter((t=>t.tags[0]===e));this.setState({blocks:r})}handleSort(e){this.setState({showing_favorites:!1});const t=this.state.blocks;if("popular"===e){const e=t.sort(((e,t)=>{if("popularityIndex"in e){if(parseInt(e.popularityIndex)<parseInt(t.popularityIndex))return 1;if(parseInt(e.popularityIndex)>parseInt(t.popularityIndex))return-1}return 0}));this.setState({blocks:e})}if("latest"===e){const e=t.sort(((e,t)=>{if("published"in e){if(parseInt(mr(e.published))<parseInt(mr(t.published)))return 1;if(parseInt(mr(e.published))>parseInt(mr(t.published)))return-1}return 0}));this.setState({blocks:e})}}handleSearch(e,t="blocks"){let r=this.state.blockArchive,n=[],o=[];e&&(n=r.filter((r=>("patterns"===t&&r.keywords&&r.keywords[0]?o=r.keywords.filter((t=>t.toLowerCase().includes(e.toLowerCase()))):r.tags&&r.tags[0]&&(o=r.tags.filter((t=>t.toLowerCase().includes(e.toLowerCase())))),r.title.toLowerCase().includes(e.toLowerCase())||o.length>=1))),n.length>0)?this.setState({blocks:n,blocksSearchInput:e}):this.setState({blocks:e?[]:this.state.blockArchive,blocksSearchInput:e||""})}async refreshAPI(){return this.setState({syncing:!0,blocksSearchInput:""}),wp.hooks.doAction("analog.refreshLibrary"),await Xr({path:"/agwp-library/v1/templates/?force_update=true"}).then((e=>{const t=e.library;this.setState({blockArchive:t.blocks,blocks:t.blocks,syncing:!1,blocksSearchInput:"",blocksTab:"all"})})).catch((()=>{this.setState({syncing:!1})}))}toggleFavorites(){this.setState({group:!1}),window.localStorage.setItem("analog-custom-library::group-block",!1);const e=this.state.blockArchive.filter((e=>e.id in this.state.blockFavorites));this.setState({showing_favorites:!this.state.showing_favorites,blocks:this.state.showing_favorites?this.state.blockArchive:e})}render(){return(0,xt.jsx)(bt.Provider,{value:{theme:gt},children:(0,xt.jsx)(bt.Consumer,{children:({theme:e})=>(0,xt.jsx)(Zr,{theme:e,children:(0,xt.jsx)(vr,{children:(0,xt.jsxs)(dt.Provider,{value:{state:this.state,forceRefresh:this.refreshAPI,markFavorite:ft,toggleFavorites:this.toggleFavorites,handleSearch:this.handleSearch,handleSort:this.handleSort,handleFilter:this.handleFilter,setSourceFilter:this.setSourceFilter,dispatch:e=>this.setState(e)},children:[(0,xt.jsx)(Vr,{}),(0,xt.jsx)("div",{className:"analogwp-content",children:(0,xt.jsx)("div",{className:"ang-container",children:(this.state,(0,xt.jsx)(fr,{}))})})]})})})})})}}const Kr=Jr,Qr="analog-custom-library",en=(e,t)=>{document.getElementById(Qr)?t():setTimeout((function(){window.requestAnimationFrame((function(){en(e,t)}))}),1e3)};en(document.getElementById(Qr),(()=>{if(window.AGWP_LIBRARY&&window.AGWP_LIBRARY.wp_version&&window.AGWP_LIBRARY.wp_version>="6.2"){const{createRoot:e}=wp.element;e(document.getElementById(Qr)).render((0,xt.jsx)(Kr,{}))}else{const{render:e}=wp.element;e((0,xt.jsx)(Kr,{}),document.getElementById(Qr))}}))})()})(); -
analogwp-library/tags/2.1.0/inc/Settings/class-register-settings.php
r3440313 r3451006 9 9 10 10 use AnalogWP\CustomLibrary\Plugin; 11 use AnalogWP\CustomLibrary\Utils; 11 12 12 13 /** 13 * class Register_Settings.14 * Class Register_Settings. 14 15 */ 15 16 class Register_Settings { … … 149 150 global $menu; 150 151 151 $elementor_position = 58; // Default Elementor position. 152 153 if ( ! empty( $menu ) ) { 154 foreach ( $menu as $position => $item ) { 155 if ( isset( $item[2] ) && 'elementor' === $item[2] ) { 156 $elementor_position = $position; 157 break; 158 } 159 } 160 } 161 162 // Place our menu right after Elementor (add small decimal to avoid conflicts). 163 return $elementor_position + 0.1; 152 $elementor_position = 2; // Default Elementor position. 153 154 // Support pre 3.34.3 Elementor versions. 155 if ( Utils::is_elementor_pre( '3.34.2' ) ) { 156 $elementor_position = 58; 157 } 158 159 // Place our menu right after Elementor. 160 return $elementor_position + 1; 164 161 } 165 162 -
analogwp-library/tags/2.1.0/languages/analogwp-library-analog-custom-library-app.json
r3440313 r3451006 1 {"domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural_forms":"nplurals=2; plural=(n!=1);","lang":"en"},"Custom Library for Elementor":[""],"https://analogwp.com/custom-library-for-elementor":[""],"Custom Library for Elementor creates the foundation for a design framework that will help you create better, more consistent websites with Elementor.":[""],"AnalogWP":[""],"https://analogwp.com/":[""],"Custom Library for Elementor requires PHP version %s":[""],"Error Activating":[""],"Custom Library for Elementor requires WordPress version %s+. Because you are using an earlier version, the plugin is currently NOT RUNNING.":[""],"Custom Library for Elementor requires Elementor v%s or newer in order to work. Please update Elementor to the latest version.":[""],"Update Elementor Now":[""],"Custom Library for Elementor is not working because you need to activate the Elementor plugin.":[""],"Activate Elementor Now":[""],"Custom Library for Elementor is not working because you need to install the Elementor plugin.":[""],"Install Elementor Now":[""],"Settings":[""],"Custom Library":[""],"Library":[""],"Something went wrong.":[""],"Template":[""],"Block":[""],"Add Custom Library for Elementor":[""],"Library is now synced":[""],"Something is not right, please try again.":[""]," Get unlimited access to the Custom Library for Elementor library and features with the PRO version.":[""],"View Plans":[""],"Templates":[""],"Blocks":[""],"Exit preview":[""],"Open in new tab":[""],"Import Template":[""],"This page has been moved to a new location":[""],"Redirecting you now...":[""],"Click here if you are not redirected automatically":[""],"Your settings have been saved.":[""],"The changes you made will be lost if you navigate away from this page.":[""],"Select Image":[""],"Use this image":[""],"Pro":[""],"Upgrade to Pro":[""],"Toggle":[""],"Change Image":[""],"Revert to Default":[""],"Import":[""],"Go":[""],"Export All":[""],"Custom Library for Elementor Shortcuts":[""],"Templates Library":[""],"Theme Custom Library for Elementor":[""],"Add to library":[""],"Custom Library for Elementor Logo":[""],"Enjoyed %1$s? Please leave us a %2$s rating. We really appreciate your support!":[""],"View Documentation":[""],"Documentation":[""],"Get Support":[""],"Invalid Template ID.":[""],"No options key provided.":[""],"Setting updated.":[""],"Back to Library":[""],"Loading icon":[""],"Search Templates":[""],"The %s has been imported and is now available in the":[""],"Elementor %s library":[""],"Ok, thanks":[""],"No Templates found":[""],"Loading Templates...":[""],"Insert":[""],"Save changes":[""],"Your Email":[""],"First Name":[""],"Send me the coupon":[""],"By submitting your details, you agree to our %s.":[""],"privacy policy":[""],"Version Control":[""],"Rollback Versions":[""],"If you are having issues with current version of Custom Library, you can rollback to a previous stable version.":[""],"Rollback Custom Library":[""],"Reinstall this version":[""],"Tools":[""],"Updated successfully":[""],"Update failed! Please try again":[""],"Run Update":[""],"%1$s ? %2$s template(s)":[""],"Update Library Templates":[""],"This action will update any templates found to be outdated in the Custom Library from their source template in Elementor template library.":[""],"Note: Outdated templates are templates that were created before the current version of this plugin. You only need to run this when you think there is a problem in the Custom Library.":[""],"Templates Importer":[""],"Imports .json or .zip files exported only via the Custom Library Pro templates exporter.":[""],"Templates Exporter":[""],"Exports all the templates published and available in the Custom Library.":[""],"No outdated templates found.":[""],"Failed to update outdated templates.":[""],"Reports":[""],"Template Import Reports":[""],"Track and analyze template imports across your sites. Monitor usage patterns and gain insights into your template library.":[""],"Import Tracking":[""],"This data is safely stored on your site and never leaves your site.":[""],"Enabled":[""],"Track all template imports including template name, import time, and client site details.":[""],"Disabled":[""],"Do not track template imports.":[""],"More controls":[""],"Unlock powerful reporting features with Pro including detailed import logs, client site tracking, export capabilities, and automatic data cleanup options.":[""],"Remote Library":[""],"Remote Library Settings":[""],"Configure your library to share templates with other sites (Server mode) or connect to remote libraries (Client mode).":[""],"Learn more":[""],"Operating Mode":[""],"Standalone":[""],"Local library only. Templates are stored and used on this site only.":[""],"Server":[""],"Share your library with other sites. Generate a connection-code for clients to connect to this remote library server.":[""],"Client":[""],"Connect to remote library servers to access templates from another site.":[""],"A plethora of controls to serve your own template library remotely or access remote libraries, such as Secure Connection-code, Connected Sites, Reports and more. ":[""],"Misc":[""],"Remove Data on Uninstall":[""],"Check this box to remove all data stored by Custom Library for Elementor plugin, including license info, user settings, import history etc.":[""],"General":[""],"General Settings":[""],"Hide default Elementor Template library icon from editor.":[""],"Hide default Elementor Template library popup from editor.":[""],"Placeholder image":[""],"Replace the default placeholder image.":[""],"Trigger icon":[""],"Replace the trigger icon.":[""],"Library Access":[""],"Show to All":[""],"Show only to specific roles":[""],"Show only to specific users":[""],"Settings Access":[""],"Please note, by default all administrators have settings access even if it is not explicitly set here to avoid accidental lockouts.":[""],"Design":[""],"Library popup style":[""],"Compact (popup)":[""],"Fullscreen":[""],"Template columns":[""],"2 Columns":[""],"3 Columns":[""],"Auto":[""],"Categories location":[""],"Sidebar":[""],"Horizontal":[""],"None":[""],"Show categories template count":[""],"Plugin/menu label":[""],"Library title":[""],"Show Buttons on hover":[""],"Show Preview Button":[""],"Show Edit Button":[""],"Header colors":[""],"Header Background":[""],"Header Text":[""],"Header Border Bottom":[""],"Categories colors":[""],"Categories Background":[""],"Categories Text":[""],"Active Category Text":[""],"Button styles":[""],"Button Background Color":[""],"Button Text Color":[""],"Button Border Color":[""],"Button Border Radius":[""],"Button Border Width":[""],"Rollback to Previous Version":[""],"Rolling back plugin?":[""],"Rollback failed during installation.":[""],"Rollback complete. The plugin files have been restored.":[""],"Go to Plugins page":[""],"Sorry, you are not allowed to rollback Custom Library plugin for this site.":[""],"Error occurred, the version selected is invalid. Try selecting different version.":[""],"Save":[""],"Enter Template Name":[""],"Add to Custom Library":[""],"Give your template a name":[""],"Cloud Templates":[""],"Upgrade":[""],"Connect":[""],"Site Templates":[""],"Note: Custom Library sync requires \"Site Templates\" to be checked as well.":[""],"You?ve saved 100% of the templates in your plan.":[""],"To get more space %s":[""],"Upgrade now":[""],"Learn more about the":[""],"Template Library":[""],"Unable to sanitize this file hence it wasn't uploaded!":[""],"Full Size":[""],"Thumbnail":[""],"Medium":[""],"Large":[""],"settings title\u0004Enable SVG Uploads":[""]}}}1 {"domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural_forms":"nplurals=2; plural=(n!=1);","lang":"en"},"Custom Library for Elementor":[""],"https://analogwp.com/custom-library-for-elementor":[""],"Custom Library for Elementor creates the foundation for a design framework that will help you create better, more consistent websites with Elementor.":[""],"AnalogWP":[""],"https://analogwp.com/":[""],"Custom Library for Elementor requires PHP version %s":[""],"Error Activating":[""],"Custom Library for Elementor requires WordPress version %s+. Because you are using an earlier version, the plugin is currently NOT RUNNING.":[""],"Custom Library for Elementor requires Elementor v%s or newer in order to work. Please update Elementor to the latest version.":[""],"Update Elementor Now":[""],"Custom Library for Elementor is not working because you need to activate the Elementor plugin.":[""],"Activate Elementor Now":[""],"Custom Library for Elementor is not working because you need to install the Elementor plugin.":[""],"Install Elementor Now":[""],"Settings":[""],"Custom Library":[""],"Library":[""],"Something went wrong.":[""],"Template":[""],"Block":[""],"Add Custom Library for Elementor":[""],"Library is now synced":[""],"Something is not right, please try again.":[""],"All Templates":[""],"Local Only":[""],"Remote Only":[""],"Get unlimited access to the Custom Library for Elementor library and features with the PRO version.":[""],"View Plans":[""],"Templates":[""],"Blocks":[""],"Exit preview":[""],"Open in new tab":[""],"Import Template":[""],"Search templates":[""],"Search templates...":[""],"Close search":[""],"This page has been moved to a new location":[""],"Redirecting you now...":[""],"Click here if you are not redirected automatically":[""],"Your settings have been saved.":[""],"The changes you made will be lost if you navigate away from this page.":[""],"Select Image":[""],"Use this image":[""],"Pro":[""],"Upgrade to Pro":[""],"Toggle":[""],"Change Image":[""],"Revert to Default":[""],"Import":[""],"Go":[""],"Export All":[""],"Custom Library for Elementor Shortcuts":[""],"Templates Library":[""],"Theme Custom Library for Elementor":[""],"Add to library":[""],"Custom Library for Elementor Logo":[""],"Enjoyed %1$s? Please leave us a %2$s rating. We really appreciate your support!":[""],"View Documentation":[""],"Documentation":[""],"Get Support":[""],"Invalid Template ID.":[""],"No options key provided.":[""],"Setting updated.":[""],"Back to Library":[""],"Loading icon":[""],"Search Templates":[""],"The %s has been imported and is now available in the":[""],"Elementor %s library":[""],"Ok, thanks":[""],"No Templates found":[""],"Loading Templates...":[""],"Insert":[""],"Save changes":[""],"Your Email":[""],"First Name":[""],"Send me the coupon":[""],"By submitting your details, you agree to our %s.":[""],"privacy policy":[""],"Version Control":[""],"Rollback Versions":[""],"If you are having issues with current version of Custom Library, you can rollback to a previous stable version.":[""],"Rollback Custom Library":[""],"Reinstall this version":[""],"Tools":[""],"Updated successfully":[""],"Update failed! Please try again":[""],"Run Update":[""],"%1$s ? %2$s template(s)":[""],"Update Library Templates":[""],"This action will update any templates found to be outdated in the Custom Library from their source template in Elementor template library.":[""],"Note: Outdated templates are templates that were created before the current version of this plugin. You only need to run this when you think there is a problem in the Custom Library.":[""],"Templates Importer":[""],"Imports .json or .zip files exported only via the Custom Library Pro templates exporter.":[""],"Templates Exporter":[""],"Exports all the templates published and available in the Custom Library.":[""],"No outdated templates found.":[""],"Failed to update outdated templates.":[""],"Reports":[""],"Template Import Reports":[""],"Track and analyze template imports across your sites. Monitor usage patterns and gain insights into your template library.":[""],"Import Tracking":[""],"This data is safely stored on your site and never leaves your site.":[""],"Enabled":[""],"Track all template imports including template name, import time, and client site details.":[""],"Disabled":[""],"Do not track template imports.":[""],"More controls":[""],"Unlock powerful reporting features with Pro including detailed import logs, client site tracking, export capabilities, and automatic data cleanup options.":[""],"Remote Library":[""],"Remote Library Settings":[""],"Configure your library to share templates with other sites (Server mode) or connect to remote libraries (Client mode).":[""],"Learn more":[""],"Operating Mode":[""],"Standalone":[""],"Local library only. Templates are stored and used on this site only.":[""],"Server":[""],"Share your library with other sites. Generate a connection-code for clients to connect to this remote library server.":[""],"Client":[""],"Connect to remote library servers to access templates from another site.":[""],"A plethora of controls to serve your own template library remotely or access remote libraries, such as Secure Connection-code, Connected Sites, Reports and more. ":[""],"Misc":[""],"Remove Data on Uninstall":[""],"Check this box to remove all data stored by Custom Library for Elementor plugin, including license info, user settings, import history etc.":[""],"General":[""],"General Settings":[""],"Hide default Elementor Template library icon from editor.":[""],"Hide default Elementor Template library popup from editor.":[""],"Placeholder image":[""],"Replace the default placeholder image.":[""],"Trigger icon":[""],"Replace the trigger icon.":[""],"Library Access":[""],"Show to All":[""],"Show only to specific roles":[""],"Show only to specific users":[""],"Settings Access":[""],"Please note, by default all administrators have settings access even if it is not explicitly set here to avoid accidental lockouts.":[""],"Design":[""],"Library popup style":[""],"Compact (popup)":[""],"Fullscreen":[""],"Template columns":[""],"2 Columns":[""],"3 Columns":[""],"Auto":[""],"Categories location":[""],"Sidebar":[""],"Horizontal":[""],"None":[""],"Show categories template count":[""],"Plugin/menu label":[""],"Library title":[""],"Show Buttons on hover":[""],"Show Preview Button":[""],"Show Edit Button":[""],"Header colors":[""],"Header Background":[""],"Header Text":[""],"Header Border Bottom":[""],"Categories colors":[""],"Categories Background":[""],"Categories Text":[""],"Active Category Text":[""],"Button styles":[""],"Button Background Color":[""],"Button Text Color":[""],"Button Border Color":[""],"Button Border Radius":[""],"Button Border Width":[""],"Rollback to Previous Version":[""],"Rolling back plugin?":[""],"Rollback failed during installation.":[""],"Rollback complete. The plugin files have been restored.":[""],"Go to Plugins page":[""],"Sorry, you are not allowed to rollback Custom Library plugin for this site.":[""],"Error occurred, the version selected is invalid. Try selecting different version.":[""],"Save":[""],"Enter Template Name":[""],"Add to Custom Library":[""],"Give your template a name":[""],"Cloud Templates":[""],"Upgrade":[""],"Connect":[""],"Site Templates":[""],"Note: Custom Library sync requires \"Site Templates\" to be checked as well.":[""],"You?ve saved 100% of the templates in your plan.":[""],"To get more space %s":[""],"Upgrade now":[""],"Learn more about the":[""],"Template Library":[""],"Unable to sanitize this file hence it wasn't uploaded!":[""],"Full Size":[""],"Thumbnail":[""],"Medium":[""],"Large":[""],"settings title\u0004Enable SVG Uploads":[""]}}} -
analogwp-library/tags/2.1.0/languages/analogwp-library.pot
r3440313 r3451006 4 4 msgid "" 5 5 msgstr "" 6 "Project-Id-Version: analogwp-library 2. 0.0\n"6 "Project-Id-Version: analogwp-library 2.1.0\n" 7 7 "Report-Msgid-Bugs-To: AnalogWP <EMAIL>\n" 8 8 "MIME-Version: 1.0\n" … … 10 10 "Content-Type: text/plain; charset=iso-8859-1\n" 11 11 "Plural-Forms: nplurals=2; plural=(n!=1);\n" 12 "POT-Creation-Date: 2026-01- 15T12:05:56.330Z\n"12 "POT-Creation-Date: 2026-01-31T13:39:44.721Z\n" 13 13 "PO-Revision-Date: 2026-MO-DA HO:MI+ZONE\n" 14 14 "Last-Translator: AnalogWP <EMAIL>\n" … … 93 93 94 94 #: inc/class-plugin.php:165 95 #: inc/Settings/class-register-settings.php:10296 95 #: inc/Settings/class-register-settings.php:103 97 #: inc/Settings/class-register-settings.php:134 96 #: inc/Settings/class-register-settings.php:104 97 #: inc/Settings/class-register-settings.php:135 98 98 #: inc/Elementor/class-finder-shortcuts.php:52 99 99 #: inc/Settings/Views/html-admin-settings.php:28 … … 140 140 msgstr "" 141 141 142 #: client/SourceFilter.js:90 143 msgid "All Templates" 144 msgstr "" 145 146 #: client/SourceFilter.js:94 147 msgid "Local Only" 148 msgstr "" 149 150 #: client/SourceFilter.js:98 151 msgid "Remote Only" 152 msgstr "" 153 142 154 #: client/ProModal.js:6 143 155 msgid "" … … 173 185 msgstr "" 174 186 187 #: client/HeaderSearch.js:188 188 #: client/HeaderSearch.js:189 189 #: client/HeaderSearch.js:212 190 msgid "Search templates" 191 msgstr "" 192 193 #: client/HeaderSearch.js:211 194 msgid "Search templates..." 195 msgstr "" 196 197 #: client/HeaderSearch.js:216 198 #: client/HeaderSearch.js:217 199 msgid "Close search" 200 msgstr "" 201 202 #: inc/Settings/class-register-settings.php:228 203 msgid "This page has been moved to a new location" 204 msgstr "" 205 175 206 #: inc/Settings/class-register-settings.php:231 176 msgid " This page has been moved to a new location"207 msgid "Redirecting you now..." 177 208 msgstr "" 178 209 179 210 #: inc/Settings/class-register-settings.php:234 180 msgid "Redirecting you now..."181 msgstr ""182 183 #: inc/Settings/class-register-settings.php:237184 211 msgid "Click here if you are not redirected automatically" 185 212 msgstr "" … … 202 229 203 230 #: inc/Settings/class-admin-settings.php:327 204 #: client/blocks/BlockList.js:3 70205 #: client/blocks/BlockList.js:4 20231 #: client/blocks/BlockList.js:385 232 #: client/blocks/BlockList.js:435 206 233 msgid "Pro" 207 234 msgstr "" … … 299 326 msgstr "" 300 327 301 #: client/blocks/Sidebar.js:2 17328 #: client/blocks/Sidebar.js:234 302 329 msgid "Search Templates" 303 330 msgstr "" 304 331 305 #: client/blocks/BlockList.js:3 05332 #: client/blocks/BlockList.js:320 306 333 msgid "The %s has been imported and is now available in the" 307 334 msgstr "" 308 335 309 #: client/blocks/BlockList.js:3 16336 #: client/blocks/BlockList.js:331 310 337 msgid "Elementor %s library" 311 338 msgstr "" 312 339 313 #: client/blocks/BlockList.js:3 30340 #: client/blocks/BlockList.js:345 314 341 msgid "Ok, thanks" 315 342 msgstr "" 316 343 317 #: client/blocks/BlockList.js:3 42344 #: client/blocks/BlockList.js:357 318 345 msgid "No Templates found" 319 346 msgstr "" 320 347 321 #: client/blocks/BlockList.js:3 46348 #: client/blocks/BlockList.js:361 322 349 msgid "Loading Templates..." 323 350 msgstr "" 324 351 325 #: client/blocks/BlockList.js:4 01352 #: client/blocks/BlockList.js:416 326 353 msgid "Insert" 327 354 msgstr "" -
analogwp-library/trunk/analogwp-library.php
r3440313 r3451006 11 11 * Plugin URI: https://analogwp.com/custom-library-for-elementor 12 12 * Description: Custom Library for Elementor creates the foundation for a design framework that will help you create better, more consistent websites with Elementor. 13 * Version: 2. 0.013 * Version: 2.1.0 14 14 * Author: AnalogWP 15 15 * Author URI: https://analogwp.com/ … … 19 19 * Requires at least: 6.0 20 20 * Requires PHP: 7.4 21 * Elementor tested up to: 3.34. 122 * Elementor Pro tested up to: 3.34. 021 * Elementor tested up to: 3.34.4 22 * Elementor Pro tested up to: 3.34.4 23 23 */ 24 24 … … 28 28 define( 'AGWP_LIBRARY_PHP_MINIMUM', '7.4' ); 29 29 define( 'AGWP_LIBRARY_WP_MINIMUM', '6.0' ); 30 define( 'AGWP_LIBRARY_VERSION', '2. 0.0' );30 define( 'AGWP_LIBRARY_VERSION', '2.1.0' ); 31 31 define( 'AGWP_LIBRARY_PLUGIN_FILE', __FILE__ ); 32 32 define( 'AGWP_LIBRARY_PLUGIN_URL', plugin_dir_url( AGWP_LIBRARY_PLUGIN_FILE ) ); -
analogwp-library/trunk/assets/css/library-components.css
r3440313 r3451006 1 #analog-custom-library { 1 #analog-custom-library, 2 .analog-custom-library-themed { 2 3 --analog-custom-library-top-header-bg: #4D45BD; 3 4 --analog-custom-library-top-header-text: #FFFFFF; … … 30 31 /*Top navigation tab CSS*/ 31 32 /*START*/ 32 #analog-custom-library .close-modal {33 margin-left: 8px;34 }35 36 33 #analog-custom-library .logo + .actions svg { 37 34 color: currentColor; … … 1272 1269 flex-direction: column; 1273 1270 } 1271 1272 .analog-custom-library-themed { 1273 background-color: transparent; 1274 top: -10px !important; 1275 1276 .components-popover__content { 1277 background: var(--analog-custom-library-top-header-bg); 1278 box-shadow: none !important; 1279 border-radius: 0 !important; 1280 } 1281 } -
analogwp-library/trunk/assets/js/app/index.asset.php
r3440313 r3451006 1 <?php return array('dependencies' => array('react', 'react-jsx-runtime'), 'version' => ' faf21c51592e4f14a7fa');1 <?php return array('dependencies' => array('react', 'react-jsx-runtime'), 'version' => '779a817cb24776b14daa'); -
analogwp-library/trunk/assets/js/app/index.js
r3440313 r3451006 1 (()=>{var e={452:e=>{var t=function(e){"use strict";var t,r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var a=t&&t.prototype instanceof b?t:b,i=Object.create(a.prototype),s=new R(n||[]);return o(i,"_invoke",{value:S(e,r,s)}),i}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var p="suspendedStart",h="suspendedYield",f="executing",m="completed",g={};function b(){}function v(){}function y(){}var x={};l(x,i,(function(){return this}));var w=Object.getPrototypeOf,k=w&&w(w(_([])));k&&k!==r&&n.call(k,i)&&(x=k);var C=y.prototype=b.prototype=Object.create(x);function j(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function A(e,t){function r(o,a,i,s){var c=d(e[o],e,a);if("throw"!==c.type){var l=c.arg,u=l.value;return u&&"object"==typeof u&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,i,s)}),(function(e){r("throw",e,i,s)})):t.resolve(u).then((function(e){l.value=e,i(l)}),(function(e){return r("throw",e,i,s)}))}s(c.arg)}var a;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function S(e,r,n){var o=p;return function(a,i){if(o===f)throw new Error("Generator is already running");if(o===m){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var s=n.delegate;if(s){var c=I(s,n);if(c){if(c===g)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=f;var l=d(e,r,n);if("normal"===l.type){if(o=n.done?m:h,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function I(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,I(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var a=d(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,g;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function O(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 L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function R(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function _(e){if(null!=e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return v.prototype=y,o(C,"constructor",{value:y,configurable:!0}),o(y,"constructor",{value:v,configurable:!0}),v.displayName=l(y,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,l(e,c,"GeneratorFunction")),e.prototype=Object.create(C),e},e.awrap=function(e){return{__await:e}},j(A.prototype),l(A.prototype,s,(function(){return this})),e.AsyncIterator=A,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new A(u(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},j(C),l(C,c,"Generator"),l(C,i,(function(){return this})),l(C,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=_,R.prototype={constructor:R,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(L),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return s.type="throw",s.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,g):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),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),L(r),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;L(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:_(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}},967:(e,t)=>{"use strict";var r="function"==typeof Symbol&&Symbol.for,n=(r&&Symbol.for("react.element"),r&&Symbol.for("react.portal"),r?Symbol.for("react.fragment"):60107),o=r?Symbol.for("react.strict_mode"):60108,a=r?Symbol.for("react.profiler"):60114,i=r?Symbol.for("react.provider"):60109,s=r?Symbol.for("react.context"):60110,c=(r&&Symbol.for("react.async_mode"),r?Symbol.for("react.concurrent_mode"):60111),l=r?Symbol.for("react.forward_ref"):60112,u=r?Symbol.for("react.suspense"):60113,d=r?Symbol.for("react.suspense_list"):60120,p=r?Symbol.for("react.memo"):60115,h=r?Symbol.for("react.lazy"):60116,f=r?Symbol.for("react.block"):60121,m=r?Symbol.for("react.fundamental"):60117,g=r?Symbol.for("react.responder"):60118,b=r?Symbol.for("react.scope"):60119;t.ForwardRef=l,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===c||e===a||e===o||e===u||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===p||e.$$typeof===i||e.$$typeof===s||e.$$typeof===l||e.$$typeof===m||e.$$typeof===g||e.$$typeof===b||e.$$typeof===f)}},467:(e,t,r)=>{"use strict";e.exports=r(967)},162:e=>{e.exports=function(){"use strict";return function(e){var t="/*|*/",r=t+"}";function n(t){if(t)try{e(t+"}")}catch(e){}}return function(o,a,i,s,c,l,u,d,p,h){switch(o){case 1:if(0===p&&64===a.charCodeAt(0))return e(a+";"),"";break;case 2:if(0===d)return a+t;break;case 3:switch(d){case 102:case 112:return e(i[0]+a),"";default:return a+(0===h?t:"")}case-2:a.split(r).forEach(n)}}}}()},79:e=>{e.exports=function e(t){"use strict";var r=/^\0+/g,n=/[\0\r\f]/g,o=/: */g,a=/zoo|gra/,i=/([,: ])(transform)/g,s=/,+\s*(?![^(]*[)])/g,c=/ +\s*(?![^(]*[)])/g,l=/ *[\0] */g,u=/,\r+?/g,d=/([\t\r\n ])*\f?&/g,p=/:global\(((?:[^\(\)\[\]]*|\[.*\]|\([^\(\)]*\))*)\)/g,h=/\W+/g,f=/@(k\w+)\s*(\S*)\s*/,m=/::(place)/g,g=/:(read-only)/g,b=/\s+(?=[{\];=:>])/g,v=/([[}=:>])\s+/g,y=/(\{[^{]+?);(?=\})/g,x=/\s{2,}/g,w=/([^\(])(:+) */g,k=/[svh]\w+-[tblr]{2}/,C=/\(\s*(.*)\s*\)/g,j=/([\s\S]*?);/g,A=/-self|flex-/g,S=/[^]*?(:[rp][el]a[\w-]+)[^]*/,I=/stretch|:\s*\w+\-(?:conte|avail)/,O=/([^-])(image-set\()/,L="-webkit-",R="-moz-",_="-ms-",P=59,T=125,N=123,E=40,F=41,B=10,D=13,M=32,$=45,z=42,W=44,G=58,Y=47,H=126,q=107,U=1,V=1,X=0,Z=1,J=1,K=1,Q=0,ee=0,te=0,re=[],ne=[],oe=0,ae=null,ie=0,se=1,ce="",le="",ue="";function de(e,t,o,a,i){for(var s,c,u=0,d=0,p=0,h=0,b=0,v=0,y=0,x=0,k=0,j=0,A=0,S=0,I=0,O=0,R=0,_=0,Q=0,ne=0,ae=0,he=o.length,ye=he-1,xe="",we="",ke="",Ce="",je="",Ae="";R<he;){if(y=o.charCodeAt(R),R===ye&&d+h+p+u!==0&&(0!==d&&(y=d===Y?B:Y),h=p=u=0,he++,ye++),d+h+p+u===0){if(R===ye&&(_>0&&(we=we.replace(n,"")),we.trim().length>0)){switch(y){case M:case 9:case P:case D:case B:break;default:we+=o.charAt(R)}y=P}if(1===Q)switch(y){case N:case T:case P:case 34:case 39:case E:case F:case W:Q=0;case 9:case D:case B:case M:break;default:for(Q=0,ae=R,b=y,R--,y=P;ae<he;)switch(o.charCodeAt(ae++)){case B:case D:case P:++R,y=b,ae=he;break;case G:_>0&&(++R,y=b);case N:ae=he}}switch(y){case N:for(b=(we=we.trim()).charCodeAt(0),A=1,ae=++R;R<he;){switch(y=o.charCodeAt(R)){case N:A++;break;case T:A--;break;case Y:switch(v=o.charCodeAt(R+1)){case z:case Y:R=ve(v,R,ye,o)}break;case 91:y++;case E:y++;case 34:case 39:for(;R++<ye&&o.charCodeAt(R)!==y;);}if(0===A)break;R++}if(ke=o.substring(ae,R),0===b&&(b=(we=we.replace(r,"").trim()).charCodeAt(0)),64===b){switch(_>0&&(we=we.replace(n,"")),v=we.charCodeAt(1)){case 100:case 109:case 115:case $:s=t;break;default:s=re}if(ae=(ke=de(t,s,ke,v,i+1)).length,te>0&&0===ae&&(ae=we.length),oe>0&&(c=be(3,ke,s=pe(re,we,ne),t,V,U,ae,v,i,a),we=s.join(""),void 0!==c&&0===(ae=(ke=c.trim()).length)&&(v=0,ke="")),ae>0)switch(v){case 115:we=we.replace(C,ge);case 100:case 109:case $:ke=we+"{"+ke+"}";break;case q:ke=(we=we.replace(f,"$1 $2"+(se>0?ce:"")))+"{"+ke+"}",ke=1===J||2===J&&me("@"+ke,3)?"@"+L+ke+"@"+ke:"@"+ke;break;default:ke=we+ke,112===a&&(Ce+=ke,ke="")}else ke=""}else ke=de(t,pe(t,we,ne),ke,a,i+1);je+=ke,S=0,Q=0,O=0,_=0,ne=0,I=0,we="",ke="",y=o.charCodeAt(++R);break;case T:case P:if((ae=(we=(_>0?we.replace(n,""):we).trim()).length)>1)switch(0===O&&((b=we.charCodeAt(0))===$||b>96&&b<123)&&(ae=(we=we.replace(" ",":")).length),oe>0&&void 0!==(c=be(1,we,t,e,V,U,Ce.length,a,i,a))&&0===(ae=(we=c.trim()).length)&&(we="\0\0"),b=we.charCodeAt(0),v=we.charCodeAt(1),b){case 0:break;case 64:if(105===v||99===v){Ae+=we+o.charAt(R);break}default:if(we.charCodeAt(ae-1)===G)break;Ce+=fe(we,b,v,we.charCodeAt(2))}S=0,Q=0,O=0,_=0,ne=0,we="",y=o.charCodeAt(++R)}}switch(y){case D:case B:if(d+h+p+u+ee===0)switch(j){case F:case 39:case 34:case 64:case H:case 62:case z:case 43:case Y:case $:case G:case W:case P:case N:case T:break;default:O>0&&(Q=1)}d===Y?d=0:Z+S===0&&a!==q&&we.length>0&&(_=1,we+="\0"),oe*ie>0&&be(0,we,t,e,V,U,Ce.length,a,i,a),U=1,V++;break;case P:case T:if(d+h+p+u===0){U++;break}default:switch(U++,xe=o.charAt(R),y){case 9:case M:if(h+u+d===0)switch(x){case W:case G:case 9:case M:xe="";break;default:y!==M&&(xe=" ")}break;case 0:xe="\\0";break;case 12:xe="\\f";break;case 11:xe="\\v";break;case 38:h+d+u===0&&Z>0&&(ne=1,_=1,xe="\f"+xe);break;case 108:if(h+d+u+X===0&&O>0)switch(R-O){case 2:112===x&&o.charCodeAt(R-3)===G&&(X=x);case 8:111===k&&(X=k)}break;case G:h+d+u===0&&(O=R);break;case W:d+p+h+u===0&&(_=1,xe+="\r");break;case 34:case 39:0===d&&(h=h===y?0:0===h?y:h);break;case 91:h+d+p===0&&u++;break;case 93:h+d+p===0&&u--;break;case F:h+d+u===0&&p--;break;case E:h+d+u===0&&(0===S&&(2*x+3*k==533||(A=0,S=1)),p++);break;case 64:d+p+h+u+O+I===0&&(I=1);break;case z:case Y:if(h+u+p>0)break;switch(d){case 0:switch(2*y+3*o.charCodeAt(R+1)){case 235:d=Y;break;case 220:ae=R,d=z}break;case z:y===Y&&x===z&&ae+2!==R&&(33===o.charCodeAt(ae+2)&&(Ce+=o.substring(ae,R+1)),xe="",d=0)}}if(0===d){if(Z+h+u+I===0&&a!==q&&y!==P)switch(y){case W:case H:case 62:case 43:case F:case E:if(0===S){switch(x){case 9:case M:case B:case D:xe+="\0";break;default:xe="\0"+xe+(y===W?"":"\0")}_=1}else switch(y){case E:O+7===R&&108===x&&(O=0),S=++A;break;case F:0==(S=--A)&&(_=1,xe+="\0")}break;case 9:case M:switch(x){case 0:case N:case T:case P:case W:case 12:case 9:case M:case B:case D:break;default:0===S&&(_=1,xe+="\0")}}we+=xe,y!==M&&9!==y&&(j=y)}}k=x,x=y,R++}if(ae=Ce.length,te>0&&0===ae&&0===je.length&&0===t[0].length==0&&(109!==a||1===t.length&&(Z>0?le:ue)===t[0])&&(ae=t.join(",").length+2),ae>0){if(s=0===Z&&a!==q?function(e){for(var t,r,o=0,a=e.length,i=Array(a);o<a;++o){for(var s=e[o].split(l),c="",u=0,d=0,p=0,h=0,f=s.length;u<f;++u)if(!(0===(d=(r=s[u]).length)&&f>1)){if(p=c.charCodeAt(c.length-1),h=r.charCodeAt(0),t="",0!==u)switch(p){case z:case H:case 62:case 43:case M:case E:break;default:t=" "}switch(h){case 38:r=t+le;case H:case 62:case 43:case M:case F:case E:break;case 91:r=t+r+le;break;case G:switch(2*r.charCodeAt(1)+3*r.charCodeAt(2)){case 530:if(K>0){r=t+r.substring(8,d-1);break}default:(u<1||s[u-1].length<1)&&(r=t+le+r)}break;case W:t="";default:r=d>1&&r.indexOf(":")>0?t+r.replace(w,"$1"+le+"$2"):t+r+le}c+=r}i[o]=c.replace(n,"").trim()}return i}(t):t,oe>0&&void 0!==(c=be(2,Ce,s,e,V,U,ae,a,i,a))&&0===(Ce=c).length)return Ae+Ce+je;if(Ce=s.join(",")+"{"+Ce+"}",J*X!=0){switch(2!==J||me(Ce,2)||(X=0),X){case 111:Ce=Ce.replace(g,":-moz-$1")+Ce;break;case 112:Ce=Ce.replace(m,"::"+L+"input-$1")+Ce.replace(m,"::-moz-$1")+Ce.replace(m,":-ms-input-$1")+Ce}X=0}}return Ae+Ce+je}function pe(e,t,r){var n=t.trim().split(u),o=n,a=n.length,i=e.length;switch(i){case 0:case 1:for(var s=0,c=0===i?"":e[0]+" ";s<a;++s)o[s]=he(c,o[s],r,i).trim();break;default:s=0;var l=0;for(o=[];s<a;++s)for(var d=0;d<i;++d)o[l++]=he(e[d]+" ",n[s],r,i).trim()}return o}function he(e,t,r,n){var o=t,a=o.charCodeAt(0);switch(a<33&&(a=(o=o.trim()).charCodeAt(0)),a){case 38:switch(Z+n){case 0:case 1:if(0===e.trim().length)break;default:return o.replace(d,"$1"+e.trim())}break;case G:if(103!==o.charCodeAt(1))return e.trim()+o.replace(d,"$1"+e.trim());if(K>0&&Z>0)return o.replace(p,"$1").replace(d,"$1"+ue);default:if(r*Z>0&&o.indexOf("\f")>0)return o.replace(d,(e.charCodeAt(0)===G?"":"$1")+e.trim())}return e+o}function fe(e,t,r,n){var l,u=0,d=e+";",p=2*t+3*r+4*n;if(944===p)return function(e){var t=e.length,r=e.indexOf(":",9)+1,n=e.substring(0,r).trim(),o=e.substring(r,t-1).trim();switch(e.charCodeAt(9)*se){case 0:break;case $:if(110!==e.charCodeAt(10))break;default:var a=o.split((o="",s)),i=0;for(r=0,t=a.length;i<t;r=0,++i){for(var l=a[i],u=l.split(c);l=u[r];){var d=l.charCodeAt(0);if(1===se&&(d>64&&d<90||d>96&&d<123||95===d||d===$&&l.charCodeAt(1)!==$)&&isNaN(parseFloat(l))+(-1!==l.indexOf("("))===1)switch(l){case"infinite":case"alternate":case"backwards":case"running":case"normal":case"forwards":case"both":case"none":case"linear":case"ease":case"ease-in":case"ease-out":case"ease-in-out":case"paused":case"reverse":case"alternate-reverse":case"inherit":case"initial":case"unset":case"step-start":case"step-end":break;default:l+=ce}u[r++]=l}o+=(0===i?"":",")+u.join(" ")}}return o=n+o+";",1===J||2===J&&me(o,1)?L+o+o:o}(d);if(0===J||2===J&&!me(d,1))return d;switch(p){case 1015:return 97===d.charCodeAt(10)?L+d+d:d;case 951:return 116===d.charCodeAt(3)?L+d+d:d;case 963:return 110===d.charCodeAt(5)?L+d+d:d;case 1009:if(100!==d.charCodeAt(4))break;case 969:case 942:return L+d+d;case 978:return L+d+R+d+d;case 1019:case 983:return L+d+R+d+_+d+d;case 883:return d.charCodeAt(8)===$?L+d+d:d.indexOf("image-set(",11)>0?d.replace(O,"$1"+L+"$2")+d:d;case 932:if(d.charCodeAt(4)===$)switch(d.charCodeAt(5)){case 103:return L+"box-"+d.replace("-grow","")+L+d+_+d.replace("grow","positive")+d;case 115:return L+d+_+d.replace("shrink","negative")+d;case 98:return L+d+_+d.replace("basis","preferred-size")+d}return L+d+_+d+d;case 964:return L+d+_+"flex-"+d+d;case 1023:if(99!==d.charCodeAt(8))break;return l=d.substring(d.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),L+"box-pack"+l+L+d+_+"flex-pack"+l+d;case 1005:return a.test(d)?d.replace(o,":"+L)+d.replace(o,":"+R)+d:d;case 1e3:switch(u=(l=d.substring(13).trim()).indexOf("-")+1,l.charCodeAt(0)+l.charCodeAt(u)){case 226:l=d.replace(k,"tb");break;case 232:l=d.replace(k,"tb-rl");break;case 220:l=d.replace(k,"lr");break;default:return d}return L+d+_+l+d;case 1017:if(-1===d.indexOf("sticky",9))return d;case 975:switch(u=(d=e).length-10,p=(l=(33===d.charCodeAt(u)?d.substring(0,u):d).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|l.charCodeAt(7))){case 203:if(l.charCodeAt(8)<111)break;case 115:d=d.replace(l,L+l)+";"+d;break;case 207:case 102:d=d.replace(l,L+(p>102?"inline-":"")+"box")+";"+d.replace(l,L+l)+";"+d.replace(l,_+l+"box")+";"+d}return d+";";case 938:if(d.charCodeAt(5)===$)switch(d.charCodeAt(6)){case 105:return l=d.replace("-items",""),L+d+L+"box-"+l+_+"flex-"+l+d;case 115:return L+d+_+"flex-item-"+d.replace(A,"")+d;default:return L+d+_+"flex-line-pack"+d.replace("align-content","").replace(A,"")+d}break;case 973:case 989:if(d.charCodeAt(3)!==$||122===d.charCodeAt(4))break;case 931:case 953:if(!0===I.test(e))return 115===(l=e.substring(e.indexOf(":")+1)).charCodeAt(0)?fe(e.replace("stretch","fill-available"),t,r,n).replace(":fill-available",":stretch"):d.replace(l,L+l)+d.replace(l,R+l.replace("fill-",""))+d;break;case 962:if(d=L+d+(102===d.charCodeAt(5)?_+d:"")+d,r+n===211&&105===d.charCodeAt(13)&&d.indexOf("transform",10)>0)return d.substring(0,d.indexOf(";",27)+1).replace(i,"$1"+L+"$2")+d}return d}function me(e,t){var r=e.indexOf(1===t?":":"{"),n=e.substring(0,3!==t?r:10),o=e.substring(r+1,e.length-1);return ae(2!==t?n:n.replace(S,"$1"),o,t)}function ge(e,t){var r=fe(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return r!==t+";"?r.replace(j," or ($1)").substring(4):"("+t+")"}function be(e,t,r,n,o,a,i,s,c,l){for(var u,d=0,p=t;d<oe;++d)switch(u=ne[d].call(xe,e,p,r,n,o,a,i,s,c,l)){case void 0:case!1:case!0:case null:break;default:p=u}if(p!==t)return p}function ve(e,t,r,n){for(var o=t+1;o<r;++o)switch(n.charCodeAt(o)){case Y:if(e===z&&n.charCodeAt(o-1)===z&&t+2!==o)return o+1;break;case B:if(e===Y)return o+1}return o}function ye(e){for(var t in e){var r=e[t];switch(t){case"keyframe":se=0|r;break;case"global":K=0|r;break;case"cascade":Z=0|r;break;case"compress":Q=0|r;break;case"semicolon":ee=0|r;break;case"preserve":te=0|r;break;case"prefix":ae=null,r?"function"!=typeof r?J=1:(J=2,ae=r):J=0}}return ye}function xe(t,r){if(void 0!==this&&this.constructor===xe)return e(t);var o=t,a=o.charCodeAt(0);a<33&&(a=(o=o.trim()).charCodeAt(0)),se>0&&(ce=o.replace(h,91===a?"":"-")),a=1,1===Z?ue=o:le=o;var i,s=[ue];oe>0&&void 0!==(i=be(-1,r,s,s,V,U,0,0,0,0))&&"string"==typeof i&&(r=i);var c=de(re,s,r,0,0);return oe>0&&void 0!==(i=be(-2,c,s,s,V,U,c.length,0,0,0))&&"string"!=typeof(c=i)&&(a=0),ce="",ue="",le="",X=0,V=1,U=1,Q*a==0?c:c.replace(n,"").replace(b,"").replace(v,"$1").replace(y,"$1").replace(x," ")}return xe.use=function e(t){switch(t){case void 0:case null:oe=ne.length=0;break;default:if("function"==typeof t)ne[oe++]=t;else if("object"==typeof t)for(var r=0,n=t.length;r<n;++r)e(t[r]);else ie=0|!!t}return e},xe.set=ye,void 0!==t&&ye(t),xe}(null)},942:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];r&&(e=i(e,a(r)))}return e}function a(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var r in e)n.call(e,r)&&e[r]&&(t=i(t,r));return t}function i(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.nc=void 0,(()=>{"use strict";var e=r(79),t=r.n(e),n=r(162),o=r.n(n);const a=window.React;var i=r.n(a);const s={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var c=r(467),l=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function u(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(!((n=e[r])===(o=t[r])||l(n)&&l(o)))return!1;var n,o;return!0}const d=function(e,t){var r;void 0===t&&(t=u);var n,o=[],a=!1;return function(){for(var i=[],s=0;s<arguments.length;s++)i[s]=arguments[s];return a&&r===this&&t(i,o)||(n=e.apply(this,i),a=!0,r=this,o=i),n}};var p=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/;const h=(f={},function(e){return void 0===f[e]&&(f[e]=(t=e,p.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)<91)),f[e];var t});var f;function m(e){return Object.prototype.toString.call(e).slice(8,-1)}function g(e){return"Object"===m(e)&&e.constructor===Object&&Object.getPrototypeOf(e)===Object.prototype}function b(e){return"Array"===m(e)}function v(e){return"Symbol"===m(e)}function y(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),o=0;for(t=0;t<r;t++)for(var a=arguments[t],i=0,s=a.length;i<s;i++,o++)n[o]=a[i];return n}function x(e,t,r,n){var o=n.propertyIsEnumerable(t)?"enumerable":"nonenumerable";"enumerable"===o&&(e[t]=r),"nonenumerable"===o&&Object.defineProperty(e,t,{value:r,enumerable:!1,writable:!0,configurable:!0})}function w(e,t,r){if(!g(t))return r&&b(r)&&r.forEach((function(r){t=r(e,t)})),t;var n={};return g(e)&&(n=y(Object.getOwnPropertyNames(e),Object.getOwnPropertySymbols(e)).reduce((function(r,n){var o=e[n];return(!v(n)&&!Object.getOwnPropertyNames(t).includes(n)||v(n)&&!Object.getOwnPropertySymbols(t).includes(n))&&x(r,n,o,e),r}),{})),y(Object.getOwnPropertyNames(t),Object.getOwnPropertySymbols(t)).reduce((function(n,o){var a=t[o],i=g(e)?e[o]:void 0;return r&&b(r)&&r.forEach((function(e){a=e(i,a)})),void 0!==i&&g(a)&&(a=w(i,a,r)),x(n,o,a,t),n}),n)}const k=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=null,o=e;return g(e)&&e.extensions&&1===Object.keys(e).length&&(o={},n=e.extensions),t.reduce((function(e,t){return w(e,t,n)}),o)};var C=function(e,t){for(var r=[e[0]],n=0,o=t.length;n<o;n+=1)r.push(t[n],e[n+1]);return r},j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},A=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},S=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),I=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},O=function(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)},L=function(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},R=function(e){return"object"===(void 0===e?"undefined":j(e))&&e.constructor===Object},_=Object.freeze([]),P=Object.freeze({});function T(e){return"function"==typeof e}function N(e){return e.displayName||e.name||"Component"}function E(e){return e&&"string"==typeof e.styledComponentId}var F="undefined"!=typeof process&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",B="data-styled-version",D="undefined"!=typeof window&&"HTMLElement"in window,M="boolean"==typeof SC_DISABLE_SPEEDY&&SC_DISABLE_SPEEDY||"undefined"!=typeof process&&(process.env.REACT_APP_SC_DISABLE_SPEEDY||process.env.SC_DISABLE_SPEEDY)||!1,$=function(e){function t(r){A(this,t);for(var n=arguments.length,o=Array(n>1?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a];var i=L(this,e.call(this,"An error occurred. See https://github.com/styled-components/styled-components/blob/master/packages/styled-components/src/utils/errors.md#"+r+" for more information."+(o.length>0?" Additional arguments: "+o.join(", "):"")));return L(i)}return O(t,e),t}(Error),z=/^[^\S\n]*?\/\* sc-component-id:\s*(\S+)\s+\*\//gm,W=function(e){var t=""+(e||""),r=[];return t.replace(z,(function(e,t,n){return r.push({componentId:t,matchIndex:n}),e})),r.map((function(e,n){var o=e.componentId,a=e.matchIndex,i=r[n+1];return{componentId:o,cssFromDOM:i?t.slice(a,i.matchIndex):t.slice(a)}}))},G=/^\s*\/\/.*$/gm,Y=new(t())({global:!1,cascade:!0,keyframe:!1,prefix:!1,compress:!1,semicolon:!0}),H=new(t())({global:!1,cascade:!0,keyframe:!1,prefix:!0,compress:!1,semicolon:!1}),q=[],U=function(e){if(-2===e){var t=q;return q=[],t}},V=o()((function(e){q.push(e)})),X=void 0,Z=void 0,J=void 0,K=function(e,t,r){return t>0&&-1!==r.slice(0,t).indexOf(Z)&&r.slice(t-Z.length,t)!==Z?"."+X:e};H.use([function(e,t,r){2===e&&r.length&&r[0].lastIndexOf(Z)>0&&(r[0]=r[0].replace(J,K))},V,U]),Y.use([V,U]);var Q=function(e){return Y("",e)};function ee(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"&",o=e.join("").replace(G,""),a=t&&r?r+" "+t+" { "+o+" }":o;return X=n,Z=t,J=new RegExp("\\"+Z+"\\b","g"),H(r||!t?"":t,a)}var te,re=function(){return r.nc},ne=function(e,t,r){r&&((e[t]||(e[t]=Object.create(null)))[r]=!0)},oe=function(e,t){e[t]=Object.create(null)},ae=function(e){return function(t,r){return void 0!==e[t]&&e[t][r]}},ie=function(e){var t="";for(var r in e)t+=Object.keys(e[r]).join(" ")+" ";return t.trim()},se=function(e){if(e.sheet)return e.sheet;for(var t=e.ownerDocument.styleSheets.length,r=0;r<t;r+=1){var n=e.ownerDocument.styleSheets[r];if(n.ownerNode===e)return n}throw new $(10)},ce=function(e,t,r){if(!t)return!1;var n=e.cssRules.length;try{e.insertRule(t,r<=n?r:n)}catch(e){return!1}return!0},le=function(e){return"\n/* sc-component-id: "+e+" */\n"},ue=function(e,t){for(var r=0,n=0;n<=t;n+=1)r+=e[n];return r},de=function(e,t){return function(r){var n=re();return"<style "+[n&&'nonce="'+n+'"',F+'="'+ie(t)+'"',B+'="4.4.1"',r].filter(Boolean).join(" ")+">"+e()+"</style>"}},pe=function(e,t){return function(){var r,n=((r={})[F]=ie(t),r[B]="4.4.1",r),o=re();return o&&(n.nonce=o),i().createElement("style",I({},n,{dangerouslySetInnerHTML:{__html:e()}}))}},he=function(e){return function(){return Object.keys(e)}},fe=function(e,t){return e.createTextNode(le(t))},me=function e(t,r){var n=void 0===t?Object.create(null):t,o=void 0===r?Object.create(null):r,a=function(e){var t=o[e];return void 0!==t?t:o[e]=[""]},i=function(){var e="";for(var t in o){var r=o[t][0];r&&(e+=le(t)+r)}return e};return{clone:function(){var t=function(e){var t=Object.create(null);for(var r in e)t[r]=I({},e[r]);return t}(n),r=Object.create(null);for(var a in o)r[a]=[o[a][0]];return e(t,r)},css:i,getIds:he(o),hasNameForId:ae(n),insertMarker:a,insertRules:function(e,t,r){a(e)[0]+=t.join(" "),ne(n,e,r)},removeRules:function(e){var t=o[e];void 0!==t&&(t[0]="",oe(n,e))},sealed:!1,styleTag:null,toElement:pe(i,n),toHTML:de(i,n)}},ge=function(e,t,r,n,o){if(D&&!r){var a=function(e,t,r){var n=document;e?n=e.ownerDocument:t&&(n=t.ownerDocument);var o=n.createElement("style");o.setAttribute(F,""),o.setAttribute(B,"4.4.1");var a=re();if(a&&o.setAttribute("nonce",a),o.appendChild(n.createTextNode("")),e&&!t)e.appendChild(o);else{if(!t||!e||!t.parentNode)throw new $(6);t.parentNode.insertBefore(o,r?t:t.nextSibling)}return o}(e,t,n);return M?function(e,t){var r=Object.create(null),n=Object.create(null),o=void 0!==t,a=!1,i=function(t){var o=n[t];return void 0!==o?o:(n[t]=fe(e.ownerDocument,t),e.appendChild(n[t]),r[t]=Object.create(null),n[t])},s=function(){var e="";for(var t in n)e+=n[t].data;return e};return{clone:function(){throw new $(5)},css:s,getIds:he(n),hasNameForId:ae(r),insertMarker:i,insertRules:function(e,n,s){for(var c=i(e),l=[],u=n.length,d=0;d<u;d+=1){var p=n[d],h=o;if(h&&-1!==p.indexOf("@import"))l.push(p);else{h=!1;var f=d===u-1?"":" ";c.appendData(""+p+f)}}ne(r,e,s),o&&l.length>0&&(a=!0,t().insertRules(e+"-import",l))},removeRules:function(i){var s=n[i];if(void 0!==s){var c=fe(e.ownerDocument,i);e.replaceChild(c,s),n[i]=c,oe(r,i),o&&a&&t().removeRules(i+"-import")}},sealed:!1,styleTag:e,toElement:pe(s,r),toHTML:de(s,r)}}(a,o):function(e,t){var r=Object.create(null),n=Object.create(null),o=[],a=void 0!==t,i=!1,s=function(e){var t=n[e];return void 0!==t?t:(n[e]=o.length,o.push(0),oe(r,e),n[e])},c=function(){var t=se(e).cssRules,r="";for(var a in n){r+=le(a);for(var i=n[a],s=ue(o,i),c=s-o[i];c<s;c+=1){var l=t[c];void 0!==l&&(r+=l.cssText)}}return r};return{clone:function(){throw new $(5)},css:c,getIds:he(n),hasNameForId:ae(r),insertMarker:s,insertRules:function(n,c,l){for(var u=s(n),d=se(e),p=ue(o,u),h=0,f=[],m=c.length,g=0;g<m;g+=1){var b=c[g],v=a;v&&-1!==b.indexOf("@import")?f.push(b):ce(d,b,p+h)&&(v=!1,h+=1)}a&&f.length>0&&(i=!0,t().insertRules(n+"-import",f)),o[u]+=h,ne(r,n,l)},removeRules:function(s){var c=n[s];if(void 0!==c&&!1!==e.isConnected){var l=o[c];!function(e,t,r){for(var n=t-r,o=t;o>n;o-=1)e.deleteRule(o)}(se(e),ue(o,c)-1,l),o[c]=0,oe(r,s),a&&i&&t().removeRules(s+"-import")}},sealed:!1,styleTag:e,toElement:pe(c,r),toHTML:de(c,r)}}(a,o)}return me()},be=/\s+/;te=D?M?40:1e3:-1;var ve=0,ye=void 0,xe=function(){function e(){var t=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:D?document.head:null,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];A(this,e),this.getImportRuleTag=function(){var e=t.importRuleTag;if(void 0!==e)return e;var r=t.tags[0];return t.importRuleTag=ge(t.target,r?r.styleTag:null,t.forceServer,!0)},ve+=1,this.id=ve,this.forceServer=n,this.target=n?null:r,this.tagMap={},this.deferred={},this.rehydratedNames={},this.ignoreRehydratedNames={},this.tags=[],this.capacity=1,this.clones=[]}return e.prototype.rehydrate=function(){if(!D||this.forceServer)return this;var e=[],t=[],r=!1,n=document.querySelectorAll("style["+F+"]["+B+'="4.4.1"]'),o=n.length;if(!o)return this;for(var a=0;a<o;a+=1){var i=n[a];r||(r=!!i.getAttribute("data-styled-streamed"));for(var s,c=(i.getAttribute(F)||"").trim().split(be),l=c.length,u=0;u<l;u+=1)s=c[u],this.rehydratedNames[s]=!0;t.push.apply(t,W(i.textContent)),e.push(i)}var d=t.length;if(!d)return this;var p=this.makeTag(null);!function(e,t,r){for(var n=0,o=r.length;n<o;n+=1){var a=r[n],i=a.componentId,s=a.cssFromDOM,c=Q(s);e.insertRules(i,c)}for(var l=0,u=t.length;l<u;l+=1){var d=t[l];d.parentNode&&d.parentNode.removeChild(d)}}(p,e,t),this.capacity=Math.max(1,te-d),this.tags.push(p);for(var h=0;h<d;h+=1)this.tagMap[t[h].componentId]=p;return this},e.reset=function(){ye=new e(void 0,arguments.length>0&&void 0!==arguments[0]&&arguments[0]).rehydrate()},e.prototype.clone=function(){var t=new e(this.target,this.forceServer);return this.clones.push(t),t.tags=this.tags.map((function(e){for(var r=e.getIds(),n=e.clone(),o=0;o<r.length;o+=1)t.tagMap[r[o]]=n;return n})),t.rehydratedNames=I({},this.rehydratedNames),t.deferred=I({},this.deferred),t},e.prototype.sealAllTags=function(){this.capacity=1,this.tags.forEach((function(e){e.sealed=!0}))},e.prototype.makeTag=function(e){var t=e?e.styleTag:null;return ge(this.target,t,this.forceServer,!1,this.getImportRuleTag)},e.prototype.getTagForId=function(e){var t=this.tagMap[e];if(void 0!==t&&!t.sealed)return t;var r=this.tags[this.tags.length-1];return this.capacity-=1,0===this.capacity&&(this.capacity=te,r=this.makeTag(r),this.tags.push(r)),this.tagMap[e]=r},e.prototype.hasId=function(e){return void 0!==this.tagMap[e]},e.prototype.hasNameForId=function(e,t){if(void 0===this.ignoreRehydratedNames[e]&&this.rehydratedNames[t])return!0;var r=this.tagMap[e];return void 0!==r&&r.hasNameForId(e,t)},e.prototype.deferredInject=function(e,t){if(void 0===this.tagMap[e]){for(var r=this.clones,n=0;n<r.length;n+=1)r[n].deferredInject(e,t);this.getTagForId(e).insertMarker(e),this.deferred[e]=t}},e.prototype.inject=function(e,t,r){for(var n=this.clones,o=0;o<n.length;o+=1)n[o].inject(e,t,r);var a=this.getTagForId(e);if(void 0!==this.deferred[e]){var i=this.deferred[e].concat(t);a.insertRules(e,i,r),this.deferred[e]=void 0}else a.insertRules(e,t,r)},e.prototype.remove=function(e){var t=this.tagMap[e];if(void 0!==t){for(var r=this.clones,n=0;n<r.length;n+=1)r[n].remove(e);t.removeRules(e),this.ignoreRehydratedNames[e]=!0,this.deferred[e]=void 0}},e.prototype.toHTML=function(){return this.tags.map((function(e){return e.toHTML()})).join("")},e.prototype.toReactElements=function(){var e=this.id;return this.tags.map((function(t,r){var n="sc-"+e+"-"+r;return(0,a.cloneElement)(t.toElement(),{key:n})}))},S(e,null,[{key:"master",get:function(){return ye||(ye=(new e).rehydrate())}},{key:"instance",get:function(){return e.master}}]),e}(),we=function(){function e(t,r){var n=this;A(this,e),this.inject=function(e){e.hasNameForId(n.id,n.name)||e.inject(n.id,n.rules,n.name)},this.toString=function(){throw new $(12,String(n.name))},this.name=t,this.rules=r,this.id="sc-keyframes-"+t}return e.prototype.getName=function(){return this.name},e}(),ke=/([A-Z])/g,Ce=/^ms-/;function je(e){return e.replace(ke,"-$1").toLowerCase().replace(Ce,"-ms-")}var Ae=function(e){return null==e||!1===e||""===e},Se=function e(t,r){var n=[];return Object.keys(t).forEach((function(r){if(!Ae(t[r])){if(R(t[r]))return n.push.apply(n,e(t[r],r)),n;if(T(t[r]))return n.push(je(r)+":",t[r],";"),n;n.push(je(r)+": "+(o=r,(null==(a=t[r])||"boolean"==typeof a||""===a?"":"number"!=typeof a||0===a||o in s?String(a).trim():a+"px")+";"))}var o,a;return n})),r?[r+" {"].concat(n,["}"]):n};function Ie(e,t,r){if(Array.isArray(e)){for(var n,o=[],a=0,i=e.length;a<i;a+=1)null!==(n=Ie(e[a],t,r))&&(Array.isArray(n)?o.push.apply(o,n):o.push(n));return o}return Ae(e)?null:E(e)?"."+e.styledComponentId:T(e)?"function"!=typeof(s=e)||s.prototype&&s.prototype.isReactComponent||!t?e:Ie(e(t),t,r):e instanceof we?r?(e.inject(r),e.getName()):e:R(e)?Se(e):e.toString();var s}function Oe(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return T(e)||R(e)?Ie(C(_,[e].concat(r))):Ie(C(e,r))}function Le(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:P;if(!(0,c.isValidElementType)(t))throw new $(1,String(t));var n=function(){return e(t,r,Oe.apply(void 0,arguments))};return n.withConfig=function(n){return Le(e,t,I({},r,n))},n.attrs=function(n){return Le(e,t,I({},r,{attrs:Array.prototype.concat(r.attrs,n).filter(Boolean)}))},n}function Re(e){for(var t,r=0|e.length,n=0|r,o=0;r>=4;)t=1540483477*(65535&(t=255&e.charCodeAt(o)|(255&e.charCodeAt(++o))<<8|(255&e.charCodeAt(++o))<<16|(255&e.charCodeAt(++o))<<24))+((1540483477*(t>>>16)&65535)<<16),n=1540483477*(65535&n)+((1540483477*(n>>>16)&65535)<<16)^(t=1540483477*(65535&(t^=t>>>24))+((1540483477*(t>>>16)&65535)<<16)),r-=4,++o;switch(r){case 3:n^=(255&e.charCodeAt(o+2))<<16;case 2:n^=(255&e.charCodeAt(o+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(o)))+((1540483477*(n>>>16)&65535)<<16)}return((n=1540483477*(65535&(n^=n>>>13))+((1540483477*(n>>>16)&65535)<<16))^n>>>15)>>>0}var _e=function(e){return String.fromCharCode(e+(e>25?39:97))};function Pe(e){var t="",r=void 0;for(r=e;r>52;r=Math.floor(r/52))t=_e(r%52)+t;return _e(r%52)+t}function Te(e,t){for(var r=0;r<e.length;r+=1){var n=e[r];if(Array.isArray(n)&&!Te(n,t))return!1;if(T(n)&&!E(n))return!1}return!t.some((function(e){return T(e)||function(e){for(var t in e)if(T(e[t]))return!0;return!1}(e)}))}var Ne,Ee=function(e){return Pe(Re(e))},Fe=function(){function e(t,r,n){A(this,e),this.rules=t,this.isStatic=Te(t,r),this.componentId=n,xe.master.hasId(n)||xe.master.deferredInject(n,[])}return e.prototype.generateAndInjectStyles=function(e,t){var r=this.isStatic,n=this.componentId,o=this.lastClassName;if(D&&r&&"string"==typeof o&&t.hasNameForId(n,o))return o;var a=Ie(this.rules,e,t),i=Ee(this.componentId+a.join(""));return t.hasNameForId(n,i)||t.inject(this.componentId,ee(a,"."+i,void 0,n),i),this.lastClassName=i,i},e.generateName=function(e){return Ee(e)},e}(),Be=/[[\].#*$><+~=|^:(),"'`-]+/g,De=/(^-|-$)/g;function Me(e){return e.replace(Be,"-").replace(De,"")}function ze(e){return"string"==typeof e&&!0}var We={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDerivedStateFromProps:!0,propTypes:!0,type:!0},Ge={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Ye=((Ne={})[c.ForwardRef]={$$typeof:!0,render:!0},Ne),He=Object.defineProperty,qe=Object.getOwnPropertyNames,Ue=Object.getOwnPropertySymbols,Ve=void 0===Ue?function(){return[]}:Ue,Xe=Object.getOwnPropertyDescriptor,Ze=Object.getPrototypeOf,Je=Object.prototype,Ke=Array.prototype;function Qe(e,t,r){if("string"!=typeof t){var n=Ze(t);n&&n!==Je&&Qe(e,n,r);for(var o=Ke.concat(qe(t),Ve(t)),a=Ye[e.$$typeof]||We,i=Ye[t.$$typeof]||We,s=o.length,c=void 0,l=void 0;s--;)if(l=o[s],!(Ge[l]||r&&r[l]||i&&i[l]||a&&a[l])&&(c=Xe(t,l)))try{He(e,l,c)}catch(e){}return e}return e}var et=(0,a.createContext)(),tt=et.Consumer,rt=(function(e){function t(r){A(this,t);var n=L(this,e.call(this,r));return n.getContext=d(n.getContext.bind(n)),n.renderInner=n.renderInner.bind(n),n}O(t,e),t.prototype.render=function(){return this.props.children?i().createElement(et.Consumer,null,this.renderInner):null},t.prototype.renderInner=function(e){var t=this.getContext(this.props.theme,e);return i().createElement(et.Provider,{value:t},this.props.children)},t.prototype.getTheme=function(e,t){if(T(e))return e(t);if(null===e||Array.isArray(e)||"object"!==(void 0===e?"undefined":j(e)))throw new $(8);return I({},t,e)},t.prototype.getContext=function(e,t){return this.getTheme(e,t)}}(a.Component),function(){function e(){A(this,e),this.masterSheet=xe.master,this.instance=this.masterSheet.clone(),this.sealed=!1}e.prototype.seal=function(){if(!this.sealed){var e=this.masterSheet.clones.indexOf(this.instance);this.masterSheet.clones.splice(e,1),this.sealed=!0}},e.prototype.collectStyles=function(e){if(this.sealed)throw new $(2);return i().createElement(ot,{sheet:this.instance},e)},e.prototype.getStyleTags=function(){return this.seal(),this.instance.toHTML()},e.prototype.getStyleElement=function(){return this.seal(),this.instance.toReactElements()},e.prototype.interleaveWithNodeStream=function(e){throw new $(3)}}(),(0,a.createContext)()),nt=rt.Consumer,ot=function(e){function t(r){A(this,t);var n=L(this,e.call(this,r));return n.getContext=d(n.getContext),n}return O(t,e),t.prototype.getContext=function(e,t){if(e)return e;if(t)return new xe(t);throw new $(4)},t.prototype.render=function(){var e=this.props,t=e.children,r=e.sheet,n=e.target;return i().createElement(rt.Provider,{value:this.getContext(r,n)},t)},t}(a.Component),at={},it=function(e){function t(){A(this,t);var r=L(this,e.call(this));return r.attrs={},r.renderOuter=r.renderOuter.bind(r),r.renderInner=r.renderInner.bind(r),r}return O(t,e),t.prototype.render=function(){return i().createElement(nt,null,this.renderOuter)},t.prototype.renderOuter=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:xe.master;return this.styleSheet=e,this.props.forwardedComponent.componentStyle.isStatic?this.renderInner():i().createElement(tt,null,this.renderInner)},t.prototype.renderInner=function(e){var t,r=this.props.forwardedComponent,n=r.componentStyle,o=r.defaultProps,i=(r.displayName,r.foldedComponentIds),s=r.styledComponentId,c=r.target;t=n.isStatic?this.generateAndInjectStyles(P,this.props):this.generateAndInjectStyles(function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:P,n=!!r&&e.theme===r.theme;return e.theme&&!n?e.theme:t||r.theme}(this.props,e,o)||P,this.props);var l=this.props.as||this.attrs.as||c,u=ze(l),d={},p=I({},this.props,this.attrs),f=void 0;for(f in p)"forwardedComponent"!==f&&"as"!==f&&("forwardedRef"===f?d.ref=p[f]:"forwardedAs"===f?d.as=p[f]:u&&!h(f)||(d[f]=p[f]));return this.props.style&&this.attrs.style&&(d.style=I({},this.attrs.style,this.props.style)),d.className=Array.prototype.concat(i,s,t!==s?t:null,this.props.className,this.attrs.className).filter(Boolean).join(" "),(0,a.createElement)(l,d)},t.prototype.buildExecutionContext=function(e,t,r){var n=this,o=I({},t,{theme:e});return r.length?(this.attrs={},r.forEach((function(e){var t,r=e,a=!1,i=void 0,s=void 0;for(s in T(r)&&(r=r(o),a=!0),r)i=r[s],a||!T(i)||(t=i)&&t.prototype&&t.prototype.isReactComponent||E(i)||(i=i(o)),n.attrs[s]=i,o[s]=i})),o):o},t.prototype.generateAndInjectStyles=function(e,t){var r=t.forwardedComponent,n=r.attrs,o=r.componentStyle;return r.warnTooManyClasses,o.isStatic&&!n.length?o.generateAndInjectStyles(P,this.styleSheet):o.generateAndInjectStyles(this.buildExecutionContext(e,t,n),this.styleSheet)},t}(a.Component);function st(e,t,r){var n=E(e),o=!ze(e),a=t.displayName,s=void 0===a?function(e){return ze(e)?"styled."+e:"Styled("+N(e)+")"}(e):a,c=t.componentId,l=void 0===c?function(e,t,r){var n="string"!=typeof t?"sc":Me(t),o=(at[n]||0)+1;at[n]=o;var a=n+"-"+e.generateName(n+o);return r?r+"-"+a:a}(Fe,t.displayName,t.parentComponentId):c,u=t.ParentComponent,d=void 0===u?it:u,p=t.attrs,h=void 0===p?_:p,f=t.displayName&&t.componentId?Me(t.displayName)+"-"+t.componentId:t.componentId||l,m=n&&e.attrs?Array.prototype.concat(e.attrs,h).filter(Boolean):h,g=new Fe(n?e.componentStyle.rules.concat(r):r,m,f),b=void 0,v=function(e,t){return i().createElement(d,I({},e,{forwardedComponent:b,forwardedRef:t}))};return v.displayName=s,(b=i().forwardRef(v)).displayName=s,b.attrs=m,b.componentStyle=g,b.foldedComponentIds=n?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):_,b.styledComponentId=f,b.target=n?e.target:e,b.withComponent=function(e){var n=t.componentId,o=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(t,["componentId"]),a=n&&n+"-"+(ze(e)?e:Me(N(e)));return st(e,I({},o,{attrs:m,componentId:a,ParentComponent:d}),r)},Object.defineProperty(b,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=n?k(e.defaultProps,t):t}}),b.toString=function(){return"."+b.styledComponentId},o&&Qe(b,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,styledComponentId:!0,target:!0,withComponent:!0}),b}var ct=function(e){return Le(st,e)};function lt(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var o=Oe.apply(void 0,[e].concat(r)),a=Pe(Re(JSON.stringify(o).replace(/\s|\\n/g,"")));return new we(a,ee(o,a,"@keyframes"))}["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){ct[e]=ct(e)})),function(){function e(t,r){A(this,e),this.rules=t,this.componentId=r,this.isStatic=Te(t,_),xe.master.hasId(r)||xe.master.deferredInject(r,[])}e.prototype.createStyles=function(e,t){var r=ee(Ie(this.rules,e,t),"");t.inject(this.componentId,r)},e.prototype.removeStyles=function(e){var t=this.componentId;e.hasId(t)&&e.remove(t)},e.prototype.renderStyles=function(e,t){this.removeStyles(t),this.createStyles(e,t)}}(),D&&(window.scCGSHMRCache={});const ut=ct,dt=React.createContext(),pt=(dt.Provider,dt.Consumer,dt);r(452);const{apiFetch:ht}=wp,{__}=wp.i18n;async function ft(e,t=!0,r="template"){return await ht({path:"/agwp-library/v1/mark_favorite",method:"post",data:{id:e,favorite:t,type:r}}).then((e=>e))}const mt=React.createContext(),gt=(mt.Provider,mt.Consumer,{accent:"var(--analog-custom-library-primary)",textLight:"var(--analog-custom-library-sec-text)",textDark:"var(--analog-custom-library-main-text)",lightGray:"#F2F2F2"}),bt=mt;var vt=r(942),yt=r.n(vt);const xt=window.ReactJSXRuntime,wt=()=>(0,xt.jsx)("svg",{width:"10",height:"9",viewBox:"0 0 10 9",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,xt.jsx)("path",{d:"M6.27486 4.5L8.8619 1.95916C9.17937 1.64736 9.17937 1.14184 8.8619 0.829785L8.28695 0.265098C7.96948 -0.0466992 7.45476 -0.0466992 7.13704 0.265098L4.55 2.80594L1.96296 0.265098C1.6455 -0.0466992 1.13078 -0.0466992 0.813054 0.265098L0.238099 0.829785C-0.0793665 1.14158 -0.0793665 1.64711 0.238099 1.95916L2.82514 4.5L0.238099 7.04084C-0.0793665 7.35264 -0.0793665 7.85816 0.238099 8.17021L0.813054 8.7349C1.13052 9.0467 1.6455 9.0467 1.96296 8.7349L4.55 6.19406L7.13704 8.7349C7.4545 9.0467 7.96948 9.0467 8.28695 8.7349L8.8619 8.17021C9.17937 7.85842 9.17937 7.35289 8.8619 7.04084L6.27486 4.5Z"})}),kt=()=>(0,xt.jsx)("svg",{height:"16",width:"12",viewBox:"0 0 12 16",children:(0,xt.jsx)("path",{fillRule:"evenodd",d:"M5.05.01c.81 2.17.41 3.38-.52 4.31C3.55 5.37 1.98 6.15.9 7.68c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.01 8.68 2.15 5.05.02L5.03 0l.02.01z"})}),Ct=()=>(0,xt.jsx)("svg",{height:"16",width:"16",viewBox:"0 0 16 16",children:(0,xt.jsx)("path",{fillRule:"evenodd",d:"M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"})}),jt=()=>(0,xt.jsx)("svg",{height:"16",width:"12",viewBox:"0 0 12 16",children:(0,xt.jsx)("path",{fillRule:"evenodd",d:"M12 5.5l-8 8-4-4L1.5 8 4 10.5 10.5 4 12 5.5z"})}),At=({text:e="No templates found.",...t})=>(0,xt.jsx)("div",{className:"empty-container",...t,children:(0,xt.jsx)("p",{children:e})});function St(){return St=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},St.apply(this,arguments)}function It(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ot(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?It(Object(r),!0).forEach((function(t){Lt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):It(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Lt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class Rt extends i().Component{constructor(e){let t;super(e),this.reCalculateColumnCount=this.reCalculateColumnCount.bind(this),this.reCalculateColumnCountDebounce=this.reCalculateColumnCountDebounce.bind(this),t=this.props.breakpointCols&&this.props.breakpointCols.default?this.props.breakpointCols.default:parseInt(this.props.breakpointCols)||2,this.state={columnCount:t}}componentDidMount(){this.reCalculateColumnCount(),window&&window.addEventListener("resize",this.reCalculateColumnCountDebounce)}componentDidUpdate(){this.reCalculateColumnCount()}componentWillUnmount(){window&&window.removeEventListener("resize",this.reCalculateColumnCountDebounce)}reCalculateColumnCountDebounce(){window&&window.requestAnimationFrame?(window.cancelAnimationFrame&&window.cancelAnimationFrame(this._lastRecalculateAnimationFrame),this._lastRecalculateAnimationFrame=window.requestAnimationFrame((()=>{this.reCalculateColumnCount()}))):this.reCalculateColumnCount()}reCalculateColumnCount(){const e=window&&window.innerWidth||1/0;let t=this.props.breakpointCols;"object"!=typeof t&&(t={default:parseInt(t)||2});let r=1/0,n=t.default||2;for(let o in t){const a=parseInt(o);a>0&&e<=a&&a<r&&(r=a,n=t[o])}n=Math.max(1,parseInt(n)||1),this.state.columnCount!==n&&this.setState({columnCount:n})}itemsInColumns(){const e=this.state.columnCount,t=new Array(e),r=i().Children.toArray(this.props.children);for(let n=0;n<r.length;n++){const o=n%e;t[o]||(t[o]=[]),t[o].push(r[n])}return t}renderColumns(){const{column:e,columnAttrs:t={},columnClassName:r}=this.props,n=this.itemsInColumns(),o=100/n.length+"%";let a=r;a&&"string"!=typeof a&&(this.logDeprecated('The property "columnClassName" requires a string'),void 0===a&&(a="my-masonry-grid_column"));const s=Ot(Ot(Ot({},e),t),{},{style:Ot(Ot({},t.style),{},{width:o}),className:a});return n.map(((e,t)=>i().createElement("div",St({},s,{key:t}),e)))}logDeprecated(e){console.error("[Masonry]",e)}render(){const e=this.props,{children:t,breakpointCols:r,columnClassName:n,columnAttrs:o,column:a,className:s}=e,c=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["children","breakpointCols","columnClassName","columnAttrs","column","className"]);let l=s;return"string"!=typeof s&&(this.logDeprecated('The property "className" requires a string'),void 0===s&&(l="my-masonry-grid")),i().createElement("div",St({},c,{className:l}),this.renderColumns())}}Rt.defaultProps={breakpointCols:void 0,className:void 0,columnClassName:void 0,children:void 0,columnAttrs:void 0,column:void 0};const _t=Rt,Pt=()=>(0,xt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:(0,xt.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.48 3.499a.562.562 0 0 1 1.04 0l2.125 5.111a.563.563 0 0 0 .475.345l5.518.442c.499.04.701.663.321.988l-4.204 3.602a.563.563 0 0 0-.182.557l1.285 5.385a.562.562 0 0 1-.84.61l-4.725-2.885a.562.562 0 0 0-.586 0L6.982 20.54a.562.562 0 0 1-.84-.61l1.285-5.386a.562.562 0 0 0-.182-.557l-4.204-3.602a.562.562 0 0 1 .321-.988l5.518-.442a.563.563 0 0 0 .475-.345L11.48 3.5Z"})}),{Card:Tt,CardBody:Nt,CardDivider:Et,CardHeader:Ft}=wp.components,Bt=e=>{const{title:t,onRequestClose:r,children:n,...o}=e;return(0,xt.jsx)("div",{className:"popup-container",...o,children:(0,xt.jsx)("div",{className:"inner",children:(0,xt.jsxs)(Tt,{children:[(0,xt.jsx)(Ft,{children:(0,xt.jsxs)("div",{className:"inner-popup-header",children:[(0,xt.jsx)("h1",{children:t}),r&&(0,xt.jsx)("button",{className:"button-plain",onClick:()=>r(),children:(0,xt.jsx)(wt,{})})]})}),(0,xt.jsx)(Et,{}),(0,xt.jsx)(Nt,{children:(0,xt.jsx)("div",{className:"inner-popup-content",children:n})})]})})})},Dt=()=>(0,xt.jsxs)("div",{className:"animation-loader",children:[(0,xt.jsx)("div",{}),(0,xt.jsx)("div",{}),(0,xt.jsx)("div",{}),(0,xt.jsx)("div",{})]}),Mt=()=>(0,xt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:(0,xt.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5M16.5 12 12 16.5m0 0L7.5 12m4.5 4.5V3"})}),$t=()=>(0,xt.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:[(0,xt.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z"}),(0,xt.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"})]}),zt=()=>(0,xt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:(0,xt.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L6.832 19.82a4.5 4.5 0 0 1-1.897 1.13l-2.685.8.8-2.685a4.5 4.5 0 0 1 1.13-1.897L16.863 4.487Zm0 0L19.5 7.125"})}),Wt=()=>(0,xt.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"icon icon-tabler icons-tabler-outline icon-tabler-world",children:[(0,xt.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,xt.jsx)("path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0"}),(0,xt.jsx)("path",{d:"M3.6 9h16.8"}),(0,xt.jsx)("path",{d:"M3.6 15h16.8"}),(0,xt.jsx)("path",{d:"M11.5 3a17 17 0 0 0 0 18"}),(0,xt.jsx)("path",{d:"M12.5 3a17 17 0 0 1 0 18"})]}),{decodeEntities:Gt}=wp.htmlEntities,{__:Yt,sprintf:Ht}=wp.i18n,{Dashicon:qt,Button:Ut,Card:Vt,CardBody:Xt}=wp.components,{addQueryArgs:Zt}=wp.url,Jt=lt`1 (()=>{var e={452:e=>{var t=function(e){"use strict";var t,r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var a=t&&t.prototype instanceof b?t:b,i=Object.create(a.prototype),s=new R(n||[]);return o(i,"_invoke",{value:S(e,r,s)}),i}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var d="suspendedStart",h="suspendedYield",f="executing",m="completed",g={};function b(){}function v(){}function y(){}var x={};l(x,i,(function(){return this}));var w=Object.getPrototypeOf,k=w&&w(w(L([])));k&&k!==r&&n.call(k,i)&&(x=k);var C=y.prototype=b.prototype=Object.create(x);function j(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function A(e,t){function r(o,a,i,s){var c=p(e[o],e,a);if("throw"!==c.type){var l=c.arg,u=l.value;return u&&"object"==typeof u&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,i,s)}),(function(e){r("throw",e,i,s)})):t.resolve(u).then((function(e){l.value=e,i(l)}),(function(e){return r("throw",e,i,s)}))}s(c.arg)}var a;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function S(e,r,n){var o=d;return function(a,i){if(o===f)throw new Error("Generator is already running");if(o===m){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var s=n.delegate;if(s){var c=I(s,n);if(c){if(c===g)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=f;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?m:h,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function I(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,I(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var a=p(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,g;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function O(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 _(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function R(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function L(e){if(null!=e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return v.prototype=y,o(C,"constructor",{value:y,configurable:!0}),o(y,"constructor",{value:v,configurable:!0}),v.displayName=l(y,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,l(e,c,"GeneratorFunction")),e.prototype=Object.create(C),e},e.awrap=function(e){return{__await:e}},j(A.prototype),l(A.prototype,s,(function(){return this})),e.AsyncIterator=A,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new A(u(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},j(C),l(C,c,"Generator"),l(C,i,(function(){return this})),l(C,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=L,R.prototype={constructor:R,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(_),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return s.type="throw",s.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,g):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),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),_(r),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:L(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}},967:(e,t)=>{"use strict";var r="function"==typeof Symbol&&Symbol.for,n=(r&&Symbol.for("react.element"),r&&Symbol.for("react.portal"),r?Symbol.for("react.fragment"):60107),o=r?Symbol.for("react.strict_mode"):60108,a=r?Symbol.for("react.profiler"):60114,i=r?Symbol.for("react.provider"):60109,s=r?Symbol.for("react.context"):60110,c=(r&&Symbol.for("react.async_mode"),r?Symbol.for("react.concurrent_mode"):60111),l=r?Symbol.for("react.forward_ref"):60112,u=r?Symbol.for("react.suspense"):60113,p=r?Symbol.for("react.suspense_list"):60120,d=r?Symbol.for("react.memo"):60115,h=r?Symbol.for("react.lazy"):60116,f=r?Symbol.for("react.block"):60121,m=r?Symbol.for("react.fundamental"):60117,g=r?Symbol.for("react.responder"):60118,b=r?Symbol.for("react.scope"):60119;t.ForwardRef=l,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===c||e===a||e===o||e===u||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===d||e.$$typeof===i||e.$$typeof===s||e.$$typeof===l||e.$$typeof===m||e.$$typeof===g||e.$$typeof===b||e.$$typeof===f)}},467:(e,t,r)=>{"use strict";e.exports=r(967)},162:e=>{e.exports=function(){"use strict";return function(e){var t="/*|*/",r=t+"}";function n(t){if(t)try{e(t+"}")}catch(e){}}return function(o,a,i,s,c,l,u,p,d,h){switch(o){case 1:if(0===d&&64===a.charCodeAt(0))return e(a+";"),"";break;case 2:if(0===p)return a+t;break;case 3:switch(p){case 102:case 112:return e(i[0]+a),"";default:return a+(0===h?t:"")}case-2:a.split(r).forEach(n)}}}}()},79:e=>{e.exports=function e(t){"use strict";var r=/^\0+/g,n=/[\0\r\f]/g,o=/: */g,a=/zoo|gra/,i=/([,: ])(transform)/g,s=/,+\s*(?![^(]*[)])/g,c=/ +\s*(?![^(]*[)])/g,l=/ *[\0] */g,u=/,\r+?/g,p=/([\t\r\n ])*\f?&/g,d=/:global\(((?:[^\(\)\[\]]*|\[.*\]|\([^\(\)]*\))*)\)/g,h=/\W+/g,f=/@(k\w+)\s*(\S*)\s*/,m=/::(place)/g,g=/:(read-only)/g,b=/\s+(?=[{\];=:>])/g,v=/([[}=:>])\s+/g,y=/(\{[^{]+?);(?=\})/g,x=/\s{2,}/g,w=/([^\(])(:+) */g,k=/[svh]\w+-[tblr]{2}/,C=/\(\s*(.*)\s*\)/g,j=/([\s\S]*?);/g,A=/-self|flex-/g,S=/[^]*?(:[rp][el]a[\w-]+)[^]*/,I=/stretch|:\s*\w+\-(?:conte|avail)/,O=/([^-])(image-set\()/,_="-webkit-",R="-moz-",L="-ms-",P=59,N=125,T=123,E=40,F=41,M=10,B=13,D=32,$=45,z=42,W=44,G=58,Y=47,H=126,q=107,U=1,V=1,X=0,Z=1,J=1,K=1,Q=0,ee=0,te=0,re=[],ne=[],oe=0,ae=null,ie=0,se=1,ce="",le="",ue="";function pe(e,t,o,a,i){for(var s,c,u=0,p=0,d=0,h=0,b=0,v=0,y=0,x=0,k=0,j=0,A=0,S=0,I=0,O=0,R=0,L=0,Q=0,ne=0,ae=0,he=o.length,ye=he-1,xe="",we="",ke="",Ce="",je="",Ae="";R<he;){if(y=o.charCodeAt(R),R===ye&&p+h+d+u!==0&&(0!==p&&(y=p===Y?M:Y),h=d=u=0,he++,ye++),p+h+d+u===0){if(R===ye&&(L>0&&(we=we.replace(n,"")),we.trim().length>0)){switch(y){case D:case 9:case P:case B:case M:break;default:we+=o.charAt(R)}y=P}if(1===Q)switch(y){case T:case N:case P:case 34:case 39:case E:case F:case W:Q=0;case 9:case B:case M:case D:break;default:for(Q=0,ae=R,b=y,R--,y=P;ae<he;)switch(o.charCodeAt(ae++)){case M:case B:case P:++R,y=b,ae=he;break;case G:L>0&&(++R,y=b);case T:ae=he}}switch(y){case T:for(b=(we=we.trim()).charCodeAt(0),A=1,ae=++R;R<he;){switch(y=o.charCodeAt(R)){case T:A++;break;case N:A--;break;case Y:switch(v=o.charCodeAt(R+1)){case z:case Y:R=ve(v,R,ye,o)}break;case 91:y++;case E:y++;case 34:case 39:for(;R++<ye&&o.charCodeAt(R)!==y;);}if(0===A)break;R++}if(ke=o.substring(ae,R),0===b&&(b=(we=we.replace(r,"").trim()).charCodeAt(0)),64===b){switch(L>0&&(we=we.replace(n,"")),v=we.charCodeAt(1)){case 100:case 109:case 115:case $:s=t;break;default:s=re}if(ae=(ke=pe(t,s,ke,v,i+1)).length,te>0&&0===ae&&(ae=we.length),oe>0&&(c=be(3,ke,s=de(re,we,ne),t,V,U,ae,v,i,a),we=s.join(""),void 0!==c&&0===(ae=(ke=c.trim()).length)&&(v=0,ke="")),ae>0)switch(v){case 115:we=we.replace(C,ge);case 100:case 109:case $:ke=we+"{"+ke+"}";break;case q:ke=(we=we.replace(f,"$1 $2"+(se>0?ce:"")))+"{"+ke+"}",ke=1===J||2===J&&me("@"+ke,3)?"@"+_+ke+"@"+ke:"@"+ke;break;default:ke=we+ke,112===a&&(Ce+=ke,ke="")}else ke=""}else ke=pe(t,de(t,we,ne),ke,a,i+1);je+=ke,S=0,Q=0,O=0,L=0,ne=0,I=0,we="",ke="",y=o.charCodeAt(++R);break;case N:case P:if((ae=(we=(L>0?we.replace(n,""):we).trim()).length)>1)switch(0===O&&((b=we.charCodeAt(0))===$||b>96&&b<123)&&(ae=(we=we.replace(" ",":")).length),oe>0&&void 0!==(c=be(1,we,t,e,V,U,Ce.length,a,i,a))&&0===(ae=(we=c.trim()).length)&&(we="\0\0"),b=we.charCodeAt(0),v=we.charCodeAt(1),b){case 0:break;case 64:if(105===v||99===v){Ae+=we+o.charAt(R);break}default:if(we.charCodeAt(ae-1)===G)break;Ce+=fe(we,b,v,we.charCodeAt(2))}S=0,Q=0,O=0,L=0,ne=0,we="",y=o.charCodeAt(++R)}}switch(y){case B:case M:if(p+h+d+u+ee===0)switch(j){case F:case 39:case 34:case 64:case H:case 62:case z:case 43:case Y:case $:case G:case W:case P:case T:case N:break;default:O>0&&(Q=1)}p===Y?p=0:Z+S===0&&a!==q&&we.length>0&&(L=1,we+="\0"),oe*ie>0&&be(0,we,t,e,V,U,Ce.length,a,i,a),U=1,V++;break;case P:case N:if(p+h+d+u===0){U++;break}default:switch(U++,xe=o.charAt(R),y){case 9:case D:if(h+u+p===0)switch(x){case W:case G:case 9:case D:xe="";break;default:y!==D&&(xe=" ")}break;case 0:xe="\\0";break;case 12:xe="\\f";break;case 11:xe="\\v";break;case 38:h+p+u===0&&Z>0&&(ne=1,L=1,xe="\f"+xe);break;case 108:if(h+p+u+X===0&&O>0)switch(R-O){case 2:112===x&&o.charCodeAt(R-3)===G&&(X=x);case 8:111===k&&(X=k)}break;case G:h+p+u===0&&(O=R);break;case W:p+d+h+u===0&&(L=1,xe+="\r");break;case 34:case 39:0===p&&(h=h===y?0:0===h?y:h);break;case 91:h+p+d===0&&u++;break;case 93:h+p+d===0&&u--;break;case F:h+p+u===0&&d--;break;case E:h+p+u===0&&(0===S&&(2*x+3*k==533||(A=0,S=1)),d++);break;case 64:p+d+h+u+O+I===0&&(I=1);break;case z:case Y:if(h+u+d>0)break;switch(p){case 0:switch(2*y+3*o.charCodeAt(R+1)){case 235:p=Y;break;case 220:ae=R,p=z}break;case z:y===Y&&x===z&&ae+2!==R&&(33===o.charCodeAt(ae+2)&&(Ce+=o.substring(ae,R+1)),xe="",p=0)}}if(0===p){if(Z+h+u+I===0&&a!==q&&y!==P)switch(y){case W:case H:case 62:case 43:case F:case E:if(0===S){switch(x){case 9:case D:case M:case B:xe+="\0";break;default:xe="\0"+xe+(y===W?"":"\0")}L=1}else switch(y){case E:O+7===R&&108===x&&(O=0),S=++A;break;case F:0==(S=--A)&&(L=1,xe+="\0")}break;case 9:case D:switch(x){case 0:case T:case N:case P:case W:case 12:case 9:case D:case M:case B:break;default:0===S&&(L=1,xe+="\0")}}we+=xe,y!==D&&9!==y&&(j=y)}}k=x,x=y,R++}if(ae=Ce.length,te>0&&0===ae&&0===je.length&&0===t[0].length==0&&(109!==a||1===t.length&&(Z>0?le:ue)===t[0])&&(ae=t.join(",").length+2),ae>0){if(s=0===Z&&a!==q?function(e){for(var t,r,o=0,a=e.length,i=Array(a);o<a;++o){for(var s=e[o].split(l),c="",u=0,p=0,d=0,h=0,f=s.length;u<f;++u)if(!(0===(p=(r=s[u]).length)&&f>1)){if(d=c.charCodeAt(c.length-1),h=r.charCodeAt(0),t="",0!==u)switch(d){case z:case H:case 62:case 43:case D:case E:break;default:t=" "}switch(h){case 38:r=t+le;case H:case 62:case 43:case D:case F:case E:break;case 91:r=t+r+le;break;case G:switch(2*r.charCodeAt(1)+3*r.charCodeAt(2)){case 530:if(K>0){r=t+r.substring(8,p-1);break}default:(u<1||s[u-1].length<1)&&(r=t+le+r)}break;case W:t="";default:r=p>1&&r.indexOf(":")>0?t+r.replace(w,"$1"+le+"$2"):t+r+le}c+=r}i[o]=c.replace(n,"").trim()}return i}(t):t,oe>0&&void 0!==(c=be(2,Ce,s,e,V,U,ae,a,i,a))&&0===(Ce=c).length)return Ae+Ce+je;if(Ce=s.join(",")+"{"+Ce+"}",J*X!=0){switch(2!==J||me(Ce,2)||(X=0),X){case 111:Ce=Ce.replace(g,":-moz-$1")+Ce;break;case 112:Ce=Ce.replace(m,"::"+_+"input-$1")+Ce.replace(m,"::-moz-$1")+Ce.replace(m,":-ms-input-$1")+Ce}X=0}}return Ae+Ce+je}function de(e,t,r){var n=t.trim().split(u),o=n,a=n.length,i=e.length;switch(i){case 0:case 1:for(var s=0,c=0===i?"":e[0]+" ";s<a;++s)o[s]=he(c,o[s],r,i).trim();break;default:s=0;var l=0;for(o=[];s<a;++s)for(var p=0;p<i;++p)o[l++]=he(e[p]+" ",n[s],r,i).trim()}return o}function he(e,t,r,n){var o=t,a=o.charCodeAt(0);switch(a<33&&(a=(o=o.trim()).charCodeAt(0)),a){case 38:switch(Z+n){case 0:case 1:if(0===e.trim().length)break;default:return o.replace(p,"$1"+e.trim())}break;case G:if(103!==o.charCodeAt(1))return e.trim()+o.replace(p,"$1"+e.trim());if(K>0&&Z>0)return o.replace(d,"$1").replace(p,"$1"+ue);default:if(r*Z>0&&o.indexOf("\f")>0)return o.replace(p,(e.charCodeAt(0)===G?"":"$1")+e.trim())}return e+o}function fe(e,t,r,n){var l,u=0,p=e+";",d=2*t+3*r+4*n;if(944===d)return function(e){var t=e.length,r=e.indexOf(":",9)+1,n=e.substring(0,r).trim(),o=e.substring(r,t-1).trim();switch(e.charCodeAt(9)*se){case 0:break;case $:if(110!==e.charCodeAt(10))break;default:var a=o.split((o="",s)),i=0;for(r=0,t=a.length;i<t;r=0,++i){for(var l=a[i],u=l.split(c);l=u[r];){var p=l.charCodeAt(0);if(1===se&&(p>64&&p<90||p>96&&p<123||95===p||p===$&&l.charCodeAt(1)!==$)&&isNaN(parseFloat(l))+(-1!==l.indexOf("("))===1)switch(l){case"infinite":case"alternate":case"backwards":case"running":case"normal":case"forwards":case"both":case"none":case"linear":case"ease":case"ease-in":case"ease-out":case"ease-in-out":case"paused":case"reverse":case"alternate-reverse":case"inherit":case"initial":case"unset":case"step-start":case"step-end":break;default:l+=ce}u[r++]=l}o+=(0===i?"":",")+u.join(" ")}}return o=n+o+";",1===J||2===J&&me(o,1)?_+o+o:o}(p);if(0===J||2===J&&!me(p,1))return p;switch(d){case 1015:return 97===p.charCodeAt(10)?_+p+p:p;case 951:return 116===p.charCodeAt(3)?_+p+p:p;case 963:return 110===p.charCodeAt(5)?_+p+p:p;case 1009:if(100!==p.charCodeAt(4))break;case 969:case 942:return _+p+p;case 978:return _+p+R+p+p;case 1019:case 983:return _+p+R+p+L+p+p;case 883:return p.charCodeAt(8)===$?_+p+p:p.indexOf("image-set(",11)>0?p.replace(O,"$1"+_+"$2")+p:p;case 932:if(p.charCodeAt(4)===$)switch(p.charCodeAt(5)){case 103:return _+"box-"+p.replace("-grow","")+_+p+L+p.replace("grow","positive")+p;case 115:return _+p+L+p.replace("shrink","negative")+p;case 98:return _+p+L+p.replace("basis","preferred-size")+p}return _+p+L+p+p;case 964:return _+p+L+"flex-"+p+p;case 1023:if(99!==p.charCodeAt(8))break;return l=p.substring(p.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),_+"box-pack"+l+_+p+L+"flex-pack"+l+p;case 1005:return a.test(p)?p.replace(o,":"+_)+p.replace(o,":"+R)+p:p;case 1e3:switch(u=(l=p.substring(13).trim()).indexOf("-")+1,l.charCodeAt(0)+l.charCodeAt(u)){case 226:l=p.replace(k,"tb");break;case 232:l=p.replace(k,"tb-rl");break;case 220:l=p.replace(k,"lr");break;default:return p}return _+p+L+l+p;case 1017:if(-1===p.indexOf("sticky",9))return p;case 975:switch(u=(p=e).length-10,d=(l=(33===p.charCodeAt(u)?p.substring(0,u):p).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|l.charCodeAt(7))){case 203:if(l.charCodeAt(8)<111)break;case 115:p=p.replace(l,_+l)+";"+p;break;case 207:case 102:p=p.replace(l,_+(d>102?"inline-":"")+"box")+";"+p.replace(l,_+l)+";"+p.replace(l,L+l+"box")+";"+p}return p+";";case 938:if(p.charCodeAt(5)===$)switch(p.charCodeAt(6)){case 105:return l=p.replace("-items",""),_+p+_+"box-"+l+L+"flex-"+l+p;case 115:return _+p+L+"flex-item-"+p.replace(A,"")+p;default:return _+p+L+"flex-line-pack"+p.replace("align-content","").replace(A,"")+p}break;case 973:case 989:if(p.charCodeAt(3)!==$||122===p.charCodeAt(4))break;case 931:case 953:if(!0===I.test(e))return 115===(l=e.substring(e.indexOf(":")+1)).charCodeAt(0)?fe(e.replace("stretch","fill-available"),t,r,n).replace(":fill-available",":stretch"):p.replace(l,_+l)+p.replace(l,R+l.replace("fill-",""))+p;break;case 962:if(p=_+p+(102===p.charCodeAt(5)?L+p:"")+p,r+n===211&&105===p.charCodeAt(13)&&p.indexOf("transform",10)>0)return p.substring(0,p.indexOf(";",27)+1).replace(i,"$1"+_+"$2")+p}return p}function me(e,t){var r=e.indexOf(1===t?":":"{"),n=e.substring(0,3!==t?r:10),o=e.substring(r+1,e.length-1);return ae(2!==t?n:n.replace(S,"$1"),o,t)}function ge(e,t){var r=fe(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return r!==t+";"?r.replace(j," or ($1)").substring(4):"("+t+")"}function be(e,t,r,n,o,a,i,s,c,l){for(var u,p=0,d=t;p<oe;++p)switch(u=ne[p].call(xe,e,d,r,n,o,a,i,s,c,l)){case void 0:case!1:case!0:case null:break;default:d=u}if(d!==t)return d}function ve(e,t,r,n){for(var o=t+1;o<r;++o)switch(n.charCodeAt(o)){case Y:if(e===z&&n.charCodeAt(o-1)===z&&t+2!==o)return o+1;break;case M:if(e===Y)return o+1}return o}function ye(e){for(var t in e){var r=e[t];switch(t){case"keyframe":se=0|r;break;case"global":K=0|r;break;case"cascade":Z=0|r;break;case"compress":Q=0|r;break;case"semicolon":ee=0|r;break;case"preserve":te=0|r;break;case"prefix":ae=null,r?"function"!=typeof r?J=1:(J=2,ae=r):J=0}}return ye}function xe(t,r){if(void 0!==this&&this.constructor===xe)return e(t);var o=t,a=o.charCodeAt(0);a<33&&(a=(o=o.trim()).charCodeAt(0)),se>0&&(ce=o.replace(h,91===a?"":"-")),a=1,1===Z?ue=o:le=o;var i,s=[ue];oe>0&&void 0!==(i=be(-1,r,s,s,V,U,0,0,0,0))&&"string"==typeof i&&(r=i);var c=pe(re,s,r,0,0);return oe>0&&void 0!==(i=be(-2,c,s,s,V,U,c.length,0,0,0))&&"string"!=typeof(c=i)&&(a=0),ce="",ue="",le="",X=0,V=1,U=1,Q*a==0?c:c.replace(n,"").replace(b,"").replace(v,"$1").replace(y,"$1").replace(x," ")}return xe.use=function e(t){switch(t){case void 0:case null:oe=ne.length=0;break;default:if("function"==typeof t)ne[oe++]=t;else if("object"==typeof t)for(var r=0,n=t.length;r<n;++r)e(t[r]);else ie=0|!!t}return e},xe.set=ye,void 0!==t&&ye(t),xe}(null)},942:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];r&&(e=i(e,a(r)))}return e}function a(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var r in e)n.call(e,r)&&e[r]&&(t=i(t,r));return t}function i(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.nc=void 0,(()=>{"use strict";var e=r(79),t=r.n(e),n=r(162),o=r.n(n);const a=window.React;var i=r.n(a);const s={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var c=r(467),l=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function u(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(!((n=e[r])===(o=t[r])||l(n)&&l(o)))return!1;var n,o;return!0}const p=function(e,t){var r;void 0===t&&(t=u);var n,o=[],a=!1;return function(){for(var i=[],s=0;s<arguments.length;s++)i[s]=arguments[s];return a&&r===this&&t(i,o)||(n=e.apply(this,i),a=!0,r=this,o=i),n}};var d=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/;const h=(f={},function(e){return void 0===f[e]&&(f[e]=(t=e,d.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)<91)),f[e];var t});var f;function m(e){return Object.prototype.toString.call(e).slice(8,-1)}function g(e){return"Object"===m(e)&&e.constructor===Object&&Object.getPrototypeOf(e)===Object.prototype}function b(e){return"Array"===m(e)}function v(e){return"Symbol"===m(e)}function y(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),o=0;for(t=0;t<r;t++)for(var a=arguments[t],i=0,s=a.length;i<s;i++,o++)n[o]=a[i];return n}function x(e,t,r,n){var o=n.propertyIsEnumerable(t)?"enumerable":"nonenumerable";"enumerable"===o&&(e[t]=r),"nonenumerable"===o&&Object.defineProperty(e,t,{value:r,enumerable:!1,writable:!0,configurable:!0})}function w(e,t,r){if(!g(t))return r&&b(r)&&r.forEach((function(r){t=r(e,t)})),t;var n={};return g(e)&&(n=y(Object.getOwnPropertyNames(e),Object.getOwnPropertySymbols(e)).reduce((function(r,n){var o=e[n];return(!v(n)&&!Object.getOwnPropertyNames(t).includes(n)||v(n)&&!Object.getOwnPropertySymbols(t).includes(n))&&x(r,n,o,e),r}),{})),y(Object.getOwnPropertyNames(t),Object.getOwnPropertySymbols(t)).reduce((function(n,o){var a=t[o],i=g(e)?e[o]:void 0;return r&&b(r)&&r.forEach((function(e){a=e(i,a)})),void 0!==i&&g(a)&&(a=w(i,a,r)),x(n,o,a,t),n}),n)}const k=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=null,o=e;return g(e)&&e.extensions&&1===Object.keys(e).length&&(o={},n=e.extensions),t.reduce((function(e,t){return w(e,t,n)}),o)};var C=function(e,t){for(var r=[e[0]],n=0,o=t.length;n<o;n+=1)r.push(t[n],e[n+1]);return r},j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},A=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},S=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),I=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},O=function(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)},_=function(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},R=function(e){return"object"===(void 0===e?"undefined":j(e))&&e.constructor===Object},L=Object.freeze([]),P=Object.freeze({});function N(e){return"function"==typeof e}function T(e){return e.displayName||e.name||"Component"}function E(e){return e&&"string"==typeof e.styledComponentId}var F="undefined"!=typeof process&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",M="data-styled-version",B="undefined"!=typeof window&&"HTMLElement"in window,D="boolean"==typeof SC_DISABLE_SPEEDY&&SC_DISABLE_SPEEDY||"undefined"!=typeof process&&(process.env.REACT_APP_SC_DISABLE_SPEEDY||process.env.SC_DISABLE_SPEEDY)||!1,$=function(e){function t(r){A(this,t);for(var n=arguments.length,o=Array(n>1?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a];var i=_(this,e.call(this,"An error occurred. See https://github.com/styled-components/styled-components/blob/master/packages/styled-components/src/utils/errors.md#"+r+" for more information."+(o.length>0?" Additional arguments: "+o.join(", "):"")));return _(i)}return O(t,e),t}(Error),z=/^[^\S\n]*?\/\* sc-component-id:\s*(\S+)\s+\*\//gm,W=function(e){var t=""+(e||""),r=[];return t.replace(z,(function(e,t,n){return r.push({componentId:t,matchIndex:n}),e})),r.map((function(e,n){var o=e.componentId,a=e.matchIndex,i=r[n+1];return{componentId:o,cssFromDOM:i?t.slice(a,i.matchIndex):t.slice(a)}}))},G=/^\s*\/\/.*$/gm,Y=new(t())({global:!1,cascade:!0,keyframe:!1,prefix:!1,compress:!1,semicolon:!0}),H=new(t())({global:!1,cascade:!0,keyframe:!1,prefix:!0,compress:!1,semicolon:!1}),q=[],U=function(e){if(-2===e){var t=q;return q=[],t}},V=o()((function(e){q.push(e)})),X=void 0,Z=void 0,J=void 0,K=function(e,t,r){return t>0&&-1!==r.slice(0,t).indexOf(Z)&&r.slice(t-Z.length,t)!==Z?"."+X:e};H.use([function(e,t,r){2===e&&r.length&&r[0].lastIndexOf(Z)>0&&(r[0]=r[0].replace(J,K))},V,U]),Y.use([V,U]);var Q=function(e){return Y("",e)};function ee(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"&",o=e.join("").replace(G,""),a=t&&r?r+" "+t+" { "+o+" }":o;return X=n,Z=t,J=new RegExp("\\"+Z+"\\b","g"),H(r||!t?"":t,a)}var te,re=function(){return r.nc},ne=function(e,t,r){r&&((e[t]||(e[t]=Object.create(null)))[r]=!0)},oe=function(e,t){e[t]=Object.create(null)},ae=function(e){return function(t,r){return void 0!==e[t]&&e[t][r]}},ie=function(e){var t="";for(var r in e)t+=Object.keys(e[r]).join(" ")+" ";return t.trim()},se=function(e){if(e.sheet)return e.sheet;for(var t=e.ownerDocument.styleSheets.length,r=0;r<t;r+=1){var n=e.ownerDocument.styleSheets[r];if(n.ownerNode===e)return n}throw new $(10)},ce=function(e,t,r){if(!t)return!1;var n=e.cssRules.length;try{e.insertRule(t,r<=n?r:n)}catch(e){return!1}return!0},le=function(e){return"\n/* sc-component-id: "+e+" */\n"},ue=function(e,t){for(var r=0,n=0;n<=t;n+=1)r+=e[n];return r},pe=function(e,t){return function(r){var n=re();return"<style "+[n&&'nonce="'+n+'"',F+'="'+ie(t)+'"',M+'="4.4.1"',r].filter(Boolean).join(" ")+">"+e()+"</style>"}},de=function(e,t){return function(){var r,n=((r={})[F]=ie(t),r[M]="4.4.1",r),o=re();return o&&(n.nonce=o),i().createElement("style",I({},n,{dangerouslySetInnerHTML:{__html:e()}}))}},he=function(e){return function(){return Object.keys(e)}},fe=function(e,t){return e.createTextNode(le(t))},me=function e(t,r){var n=void 0===t?Object.create(null):t,o=void 0===r?Object.create(null):r,a=function(e){var t=o[e];return void 0!==t?t:o[e]=[""]},i=function(){var e="";for(var t in o){var r=o[t][0];r&&(e+=le(t)+r)}return e};return{clone:function(){var t=function(e){var t=Object.create(null);for(var r in e)t[r]=I({},e[r]);return t}(n),r=Object.create(null);for(var a in o)r[a]=[o[a][0]];return e(t,r)},css:i,getIds:he(o),hasNameForId:ae(n),insertMarker:a,insertRules:function(e,t,r){a(e)[0]+=t.join(" "),ne(n,e,r)},removeRules:function(e){var t=o[e];void 0!==t&&(t[0]="",oe(n,e))},sealed:!1,styleTag:null,toElement:de(i,n),toHTML:pe(i,n)}},ge=function(e,t,r,n,o){if(B&&!r){var a=function(e,t,r){var n=document;e?n=e.ownerDocument:t&&(n=t.ownerDocument);var o=n.createElement("style");o.setAttribute(F,""),o.setAttribute(M,"4.4.1");var a=re();if(a&&o.setAttribute("nonce",a),o.appendChild(n.createTextNode("")),e&&!t)e.appendChild(o);else{if(!t||!e||!t.parentNode)throw new $(6);t.parentNode.insertBefore(o,r?t:t.nextSibling)}return o}(e,t,n);return D?function(e,t){var r=Object.create(null),n=Object.create(null),o=void 0!==t,a=!1,i=function(t){var o=n[t];return void 0!==o?o:(n[t]=fe(e.ownerDocument,t),e.appendChild(n[t]),r[t]=Object.create(null),n[t])},s=function(){var e="";for(var t in n)e+=n[t].data;return e};return{clone:function(){throw new $(5)},css:s,getIds:he(n),hasNameForId:ae(r),insertMarker:i,insertRules:function(e,n,s){for(var c=i(e),l=[],u=n.length,p=0;p<u;p+=1){var d=n[p],h=o;if(h&&-1!==d.indexOf("@import"))l.push(d);else{h=!1;var f=p===u-1?"":" ";c.appendData(""+d+f)}}ne(r,e,s),o&&l.length>0&&(a=!0,t().insertRules(e+"-import",l))},removeRules:function(i){var s=n[i];if(void 0!==s){var c=fe(e.ownerDocument,i);e.replaceChild(c,s),n[i]=c,oe(r,i),o&&a&&t().removeRules(i+"-import")}},sealed:!1,styleTag:e,toElement:de(s,r),toHTML:pe(s,r)}}(a,o):function(e,t){var r=Object.create(null),n=Object.create(null),o=[],a=void 0!==t,i=!1,s=function(e){var t=n[e];return void 0!==t?t:(n[e]=o.length,o.push(0),oe(r,e),n[e])},c=function(){var t=se(e).cssRules,r="";for(var a in n){r+=le(a);for(var i=n[a],s=ue(o,i),c=s-o[i];c<s;c+=1){var l=t[c];void 0!==l&&(r+=l.cssText)}}return r};return{clone:function(){throw new $(5)},css:c,getIds:he(n),hasNameForId:ae(r),insertMarker:s,insertRules:function(n,c,l){for(var u=s(n),p=se(e),d=ue(o,u),h=0,f=[],m=c.length,g=0;g<m;g+=1){var b=c[g],v=a;v&&-1!==b.indexOf("@import")?f.push(b):ce(p,b,d+h)&&(v=!1,h+=1)}a&&f.length>0&&(i=!0,t().insertRules(n+"-import",f)),o[u]+=h,ne(r,n,l)},removeRules:function(s){var c=n[s];if(void 0!==c&&!1!==e.isConnected){var l=o[c];!function(e,t,r){for(var n=t-r,o=t;o>n;o-=1)e.deleteRule(o)}(se(e),ue(o,c)-1,l),o[c]=0,oe(r,s),a&&i&&t().removeRules(s+"-import")}},sealed:!1,styleTag:e,toElement:de(c,r),toHTML:pe(c,r)}}(a,o)}return me()},be=/\s+/;te=B?D?40:1e3:-1;var ve=0,ye=void 0,xe=function(){function e(){var t=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:B?document.head:null,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];A(this,e),this.getImportRuleTag=function(){var e=t.importRuleTag;if(void 0!==e)return e;var r=t.tags[0];return t.importRuleTag=ge(t.target,r?r.styleTag:null,t.forceServer,!0)},ve+=1,this.id=ve,this.forceServer=n,this.target=n?null:r,this.tagMap={},this.deferred={},this.rehydratedNames={},this.ignoreRehydratedNames={},this.tags=[],this.capacity=1,this.clones=[]}return e.prototype.rehydrate=function(){if(!B||this.forceServer)return this;var e=[],t=[],r=!1,n=document.querySelectorAll("style["+F+"]["+M+'="4.4.1"]'),o=n.length;if(!o)return this;for(var a=0;a<o;a+=1){var i=n[a];r||(r=!!i.getAttribute("data-styled-streamed"));for(var s,c=(i.getAttribute(F)||"").trim().split(be),l=c.length,u=0;u<l;u+=1)s=c[u],this.rehydratedNames[s]=!0;t.push.apply(t,W(i.textContent)),e.push(i)}var p=t.length;if(!p)return this;var d=this.makeTag(null);!function(e,t,r){for(var n=0,o=r.length;n<o;n+=1){var a=r[n],i=a.componentId,s=a.cssFromDOM,c=Q(s);e.insertRules(i,c)}for(var l=0,u=t.length;l<u;l+=1){var p=t[l];p.parentNode&&p.parentNode.removeChild(p)}}(d,e,t),this.capacity=Math.max(1,te-p),this.tags.push(d);for(var h=0;h<p;h+=1)this.tagMap[t[h].componentId]=d;return this},e.reset=function(){ye=new e(void 0,arguments.length>0&&void 0!==arguments[0]&&arguments[0]).rehydrate()},e.prototype.clone=function(){var t=new e(this.target,this.forceServer);return this.clones.push(t),t.tags=this.tags.map((function(e){for(var r=e.getIds(),n=e.clone(),o=0;o<r.length;o+=1)t.tagMap[r[o]]=n;return n})),t.rehydratedNames=I({},this.rehydratedNames),t.deferred=I({},this.deferred),t},e.prototype.sealAllTags=function(){this.capacity=1,this.tags.forEach((function(e){e.sealed=!0}))},e.prototype.makeTag=function(e){var t=e?e.styleTag:null;return ge(this.target,t,this.forceServer,!1,this.getImportRuleTag)},e.prototype.getTagForId=function(e){var t=this.tagMap[e];if(void 0!==t&&!t.sealed)return t;var r=this.tags[this.tags.length-1];return this.capacity-=1,0===this.capacity&&(this.capacity=te,r=this.makeTag(r),this.tags.push(r)),this.tagMap[e]=r},e.prototype.hasId=function(e){return void 0!==this.tagMap[e]},e.prototype.hasNameForId=function(e,t){if(void 0===this.ignoreRehydratedNames[e]&&this.rehydratedNames[t])return!0;var r=this.tagMap[e];return void 0!==r&&r.hasNameForId(e,t)},e.prototype.deferredInject=function(e,t){if(void 0===this.tagMap[e]){for(var r=this.clones,n=0;n<r.length;n+=1)r[n].deferredInject(e,t);this.getTagForId(e).insertMarker(e),this.deferred[e]=t}},e.prototype.inject=function(e,t,r){for(var n=this.clones,o=0;o<n.length;o+=1)n[o].inject(e,t,r);var a=this.getTagForId(e);if(void 0!==this.deferred[e]){var i=this.deferred[e].concat(t);a.insertRules(e,i,r),this.deferred[e]=void 0}else a.insertRules(e,t,r)},e.prototype.remove=function(e){var t=this.tagMap[e];if(void 0!==t){for(var r=this.clones,n=0;n<r.length;n+=1)r[n].remove(e);t.removeRules(e),this.ignoreRehydratedNames[e]=!0,this.deferred[e]=void 0}},e.prototype.toHTML=function(){return this.tags.map((function(e){return e.toHTML()})).join("")},e.prototype.toReactElements=function(){var e=this.id;return this.tags.map((function(t,r){var n="sc-"+e+"-"+r;return(0,a.cloneElement)(t.toElement(),{key:n})}))},S(e,null,[{key:"master",get:function(){return ye||(ye=(new e).rehydrate())}},{key:"instance",get:function(){return e.master}}]),e}(),we=function(){function e(t,r){var n=this;A(this,e),this.inject=function(e){e.hasNameForId(n.id,n.name)||e.inject(n.id,n.rules,n.name)},this.toString=function(){throw new $(12,String(n.name))},this.name=t,this.rules=r,this.id="sc-keyframes-"+t}return e.prototype.getName=function(){return this.name},e}(),ke=/([A-Z])/g,Ce=/^ms-/;function je(e){return e.replace(ke,"-$1").toLowerCase().replace(Ce,"-ms-")}var Ae=function(e){return null==e||!1===e||""===e},Se=function e(t,r){var n=[];return Object.keys(t).forEach((function(r){if(!Ae(t[r])){if(R(t[r]))return n.push.apply(n,e(t[r],r)),n;if(N(t[r]))return n.push(je(r)+":",t[r],";"),n;n.push(je(r)+": "+(o=r,(null==(a=t[r])||"boolean"==typeof a||""===a?"":"number"!=typeof a||0===a||o in s?String(a).trim():a+"px")+";"))}var o,a;return n})),r?[r+" {"].concat(n,["}"]):n};function Ie(e,t,r){if(Array.isArray(e)){for(var n,o=[],a=0,i=e.length;a<i;a+=1)null!==(n=Ie(e[a],t,r))&&(Array.isArray(n)?o.push.apply(o,n):o.push(n));return o}return Ae(e)?null:E(e)?"."+e.styledComponentId:N(e)?"function"!=typeof(s=e)||s.prototype&&s.prototype.isReactComponent||!t?e:Ie(e(t),t,r):e instanceof we?r?(e.inject(r),e.getName()):e:R(e)?Se(e):e.toString();var s}function Oe(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return N(e)||R(e)?Ie(C(L,[e].concat(r))):Ie(C(e,r))}function _e(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:P;if(!(0,c.isValidElementType)(t))throw new $(1,String(t));var n=function(){return e(t,r,Oe.apply(void 0,arguments))};return n.withConfig=function(n){return _e(e,t,I({},r,n))},n.attrs=function(n){return _e(e,t,I({},r,{attrs:Array.prototype.concat(r.attrs,n).filter(Boolean)}))},n}function Re(e){for(var t,r=0|e.length,n=0|r,o=0;r>=4;)t=1540483477*(65535&(t=255&e.charCodeAt(o)|(255&e.charCodeAt(++o))<<8|(255&e.charCodeAt(++o))<<16|(255&e.charCodeAt(++o))<<24))+((1540483477*(t>>>16)&65535)<<16),n=1540483477*(65535&n)+((1540483477*(n>>>16)&65535)<<16)^(t=1540483477*(65535&(t^=t>>>24))+((1540483477*(t>>>16)&65535)<<16)),r-=4,++o;switch(r){case 3:n^=(255&e.charCodeAt(o+2))<<16;case 2:n^=(255&e.charCodeAt(o+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(o)))+((1540483477*(n>>>16)&65535)<<16)}return((n=1540483477*(65535&(n^=n>>>13))+((1540483477*(n>>>16)&65535)<<16))^n>>>15)>>>0}var Le=function(e){return String.fromCharCode(e+(e>25?39:97))};function Pe(e){var t="",r=void 0;for(r=e;r>52;r=Math.floor(r/52))t=Le(r%52)+t;return Le(r%52)+t}function Ne(e,t){for(var r=0;r<e.length;r+=1){var n=e[r];if(Array.isArray(n)&&!Ne(n,t))return!1;if(N(n)&&!E(n))return!1}return!t.some((function(e){return N(e)||function(e){for(var t in e)if(N(e[t]))return!0;return!1}(e)}))}var Te,Ee=function(e){return Pe(Re(e))},Fe=function(){function e(t,r,n){A(this,e),this.rules=t,this.isStatic=Ne(t,r),this.componentId=n,xe.master.hasId(n)||xe.master.deferredInject(n,[])}return e.prototype.generateAndInjectStyles=function(e,t){var r=this.isStatic,n=this.componentId,o=this.lastClassName;if(B&&r&&"string"==typeof o&&t.hasNameForId(n,o))return o;var a=Ie(this.rules,e,t),i=Ee(this.componentId+a.join(""));return t.hasNameForId(n,i)||t.inject(this.componentId,ee(a,"."+i,void 0,n),i),this.lastClassName=i,i},e.generateName=function(e){return Ee(e)},e}(),Me=/[[\].#*$><+~=|^:(),"'`-]+/g,Be=/(^-|-$)/g;function De(e){return e.replace(Me,"-").replace(Be,"")}function ze(e){return"string"==typeof e&&!0}var We={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDerivedStateFromProps:!0,propTypes:!0,type:!0},Ge={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Ye=((Te={})[c.ForwardRef]={$$typeof:!0,render:!0},Te),He=Object.defineProperty,qe=Object.getOwnPropertyNames,Ue=Object.getOwnPropertySymbols,Ve=void 0===Ue?function(){return[]}:Ue,Xe=Object.getOwnPropertyDescriptor,Ze=Object.getPrototypeOf,Je=Object.prototype,Ke=Array.prototype;function Qe(e,t,r){if("string"!=typeof t){var n=Ze(t);n&&n!==Je&&Qe(e,n,r);for(var o=Ke.concat(qe(t),Ve(t)),a=Ye[e.$$typeof]||We,i=Ye[t.$$typeof]||We,s=o.length,c=void 0,l=void 0;s--;)if(l=o[s],!(Ge[l]||r&&r[l]||i&&i[l]||a&&a[l])&&(c=Xe(t,l)))try{He(e,l,c)}catch(e){}return e}return e}var et=(0,a.createContext)(),tt=et.Consumer,rt=(function(e){function t(r){A(this,t);var n=_(this,e.call(this,r));return n.getContext=p(n.getContext.bind(n)),n.renderInner=n.renderInner.bind(n),n}O(t,e),t.prototype.render=function(){return this.props.children?i().createElement(et.Consumer,null,this.renderInner):null},t.prototype.renderInner=function(e){var t=this.getContext(this.props.theme,e);return i().createElement(et.Provider,{value:t},this.props.children)},t.prototype.getTheme=function(e,t){if(N(e))return e(t);if(null===e||Array.isArray(e)||"object"!==(void 0===e?"undefined":j(e)))throw new $(8);return I({},t,e)},t.prototype.getContext=function(e,t){return this.getTheme(e,t)}}(a.Component),function(){function e(){A(this,e),this.masterSheet=xe.master,this.instance=this.masterSheet.clone(),this.sealed=!1}e.prototype.seal=function(){if(!this.sealed){var e=this.masterSheet.clones.indexOf(this.instance);this.masterSheet.clones.splice(e,1),this.sealed=!0}},e.prototype.collectStyles=function(e){if(this.sealed)throw new $(2);return i().createElement(ot,{sheet:this.instance},e)},e.prototype.getStyleTags=function(){return this.seal(),this.instance.toHTML()},e.prototype.getStyleElement=function(){return this.seal(),this.instance.toReactElements()},e.prototype.interleaveWithNodeStream=function(e){throw new $(3)}}(),(0,a.createContext)()),nt=rt.Consumer,ot=function(e){function t(r){A(this,t);var n=_(this,e.call(this,r));return n.getContext=p(n.getContext),n}return O(t,e),t.prototype.getContext=function(e,t){if(e)return e;if(t)return new xe(t);throw new $(4)},t.prototype.render=function(){var e=this.props,t=e.children,r=e.sheet,n=e.target;return i().createElement(rt.Provider,{value:this.getContext(r,n)},t)},t}(a.Component),at={},it=function(e){function t(){A(this,t);var r=_(this,e.call(this));return r.attrs={},r.renderOuter=r.renderOuter.bind(r),r.renderInner=r.renderInner.bind(r),r}return O(t,e),t.prototype.render=function(){return i().createElement(nt,null,this.renderOuter)},t.prototype.renderOuter=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:xe.master;return this.styleSheet=e,this.props.forwardedComponent.componentStyle.isStatic?this.renderInner():i().createElement(tt,null,this.renderInner)},t.prototype.renderInner=function(e){var t,r=this.props.forwardedComponent,n=r.componentStyle,o=r.defaultProps,i=(r.displayName,r.foldedComponentIds),s=r.styledComponentId,c=r.target;t=n.isStatic?this.generateAndInjectStyles(P,this.props):this.generateAndInjectStyles(function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:P,n=!!r&&e.theme===r.theme;return e.theme&&!n?e.theme:t||r.theme}(this.props,e,o)||P,this.props);var l=this.props.as||this.attrs.as||c,u=ze(l),p={},d=I({},this.props,this.attrs),f=void 0;for(f in d)"forwardedComponent"!==f&&"as"!==f&&("forwardedRef"===f?p.ref=d[f]:"forwardedAs"===f?p.as=d[f]:u&&!h(f)||(p[f]=d[f]));return this.props.style&&this.attrs.style&&(p.style=I({},this.attrs.style,this.props.style)),p.className=Array.prototype.concat(i,s,t!==s?t:null,this.props.className,this.attrs.className).filter(Boolean).join(" "),(0,a.createElement)(l,p)},t.prototype.buildExecutionContext=function(e,t,r){var n=this,o=I({},t,{theme:e});return r.length?(this.attrs={},r.forEach((function(e){var t,r=e,a=!1,i=void 0,s=void 0;for(s in N(r)&&(r=r(o),a=!0),r)i=r[s],a||!N(i)||(t=i)&&t.prototype&&t.prototype.isReactComponent||E(i)||(i=i(o)),n.attrs[s]=i,o[s]=i})),o):o},t.prototype.generateAndInjectStyles=function(e,t){var r=t.forwardedComponent,n=r.attrs,o=r.componentStyle;return r.warnTooManyClasses,o.isStatic&&!n.length?o.generateAndInjectStyles(P,this.styleSheet):o.generateAndInjectStyles(this.buildExecutionContext(e,t,n),this.styleSheet)},t}(a.Component);function st(e,t,r){var n=E(e),o=!ze(e),a=t.displayName,s=void 0===a?function(e){return ze(e)?"styled."+e:"Styled("+T(e)+")"}(e):a,c=t.componentId,l=void 0===c?function(e,t,r){var n="string"!=typeof t?"sc":De(t),o=(at[n]||0)+1;at[n]=o;var a=n+"-"+e.generateName(n+o);return r?r+"-"+a:a}(Fe,t.displayName,t.parentComponentId):c,u=t.ParentComponent,p=void 0===u?it:u,d=t.attrs,h=void 0===d?L:d,f=t.displayName&&t.componentId?De(t.displayName)+"-"+t.componentId:t.componentId||l,m=n&&e.attrs?Array.prototype.concat(e.attrs,h).filter(Boolean):h,g=new Fe(n?e.componentStyle.rules.concat(r):r,m,f),b=void 0,v=function(e,t){return i().createElement(p,I({},e,{forwardedComponent:b,forwardedRef:t}))};return v.displayName=s,(b=i().forwardRef(v)).displayName=s,b.attrs=m,b.componentStyle=g,b.foldedComponentIds=n?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):L,b.styledComponentId=f,b.target=n?e.target:e,b.withComponent=function(e){var n=t.componentId,o=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(t,["componentId"]),a=n&&n+"-"+(ze(e)?e:De(T(e)));return st(e,I({},o,{attrs:m,componentId:a,ParentComponent:p}),r)},Object.defineProperty(b,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=n?k(e.defaultProps,t):t}}),b.toString=function(){return"."+b.styledComponentId},o&&Qe(b,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,styledComponentId:!0,target:!0,withComponent:!0}),b}var ct=function(e){return _e(st,e)};function lt(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var o=Oe.apply(void 0,[e].concat(r)),a=Pe(Re(JSON.stringify(o).replace(/\s|\\n/g,"")));return new we(a,ee(o,a,"@keyframes"))}["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){ct[e]=ct(e)})),function(){function e(t,r){A(this,e),this.rules=t,this.componentId=r,this.isStatic=Ne(t,L),xe.master.hasId(r)||xe.master.deferredInject(r,[])}e.prototype.createStyles=function(e,t){var r=ee(Ie(this.rules,e,t),"");t.inject(this.componentId,r)},e.prototype.removeStyles=function(e){var t=this.componentId;e.hasId(t)&&e.remove(t)},e.prototype.renderStyles=function(e,t){this.removeStyles(t),this.createStyles(e,t)}}(),B&&(window.scCGSHMRCache={});const ut=ct,pt=React.createContext(),dt=(pt.Provider,pt.Consumer,pt);r(452);const{apiFetch:ht}=wp,{__}=wp.i18n;async function ft(e,t=!0,r="template"){return await ht({path:"/agwp-library/v1/mark_favorite",method:"post",data:{id:e,favorite:t,type:r}}).then((e=>e))}const mt=React.createContext(),gt=(mt.Provider,mt.Consumer,{accent:"var(--analog-custom-library-primary)",textLight:"var(--analog-custom-library-sec-text)",textDark:"var(--analog-custom-library-main-text)",lightGray:"#F2F2F2"}),bt=mt;var vt=r(942),yt=r.n(vt);const xt=window.ReactJSXRuntime,wt=()=>(0,xt.jsx)("svg",{width:"10",height:"9",viewBox:"0 0 10 9",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,xt.jsx)("path",{d:"M6.27486 4.5L8.8619 1.95916C9.17937 1.64736 9.17937 1.14184 8.8619 0.829785L8.28695 0.265098C7.96948 -0.0466992 7.45476 -0.0466992 7.13704 0.265098L4.55 2.80594L1.96296 0.265098C1.6455 -0.0466992 1.13078 -0.0466992 0.813054 0.265098L0.238099 0.829785C-0.0793665 1.14158 -0.0793665 1.64711 0.238099 1.95916L2.82514 4.5L0.238099 7.04084C-0.0793665 7.35264 -0.0793665 7.85816 0.238099 8.17021L0.813054 8.7349C1.13052 9.0467 1.6455 9.0467 1.96296 8.7349L4.55 6.19406L7.13704 8.7349C7.4545 9.0467 7.96948 9.0467 8.28695 8.7349L8.8619 8.17021C9.17937 7.85842 9.17937 7.35289 8.8619 7.04084L6.27486 4.5Z"})}),kt=()=>(0,xt.jsx)("svg",{height:"16",width:"12",viewBox:"0 0 12 16",children:(0,xt.jsx)("path",{fillRule:"evenodd",d:"M5.05.01c.81 2.17.41 3.38-.52 4.31C3.55 5.37 1.98 6.15.9 7.68c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.01 8.68 2.15 5.05.02L5.03 0l.02.01z"})}),Ct=()=>(0,xt.jsx)("svg",{height:"16",width:"16",viewBox:"0 0 16 16",children:(0,xt.jsx)("path",{fillRule:"evenodd",d:"M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"})}),jt=()=>(0,xt.jsx)("svg",{height:"16",width:"12",viewBox:"0 0 12 16",children:(0,xt.jsx)("path",{fillRule:"evenodd",d:"M12 5.5l-8 8-4-4L1.5 8 4 10.5 10.5 4 12 5.5z"})}),At=({text:e="No templates found.",...t})=>(0,xt.jsx)("div",{className:"empty-container",...t,children:(0,xt.jsx)("p",{children:e})});function St(){return St=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},St.apply(this,arguments)}function It(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ot(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?It(Object(r),!0).forEach((function(t){_t(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):It(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function _t(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class Rt extends i().Component{constructor(e){let t;super(e),this.reCalculateColumnCount=this.reCalculateColumnCount.bind(this),this.reCalculateColumnCountDebounce=this.reCalculateColumnCountDebounce.bind(this),t=this.props.breakpointCols&&this.props.breakpointCols.default?this.props.breakpointCols.default:parseInt(this.props.breakpointCols)||2,this.state={columnCount:t}}componentDidMount(){this.reCalculateColumnCount(),window&&window.addEventListener("resize",this.reCalculateColumnCountDebounce)}componentDidUpdate(){this.reCalculateColumnCount()}componentWillUnmount(){window&&window.removeEventListener("resize",this.reCalculateColumnCountDebounce)}reCalculateColumnCountDebounce(){window&&window.requestAnimationFrame?(window.cancelAnimationFrame&&window.cancelAnimationFrame(this._lastRecalculateAnimationFrame),this._lastRecalculateAnimationFrame=window.requestAnimationFrame((()=>{this.reCalculateColumnCount()}))):this.reCalculateColumnCount()}reCalculateColumnCount(){const e=window&&window.innerWidth||1/0;let t=this.props.breakpointCols;"object"!=typeof t&&(t={default:parseInt(t)||2});let r=1/0,n=t.default||2;for(let o in t){const a=parseInt(o);a>0&&e<=a&&a<r&&(r=a,n=t[o])}n=Math.max(1,parseInt(n)||1),this.state.columnCount!==n&&this.setState({columnCount:n})}itemsInColumns(){const e=this.state.columnCount,t=new Array(e),r=i().Children.toArray(this.props.children);for(let n=0;n<r.length;n++){const o=n%e;t[o]||(t[o]=[]),t[o].push(r[n])}return t}renderColumns(){const{column:e,columnAttrs:t={},columnClassName:r}=this.props,n=this.itemsInColumns(),o=100/n.length+"%";let a=r;a&&"string"!=typeof a&&(this.logDeprecated('The property "columnClassName" requires a string'),void 0===a&&(a="my-masonry-grid_column"));const s=Ot(Ot(Ot({},e),t),{},{style:Ot(Ot({},t.style),{},{width:o}),className:a});return n.map(((e,t)=>i().createElement("div",St({},s,{key:t}),e)))}logDeprecated(e){console.error("[Masonry]",e)}render(){const e=this.props,{children:t,breakpointCols:r,columnClassName:n,columnAttrs:o,column:a,className:s}=e,c=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["children","breakpointCols","columnClassName","columnAttrs","column","className"]);let l=s;return"string"!=typeof s&&(this.logDeprecated('The property "className" requires a string'),void 0===s&&(l="my-masonry-grid")),i().createElement("div",St({},c,{className:l}),this.renderColumns())}}Rt.defaultProps={breakpointCols:void 0,className:void 0,columnClassName:void 0,children:void 0,columnAttrs:void 0,column:void 0};const Lt=Rt,Pt=()=>(0,xt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:(0,xt.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.48 3.499a.562.562 0 0 1 1.04 0l2.125 5.111a.563.563 0 0 0 .475.345l5.518.442c.499.04.701.663.321.988l-4.204 3.602a.563.563 0 0 0-.182.557l1.285 5.385a.562.562 0 0 1-.84.61l-4.725-2.885a.562.562 0 0 0-.586 0L6.982 20.54a.562.562 0 0 1-.84-.61l1.285-5.386a.562.562 0 0 0-.182-.557l-4.204-3.602a.562.562 0 0 1 .321-.988l5.518-.442a.563.563 0 0 0 .475-.345L11.48 3.5Z"})}),{Card:Nt,CardBody:Tt,CardDivider:Et,CardHeader:Ft}=wp.components,Mt=e=>{const{title:t,onRequestClose:r,children:n,...o}=e;return(0,xt.jsx)("div",{className:"popup-container",...o,children:(0,xt.jsx)("div",{className:"inner",children:(0,xt.jsxs)(Nt,{children:[(0,xt.jsx)(Ft,{children:(0,xt.jsxs)("div",{className:"inner-popup-header",children:[(0,xt.jsx)("h1",{children:t}),r&&(0,xt.jsx)("button",{className:"button-plain",onClick:()=>r(),children:(0,xt.jsx)(wt,{})})]})}),(0,xt.jsx)(Et,{}),(0,xt.jsx)(Tt,{children:(0,xt.jsx)("div",{className:"inner-popup-content",children:n})})]})})})},Bt=()=>(0,xt.jsxs)("div",{className:"animation-loader",children:[(0,xt.jsx)("div",{}),(0,xt.jsx)("div",{}),(0,xt.jsx)("div",{}),(0,xt.jsx)("div",{})]}),Dt=()=>(0,xt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:(0,xt.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5M16.5 12 12 16.5m0 0L7.5 12m4.5 4.5V3"})}),$t=()=>(0,xt.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:[(0,xt.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z"}),(0,xt.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"})]}),zt=()=>(0,xt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:(0,xt.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L6.832 19.82a4.5 4.5 0 0 1-1.897 1.13l-2.685.8.8-2.685a4.5 4.5 0 0 1 1.13-1.897L16.863 4.487Zm0 0L19.5 7.125"})}),Wt=()=>(0,xt.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"icon icon-tabler icons-tabler-outline icon-tabler-world",children:[(0,xt.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,xt.jsx)("path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0"}),(0,xt.jsx)("path",{d:"M3.6 9h16.8"}),(0,xt.jsx)("path",{d:"M3.6 15h16.8"}),(0,xt.jsx)("path",{d:"M11.5 3a17 17 0 0 0 0 18"}),(0,xt.jsx)("path",{d:"M12.5 3a17 17 0 0 1 0 18"})]}),{decodeEntities:Gt}=wp.htmlEntities,{__:Yt,sprintf:Ht}=wp.i18n,{Dashicon:qt,Button:Ut,Card:Vt,CardBody:Xt}=wp.components,{addQueryArgs:Zt}=wp.url,Jt=lt` 2 2 0% { 3 3 opacity: 0.7; … … 201 201 color: #565d65; 202 202 } 203 `),Qt=({state:e,importBlock:t,favorites:r,makeFavorite:n})=>{const o=React.useContext( pt),a=o.state.blocks.filter((e=>!("valid"!==AGWP_LIBRARY.license.status&&o.state.showFree&&Boolean(e.is_pro))));AGWP_LIBRARY.pluginURL;let i={default:3,2e3:3,1600:3,1300:2,700:1};"2c"===AGWP_LIBRARY.libraryTemplateCols?i={default:2,2e3:2,1600:2,1300:2,700:1}:"auto"===AGWP_LIBRARY.libraryTemplateCols&&(i={default:5,2e3:4,1600:3,1300:2,700:1});const s=e=>{const t=AGWP_LIBRARY.libraryPlaceholderImgURL||AGWP_LIBRARY.pluginURL+"assets/img/placeholder.svg";return e.thumbnail||t};return(0,xt.jsxs)(React.Fragment,{children:[e.state.modalActive&&(0,xt.jsxs)(Bt,{title:Gt(e.state.activeBlock.title),style:{textAlign:"center"},onRequestClose:()=>{e.dispatch({activeBlock:!1,modalActive:!1,blockImported:!1})},children:[!e.state.blockImported&&(0,xt.jsx)(Dt,{}),e.state.blockImported&&(0,xt.jsxs)(React.Fragment,{children:[(0,xt.jsxs)("p",{children:[Ht(Yt("The %s has been imported and is now available in the","analogwp-library"),AGWP_LIBRARY.isContainer?"container":"section")," ",(0,xt.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:Zt("edit.php",{post_type:"elementor_library",tabs_group:!0,elementor_library_type:AGWP_LIBRARY.isContainer?"container":"section"}),children:Ht(Yt("Elementor %s library","analogwp-library"),AGWP_LIBRARY.isContainer?"container":"section")}),"."]}),(0,xt.jsx)("p",{children:(0,xt.jsxs)(Ut,{isPrimary:!0,onClick:()=>{e.dispatch({activeBlock:!1,modalActive:!1,blockImported:!1})},children:[Yt("Ok, thanks","analogwp-library")," ",(0,xt.jsx)(qt,{icon:"yes"})]})})]})]}),(0,xt.jsxs)(Kt,{className:"blocks-area",children:[!o.state.syncing&&o.state.blocks.length<1&&(0,xt.jsx)(At,{text:Yt("No Templates found","analogwp-library")}),o.state.syncing&&o.state.blocks.length<1&&(0,xt.jsx)(At,{text:Yt("Loading Templates...","analogwp-library")}),(0,xt.jsx)(_t,{breakpointCols:i||3,className:"grid",columnClassName:"grid-item block-list",children:a.length>=1&&a.map((e=>{let o=!1;if(e.requiredPluginsrequiredPlugins&&e.requiredPlugins.length>0){const t=e.requiredPlugins.filter((e=>""!==e&&!AGWP_LIBRARY.activePlugins.includes(e)));if(t.length>0&&!t.includes("elementor-pro"))return null;o=t&&t.includes("elementor-pro")}return(0,xt.jsxs)("div",{className:yt()({"is-remote-template":e.is_remote}),children:[(0,xt.jsx)(Vt,{children:(0,xt.jsxs)(Xt,{children:[e.is_pro&&(0,xt.jsx)("span",{className:"pro",children:Yt("Pro","analogwp-library")}),e.is_remote&&(0,xt.jsx)("span",{className:"remote-badge",title:e.server_name,children:(0,xt.jsx)(Wt,{})}),(0,xt.jsxs)("figure",{children:[(0,xt.jsx)("img",{src:s(e),loading:"lazy",width:"900",height:"600",alt:e.title}),(0,xt.jsxs)("div",{className:"actions",children:[!e.is_remote&&(0,xt.jsxs)(xt.Fragment,{children:[(0,xt.jsx)("a",{href:AGWP_LIBRARY.siteURL+`?post_type=elementor_library&p=${e.id}&preview=true`,target:"_blank",className:"template-preview-button",children:(0,xt.jsx)(Ut,{isPrimary:!0,children:(0,xt.jsx)($t,{})})}),(0,xt.jsx)("a",{href:AGWP_LIBRARY.adminURL+`post.php?post=${e.id}&action=elementor`,target:"_blank",className:"template-edit-button",children:(0,xt.jsx)(Ut,{isPrimary:!0,children:(0,xt.jsx)(zt,{})})})]}),(0,xt.jsx)(br,{children:({add:r})=>!o&&!(e.is_pro&&"valid"!==AGWP_LIBRARY.license.status)&&(0,xt.jsxs)(Ut,{isPrimary:!0,onClick:()=>t(e,r),className:"is-large",children:[(0,xt.jsx)(Mt,{})," ",Yt("Insert","analogwp-library")]})})]}),(0,xt.jsx)("button",{className:yt()("button-plain favorite",{"is-active":e.id in r}),onClick:()=>n(e.id),children:(0,xt.jsx)(Pt,{})})]})]})}),(0,xt.jsxs)("div",{className:"content",children:[(0,xt.jsx)("h3",{children:Gt(e.title)}),e.is_pro&&(0,xt.jsx)("span",{className:"pro",children:Yt("Pro","analogwp-library")})]})]},e.id)}))})]})]})},{__:er}=wp.i18n,{TabPanel:tr,TextControl:rr}=wp.components,nr="all",or=["favorites",nr],ar=AGWP_LIBRARY.libraryCategoriesLocation?AGWP_LIBRARY.libraryCategoriesLocation:"horizontal",ir=ut.div`203 `),Qt=({state:e,importBlock:t,favorites:r,makeFavorite:n})=>{const o=React.useContext(dt);let a=o.state.blocks.filter((e=>!("valid"!==AGWP_LIBRARY.license.status&&o.state.showFree&&Boolean(e.is_pro))));const i=o.state.sourceFilter;i&&"all"!==i&&(a=a.filter((e=>"local"===i?!e.is_remote:"remote"!==i||!0===e.is_remote))),AGWP_LIBRARY.pluginURL;let s={default:3,2e3:3,1600:3,1300:2,700:1};"2c"===AGWP_LIBRARY.libraryTemplateCols?s={default:2,2e3:2,1600:2,1300:2,700:1}:"auto"===AGWP_LIBRARY.libraryTemplateCols&&(s={default:5,2e3:4,1600:3,1300:2,700:1});const c=e=>{const t=AGWP_LIBRARY.libraryPlaceholderImgURL||AGWP_LIBRARY.pluginURL+"assets/img/placeholder.svg";return e.thumbnail||t};return(0,xt.jsxs)(React.Fragment,{children:[e.state.modalActive&&(0,xt.jsxs)(Mt,{title:Gt(e.state.activeBlock.title),style:{textAlign:"center"},onRequestClose:()=>{e.dispatch({activeBlock:!1,modalActive:!1,blockImported:!1})},children:[!e.state.blockImported&&(0,xt.jsx)(Bt,{}),e.state.blockImported&&(0,xt.jsxs)(React.Fragment,{children:[(0,xt.jsxs)("p",{children:[Ht(Yt("The %s has been imported and is now available in the","analogwp-library"),AGWP_LIBRARY.isContainer?"container":"section")," ",(0,xt.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:Zt("edit.php",{post_type:"elementor_library",tabs_group:!0,elementor_library_type:AGWP_LIBRARY.isContainer?"container":"section"}),children:Ht(Yt("Elementor %s library","analogwp-library"),AGWP_LIBRARY.isContainer?"container":"section")}),"."]}),(0,xt.jsx)("p",{children:(0,xt.jsxs)(Ut,{isPrimary:!0,onClick:()=>{e.dispatch({activeBlock:!1,modalActive:!1,blockImported:!1})},children:[Yt("Ok, thanks","analogwp-library")," ",(0,xt.jsx)(qt,{icon:"yes"})]})})]})]}),(0,xt.jsxs)(Kt,{className:"blocks-area",children:[!o.state.syncing&&o.state.blocks.length<1&&(0,xt.jsx)(At,{text:Yt("No Templates found","analogwp-library")}),o.state.syncing&&o.state.blocks.length<1&&(0,xt.jsx)(At,{text:Yt("Loading Templates...","analogwp-library")}),(0,xt.jsx)(Lt,{breakpointCols:s||3,className:"grid",columnClassName:"grid-item block-list",children:a.length>=1&&a.map((e=>{let o=!1;if(e.requiredPluginsrequiredPlugins&&e.requiredPlugins.length>0){const t=e.requiredPlugins.filter((e=>""!==e&&!AGWP_LIBRARY.activePlugins.includes(e)));if(t.length>0&&!t.includes("elementor-pro"))return null;o=t&&t.includes("elementor-pro")}return(0,xt.jsxs)("div",{className:yt()({"is-remote-template":e.is_remote}),children:[(0,xt.jsx)(Vt,{children:(0,xt.jsxs)(Xt,{children:[e.is_pro&&(0,xt.jsx)("span",{className:"pro",children:Yt("Pro","analogwp-library")}),e.is_remote&&(0,xt.jsx)("span",{className:"remote-badge",title:e.server_name,children:(0,xt.jsx)(Wt,{})}),(0,xt.jsxs)("figure",{children:[(0,xt.jsx)("img",{src:c(e),loading:"lazy",width:"900",height:"600",alt:e.title}),(0,xt.jsxs)("div",{className:"actions",children:[!e.is_remote&&(0,xt.jsxs)(xt.Fragment,{children:[(0,xt.jsx)("a",{href:AGWP_LIBRARY.siteURL+`?post_type=elementor_library&p=${e.id}&preview=true`,target:"_blank",className:"template-preview-button",children:(0,xt.jsx)(Ut,{isPrimary:!0,children:(0,xt.jsx)($t,{})})}),(0,xt.jsx)("a",{href:AGWP_LIBRARY.adminURL+`post.php?post=${e.id}&action=elementor`,target:"_blank",className:"template-edit-button",children:(0,xt.jsx)(Ut,{isPrimary:!0,children:(0,xt.jsx)(zt,{})})})]}),(0,xt.jsx)(br,{children:({add:r})=>!o&&!(e.is_pro&&"valid"!==AGWP_LIBRARY.license.status)&&(0,xt.jsxs)(Ut,{isPrimary:!0,onClick:()=>t(e,r),className:"is-large",children:[(0,xt.jsx)(Dt,{})," ",Yt("Insert","analogwp-library")]})})]}),(0,xt.jsx)("button",{className:yt()("button-plain favorite",{"is-active":e.id in r}),onClick:()=>n(e.id),children:(0,xt.jsx)(Pt,{})})]})]})}),(0,xt.jsxs)("div",{className:"content",children:[(0,xt.jsx)("h3",{children:Gt(e.title)}),e.is_pro&&(0,xt.jsx)("span",{className:"pro",children:Yt("Pro","analogwp-library")})]})]},e.id)}))})]})]})},{__:er}=wp.i18n,{TabPanel:tr,TextControl:rr}=wp.components,nr="all",or=["favorites",nr],ar=AGWP_LIBRARY.libraryCategoriesLocation?AGWP_LIBRARY.libraryCategoriesLocation:"horizontal",ir=ut.div` 204 204 .components-tab-panel__tabs > .components-button { 205 205 text-transform: capitalize; … … 281 281 padding-right: 10px; 282 282 } 283 `,sr=({state:e})=>{const t=React.useContext( pt),r=[...new Set(t.state.blockArchive.map((e=>e.tags[0])))];let n=t.state.blockArchive,o=n.filter((e=>e.id in t.state.blockFavorites));const a=e=>{const r=t.state.blockArchive,{blocksSearchInput:n}=t.state;let a=[];return e===nr&&(a=t.state.blockArchive),"favorites"===e&&(a=o),e!==nr&&"favorites"!==e&&(a=r.filter((t=>t.tags.indexOf(e)>-1))),"valid"!==AGWP_LIBRARY.license.status&&t.state.showFree&&(a=a.filter((e=>!e.is_pro))),n&&(a=t.state.itemFilteredWithSearchTerm(a,n)),!!a&&a.length},i=()=>or.concat(r.sort()),s=e=>{let t=a(e),r=t>0?t:0;return[`${e.replace(/-/g," ")} `,AGWP_LIBRARY.showLibraryCategoriesTemplateCount?(0,xt.jsx)("span",{children:r},e):""]},c=e=>e.filter((e=>e&&a(e)>0)).map((e=>({name:e,title:s(e),className:`tab-${e}`})));return(0,xt.jsxs)(ir,{className:"sidebar "+(t.state.blockArchive.length?"":"no-templates"),children:[t.state.blockArchive.length>=10&&(0,xt.jsx)(rr,{placeholder:er("Search Templates","analogwp-library"),value:t.state.blocksSearchInput,onChange:e=>{t.handleSearch(e,"patterns"),t.dispatch({blocksSearchInput:e})}}),c(i()).length>=1?(0,xt.jsx)(tr,{className:"block-categories-tabs",orientation:ar,activeClass:"active-tab",initialTabName:(e=>{let r=e||t.state.blocksTab;if("undefined"!=typeof elementor&&elementor&&elementor.config){const n=elementor.config.document.type,o=i();if(t.state.showFree&&"valid"!==AGWP_LIBRARY.license.status)return r;switch(n){case"header":r=o.includes("Headers")?"Headers":e;break;case"footer":r=o.includes("Footers")?"Footers":e;break;case"single-page":case"single-post":case"page":r=o.includes("Post Templates")?"Post Templates":e}}return r})(t.state.blocksTab),onSelect:e=>{t.dispatch({blocksTab:e});let r=n;"favorites"===e&&(r=o),"favorites"!==e&&e!==nr&&(r=t.state.blockArchive.filter((t=>t.tags.indexOf(e)>-1)));const{blocksSearchInput:a}=t.state;a&&(r=t.state.itemFilteredWithSearchTerm(r,a)),t.dispatch({blocks:r})},tabs:c(i()),children:e=>null},t.state.blocksTab):(0,xt.jsx)("div",{className:"block-categories-tabs"})]})},{__:cr}=wp.i18n,{Component:lr,Fragment:ur}=wp.element,dr=ut.div`283 `,sr=({state:e})=>{const t=React.useContext(dt),r=t.state.sourceFilter;let n=t.state.blockArchive;r&&"all"!==r&&(n=t.state.blockArchive.filter((e=>"local"===r?!e.is_remote:"remote"!==r||!0===e.is_remote)));const o=[...new Set(n.map((e=>e.tags[0])))];let a=n,i=a.filter((e=>e.id in t.state.blockFavorites));const s=e=>{const r=n,{blocksSearchInput:o}=t.state;let a=[];return e===nr&&(a=n),"favorites"===e&&(a=i),e!==nr&&"favorites"!==e&&(a=r.filter((t=>t.tags.indexOf(e)>-1))),"valid"!==AGWP_LIBRARY.license.status&&t.state.showFree&&(a=a.filter((e=>!e.is_pro))),o&&(a=t.state.itemFilteredWithSearchTerm(a,o)),!!a&&a.length},c=()=>or.concat(o.sort()),l=e=>{let t=s(e),r=t>0?t:0;return[`${e.replace(/-/g," ")} `,AGWP_LIBRARY.showLibraryCategoriesTemplateCount?(0,xt.jsx)("span",{children:r},e):""]},u=e=>e.filter((e=>e&&s(e)>0)).map((e=>({name:e,title:l(e),className:`tab-${e}`})));return(0,xt.jsxs)(ir,{className:"sidebar "+(t.state.blockArchive.length?"":"no-templates"),children:[t.state.blockArchive.length>=10&&(0,xt.jsx)(rr,{placeholder:er("Search Templates","analogwp-library"),value:t.state.blocksSearchInput,onChange:e=>{t.handleSearch(e,"patterns"),t.dispatch({blocksSearchInput:e})}}),u(c()).length>=1?(0,xt.jsx)(tr,{className:"block-categories-tabs",orientation:ar,activeClass:"active-tab",initialTabName:(e=>{let r=e||t.state.blocksTab;if("undefined"!=typeof elementor&&elementor&&elementor.config){const n=elementor.config.document.type,o=c();if(t.state.showFree&&"valid"!==AGWP_LIBRARY.license.status)return r;switch(n){case"header":r=o.includes("Headers")?"Headers":e;break;case"footer":r=o.includes("Footers")?"Footers":e;break;case"single-page":case"single-post":case"page":r=o.includes("Post Templates")?"Post Templates":e}}return r})(t.state.blocksTab),onSelect:e=>{t.dispatch({blocksTab:e});let r=a;"favorites"===e&&(r=i),"favorites"!==e&&e!==nr&&(r=n.filter((t=>t.tags.indexOf(e)>-1)));const{blocksSearchInput:o}=t.state;o&&(r=t.state.itemFilteredWithSearchTerm(r,o)),t.dispatch({blocks:r})},tabs:u(c()),children:e=>null},t.state.blocksTab):(0,xt.jsx)("div",{className:"block-categories-tabs"})]})},{__:cr}=wp.i18n,{Component:lr,Fragment:ur}=wp.element,pr=ut.div` 284 284 display: flex; 285 285 justify-content: space-between; 286 286 position: relative; 287 `,pr={blocks:[],activeBlock:!1,blockImported:!1,modalActive:!1},hr=AGWP_LIBRARY.libraryCategoriesLocation?AGWP_LIBRARY.libraryCategoriesLocation:"horizontal";class fr extends lr{static contextType=pt;constructor(){super(...arguments),this.state={...pr},this.importBlock=this.importBlock.bind(this),this.handleImport=this.handleImport.bind(this)}importBlock(e,t){this.setState({modalActive:!0,activeBlock:e}),this.handleImport(e,t)}handleImport(e,t){const r=Boolean(AGWP_LIBRARY.is_settings_page)?"library":"elementor";(async function(e,t){return await ht({path:"/agwp-library/v1/blocks/insert",method:"post",data:{block:e,method:t}}).then((e=>e))})(e,r).then((e=>{"elementor"===r?(function(e,t="template"){let r=__("Template","analogwp-library");"block"===t&&(r=__("Block","analogwp-library"));let n=analogCustomLibrary.insertIndex||-1;if("undefined"!=typeof $e){const t=$e.internal("document/history/start-log",{type:"add",title:`${__("Add Custom Library for Elementor","analogwp-library")} ${r}`});for(let t=0;t<e.length;t++)$e.run("document/elements/create",{container:elementor.getPreviewContainer(),model:e[t],options:n>=0?{at:n++}:{}});$e.internal("document/history/end-log",{id:t})}else{const t=new Backbone.Model({getTitle:()=>"Test"});elementor.channels.data.trigger("template:before:insert",t);for(let t=0;t<json.data.content.length;t++)elementor.getPreviewView().addChildElement(e[t],n>=0?{at:n++}:null);elementor.channels.data.trigger("template:after:insert",{})}}(e.data.content,"block"),this.setState({modalActive:!1,activeBlock:!1}),window.analogCustomLibraryModal.hide()):this.setState({blockImported:!0})})).catch((e=>{t(e.message,"error","import-error",!1),this.setState({modalActive:!1,activeBlock:!1})}))}getItemCount(e){const t=this.context.state.blocks.filter((t=>t.tags.indexOf(e)>-1));return!!t&&t.length}makeFavorite=e=>{const t=this.context.state.blockFavorites;if(this.context.markFavorite(e,!(e in t),"block"),e in t?delete t[e]:t[e]=!(e in t),this.context.dispatch({blockFavorites:t}),this.context.state.showing_favorites){const e=this.context.state.blocks.filter((e=>e.id in t));this.context.dispatch({blocks:e})}};render(){const e={state:this.state,dispatch:e=>this.setState(e)};return(0,xt.jsx)(ur,{children:(0,xt.jsxs)(dr,{className:hr,children:[(0,xt.jsx)(sr,{state:e}),(0,xt.jsx)(Qt,{state:e,importBlock:this.importBlock,favorites:this.context.state.blockFavorites,makeFavorite:this.makeFavorite})]})})}}function mr(e){const t=moment.unix(e),r=moment.now();return Math.ceil(moment.duration(t.diff(r)).asMinutes())}const gr=React.createContext(),br=(gr.Provider,gr.Consumer);class vr extends React.Component{constructor(){super(...arguments),this.state={notices:[]},this.autoDismissTimeout=3e3,this.add=this.add.bind(this)}getNotices(){return this.state.notices.map((e=>(0,xt.jsx)(yr,{id:e.id,type:e.type,label:e.label,onDismiss:()=>this.remove(e.id),autoDismiss:!!e.autoDismiss&&e.autoDismiss,autoDismissTimeout:e.autoDismissTimeout?e.autoDismissTimeout:this.autoDismissTimeout},e.id)))}add(e,t="success",r=function(){let e=46656*Math.random()||0,t=46656*Math.random()||0;return e=("000"+e.toString(36)).slice(-3),t=("000"+t.toString(36)).slice(-3),e+t}(),n=!0,o=3e3){const a=[...this.state.notices,{label:e,id:r,type:t,autoDismiss:n,autoDismissTimeout:o}];this.setState({notices:a})}remove(e){const t=this.state.notices.filter((t=>t.id!==e));this.setState({notices:t})}onDismiss=e=>()=>this.remove(e);render(){const{add:e}=this,{children:t}=this.props;return(0,xt.jsxs)(gr.Provider,{value:{add:e},children:[(0,xt.jsx)("div",{className:"analog-custom-library-notices",children:this.getNotices()}),t]})}}class yr extends React.Component{timeout=0;state={autoDismissTimeout:this.props.autoDismissTimeout,autoDismiss:this.props.autoDismiss};static defaultProps={autoDismiss:!1};static getDerivedStateFromProps({autoDismiss:e,autoDismissTimeout:t}){return e?{autoDismissTimeout:"number"==typeof e?e:t}:null}componentDidMount(){const{autoDismiss:e,onDismiss:t}=this.props,{autoDismissTimeout:r}=this.state;e&&(this.timeout=setTimeout(t,r))}componentWillUnmount(){this.timeout&&clearTimeout(this.timeout)}render(){const{onDismiss:e,label:t,id:r,type:n}=this.props;return(0,xt.jsxs)("div",{id:r,className:`notifications-container type-${n}`,children:[(0,xt.jsx)("div",{className:"notification-countdown",style:{opacity:this.state.autoDismiss?1:0,animation:`sk-notification-anim ${this.state.autoDismissTimeout}ms linear`,animationPlayState:"running"}}),(0,xt.jsx)("div",{className:"icon-wrapper",children:(o=n,"success"===o?(0,xt.jsx)(jt,{}):"error"===o?(0,xt.jsx)(kt,{}):(0,xt.jsx)(Ct,{}))}),(0,xt.jsx)("p",{children:t}),(0,xt.jsx)("button",{onClick:()=>e(),children:(0,xt.jsx)(wt,{})})]});var o}}const xr=()=>(0,xt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:(0,xt.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"})}),wr=()=>(0,xt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"size-6",children:(0,xt.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99"})}),{__:kr}=wp.i18n,{Button:Cr}=wp.components,jr=()=>(0,xt.jsxs)("div",{className:"actions",children:[(0,xt.jsx)(pt.Consumer,{children:e=>(0,xt.jsx)(br,{children:({add:t})=>(0,xt.jsx)(Cr,{className:yt()("analog-custom-library-sync",{"is-active":e.state.syncing}),onClick:r=>{r.preventDefault(),e.forceRefresh().then((()=>t(kr("Library is now synced","analogwp-library")))).catch((()=>t(kr("Something is not right, please try again.","analogwp-library"),"error")))},children:(e.state.syncing,(0,xt.jsx)(wr,{}))})})}),!AGWP_LIBRARY.is_settings_page&&(0,xt.jsx)(Cr,{className:"close-modal",children:(0,xt.jsx)(xr,{className:"icons"})})]}),Ar=lt` 287 `,dr={blocks:[],activeBlock:!1,blockImported:!1,modalActive:!1},hr=AGWP_LIBRARY.libraryCategoriesLocation?AGWP_LIBRARY.libraryCategoriesLocation:"horizontal";class fr extends lr{static contextType=dt;constructor(){super(...arguments),this.state={...dr},this.importBlock=this.importBlock.bind(this),this.handleImport=this.handleImport.bind(this)}importBlock(e,t){this.setState({modalActive:!0,activeBlock:e}),this.handleImport(e,t)}handleImport(e,t){const r=Boolean(AGWP_LIBRARY.is_settings_page)?"library":"elementor";(async function(e,t){return await ht({path:"/agwp-library/v1/blocks/insert",method:"post",data:{block:e,method:t}}).then((e=>e))})(e,r).then((e=>{"elementor"===r?(function(e,t="template"){let r=__("Template","analogwp-library");"block"===t&&(r=__("Block","analogwp-library"));let n=analogCustomLibrary.insertIndex||-1;if("undefined"!=typeof $e){const t=$e.internal("document/history/start-log",{type:"add",title:`${__("Add Custom Library for Elementor","analogwp-library")} ${r}`});for(let t=0;t<e.length;t++)$e.run("document/elements/create",{container:elementor.getPreviewContainer(),model:e[t],options:n>=0?{at:n++}:{}});$e.internal("document/history/end-log",{id:t})}else{const t=new Backbone.Model({getTitle:()=>"Test"});elementor.channels.data.trigger("template:before:insert",t);for(let t=0;t<json.data.content.length;t++)elementor.getPreviewView().addChildElement(e[t],n>=0?{at:n++}:null);elementor.channels.data.trigger("template:after:insert",{})}}(e.data.content,"block"),this.setState({modalActive:!1,activeBlock:!1}),window.analogCustomLibraryModal.hide()):this.setState({blockImported:!0})})).catch((e=>{t(e.message,"error","import-error",!1),this.setState({modalActive:!1,activeBlock:!1})}))}getItemCount(e){const t=this.context.state.blocks.filter((t=>t.tags.indexOf(e)>-1));return!!t&&t.length}makeFavorite=e=>{const t=this.context.state.blockFavorites;if(this.context.markFavorite(e,!(e in t),"block"),e in t?delete t[e]:t[e]=!(e in t),this.context.dispatch({blockFavorites:t}),this.context.state.showing_favorites){const e=this.context.state.blocks.filter((e=>e.id in t));this.context.dispatch({blocks:e})}};render(){const e={state:this.state,dispatch:e=>this.setState(e)};return(0,xt.jsx)(ur,{children:(0,xt.jsxs)(pr,{className:hr,children:[(0,xt.jsx)(sr,{state:e}),(0,xt.jsx)(Qt,{state:e,importBlock:this.importBlock,favorites:this.context.state.blockFavorites,makeFavorite:this.makeFavorite})]})})}}function mr(e){const t=moment.unix(e),r=moment.now();return Math.ceil(moment.duration(t.diff(r)).asMinutes())}const gr=React.createContext(),br=(gr.Provider,gr.Consumer);class vr extends React.Component{constructor(){super(...arguments),this.state={notices:[]},this.autoDismissTimeout=3e3,this.add=this.add.bind(this)}getNotices(){return this.state.notices.map((e=>(0,xt.jsx)(yr,{id:e.id,type:e.type,label:e.label,onDismiss:()=>this.remove(e.id),autoDismiss:!!e.autoDismiss&&e.autoDismiss,autoDismissTimeout:e.autoDismissTimeout?e.autoDismissTimeout:this.autoDismissTimeout},e.id)))}add(e,t="success",r=function(){let e=46656*Math.random()||0,t=46656*Math.random()||0;return e=("000"+e.toString(36)).slice(-3),t=("000"+t.toString(36)).slice(-3),e+t}(),n=!0,o=3e3){const a=[...this.state.notices,{label:e,id:r,type:t,autoDismiss:n,autoDismissTimeout:o}];this.setState({notices:a})}remove(e){const t=this.state.notices.filter((t=>t.id!==e));this.setState({notices:t})}onDismiss=e=>()=>this.remove(e);render(){const{add:e}=this,{children:t}=this.props;return(0,xt.jsxs)(gr.Provider,{value:{add:e},children:[(0,xt.jsx)("div",{className:"analog-custom-library-notices",children:this.getNotices()}),t]})}}class yr extends React.Component{timeout=0;state={autoDismissTimeout:this.props.autoDismissTimeout,autoDismiss:this.props.autoDismiss};static defaultProps={autoDismiss:!1};static getDerivedStateFromProps({autoDismiss:e,autoDismissTimeout:t}){return e?{autoDismissTimeout:"number"==typeof e?e:t}:null}componentDidMount(){const{autoDismiss:e,onDismiss:t}=this.props,{autoDismissTimeout:r}=this.state;e&&(this.timeout=setTimeout(t,r))}componentWillUnmount(){this.timeout&&clearTimeout(this.timeout)}render(){const{onDismiss:e,label:t,id:r,type:n}=this.props;return(0,xt.jsxs)("div",{id:r,className:`notifications-container type-${n}`,children:[(0,xt.jsx)("div",{className:"notification-countdown",style:{opacity:this.state.autoDismiss?1:0,animation:`sk-notification-anim ${this.state.autoDismissTimeout}ms linear`,animationPlayState:"running"}}),(0,xt.jsx)("div",{className:"icon-wrapper",children:(o=n,"success"===o?(0,xt.jsx)(jt,{}):"error"===o?(0,xt.jsx)(kt,{}):(0,xt.jsx)(Ct,{}))}),(0,xt.jsx)("p",{children:t}),(0,xt.jsx)("button",{onClick:()=>e(),children:(0,xt.jsx)(wt,{})})]});var o}}const xr=()=>(0,xt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:(0,xt.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"})}),wr=()=>(0,xt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"size-6",children:(0,xt.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99"})}),{__:kr}=wp.i18n,{Button:Cr}=wp.components,jr=()=>(0,xt.jsxs)("div",{className:"actions",children:[(0,xt.jsx)(dt.Consumer,{children:e=>(0,xt.jsx)(br,{children:({add:t})=>(0,xt.jsx)(Cr,{className:yt()("analog-custom-library-sync",{"is-active":e.state.syncing}),onClick:r=>{r.preventDefault(),e.forceRefresh().then((()=>t(kr("Library is now synced","analogwp-library")))).catch((()=>t(kr("Something is not right, please try again.","analogwp-library"),"error")))},children:(e.state.syncing,(0,xt.jsx)(wr,{}))})})}),!AGWP_LIBRARY.is_settings_page&&(0,xt.jsx)(Cr,{className:"close-modal",children:(0,xt.jsx)(xr,{className:"icons"})})]}),Ar=()=>(0,xt.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,xt.jsx)("path",{d:"M6 12C5.46957 12 4.96086 11.7893 4.58579 11.4142C4.21071 11.0391 4 10.5304 4 10C4 9.46957 4.21071 8.96086 4.58579 8.58579C4.96086 8.21071 5.46957 8 6 8M6 12C6.53043 12 7.03914 11.7893 7.41421 11.4142C7.78929 11.0391 8 10.5304 8 10C8 9.46957 7.78929 8.96086 7.41421 8.58579C7.03914 8.21071 6.53043 8 6 8M6 12V20M6 8V4M12 18C11.4696 18 10.9609 17.7893 10.5858 17.4142C10.2107 17.0391 10 16.5304 10 16C10 15.4696 10.2107 14.9609 10.5858 14.5858C10.9609 14.2107 11.4696 14 12 14M12 18C12.5304 18 13.0391 17.7893 13.4142 17.4142C13.7893 17.0391 14 16.5304 14 16C14 15.4696 13.7893 14.9609 13.4142 14.5858C13.0391 14.2107 12.5304 14 12 14M12 18V20M12 14V4M18 9C17.4696 9 16.9609 8.78929 16.5858 8.41421C16.2107 8.03914 16 7.53043 16 7C16 6.46957 16.2107 5.96086 16.5858 5.58579C16.9609 5.21071 17.4696 5 18 5M18 9C18.5304 9 19.0391 8.78929 19.4142 8.41421C19.7893 8.03914 20 7.53043 20 7C20 6.46957 19.7893 5.96086 19.4142 5.58579C19.0391 5.21071 18.5304 5 18 5M18 9V20M18 5V4",stroke:"white","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})}),{__:Sr}=wp.i18n,{Button:Ir,Dropdown:Or,MenuGroup:_r,MenuItem:Rr}=wp.components,Lr=ut(Ir)` 288 color: var(--analog-custom-library-btn-text) !important; 289 font-weight: 500 !important; 290 font-size: 12px !important; 291 text-transform: uppercase; 292 letter-spacing: 0.5px; 293 display: inline-flex !important; 294 align-items: center !important; 295 gap: 6px; 296 padding: 6px 12px !important; 297 border-radius: 4px !important; 298 background: transparent !important; 299 margin-right: 12px; 300 height: auto !important; 301 min-height: 32px; 302 303 svg { 304 width: 14px; 305 height: 14px; 306 } 307 `,Pr=ut.div` 308 min-width: 180px; 309 310 .components-menu-group { 311 padding: 8px 0; 312 } 313 314 .components-menu-item__button { 315 width: 100%; 316 padding: 8px 14px; 317 display: flex; 318 align-items: center; 319 gap: 8px; 320 font-size: 14px; 321 font-weight: 400; 322 color: var(--analog-custom-library-top-header-text) !important; 323 324 &.is-active { 325 .filter-icon .circle { 326 width: 8px; 327 height: 8px; 328 border-radius: 100%; 329 background: white; 330 } 331 } 332 333 &:hover, 334 &:focus { 335 box-shadow: none !important; 336 outline: none !important; 337 } 338 } 339 340 .filter-icon { 341 width: 18px; 342 height: 18px; 343 padding: 4px; 344 display: flex; 345 align-items: center; 346 justify-content: center; 347 border: 1px solid var(--analog-custom-library-top-header-text) !important; 348 border-radius: 100%; 349 margin-right: 8px; 350 } 351 `,Nr=[{value:"all",label:Sr("All Templates","analogwp-library")},{value:"local",label:Sr("Local Only","analogwp-library")},{value:"remote",label:Sr("Remote Only","analogwp-library")}],Tr=()=>{const e=React.useContext(dt),t=AGWP_LIBRARY?.sourceFilter;if(!t?.enabled)return null;const r=e.state.sourceFilter||"all";return Nr.find((e=>e.value===r))||Nr[0],(0,xt.jsx)(Or,{className:"analog-source-filter-dropdown",contentClassName:"analog-custom-library-themed",popoverProps:{placement:"bottom-end"},renderToggle:({isOpen:e,onToggle:t})=>(0,xt.jsx)(Lr,{onClick:t,"aria-expanded":e,children:(0,xt.jsx)(Ar,{})}),renderContent:({onClose:t})=>(0,xt.jsx)(Pr,{children:(0,xt.jsx)(_r,{children:Nr.map((n=>(0,xt.jsxs)(Rr,{className:r===n.value?"is-active":"",onClick:()=>{e.setSourceFilter(n.value),t()},children:[(0,xt.jsx)("span",{className:"filter-icon",children:(0,xt.jsx)("span",{className:"circle"})}),n.label]},n.value)))})})})},Er=()=>(0,xt.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,xt.jsx)("path",{d:"M21 21L15 15M3 10C3 10.9193 3.18106 11.8295 3.53284 12.6788C3.88463 13.5281 4.40024 14.2997 5.05025 14.9497C5.70026 15.5998 6.47194 16.1154 7.32122 16.4672C8.1705 16.8189 9.08075 17 10 17C10.9193 17 11.8295 16.8189 12.6788 16.4672C13.5281 16.1154 14.2997 15.5998 14.9497 14.9497C15.5998 14.2997 16.1154 13.5281 16.4672 12.6788C16.8189 11.8295 17 10.9193 17 10C17 9.08075 16.8189 8.1705 16.4672 7.32122C16.1154 6.47194 15.5998 5.70026 14.9497 5.05025C14.2997 4.40024 13.5281 3.88463 12.6788 3.53284C11.8295 3.18106 10.9193 3 10 3C9.08075 3 8.1705 3.18106 7.32122 3.53284C6.47194 3.88463 5.70026 4.40024 5.05025 5.05025C4.40024 5.70026 3.88463 6.47194 3.53284 7.32122C3.18106 8.1705 3 9.08075 3 10Z",stroke:"white","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})}),{__:Fr}=wp.i18n,Mr=lt` 352 from { 353 width: 32px; 354 opacity: 0.8; 355 } 356 to { 357 width: 250px; 358 opacity: 1; 359 } 360 `,Br=lt` 361 from { 362 width: 250px; 363 opacity: 1; 364 } 365 to { 366 width: 32px; 367 opacity: 0.8; 368 } 369 `,Dr=ut.div` 370 display: flex; 371 align-items: center; 372 position: relative; 373 margin-right: 8px; 374 padding: 0 12px; 375 `,$r=ut.button` 376 background: transparent; 377 padding: 6px 0; 378 border: none; 379 cursor: pointer; 380 display: flex; 381 align-items: center; 382 justify-content: center; 383 color: var(--analog-custom-library-btn-text); 384 transition: background 0.2s ease; 385 386 &:hover, 387 &:focus { 388 outline: none; 389 } 390 391 svg { 392 width: 16px; 393 height: 16px; 394 } 395 `,zr=ut.div` 396 display: flex; 397 align-items: center; 398 border-radius: 4px; 399 padding: 0; 400 height: 32px; 401 width: 250px; 402 animation: ${Mr} 0.2s ease-out forwards; 403 404 ${e=>e.$isClosing&&Oe` 405 animation: ${Br} 0.2s ease-out forwards; 406 `} 407 `,Wr=ut.input` 408 flex: 1; 409 background-color: rgba(0, 0, 0, 0.15) !important; 410 border: none; 411 outline: none; 412 color: var(--analog-custom-library-top-header-text) !important; 413 font-size: 14px; 414 font-weight: 400; 415 line-height: 1; 416 padding: 10px 12px; 417 width: 100%; 418 419 &::placeholder { 420 color: rgba(255, 255, 255, 0.6); 421 } 422 `,Gr=ut.span` 423 display: flex; 424 align-items: center; 425 justify-content: center; 426 color: var(--analog-custom-library-btn-text); 427 opacity: 0.7; 428 429 svg { 430 width: 14px; 431 height: 14px; 432 } 433 `,Yr=ut.button` 434 margin-left: 14px; 435 background: transparent; 436 border: none; 437 cursor: pointer; 438 display: flex; 439 align-items: center; 440 justify-content: center; 441 color: var(--analog-custom-library-btn-text); 442 padding: 0; 443 border-radius: 2px; 444 transition: background 0.2s ease; 445 446 &:hover, 447 &:focus { 448 outline: none; 449 } 450 451 svg { 452 width: 10px; 453 height: 10px; 454 fill: currentColor; 455 } 456 `,Hr=()=>{const e=(0,a.useContext)(dt),[t,r]=(0,a.useState)(!1),[n,o]=(0,a.useState)(!1),[i,s]=(0,a.useState)(""),c=(0,a.useRef)(null);(0,a.useEffect)((()=>{s(e.state.blocksSearchInput||"")}),[e.state.blocksSearchInput]);const l=()=>{o(!0),s(""),e.handleSearch(""),setTimeout((()=>{r(!1),o(!1)}),200)};return t?(0,xt.jsx)(Dr,{children:(0,xt.jsxs)(zr,{$isClosing:n,children:[!t&&(0,xt.jsx)(Gr,{children:(0,xt.jsx)(Er,{})}),(0,xt.jsx)(Wr,{ref:c,type:"text",value:i,onChange:t=>{const r=t.target.value;s(r),e.handleSearch(r)},onKeyDown:e=>{"Escape"===e.key&&l()},placeholder:Fr("Search templates...","analogwp-library"),"aria-label":Fr("Search templates","analogwp-library")}),(0,xt.jsx)(Yr,{onClick:l,"aria-label":Fr("Close search","analogwp-library"),title:Fr("Close search","analogwp-library"),children:(0,xt.jsx)(xr,{className:"icons"})})]})}):(0,xt.jsx)(Dr,{children:(0,xt.jsx)($r,{onClick:()=>{r(!0),o(!1),setTimeout((()=>{c.current&&c.current.focus()}),100)},"aria-label":Fr("Search templates","analogwp-library"),title:Fr("Search templates","analogwp-library"),children:(0,xt.jsx)(Er,{})})})},qr=lt` 288 457 from { 289 458 transform: rotate(0deg); … … 293 462 transform: rotate(360deg); 294 463 } 295 `, Sr=ut.div.attrs({className:"analogwp-header"})`464 `,Ur=ut.div.attrs({className:"analogwp-header"})` 296 465 padding: 8px 24px; 297 466 background: var(--analog-custom-library-top-header-bg); … … 336 505 pointer-events: none; 337 506 svg { 338 animation: ${ Ar} 2s linear infinite;507 animation: ${qr} 2s linear infinite; 339 508 } 340 509 } … … 358 527 letter-spacing: 1px; 359 528 } 360 `,Ir=()=>{const{theme:e}=React.useContext(bt);return(0,xt.jsx)(Sr,{theme:e,children:(0,xt.jsxs)("div",{className:"analog-custom-library-container",children:[(0,xt.jsx)("div",{className:"logo",children:(0,xt.jsx)("h2",{children:AGWP_LIBRARY?.library_title_text})}),(0,xt.jsx)(jr,{})]})})},{apiFetch:Or}=wp,Lr=ut.div` 529 530 .header-actions { 531 display: flex; 532 align-items: center; 533 } 534 `,Vr=()=>{const{theme:e}=React.useContext(bt);return(0,xt.jsx)(Ur,{theme:e,children:(0,xt.jsxs)("div",{className:"analog-custom-library-container",children:[(0,xt.jsx)("div",{className:"logo",children:(0,xt.jsx)("h2",{children:AGWP_LIBRARY?.library_title_text})}),(0,xt.jsxs)("div",{className:"header-actions",children:[(0,xt.jsx)(Hr,{}),(0,xt.jsx)(Tr,{}),(0,xt.jsx)(jr,{})]})]})})},{apiFetch:Xr}=wp,Zr=ut.div` 361 535 margin: 0 0 0 -20px; 362 536 -webkit-font-smoothing: antialiased; … … 489 663 visibility: hidden; 490 664 } 491 `;class Rr extends React.Component{constructor(){super(...arguments),this.state={blocks:[],count:null,isOpen:!1,syncing:!1,favorites:AGWP_LIBRARY.favorites,blockFavorites:AGWP_LIBRARY.blockFavorites,showing_favorites:!1,blockArchive:[],showFree:!0,showPro:!0,group:!0,tab:"blocks",blocksTab:"all",hasPro:!1,settings:{},blocksSearchInput:"",itemFilteredWithSearchTerm:function(e,t){let r=[];return e.filter((e=>(e.tags&&e.tags[0]&&(r=e.tags.filter((e=>e.toLowerCase().includes(t)))),e.title.toLowerCase().includes(t)||r.length>=1)))}},this.refreshAPI=this.refreshAPI.bind(this),this.toggleFavorites=this.toggleFavorites.bind(this),this.handleSearch=this.handleSearch.bind(this),this.handleSort=this.handleSort.bind(this),this.handleFilter=this.handleFilter.bind(this),this.switchTabs=this.switchTabs.bind(this)}switchTabs(){const e=location.hash;["#blocks"].indexOf(e)>-1&&AGWP_LIBRARY.is_settings_page&&this.setState({tab:e.substr(1),templates:this.state.archive,blocks:this.state.blockArchive,showing_favorites:!1})}async componentDidMount(){window.addEventListener("hashchange",this.switchTabs,!1),window.addEventListener("DOMContentLoaded",this.switchTabs,!1),"false"===window.localStorage.getItem("analog-custom-library::show-free")&&this.setState({showFree:!1}),"false"===window.localStorage.getItem("analog-custom-library::show-pro")&&this.setState({showPro:!1}),this.setState({syncing:!0});const e=(await async function(){return await ht({path:"/agwp-library/v1/templates"}).then((e=>e))}()).library;var t;this.setState({templates:e.templates,archive:e.templates,blockArchive:e.blocks,count:e.templates.length,hasPro:(t=e.templates,t.some((e=>!0===e.is_pro))),blocks:e.blocks,blocksTab:"all",syncing:!1}),this.handleSort("latest"),document.addEventListener("modal-close",(()=>{this.setState({isOpen:!1,showing_favorites:!1,templates:this.state.archive})})),async function(){return await ht({path:"/agwp-library/v1/get/settings"}).then((e=>e))}().then((e=>this.setState({settings:e})))}handleFilter(e){const t=[...this.state.blockArchive];if("all"===e)return void this.setState({blocks:this.state.blockArchive});const r=t.filter((t=>t.tags[0]===e));this.setState({blocks:r})}handleSort(e){this.setState({showing_favorites:!1});const t=this.state.blocks;if("popular"===e){const e=t.sort(((e,t)=>{if("popularityIndex"in e){if(parseInt(e.popularityIndex)<parseInt(t.popularityIndex))return 1;if(parseInt(e.popularityIndex)>parseInt(t.popularityIndex))return-1}return 0}));this.setState({blocks:e})}if("latest"===e){const e=t.sort(((e,t)=>{if("published"in e){if(parseInt(mr(e.published))<parseInt(mr(t.published)))return 1;if(parseInt(mr(e.published))>parseInt(mr(t.published)))return-1}return 0}));this.setState({blocks:e})}}handleSearch(e,t="blocks"){let r=this.state.blockArchive,n=[],o=[];e&&(n=r.filter((r=>("patterns"===t&&r.keywords&&r.keywords[0]?o=r.keywords.filter((t=>t.toLowerCase().includes(e.toLowerCase()))):r.tags&&r.tags[0]&&(o=r.tags.filter((t=>t.toLowerCase().includes(e.toLowerCase())))),r.title.toLowerCase().includes(e.toLowerCase())||o.length>=1))),n.length>0)?this.setState({blocks:n,blocksSearchInput:e}):this.setState({blocks:e?[]:this.state.blockArchive,blocksSearchInput:""})}async refreshAPI(){return this.setState({syncing:!0,blocksSearchInput:""}),wp.hooks.doAction("analog.refreshLibrary"),await Or({path:"/agwp-library/v1/templates/?force_update=true"}).then((e=>{const t=e.library;this.setState({blockArchive:t.blocks,blocks:t.blocks,syncing:!1,blocksSearchInput:"",blocksTab:"all"})})).catch((()=>{this.setState({syncing:!1})}))}toggleFavorites(){this.setState({group:!1}),window.localStorage.setItem("analog-custom-library::group-block",!1);const e=this.state.blockArchive.filter((e=>e.id in this.state.blockFavorites));this.setState({showing_favorites:!this.state.showing_favorites,blocks:this.state.showing_favorites?this.state.blockArchive:e})}render(){return(0,xt.jsx)(bt.Provider,{value:{theme:gt},children:(0,xt.jsx)(bt.Consumer,{children:({theme:e})=>(0,xt.jsx)(Lr,{theme:e,children:(0,xt.jsx)(vr,{children:(0,xt.jsxs)(pt.Provider,{value:{state:this.state,forceRefresh:this.refreshAPI,markFavorite:ft,toggleFavorites:this.toggleFavorites,handleSearch:this.handleSearch,handleSort:this.handleSort,handleFilter:this.handleFilter,dispatch:e=>this.setState(e)},children:[(0,xt.jsx)(Ir,{}),(0,xt.jsx)("div",{className:"analogwp-content",children:(0,xt.jsx)("div",{className:"ang-container",children:(this.state,(0,xt.jsx)(fr,{}))})})]})})})})})}}const _r=Rr,Pr="analog-custom-library",Tr=(e,t)=>{document.getElementById(Pr)?t():setTimeout((function(){window.requestAnimationFrame((function(){Tr(e,t)}))}),1e3)};Tr(document.getElementById(Pr),(()=>{if(window.AGWP_LIBRARY&&window.AGWP_LIBRARY.wp_version&&window.AGWP_LIBRARY.wp_version>="6.2"){const{createRoot:e}=wp.element;e(document.getElementById(Pr)).render((0,xt.jsx)(_r,{}))}else{const{render:e}=wp.element;e((0,xt.jsx)(_r,{}),document.getElementById(Pr))}}))})()})();665 `;class Jr extends React.Component{constructor(){super(...arguments),this.state={blocks:[],count:null,isOpen:!1,syncing:!1,favorites:AGWP_LIBRARY.favorites,blockFavorites:AGWP_LIBRARY.blockFavorites,showing_favorites:!1,blockArchive:[],showFree:!0,showPro:!0,group:!0,tab:"blocks",blocksTab:"all",hasPro:!1,settings:{},blocksSearchInput:"",sourceFilter:"all",itemFilteredWithSearchTerm:function(e,t){let r=[];return e.filter((e=>(e.tags&&e.tags[0]&&(r=e.tags.filter((e=>e.toLowerCase().includes(t)))),e.title.toLowerCase().includes(t)||r.length>=1)))}},this.refreshAPI=this.refreshAPI.bind(this),this.toggleFavorites=this.toggleFavorites.bind(this),this.handleSearch=this.handleSearch.bind(this),this.handleSort=this.handleSort.bind(this),this.handleFilter=this.handleFilter.bind(this),this.switchTabs=this.switchTabs.bind(this),this.setSourceFilter=this.setSourceFilter.bind(this)}setSourceFilter(e){this.setState({sourceFilter:e})}switchTabs(){const e=location.hash;["#blocks"].indexOf(e)>-1&&AGWP_LIBRARY.is_settings_page&&this.setState({tab:e.substr(1),templates:this.state.archive,blocks:this.state.blockArchive,showing_favorites:!1})}async componentDidMount(){window.addEventListener("hashchange",this.switchTabs,!1),window.addEventListener("DOMContentLoaded",this.switchTabs,!1),"false"===window.localStorage.getItem("analog-custom-library::show-free")&&this.setState({showFree:!1}),"false"===window.localStorage.getItem("analog-custom-library::show-pro")&&this.setState({showPro:!1}),this.setState({syncing:!0});const e=(await async function(){return await ht({path:"/agwp-library/v1/templates"}).then((e=>e))}()).library;var t;this.setState({templates:e.templates,archive:e.templates,blockArchive:e.blocks,count:e.templates.length,hasPro:(t=e.templates,t.some((e=>!0===e.is_pro))),blocks:e.blocks,blocksTab:"all",syncing:!1}),this.handleSort("latest"),document.addEventListener("modal-close",(()=>{this.setState({isOpen:!1,showing_favorites:!1,templates:this.state.archive})})),async function(){return await ht({path:"/agwp-library/v1/get/settings"}).then((e=>e))}().then((e=>this.setState({settings:e})))}handleFilter(e){const t=[...this.state.blockArchive];if("all"===e)return void this.setState({blocks:this.state.blockArchive});const r=t.filter((t=>t.tags[0]===e));this.setState({blocks:r})}handleSort(e){this.setState({showing_favorites:!1});const t=this.state.blocks;if("popular"===e){const e=t.sort(((e,t)=>{if("popularityIndex"in e){if(parseInt(e.popularityIndex)<parseInt(t.popularityIndex))return 1;if(parseInt(e.popularityIndex)>parseInt(t.popularityIndex))return-1}return 0}));this.setState({blocks:e})}if("latest"===e){const e=t.sort(((e,t)=>{if("published"in e){if(parseInt(mr(e.published))<parseInt(mr(t.published)))return 1;if(parseInt(mr(e.published))>parseInt(mr(t.published)))return-1}return 0}));this.setState({blocks:e})}}handleSearch(e,t="blocks"){let r=this.state.blockArchive,n=[],o=[];e&&(n=r.filter((r=>("patterns"===t&&r.keywords&&r.keywords[0]?o=r.keywords.filter((t=>t.toLowerCase().includes(e.toLowerCase()))):r.tags&&r.tags[0]&&(o=r.tags.filter((t=>t.toLowerCase().includes(e.toLowerCase())))),r.title.toLowerCase().includes(e.toLowerCase())||o.length>=1))),n.length>0)?this.setState({blocks:n,blocksSearchInput:e}):this.setState({blocks:e?[]:this.state.blockArchive,blocksSearchInput:e||""})}async refreshAPI(){return this.setState({syncing:!0,blocksSearchInput:""}),wp.hooks.doAction("analog.refreshLibrary"),await Xr({path:"/agwp-library/v1/templates/?force_update=true"}).then((e=>{const t=e.library;this.setState({blockArchive:t.blocks,blocks:t.blocks,syncing:!1,blocksSearchInput:"",blocksTab:"all"})})).catch((()=>{this.setState({syncing:!1})}))}toggleFavorites(){this.setState({group:!1}),window.localStorage.setItem("analog-custom-library::group-block",!1);const e=this.state.blockArchive.filter((e=>e.id in this.state.blockFavorites));this.setState({showing_favorites:!this.state.showing_favorites,blocks:this.state.showing_favorites?this.state.blockArchive:e})}render(){return(0,xt.jsx)(bt.Provider,{value:{theme:gt},children:(0,xt.jsx)(bt.Consumer,{children:({theme:e})=>(0,xt.jsx)(Zr,{theme:e,children:(0,xt.jsx)(vr,{children:(0,xt.jsxs)(dt.Provider,{value:{state:this.state,forceRefresh:this.refreshAPI,markFavorite:ft,toggleFavorites:this.toggleFavorites,handleSearch:this.handleSearch,handleSort:this.handleSort,handleFilter:this.handleFilter,setSourceFilter:this.setSourceFilter,dispatch:e=>this.setState(e)},children:[(0,xt.jsx)(Vr,{}),(0,xt.jsx)("div",{className:"analogwp-content",children:(0,xt.jsx)("div",{className:"ang-container",children:(this.state,(0,xt.jsx)(fr,{}))})})]})})})})})}}const Kr=Jr,Qr="analog-custom-library",en=(e,t)=>{document.getElementById(Qr)?t():setTimeout((function(){window.requestAnimationFrame((function(){en(e,t)}))}),1e3)};en(document.getElementById(Qr),(()=>{if(window.AGWP_LIBRARY&&window.AGWP_LIBRARY.wp_version&&window.AGWP_LIBRARY.wp_version>="6.2"){const{createRoot:e}=wp.element;e(document.getElementById(Qr)).render((0,xt.jsx)(Kr,{}))}else{const{render:e}=wp.element;e((0,xt.jsx)(Kr,{}),document.getElementById(Qr))}}))})()})(); -
analogwp-library/trunk/inc/Settings/class-register-settings.php
r3440313 r3451006 9 9 10 10 use AnalogWP\CustomLibrary\Plugin; 11 use AnalogWP\CustomLibrary\Utils; 11 12 12 13 /** 13 * class Register_Settings.14 * Class Register_Settings. 14 15 */ 15 16 class Register_Settings { … … 149 150 global $menu; 150 151 151 $elementor_position = 58; // Default Elementor position. 152 153 if ( ! empty( $menu ) ) { 154 foreach ( $menu as $position => $item ) { 155 if ( isset( $item[2] ) && 'elementor' === $item[2] ) { 156 $elementor_position = $position; 157 break; 158 } 159 } 160 } 161 162 // Place our menu right after Elementor (add small decimal to avoid conflicts). 163 return $elementor_position + 0.1; 152 $elementor_position = 2; // Default Elementor position. 153 154 // Support pre 3.34.3 Elementor versions. 155 if ( Utils::is_elementor_pre( '3.34.2' ) ) { 156 $elementor_position = 58; 157 } 158 159 // Place our menu right after Elementor. 160 return $elementor_position + 1; 164 161 } 165 162 -
analogwp-library/trunk/languages/analogwp-library-analog-custom-library-app.json
r3440313 r3451006 1 {"domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural_forms":"nplurals=2; plural=(n!=1);","lang":"en"},"Custom Library for Elementor":[""],"https://analogwp.com/custom-library-for-elementor":[""],"Custom Library for Elementor creates the foundation for a design framework that will help you create better, more consistent websites with Elementor.":[""],"AnalogWP":[""],"https://analogwp.com/":[""],"Custom Library for Elementor requires PHP version %s":[""],"Error Activating":[""],"Custom Library for Elementor requires WordPress version %s+. Because you are using an earlier version, the plugin is currently NOT RUNNING.":[""],"Custom Library for Elementor requires Elementor v%s or newer in order to work. Please update Elementor to the latest version.":[""],"Update Elementor Now":[""],"Custom Library for Elementor is not working because you need to activate the Elementor plugin.":[""],"Activate Elementor Now":[""],"Custom Library for Elementor is not working because you need to install the Elementor plugin.":[""],"Install Elementor Now":[""],"Settings":[""],"Custom Library":[""],"Library":[""],"Something went wrong.":[""],"Template":[""],"Block":[""],"Add Custom Library for Elementor":[""],"Library is now synced":[""],"Something is not right, please try again.":[""]," Get unlimited access to the Custom Library for Elementor library and features with the PRO version.":[""],"View Plans":[""],"Templates":[""],"Blocks":[""],"Exit preview":[""],"Open in new tab":[""],"Import Template":[""],"This page has been moved to a new location":[""],"Redirecting you now...":[""],"Click here if you are not redirected automatically":[""],"Your settings have been saved.":[""],"The changes you made will be lost if you navigate away from this page.":[""],"Select Image":[""],"Use this image":[""],"Pro":[""],"Upgrade to Pro":[""],"Toggle":[""],"Change Image":[""],"Revert to Default":[""],"Import":[""],"Go":[""],"Export All":[""],"Custom Library for Elementor Shortcuts":[""],"Templates Library":[""],"Theme Custom Library for Elementor":[""],"Add to library":[""],"Custom Library for Elementor Logo":[""],"Enjoyed %1$s? Please leave us a %2$s rating. We really appreciate your support!":[""],"View Documentation":[""],"Documentation":[""],"Get Support":[""],"Invalid Template ID.":[""],"No options key provided.":[""],"Setting updated.":[""],"Back to Library":[""],"Loading icon":[""],"Search Templates":[""],"The %s has been imported and is now available in the":[""],"Elementor %s library":[""],"Ok, thanks":[""],"No Templates found":[""],"Loading Templates...":[""],"Insert":[""],"Save changes":[""],"Your Email":[""],"First Name":[""],"Send me the coupon":[""],"By submitting your details, you agree to our %s.":[""],"privacy policy":[""],"Version Control":[""],"Rollback Versions":[""],"If you are having issues with current version of Custom Library, you can rollback to a previous stable version.":[""],"Rollback Custom Library":[""],"Reinstall this version":[""],"Tools":[""],"Updated successfully":[""],"Update failed! Please try again":[""],"Run Update":[""],"%1$s ? %2$s template(s)":[""],"Update Library Templates":[""],"This action will update any templates found to be outdated in the Custom Library from their source template in Elementor template library.":[""],"Note: Outdated templates are templates that were created before the current version of this plugin. You only need to run this when you think there is a problem in the Custom Library.":[""],"Templates Importer":[""],"Imports .json or .zip files exported only via the Custom Library Pro templates exporter.":[""],"Templates Exporter":[""],"Exports all the templates published and available in the Custom Library.":[""],"No outdated templates found.":[""],"Failed to update outdated templates.":[""],"Reports":[""],"Template Import Reports":[""],"Track and analyze template imports across your sites. Monitor usage patterns and gain insights into your template library.":[""],"Import Tracking":[""],"This data is safely stored on your site and never leaves your site.":[""],"Enabled":[""],"Track all template imports including template name, import time, and client site details.":[""],"Disabled":[""],"Do not track template imports.":[""],"More controls":[""],"Unlock powerful reporting features with Pro including detailed import logs, client site tracking, export capabilities, and automatic data cleanup options.":[""],"Remote Library":[""],"Remote Library Settings":[""],"Configure your library to share templates with other sites (Server mode) or connect to remote libraries (Client mode).":[""],"Learn more":[""],"Operating Mode":[""],"Standalone":[""],"Local library only. Templates are stored and used on this site only.":[""],"Server":[""],"Share your library with other sites. Generate a connection-code for clients to connect to this remote library server.":[""],"Client":[""],"Connect to remote library servers to access templates from another site.":[""],"A plethora of controls to serve your own template library remotely or access remote libraries, such as Secure Connection-code, Connected Sites, Reports and more. ":[""],"Misc":[""],"Remove Data on Uninstall":[""],"Check this box to remove all data stored by Custom Library for Elementor plugin, including license info, user settings, import history etc.":[""],"General":[""],"General Settings":[""],"Hide default Elementor Template library icon from editor.":[""],"Hide default Elementor Template library popup from editor.":[""],"Placeholder image":[""],"Replace the default placeholder image.":[""],"Trigger icon":[""],"Replace the trigger icon.":[""],"Library Access":[""],"Show to All":[""],"Show only to specific roles":[""],"Show only to specific users":[""],"Settings Access":[""],"Please note, by default all administrators have settings access even if it is not explicitly set here to avoid accidental lockouts.":[""],"Design":[""],"Library popup style":[""],"Compact (popup)":[""],"Fullscreen":[""],"Template columns":[""],"2 Columns":[""],"3 Columns":[""],"Auto":[""],"Categories location":[""],"Sidebar":[""],"Horizontal":[""],"None":[""],"Show categories template count":[""],"Plugin/menu label":[""],"Library title":[""],"Show Buttons on hover":[""],"Show Preview Button":[""],"Show Edit Button":[""],"Header colors":[""],"Header Background":[""],"Header Text":[""],"Header Border Bottom":[""],"Categories colors":[""],"Categories Background":[""],"Categories Text":[""],"Active Category Text":[""],"Button styles":[""],"Button Background Color":[""],"Button Text Color":[""],"Button Border Color":[""],"Button Border Radius":[""],"Button Border Width":[""],"Rollback to Previous Version":[""],"Rolling back plugin?":[""],"Rollback failed during installation.":[""],"Rollback complete. The plugin files have been restored.":[""],"Go to Plugins page":[""],"Sorry, you are not allowed to rollback Custom Library plugin for this site.":[""],"Error occurred, the version selected is invalid. Try selecting different version.":[""],"Save":[""],"Enter Template Name":[""],"Add to Custom Library":[""],"Give your template a name":[""],"Cloud Templates":[""],"Upgrade":[""],"Connect":[""],"Site Templates":[""],"Note: Custom Library sync requires \"Site Templates\" to be checked as well.":[""],"You?ve saved 100% of the templates in your plan.":[""],"To get more space %s":[""],"Upgrade now":[""],"Learn more about the":[""],"Template Library":[""],"Unable to sanitize this file hence it wasn't uploaded!":[""],"Full Size":[""],"Thumbnail":[""],"Medium":[""],"Large":[""],"settings title\u0004Enable SVG Uploads":[""]}}}1 {"domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural_forms":"nplurals=2; plural=(n!=1);","lang":"en"},"Custom Library for Elementor":[""],"https://analogwp.com/custom-library-for-elementor":[""],"Custom Library for Elementor creates the foundation for a design framework that will help you create better, more consistent websites with Elementor.":[""],"AnalogWP":[""],"https://analogwp.com/":[""],"Custom Library for Elementor requires PHP version %s":[""],"Error Activating":[""],"Custom Library for Elementor requires WordPress version %s+. Because you are using an earlier version, the plugin is currently NOT RUNNING.":[""],"Custom Library for Elementor requires Elementor v%s or newer in order to work. Please update Elementor to the latest version.":[""],"Update Elementor Now":[""],"Custom Library for Elementor is not working because you need to activate the Elementor plugin.":[""],"Activate Elementor Now":[""],"Custom Library for Elementor is not working because you need to install the Elementor plugin.":[""],"Install Elementor Now":[""],"Settings":[""],"Custom Library":[""],"Library":[""],"Something went wrong.":[""],"Template":[""],"Block":[""],"Add Custom Library for Elementor":[""],"Library is now synced":[""],"Something is not right, please try again.":[""],"All Templates":[""],"Local Only":[""],"Remote Only":[""],"Get unlimited access to the Custom Library for Elementor library and features with the PRO version.":[""],"View Plans":[""],"Templates":[""],"Blocks":[""],"Exit preview":[""],"Open in new tab":[""],"Import Template":[""],"Search templates":[""],"Search templates...":[""],"Close search":[""],"This page has been moved to a new location":[""],"Redirecting you now...":[""],"Click here if you are not redirected automatically":[""],"Your settings have been saved.":[""],"The changes you made will be lost if you navigate away from this page.":[""],"Select Image":[""],"Use this image":[""],"Pro":[""],"Upgrade to Pro":[""],"Toggle":[""],"Change Image":[""],"Revert to Default":[""],"Import":[""],"Go":[""],"Export All":[""],"Custom Library for Elementor Shortcuts":[""],"Templates Library":[""],"Theme Custom Library for Elementor":[""],"Add to library":[""],"Custom Library for Elementor Logo":[""],"Enjoyed %1$s? Please leave us a %2$s rating. We really appreciate your support!":[""],"View Documentation":[""],"Documentation":[""],"Get Support":[""],"Invalid Template ID.":[""],"No options key provided.":[""],"Setting updated.":[""],"Back to Library":[""],"Loading icon":[""],"Search Templates":[""],"The %s has been imported and is now available in the":[""],"Elementor %s library":[""],"Ok, thanks":[""],"No Templates found":[""],"Loading Templates...":[""],"Insert":[""],"Save changes":[""],"Your Email":[""],"First Name":[""],"Send me the coupon":[""],"By submitting your details, you agree to our %s.":[""],"privacy policy":[""],"Version Control":[""],"Rollback Versions":[""],"If you are having issues with current version of Custom Library, you can rollback to a previous stable version.":[""],"Rollback Custom Library":[""],"Reinstall this version":[""],"Tools":[""],"Updated successfully":[""],"Update failed! Please try again":[""],"Run Update":[""],"%1$s ? %2$s template(s)":[""],"Update Library Templates":[""],"This action will update any templates found to be outdated in the Custom Library from their source template in Elementor template library.":[""],"Note: Outdated templates are templates that were created before the current version of this plugin. You only need to run this when you think there is a problem in the Custom Library.":[""],"Templates Importer":[""],"Imports .json or .zip files exported only via the Custom Library Pro templates exporter.":[""],"Templates Exporter":[""],"Exports all the templates published and available in the Custom Library.":[""],"No outdated templates found.":[""],"Failed to update outdated templates.":[""],"Reports":[""],"Template Import Reports":[""],"Track and analyze template imports across your sites. Monitor usage patterns and gain insights into your template library.":[""],"Import Tracking":[""],"This data is safely stored on your site and never leaves your site.":[""],"Enabled":[""],"Track all template imports including template name, import time, and client site details.":[""],"Disabled":[""],"Do not track template imports.":[""],"More controls":[""],"Unlock powerful reporting features with Pro including detailed import logs, client site tracking, export capabilities, and automatic data cleanup options.":[""],"Remote Library":[""],"Remote Library Settings":[""],"Configure your library to share templates with other sites (Server mode) or connect to remote libraries (Client mode).":[""],"Learn more":[""],"Operating Mode":[""],"Standalone":[""],"Local library only. Templates are stored and used on this site only.":[""],"Server":[""],"Share your library with other sites. Generate a connection-code for clients to connect to this remote library server.":[""],"Client":[""],"Connect to remote library servers to access templates from another site.":[""],"A plethora of controls to serve your own template library remotely or access remote libraries, such as Secure Connection-code, Connected Sites, Reports and more. ":[""],"Misc":[""],"Remove Data on Uninstall":[""],"Check this box to remove all data stored by Custom Library for Elementor plugin, including license info, user settings, import history etc.":[""],"General":[""],"General Settings":[""],"Hide default Elementor Template library icon from editor.":[""],"Hide default Elementor Template library popup from editor.":[""],"Placeholder image":[""],"Replace the default placeholder image.":[""],"Trigger icon":[""],"Replace the trigger icon.":[""],"Library Access":[""],"Show to All":[""],"Show only to specific roles":[""],"Show only to specific users":[""],"Settings Access":[""],"Please note, by default all administrators have settings access even if it is not explicitly set here to avoid accidental lockouts.":[""],"Design":[""],"Library popup style":[""],"Compact (popup)":[""],"Fullscreen":[""],"Template columns":[""],"2 Columns":[""],"3 Columns":[""],"Auto":[""],"Categories location":[""],"Sidebar":[""],"Horizontal":[""],"None":[""],"Show categories template count":[""],"Plugin/menu label":[""],"Library title":[""],"Show Buttons on hover":[""],"Show Preview Button":[""],"Show Edit Button":[""],"Header colors":[""],"Header Background":[""],"Header Text":[""],"Header Border Bottom":[""],"Categories colors":[""],"Categories Background":[""],"Categories Text":[""],"Active Category Text":[""],"Button styles":[""],"Button Background Color":[""],"Button Text Color":[""],"Button Border Color":[""],"Button Border Radius":[""],"Button Border Width":[""],"Rollback to Previous Version":[""],"Rolling back plugin?":[""],"Rollback failed during installation.":[""],"Rollback complete. The plugin files have been restored.":[""],"Go to Plugins page":[""],"Sorry, you are not allowed to rollback Custom Library plugin for this site.":[""],"Error occurred, the version selected is invalid. Try selecting different version.":[""],"Save":[""],"Enter Template Name":[""],"Add to Custom Library":[""],"Give your template a name":[""],"Cloud Templates":[""],"Upgrade":[""],"Connect":[""],"Site Templates":[""],"Note: Custom Library sync requires \"Site Templates\" to be checked as well.":[""],"You?ve saved 100% of the templates in your plan.":[""],"To get more space %s":[""],"Upgrade now":[""],"Learn more about the":[""],"Template Library":[""],"Unable to sanitize this file hence it wasn't uploaded!":[""],"Full Size":[""],"Thumbnail":[""],"Medium":[""],"Large":[""],"settings title\u0004Enable SVG Uploads":[""]}}} -
analogwp-library/trunk/languages/analogwp-library.pot
r3440313 r3451006 4 4 msgid "" 5 5 msgstr "" 6 "Project-Id-Version: analogwp-library 2. 0.0\n"6 "Project-Id-Version: analogwp-library 2.1.0\n" 7 7 "Report-Msgid-Bugs-To: AnalogWP <EMAIL>\n" 8 8 "MIME-Version: 1.0\n" … … 10 10 "Content-Type: text/plain; charset=iso-8859-1\n" 11 11 "Plural-Forms: nplurals=2; plural=(n!=1);\n" 12 "POT-Creation-Date: 2026-01- 15T12:05:56.330Z\n"12 "POT-Creation-Date: 2026-01-31T13:39:44.721Z\n" 13 13 "PO-Revision-Date: 2026-MO-DA HO:MI+ZONE\n" 14 14 "Last-Translator: AnalogWP <EMAIL>\n" … … 93 93 94 94 #: inc/class-plugin.php:165 95 #: inc/Settings/class-register-settings.php:10296 95 #: inc/Settings/class-register-settings.php:103 97 #: inc/Settings/class-register-settings.php:134 96 #: inc/Settings/class-register-settings.php:104 97 #: inc/Settings/class-register-settings.php:135 98 98 #: inc/Elementor/class-finder-shortcuts.php:52 99 99 #: inc/Settings/Views/html-admin-settings.php:28 … … 140 140 msgstr "" 141 141 142 #: client/SourceFilter.js:90 143 msgid "All Templates" 144 msgstr "" 145 146 #: client/SourceFilter.js:94 147 msgid "Local Only" 148 msgstr "" 149 150 #: client/SourceFilter.js:98 151 msgid "Remote Only" 152 msgstr "" 153 142 154 #: client/ProModal.js:6 143 155 msgid "" … … 173 185 msgstr "" 174 186 187 #: client/HeaderSearch.js:188 188 #: client/HeaderSearch.js:189 189 #: client/HeaderSearch.js:212 190 msgid "Search templates" 191 msgstr "" 192 193 #: client/HeaderSearch.js:211 194 msgid "Search templates..." 195 msgstr "" 196 197 #: client/HeaderSearch.js:216 198 #: client/HeaderSearch.js:217 199 msgid "Close search" 200 msgstr "" 201 202 #: inc/Settings/class-register-settings.php:228 203 msgid "This page has been moved to a new location" 204 msgstr "" 205 175 206 #: inc/Settings/class-register-settings.php:231 176 msgid " This page has been moved to a new location"207 msgid "Redirecting you now..." 177 208 msgstr "" 178 209 179 210 #: inc/Settings/class-register-settings.php:234 180 msgid "Redirecting you now..."181 msgstr ""182 183 #: inc/Settings/class-register-settings.php:237184 211 msgid "Click here if you are not redirected automatically" 185 212 msgstr "" … … 202 229 203 230 #: inc/Settings/class-admin-settings.php:327 204 #: client/blocks/BlockList.js:3 70205 #: client/blocks/BlockList.js:4 20231 #: client/blocks/BlockList.js:385 232 #: client/blocks/BlockList.js:435 206 233 msgid "Pro" 207 234 msgstr "" … … 299 326 msgstr "" 300 327 301 #: client/blocks/Sidebar.js:2 17328 #: client/blocks/Sidebar.js:234 302 329 msgid "Search Templates" 303 330 msgstr "" 304 331 305 #: client/blocks/BlockList.js:3 05332 #: client/blocks/BlockList.js:320 306 333 msgid "The %s has been imported and is now available in the" 307 334 msgstr "" 308 335 309 #: client/blocks/BlockList.js:3 16336 #: client/blocks/BlockList.js:331 310 337 msgid "Elementor %s library" 311 338 msgstr "" 312 339 313 #: client/blocks/BlockList.js:3 30340 #: client/blocks/BlockList.js:345 314 341 msgid "Ok, thanks" 315 342 msgstr "" 316 343 317 #: client/blocks/BlockList.js:3 42344 #: client/blocks/BlockList.js:357 318 345 msgid "No Templates found" 319 346 msgstr "" 320 347 321 #: client/blocks/BlockList.js:3 46348 #: client/blocks/BlockList.js:361 322 349 msgid "Loading Templates..." 323 350 msgstr "" 324 351 325 #: client/blocks/BlockList.js:4 01352 #: client/blocks/BlockList.js:416 326 353 msgid "Insert" 327 354 msgstr ""
Note: See TracChangeset
for help on using the changeset viewer.