File: /home/httpd/vhosts/rajlaw.com.tw/httpdocs/wp-content/plugins/blockart-blocks/dist/blocks.js
/*! For license information please see blocks.js.LICENSE.txt */
(()=>{var __webpack_modules__={4906:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";function _asyncIterator(e){var t,r,n,a=2;for("undefined"!=typeof Symbol&&(r=Symbol.asyncIterator,n=Symbol.iterator);a--;){if(r&&null!=(t=e[r]))return t.call(e);if(n&&null!=(t=e[n]))return new AsyncFromSyncIterator(t.call(e));r="@@asyncIterator",n="@@iterator"}throw new TypeError("Object is not async iterable")}function AsyncFromSyncIterator(e){function t(e){if(Object(e)!==e)return Promise.reject(new TypeError(e+" is not an object."));var t=e.done;return Promise.resolve(e.value).then((function(e){return{value:e,done:t}}))}return AsyncFromSyncIterator=function(e){this.s=e,this.n=e.next},AsyncFromSyncIterator.prototype={s:null,n:null,next:function(){return t(this.n.apply(this.s,arguments))},return:function(e){var r=this.s.return;return void 0===r?Promise.resolve({value:e,done:!0}):t(r.apply(this.s,arguments))},throw:function(e){var r=this.s.return;return void 0===r?Promise.reject(e):t(r.apply(this.s,arguments))}},new AsyncFromSyncIterator(e)}var REACT_ELEMENT_TYPE;function _jsx(e,t,r,n){REACT_ELEMENT_TYPE||(REACT_ELEMENT_TYPE="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var a=e&&e.defaultProps,o=arguments.length-3;if(t||0===o||(t={children:void 0}),1===o)t.children=n;else if(o>1){for(var i=new Array(o),l=0;l<o;l++)i[l]=arguments[l+3];t.children=i}if(t&&a)for(var s in a)void 0===t[s]&&(t[s]=a[s]);else t||(t=a||{});return{$$typeof:REACT_ELEMENT_TYPE,type:e,key:void 0===r?null:""+r,ref:null,props:t,_owner:null}}function ownKeys(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 _objectSpread2(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(r),!0).forEach((function(t){_defineProperty(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function _typeof(e){return _typeof="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},_typeof(e)}function _wrapRegExp(){_wrapRegExp=function(e,t){return new r(e,void 0,t)};var e=RegExp.prototype,t=new WeakMap;function r(e,n,a){var o=new RegExp(e,n);return t.set(o,a||t.get(e)),_setPrototypeOf(o,r.prototype)}function n(e,r){var n=t.get(r);return Object.keys(n).reduce((function(t,r){return t[r]=e[n[r]],t}),Object.create(null))}return _inherits(r,RegExp),r.prototype.exec=function(t){var r=e.exec.call(this,t);return r&&(r.groups=n(r,this)),r},r.prototype[Symbol.replace]=function(r,a){if("string"==typeof a){var o=t.get(this);return e[Symbol.replace].call(this,r,a.replace(/\$<([^>]+)>/g,(function(e,t){return"$"+o[t]})))}if("function"==typeof a){var i=this;return e[Symbol.replace].call(this,r,(function(){var e=arguments;return"object"!=typeof e[e.length-1]&&(e=[].slice.call(e)).push(n(e,i)),a.apply(this,e)}))}return e[Symbol.replace].call(this,r,a)},_wrapRegExp.apply(this,arguments)}function _AwaitValue(e){this.wrapped=e}function _AsyncGenerator(e){var t,r;function n(t,r){try{var o=e[t](r),i=o.value,l=i instanceof _AwaitValue;Promise.resolve(l?i.wrapped:i).then((function(e){l?n("return"===t?"return":"next",e):a(o.done?"return":"normal",e)}),(function(e){n("throw",e)}))}catch(e){a("throw",e)}}function a(e,a){switch(e){case"return":t.resolve({value:a,done:!0});break;case"throw":t.reject(a);break;default:t.resolve({value:a,done:!1})}(t=t.next)?n(t.key,t.arg):r=null}this._invoke=function(e,a){return new Promise((function(o,i){var l={key:e,arg:a,resolve:o,reject:i,next:null};r?r=r.next=l:(t=r=l,n(e,a))}))},"function"!=typeof e.return&&(this.return=void 0)}function _wrapAsyncGenerator(e){return function(){return new _AsyncGenerator(e.apply(this,arguments))}}function _awaitAsyncGenerator(e){return new _AwaitValue(e)}function _asyncGeneratorDelegate(e,t){var r={},n=!1;function a(r,a){return n=!0,a=new Promise((function(t){t(e[r](a))})),{done:!1,value:t(a)}}return r["undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this},r.next=function(e){return n?(n=!1,e):a("next",e)},"function"==typeof e.throw&&(r.throw=function(e){if(n)throw n=!1,e;return a("throw",e)}),"function"==typeof e.return&&(r.return=function(e){return n?(n=!1,e):a("return",e)}),r}function asyncGeneratorStep(e,t,r,n,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void r(e)}l.done?t(s):Promise.resolve(s).then(n,a)}function _asyncToGenerator(e){return function(){var t=this,r=arguments;return new Promise((function(n,a){var o=e.apply(t,r);function i(e){asyncGeneratorStep(o,n,a,i,l,"next",e)}function l(e){asyncGeneratorStep(o,n,a,i,l,"throw",e)}i(void 0)}))}}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(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)}}function _createClass(e,t,r){return t&&_defineProperties(e.prototype,t),r&&_defineProperties(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function _defineEnumerableProperties(e,t){for(var r in t)(o=t[r]).configurable=o.enumerable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,r,o);if(Object.getOwnPropertySymbols)for(var n=Object.getOwnPropertySymbols(t),a=0;a<n.length;a++){var o,i=n[a];(o=t[i]).configurable=o.enumerable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,i,o)}return e}function _defaults(e,t){for(var r=Object.getOwnPropertyNames(t),n=0;n<r.length;n++){var a=r[n],o=Object.getOwnPropertyDescriptor(t,a);o&&o.configurable&&void 0===e[a]&&Object.defineProperty(e,a,o)}return e}function _defineProperty(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _extends(){return _extends=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},_extends.apply(this,arguments)}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach((function(t){_defineProperty(e,t,r[t])}))}return e}function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_setPrototypeOf(e,t)}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,_setPrototypeOf(e,t)}function _getPrototypeOf(e){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},_getPrototypeOf(e)}function _setPrototypeOf(e,t){return _setPrototypeOf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},_setPrototypeOf(e,t)}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function _construct(e,t,r){return _construct=_isNativeReflectConstruct()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var a=new(Function.bind.apply(e,n));return r&&_setPrototypeOf(a,r.prototype),a},_construct.apply(null,arguments)}function _isNativeFunction(e){return-1!==Function.toString.call(e).indexOf("[native code]")}function _wrapNativeSuper(e){var t="function"==typeof Map?new Map:void 0;return _wrapNativeSuper=function(e){if(null===e||!_isNativeFunction(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return _construct(e,arguments,_getPrototypeOf(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(r,e)},_wrapNativeSuper(e)}function _instanceof(e,t){return null!=t&&"undefined"!=typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(_getRequireWildcardCache=function(e){return e?r:t})(e)}function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=_getRequireWildcardCache(t);if(r&&r.has(e))return r.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}return n.default=e,r&&r.set(e,n),n}function _newArrowCheck(e,t){if(e!==t)throw new TypeError("Cannot instantiate an arrow function")}function _objectDestructuringEmpty(e){if(null==e)throw new TypeError("Cannot destructure undefined")}function _objectWithoutPropertiesLoose(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}function _objectWithoutProperties(e,t){if(null==e)return{};var r,n,a=_objectWithoutPropertiesLoose(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _possibleConstructorReturn(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(e)}function _createSuper(e){var t=_isNativeReflectConstruct();return function(){var r,n=_getPrototypeOf(e);if(t){var a=_getPrototypeOf(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return _possibleConstructorReturn(this,r)}}function _superPropBase(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=_getPrototypeOf(e)););return e}function _get(){return _get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,r){var n=_superPropBase(e,t);if(n){var a=Object.getOwnPropertyDescriptor(n,t);return a.get?a.get.call(arguments.length<3?e:r):a.value}},_get.apply(this,arguments)}function set(e,t,r,n){return set="undefined"!=typeof Reflect&&Reflect.set?Reflect.set:function(e,t,r,n){var a,o=_superPropBase(e,t);if(o){if((a=Object.getOwnPropertyDescriptor(o,t)).set)return a.set.call(n,r),!0;if(!a.writable)return!1}if(a=Object.getOwnPropertyDescriptor(n,t)){if(!a.writable)return!1;a.value=r,Object.defineProperty(n,t,a)}else _defineProperty(n,t,r);return!0},set(e,t,r,n)}function _set(e,t,r,n,a){if(!set(e,t,r,n||e)&&a)throw new Error("failed to set property");return r}function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function _taggedTemplateLiteralLoose(e,t){return t||(t=e.slice(0)),e.raw=t,e}function _readOnlyError(e){throw new TypeError('"'+e+'" is read-only')}function _writeOnlyError(e){throw new TypeError('"'+e+'" is write-only')}function _classNameTDZError(e){throw new Error('Class "'+e+'" cannot be referenced in computed property keys.')}function _temporalUndefined(){}function _tdz(e){throw new ReferenceError(e+" is not defined - temporal dead zone")}function _temporalRef(e,t){return e===_temporalUndefined?_tdz(t):e}function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_unsupportedIterableToArray(e,t)||_nonIterableRest()}function _slicedToArrayLoose(e,t){return _arrayWithHoles(e)||_iterableToArrayLimitLoose(e,t)||_unsupportedIterableToArray(e,t)||_nonIterableRest()}function _toArray(e){return _arrayWithHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableRest()}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}function _arrayWithHoles(e){if(Array.isArray(e))return e}function _maybeArrayLike(e,t,r){if(t&&!Array.isArray(t)&&"number"==typeof t.length){var n=t.length;return _arrayLikeToArray(t,void 0!==r&&r<n?r:n)}return e(t,r)}function _iterableToArray(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function _iterableToArrayLimit(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,o=[],i=!0,l=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);i=!0);}catch(e){l=!0,a=e}finally{try{i||null==r.return||r.return()}finally{if(l)throw a}}return o}}function _iterableToArrayLimitLoose(e,t){var r=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=r){var n=[];for(r=r.call(e),_step;!(_step=r.next()).done&&(n.push(_step.value),!t||n.length!==t););return n}}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _createForOfIteratorHelper(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){l=!0,o=e},f:function(){try{i||null==r.return||r.return()}finally{if(l)throw o}}}}function _createForOfIteratorHelperLoose(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _skipFirstGeneratorNext(e){return function(){var t=e.apply(this,arguments);return t.next(),t}}function _toPrimitive(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function _toPropertyKey(e){var t=_toPrimitive(e,"string");return"symbol"==typeof t?t:String(t)}function _initializerWarningHelper(e,t){throw new Error("Decorating class property failed. Please ensure that proposal-class-properties is enabled and runs after the decorators transform.")}function _initializerDefineProperty(e,t,r,n){r&&Object.defineProperty(e,t,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(n):void 0})}function _applyDecoratedDescriptor(e,t,r,n,a){var o={};return Object.keys(n).forEach((function(e){o[e]=n[e]})),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=r.slice().reverse().reduce((function(r,n){return n(e,t,r)||r}),o),a&&void 0!==o.initializer&&(o.value=o.initializer?o.initializer.call(a):void 0,o.initializer=void 0),void 0===o.initializer&&(Object.defineProperty(e,t,o),o=null),o}_AsyncGenerator.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},_AsyncGenerator.prototype.next=function(e){return this._invoke("next",e)},_AsyncGenerator.prototype.throw=function(e){return this._invoke("throw",e)},_AsyncGenerator.prototype.return=function(e){return this._invoke("return",e)};var id=0;function _classPrivateFieldLooseKey(e){return"__private_"+id+++"_"+e}function _classPrivateFieldLooseBase(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}function _classPrivateFieldGet(e,t){return _classApplyDescriptorGet(e,_classExtractFieldDescriptor(e,t,"get"))}function _classPrivateFieldSet(e,t,r){return _classApplyDescriptorSet(e,_classExtractFieldDescriptor(e,t,"set"),r),r}function _classPrivateFieldDestructureSet(e,t){return _classApplyDescriptorDestructureSet(e,_classExtractFieldDescriptor(e,t,"set"))}function _classExtractFieldDescriptor(e,t,r){if(!t.has(e))throw new TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function _classStaticPrivateFieldSpecGet(e,t,r){return _classCheckPrivateStaticAccess(e,t),_classCheckPrivateStaticFieldDescriptor(r,"get"),_classApplyDescriptorGet(e,r)}function _classStaticPrivateFieldSpecSet(e,t,r,n){return _classCheckPrivateStaticAccess(e,t),_classCheckPrivateStaticFieldDescriptor(r,"set"),_classApplyDescriptorSet(e,r,n),n}function _classStaticPrivateMethodGet(e,t,r){return _classCheckPrivateStaticAccess(e,t),r}function _classStaticPrivateMethodSet(){throw new TypeError("attempted to set read only static private field")}function _classApplyDescriptorGet(e,t){return t.get?t.get.call(e):t.value}function _classApplyDescriptorSet(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=r}}function _classApplyDescriptorDestructureSet(e,t){if(t.set)return"__destrObj"in t||(t.__destrObj={set value(r){t.set.call(e,r)}}),t.__destrObj;if(!t.writable)throw new TypeError("attempted to set read only private field");return t}function _classStaticPrivateFieldDestructureSet(e,t,r){return _classCheckPrivateStaticAccess(e,t),_classCheckPrivateStaticFieldDescriptor(r,"set"),_classApplyDescriptorDestructureSet(e,r)}function _classCheckPrivateStaticAccess(e,t){if(e!==t)throw new TypeError("Private static access of wrong provenance")}function _classCheckPrivateStaticFieldDescriptor(e,t){if(void 0===e)throw new TypeError("attempted to "+t+" private static field before its declaration")}function _decorate(e,t,r,n){var a=_getDecoratorsApi();if(n)for(var o=0;o<n.length;o++)a=n[o](a);var i=t((function(e){a.initializeInstanceElements(e,l.elements)}),r),l=a.decorateClass(_coalesceClassElements(i.d.map(_createElementDescriptor)),e);return a.initializeClassElements(i.F,l.elements),a.runClassFinishers(i.F,l.finishers)}function _getDecoratorsApi(){_getDecoratorsApi=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(r){t.forEach((function(t){t.kind===r&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var r=e.prototype;["method","field"].forEach((function(n){t.forEach((function(t){var a=t.placement;if(t.kind===n&&("static"===a||"prototype"===a)){var o="static"===a?e:r;this.defineClassElement(o,t)}}),this)}),this)},defineClassElement:function(e,t){var r=t.descriptor;if("field"===t.kind){var n=t.initializer;r={enumerable:r.enumerable,writable:r.writable,configurable:r.configurable,value:void 0===n?void 0:n.call(e)}}Object.defineProperty(e,t.key,r)},decorateClass:function(e,t){var r=[],n=[],a={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,a)}),this),e.forEach((function(e){if(!_hasDecorators(e))return r.push(e);var t=this.decorateElement(e,a);r.push(t.element),r.push.apply(r,t.extras),n.push.apply(n,t.finishers)}),this),!t)return{elements:r,finishers:n};var o=this.decorateConstructor(r,t);return n.push.apply(n,o.finishers),o.finishers=n,o},addElementPlacement:function(e,t,r){var n=t[e.placement];if(!r&&-1!==n.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");n.push(e.key)},decorateElement:function(e,t){for(var r=[],n=[],a=e.decorators,o=a.length-1;o>=0;o--){var i=t[e.placement];i.splice(i.indexOf(e.key),1);var l=this.fromElementDescriptor(e),s=this.toElementFinisherExtras((0,a[o])(l)||l);e=s.element,this.addElementPlacement(e,t),s.finisher&&n.push(s.finisher);var c=s.extras;if(c){for(var u=0;u<c.length;u++)this.addElementPlacement(c[u],t);r.push.apply(r,c)}}return{element:e,finishers:n,extras:r}},decorateConstructor:function(e,t){for(var r=[],n=t.length-1;n>=0;n--){var a=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[n])(a)||a);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var i=0;i<e.length-1;i++)for(var l=i+1;l<e.length;l++)if(e[i].key===e[l].key&&e[i].placement===e[l].placement)throw new TypeError("Duplicated element ("+e[i].key+")")}}return{elements:e,finishers:r}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){if(void 0!==e)return _toArray(e).map((function(e){var t=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),t}),this)},toElementDescriptor:function(e){var t=String(e.kind);if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+t+'"');var r=_toPropertyKey(e.key),n=String(e.placement);if("static"!==n&&"prototype"!==n&&"own"!==n)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+n+'"');var a=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var o={kind:t,key:r,placement:n,descriptor:Object.assign({},a)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(a,"get","The property descriptor of a field descriptor"),this.disallowProperty(a,"set","The property descriptor of a field descriptor"),this.disallowProperty(a,"value","The property descriptor of a field descriptor"),o.initializer=e.initializer),o},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:_optionalCallableProperty(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var t={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),t},toClassDescriptor:function(e){var t=String(e.kind);if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var r=_optionalCallableProperty(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:r}},runClassFinishers:function(e,t){for(var r=0;r<t.length;r++){var n=(0,t[r])(e);if(void 0!==n){if("function"!=typeof n)throw new TypeError("Finishers must return a constructor.");e=n}}return e},disallowProperty:function(e,t,r){if(void 0!==e[t])throw new TypeError(r+" can't have a ."+t+" property.")}};return e}function _createElementDescriptor(e){var t,r=_toPropertyKey(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var n={kind:"field"===e.kind?"field":"method",key:r,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(n.decorators=e.decorators),"field"===e.kind&&(n.initializer=e.value),n}function _coalesceGetterSetter(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function _coalesceClassElements(e){for(var t=[],r=function(e){return"method"===e.kind&&e.key===o.key&&e.placement===o.placement},n=0;n<e.length;n++){var a,o=e[n];if("method"===o.kind&&(a=t.find(r)))if(_isDataDescriptor(o.descriptor)||_isDataDescriptor(a.descriptor)){if(_hasDecorators(o)||_hasDecorators(a))throw new ReferenceError("Duplicated methods ("+o.key+") can't be decorated.");a.descriptor=o.descriptor}else{if(_hasDecorators(o)){if(_hasDecorators(a))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+o.key+").");a.decorators=o.decorators}_coalesceGetterSetter(o,a)}else t.push(o)}return t}function _hasDecorators(e){return e.decorators&&e.decorators.length}function _isDataDescriptor(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function _optionalCallableProperty(e,t){var r=e[t];if(void 0!==r&&"function"!=typeof r)throw new TypeError("Expected '"+t+"' to be a function");return r}function _classPrivateMethodGet(e,t,r){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return r}function _checkPrivateRedeclaration(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function _classPrivateFieldInitSpec(e,t,r){_checkPrivateRedeclaration(e,t),t.set(e,r)}function _classPrivateMethodInitSpec(e,t){_checkPrivateRedeclaration(e,t),t.add(e)}function _classPrivateMethodSet(){throw new TypeError("attempted to reassign private method")}var _extendStatics=function(e,t){return _extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},_extendStatics(e,t)};function __extends(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}_extendStatics(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var _assign=function(){return _assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},_assign.apply(this,arguments)};function __rest(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]])}return r}function __decorate(e,t,r,n){var a,o=arguments.length,i=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(a=e[l])&&(i=(o<3?a(i):o>3?a(t,r,i):a(t,r))||i);return o>3&&i&&Object.defineProperty(t,r,i),i}function __param(e,t){return function(r,n){t(r,n,e)}}function __metadata(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function __awaiter(e,t,r,n){return new(r||(r=Promise))((function(a,o){function i(e){try{s(n.next(e))}catch(e){o(e)}}function l(e){try{s(n.throw(e))}catch(e){o(e)}}function s(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,l)}s((n=n.apply(e,t||[])).next())}))}function __generator(e,t){var r,n,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(o){return function(l){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;i;)try{if(r=1,n&&(a=2&o[0]?n.return:o[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,o[1])).done)return a;switch(n=0,a&&(o=[2&o[0],a.value]),o[0]){case 0:case 1:a=o;break;case 4:return i.label++,{value:o[1],done:!1};case 5:i.label++,n=o[1],o=[0];continue;case 7:o=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==o[0]&&2!==o[0])){i=0;continue}if(3===o[0]&&(!a||o[1]>a[0]&&o[1]<a[3])){i.label=o[1];break}if(6===o[0]&&i.label<a[1]){i.label=a[1],a=o;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(o);break}a[2]&&i.ops.pop(),i.trys.pop();continue}o=t.call(e,i)}catch(e){o=[6,e],n=0}finally{r=a=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,l])}}}var __createBinding=Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]};function __exportStar(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||__createBinding(t,e,r)}function __values(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function __read(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,a,o=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)i.push(n.value)}catch(e){a={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return i}function __spread(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(__read(arguments[t]));return e}function __spreadArrays(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),a=0;for(t=0;t<r;t++)for(var o=arguments[t],i=0,l=o.length;i<l;i++,a++)n[a]=o[i];return n}function __spreadArray(e,t,r){if(r||2===arguments.length)for(var n,a=0,o=t.length;a<o;a++)!n&&a in t||(n||(n=Array.prototype.slice.call(t,0,a)),n[a]=t[a]);return e.concat(n||Array.prototype.slice.call(t))}function __await(e){return this instanceof __await?(this.v=e,this):new __await(e)}function __asyncGenerator(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,a=r.apply(e,t||[]),o=[];return n={},i("next"),i("throw"),i("return"),n[Symbol.asyncIterator]=function(){return this},n;function i(e){a[e]&&(n[e]=function(t){return new Promise((function(r,n){o.push([e,t,r,n])>1||l(e,t)}))})}function l(e,t){try{!function(e){e.value instanceof __await?Promise.resolve(e.value.v).then(s,c):u(o[0][2],e)}(a[e](t))}catch(e){u(o[0][3],e)}}function s(e){l("next",e)}function c(e){l("throw",e)}function u(e,t){e(t),o.shift(),o.length&&l(o[0][0],o[0][1])}}function __asyncDelegator(e){var t,r;return t={},n("next"),n("throw",(function(e){throw e})),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,a){t[n]=e[n]?function(t){return(r=!r)?{value:__await(e[n](t)),done:"return"===n}:a?a(t):t}:a}}function __asyncValues(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e="function"==typeof __values?__values(e):e[Symbol.iterator](),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise((function(n,a){!function(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)}(n,a,(t=e[r](t)).done,t.value)}))}}}function __makeTemplateObject(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var __setModuleDefault=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function __importStar(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&__createBinding(t,e,r);return __setModuleDefault(t,e),t}function __importDefault(e){return e&&e.__esModule?e:{default:e}}function __classPrivateFieldGet(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)}function __classPrivateFieldSet(e,t,r,n,a){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!a)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!a:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?a.call(e,r):a?a.value=r:t.set(e,r),r}var t$3=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,e$8=Symbol(),n$5=new Map;class s$3{constructor(e,t){if(this._$cssResult$=!0,t!==e$8)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e}get styleSheet(){var e=n$5.get(this.cssText);return t$3&&void 0===e&&(n$5.set(this.cssText,e=new CSSStyleSheet),e.replaceSync(this.cssText)),e}toString(){return this.cssText}}var o$5=e=>new s$3("string"==typeof e?e:e+"",e$8),r$3=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var a=1===e.length?e[0]:r.reduce(((t,r,n)=>t+(e=>{if(!0===e._$cssResult$)return e.cssText;if("number"==typeof e)return e;throw Error("Value passed to 'css' function must be a 'css' function result: "+e+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+e[n+1]),e[0]);return new s$3(a,e$8)},i$3=(e,t)=>{t$3?e.adoptedStyleSheets=t.map((e=>e instanceof CSSStyleSheet?e:e.styleSheet)):t.forEach((t=>{var r=document.createElement("style"),n=window.litNonce;void 0!==n&&r.setAttribute("nonce",n),r.textContent=t.cssText,e.appendChild(r)}))},S$1=t$3?e=>e:e=>e instanceof CSSStyleSheet?(e=>{var t="";for(var r of e.cssRules)t+=r.cssText;return o$5(t)})(e):e,s$2,e$7=window.trustedTypes,r$2=e$7?e$7.emptyScript:"",h$2=window.reactiveElementPolyfillSupport,o$4={toAttribute(e,t){switch(t){case Boolean:e=e?r$2:null;break;case Object:case Array:e=null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){var r=e;switch(t){case Boolean:r=null!==e;break;case Number:r=null===e?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch(e){r=null}}return r}},n$4=(e,t)=>t!==e&&(t==t||e==e),l$3={attribute:!0,type:String,converter:o$4,reflect:!1,hasChanged:n$4},t$2;class a$1 extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(e){var t;null!==(t=this.l)&&void 0!==t||(this.l=[]),this.l.push(e)}static get observedAttributes(){this.finalize();var e=[];return this.elementProperties.forEach(((t,r)=>{var n=this._$Eh(r,t);void 0!==n&&(this._$Eu.set(n,r),e.push(n))})),e}static createProperty(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l$3;if(t.state&&(t.attribute=!1),this.finalize(),this.elementProperties.set(e,t),!t.noAccessor&&!this.prototype.hasOwnProperty(e)){var r="symbol"==typeof e?Symbol():"__"+e,n=this.getPropertyDescriptor(e,r,t);void 0!==n&&Object.defineProperty(this.prototype,e,n)}}static getPropertyDescriptor(e,t,r){return{get(){return this[t]},set(n){var a=this[e];this[t]=n,this.requestUpdate(e,a,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)||l$3}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;var e=Object.getPrototypeOf(this);if(e.finalize(),this.elementProperties=new Map(e.elementProperties),this._$Eu=new Map,this.hasOwnProperty("properties")){var t=this.properties,r=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(var n of r)this.createProperty(n,t[n])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(e){var t=[];if(Array.isArray(e)){var r=new Set(e.flat(1/0).reverse());for(var n of r)t.unshift(S$1(n))}else void 0!==e&&t.push(S$1(e));return t}static _$Eh(e,t){var r=t.attribute;return!1===r?void 0:"string"==typeof r?r:"string"==typeof e?e.toLowerCase():void 0}o(){var e;this._$Ep=new Promise((e=>this.enableUpdating=e)),this._$AL=new Map,this._$Em(),this.requestUpdate(),null===(e=this.constructor.l)||void 0===e||e.forEach((e=>e(this)))}addController(e){var t,r;(null!==(t=this._$Eg)&&void 0!==t?t:this._$Eg=[]).push(e),void 0!==this.renderRoot&&this.isConnected&&(null===(r=e.hostConnected)||void 0===r||r.call(e))}removeController(e){var t;null===(t=this._$Eg)||void 0===t||t.splice(this._$Eg.indexOf(e)>>>0,1)}_$Em(){this.constructor.elementProperties.forEach(((e,t)=>{this.hasOwnProperty(t)&&(this._$Et.set(t,this[t]),delete this[t])}))}createRenderRoot(){var e,t=null!==(e=this.shadowRoot)&&void 0!==e?e:this.attachShadow(this.constructor.shadowRootOptions);return i$3(t,this.constructor.elementStyles),t}connectedCallback(){var e;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(e=this._$Eg)||void 0===e||e.forEach((e=>{var t;return null===(t=e.hostConnected)||void 0===t?void 0:t.call(e)}))}enableUpdating(e){}disconnectedCallback(){var e;null===(e=this._$Eg)||void 0===e||e.forEach((e=>{var t;return null===(t=e.hostDisconnected)||void 0===t?void 0:t.call(e)}))}attributeChangedCallback(e,t,r){this._$AK(e,r)}_$ES(e,t){var r,n,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l$3,o=this.constructor._$Eh(e,a);if(void 0!==o&&!0===a.reflect){var i=(null!==(n=null===(r=a.converter)||void 0===r?void 0:r.toAttribute)&&void 0!==n?n:o$4.toAttribute)(t,a.type);this._$Ei=e,null==i?this.removeAttribute(o):this.setAttribute(o,i),this._$Ei=null}}_$AK(e,t){var r,n,a,o=this.constructor,i=o._$Eu.get(e);if(void 0!==i&&this._$Ei!==i){var l=o.getPropertyOptions(i),s=l.converter,c=null!==(a=null!==(n=null===(r=s)||void 0===r?void 0:r.fromAttribute)&&void 0!==n?n:"function"==typeof s?s:null)&&void 0!==a?a:o$4.fromAttribute;this._$Ei=i,this[i]=c(t,l.type),this._$Ei=null}}requestUpdate(e,t,r){var n=!0;void 0!==e&&(((r=r||this.constructor.getPropertyOptions(e)).hasChanged||n$4)(this[e],t)?(this._$AL.has(e)||this._$AL.set(e,t),!0===r.reflect&&this._$Ei!==e&&(void 0===this._$E_&&(this._$E_=new Map),this._$E_.set(e,r))):n=!1),!this.isUpdatePending&&n&&(this._$Ep=this._$EC())}_$EC(){var e=this;return _asyncToGenerator((function*(){e.isUpdatePending=!0;try{yield e._$Ep}catch(t){Promise.reject(t)}var t=e.scheduleUpdate();return null!=t&&(yield t),!e.isUpdatePending}))()}scheduleUpdate(){return this.performUpdate()}performUpdate(){var e;if(this.isUpdatePending){this.hasUpdated,this._$Et&&(this._$Et.forEach(((e,t)=>this[t]=e)),this._$Et=void 0);var t=!1,r=this._$AL;try{(t=this.shouldUpdate(r))?(this.willUpdate(r),null===(e=this._$Eg)||void 0===e||e.forEach((e=>{var t;return null===(t=e.hostUpdate)||void 0===t?void 0:t.call(e)})),this.update(r)):this._$EU()}catch(e){throw t=!1,this._$EU(),e}t&&this._$AE(r)}}willUpdate(e){}_$AE(e){var t;null===(t=this._$Eg)||void 0===t||t.forEach((e=>{var t;return null===(t=e.hostUpdated)||void 0===t?void 0:t.call(e)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ep}shouldUpdate(e){return!0}update(e){void 0!==this._$E_&&(this._$E_.forEach(((e,t)=>this._$ES(t,this[t],e))),this._$E_=void 0),this._$EU()}updated(e){}firstUpdated(e){}}a$1.finalized=!0,a$1.elementProperties=new Map,a$1.elementStyles=[],a$1.shadowRootOptions={mode:"open"},null==h$2||h$2({ReactiveElement:a$1}),(null!==(s$2=globalThis.reactiveElementVersions)&&void 0!==s$2?s$2:globalThis.reactiveElementVersions=[]).push("1.2.1");var i$2=globalThis.trustedTypes,s$1=i$2?i$2.createPolicy("lit-html",{createHTML:e=>e}):void 0,e$6="lit$".concat((Math.random()+"").slice(9),"$"),o$3="?"+e$6,n$3="<".concat(o$3,">"),l$2=document,h$1=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return l$2.createComment(e)},r$1=e=>null===e||"object"!=typeof e&&"function"!=typeof e,d=Array.isArray,u=e=>{var t;return d(e)||"function"==typeof(null===(t=e)||void 0===t?void 0:t[Symbol.iterator])},c=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v=/-->/g,a=/>/g,f=/>|[ \n\r](?:([^\s"'>=/]+)([ \n\r]*=[ \n\r]*(?:[^ \n\r"'`<>=]|("|')|))|$)/g,_=/'/g,m=/"/g,g=/^(?:script|style|textarea)$/i,p=e=>function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];return{_$litType$:e,strings:t,values:n}},$=p(1),y=p(2),b=Symbol.for("lit-noChange"),w=Symbol.for("lit-nothing"),T=new WeakMap,x=(e,t,r)=>{var n,a,o=null!==(n=null==r?void 0:r.renderBefore)&&void 0!==n?n:t,i=o._$litPart$;if(void 0===i){var l=null!==(a=null==r?void 0:r.renderBefore)&&void 0!==a?a:null;o._$litPart$=i=new N(t.insertBefore(h$1(),l),l,void 0,null!=r?r:{})}return i._$AI(e),i},A=l$2.createTreeWalker(l$2,129,null,!1),C=(e,t)=>{for(var r,n=e.length-1,o=[],i=2===t?"<svg>":"",l=c,s=0;s<n;s++){for(var u=e[s],d=void 0,p=void 0,h=-1,b=0;b<u.length&&(l.lastIndex=b,null!==(p=l.exec(u)));)b=l.lastIndex,l===c?"!--"===p[1]?l=v:void 0!==p[1]?l=a:void 0!==p[2]?(g.test(p[2])&&(r=RegExp("</"+p[2],"g")),l=f):void 0!==p[3]&&(l=f):l===f?">"===p[0]?(l=null!=r?r:c,h=-1):void 0===p[1]?h=-2:(h=l.lastIndex-p[2].length,d=p[1],l=void 0===p[3]?f:'"'===p[3]?m:_):l===m||l===_?l=f:l===v||l===a?l=c:(l=f,r=void 0);var y=l===f&&e[s+1].startsWith("/>")?" ":"";i+=l===c?u+n$3:h>=0?(o.push(d),u.slice(0,h)+"$lit$"+u.slice(h)+e$6+y):u+e$6+(-2===h?(o.push(void 0),s):y)}var E=i+(e[n]||"<?>")+(2===t?"</svg>":"");if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==s$1?s$1.createHTML(E):E,o]};class E{constructor(e,t){var r,{strings:n,_$litType$:a}=e;this.parts=[];var o=0,i=0,l=n.length-1,s=this.parts,[c,u]=C(n,a);if(this.el=E.createElement(c,t),A.currentNode=this.el.content,2===a){var d=this.el.content,p=d.firstChild;p.remove(),d.append(...p.childNodes)}for(;null!==(r=A.nextNode())&&s.length<l;){if(1===r.nodeType){if(r.hasAttributes()){var m=[];for(var h of r.getAttributeNames())if(h.endsWith("$lit$")||h.startsWith(e$6)){var f=u[i++];if(m.push(h),void 0!==f){var v=r.getAttribute(f.toLowerCase()+"$lit$").split(e$6),b=/([.?@])?(.*)/.exec(f);s.push({type:1,index:o,name:b[2],strings:v,ctor:"."===b[1]?M:"?"===b[1]?H:"@"===b[1]?I:S})}else s.push({type:6,index:o})}for(var y of m)r.removeAttribute(y)}if(g.test(r.tagName)){var k=r.textContent.split(e$6),w=k.length-1;if(w>0){r.textContent=i$2?i$2.emptyScript:"";for(var x=0;x<w;x++)r.append(k[x],h$1()),A.nextNode(),s.push({type:2,index:++o});r.append(k[w],h$1())}}}else if(8===r.nodeType)if(r.data===o$3)s.push({type:2,index:o});else for(var _=-1;-1!==(_=r.data.indexOf(e$6,_+1));)s.push({type:7,index:o}),_+=e$6.length-1;o++}}static createElement(e,t){var r=l$2.createElement("template");return r.innerHTML=e,r}}function P(e,t){var r,n,a,o,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,l=arguments.length>3?arguments[3]:void 0;if(t===b)return t;var s=void 0!==l?null===(r=i._$Cl)||void 0===r?void 0:r[l]:i._$Cu,c=r$1(t)?void 0:t._$litDirective$;return(null==s?void 0:s.constructor)!==c&&(null===(n=null==s?void 0:s._$AO)||void 0===n||n.call(s,!1),void 0===c?s=void 0:(s=new c(e))._$AT(e,i,l),void 0!==l?(null!==(a=(o=i)._$Cl)&&void 0!==a?a:o._$Cl=[])[l]=s:i._$Cu=s),void 0!==s&&(t=P(e,s._$AS(e,t.values),s,l)),t}class V{constructor(e,t){this.v=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(e){var t,{el:{content:r},parts:n}=this._$AD,a=(null!==(t=null==e?void 0:e.creationScope)&&void 0!==t?t:l$2).importNode(r,!0);A.currentNode=a;for(var o=A.nextNode(),i=0,l=0,s=n[0];void 0!==s;){if(i===s.index){var c=void 0;2===s.type?c=new N(o,o.nextSibling,this,e):1===s.type?c=new s.ctor(o,s.name,s.strings,this,e):6===s.type&&(c=new L(o,this,e)),this.v.push(c),s=n[++l]}i!==(null==s?void 0:s.index)&&(o=A.nextNode(),i++)}return a}m(e){var t=0;for(var r of this.v)void 0!==r&&(void 0!==r.strings?(r._$AI(e,r,t),t+=r.strings.length-2):r._$AI(e[t])),t++}}class N{constructor(e,t,r,n){var a;this.type=2,this._$AH=w,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=r,this.options=n,this._$Cg=null===(a=null==n?void 0:n.isConnected)||void 0===a||a}get _$AU(){var e,t;return null!==(t=null===(e=this._$AM)||void 0===e?void 0:e._$AU)&&void 0!==t?t:this._$Cg}get parentNode(){var e=this._$AA.parentNode,t=this._$AM;return void 0!==t&&11===e.nodeType&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e){e=P(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:this),r$1(e)?e===w||null==e||""===e?(this._$AH!==w&&this._$AR(),this._$AH=w):e!==this._$AH&&e!==b&&this.$(e):void 0!==e._$litType$?this.T(e):void 0!==e.nodeType?this.S(e):u(e)?this.A(e):this.$(e)}M(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._$AB;return this._$AA.parentNode.insertBefore(e,t)}S(e){this._$AH!==e&&(this._$AR(),this._$AH=this.M(e))}$(e){this._$AH!==w&&r$1(this._$AH)?this._$AA.nextSibling.data=e:this.S(l$2.createTextNode(e)),this._$AH=e}T(e){var t,{values:r,_$litType$:n}=e,a="number"==typeof n?this._$AC(e):(void 0===n.el&&(n.el=E.createElement(n.h,this.options)),n);if((null===(t=this._$AH)||void 0===t?void 0:t._$AD)===a)this._$AH.m(r);else{var o=new V(a,this),i=o.p(this.options);o.m(r),this.S(i),this._$AH=o}}_$AC(e){var t=T.get(e.strings);return void 0===t&&T.set(e.strings,t=new E(e)),t}A(e){d(this._$AH)||(this._$AH=[],this._$AR());var t,r=this._$AH,n=0;for(var a of e)n===r.length?r.push(t=new N(this.M(h$1()),this.M(h$1()),this,this.options)):t=r[n],t._$AI(a),n++;n<r.length&&(this._$AR(t&&t._$AB.nextSibling,n),r.length=n)}_$AR(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._$AA.nextSibling,r=arguments.length>1?arguments[1]:void 0;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,r);t&&t!==this._$AB;){var n=t.nextSibling;t.remove(),t=n}}setConnected(e){var t;void 0===this._$AM&&(this._$Cg=e,null===(t=this._$AP)||void 0===t||t.call(this,e))}}class S{constructor(e,t,r,n,a){this.type=1,this._$AH=w,this._$AN=void 0,this.element=e,this.name=t,this._$AM=n,this.options=a,r.length>2||""!==r[0]||""!==r[1]?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=w}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,r=arguments.length>2?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0,a=this.strings,o=!1;if(void 0===a)e=P(this,e,t,0),(o=!r$1(e)||e!==this._$AH&&e!==b)&&(this._$AH=e);else{var i,l,s=e;for(e=a[0],i=0;i<a.length-1;i++)(l=P(this,s[r+i],t,i))===b&&(l=this._$AH[i]),o||(o=!r$1(l)||l!==this._$AH[i]),l===w?e=w:e!==w&&(e+=(null!=l?l:"")+a[i+1]),this._$AH[i]=l}o&&!n&&this.k(e)}k(e){e===w?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=e?e:"")}}class M extends S{constructor(){super(...arguments),this.type=3}k(e){this.element[this.name]=e===w?void 0:e}}var k=i$2?i$2.emptyScript:"";class H extends S{constructor(){super(...arguments),this.type=4}k(e){e&&e!==w?this.element.setAttribute(this.name,k):this.element.removeAttribute(this.name)}}class I extends S{constructor(e,t,r,n,a){super(e,t,r,n,a),this.type=5}_$AI(e){var t;if((e=null!==(t=P(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,0))&&void 0!==t?t:w)!==b){var r=this._$AH,n=e===w&&r!==w||e.capture!==r.capture||e.once!==r.once||e.passive!==r.passive,a=e!==w&&(r===w||n);n&&this.element.removeEventListener(this.name,this,r),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}}handleEvent(e){var t,r;"function"==typeof this._$AH?this._$AH.call(null!==(r=null===(t=this.options)||void 0===t?void 0:t.host)&&void 0!==r?r:this.element,e):this._$AH.handleEvent(e)}}class L{constructor(e,t,r){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(e){P(this,e)}}var R={P:"$lit$",V:e$6,L:o$3,I:1,N:C,R:V,D:u,j:P,H:N,O:S,F:H,B:I,W:M,Z:L},z=window.litHtmlPolyfillSupport,l$1,o$2;null==z||z(E,N),(null!==(t$2=globalThis.litHtmlVersions)&&void 0!==t$2?t$2:globalThis.litHtmlVersions=[]).push("2.1.2");var r=a$1;class s extends a$1{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var e,t,r=super.createRenderRoot();return null!==(e=(t=this.renderOptions).renderBefore)&&void 0!==e||(t.renderBefore=r.firstChild),r}update(e){var t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Dt=x(t,this.renderRoot,this.renderOptions)}connectedCallback(){var e;super.connectedCallback(),null===(e=this._$Dt)||void 0===e||e.setConnected(!0)}disconnectedCallback(){var e;super.disconnectedCallback(),null===(e=this._$Dt)||void 0===e||e.setConnected(!1)}render(){return b}}s.finalized=!0,s._$litElement$=!0,null===(l$1=globalThis.litElementHydrateSupport)||void 0===l$1||l$1.call(globalThis,{LitElement:s});var n$2=globalThis.litElementPolyfillSupport;null==n$2||n$2({LitElement:s});var h={_$AK:(e,t,r)=>{e._$AK(t,r)},_$AL:e=>e._$AL};(null!==(o$2=globalThis.litElementVersions)&&void 0!==o$2?o$2:globalThis.litElementVersions=[]).push("3.1.2");var n$1=e=>t=>"function"==typeof t?((e,t)=>(window.customElements.define(e,t),t))(e,t):((e,t)=>{var{kind:r,elements:n}=t;return{kind:r,elements:n,finisher(t){window.customElements.define(e,t)}}})(e,t),i$1=(e,t)=>"method"===t.kind&&t.descriptor&&!("value"in t.descriptor)?_objectSpread2(_objectSpread2({},t),{},{finisher(r){r.createProperty(t.key,e)}}):{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:t.key,initializer(){"function"==typeof t.initializer&&(this[t.key]=t.initializer.call(this))},finisher(r){r.createProperty(t.key,e)}};function e$5(e){return(t,r)=>void 0!==r?((e,t,r)=>{t.constructor.createProperty(r,e)})(e,t,r):i$1(e,t)}function t$1(e){return e$5(_objectSpread2(_objectSpread2({},e),{},{state:!0}))}var e$4=(e,t,r)=>{Object.defineProperty(t,r,e)},t=(e,t)=>({kind:"method",placement:"prototype",key:t.key,descriptor:e}),o$1=e=>{var{finisher:t,descriptor:r}=e;return(e,n)=>{var a;if(void 0===n){var o=null!==(a=e.originalKey)&&void 0!==a?a:e.key,i=null!=r?{kind:"method",placement:"prototype",key:o,descriptor:r(e.key)}:_objectSpread2(_objectSpread2({},e),{},{key:o});return null!=t&&(i.finisher=function(e){t(e,o)}),i}var l=e.constructor;void 0!==r&&Object.defineProperty(e,n,r(n)),null==t||t(l,n)}},n;function e$3(e){return o$1({finisher:(t,r)=>{Object.assign(t.prototype[r],e)}})}function i(e,t){return o$1({descriptor:r=>{var n={get(){var t,r;return null!==(r=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(e))&&void 0!==r?r:null},enumerable:!0,configurable:!0};if(t){var a="symbol"==typeof r?Symbol():"__"+r;n.get=function(){var t,r;return void 0===this[a]&&(this[a]=null!==(r=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(e))&&void 0!==r?r:null),this[a]}}return n}})}function e$2(e){return o$1({descriptor:t=>({get(){var t,r;return null!==(r=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelectorAll(e))&&void 0!==r?r:[]},enumerable:!0,configurable:!0})})}function e$1(e){return o$1({descriptor:t=>({get(){var t=this;return _asyncToGenerator((function*(){var r;return yield t.updateComplete,null===(r=t.renderRoot)||void 0===r?void 0:r.querySelector(e)}))()},enumerable:!0,configurable:!0})})}var e=null!=(null===(n=window.HTMLSlotElement)||void 0===n?void 0:n.prototype.assignedElements)?(e,t)=>e.assignedElements(t):(e,t)=>e.assignedNodes(t).filter((e=>e.nodeType===Node.ELEMENT_NODE));function l(t){var{slot:r,selector:n}=null!=t?t:{};return o$1({descriptor:a=>({get(){var a,o="slot"+(r?"[name=".concat(r,"]"):":not([name])"),i=null===(a=this.renderRoot)||void 0===a?void 0:a.querySelector(o),l=null!=i?e(i,t):[];return n?l.filter((e=>e.matches(n))):l},enumerable:!0,configurable:!0})})}function o(e,t,r){var n,a=e;return"object"==typeof e?(a=e.slot,n=e):n={flatten:t},r?l({slot:a,flatten:t,selector:r}):o$1({descriptor:e=>({get(){var e,t,r="slot"+(a?"[name=".concat(a,"]"):":not([name])"),o=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(r);return null!==(t=null==o?void 0:o.assignedNodes(n))&&void 0!==t?t:[]},enumerable:!0,configurable:!0})})}var commonjsGlobal="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==__webpack_require__.g?__webpack_require__.g:"undefined"!=typeof self?self:{};function getDefaultExportFromCjs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function getDefaultExportFromNamespaceIfPresent(e){return e&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function getDefaultExportFromNamespaceIfNotNamed(e){return e&&Object.prototype.hasOwnProperty.call(e,"default")&&1===Object.keys(e).length?e.default:e}function getAugmentedNamespace(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach((function(r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})})),t}function commonjsRequire(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var lottie$1={exports:{}};(function(module,exports){var factory;"undefined"!=typeof navigator&&(factory=function(){var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(e){_useWebWorker=!!e},getWebWorker=function(){return _useWebWorker},setLocationHref=function(e){locationHref=e},getLocationHref=function(){return locationHref};function createTag(e){return document.createElement(e)}function extendPrototype(e,t){var r,n,a=e.length;for(r=0;r<a;r+=1)for(var o in n=e[r].prototype)Object.prototype.hasOwnProperty.call(n,o)&&(t.prototype[o]=n[o])}function getDescriptor(e,t){return Object.getOwnPropertyDescriptor(e,t)}function createProxyFunction(e){function t(){}return t.prototype=e,t}var audioControllerFactory=function(){function e(e){this.audios=[],this.audioFactory=e,this._volume=1,this._isMuted=!1}return e.prototype={addAudio:function(e){this.audios.push(e)},pause:function(){var e,t=this.audios.length;for(e=0;e<t;e+=1)this.audios[e].pause()},resume:function(){var e,t=this.audios.length;for(e=0;e<t;e+=1)this.audios[e].resume()},setRate:function(e){var t,r=this.audios.length;for(t=0;t<r;t+=1)this.audios[t].setRate(e)},createAudio:function(e){return this.audioFactory?this.audioFactory(e):window.Howl?new window.Howl({src:[e]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(e){this.audioFactory=e},setVolume:function(e){this._volume=e,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var e,t=this.audios.length;for(e=0;e<t;e+=1)this.audios[e].volume(this._volume*(this._isMuted?0:1))}},function(){return new e}}(),createTypedArray=function(){function e(e,t){var r,n=0,a=[];switch(e){case"int16":case"uint8c":r=1;break;default:r=1.1}for(n=0;n<t;n+=1)a.push(r);return a}return"function"==typeof Uint8ClampedArray&&"function"==typeof Float32Array?function(t,r){return"float32"===t?new Float32Array(r):"int16"===t?new Int16Array(r):"uint8c"===t?new Uint8ClampedArray(r):e(t,r)}:e}();function createSizedArray(e){return Array.apply(null,{length:e})}function _typeof$6(e){return _typeof$6="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},_typeof$6(e)}var subframeEnabled=!0,expressionsPlugin=null,expressionsInterfaces=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),_shouldRoundValues=!1,bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};function ProjectInterface$1(){return{}}!function(){var e,t=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],r=t.length;for(e=0;e<r;e+=1)BMMath[t[e]]=Math[t[e]]}(),BMMath.random=Math.random,BMMath.abs=function(e){if("object"===_typeof$6(e)&&e.length){var t,r=createSizedArray(e.length),n=e.length;for(t=0;t<n;t+=1)r[t]=Math.abs(e[t]);return r}return Math.abs(e)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function roundValues(e){_shouldRoundValues=!!e}function bmRnd(e){return _shouldRoundValues?Math.round(e):e}function styleDiv(e){e.style.position="absolute",e.style.top=0,e.style.left=0,e.style.display="block",e.style.transformOrigin="0 0",e.style.webkitTransformOrigin="0 0",e.style.backfaceVisibility="visible",e.style.webkitBackfaceVisibility="visible",e.style.transformStyle="preserve-3d",e.style.webkitTransformStyle="preserve-3d",e.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(e,t,r,n){this.type=e,this.currentTime=t,this.totalTime=r,this.direction=n<0?-1:1}function BMCompleteEvent(e,t){this.type=e,this.direction=t<0?-1:1}function BMCompleteLoopEvent(e,t,r,n){this.type=e,this.currentLoop=r,this.totalLoops=t,this.direction=n<0?-1:1}function BMSegmentStartEvent(e,t,r){this.type=e,this.firstFrame=t,this.totalFrames=r}function BMDestroyEvent(e,t){this.type=e,this.target=t}function BMRenderFrameErrorEvent(e,t){this.type="renderFrameError",this.nativeError=e,this.currentTime=t}function BMConfigErrorEvent(e){this.type="configError",this.nativeError=e}function BMAnimationConfigErrorEvent(e,t){this.type=e,this.nativeError=t}var createElementID=(_count=0,function(){return idPrefix$1+"__lottie_element_"+(_count+=1)}),_count;function HSVtoRGB(e,t,r){var n,a,o,i,l,s,c,u;switch(s=r*(1-t),c=r*(1-(l=6*e-(i=Math.floor(6*e)))*t),u=r*(1-(1-l)*t),i%6){case 0:n=r,a=u,o=s;break;case 1:n=c,a=r,o=s;break;case 2:n=s,a=r,o=u;break;case 3:n=s,a=c,o=r;break;case 4:n=u,a=s,o=r;break;case 5:n=r,a=s,o=c}return[n,a,o]}function RGBtoHSV(e,t,r){var n,a=Math.max(e,t,r),o=Math.min(e,t,r),i=a-o,l=0===a?0:i/a,s=a/255;switch(a){case o:n=0;break;case e:n=t-r+i*(t<r?6:0),n/=6*i;break;case t:n=r-e+2*i,n/=6*i;break;case r:n=e-t+4*i,n/=6*i}return[n,l,s]}function addSaturationToRGB(e,t){var r=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return r[1]+=t,r[1]>1?r[1]=1:r[1]<=0&&(r[1]=0),HSVtoRGB(r[0],r[1],r[2])}function addBrightnessToRGB(e,t){var r=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return r[2]+=t,r[2]>1?r[2]=1:r[2]<0&&(r[2]=0),HSVtoRGB(r[0],r[1],r[2])}function addHueToRGB(e,t){var r=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return r[0]+=t/360,r[0]>1?r[0]-=1:r[0]<0&&(r[0]+=1),HSVtoRGB(r[0],r[1],r[2])}var rgbToHex=function(){var e,t,r=[];for(e=0;e<256;e+=1)t=e.toString(16),r[e]=1===t.length?"0"+t:t;return function(e,t,n){return e<0&&(e=0),t<0&&(t=0),n<0&&(n=0),"#"+r[e]+r[t]+r[n]}}(),setSubframeEnabled=function(e){subframeEnabled=!!e},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(e){expressionsPlugin=e},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(e){expressionsInterfaces=e},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(e){defaultCurveSegments=e},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(e){idPrefix$1=e},getIdPrefix=function(){return idPrefix$1};function createNS(e){return document.createElementNS(svgNS,e)}function _typeof$5(e){return _typeof$5="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},_typeof$5(e)}var dataManager=function(){var e,t,r=1,n=[],a={onmessage:function(){},postMessage:function(t){e({data:t})}},o={postMessage:function(e){a.onmessage({data:e})}};function i(){t||(t=function(t){if(window.Worker&&window.Blob&&getWebWorker()){var r=new Blob(["var _workerSelf = self; self.onmessage = ",t.toString()],{type:"text/javascript"}),n=URL.createObjectURL(r);return new Worker(n)}return e=t,a}((function(e){if(o.dataManager||(o.dataManager=function(){function e(a,o){var i,l,s,c,u,p,m=a.length;for(l=0;l<m;l+=1)if("ks"in(i=a[l])&&!i.completed){if(i.completed=!0,i.hasMask){var h=i.masksProperties;for(c=h.length,s=0;s<c;s+=1)if(h[s].pt.k.i)n(h[s].pt.k);else for(p=h[s].pt.k.length,u=0;u<p;u+=1)h[s].pt.k[u].s&&n(h[s].pt.k[u].s[0]),h[s].pt.k[u].e&&n(h[s].pt.k[u].e[0])}0===i.ty?(i.layers=t(i.refId,o),e(i.layers,o)):4===i.ty?r(i.shapes):5===i.ty&&d(i)}}function t(e,t){var r=function(e,t){for(var r=0,n=t.length;r<n;){if(t[r].id===e)return t[r];r+=1}return null}(e,t);return r?r.layers.__used?JSON.parse(JSON.stringify(r.layers)):(r.layers.__used=!0,r.layers):null}function r(e){var t,a,o;for(t=e.length-1;t>=0;t-=1)if("sh"===e[t].ty)if(e[t].ks.k.i)n(e[t].ks.k);else for(o=e[t].ks.k.length,a=0;a<o;a+=1)e[t].ks.k[a].s&&n(e[t].ks.k[a].s[0]),e[t].ks.k[a].e&&n(e[t].ks.k[a].e[0]);else"gr"===e[t].ty&&r(e[t].it)}function n(e){var t,r=e.i.length;for(t=0;t<r;t+=1)e.i[t][0]+=e.v[t][0],e.i[t][1]+=e.v[t][1],e.o[t][0]+=e.v[t][0],e.o[t][1]+=e.v[t][1]}function a(e,t){var r=t?t.split("."):[100,100,100];return e[0]>r[0]||!(r[0]>e[0])&&(e[1]>r[1]||!(r[1]>e[1])&&(e[2]>r[2]||!(r[2]>e[2])&&null))}var o,i=function(){var e=[4,4,14];function t(e){var t,r,n,a=e.length;for(t=0;t<a;t+=1)5===e[t].ty&&(n=(r=e[t]).t.d,r.t.d={k:[{s:n,t:0}]})}return function(r){if(a(e,r.v)&&(t(r.layers),r.assets)){var n,o=r.assets.length;for(n=0;n<o;n+=1)r.assets[n].layers&&t(r.assets[n].layers)}}}(),l=(o=[4,7,99],function(e){if(e.chars&&!a(o,e.v)){var t,n=e.chars.length;for(t=0;t<n;t+=1){var i=e.chars[t];i.data&&i.data.shapes&&(r(i.data.shapes),i.data.ip=0,i.data.op=99999,i.data.st=0,i.data.sr=1,i.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},e.chars[t].t||(i.data.shapes.push({ty:"no"}),i.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}),s=function(){var e=[5,7,15];function t(e){var t,r,n=e.length;for(t=0;t<n;t+=1)5===e[t].ty&&(r=void 0,"number"==typeof(r=e[t].t.p).a&&(r.a={a:0,k:r.a}),"number"==typeof r.p&&(r.p={a:0,k:r.p}),"number"==typeof r.r&&(r.r={a:0,k:r.r}))}return function(r){if(a(e,r.v)&&(t(r.layers),r.assets)){var n,o=r.assets.length;for(n=0;n<o;n+=1)r.assets[n].layers&&t(r.assets[n].layers)}}}(),c=function(){var e=[4,1,9];function t(e){var r,n,a,o=e.length;for(r=0;r<o;r+=1)if("gr"===e[r].ty)t(e[r].it);else if("fl"===e[r].ty||"st"===e[r].ty)if(e[r].c.k&&e[r].c.k[0].i)for(a=e[r].c.k.length,n=0;n<a;n+=1)e[r].c.k[n].s&&(e[r].c.k[n].s[0]/=255,e[r].c.k[n].s[1]/=255,e[r].c.k[n].s[2]/=255,e[r].c.k[n].s[3]/=255),e[r].c.k[n].e&&(e[r].c.k[n].e[0]/=255,e[r].c.k[n].e[1]/=255,e[r].c.k[n].e[2]/=255,e[r].c.k[n].e[3]/=255);else e[r].c.k[0]/=255,e[r].c.k[1]/=255,e[r].c.k[2]/=255,e[r].c.k[3]/=255}function r(e){var r,n=e.length;for(r=0;r<n;r+=1)4===e[r].ty&&t(e[r].shapes)}return function(t){if(a(e,t.v)&&(r(t.layers),t.assets)){var n,o=t.assets.length;for(n=0;n<o;n+=1)t.assets[n].layers&&r(t.assets[n].layers)}}}(),u=function(){var e=[4,4,18];function t(e){var r,n,a;for(r=e.length-1;r>=0;r-=1)if("sh"===e[r].ty)if(e[r].ks.k.i)e[r].ks.k.c=e[r].closed;else for(a=e[r].ks.k.length,n=0;n<a;n+=1)e[r].ks.k[n].s&&(e[r].ks.k[n].s[0].c=e[r].closed),e[r].ks.k[n].e&&(e[r].ks.k[n].e[0].c=e[r].closed);else"gr"===e[r].ty&&t(e[r].it)}function r(e){var r,n,a,o,i,l,s=e.length;for(n=0;n<s;n+=1){if((r=e[n]).hasMask){var c=r.masksProperties;for(o=c.length,a=0;a<o;a+=1)if(c[a].pt.k.i)c[a].pt.k.c=c[a].cl;else for(l=c[a].pt.k.length,i=0;i<l;i+=1)c[a].pt.k[i].s&&(c[a].pt.k[i].s[0].c=c[a].cl),c[a].pt.k[i].e&&(c[a].pt.k[i].e[0].c=c[a].cl)}4===r.ty&&t(r.shapes)}}return function(t){if(a(e,t.v)&&(r(t.layers),t.assets)){var n,o=t.assets.length;for(n=0;n<o;n+=1)t.assets[n].layers&&r(t.assets[n].layers)}}}();function d(e){0===e.t.a.length&&e.t.p}var p={completeData:function(r){r.__complete||(c(r),i(r),l(r),s(r),u(r),e(r.layers,r.assets),function(r,n){if(r){var a=0,o=r.length;for(a=0;a<o;a+=1)1===r[a].t&&(r[a].data.layers=t(r[a].data.refId,n),e(r[a].data.layers,n))}}(r.chars,r.assets),r.__complete=!0)}};return p.checkColors=c,p.checkChars=l,p.checkPathProperties=s,p.checkShapes=u,p.completeLayers=e,p}()),o.assetLoader||(o.assetLoader=function(){function e(e){var t=e.getResponseHeader("content-type");return t&&"json"===e.responseType&&-1!==t.indexOf("json")||e.response&&"object"===_typeof$5(e.response)?e.response:e.response&&"string"==typeof e.response?JSON.parse(e.response):e.responseText?JSON.parse(e.responseText):null}return{load:function(t,r,n,a){var o,i=new XMLHttpRequest;try{i.responseType="json"}catch(e){}i.onreadystatechange=function(){if(4===i.readyState)if(200===i.status)o=e(i),n(o);else try{o=e(i),n(o)}catch(e){a&&a(e)}};try{i.open(["G","E","T"].join(""),t,!0)}catch(e){i.open(["G","E","T"].join(""),r+"/"+t,!0)}i.send()}}}()),"loadAnimation"===e.data.type)o.assetLoader.load(e.data.path,e.data.fullPath,(function(t){o.dataManager.completeData(t),o.postMessage({id:e.data.id,payload:t,status:"success"})}),(function(){o.postMessage({id:e.data.id,status:"error"})}));else if("complete"===e.data.type){var t=e.data.animation;o.dataManager.completeData(t),o.postMessage({id:e.data.id,payload:t,status:"success"})}else"loadData"===e.data.type&&o.assetLoader.load(e.data.path,e.data.fullPath,(function(t){o.postMessage({id:e.data.id,payload:t,status:"success"})}),(function(){o.postMessage({id:e.data.id,status:"error"})}))})),t.onmessage=function(e){var t=e.data,r=t.id,a=n[r];n[r]=null,"success"===t.status?a.onComplete(t.payload):a.onError&&a.onError()})}function l(e,t){var a="processId_"+(r+=1);return n[a]={onComplete:e,onError:t},a}return{loadAnimation:function(e,r,n){i();var a=l(r,n);t.postMessage({type:"loadAnimation",path:e,fullPath:window.location.origin+window.location.pathname,id:a})},loadData:function(e,r,n){i();var a=l(r,n);t.postMessage({type:"loadData",path:e,fullPath:window.location.origin+window.location.pathname,id:a})},completeAnimation:function(e,r,n){i();var a=l(r,n);t.postMessage({type:"complete",animation:e,id:a})}}}(),ImagePreloader=function(){var e=function(){var e=createTag("canvas");e.width=1,e.height=1;var t=e.getContext("2d");return t.fillStyle="rgba(0,0,0,0)",t.fillRect(0,0,1,1),e}();function t(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function r(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function n(e,t,r){var n="";if(e.e)n=e.p;else if(t){var a=e.p;-1!==a.indexOf("images/")&&(a=a.split("/")[1]),n=t+a}else n=r,n+=e.u?e.u:"",n+=e.p;return n}function a(e){var t=0,r=setInterval(function(){(e.getBBox().width||t>500)&&(this._imageLoaded(),clearInterval(r)),t+=1}.bind(this),50)}function o(e){var t={assetData:e},r=n(e,this.assetsPath,this.path);return dataManager.loadData(r,function(e){t.img=e,this._footageLoaded()}.bind(this),function(){t.img={},this._footageLoaded()}.bind(this)),t}function i(){this._imageLoaded=t.bind(this),this._footageLoaded=r.bind(this),this.testImageLoaded=a.bind(this),this.createFootageData=o.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return i.prototype={loadAssets:function(e,t){var r;this.imagesLoadedCb=t;var n=e.length;for(r=0;r<n;r+=1)e[r].layers||(e[r].t&&"seq"!==e[r].t?3===e[r].t&&(this.totalFootages+=1,this.images.push(this.createFootageData(e[r]))):(this.totalImages+=1,this.images.push(this._createImageData(e[r]))))},setAssetsPath:function(e){this.assetsPath=e||""},setPath:function(e){this.path=e||""},loadedImages:function(){return this.totalImages===this.loadedAssets},loadedFootages:function(){return this.totalFootages===this.loadedFootagesCount},destroy:function(){this.imagesLoadedCb=null,this.images.length=0},getAsset:function(e){for(var t=0,r=this.images.length;t<r;){if(this.images[t].assetData===e)return this.images[t].img;t+=1}return null},createImgData:function(t){var r=n(t,this.assetsPath,this.path),a=createTag("img");a.crossOrigin="anonymous",a.addEventListener("load",this._imageLoaded,!1),a.addEventListener("error",function(){o.img=e,this._imageLoaded()}.bind(this),!1),a.src=r;var o={img:a,assetData:t};return o},createImageData:function(t){var r=n(t,this.assetsPath,this.path),a=createNS("image");isSafari?this.testImageLoaded(a):a.addEventListener("load",this._imageLoaded,!1),a.addEventListener("error",function(){o.img=e,this._imageLoaded()}.bind(this),!1),a.setAttributeNS("http://www.w3.org/1999/xlink","href",r),this._elementHelper.append?this._elementHelper.append(a):this._elementHelper.appendChild(a);var o={img:a,assetData:t};return o},imageLoaded:t,footageLoaded:r,setCacheType:function(e,t){"svg"===e?(this._elementHelper=t,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}},i}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(e,t){if(this._cbs[e])for(var r=this._cbs[e],n=0;n<r.length;n+=1)r[n](t)},addEventListener:function(e,t){return this._cbs[e]||(this._cbs[e]=[]),this._cbs[e].push(t),function(){this.removeEventListener(e,t)}.bind(this)},removeEventListener:function(e,t){if(t){if(this._cbs[e]){for(var r=0,n=this._cbs[e].length;r<n;)this._cbs[e][r]===t&&(this._cbs[e].splice(r,1),r-=1,n-=1),r+=1;this._cbs[e].length||(this._cbs[e]=null)}}else this._cbs[e]=null}};var markerParser=function(){function e(e){for(var t,r=e.split("\r\n"),n={},a=0,o=0;o<r.length;o+=1)2===(t=r[o].split(":")).length&&(n[t[0]]=t[1].trim(),a+=1);if(0===a)throw new Error;return n}return function(t){for(var r=[],n=0;n<t.length;n+=1){var a=t[n],o={time:a.tm,duration:a.dr};try{o.payload=JSON.parse(t[n].cm)}catch(r){try{o.payload=e(t[n].cm)}catch(e){o.payload={name:t[n].cm}}}r.push(o)}return r}}(),ProjectInterface=function(){function e(e){this.compositions.push(e)}return function(){function t(e){for(var t=0,r=this.compositions.length;t<r;){if(this.compositions[t].data&&this.compositions[t].data.nm===e)return this.compositions[t].prepareFrame&&this.compositions[t].data.xt&&this.compositions[t].prepareFrame(this.currentFrame),this.compositions[t].compInterface;t+=1}return null}return t.compositions=[],t.currentFrame=0,t.registerComposition=e,t}}(),renderers={},registerRenderer=function(e,t){renderers[e]=t};function getRenderer(e){return renderers[e]}function getRegisteredRenderer(){if(renderers.canvas)return"canvas";for(var e in renderers)if(renderers[e])return e;return""}function _typeof$4(e){return _typeof$4="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},_typeof$4(e)}var AnimationItem=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=createElementID(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=getSubframeEnabled(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ProjectInterface(),this.imagePreloader=new ImagePreloader,this.audioController=audioControllerFactory(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new BMEnterFrameEvent("drawnFrame",0,0,0),this.expressionsPlugin=getExpressionsPlugin()};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(e){(e.wrapper||e.container)&&(this.wrapper=e.wrapper||e.container);var t="svg";e.animType?t=e.animType:e.renderer&&(t=e.renderer);var r=getRenderer(t);this.renderer=new r(this,e.rendererSettings),this.imagePreloader.setCacheType(t,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=t,""===e.loop||null===e.loop||void 0===e.loop||!0===e.loop?this.loop=!0:!1===e.loop?this.loop=!1:this.loop=parseInt(e.loop,10),this.autoplay=!("autoplay"in e)||e.autoplay,this.name=e.name?e.name:"",this.autoloadSegments=!Object.prototype.hasOwnProperty.call(e,"autoloadSegments")||e.autoloadSegments,this.assetsPath=e.assetsPath,this.initialSegment=e.initialSegment,e.audioFactory&&this.audioController.setAudioFactory(e.audioFactory),e.animationData?this.setupAnimation(e.animationData):e.path&&(-1!==e.path.lastIndexOf("\\")?this.path=e.path.substr(0,e.path.lastIndexOf("\\")+1):this.path=e.path.substr(0,e.path.lastIndexOf("/")+1),this.fileName=e.path.substr(e.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),dataManager.loadAnimation(e.path,this.configAnimation,this.onSetupError))},AnimationItem.prototype.onSetupError=function(){this.trigger("data_failed")},AnimationItem.prototype.setupAnimation=function(e){dataManager.completeAnimation(e,this.configAnimation)},AnimationItem.prototype.setData=function(e,t){t&&"object"!==_typeof$4(t)&&(t=JSON.parse(t));var r={wrapper:e,animationData:t},n=e.attributes;r.path=n.getNamedItem("data-animation-path")?n.getNamedItem("data-animation-path").value:n.getNamedItem("data-bm-path")?n.getNamedItem("data-bm-path").value:n.getNamedItem("bm-path")?n.getNamedItem("bm-path").value:"",r.animType=n.getNamedItem("data-anim-type")?n.getNamedItem("data-anim-type").value:n.getNamedItem("data-bm-type")?n.getNamedItem("data-bm-type").value:n.getNamedItem("bm-type")?n.getNamedItem("bm-type").value:n.getNamedItem("data-bm-renderer")?n.getNamedItem("data-bm-renderer").value:n.getNamedItem("bm-renderer")?n.getNamedItem("bm-renderer").value:getRegisteredRenderer()||"canvas";var a=n.getNamedItem("data-anim-loop")?n.getNamedItem("data-anim-loop").value:n.getNamedItem("data-bm-loop")?n.getNamedItem("data-bm-loop").value:n.getNamedItem("bm-loop")?n.getNamedItem("bm-loop").value:"";"false"===a?r.loop=!1:"true"===a?r.loop=!0:""!==a&&(r.loop=parseInt(a,10));var o=n.getNamedItem("data-anim-autoplay")?n.getNamedItem("data-anim-autoplay").value:n.getNamedItem("data-bm-autoplay")?n.getNamedItem("data-bm-autoplay").value:!n.getNamedItem("bm-autoplay")||n.getNamedItem("bm-autoplay").value;r.autoplay="false"!==o,r.name=n.getNamedItem("data-name")?n.getNamedItem("data-name").value:n.getNamedItem("data-bm-name")?n.getNamedItem("data-bm-name").value:n.getNamedItem("bm-name")?n.getNamedItem("bm-name").value:"","false"===(n.getNamedItem("data-anim-prerender")?n.getNamedItem("data-anim-prerender").value:n.getNamedItem("data-bm-prerender")?n.getNamedItem("data-bm-prerender").value:n.getNamedItem("bm-prerender")?n.getNamedItem("bm-prerender").value:"")&&(r.prerender=!1),r.path?this.setParams(r):this.trigger("destroy")},AnimationItem.prototype.includeLayers=function(e){e.op>this.animationData.op&&(this.animationData.op=e.op,this.totalFrames=Math.floor(e.op-this.animationData.ip));var t,r,n=this.animationData.layers,a=n.length,o=e.layers,i=o.length;for(r=0;r<i;r+=1)for(t=0;t<a;){if(n[t].id===o[r].id){n[t]=o[r];break}t+=1}if((e.chars||e.fonts)&&(this.renderer.globalData.fontManager.addChars(e.chars),this.renderer.globalData.fontManager.addFonts(e.fonts,this.renderer.globalData.defs)),e.assets)for(a=e.assets.length,t=0;t<a;t+=1)this.animationData.assets.push(e.assets[t]);this.animationData.__complete=!1,dataManager.completeAnimation(this.animationData,this.onSegmentComplete)},AnimationItem.prototype.onSegmentComplete=function(e){this.animationData=e;var t=getExpressionsPlugin();t&&t.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var e=this.animationData.segments;if(!e||0===e.length||!this.autoloadSegments)return this.trigger("data_ready"),void(this.timeCompleted=this.totalFrames);var t=e.shift();this.timeCompleted=t.time*this.frameRate;var r=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,dataManager.loadData(r,this.includeLayers.bind(this),function(){this.trigger("data_failed")}.bind(this))},AnimationItem.prototype.loadSegments=function(){this.animationData.segments||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},AnimationItem.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},AnimationItem.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},AnimationItem.prototype.configAnimation=function(e){if(this.renderer)try{this.animationData=e,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(e),e.assets||(e.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(e.assets),this.markers=markerParser(e.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(e){this.triggerConfigError(e)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||"canvas"!==this.renderer.rendererType)&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var e=getExpressionsPlugin();e&&e.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded")}.bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},AnimationItem.prototype.resize=function(e,t){var r="number"==typeof e?e:void 0,n="number"==typeof t?t:void 0;this.renderer.updateContainerSize(r,n)},AnimationItem.prototype.setSubframe=function(e){this.isSubframeEnabled=!!e},AnimationItem.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},AnimationItem.prototype.renderFrame=function(){if(!1!==this.isLoaded&&this.renderer)try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(e){this.triggerRenderFrameError(e)}},AnimationItem.prototype.play=function(e){e&&this.name!==e||!0===this.isPaused&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(e){e&&this.name!==e||!1===this.isPaused&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(e){e&&this.name!==e||(!0===this.isPaused?this.play():this.pause())},AnimationItem.prototype.stop=function(e){e&&this.name!==e||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(e){for(var t,r=0;r<this.markers.length;r+=1)if((t=this.markers[r]).payload&&t.payload.name===e)return t;return null},AnimationItem.prototype.goToAndStop=function(e,t,r){if(!r||this.name===r){var n=Number(e);if(isNaN(n)){var a=this.getMarkerData(e);a&&this.goToAndStop(a.time,!0)}else t?this.setCurrentRawFrameValue(e):this.setCurrentRawFrameValue(e*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(e,t,r){if(!r||this.name===r){var n=Number(e);if(isNaN(n)){var a=this.getMarkerData(e);a&&(a.duration?this.playSegments([a.time,a.time+a.duration],!0):this.goToAndStop(a.time,!0))}else this.goToAndStop(n,t,r);this.play()}},AnimationItem.prototype.advanceTime=function(e){if(!0!==this.isPaused&&!1!==this.isLoaded){var t=this.currentRawFrame+e*this.frameModifier,r=!1;t>=this.totalFrames-1&&this.frameModifier>0?this.loop&&this.playCount!==this.loop?t>=this.totalFrames?(this.playCount+=1,this.checkSegments(t%this.totalFrames)||(this.setCurrentRawFrameValue(t%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(t):this.checkSegments(t>this.totalFrames?t%this.totalFrames:0)||(r=!0,t=this.totalFrames-1):t<0?this.checkSegments(t%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(r=!0,t=0):(this.setCurrentRawFrameValue(this.totalFrames+t%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(t),r&&(this.setCurrentRawFrameValue(t),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(e,t){this.playCount=0,e[1]<e[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=e[0]-e[1],this.timeCompleted=this.totalFrames,this.firstFrame=e[1],this.setCurrentRawFrameValue(this.totalFrames-.001-t)):e[1]>e[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=e[1]-e[0],this.timeCompleted=this.totalFrames,this.firstFrame=e[0],this.setCurrentRawFrameValue(.001+t)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(e,t){var r=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<e?r=e:this.currentRawFrame+this.firstFrame>t&&(r=t-e)),this.firstFrame=e,this.totalFrames=t-e,this.timeCompleted=this.totalFrames,-1!==r&&this.goToAndStop(r,!0)},AnimationItem.prototype.playSegments=function(e,t){if(t&&(this.segments.length=0),"object"===_typeof$4(e[0])){var r,n=e.length;for(r=0;r<n;r+=1)this.segments.push(e[r])}else this.segments.push(e);this.segments.length&&t&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(e){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),e&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(e){return!!this.segments.length&&(this.adjustSegment(this.segments.shift(),e),!0)},AnimationItem.prototype.destroy=function(e){e&&this.name!==e||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.expressionsPlugin=null,this.imagePreloader=null,this.projectInterface=null)},AnimationItem.prototype.setCurrentRawFrameValue=function(e){this.currentRawFrame=e,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(e){this.playSpeed=e,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(e){this.playDirection=e<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.setLoop=function(e){this.loop=e},AnimationItem.prototype.setVolume=function(e,t){t&&this.name!==t||this.audioController.setVolume(e)},AnimationItem.prototype.getVolume=function(){return this.audioController.getVolume()},AnimationItem.prototype.mute=function(e){e&&this.name!==e||this.audioController.mute()},AnimationItem.prototype.unmute=function(e){e&&this.name!==e||this.audioController.unmute()},AnimationItem.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},AnimationItem.prototype.getPath=function(){return this.path},AnimationItem.prototype.getAssetsPath=function(e){var t="";if(e.e)t=e.p;else if(this.assetsPath){var r=e.p;-1!==r.indexOf("images/")&&(r=r.split("/")[1]),t=this.assetsPath+r}else t=this.path,t+=e.u?e.u:"",t+=e.p;return t},AnimationItem.prototype.getAssetData=function(e){for(var t=0,r=this.assets.length;t<r;){if(e===this.assets[t].id)return this.assets[t];t+=1}return null},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(e){return e?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.updateDocumentData=function(e,t,r){try{this.renderer.getElementByPath(e).updateDocumentData(t,r)}catch(e){}},AnimationItem.prototype.trigger=function(e){if(this._cbs&&this._cbs[e])switch(e){case"enterFrame":this.triggerEvent(e,new BMEnterFrameEvent(e,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(e,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(e,new BMCompleteLoopEvent(e,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(e,new BMCompleteEvent(e,this.frameMult));break;case"segmentStart":this.triggerEvent(e,new BMSegmentStartEvent(e,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(e,new BMDestroyEvent(e,this));break;default:this.triggerEvent(e)}"enterFrame"===e&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(e,this.currentFrame,this.totalFrames,this.frameMult)),"loopComplete"===e&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(e,this.loop,this.playCount,this.frameMult)),"complete"===e&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(e,this.frameMult)),"segmentStart"===e&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(e,this.firstFrame,this.totalFrames)),"destroy"===e&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(e,this))},AnimationItem.prototype.triggerRenderFrameError=function(e){var t=new BMRenderFrameErrorEvent(e,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)},AnimationItem.prototype.triggerConfigError=function(e){var t=new BMConfigErrorEvent(e,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)};var animationManager=function(){var e={},t=[],r=0,n=0,a=0,o=!0,i=!1;function l(e){for(var r=0,a=e.target;r<n;)t[r].animation===a&&(t.splice(r,1),r-=1,n-=1,a.isPaused||u()),r+=1}function s(e,r){if(!e)return null;for(var a=0;a<n;){if(t[a].elem===e&&null!==t[a].elem)return t[a].animation;a+=1}var o=new AnimationItem;return d(o,e),o.setData(e,r),o}function c(){a+=1,h()}function u(){a-=1}function d(e,r){e.addEventListener("destroy",l),e.addEventListener("_active",c),e.addEventListener("_idle",u),t.push({elem:r,animation:e}),n+=1}function p(e){var l,s=e-r;for(l=0;l<n;l+=1)t[l].animation.advanceTime(s);r=e,a&&!i?window.requestAnimationFrame(p):o=!0}function m(e){r=e,window.requestAnimationFrame(p)}function h(){!i&&a&&o&&(window.requestAnimationFrame(m),o=!1)}return e.registerAnimation=s,e.loadAnimation=function(e){var t=new AnimationItem;return d(t,null),t.setParams(e),t},e.setSpeed=function(e,r){var a;for(a=0;a<n;a+=1)t[a].animation.setSpeed(e,r)},e.setDirection=function(e,r){var a;for(a=0;a<n;a+=1)t[a].animation.setDirection(e,r)},e.play=function(e){var r;for(r=0;r<n;r+=1)t[r].animation.play(e)},e.pause=function(e){var r;for(r=0;r<n;r+=1)t[r].animation.pause(e)},e.stop=function(e){var r;for(r=0;r<n;r+=1)t[r].animation.stop(e)},e.togglePause=function(e){var r;for(r=0;r<n;r+=1)t[r].animation.togglePause(e)},e.searchAnimations=function(e,t,r){var n,a=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),o=a.length;for(n=0;n<o;n+=1)r&&a[n].setAttribute("data-bm-type",r),s(a[n],e);if(t&&0===o){r||(r="svg");var i=document.getElementsByTagName("body")[0];i.innerText="";var l=createTag("div");l.style.width="100%",l.style.height="100%",l.setAttribute("data-bm-type",r),i.appendChild(l),s(l,e)}},e.resize=function(){var e;for(e=0;e<n;e+=1)t[e].animation.resize()},e.goToAndStop=function(e,r,a){var o;for(o=0;o<n;o+=1)t[o].animation.goToAndStop(e,r,a)},e.destroy=function(e){var r;for(r=n-1;r>=0;r-=1)t[r].animation.destroy(e)},e.freeze=function(){i=!0},e.unfreeze=function(){i=!1,h()},e.setVolume=function(e,r){var a;for(a=0;a<n;a+=1)t[a].animation.setVolume(e,r)},e.mute=function(e){var r;for(r=0;r<n;r+=1)t[r].animation.mute(e)},e.unmute=function(e){var r;for(r=0;r<n;r+=1)t[r].animation.unmute(e)},e.getRegisteredAnimations=function(){var e,r=t.length,n=[];for(e=0;e<r;e+=1)n.push(t[e].animation);return n},e}(),BezierFactory=function(){var e={getBezierEasing:function(e,r,n,a,o){var i=o||("bez_"+e+"_"+r+"_"+n+"_"+a).replace(/\./g,"p");if(t[i])return t[i];var l=new c([e,r,n,a]);return t[i]=l,l}},t={},r=.1,n="function"==typeof Float32Array;function a(e,t){return 1-3*t+3*e}function o(e,t){return 3*t-6*e}function i(e){return 3*e}function l(e,t,r){return((a(t,r)*e+o(t,r))*e+i(t))*e}function s(e,t,r){return 3*a(t,r)*e*e+2*o(t,r)*e+i(t)}function c(e){this._p=e,this._mSampleValues=n?new Float32Array(11):new Array(11),this._precomputed=!1,this.get=this.get.bind(this)}return c.prototype={get:function(e){var t=this._p[0],r=this._p[1],n=this._p[2],a=this._p[3];return this._precomputed||this._precompute(),t===r&&n===a?e:0===e?0:1===e?1:l(this._getTForX(e),r,a)},_precompute:function(){var e=this._p[0],t=this._p[1],r=this._p[2],n=this._p[3];this._precomputed=!0,e===t&&r===n||this._calcSampleValues()},_calcSampleValues:function(){for(var e=this._p[0],t=this._p[2],n=0;n<11;++n)this._mSampleValues[n]=l(n*r,e,t)},_getTForX:function(e){for(var t=this._p[0],n=this._p[2],a=this._mSampleValues,o=0,i=1;10!==i&&a[i]<=e;++i)o+=r;var c=o+(e-a[--i])/(a[i+1]-a[i])*r,u=s(c,t,n);return u>=.001?function(e,t,r,n){for(var a=0;a<4;++a){var o=s(t,r,n);if(0===o)return t;t-=(l(t,r,n)-e)/o}return t}(e,c,t,n):0===u?c:function(e,t,r,n,a){var o,i,s=0;do{(o=l(i=t+(r-t)/2,n,a)-e)>0?r=i:t=i}while(Math.abs(o)>1e-7&&++s<10);return i}(e,o,o+r,t,n)}},e}(),pooling={double:function(e){return e.concat(createSizedArray(e.length))}},poolFactory=function(e,t,r){var n=0,a=e,o=createSizedArray(a);return{newElement:function(){return n?o[n-=1]:t()},release:function(e){n===a&&(o=pooling.double(o),a*=2),r&&r(e),o[n]=e,n+=1}}},bezierLengthPool=poolFactory(8,(function(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}})),segmentsLengthPool=poolFactory(8,(function(){return{lengths:[],totalLength:0}}),(function(e){var t,r=e.lengths.length;for(t=0;t<r;t+=1)bezierLengthPool.release(e.lengths[t]);e.lengths.length=0}));function bezFunction(){var e=Math;function t(e,t,r,n,a,o){var i=e*n+t*a+r*o-a*n-o*e-r*t;return i>-.001&&i<.001}var r=function(e,t,r,n){var a,o,i,l,s,c,u=getDefaultCurveSegments(),d=0,p=[],m=[],h=bezierLengthPool.newElement();for(i=r.length,a=0;a<u;a+=1){for(s=a/(u-1),c=0,o=0;o<i;o+=1)l=bmPow(1-s,3)*e[o]+3*bmPow(1-s,2)*s*r[o]+3*(1-s)*bmPow(s,2)*n[o]+bmPow(s,3)*t[o],p[o]=l,null!==m[o]&&(c+=bmPow(p[o]-m[o],2)),m[o]=p[o];c&&(d+=c=bmSqrt(c)),h.percents[a]=s,h.lengths[a]=d}return h.addedLength=d,h};function n(e){this.segmentLength=0,this.points=new Array(e)}function a(e,t){this.partialLength=e,this.point=t}var o,i=(o={},function(e,r,i,l){var s=(e[0]+"_"+e[1]+"_"+r[0]+"_"+r[1]+"_"+i[0]+"_"+i[1]+"_"+l[0]+"_"+l[1]).replace(/\./g,"p");if(!o[s]){var c,u,d,p,m,h,f,v=getDefaultCurveSegments(),b=0,g=null;2===e.length&&(e[0]!==r[0]||e[1]!==r[1])&&t(e[0],e[1],r[0],r[1],e[0]+i[0],e[1]+i[1])&&t(e[0],e[1],r[0],r[1],r[0]+l[0],r[1]+l[1])&&(v=2);var y=new n(v);for(d=i.length,c=0;c<v;c+=1){for(f=createSizedArray(d),m=c/(v-1),h=0,u=0;u<d;u+=1)p=bmPow(1-m,3)*e[u]+3*bmPow(1-m,2)*m*(e[u]+i[u])+3*(1-m)*bmPow(m,2)*(r[u]+l[u])+bmPow(m,3)*r[u],f[u]=p,null!==g&&(h+=bmPow(f[u]-g[u],2));b+=h=bmSqrt(h),y.points[c]=new a(h,f),g=f}y.segmentLength=b,o[s]=y}return o[s]});function l(e,t){var r=t.percents,n=t.lengths,a=r.length,o=bmFloor((a-1)*e),i=e*t.addedLength,l=0;if(o===a-1||0===o||i===n[o])return r[o];for(var s=n[o]>i?-1:1,c=!0;c;)if(n[o]<=i&&n[o+1]>i?(l=(i-n[o])/(n[o+1]-n[o]),c=!1):o+=s,o<0||o>=a-1){if(o===a-1)return r[o];c=!1}return r[o]+(r[o+1]-r[o])*l}var s=createTypedArray("float32",8);return{getSegmentsLength:function(e){var t,n=segmentsLengthPool.newElement(),a=e.c,o=e.v,i=e.o,l=e.i,s=e._length,c=n.lengths,u=0;for(t=0;t<s-1;t+=1)c[t]=r(o[t],o[t+1],i[t],l[t+1]),u+=c[t].addedLength;return a&&s&&(c[t]=r(o[t],o[0],i[t],l[0]),u+=c[t].addedLength),n.totalLength=u,n},getNewSegment:function(t,r,n,a,o,i,c){o<0?o=0:o>1&&(o=1);var u,d=l(o,c),p=l(i=i>1?1:i,c),m=t.length,h=1-d,f=1-p,v=h*h*h,b=d*h*h*3,g=d*d*h*3,y=d*d*d,E=h*h*f,k=d*h*f+h*d*f+h*h*p,w=d*d*f+h*d*p+d*h*p,x=d*d*p,_=h*f*f,P=d*f*f+h*p*f+h*f*p,C=d*p*f+h*p*p+d*f*p,A=d*p*p,S=f*f*f,R=p*f*f+f*p*f+f*f*p,M=p*p*f+f*p*p+p*f*p,T=p*p*p;for(u=0;u<m;u+=1)s[4*u]=e.round(1e3*(v*t[u]+b*n[u]+g*a[u]+y*r[u]))/1e3,s[4*u+1]=e.round(1e3*(E*t[u]+k*n[u]+w*a[u]+x*r[u]))/1e3,s[4*u+2]=e.round(1e3*(_*t[u]+P*n[u]+C*a[u]+A*r[u]))/1e3,s[4*u+3]=e.round(1e3*(S*t[u]+R*n[u]+M*a[u]+T*r[u]))/1e3;return s},getPointInSegment:function(t,r,n,a,o,i){var s=l(o,i),c=1-s;return[e.round(1e3*(c*c*c*t[0]+(s*c*c+c*s*c+c*c*s)*n[0]+(s*s*c+c*s*s+s*c*s)*a[0]+s*s*s*r[0]))/1e3,e.round(1e3*(c*c*c*t[1]+(s*c*c+c*s*c+c*c*s)*n[1]+(s*s*c+c*s*s+s*c*s)*a[1]+s*s*s*r[1]))/1e3]},buildBezierData:i,pointOnLine2D:t,pointOnLine3D:function(r,n,a,o,i,l,s,c,u){if(0===a&&0===l&&0===u)return t(r,n,o,i,s,c);var d,p=e.sqrt(e.pow(o-r,2)+e.pow(i-n,2)+e.pow(l-a,2)),m=e.sqrt(e.pow(s-r,2)+e.pow(c-n,2)+e.pow(u-a,2)),h=e.sqrt(e.pow(s-o,2)+e.pow(c-i,2)+e.pow(u-l,2));return(d=p>m?p>h?p-m-h:h-m-p:h>m?h-m-p:m-p-h)>-1e-4&&d<1e-4}}}var bez=bezFunction(),initFrame=initialDefaultFrame,mathAbs=Math.abs;function interpolateValue(e,t){var r,n=this.offsetTime;"multidimensional"===this.propType&&(r=createTypedArray("float32",this.pv.length));for(var a,o,i,l,s,c,u,d,p,m=t.lastIndex,h=m,f=this.keyframes.length-1,v=!0;v;){if(a=this.keyframes[h],o=this.keyframes[h+1],h===f-1&&e>=o.t-n){a.h&&(a=o),m=0;break}if(o.t-n>e){m=h;break}h<f-1?h+=1:(m=0,v=!1)}i=this.keyframesMetadata[h]||{};var b,g=o.t-n,y=a.t-n;if(a.to){i.bezierData||(i.bezierData=bez.buildBezierData(a.s,o.s||a.e,a.to,a.ti));var E=i.bezierData;if(e>=g||e<y){var k=e>=g?E.points.length-1:0;for(s=E.points[k].point.length,l=0;l<s;l+=1)r[l]=E.points[k].point[l]}else{i.__fnct?p=i.__fnct:(p=BezierFactory.getBezierEasing(a.o.x,a.o.y,a.i.x,a.i.y,a.n).get,i.__fnct=p),c=p((e-y)/(g-y));var w,x=E.segmentLength*c,_=t.lastFrame<e&&t._lastKeyframeIndex===h?t._lastAddedLength:0;for(d=t.lastFrame<e&&t._lastKeyframeIndex===h?t._lastPoint:0,v=!0,u=E.points.length;v;){if(_+=E.points[d].partialLength,0===x||0===c||d===E.points.length-1){for(s=E.points[d].point.length,l=0;l<s;l+=1)r[l]=E.points[d].point[l];break}if(x>=_&&x<_+E.points[d+1].partialLength){for(w=(x-_)/E.points[d+1].partialLength,s=E.points[d].point.length,l=0;l<s;l+=1)r[l]=E.points[d].point[l]+(E.points[d+1].point[l]-E.points[d].point[l])*w;break}d<u-1?d+=1:v=!1}t._lastPoint=d,t._lastAddedLength=_-E.points[d].partialLength,t._lastKeyframeIndex=h}}else{var P,C,A,S,R;if(f=a.s.length,b=o.s||a.e,this.sh&&1!==a.h)e>=g?(r[0]=b[0],r[1]=b[1],r[2]=b[2]):e<=y?(r[0]=a.s[0],r[1]=a.s[1],r[2]=a.s[2]):quaternionToEuler(r,slerp(createQuaternion(a.s),createQuaternion(b),(e-y)/(g-y)));else for(h=0;h<f;h+=1)1!==a.h&&(e>=g?c=1:e<y?c=0:(a.o.x.constructor===Array?(i.__fnct||(i.__fnct=[]),i.__fnct[h]?p=i.__fnct[h]:(P=void 0===a.o.x[h]?a.o.x[0]:a.o.x[h],C=void 0===a.o.y[h]?a.o.y[0]:a.o.y[h],A=void 0===a.i.x[h]?a.i.x[0]:a.i.x[h],S=void 0===a.i.y[h]?a.i.y[0]:a.i.y[h],p=BezierFactory.getBezierEasing(P,C,A,S).get,i.__fnct[h]=p)):i.__fnct?p=i.__fnct:(P=a.o.x,C=a.o.y,A=a.i.x,S=a.i.y,p=BezierFactory.getBezierEasing(P,C,A,S).get,a.keyframeMetadata=p),c=p((e-y)/(g-y)))),b=o.s||a.e,R=1===a.h?a.s[h]:a.s[h]+(b[h]-a.s[h])*c,"multidimensional"===this.propType?r[h]=R:r=R}return t.lastIndex=m,r}function slerp(e,t,r){var n,a,o,i,l,s=[],c=e[0],u=e[1],d=e[2],p=e[3],m=t[0],h=t[1],f=t[2],v=t[3];return(a=c*m+u*h+d*f+p*v)<0&&(a=-a,m=-m,h=-h,f=-f,v=-v),1-a>1e-6?(n=Math.acos(a),o=Math.sin(n),i=Math.sin((1-r)*n)/o,l=Math.sin(r*n)/o):(i=1-r,l=r),s[0]=i*c+l*m,s[1]=i*u+l*h,s[2]=i*d+l*f,s[3]=i*p+l*v,s}function quaternionToEuler(e,t){var r=t[0],n=t[1],a=t[2],o=t[3],i=Math.atan2(2*n*o-2*r*a,1-2*n*n-2*a*a),l=Math.asin(2*r*n+2*a*o),s=Math.atan2(2*r*o-2*n*a,1-2*r*r-2*a*a);e[0]=i/degToRads,e[1]=l/degToRads,e[2]=s/degToRads}function createQuaternion(e){var t=e[0]*degToRads,r=e[1]*degToRads,n=e[2]*degToRads,a=Math.cos(t/2),o=Math.cos(r/2),i=Math.cos(n/2),l=Math.sin(t/2),s=Math.sin(r/2),c=Math.sin(n/2);return[l*s*i+a*o*c,l*o*i+a*s*c,a*s*i-l*o*c,a*o*i-l*s*c]}function getValueAtCurrentTime(){var e=this.comp.renderedFrame-this.offsetTime,t=this.keyframes[0].t-this.offsetTime,r=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(e===this._caching.lastFrame||this._caching.lastFrame!==initFrame&&(this._caching.lastFrame>=r&&e>=r||this._caching.lastFrame<t&&e<t))){this._caching.lastFrame>=e&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var n=this.interpolateValue(e,this._caching);this.pv=n}return this._caching.lastFrame=e,this.pv}function setVValue(e){var t;if("unidimensional"===this.propType)t=e*this.mult,mathAbs(this.v-t)>1e-5&&(this.v=t,this._mdf=!0);else for(var r=0,n=this.v.length;r<n;)t=e[r]*this.mult,mathAbs(this.v[r]-t)>1e-5&&(this.v[r]=t,this._mdf=!0),r+=1}function processEffectsSequence(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var e;this.lock=!0,this._mdf=this._isFirstFrame;var t=this.effectsSequence.length,r=this.kf?this.pv:this.data.k;for(e=0;e<t;e+=1)r=this.effectsSequence[e](r);this.setVValue(r),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function addEffect(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function ValueProperty(e,t,r,n){this.propType="unidimensional",this.mult=r||1,this.data=t,this.v=r?t.k*r:t.k,this.pv=t.k,this._mdf=!1,this.elem=e,this.container=n,this.comp=e.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function MultiDimensionalProperty(e,t,r,n){var a;this.propType="multidimensional",this.mult=r||1,this.data=t,this._mdf=!1,this.elem=e,this.container=n,this.comp=e.comp,this.k=!1,this.kf=!1,this.frameId=-1;var o=t.k.length;for(this.v=createTypedArray("float32",o),this.pv=createTypedArray("float32",o),this.vel=createTypedArray("float32",o),a=0;a<o;a+=1)this.v[a]=t.k[a]*this.mult,this.pv[a]=t.k[a];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function KeyframedValueProperty(e,t,r,n){this.propType="unidimensional",this.keyframes=t.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.frameId=-1,this._caching={lastFrame:initFrame,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=t,this.mult=r||1,this.elem=e,this.container=n,this.comp=e.comp,this.v=initFrame,this.pv=initFrame,this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.addEffect=addEffect}function KeyframedMultidimensionalProperty(e,t,r,n){var a;this.propType="multidimensional";var o,i,l,s,c=t.k.length;for(a=0;a<c-1;a+=1)t.k[a].to&&t.k[a].s&&t.k[a+1]&&t.k[a+1].s&&(o=t.k[a].s,i=t.k[a+1].s,l=t.k[a].to,s=t.k[a].ti,(2===o.length&&(o[0]!==i[0]||o[1]!==i[1])&&bez.pointOnLine2D(o[0],o[1],i[0],i[1],o[0]+l[0],o[1]+l[1])&&bez.pointOnLine2D(o[0],o[1],i[0],i[1],i[0]+s[0],i[1]+s[1])||3===o.length&&(o[0]!==i[0]||o[1]!==i[1]||o[2]!==i[2])&&bez.pointOnLine3D(o[0],o[1],o[2],i[0],i[1],i[2],o[0]+l[0],o[1]+l[1],o[2]+l[2])&&bez.pointOnLine3D(o[0],o[1],o[2],i[0],i[1],i[2],i[0]+s[0],i[1]+s[1],i[2]+s[2]))&&(t.k[a].to=null,t.k[a].ti=null),o[0]===i[0]&&o[1]===i[1]&&0===l[0]&&0===l[1]&&0===s[0]&&0===s[1]&&(2===o.length||o[2]===i[2]&&0===l[2]&&0===s[2])&&(t.k[a].to=null,t.k[a].ti=null));this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.data=t,this.keyframes=t.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=r||1,this.elem=e,this.container=n,this.comp=e.comp,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.frameId=-1;var u=t.k[0].s.length;for(this.v=createTypedArray("float32",u),this.pv=createTypedArray("float32",u),a=0;a<u;a+=1)this.v[a]=initFrame,this.pv[a]=initFrame;this._caching={lastFrame:initFrame,lastIndex:0,value:createTypedArray("float32",u)},this.addEffect=addEffect}var PropertyFactory=(ob={getProp:function(e,t,r,n,a){var o;if(t.sid&&(t=e.globalData.slotManager.getProp(t)),t.k.length)if("number"==typeof t.k[0])o=new MultiDimensionalProperty(e,t,n,a);else switch(r){case 0:o=new KeyframedValueProperty(e,t,n,a);break;case 1:o=new KeyframedMultidimensionalProperty(e,t,n,a)}else o=new ValueProperty(e,t,n,a);return o.effectsSequence.length&&a.addDynamicProperty(o),o}},ob),ob;function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(e){-1===this.dynamicProperties.indexOf(e)&&(this.dynamicProperties.push(e),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){var e;this._mdf=!1;var t=this.dynamicProperties.length;for(e=0;e<t;e+=1)this.dynamicProperties[e].getValue(),this.dynamicProperties[e]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(e){this.container=e,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var pointPool=poolFactory(8,(function(){return createTypedArray("float32",2)}));function ShapePath(){this.c=!1,this._length=0,this._maxLength=8,this.v=createSizedArray(this._maxLength),this.o=createSizedArray(this._maxLength),this.i=createSizedArray(this._maxLength)}ShapePath.prototype.setPathData=function(e,t){this.c=e,this.setLength(t);for(var r=0;r<t;)this.v[r]=pointPool.newElement(),this.o[r]=pointPool.newElement(),this.i[r]=pointPool.newElement(),r+=1},ShapePath.prototype.setLength=function(e){for(;this._maxLength<e;)this.doubleArrayLength();this._length=e},ShapePath.prototype.doubleArrayLength=function(){this.v=this.v.concat(createSizedArray(this._maxLength)),this.i=this.i.concat(createSizedArray(this._maxLength)),this.o=this.o.concat(createSizedArray(this._maxLength)),this._maxLength*=2},ShapePath.prototype.setXYAt=function(e,t,r,n,a){var o;switch(this._length=Math.max(this._length,n+1),this._length>=this._maxLength&&this.doubleArrayLength(),r){case"v":o=this.v;break;case"i":o=this.i;break;case"o":o=this.o;break;default:o=[]}(!o[n]||o[n]&&!a)&&(o[n]=pointPool.newElement()),o[n][0]=e,o[n][1]=t},ShapePath.prototype.setTripleAt=function(e,t,r,n,a,o,i,l){this.setXYAt(e,t,"v",i,l),this.setXYAt(r,n,"o",i,l),this.setXYAt(a,o,"i",i,l)},ShapePath.prototype.reverse=function(){var e=new ShapePath;e.setPathData(this.c,this._length);var t=this.v,r=this.o,n=this.i,a=0;this.c&&(e.setTripleAt(t[0][0],t[0][1],n[0][0],n[0][1],r[0][0],r[0][1],0,!1),a=1);var o,i=this._length-1,l=this._length;for(o=a;o<l;o+=1)e.setTripleAt(t[i][0],t[i][1],n[i][0],n[i][1],r[i][0],r[i][1],o,!1),i-=1;return e},ShapePath.prototype.length=function(){return this._length};var shapePool=(factory=poolFactory(4,(function(){return new ShapePath}),(function(e){var t,r=e._length;for(t=0;t<r;t+=1)pointPool.release(e.v[t]),pointPool.release(e.i[t]),pointPool.release(e.o[t]),e.v[t]=null,e.i[t]=null,e.o[t]=null;e._length=0,e.c=!1})),factory.clone=function(e){var t,r=factory.newElement(),n=void 0===e._length?e.v.length:e._length;for(r.setLength(n),r.c=e.c,t=0;t<n;t+=1)r.setTripleAt(e.v[t][0],e.v[t][1],e.o[t][0],e.o[t][1],e.i[t][0],e.i[t][1],t);return r},factory),factory;function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}ShapeCollection.prototype.addShape=function(e){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=e,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var e;for(e=0;e<this._length;e+=1)shapePool.release(this.shapes[e]);this._length=0};var shapeCollectionPool=function(){var e={newShapeCollection:function(){return t?n[t-=1]:new ShapeCollection},release:function(e){var a,o=e._length;for(a=0;a<o;a+=1)shapePool.release(e.shapes[a]);e._length=0,t===r&&(n=pooling.double(n),r*=2),n[t]=e,t+=1}},t=0,r=4,n=createSizedArray(r);return e}(),ShapePropertyFactory=function(){var e=-999999;function t(e,t,r){var n,a,o,i,l,s,c,u,d,p=r.lastIndex,m=this.keyframes;if(e<m[0].t-this.offsetTime)n=m[0].s[0],o=!0,p=0;else if(e>=m[m.length-1].t-this.offsetTime)n=m[m.length-1].s?m[m.length-1].s[0]:m[m.length-2].e[0],o=!0;else{for(var h,f,v,b=p,g=m.length-1,y=!0;y&&(h=m[b],!((f=m[b+1]).t-this.offsetTime>e));)b<g-1?b+=1:y=!1;if(v=this.keyframesMetadata[b]||{},p=b,!(o=1===h.h)){if(e>=f.t-this.offsetTime)u=1;else if(e<h.t-this.offsetTime)u=0;else{var E;v.__fnct?E=v.__fnct:(E=BezierFactory.getBezierEasing(h.o.x,h.o.y,h.i.x,h.i.y).get,v.__fnct=E),u=E((e-(h.t-this.offsetTime))/(f.t-this.offsetTime-(h.t-this.offsetTime)))}a=f.s?f.s[0]:h.e[0]}n=h.s[0]}for(s=t._length,c=n.i[0].length,r.lastIndex=p,i=0;i<s;i+=1)for(l=0;l<c;l+=1)d=o?n.i[i][l]:n.i[i][l]+(a.i[i][l]-n.i[i][l])*u,t.i[i][l]=d,d=o?n.o[i][l]:n.o[i][l]+(a.o[i][l]-n.o[i][l])*u,t.o[i][l]=d,d=o?n.v[i][l]:n.v[i][l]+(a.v[i][l]-n.v[i][l])*u,t.v[i][l]=d}function r(){var t=this.comp.renderedFrame-this.offsetTime,r=this.keyframes[0].t-this.offsetTime,n=this.keyframes[this.keyframes.length-1].t-this.offsetTime,a=this._caching.lastFrame;return a!==e&&(a<r&&t<r||a>n&&t>n)||(this._caching.lastIndex=a<t?this._caching.lastIndex:0,this.interpolateShape(t,this.pv,this._caching)),this._caching.lastFrame=t,this.pv}function n(){this.paths=this.localShapeCollection}function a(e){(function(e,t){if(e._length!==t._length||e.c!==t.c)return!1;var r,n=e._length;for(r=0;r<n;r+=1)if(e.v[r][0]!==t.v[r][0]||e.v[r][1]!==t.v[r][1]||e.o[r][0]!==t.o[r][0]||e.o[r][1]!==t.o[r][1]||e.i[r][0]!==t.i[r][0]||e.i[r][1]!==t.i[r][1])return!1;return!0})(this.v,e)||(this.v=shapePool.clone(e),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function o(){if(this.elem.globalData.frameId!==this.frameId)if(this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var e,t;this.lock=!0,this._mdf=!1,e=this.kf?this.pv:this.data.ks?this.data.ks.k:this.data.pt.k;var r=this.effectsSequence.length;for(t=0;t<r;t+=1)e=this.effectsSequence[t](e);this.setVValue(e),this.lock=!1,this.frameId=this.elem.globalData.frameId}else this._mdf=!1}function i(e,t,r){this.propType="shape",this.comp=e.comp,this.container=e,this.elem=e,this.data=t,this.k=!1,this.kf=!1,this._mdf=!1;var a=3===r?t.pt.k:t.ks.k;this.v=shapePool.clone(a),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=n,this.effectsSequence=[]}function l(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function s(t,a,o){this.propType="shape",this.comp=t.comp,this.elem=t,this.container=t,this.offsetTime=t.data.st,this.keyframes=3===o?a.pt.k:a.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var i=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,i),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=e,this.reset=n,this._caching={lastFrame:e,lastIndex:0},this.effectsSequence=[r.bind(this)]}i.prototype.interpolateShape=t,i.prototype.getValue=o,i.prototype.setVValue=a,i.prototype.addEffect=l,s.prototype.getValue=o,s.prototype.interpolateShape=t,s.prototype.setVValue=a,s.prototype.addEffect=l;var c=function(){var e=roundCorner;function t(e,t){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=t.d,this.elem=e,this.comp=e.comp,this.frameId=-1,this.initDynamicPropertyContainer(e),this.p=PropertyFactory.getProp(e,t.p,1,0,this),this.s=PropertyFactory.getProp(e,t.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return t.prototype={reset:n,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var t=this.p.v[0],r=this.p.v[1],n=this.s.v[0]/2,a=this.s.v[1]/2,o=3!==this.d,i=this.v;i.v[0][0]=t,i.v[0][1]=r-a,i.v[1][0]=o?t+n:t-n,i.v[1][1]=r,i.v[2][0]=t,i.v[2][1]=r+a,i.v[3][0]=o?t-n:t+n,i.v[3][1]=r,i.i[0][0]=o?t-n*e:t+n*e,i.i[0][1]=r-a,i.i[1][0]=o?t+n:t-n,i.i[1][1]=r-a*e,i.i[2][0]=o?t+n*e:t-n*e,i.i[2][1]=r+a,i.i[3][0]=o?t-n:t+n,i.i[3][1]=r+a*e,i.o[0][0]=o?t+n*e:t-n*e,i.o[0][1]=r-a,i.o[1][0]=o?t+n:t-n,i.o[1][1]=r+a*e,i.o[2][0]=o?t-n*e:t+n*e,i.o[2][1]=r+a,i.o[3][0]=o?t-n:t+n,i.o[3][1]=r-a*e}},extendPrototype([DynamicPropertyContainer],t),t}(),u=function(){function e(e,t){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=e,this.comp=e.comp,this.data=t,this.frameId=-1,this.d=t.d,this.initDynamicPropertyContainer(e),1===t.sy?(this.ir=PropertyFactory.getProp(e,t.ir,0,0,this),this.is=PropertyFactory.getProp(e,t.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(e,t.pt,0,0,this),this.p=PropertyFactory.getProp(e,t.p,1,0,this),this.r=PropertyFactory.getProp(e,t.r,0,degToRads,this),this.or=PropertyFactory.getProp(e,t.or,0,0,this),this.os=PropertyFactory.getProp(e,t.os,0,.01,this),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return e.prototype={reset:n,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var e,t,r,n,a=2*Math.floor(this.pt.v),o=2*Math.PI/a,i=!0,l=this.or.v,s=this.ir.v,c=this.os.v,u=this.is.v,d=2*Math.PI*l/(2*a),p=2*Math.PI*s/(2*a),m=-Math.PI/2;m+=this.r.v;var h=3===this.data.d?-1:1;for(this.v._length=0,e=0;e<a;e+=1){r=i?c:u,n=i?d:p;var f=(t=i?l:s)*Math.cos(m),v=t*Math.sin(m),b=0===f&&0===v?0:v/Math.sqrt(f*f+v*v),g=0===f&&0===v?0:-f/Math.sqrt(f*f+v*v);f+=+this.p.v[0],v+=+this.p.v[1],this.v.setTripleAt(f,v,f-b*n*r*h,v-g*n*r*h,f+b*n*r*h,v+g*n*r*h,e,!0),i=!i,m+=o*h}},convertPolygonToPath:function(){var e,t=Math.floor(this.pt.v),r=2*Math.PI/t,n=this.or.v,a=this.os.v,o=2*Math.PI*n/(4*t),i=.5*-Math.PI,l=3===this.data.d?-1:1;for(i+=this.r.v,this.v._length=0,e=0;e<t;e+=1){var s=n*Math.cos(i),c=n*Math.sin(i),u=0===s&&0===c?0:c/Math.sqrt(s*s+c*c),d=0===s&&0===c?0:-s/Math.sqrt(s*s+c*c);s+=+this.p.v[0],c+=+this.p.v[1],this.v.setTripleAt(s,c,s-u*o*a*l,c-d*o*a*l,s+u*o*a*l,c+d*o*a*l,e,!0),i+=r*l}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],e),e}(),d=function(){function e(e,t){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=e,this.comp=e.comp,this.frameId=-1,this.d=t.d,this.initDynamicPropertyContainer(e),this.p=PropertyFactory.getProp(e,t.p,1,0,this),this.s=PropertyFactory.getProp(e,t.s,1,0,this),this.r=PropertyFactory.getProp(e,t.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return e.prototype={convertRectToPath:function(){var e=this.p.v[0],t=this.p.v[1],r=this.s.v[0]/2,n=this.s.v[1]/2,a=bmMin(r,n,this.r.v),o=a*(1-roundCorner);this.v._length=0,2===this.d||1===this.d?(this.v.setTripleAt(e+r,t-n+a,e+r,t-n+a,e+r,t-n+o,0,!0),this.v.setTripleAt(e+r,t+n-a,e+r,t+n-o,e+r,t+n-a,1,!0),0!==a?(this.v.setTripleAt(e+r-a,t+n,e+r-a,t+n,e+r-o,t+n,2,!0),this.v.setTripleAt(e-r+a,t+n,e-r+o,t+n,e-r+a,t+n,3,!0),this.v.setTripleAt(e-r,t+n-a,e-r,t+n-a,e-r,t+n-o,4,!0),this.v.setTripleAt(e-r,t-n+a,e-r,t-n+o,e-r,t-n+a,5,!0),this.v.setTripleAt(e-r+a,t-n,e-r+a,t-n,e-r+o,t-n,6,!0),this.v.setTripleAt(e+r-a,t-n,e+r-o,t-n,e+r-a,t-n,7,!0)):(this.v.setTripleAt(e-r,t+n,e-r+o,t+n,e-r,t+n,2),this.v.setTripleAt(e-r,t-n,e-r,t-n+o,e-r,t-n,3))):(this.v.setTripleAt(e+r,t-n+a,e+r,t-n+o,e+r,t-n+a,0,!0),0!==a?(this.v.setTripleAt(e+r-a,t-n,e+r-a,t-n,e+r-o,t-n,1,!0),this.v.setTripleAt(e-r+a,t-n,e-r+o,t-n,e-r+a,t-n,2,!0),this.v.setTripleAt(e-r,t-n+a,e-r,t-n+a,e-r,t-n+o,3,!0),this.v.setTripleAt(e-r,t+n-a,e-r,t+n-o,e-r,t+n-a,4,!0),this.v.setTripleAt(e-r+a,t+n,e-r+a,t+n,e-r+o,t+n,5,!0),this.v.setTripleAt(e+r-a,t+n,e+r-o,t+n,e+r-a,t+n,6,!0),this.v.setTripleAt(e+r,t+n-a,e+r,t+n-a,e+r,t+n-o,7,!0)):(this.v.setTripleAt(e-r,t-n,e-r+o,t-n,e-r,t-n,1,!0),this.v.setTripleAt(e-r,t+n,e-r,t+n-o,e-r,t+n,2,!0),this.v.setTripleAt(e+r,t+n,e+r-o,t+n,e+r,t+n,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:n},extendPrototype([DynamicPropertyContainer],e),e}(),p={getShapeProp:function(e,t,r){var n;return 3===r||4===r?n=(3===r?t.pt:t.ks).k.length?new s(e,t,r):new i(e,t,r):5===r?n=new d(e,t):6===r?n=new c(e,t):7===r&&(n=new u(e,t)),n.k&&e.addDynamicProperty(n),n},getConstructorFunction:function(){return i},getKeyframedConstructorFunction:function(){return s}};return p}(),Matrix=function(){var e=Math.cos,t=Math.sin,r=Math.tan,n=Math.round;function a(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function o(r){if(0===r)return this;var n=e(r),a=t(r);return this._t(n,-a,0,0,a,n,0,0,0,0,1,0,0,0,0,1)}function i(r){if(0===r)return this;var n=e(r),a=t(r);return this._t(1,0,0,0,0,n,-a,0,0,a,n,0,0,0,0,1)}function l(r){if(0===r)return this;var n=e(r),a=t(r);return this._t(n,0,a,0,0,1,0,0,-a,0,n,0,0,0,0,1)}function s(r){if(0===r)return this;var n=e(r),a=t(r);return this._t(n,-a,0,0,a,n,0,0,0,0,1,0,0,0,0,1)}function c(e,t){return this._t(1,t,e,1,0,0)}function u(e,t){return this.shear(r(e),r(t))}function d(n,a){var o=e(a),i=t(a);return this._t(o,i,0,0,-i,o,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,r(n),1,0,0,0,0,1,0,0,0,0,1)._t(o,-i,0,0,i,o,0,0,0,0,1,0,0,0,0,1)}function p(e,t,r){return r||0===r||(r=1),1===e&&1===t&&1===r?this:this._t(e,0,0,0,0,t,0,0,0,0,r,0,0,0,0,1)}function m(e,t,r,n,a,o,i,l,s,c,u,d,p,m,h,f){return this.props[0]=e,this.props[1]=t,this.props[2]=r,this.props[3]=n,this.props[4]=a,this.props[5]=o,this.props[6]=i,this.props[7]=l,this.props[8]=s,this.props[9]=c,this.props[10]=u,this.props[11]=d,this.props[12]=p,this.props[13]=m,this.props[14]=h,this.props[15]=f,this}function h(e,t,r){return r=r||0,0!==e||0!==t||0!==r?this._t(1,0,0,0,0,1,0,0,0,0,1,0,e,t,r,1):this}function f(e,t,r,n,a,o,i,l,s,c,u,d,p,m,h,f){var v=this.props;if(1===e&&0===t&&0===r&&0===n&&0===a&&1===o&&0===i&&0===l&&0===s&&0===c&&1===u&&0===d)return v[12]=v[12]*e+v[15]*p,v[13]=v[13]*o+v[15]*m,v[14]=v[14]*u+v[15]*h,v[15]*=f,this._identityCalculated=!1,this;var b=v[0],g=v[1],y=v[2],E=v[3],k=v[4],w=v[5],x=v[6],_=v[7],P=v[8],C=v[9],A=v[10],S=v[11],R=v[12],M=v[13],T=v[14],I=v[15];return v[0]=b*e+g*a+y*s+E*p,v[1]=b*t+g*o+y*c+E*m,v[2]=b*r+g*i+y*u+E*h,v[3]=b*n+g*l+y*d+E*f,v[4]=k*e+w*a+x*s+_*p,v[5]=k*t+w*o+x*c+_*m,v[6]=k*r+w*i+x*u+_*h,v[7]=k*n+w*l+x*d+_*f,v[8]=P*e+C*a+A*s+S*p,v[9]=P*t+C*o+A*c+S*m,v[10]=P*r+C*i+A*u+S*h,v[11]=P*n+C*l+A*d+S*f,v[12]=R*e+M*a+T*s+I*p,v[13]=R*t+M*o+T*c+I*m,v[14]=R*r+M*i+T*u+I*h,v[15]=R*n+M*l+T*d+I*f,this._identityCalculated=!1,this}function v(e){var t=e.props;return this.transform(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15])}function b(){return this._identityCalculated||(this._identity=!(1!==this.props[0]||0!==this.props[1]||0!==this.props[2]||0!==this.props[3]||0!==this.props[4]||1!==this.props[5]||0!==this.props[6]||0!==this.props[7]||0!==this.props[8]||0!==this.props[9]||1!==this.props[10]||0!==this.props[11]||0!==this.props[12]||0!==this.props[13]||0!==this.props[14]||1!==this.props[15]),this._identityCalculated=!0),this._identity}function g(e){for(var t=0;t<16;){if(e.props[t]!==this.props[t])return!1;t+=1}return!0}function y(e){var t;for(t=0;t<16;t+=1)e.props[t]=this.props[t];return e}function E(e){var t;for(t=0;t<16;t+=1)this.props[t]=e[t]}function k(e,t,r){return{x:e*this.props[0]+t*this.props[4]+r*this.props[8]+this.props[12],y:e*this.props[1]+t*this.props[5]+r*this.props[9]+this.props[13],z:e*this.props[2]+t*this.props[6]+r*this.props[10]+this.props[14]}}function w(e,t,r){return e*this.props[0]+t*this.props[4]+r*this.props[8]+this.props[12]}function x(e,t,r){return e*this.props[1]+t*this.props[5]+r*this.props[9]+this.props[13]}function _(e,t,r){return e*this.props[2]+t*this.props[6]+r*this.props[10]+this.props[14]}function P(){var e=this.props[0]*this.props[5]-this.props[1]*this.props[4],t=this.props[5]/e,r=-this.props[1]/e,n=-this.props[4]/e,a=this.props[0]/e,o=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/e,i=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/e,l=new Matrix;return l.props[0]=t,l.props[1]=r,l.props[4]=n,l.props[5]=a,l.props[12]=o,l.props[13]=i,l}function C(e){return this.getInverseMatrix().applyToPointArray(e[0],e[1],e[2]||0)}function A(e){var t,r=e.length,n=[];for(t=0;t<r;t+=1)n[t]=C(e[t]);return n}function S(e,t,r){var n=createTypedArray("float32",6);if(this.isIdentity())n[0]=e[0],n[1]=e[1],n[2]=t[0],n[3]=t[1],n[4]=r[0],n[5]=r[1];else{var a=this.props[0],o=this.props[1],i=this.props[4],l=this.props[5],s=this.props[12],c=this.props[13];n[0]=e[0]*a+e[1]*i+s,n[1]=e[0]*o+e[1]*l+c,n[2]=t[0]*a+t[1]*i+s,n[3]=t[0]*o+t[1]*l+c,n[4]=r[0]*a+r[1]*i+s,n[5]=r[0]*o+r[1]*l+c}return n}function R(e,t,r){return this.isIdentity()?[e,t,r]:[e*this.props[0]+t*this.props[4]+r*this.props[8]+this.props[12],e*this.props[1]+t*this.props[5]+r*this.props[9]+this.props[13],e*this.props[2]+t*this.props[6]+r*this.props[10]+this.props[14]]}function M(e,t){if(this.isIdentity())return e+","+t;var r=this.props;return Math.round(100*(e*r[0]+t*r[4]+r[12]))/100+","+Math.round(100*(e*r[1]+t*r[5]+r[13]))/100}function T(){for(var e=0,t=this.props,r="matrix3d(";e<16;)r+=n(1e4*t[e])/1e4,r+=15===e?")":",",e+=1;return r}function I(e){return e<1e-6&&e>0||e>-1e-6&&e<0?n(1e4*e)/1e4:e}function O(){var e=this.props;return"matrix("+I(e[0])+","+I(e[1])+","+I(e[4])+","+I(e[5])+","+I(e[12])+","+I(e[13])+")"}return function(){this.reset=a,this.rotate=o,this.rotateX=i,this.rotateY=l,this.rotateZ=s,this.skew=u,this.skewFromAxis=d,this.shear=c,this.scale=p,this.setTransform=m,this.translate=h,this.transform=f,this.multiply=v,this.applyToPoint=k,this.applyToX=w,this.applyToY=x,this.applyToZ=_,this.applyToPointArray=R,this.applyToTriplePoints=S,this.applyToPointStringified=M,this.toCSS=T,this.to2dCSS=O,this.clone=y,this.cloneFromProps=E,this.equals=g,this.inversePoints=A,this.inversePoint=C,this.getInverseMatrix=P,this._t=this.transform,this.isIdentity=b,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(e){return _typeof$3="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},_typeof$3(e)}var lottie={},standalone="__[STANDALONE]__",animationData="__[ANIMATIONDATA]__",renderer="";function setLocation(e){setLocationHref(e)}function searchAnimations(){!0===standalone?animationManager.searchAnimations(animationData,standalone,renderer):animationManager.searchAnimations()}function setSubframeRendering(e){setSubframeEnabled(e)}function setPrefix(e){setIdPrefix(e)}function loadAnimation(e){return!0===standalone&&(e.animationData=JSON.parse(animationData)),animationManager.loadAnimation(e)}function setQuality(e){if("string"==typeof e)switch(e){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10)}else!isNaN(e)&&e>1&&setDefaultCurveSegments(e);getDefaultCurveSegments()>=50?roundValues(!1):roundValues(!0)}function inBrowser(){return"undefined"!=typeof navigator}function installPlugin(e,t){"expressions"===e&&setExpressionsPlugin(t)}function getFactory(e){switch(e){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default:return null}}function checkReady(){"complete"===document.readyState&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(e){for(var t=queryString.split("&"),r=0;r<t.length;r+=1){var n=t[r].split("=");if(decodeURIComponent(n[0])==e)return decodeURIComponent(n[1])}return null}lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocation,lottie.togglePause=animationManager.togglePause,lottie.setSpeed=animationManager.setSpeed,lottie.setDirection=animationManager.setDirection,lottie.stop=animationManager.stop,lottie.searchAnimations=searchAnimations,lottie.registerAnimation=animationManager.registerAnimation,lottie.loadAnimation=loadAnimation,lottie.setSubframeRendering=setSubframeRendering,lottie.resize=animationManager.resize,lottie.goToAndStop=animationManager.goToAndStop,lottie.destroy=animationManager.destroy,lottie.setQuality=setQuality,lottie.inBrowser=inBrowser,lottie.installPlugin=installPlugin,lottie.freeze=animationManager.freeze,lottie.unfreeze=animationManager.unfreeze,lottie.setVolume=animationManager.setVolume,lottie.mute=animationManager.mute,lottie.unmute=animationManager.unmute,lottie.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottie.useWebWorker=setWebWorker,lottie.setIDPrefix=setPrefix,lottie.__getFactory=getFactory,lottie.version="5.12.2";var queryString="";if(standalone){var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""};queryString=myScript.src?myScript.src.replace(/^[^\?]+\??/,""):"",renderer=getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);try{"object"!==_typeof$3(exports)&&(window.bodymovin=lottie)}catch(e){}var ShapeModifiers=function(){var e={},t={};return e.registerModifier=function(e,r){t[e]||(t[e]=r)},e.getModifier=function(e,r,n){return new t[e](r,n)},e}();function ShapeModifier(){}function TrimModifier(){}function PuckerAndBloatModifier(){}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(e){if(!this.closed){e.sh.container.addDynamicProperty(e.sh);var t={shape:e.sh,data:e,localShapeCollection:shapeCollectionPool.newShapeCollection()};this.shapes.push(t),this.addShapeToModifier(t),this._isAnimated&&e.setAsAnimated()}},ShapeModifier.prototype.init=function(e,t){this.shapes=[],this.elem=e,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,t),this.frameId=initialDefaultFrame,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ShapeModifier.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},extendPrototype([DynamicPropertyContainer],ShapeModifier),extendPrototype([ShapeModifier],TrimModifier),TrimModifier.prototype.initModifierProperties=function(e,t){this.s=PropertyFactory.getProp(e,t.s,0,.01,this),this.e=PropertyFactory.getProp(e,t.e,0,.01,this),this.o=PropertyFactory.getProp(e,t.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=t.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(e){e.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(e,t,r,n,a){var o=[];t<=1?o.push({s:e,e:t}):e>=1?o.push({s:e-1,e:t-1}):(o.push({s:e,e:1}),o.push({s:0,e:t-1}));var i,l,s=[],c=o.length;for(i=0;i<c;i+=1){var u,d;(l=o[i]).e*a<n||l.s*a>n+r||(u=l.s*a<=n?0:(l.s*a-n)/r,d=l.e*a>=n+r?1:(l.e*a-n)/r,s.push([u,d]))}return s.length||s.push([0,0]),s},TrimModifier.prototype.releasePathsData=function(e){var t,r=e.length;for(t=0;t<r;t+=1)segmentsLengthPool.release(e[t]);return e.length=0,e},TrimModifier.prototype.processShapes=function(e){var t,r,n,a;if(this._mdf||e){var o=this.o.v%360/360;if(o<0&&(o+=1),(t=this.s.v>1?1+o:this.s.v<0?0+o:this.s.v+o)>(r=this.e.v>1?1+o:this.e.v<0?0+o:this.e.v+o)){var i=t;t=r,r=i}t=1e-4*Math.round(1e4*t),r=1e-4*Math.round(1e4*r),this.sValue=t,this.eValue=r}else t=this.sValue,r=this.eValue;var l,s,c,u,d,p=this.shapes.length,m=0;if(r===t)for(a=0;a<p;a+=1)this.shapes[a].localShapeCollection.releaseShapes(),this.shapes[a].shape._mdf=!0,this.shapes[a].shape.paths=this.shapes[a].localShapeCollection,this._mdf&&(this.shapes[a].pathsData.length=0);else if(1===r&&0===t||0===r&&1===t){if(this._mdf)for(a=0;a<p;a+=1)this.shapes[a].pathsData.length=0,this.shapes[a].shape._mdf=!0}else{var h,f,v=[];for(a=0;a<p;a+=1)if((h=this.shapes[a]).shape._mdf||this._mdf||e||2===this.m){if(s=(n=h.shape.paths)._length,d=0,!h.shape._mdf&&h.pathsData.length)d=h.totalShapeLength;else{for(c=this.releasePathsData(h.pathsData),l=0;l<s;l+=1)u=bez.getSegmentsLength(n.shapes[l]),c.push(u),d+=u.totalLength;h.totalShapeLength=d,h.pathsData=c}m+=d,h.shape._mdf=!0}else h.shape.paths=h.localShapeCollection;var b,g=t,y=r,E=0;for(a=p-1;a>=0;a-=1)if((h=this.shapes[a]).shape._mdf){for((f=h.localShapeCollection).releaseShapes(),2===this.m&&p>1?(b=this.calculateShapeEdges(t,r,h.totalShapeLength,E,m),E+=h.totalShapeLength):b=[[g,y]],s=b.length,l=0;l<s;l+=1){g=b[l][0],y=b[l][1],v.length=0,y<=1?v.push({s:h.totalShapeLength*g,e:h.totalShapeLength*y}):g>=1?v.push({s:h.totalShapeLength*(g-1),e:h.totalShapeLength*(y-1)}):(v.push({s:h.totalShapeLength*g,e:h.totalShapeLength}),v.push({s:0,e:h.totalShapeLength*(y-1)}));var k=this.addShapes(h,v[0]);if(v[0].s!==v[0].e){if(v.length>1)if(h.shape.paths.shapes[h.shape.paths._length-1].c){var w=k.pop();this.addPaths(k,f),k=this.addShapes(h,v[1],w)}else this.addPaths(k,f),k=this.addShapes(h,v[1]);this.addPaths(k,f)}}h.shape.paths=f}}},TrimModifier.prototype.addPaths=function(e,t){var r,n=e.length;for(r=0;r<n;r+=1)t.addShape(e[r])},TrimModifier.prototype.addSegment=function(e,t,r,n,a,o,i){a.setXYAt(t[0],t[1],"o",o),a.setXYAt(r[0],r[1],"i",o+1),i&&a.setXYAt(e[0],e[1],"v",o),a.setXYAt(n[0],n[1],"v",o+1)},TrimModifier.prototype.addSegmentFromArray=function(e,t,r,n){t.setXYAt(e[1],e[5],"o",r),t.setXYAt(e[2],e[6],"i",r+1),n&&t.setXYAt(e[0],e[4],"v",r),t.setXYAt(e[3],e[7],"v",r+1)},TrimModifier.prototype.addShapes=function(e,t,r){var n,a,o,i,l,s,c,u,d=e.pathsData,p=e.shape.paths.shapes,m=e.shape.paths._length,h=0,f=[],v=!0;for(r?(l=r._length,u=r._length):(r=shapePool.newElement(),l=0,u=0),f.push(r),n=0;n<m;n+=1){for(s=d[n].lengths,r.c=p[n].c,o=p[n].c?s.length:s.length+1,a=1;a<o;a+=1)if(h+(i=s[a-1]).addedLength<t.s)h+=i.addedLength,r.c=!1;else{if(h>t.e){r.c=!1;break}t.s<=h&&t.e>=h+i.addedLength?(this.addSegment(p[n].v[a-1],p[n].o[a-1],p[n].i[a],p[n].v[a],r,l,v),v=!1):(c=bez.getNewSegment(p[n].v[a-1],p[n].v[a],p[n].o[a-1],p[n].i[a],(t.s-h)/i.addedLength,(t.e-h)/i.addedLength,s[a-1]),this.addSegmentFromArray(c,r,l,v),v=!1,r.c=!1),h+=i.addedLength,l+=1}if(p[n].c&&s.length){if(i=s[a-1],h<=t.e){var b=s[a-1].addedLength;t.s<=h&&t.e>=h+b?(this.addSegment(p[n].v[a-1],p[n].o[a-1],p[n].i[0],p[n].v[0],r,l,v),v=!1):(c=bez.getNewSegment(p[n].v[a-1],p[n].v[0],p[n].o[a-1],p[n].i[0],(t.s-h)/b,(t.e-h)/b,s[a-1]),this.addSegmentFromArray(c,r,l,v),v=!1,r.c=!1)}else r.c=!1;h+=i.addedLength,l+=1}if(r._length&&(r.setXYAt(r.v[u][0],r.v[u][1],"i",u),r.setXYAt(r.v[r._length-1][0],r.v[r._length-1][1],"o",r._length-1)),h>t.e)break;n<m-1&&(r=shapePool.newElement(),v=!0,f.push(r),l=0)}return f},extendPrototype([ShapeModifier],PuckerAndBloatModifier),PuckerAndBloatModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(e,t.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},PuckerAndBloatModifier.prototype.processPath=function(e,t){var r=t/100,n=[0,0],a=e._length,o=0;for(o=0;o<a;o+=1)n[0]+=e.v[o][0],n[1]+=e.v[o][1];n[0]/=a,n[1]/=a;var i,l,s,c,u,d,p=shapePool.newElement();for(p.c=e.c,o=0;o<a;o+=1)i=e.v[o][0]+(n[0]-e.v[o][0])*r,l=e.v[o][1]+(n[1]-e.v[o][1])*r,s=e.o[o][0]+(n[0]-e.o[o][0])*-r,c=e.o[o][1]+(n[1]-e.o[o][1])*-r,u=e.i[o][0]+(n[0]-e.i[o][0])*-r,d=e.i[o][1]+(n[1]-e.i[o][1])*-r,p.setTripleAt(i,l,s,c,u,d,o);return p},PuckerAndBloatModifier.prototype.processShapes=function(e){var t,r,n,a,o,i,l=this.shapes.length,s=this.amount.v;if(0!==s)for(r=0;r<l;r+=1){if(i=(o=this.shapes[r]).localShapeCollection,o.shape._mdf||this._mdf||e)for(i.releaseShapes(),o.shape._mdf=!0,t=o.shape.paths.shapes,a=o.shape.paths._length,n=0;n<a;n+=1)i.addShape(this.processPath(t[n],s));o.shape.paths=o.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var e=[0,0];function t(e,t,r){if(this.elem=e,this.frameId=-1,this.propType="transform",this.data=t,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(r||e),t.p&&t.p.s?(this.px=PropertyFactory.getProp(e,t.p.x,0,0,this),this.py=PropertyFactory.getProp(e,t.p.y,0,0,this),t.p.z&&(this.pz=PropertyFactory.getProp(e,t.p.z,0,0,this))):this.p=PropertyFactory.getProp(e,t.p||{k:[0,0,0]},1,0,this),t.rx){if(this.rx=PropertyFactory.getProp(e,t.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(e,t.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(e,t.rz,0,degToRads,this),t.or.k[0].ti){var n,a=t.or.k.length;for(n=0;n<a;n+=1)t.or.k[n].to=null,t.or.k[n].ti=null}this.or=PropertyFactory.getProp(e,t.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(e,t.r||{k:0},0,degToRads,this);t.sk&&(this.sk=PropertyFactory.getProp(e,t.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(e,t.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(e,t.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(e,t.s||{k:[100,100,100]},1,.01,this),t.o?this.o=PropertyFactory.getProp(e,t.o,0,.01,e):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}return t.prototype={applyToMatrix:function(e){var t=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||t,this.a&&e.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&e.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&e.skewFromAxis(-this.sk.v,this.sa.v),this.r?e.rotate(-this.r.v):e.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.data.p.s?this.data.p.z?e.translate(this.px.v,this.py.v,-this.pz.v):e.translate(this.px.v,this.py.v,0):e.translate(this.p.v[0],this.p.v[1],-this.p.v[2])},getValue:function(t){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||t){var r;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.autoOriented){var n,a;if(r=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(n=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/r,0),a=this.p.getValueAtTime(this.p.keyframes[0].t/r,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(n=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/r,0),a=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/r,0)):(n=this.p.pv,a=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/r,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){n=[],a=[];var o=this.px,i=this.py;o._caching.lastFrame+o.offsetTime<=o.keyframes[0].t?(n[0]=o.getValueAtTime((o.keyframes[0].t+.01)/r,0),n[1]=i.getValueAtTime((i.keyframes[0].t+.01)/r,0),a[0]=o.getValueAtTime(o.keyframes[0].t/r,0),a[1]=i.getValueAtTime(i.keyframes[0].t/r,0)):o._caching.lastFrame+o.offsetTime>=o.keyframes[o.keyframes.length-1].t?(n[0]=o.getValueAtTime(o.keyframes[o.keyframes.length-1].t/r,0),n[1]=i.getValueAtTime(i.keyframes[i.keyframes.length-1].t/r,0),a[0]=o.getValueAtTime((o.keyframes[o.keyframes.length-1].t-.01)/r,0),a[1]=i.getValueAtTime((i.keyframes[i.keyframes.length-1].t-.01)/r,0)):(n=[o.pv,i.pv],a[0]=o.getValueAtTime((o._caching.lastFrame+o.offsetTime-.01)/r,o.offsetTime),a[1]=i.getValueAtTime((i._caching.lastFrame+i.offsetTime-.01)/r,i.offsetTime))}else n=a=e;this.v.rotate(-Math.atan2(n[1]-a[1],n[0]-a[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}},precalculateMatrix:function(){if(this.appliedTransformations=0,this.pre.reset(),!this.a.effectsSequence.length&&(this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1,!this.s.effectsSequence.length)){if(this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2,this.sk){if(this.sk.effectsSequence.length||this.sa.effectsSequence.length)return;this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3}this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):this.rz.effectsSequence.length||this.ry.effectsSequence.length||this.rx.effectsSequence.length||this.or.effectsSequence.length||(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}},autoOrient:function(){}},extendPrototype([DynamicPropertyContainer],t),t.prototype.addDynamicProperty=function(e){this._addDynamicProperty(e),this.elem.addDynamicProperty(e),this._isDirty=!0},t.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty,{getTransformProperty:function(e,r,n){return new t(e,r,n)}}}();function RepeaterModifier(){}function RoundCornersModifier(){}function floatEqual(e,t){return 1e5*Math.abs(e-t)<=Math.min(Math.abs(e),Math.abs(t))}function floatZero(e){return Math.abs(e)<=1e-5}function lerp(e,t,r){return e*(1-r)+t*r}function lerpPoint(e,t,r){return[lerp(e[0],t[0],r),lerp(e[1],t[1],r)]}function quadRoots(e,t,r){if(0===e)return[];var n=t*t-4*e*r;if(n<0)return[];var a=-t/(2*e);if(0===n)return[a];var o=Math.sqrt(n)/(2*e);return[a-o,a+o]}function polynomialCoefficients(e,t,r,n){return[3*t-e-3*r+n,3*e-6*t+3*r,-3*e+3*t,e]}function singlePoint(e){return new PolynomialBezier(e,e,e,e,!1)}function PolynomialBezier(e,t,r,n,a){a&&pointEqual(e,t)&&(t=lerpPoint(e,n,1/3)),a&&pointEqual(r,n)&&(r=lerpPoint(e,n,2/3));var o=polynomialCoefficients(e[0],t[0],r[0],n[0]),i=polynomialCoefficients(e[1],t[1],r[1],n[1]);this.a=[o[0],i[0]],this.b=[o[1],i[1]],this.c=[o[2],i[2]],this.d=[o[3],i[3]],this.points=[e,t,r,n]}function extrema(e,t){var r=e.points[0][t],n=e.points[e.points.length-1][t];if(r>n){var a=n;n=r,r=a}for(var o=quadRoots(3*e.a[t],2*e.b[t],e.c[t]),i=0;i<o.length;i+=1)if(o[i]>0&&o[i]<1){var l=e.point(o[i])[t];l<r?r=l:l>n&&(n=l)}return{min:r,max:n}}function intersectData(e,t,r){var n=e.boundingBox();return{cx:n.cx,cy:n.cy,width:n.width,height:n.height,bez:e,t:(t+r)/2,t1:t,t2:r}}function splitData(e){var t=e.bez.split(.5);return[intersectData(t[0],e.t1,e.t),intersectData(t[1],e.t,e.t2)]}function boxIntersect(e,t){return 2*Math.abs(e.cx-t.cx)<e.width+t.width&&2*Math.abs(e.cy-t.cy)<e.height+t.height}function intersectsImpl(e,t,r,n,a,o){if(boxIntersect(e,t))if(r>=o||e.width<=n&&e.height<=n&&t.width<=n&&t.height<=n)a.push([e.t,t.t]);else{var i=splitData(e),l=splitData(t);intersectsImpl(i[0],l[0],r+1,n,a,o),intersectsImpl(i[0],l[1],r+1,n,a,o),intersectsImpl(i[1],l[0],r+1,n,a,o),intersectsImpl(i[1],l[1],r+1,n,a,o)}}function crossProduct(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function lineIntersection(e,t,r,n){var a=[e[0],e[1],1],o=[t[0],t[1],1],i=[r[0],r[1],1],l=[n[0],n[1],1],s=crossProduct(crossProduct(a,o),crossProduct(i,l));return floatZero(s[2])?null:[s[0]/s[2],s[1]/s[2]]}function polarOffset(e,t,r){return[e[0]+Math.cos(t)*r,e[1]-Math.sin(t)*r]}function pointDistance(e,t){return Math.hypot(e[0]-t[0],e[1]-t[1])}function pointEqual(e,t){return floatEqual(e[0],t[0])&&floatEqual(e[1],t[1])}function ZigZagModifier(){}function setPoint(e,t,r,n,a,o,i){var l=r-Math.PI/2,s=r+Math.PI/2,c=t[0]+Math.cos(r)*n*a,u=t[1]-Math.sin(r)*n*a;e.setTripleAt(c,u,c+Math.cos(l)*o,u-Math.sin(l)*o,c+Math.cos(s)*i,u-Math.sin(s)*i,e.length())}function getPerpendicularVector(e,t){var r=[t[0]-e[0],t[1]-e[1]],n=.5*-Math.PI;return[Math.cos(n)*r[0]-Math.sin(n)*r[1],Math.sin(n)*r[0]+Math.cos(n)*r[1]]}function getProjectingAngle(e,t){var r=0===t?e.length()-1:t-1,n=(t+1)%e.length(),a=getPerpendicularVector(e.v[r],e.v[n]);return Math.atan2(0,1)-Math.atan2(a[1],a[0])}function zigZagCorner(e,t,r,n,a,o,i){var l=getProjectingAngle(t,r),s=t.v[r%t._length],c=t.v[0===r?t._length-1:r-1],u=t.v[(r+1)%t._length],d=2===o?Math.sqrt(Math.pow(s[0]-c[0],2)+Math.pow(s[1]-c[1],2)):0,p=2===o?Math.sqrt(Math.pow(s[0]-u[0],2)+Math.pow(s[1]-u[1],2)):0;setPoint(e,t.v[r%t._length],l,i,n,p/(2*(a+1)),d/(2*(a+1)),o)}function zigZagSegment(e,t,r,n,a,o){for(var i=0;i<n;i+=1){var l=(i+1)/(n+1),s=2===a?Math.sqrt(Math.pow(t.points[3][0]-t.points[0][0],2)+Math.pow(t.points[3][1]-t.points[0][1],2)):0,c=t.normalAngle(l);setPoint(e,t.point(l),c,o,r,s/(2*(n+1)),s/(2*(n+1)),a),o=-o}return o}function linearOffset(e,t,r){var n=Math.atan2(t[0]-e[0],t[1]-e[1]);return[polarOffset(e,n,r),polarOffset(t,n,r)]}function offsetSegment(e,t){var r,n,a,o,i,l,s;r=(s=linearOffset(e.points[0],e.points[1],t))[0],n=s[1],a=(s=linearOffset(e.points[1],e.points[2],t))[0],o=s[1],i=(s=linearOffset(e.points[2],e.points[3],t))[0],l=s[1];var c=lineIntersection(r,n,a,o);null===c&&(c=n);var u=lineIntersection(i,l,a,o);return null===u&&(u=i),new PolynomialBezier(r,c,u,l)}function joinLines(e,t,r,n,a){var o=t.points[3],i=r.points[0];if(3===n)return o;if(pointEqual(o,i))return o;if(2===n){var l=-t.tangentAngle(1),s=-r.tangentAngle(0)+Math.PI,c=lineIntersection(o,polarOffset(o,l+Math.PI/2,100),i,polarOffset(i,l+Math.PI/2,100)),u=c?pointDistance(c,o):pointDistance(o,i)/2,d=polarOffset(o,l,2*u*roundCorner);return e.setXYAt(d[0],d[1],"o",e.length()-1),d=polarOffset(i,s,2*u*roundCorner),e.setTripleAt(i[0],i[1],i[0],i[1],d[0],d[1],e.length()),i}var p=lineIntersection(pointEqual(o,t.points[2])?t.points[0]:t.points[2],o,i,pointEqual(i,r.points[1])?r.points[3]:r.points[1]);return p&&pointDistance(p,o)<a?(e.setTripleAt(p[0],p[1],p[0],p[1],p[0],p[1],e.length()),p):o}function getIntersection(e,t){var r=e.intersections(t);return r.length&&floatEqual(r[0][0],1)&&r.shift(),r.length?r[0]:null}function pruneSegmentIntersection(e,t){var r=e.slice(),n=t.slice(),a=getIntersection(e[e.length-1],t[0]);return a&&(r[e.length-1]=e[e.length-1].split(a[0])[0],n[0]=t[0].split(a[1])[1]),e.length>1&&t.length>1&&(a=getIntersection(e[0],t[t.length-1]))?[[e[0].split(a[0])[0]],[t[t.length-1].split(a[1])[1]]]:[r,n]}function pruneIntersections(e){for(var t,r=1;r<e.length;r+=1)t=pruneSegmentIntersection(e[r-1],e[r]),e[r-1]=t[0],e[r]=t[1];return e.length>1&&(t=pruneSegmentIntersection(e[e.length-1],e[0]),e[e.length-1]=t[0],e[0]=t[1]),e}function offsetSegmentSplit(e,t){var r,n,a,o,i=e.inflectionPoints();if(0===i.length)return[offsetSegment(e,t)];if(1===i.length||floatEqual(i[1],1))return r=(a=e.split(i[0]))[0],n=a[1],[offsetSegment(r,t),offsetSegment(n,t)];r=(a=e.split(i[0]))[0];var l=(i[1]-i[0])/(1-i[0]);return o=(a=a[1].split(l))[0],n=a[1],[offsetSegment(r,t),offsetSegment(o,t),offsetSegment(n,t)]}function OffsetPathModifier(){}function getFontProperties(e){for(var t=e.fStyle?e.fStyle.split(" "):[],r="normal",n="normal",a=t.length,o=0;o<a;o+=1)switch(t[o].toLowerCase()){case"italic":n="italic";break;case"bold":r="700";break;case"black":r="900";break;case"medium":r="500";break;case"regular":case"normal":r="400";break;case"light":case"thin":r="200"}return{style:n,weight:e.fWeight||r}}extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(e,t.c,0,null,this),this.o=PropertyFactory.getProp(e,t.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(e,t.tr,this),this.so=PropertyFactory.getProp(e,t.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(e,t.tr.eo,0,.01,this),this.data=t,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Matrix,this.rMatrix=new Matrix,this.sMatrix=new Matrix,this.tMatrix=new Matrix,this.matrix=new Matrix},RepeaterModifier.prototype.applyTransforms=function(e,t,r,n,a,o){var i=o?-1:1,l=n.s.v[0]+(1-n.s.v[0])*(1-a),s=n.s.v[1]+(1-n.s.v[1])*(1-a);e.translate(n.p.v[0]*i*a,n.p.v[1]*i*a,n.p.v[2]),t.translate(-n.a.v[0],-n.a.v[1],n.a.v[2]),t.rotate(-n.r.v*i*a),t.translate(n.a.v[0],n.a.v[1],n.a.v[2]),r.translate(-n.a.v[0],-n.a.v[1],n.a.v[2]),r.scale(o?1/l:l,o?1/s:s),r.translate(n.a.v[0],n.a.v[1],n.a.v[2])},RepeaterModifier.prototype.init=function(e,t,r,n){for(this.elem=e,this.arr=t,this.pos=r,this.elemsData=n,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,t[r]);r>0;)r-=1,this._elements.unshift(t[r]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(e){var t,r=e.length;for(t=0;t<r;t+=1)e[t]._processed=!1,"gr"===e[t].ty&&this.resetElements(e[t].it)},RepeaterModifier.prototype.cloneElements=function(e){var t=JSON.parse(JSON.stringify(e));return this.resetElements(t),t},RepeaterModifier.prototype.changeGroupRender=function(e,t){var r,n=e.length;for(r=0;r<n;r+=1)e[r]._render=t,"gr"===e[r].ty&&this.changeGroupRender(e[r].it,t)},RepeaterModifier.prototype.processShapes=function(e){var t,r,n,a,o,i=!1;if(this._mdf||e){var l,s=Math.ceil(this.c.v);if(this._groups.length<s){for(;this._groups.length<s;){var c={it:this.cloneElements(this._elements),ty:"gr"};c.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,c),this._groups.splice(0,0,c),this._currentCopies+=1}this.elem.reloadShapes(),i=!0}for(o=0,n=0;n<=this._groups.length-1;n+=1){if(l=o<s,this._groups[n]._render=l,this.changeGroupRender(this._groups[n].it,l),!l){var u=this.elemsData[n].it,d=u[u.length-1];0!==d.transform.op.v?(d.transform.op._mdf=!0,d.transform.op.v=0):d.transform.op._mdf=!1}o+=1}this._currentCopies=s;var p=this.o.v,m=p%1,h=p>0?Math.floor(p):Math.ceil(p),f=this.pMatrix.props,v=this.rMatrix.props,b=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var g,y,E=0;if(p>0){for(;E<h;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),E+=1;m&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,m,!1),E+=m)}else if(p<0){for(;E>h;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),E-=1;m&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-m,!0),E-=m)}for(n=1===this.data.m?0:this._currentCopies-1,a=1===this.data.m?1:-1,o=this._currentCopies;o;){if(y=(r=(t=this.elemsData[n].it)[t.length-1].transform.mProps.v.props).length,t[t.length-1].transform.mProps._mdf=!0,t[t.length-1].transform.op._mdf=!0,t[t.length-1].transform.op.v=1===this._currentCopies?this.so.v:this.so.v+(this.eo.v-this.so.v)*(n/(this._currentCopies-1)),0!==E){for((0!==n&&1===a||n!==this._currentCopies-1&&-1===a)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(v[0],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10],v[11],v[12],v[13],v[14],v[15]),this.matrix.transform(b[0],b[1],b[2],b[3],b[4],b[5],b[6],b[7],b[8],b[9],b[10],b[11],b[12],b[13],b[14],b[15]),this.matrix.transform(f[0],f[1],f[2],f[3],f[4],f[5],f[6],f[7],f[8],f[9],f[10],f[11],f[12],f[13],f[14],f[15]),g=0;g<y;g+=1)r[g]=this.matrix.props[g];this.matrix.reset()}else for(this.matrix.reset(),g=0;g<y;g+=1)r[g]=this.matrix.props[g];E+=1,o-=1,n+=a}}else for(o=this._currentCopies,n=0,a=1;o;)r=(t=this.elemsData[n].it)[t.length-1].transform.mProps.v.props,t[t.length-1].transform.mProps._mdf=!1,t[t.length-1].transform.op._mdf=!1,o-=1,n+=a;return i},RepeaterModifier.prototype.addShape=function(){},extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(e,t.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(e,t){var r,n=shapePool.newElement();n.c=e.c;var a,o,i,l,s,c,u,d,p,m,h,f,v=e._length,b=0;for(r=0;r<v;r+=1)a=e.v[r],i=e.o[r],o=e.i[r],a[0]===i[0]&&a[1]===i[1]&&a[0]===o[0]&&a[1]===o[1]?0!==r&&r!==v-1||e.c?(l=0===r?e.v[v-1]:e.v[r-1],c=(s=Math.sqrt(Math.pow(a[0]-l[0],2)+Math.pow(a[1]-l[1],2)))?Math.min(s/2,t)/s:0,u=h=a[0]+(l[0]-a[0])*c,d=f=a[1]-(a[1]-l[1])*c,p=u-(u-a[0])*roundCorner,m=d-(d-a[1])*roundCorner,n.setTripleAt(u,d,p,m,h,f,b),b+=1,l=r===v-1?e.v[0]:e.v[r+1],c=(s=Math.sqrt(Math.pow(a[0]-l[0],2)+Math.pow(a[1]-l[1],2)))?Math.min(s/2,t)/s:0,u=p=a[0]+(l[0]-a[0])*c,d=m=a[1]+(l[1]-a[1])*c,h=u-(u-a[0])*roundCorner,f=d-(d-a[1])*roundCorner,n.setTripleAt(u,d,p,m,h,f,b),b+=1):(n.setTripleAt(a[0],a[1],i[0],i[1],o[0],o[1],b),b+=1):(n.setTripleAt(e.v[r][0],e.v[r][1],e.o[r][0],e.o[r][1],e.i[r][0],e.i[r][1],b),b+=1);return n},RoundCornersModifier.prototype.processShapes=function(e){var t,r,n,a,o,i,l=this.shapes.length,s=this.rd.v;if(0!==s)for(r=0;r<l;r+=1){if(i=(o=this.shapes[r]).localShapeCollection,o.shape._mdf||this._mdf||e)for(i.releaseShapes(),o.shape._mdf=!0,t=o.shape.paths.shapes,a=o.shape.paths._length,n=0;n<a;n+=1)i.addShape(this.processPath(t[n],s));o.shape.paths=o.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},PolynomialBezier.prototype.point=function(e){return[((this.a[0]*e+this.b[0])*e+this.c[0])*e+this.d[0],((this.a[1]*e+this.b[1])*e+this.c[1])*e+this.d[1]]},PolynomialBezier.prototype.derivative=function(e){return[(3*e*this.a[0]+2*this.b[0])*e+this.c[0],(3*e*this.a[1]+2*this.b[1])*e+this.c[1]]},PolynomialBezier.prototype.tangentAngle=function(e){var t=this.derivative(e);return Math.atan2(t[1],t[0])},PolynomialBezier.prototype.normalAngle=function(e){var t=this.derivative(e);return Math.atan2(t[0],t[1])},PolynomialBezier.prototype.inflectionPoints=function(){var e=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(floatZero(e))return[];var t=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/e,r=t*t-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/e;if(r<0)return[];var n=Math.sqrt(r);return floatZero(n)?n>0&&n<1?[t]:[]:[t-n,t+n].filter((function(e){return e>0&&e<1}))},PolynomialBezier.prototype.split=function(e){if(e<=0)return[singlePoint(this.points[0]),this];if(e>=1)return[this,singlePoint(this.points[this.points.length-1])];var t=lerpPoint(this.points[0],this.points[1],e),r=lerpPoint(this.points[1],this.points[2],e),n=lerpPoint(this.points[2],this.points[3],e),a=lerpPoint(t,r,e),o=lerpPoint(r,n,e),i=lerpPoint(a,o,e);return[new PolynomialBezier(this.points[0],t,a,i,!0),new PolynomialBezier(i,o,n,this.points[3],!0)]},PolynomialBezier.prototype.bounds=function(){return{x:extrema(this,0),y:extrema(this,1)}},PolynomialBezier.prototype.boundingBox=function(){var e=this.bounds();return{left:e.x.min,right:e.x.max,top:e.y.min,bottom:e.y.max,width:e.x.max-e.x.min,height:e.y.max-e.y.min,cx:(e.x.max+e.x.min)/2,cy:(e.y.max+e.y.min)/2}},PolynomialBezier.prototype.intersections=function(e,t,r){void 0===t&&(t=2),void 0===r&&(r=7);var n=[];return intersectsImpl(intersectData(this,0,1),intersectData(e,0,1),0,t,n,r),n},PolynomialBezier.shapeSegment=function(e,t){var r=(t+1)%e.length();return new PolynomialBezier(e.v[t],e.o[t],e.i[r],e.v[r],!0)},PolynomialBezier.shapeSegmentInverted=function(e,t){var r=(t+1)%e.length();return new PolynomialBezier(e.v[r],e.i[r],e.o[t],e.v[t],!0)},extendPrototype([ShapeModifier],ZigZagModifier),ZigZagModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amplitude=PropertyFactory.getProp(e,t.s,0,null,this),this.frequency=PropertyFactory.getProp(e,t.r,0,null,this),this.pointsType=PropertyFactory.getProp(e,t.pt,0,null,this),this._isAnimated=0!==this.amplitude.effectsSequence.length||0!==this.frequency.effectsSequence.length||0!==this.pointsType.effectsSequence.length},ZigZagModifier.prototype.processPath=function(e,t,r,n){var a=e._length,o=shapePool.newElement();if(o.c=e.c,e.c||(a-=1),0===a)return o;var i=-1,l=PolynomialBezier.shapeSegment(e,0);zigZagCorner(o,e,0,t,r,n,i);for(var s=0;s<a;s+=1)i=zigZagSegment(o,l,t,r,n,-i),l=s!==a-1||e.c?PolynomialBezier.shapeSegment(e,(s+1)%a):null,zigZagCorner(o,e,s+1,t,r,n,i);return o},ZigZagModifier.prototype.processShapes=function(e){var t,r,n,a,o,i,l=this.shapes.length,s=this.amplitude.v,c=Math.max(0,Math.round(this.frequency.v)),u=this.pointsType.v;if(0!==s)for(r=0;r<l;r+=1){if(i=(o=this.shapes[r]).localShapeCollection,o.shape._mdf||this._mdf||e)for(i.releaseShapes(),o.shape._mdf=!0,t=o.shape.paths.shapes,a=o.shape.paths._length,n=0;n<a;n+=1)i.addShape(this.processPath(t[n],s,c,u));o.shape.paths=o.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},extendPrototype([ShapeModifier],OffsetPathModifier),OffsetPathModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(e,t.a,0,null,this),this.miterLimit=PropertyFactory.getProp(e,t.ml,0,null,this),this.lineJoin=t.lj,this._isAnimated=0!==this.amount.effectsSequence.length},OffsetPathModifier.prototype.processPath=function(e,t,r,n){var a=shapePool.newElement();a.c=e.c;var o,i,l,s=e.length();e.c||(s-=1);var c=[];for(o=0;o<s;o+=1)l=PolynomialBezier.shapeSegment(e,o),c.push(offsetSegmentSplit(l,t));if(!e.c)for(o=s-1;o>=0;o-=1)l=PolynomialBezier.shapeSegmentInverted(e,o),c.push(offsetSegmentSplit(l,t));c=pruneIntersections(c);var u=null,d=null;for(o=0;o<c.length;o+=1){var p=c[o];for(d&&(u=joinLines(a,d,p[0],r,n)),d=p[p.length-1],i=0;i<p.length;i+=1)l=p[i],u&&pointEqual(l.points[0],u)?a.setXYAt(l.points[1][0],l.points[1][1],"o",a.length()-1):a.setTripleAt(l.points[0][0],l.points[0][1],l.points[1][0],l.points[1][1],l.points[0][0],l.points[0][1],a.length()),a.setTripleAt(l.points[3][0],l.points[3][1],l.points[3][0],l.points[3][1],l.points[2][0],l.points[2][1],a.length()),u=l.points[3]}return c.length&&joinLines(a,d,c[0][0],r,n),a},OffsetPathModifier.prototype.processShapes=function(e){var t,r,n,a,o,i,l=this.shapes.length,s=this.amount.v,c=this.miterLimit.v,u=this.lineJoin;if(0!==s)for(r=0;r<l;r+=1){if(i=(o=this.shapes[r]).localShapeCollection,o.shape._mdf||this._mdf||e)for(i.releaseShapes(),o.shape._mdf=!0,t=o.shape.paths.shapes,a=o.shape.paths._length,n=0;n<a;n+=1)i.addShape(this.processPath(t[n],s,u,c));o.shape.paths=o.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var FontManager=function(){var e={w:0,size:0,shapes:[],data:{shapes:[]}},t=[];t=t.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var r=127988,n=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function a(e,t){var r=createTag("span");r.setAttribute("aria-hidden",!0),r.style.fontFamily=t;var n=createTag("span");n.innerText="giItT1WQy@!-/#",r.style.position="absolute",r.style.left="-10000px",r.style.top="-10000px",r.style.fontSize="300px",r.style.fontVariant="normal",r.style.fontStyle="normal",r.style.fontWeight="normal",r.style.letterSpacing="0",r.appendChild(n),document.body.appendChild(r);var a=n.offsetWidth;return n.style.fontFamily=function(e){var t,r=e.split(","),n=r.length,a=[];for(t=0;t<n;t+=1)"sans-serif"!==r[t]&&"monospace"!==r[t]&&a.push(r[t]);return a.join(",")}(e)+", "+t,{node:n,w:a,parent:r}}function o(e,t){var r,n=document.body&&t?"svg":"canvas",a=getFontProperties(e);if("svg"===n){var o=createNS("text");o.style.fontSize="100px",o.setAttribute("font-family",e.fFamily),o.setAttribute("font-style",a.style),o.setAttribute("font-weight",a.weight),o.textContent="1",e.fClass?(o.style.fontFamily="inherit",o.setAttribute("class",e.fClass)):o.style.fontFamily=e.fFamily,t.appendChild(o),r=o}else{var i=new OffscreenCanvas(500,500).getContext("2d");i.font=a.style+" "+a.weight+" 100px "+e.fFamily,r=i}return{measureText:function(e){return"svg"===n?(r.textContent=e,r.getComputedTextLength()):r.measureText(e).width}}}function i(e){var t=0,r=e.charCodeAt(0);if(r>=55296&&r<=56319){var n=e.charCodeAt(1);n>=56320&&n<=57343&&(t=1024*(r-55296)+n-56320+65536)}return t}function l(e){var t=i(e);return t>=127462&&t<=127487}var s=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.isLoaded=!1,this._warned=!1,this.initTime=Date.now(),this.setIsLoadedBinded=this.setIsLoaded.bind(this),this.checkLoadedFontsBinded=this.checkLoadedFonts.bind(this)};s.isModifier=function(e,t){var r=e.toString(16)+t.toString(16);return-1!==n.indexOf(r)},s.isZeroWidthJoiner=function(e){return 8205===e},s.isFlagEmoji=function(e){return l(e.substr(0,2))&&l(e.substr(2,2))},s.isRegionalCode=l,s.isCombinedCharacter=function(e){return-1!==t.indexOf(e)},s.isRegionalFlag=function(e,t){var n=i(e.substr(t,2));if(n!==r)return!1;var a=0;for(t+=2;a<5;){if((n=i(e.substr(t,2)))<917601||n>917626)return!1;a+=1,t+=2}return 917631===i(e.substr(t,2))},s.isVariationSelector=function(e){return 65039===e},s.BLACK_FLAG_CODE_POINT=r;var c={addChars:function(e){if(e){var t;this.chars||(this.chars=[]);var r,n,a=e.length,o=this.chars.length;for(t=0;t<a;t+=1){for(r=0,n=!1;r<o;)this.chars[r].style===e[t].style&&this.chars[r].fFamily===e[t].fFamily&&this.chars[r].ch===e[t].ch&&(n=!0),r+=1;n||(this.chars.push(e[t]),o+=1)}}},addFonts:function(e,t){if(e){if(this.chars)return this.isLoaded=!0,void(this.fonts=e.list);if(!document.body)return this.isLoaded=!0,e.list.forEach((function(e){e.helper=o(e),e.cache={}})),void(this.fonts=e.list);var r,n=e.list,i=n.length,l=i;for(r=0;r<i;r+=1){var s,c,u=!0;if(n[r].loaded=!1,n[r].monoCase=a(n[r].fFamily,"monospace"),n[r].sansCase=a(n[r].fFamily,"sans-serif"),n[r].fPath){if("p"===n[r].fOrigin||3===n[r].origin){if((s=document.querySelectorAll('style[f-forigin="p"][f-family="'+n[r].fFamily+'"], style[f-origin="3"][f-family="'+n[r].fFamily+'"]')).length>0&&(u=!1),u){var d=createTag("style");d.setAttribute("f-forigin",n[r].fOrigin),d.setAttribute("f-origin",n[r].origin),d.setAttribute("f-family",n[r].fFamily),d.type="text/css",d.innerText="@font-face {font-family: "+n[r].fFamily+"; font-style: normal; src: url('"+n[r].fPath+"');}",t.appendChild(d)}}else if("g"===n[r].fOrigin||1===n[r].origin){for(s=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),c=0;c<s.length;c+=1)-1!==s[c].href.indexOf(n[r].fPath)&&(u=!1);if(u){var p=createTag("link");p.setAttribute("f-forigin",n[r].fOrigin),p.setAttribute("f-origin",n[r].origin),p.type="text/css",p.rel="stylesheet",p.href=n[r].fPath,document.body.appendChild(p)}}else if("t"===n[r].fOrigin||2===n[r].origin){for(s=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),c=0;c<s.length;c+=1)n[r].fPath===s[c].src&&(u=!1);if(u){var m=createTag("link");m.setAttribute("f-forigin",n[r].fOrigin),m.setAttribute("f-origin",n[r].origin),m.setAttribute("rel","stylesheet"),m.setAttribute("href",n[r].fPath),t.appendChild(m)}}}else n[r].loaded=!0,l-=1;n[r].helper=o(n[r],t),n[r].cache={},this.fonts.push(n[r])}0===l?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}else this.isLoaded=!0},getCharData:function(t,r,n){for(var a=0,o=this.chars.length;a<o;){if(this.chars[a].ch===t&&this.chars[a].style===r&&this.chars[a].fFamily===n)return this.chars[a];a+=1}return("string"==typeof t&&13!==t.charCodeAt(0)||!t)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",t,r,n)),e},getFontByName:function(e){for(var t=0,r=this.fonts.length;t<r;){if(this.fonts[t].fName===e)return this.fonts[t];t+=1}return this.fonts[0]},measureText:function(e,t,r){var n=this.getFontByName(t),a=e;if(!n.cache[a]){var o=n.helper;if(" "===e){var i=o.measureText("|"+e+"|"),l=o.measureText("||");n.cache[a]=(i-l)/100}else n.cache[a]=o.measureText(e)/100}return n.cache[a]*r},checkLoadedFonts:function(){var e,t,r,n=this.fonts.length,a=n;for(e=0;e<n;e+=1)this.fonts[e].loaded?a-=1:"n"===this.fonts[e].fOrigin||0===this.fonts[e].origin?this.fonts[e].loaded=!0:(t=this.fonts[e].monoCase.node,r=this.fonts[e].monoCase.w,t.offsetWidth!==r?(a-=1,this.fonts[e].loaded=!0):(t=this.fonts[e].sansCase.node,r=this.fonts[e].sansCase.w,t.offsetWidth!==r&&(a-=1,this.fonts[e].loaded=!0)),this.fonts[e].loaded&&(this.fonts[e].sansCase.parent.parentNode.removeChild(this.fonts[e].sansCase.parent),this.fonts[e].monoCase.parent.parentNode.removeChild(this.fonts[e].monoCase.parent)));0!==a&&Date.now()-this.initTime<5e3?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)},setIsLoaded:function(){this.isLoaded=!0}};return s.prototype=c,s}();function SlotManager(e){this.animationData=e}function slotFactory(e){return new SlotManager(e)}function RenderableElement(){}SlotManager.prototype.getProp=function(e){return this.animationData.slots&&this.animationData.slots[e.sid]?Object.assign(e,this.animationData.slots[e.sid].p):e},RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(e){-1===this.renderableComponents.indexOf(e)&&this.renderableComponents.push(e)},removeRenderableComponent:function(e){-1!==this.renderableComponents.indexOf(e)&&this.renderableComponents.splice(this.renderableComponents.indexOf(e),1)},prepareRenderableFrame:function(e){this.checkLayerLimits(e)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(e){this.data.ip-this.data.st<=e&&this.data.op-this.data.st>e?!0!==this.isInRange&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):!1!==this.isInRange&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var e,t=this.renderableComponents.length;for(e=0;e<t;e+=1)this.renderableComponents[e].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return 5===this.data.ty?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var getBlendMode=(blendModeEnums={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"},function(e){return blendModeEnums[e]||""}),blendModeEnums;function SliderEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function AngleEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function ColorEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,1,0,r)}function PointEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,1,0,r)}function LayerIndexEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function MaskIndexEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function CheckboxEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function NoValueEffect(){this.p={}}function EffectsManager(e,t){var r,n=e.ef||[];this.effectElements=[];var a,o=n.length;for(r=0;r<o;r+=1)a=new GroupEffect(n[r],t),this.effectElements.push(a)}function GroupEffect(e,t){this.init(e,t)}function BaseElement(){}function FrameElement(){}function FootageElement(e,t,r){this.initFrame(),this.initRenderable(),this.assetData=t.getAssetData(e.refId),this.footageData=t.imageLoader.getAsset(this.assetData),this.initBaseData(e,t,r)}function AudioElement(e,t,r){this.initFrame(),this.initRenderable(),this.assetData=t.getAssetData(e.refId),this.initBaseData(e,t,r),this._isPlaying=!1,this._canPlay=!1;var n=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(n),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0},this.lv=PropertyFactory.getProp(this,e.au&&e.au.lv?e.au.lv:{k:[100]},1,.01,this)}function BaseRenderer(){}extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(e,t){var r;this.data=e,this.effectElements=[],this.initDynamicPropertyContainer(t);var n,a=this.data.ef.length,o=this.data.ef;for(r=0;r<a;r+=1){switch(n=null,o[r].ty){case 0:n=new SliderEffect(o[r],t,this);break;case 1:n=new AngleEffect(o[r],t,this);break;case 2:n=new ColorEffect(o[r],t,this);break;case 3:n=new PointEffect(o[r],t,this);break;case 4:case 7:n=new CheckboxEffect(o[r],t,this);break;case 10:n=new LayerIndexEffect(o[r],t,this);break;case 11:n=new MaskIndexEffect(o[r],t,this);break;case 5:n=new EffectsManager(o[r],t,this);break;default:n=new NoValueEffect(o[r],t,this)}n&&this.effectElements.push(n)}},BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var e=0,t=this.data.masksProperties.length;e<t;){if("n"!==this.data.masksProperties[e].mode&&!1!==this.data.masksProperties[e].cl)return!0;e+=1}return!1},initExpressions:function(){var e=getExpressionInterfaces();if(e){var t=e("layer"),r=e("effects"),n=e("shape"),a=e("text"),o=e("comp");this.layerInterface=t(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var i=r.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(i),0===this.data.ty||this.data.xt?this.compInterface=o(this):4===this.data.ty?(this.layerInterface.shapeInterface=n(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):5===this.data.ty&&(this.layerInterface.textInterface=a(this),this.layerInterface.text=this.layerInterface.textInterface)}},setBlendMode:function(){var e=getBlendMode(this.data.bm);(this.baseElement||this.layerElement).style["mix-blend-mode"]=e},initBaseData:function(e,t,r){this.globalData=t,this.comp=r,this.data=e,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}},FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(e,t){var r,n=this.dynamicProperties.length;for(r=0;r<n;r+=1)(t||this._isParent&&"transform"===this.dynamicProperties[r].propType)&&(this.dynamicProperties[r].getValue(),this.dynamicProperties[r]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(e){-1===this.dynamicProperties.indexOf(e)&&this.dynamicProperties.push(e)}},FootageElement.prototype.prepareFrame=function(){},extendPrototype([RenderableElement,BaseElement,FrameElement],FootageElement),FootageElement.prototype.getBaseElement=function(){return null},FootageElement.prototype.renderFrame=function(){},FootageElement.prototype.destroy=function(){},FootageElement.prototype.initExpressions=function(){var e=getExpressionInterfaces();if(e){var t=e("footage");this.layerInterface=t(this)}},FootageElement.prototype.getFootageData=function(){return this.footageData},AudioElement.prototype.prepareFrame=function(e){if(this.prepareRenderableFrame(e,!0),this.prepareProperties(e,!0),this.tm._placeholder)this._currentTime=e/this.data.sr;else{var t=this.tm.v;this._currentTime=t}this._volume=this.lv.v[0];var r=this._volume*this._volumeMultiplier;this._previousVolume!==r&&(this._previousVolume=r,this.audio.volume(r))},extendPrototype([RenderableElement,BaseElement,FrameElement],AudioElement),AudioElement.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},AudioElement.prototype.show=function(){},AudioElement.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},AudioElement.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},AudioElement.prototype.resume=function(){this._canPlay=!0},AudioElement.prototype.setRate=function(e){this.audio.rate(e)},AudioElement.prototype.volume=function(e){this._volumeMultiplier=e,this._previousVolume=e*this._volume,this.audio.volume(this._previousVolume)},AudioElement.prototype.getBaseElement=function(){return null},AudioElement.prototype.destroy=function(){},AudioElement.prototype.sourceRectAtTime=function(){},AudioElement.prototype.initExpressions=function(){},BaseRenderer.prototype.checkLayers=function(e){var t,r,n=this.layers.length;for(this.completeLayers=!0,t=n-1;t>=0;t-=1)this.elements[t]||(r=this.layers[t]).ip-r.st<=e-this.layers[t].st&&r.op-r.st>e-this.layers[t].st&&this.buildItem(t),this.completeLayers=!!this.elements[t]&&this.completeLayers;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(e){switch(e.ty){case 2:return this.createImage(e);case 0:return this.createComp(e);case 1:return this.createSolid(e);case 3:default:return this.createNull(e);case 4:return this.createShape(e);case 5:return this.createText(e);case 6:return this.createAudio(e);case 13:return this.createCamera(e);case 15:return this.createFootage(e)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(e){return new AudioElement(e,this.globalData,this)},BaseRenderer.prototype.createFootage=function(e){return new FootageElement(e,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)this.buildItem(e);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(e){var t;this.completeLayers=!1;var r,n=e.length,a=this.layers.length;for(t=0;t<n;t+=1)for(r=0;r<a;){if(this.layers[r].id===e[t].id){this.layers[r]=e[t];break}r+=1}},BaseRenderer.prototype.setProjectInterface=function(e){this.globalData.projectInterface=e},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(e,t,r){for(var n=this.elements,a=this.layers,o=0,i=a.length;o<i;)a[o].ind==t&&(n[o]&&!0!==n[o]?(r.push(n[o]),n[o].setAsParent(),void 0!==a[o].parent?this.buildElementParenting(e,a[o].parent,r):e.setHierarchy(r)):(this.buildItem(o),this.addPendingElement(e))),o+=1},BaseRenderer.prototype.addPendingElement=function(e){this.pendingElements.push(e)},BaseRenderer.prototype.searchExtraCompositions=function(e){var t,r=e.length;for(t=0;t<r;t+=1)if(e[t].xt){var n=this.createComp(e[t]);n.initExpressions(),this.globalData.projectInterface.registerComposition(n)}},BaseRenderer.prototype.getElementById=function(e){var t,r=this.elements.length;for(t=0;t<r;t+=1)if(this.elements[t].data.ind===e)return this.elements[t];return null},BaseRenderer.prototype.getElementByPath=function(e){var t,r=e.shift();if("number"==typeof r)t=this.elements[r];else{var n,a=this.elements.length;for(n=0;n<a;n+=1)if(this.elements[n].data.nm===r){t=this.elements[n];break}}return 0===e.length?t:t.getElementByPath(e)},BaseRenderer.prototype.setupGlobalData=function(e,t){this.globalData.fontManager=new FontManager,this.globalData.slotManager=slotFactory(e),this.globalData.fontManager.addChars(e.chars),this.globalData.fontManager.addFonts(e.fonts,t),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=e.fr,this.globalData.nm=e.nm,this.globalData.compSize={w:e.w,h:e.h}};var effectTypes={TRANSFORM_EFFECT:"transformEFfect"};function TransformElement(){}function MaskElement(e,t,r){this.data=e,this.element=t,this.globalData=r,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var n,a,o=this.globalData.defs,i=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(i),this.solidPath="";var l,s,c,u,d,p,m=this.masksProperties,h=0,f=[],v=createElementID(),b="clipPath",g="clip-path";for(n=0;n<i;n+=1)if(("a"!==m[n].mode&&"n"!==m[n].mode||m[n].inv||100!==m[n].o.k||m[n].o.x)&&(b="mask",g="mask"),"s"!==m[n].mode&&"i"!==m[n].mode||0!==h?c=null:((c=createNS("rect")).setAttribute("fill","#ffffff"),c.setAttribute("width",this.element.comp.data.w||0),c.setAttribute("height",this.element.comp.data.h||0),f.push(c)),a=createNS("path"),"n"===m[n].mode)this.viewData[n]={op:PropertyFactory.getProp(this.element,m[n].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,m[n],3),elem:a,lastPath:""},o.appendChild(a);else{var y;if(h+=1,a.setAttribute("fill","s"===m[n].mode?"#000000":"#ffffff"),a.setAttribute("clip-rule","nonzero"),0!==m[n].x.k?(b="mask",g="mask",p=PropertyFactory.getProp(this.element,m[n].x,0,null,this.element),y=createElementID(),(u=createNS("filter")).setAttribute("id",y),(d=createNS("feMorphology")).setAttribute("operator","erode"),d.setAttribute("in","SourceGraphic"),d.setAttribute("radius","0"),u.appendChild(d),o.appendChild(u),a.setAttribute("stroke","s"===m[n].mode?"#000000":"#ffffff")):(d=null,p=null),this.storedData[n]={elem:a,x:p,expan:d,lastPath:"",lastOperator:"",filterId:y,lastRadius:0},"i"===m[n].mode){s=f.length;var E=createNS("g");for(l=0;l<s;l+=1)E.appendChild(f[l]);var k=createNS("mask");k.setAttribute("mask-type","alpha"),k.setAttribute("id",v+"_"+h),k.appendChild(a),o.appendChild(k),E.setAttribute("mask","url("+getLocationHref()+"#"+v+"_"+h+")"),f.length=0,f.push(E)}else f.push(a);m[n].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[n]={elem:a,lastPath:"",op:PropertyFactory.getProp(this.element,m[n].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,m[n],3),invRect:c},this.viewData[n].prop.k||this.drawPath(m[n],this.viewData[n].prop.v,this.viewData[n])}for(this.maskElement=createNS(b),i=f.length,n=0;n<i;n+=1)this.maskElement.appendChild(f[n]);h>0&&(this.maskElement.setAttribute("id",v),this.element.maskedElement.setAttribute(g,"url("+getLocationHref()+"#"+v+")"),o.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}TransformElement.prototype={initTransform:function(){var e=new Matrix;this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:e,localMat:e,localOpacity:1},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var e,t=this.finalTransform.mat,r=0,n=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;r<n;){if(this.hierarchy[r].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}r+=1}if(this.finalTransform._matMdf)for(e=this.finalTransform.mProp.v.props,t.cloneFromProps(e),r=0;r<n;r+=1)t.multiply(this.hierarchy[r].finalTransform.mProp.v)}this.finalTransform._matMdf&&(this.finalTransform._localMatMdf=this.finalTransform._matMdf),this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v)},renderLocalTransform:function(){if(this.localTransforms){var e=0,t=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;e<t;)this.localTransforms[e]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[e]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),e+=1;if(this.finalTransform._localMatMdf){var r=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(r),e=1;e<t;e+=1){var n=this.localTransforms[e].matrix;r.multiply(n)}r.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var a=this.finalTransform.localOpacity;for(e=0;e<t;e+=1)a*=.01*this.localTransforms[e].opacity;this.finalTransform.localOpacity=a}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var e=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT);if(e.length){this.localTransforms=[],this.finalTransform.localMat=new Matrix;var t=0,r=e.length;for(t=0;t<r;t+=1)this.localTransforms.push(e[t])}}},globalToLocal:function(e){var t=[];t.push(this.finalTransform);for(var r,n=!0,a=this.comp;n;)a.finalTransform?(a.data.hasMask&&t.splice(0,0,a.finalTransform),a=a.comp):n=!1;var o,i=t.length;for(r=0;r<i;r+=1)o=t[r].mat.applyToPointArray(0,0,0),e=[e[0]-o[0],e[1]-o[1],0];return e},mHelper:new Matrix},MaskElement.prototype.getMaskProperty=function(e){return this.viewData[e].prop},MaskElement.prototype.renderFrame=function(e){var t,r=this.element.finalTransform.mat,n=this.masksProperties.length;for(t=0;t<n;t+=1)if((this.viewData[t].prop._mdf||e)&&this.drawPath(this.masksProperties[t],this.viewData[t].prop.v,this.viewData[t]),(this.viewData[t].op._mdf||e)&&this.viewData[t].elem.setAttribute("fill-opacity",this.viewData[t].op.v),"n"!==this.masksProperties[t].mode&&(this.viewData[t].invRect&&(this.element.finalTransform.mProp._mdf||e)&&this.viewData[t].invRect.setAttribute("transform",r.getInverseMatrix().to2dCSS()),this.storedData[t].x&&(this.storedData[t].x._mdf||e))){var a=this.storedData[t].expan;this.storedData[t].x.v<0?("erode"!==this.storedData[t].lastOperator&&(this.storedData[t].lastOperator="erode",this.storedData[t].elem.setAttribute("filter","url("+getLocationHref()+"#"+this.storedData[t].filterId+")")),a.setAttribute("radius",-this.storedData[t].x.v)):("dilate"!==this.storedData[t].lastOperator&&(this.storedData[t].lastOperator="dilate",this.storedData[t].elem.setAttribute("filter",null)),this.storedData[t].elem.setAttribute("stroke-width",2*this.storedData[t].x.v))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var e="M0,0 ";return e+=" h"+this.globalData.compSize.w,e+=" v"+this.globalData.compSize.h,(e+=" h-"+this.globalData.compSize.w)+" v-"+this.globalData.compSize.h+" "},MaskElement.prototype.drawPath=function(e,t,r){var n,a,o=" M"+t.v[0][0]+","+t.v[0][1];for(a=t._length,n=1;n<a;n+=1)o+=" C"+t.o[n-1][0]+","+t.o[n-1][1]+" "+t.i[n][0]+","+t.i[n][1]+" "+t.v[n][0]+","+t.v[n][1];if(t.c&&a>1&&(o+=" C"+t.o[n-1][0]+","+t.o[n-1][1]+" "+t.i[0][0]+","+t.i[0][1]+" "+t.v[0][0]+","+t.v[0][1]),r.lastPath!==o){var i="";r.elem&&(t.c&&(i=e.inv?this.solidPath+o:o),r.elem.setAttribute("d",i)),r.lastPath=o}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){var e={createFilter:function(e,t){var r=createNS("filter");return r.setAttribute("id",e),!0!==t&&(r.setAttribute("filterUnits","objectBoundingBox"),r.setAttribute("x","0%"),r.setAttribute("y","0%"),r.setAttribute("width","100%"),r.setAttribute("height","100%")),r},createAlphaToLuminanceFilter:function(){var e=createNS("feColorMatrix");return e.setAttribute("type","matrix"),e.setAttribute("color-interpolation-filters","sRGB"),e.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),e}};return e}(),featureSupport=function(){var e={maskType:!0,svgLumaHidden:!0,offscreenCanvas:"undefined"!=typeof OffscreenCanvas};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(e.maskType=!1),/firefox/i.test(navigator.userAgent)&&(e.svgLumaHidden=!1),e}(),registeredEffects$1={},idPrefix="filter_result_";function SVGEffects(e){var t,r,n="SourceGraphic",a=e.data.ef?e.data.ef.length:0,o=createElementID(),i=filtersFactory.createFilter(o,!0),l=0;for(this.filters=[],t=0;t<a;t+=1){r=null;var s=e.data.ef[t].ty;registeredEffects$1[s]&&(r=new(0,registeredEffects$1[s].effect)(i,e.effectsManager.effectElements[t],e,idPrefix+l,n),n=idPrefix+l,registeredEffects$1[s].countsAsEffect&&(l+=1)),r&&this.filters.push(r)}l&&(e.globalData.defs.appendChild(i),e.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+o+")")),this.filters.length&&e.addRenderableComponent(this)}function registerEffect$1(e,t,r){registeredEffects$1[e]={effect:t,countsAsEffect:r}}function SVGBaseElement(){}function HierarchyElement(){}function RenderableDOMElement(){}function IImageElement(e,t,r){this.assetData=t.getAssetData(e.refId),this.assetData&&this.assetData.sid&&(this.assetData=t.slotManager.getProp(this.assetData)),this.initElement(e,t,r),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}function ProcessedElement(e,t){this.elem=e,this.pos=t}function IShapeElement(){}SVGEffects.prototype.renderFrame=function(e){var t,r=this.filters.length;for(t=0;t<r;t+=1)this.filters[t].renderFrame(e)},SVGEffects.prototype.getEffects=function(e){var t,r=this.filters.length,n=[];for(t=0;t<r;t+=1)this.filters[t].type===e&&n.push(this.filters[t]);return n},SVGBaseElement.prototype={initRendererElement:function(){this.layerElement=createNS("g")},createContainerElements:function(){this.matteElement=createNS("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var e=null;if(this.data.td){this.matteMasks={};var t=createNS("g");t.setAttribute("id",this.layerId),t.appendChild(this.layerElement),e=t,this.globalData.defs.appendChild(t)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),e=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0===this.data.ty&&!this.data.hd){var r=createNS("clipPath"),n=createNS("path");n.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var a=createElementID();if(r.setAttribute("id",a),r.appendChild(n),this.globalData.defs.appendChild(r),this.checkMasks()){var o=createNS("g");o.setAttribute("clip-path","url("+getLocationHref()+"#"+a+")"),o.appendChild(this.layerElement),this.transformedElement=o,e?e.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+a+")")}0!==this.data.bm&&this.setBlendMode()},renderElement:function(){this.finalTransform._localMatMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.localMat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.localOpacity)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffectsManager=new SVGEffects(this),this.searchEffectTransforms()},getMatte:function(e){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[e]){var t,r,n,a,o=this.layerId+"_"+e;if(1===e||3===e){var i=createNS("mask");i.setAttribute("id",o),i.setAttribute("mask-type",3===e?"luminance":"alpha"),(n=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),i.appendChild(n),this.globalData.defs.appendChild(i),featureSupport.maskType||1!==e||(i.setAttribute("mask-type","luminance"),t=createElementID(),r=filtersFactory.createFilter(t),this.globalData.defs.appendChild(r),r.appendChild(filtersFactory.createAlphaToLuminanceFilter()),(a=createNS("g")).appendChild(n),i.appendChild(a),a.setAttribute("filter","url("+getLocationHref()+"#"+t+")"))}else if(2===e){var l=createNS("mask");l.setAttribute("id",o),l.setAttribute("mask-type","alpha");var s=createNS("g");l.appendChild(s),t=createElementID(),r=filtersFactory.createFilter(t);var c=createNS("feComponentTransfer");c.setAttribute("in","SourceGraphic"),r.appendChild(c);var u=createNS("feFuncA");u.setAttribute("type","table"),u.setAttribute("tableValues","1.0 0.0"),c.appendChild(u),this.globalData.defs.appendChild(r);var d=createNS("rect");d.setAttribute("width",this.comp.data.w),d.setAttribute("height",this.comp.data.h),d.setAttribute("x","0"),d.setAttribute("y","0"),d.setAttribute("fill","#ffffff"),d.setAttribute("opacity","0"),s.setAttribute("filter","url("+getLocationHref()+"#"+t+")"),s.appendChild(d),(n=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),s.appendChild(n),featureSupport.maskType||(l.setAttribute("mask-type","luminance"),r.appendChild(filtersFactory.createAlphaToLuminanceFilter()),a=createNS("g"),s.appendChild(d),a.appendChild(this.layerElement),s.appendChild(a)),this.globalData.defs.appendChild(l)}this.matteMasks[e]=o}return this.matteMasks[e]},setMatte:function(e){this.matteElement&&this.matteElement.setAttribute("mask","url("+getLocationHref()+"#"+e+")")}},HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(e){this.hierarchy=e},setAsParent:function(){this._isParent=!0},checkParenting:function(){void 0!==this.data.parent&&this.comp.buildElementParenting(this,this.data.parent,[])}},extendPrototype([RenderableElement,createProxyFunction({initElement:function(e,t,r){this.initFrame(),this.initBaseData(e,t,r),this.initTransform(e,t,r),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){this.hidden||this.isInRange&&!this.isTransparent||((this.baseElement||this.layerElement).style.display="none",this.hidden=!0)},show:function(){this.isInRange&&!this.isTransparent&&(this.data.hd||((this.baseElement||this.layerElement).style.display="block"),this.hidden=!1,this._isFirstFrame=!0)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}})],RenderableDOMElement),extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var e=this.globalData.getAssetsPath(this.assetData);this.innerElem=createNS("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",e),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect},IShapeElement.prototype={addShapeToModifiers:function(e){var t,r=this.shapeModifiers.length;for(t=0;t<r;t+=1)this.shapeModifiers[t].addShape(e)},isShapeInAnimatedModifiers:function(e){for(var t=this.shapeModifiers.length;0<t;)if(this.shapeModifiers[0].isAnimatedWithShape(e))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var e,t=this.shapes.length;for(e=0;e<t;e+=1)this.shapes[e].sh.reset();for(e=(t=this.shapeModifiers.length)-1;e>=0&&!this.shapeModifiers[e].processShapes(this._isFirstFrame);e-=1);}},searchProcessedElement:function(e){for(var t=this.processedElements,r=0,n=t.length;r<n;){if(t[r].elem===e)return t[r].pos;r+=1}return 0},addProcessedElement:function(e,t){for(var r=this.processedElements,n=r.length;n;)if(r[n-=1].elem===e)return void(r[n].pos=t);r.push(new ProcessedElement(e,t))},prepareFrame:function(e){this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange)}};var lineCapEnum={1:"butt",2:"round",3:"square"},lineJoinEnum={1:"miter",2:"round",3:"bevel"};function SVGShapeData(e,t,r){this.caches=[],this.styles=[],this.transformers=e,this.lStr="",this.sh=r,this.lvl=t,this._isAnimated=!!r.k;for(var n=0,a=e.length;n<a;){if(e[n].mProps.dynamicProperties.length){this._isAnimated=!0;break}n+=1}}function SVGStyleData(e,t){this.data=e,this.type=e.ty,this.d="",this.lvl=t,this._mdf=!1,this.closed=!0===e.hd,this.pElem=createNS("path"),this.msElem=null}function DashProperty(e,t,r,n){var a;this.elem=e,this.frameId=-1,this.dataProps=createSizedArray(t.length),this.renderer=r,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",t.length?t.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(n);var o,i=t.length||0;for(a=0;a<i;a+=1)o=PropertyFactory.getProp(e,t[a].v,0,0,this),this.k=o.k||this.k,this.dataProps[a]={n:t[a].n,p:o};this.k||this.getValue(!0),this._isAnimated=this.k}function SVGStrokeStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.w=PropertyFactory.getProp(e,t.w,0,null,this),this.d=new DashProperty(e,t.d||{},"svg",this),this.c=PropertyFactory.getProp(e,t.c,1,255,this),this.style=r,this._isAnimated=!!this._isAnimated}function SVGFillStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.c=PropertyFactory.getProp(e,t.c,1,255,this),this.style=r}function SVGNoStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.style=r}function GradientProperty(e,t,r){this.data=t,this.c=createTypedArray("uint8c",4*t.p);var n=t.k.k[0].s?t.k.k[0].s.length-4*t.p:t.k.k.length-4*t.p;this.o=createTypedArray("float32",n),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=n,this.initDynamicPropertyContainer(r),this.prop=PropertyFactory.getProp(e,t.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}function SVGGradientFillStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.initGradientData(e,t,r)}function SVGGradientStrokeStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(e,t.w,0,null,this),this.d=new DashProperty(e,t.d||{},"svg",this),this.initGradientData(e,t,r),this._isAnimated=!!this._isAnimated}function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(e,t,r){this.transform={mProps:e,op:t,container:r},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0},SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1},DashProperty.prototype.getValue=function(e){if((this.elem.globalData.frameId!==this.frameId||e)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||e,this._mdf)){var t=0,r=this.dataProps.length;for("svg"===this.renderer&&(this.dashStr=""),t=0;t<r;t+=1)"o"!==this.dataProps[t].n?"svg"===this.renderer?this.dashStr+=" "+this.dataProps[t].p.v:this.dashArray[t]=this.dataProps[t].p.v:this.dashoffset[0]=this.dataProps[t].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty),extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData),extendPrototype([DynamicPropertyContainer],SVGFillStyleData),extendPrototype([DynamicPropertyContainer],SVGNoStyleData),GradientProperty.prototype.comparePoints=function(e,t){for(var r=0,n=this.o.length/2;r<n;){if(Math.abs(e[4*r]-e[4*t+2*r])>.01)return!1;r+=1}return!0},GradientProperty.prototype.checkCollapsable=function(){if(this.o.length/2!=this.c.length/4)return!1;if(this.data.k.k[0].s)for(var e=0,t=this.data.k.k.length;e<t;){if(!this.comparePoints(this.data.k.k[e].s,this.data.p))return!1;e+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(e){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||e){var t,r,n,a=4*this.data.p;for(t=0;t<a;t+=1)r=t%4==0?100:255,n=Math.round(this.prop.v[t]*r),this.c[t]!==n&&(this.c[t]=n,this._cmdf=!e);if(this.o.length)for(a=this.prop.v.length,t=4*this.data.p;t<a;t+=1)r=t%2==0?100:1,n=t%2==0?Math.round(100*this.prop.v[t]):this.prop.v[t],this.o[t-4*this.data.p]!==n&&(this.o[t-4*this.data.p]=n,this._omdf=!e);this._mdf=!e}},extendPrototype([DynamicPropertyContainer],GradientProperty),SVGGradientFillStyleData.prototype.initGradientData=function(e,t,r){this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.s=PropertyFactory.getProp(e,t.s,1,null,this),this.e=PropertyFactory.getProp(e,t.e,1,null,this),this.h=PropertyFactory.getProp(e,t.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(e,t.a||{k:0},0,degToRads,this),this.g=new GradientProperty(e,t.g,this),this.style=r,this.stops=[],this.setGradientData(r.pElem,t),this.setGradientOpacity(t,r),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(e,t){var r=createElementID(),n=createNS(1===t.t?"linearGradient":"radialGradient");n.setAttribute("id",r),n.setAttribute("spreadMethod","pad"),n.setAttribute("gradientUnits","userSpaceOnUse");var a,o,i,l=[];for(i=4*t.g.p,o=0;o<i;o+=4)a=createNS("stop"),n.appendChild(a),l.push(a);e.setAttribute("gf"===t.ty?"fill":"stroke","url("+getLocationHref()+"#"+r+")"),this.gf=n,this.cst=l},SVGGradientFillStyleData.prototype.setGradientOpacity=function(e,t){if(this.g._hasOpacity&&!this.g._collapsable){var r,n,a,o=createNS("mask"),i=createNS("path");o.appendChild(i);var l=createElementID(),s=createElementID();o.setAttribute("id",s);var c=createNS(1===e.t?"linearGradient":"radialGradient");c.setAttribute("id",l),c.setAttribute("spreadMethod","pad"),c.setAttribute("gradientUnits","userSpaceOnUse"),a=e.g.k.k[0].s?e.g.k.k[0].s.length:e.g.k.k.length;var u=this.stops;for(n=4*e.g.p;n<a;n+=2)(r=createNS("stop")).setAttribute("stop-color","rgb(255,255,255)"),c.appendChild(r),u.push(r);i.setAttribute("gf"===e.ty?"fill":"stroke","url("+getLocationHref()+"#"+l+")"),"gs"===e.ty&&(i.setAttribute("stroke-linecap",lineCapEnum[e.lc||2]),i.setAttribute("stroke-linejoin",lineJoinEnum[e.lj||2]),1===e.lj&&i.setAttribute("stroke-miterlimit",e.ml)),this.of=c,this.ms=o,this.ost=u,this.maskId=s,t.msElem=i}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData),extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);var buildShapeString=function(e,t,r,n){if(0===t)return"";var a,o=e.o,i=e.i,l=e.v,s=" M"+n.applyToPointStringified(l[0][0],l[0][1]);for(a=1;a<t;a+=1)s+=" C"+n.applyToPointStringified(o[a-1][0],o[a-1][1])+" "+n.applyToPointStringified(i[a][0],i[a][1])+" "+n.applyToPointStringified(l[a][0],l[a][1]);return r&&t&&(s+=" C"+n.applyToPointStringified(o[a-1][0],o[a-1][1])+" "+n.applyToPointStringified(i[0][0],i[0][1])+" "+n.applyToPointStringified(l[0][0],l[0][1]),s+="z"),s},SVGElementsRenderer=function(){var e=new Matrix,t=new Matrix;function r(e,t,r){(r||t.transform.op._mdf)&&t.transform.container.setAttribute("opacity",t.transform.op.v),(r||t.transform.mProps._mdf)&&t.transform.container.setAttribute("transform",t.transform.mProps.v.to2dCSS())}function n(){}function a(r,n,a){var o,i,l,s,c,u,d,p,m,h,f=n.styles.length,v=n.lvl;for(u=0;u<f;u+=1){if(s=n.sh._mdf||a,n.styles[u].lvl<v){for(p=t.reset(),m=v-n.styles[u].lvl,h=n.transformers.length-1;!s&&m>0;)s=n.transformers[h].mProps._mdf||s,m-=1,h-=1;if(s)for(m=v-n.styles[u].lvl,h=n.transformers.length-1;m>0;)p.multiply(n.transformers[h].mProps.v),m-=1,h-=1}else p=e;if(i=(d=n.sh.paths)._length,s){for(l="",o=0;o<i;o+=1)(c=d.shapes[o])&&c._length&&(l+=buildShapeString(c,c._length,c.c,p));n.caches[u]=l}else l=n.caches[u];n.styles[u].d+=!0===r.hd?"":l,n.styles[u]._mdf=s||n.styles[u]._mdf}}function o(e,t,r){var n=t.style;(t.c._mdf||r)&&n.pElem.setAttribute("fill","rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||r)&&n.pElem.setAttribute("fill-opacity",t.o.v)}function i(e,t,r){l(e,t,r),s(0,t,r)}function l(e,t,r){var n,a,o,i,l,s=t.gf,c=t.g._hasOpacity,u=t.s.v,d=t.e.v;if(t.o._mdf||r){var p="gf"===e.ty?"fill-opacity":"stroke-opacity";t.style.pElem.setAttribute(p,t.o.v)}if(t.s._mdf||r){var m=1===e.t?"x1":"cx",h="x1"===m?"y1":"cy";s.setAttribute(m,u[0]),s.setAttribute(h,u[1]),c&&!t.g._collapsable&&(t.of.setAttribute(m,u[0]),t.of.setAttribute(h,u[1]))}if(t.g._cmdf||r){n=t.cst;var f=t.g.c;for(o=n.length,a=0;a<o;a+=1)(i=n[a]).setAttribute("offset",f[4*a]+"%"),i.setAttribute("stop-color","rgb("+f[4*a+1]+","+f[4*a+2]+","+f[4*a+3]+")")}if(c&&(t.g._omdf||r)){var v=t.g.o;for(o=(n=t.g._collapsable?t.cst:t.ost).length,a=0;a<o;a+=1)i=n[a],t.g._collapsable||i.setAttribute("offset",v[2*a]+"%"),i.setAttribute("stop-opacity",v[2*a+1])}if(1===e.t)(t.e._mdf||r)&&(s.setAttribute("x2",d[0]),s.setAttribute("y2",d[1]),c&&!t.g._collapsable&&(t.of.setAttribute("x2",d[0]),t.of.setAttribute("y2",d[1])));else if((t.s._mdf||t.e._mdf||r)&&(l=Math.sqrt(Math.pow(u[0]-d[0],2)+Math.pow(u[1]-d[1],2)),s.setAttribute("r",l),c&&!t.g._collapsable&&t.of.setAttribute("r",l)),t.e._mdf||t.h._mdf||t.a._mdf||r){l||(l=Math.sqrt(Math.pow(u[0]-d[0],2)+Math.pow(u[1]-d[1],2)));var b=Math.atan2(d[1]-u[1],d[0]-u[0]),g=t.h.v;g>=1?g=.99:g<=-1&&(g=-.99);var y=l*g,E=Math.cos(b+t.a.v)*y+u[0],k=Math.sin(b+t.a.v)*y+u[1];s.setAttribute("fx",E),s.setAttribute("fy",k),c&&!t.g._collapsable&&(t.of.setAttribute("fx",E),t.of.setAttribute("fy",k))}}function s(e,t,r){var n=t.style,a=t.d;a&&(a._mdf||r)&&a.dashStr&&(n.pElem.setAttribute("stroke-dasharray",a.dashStr),n.pElem.setAttribute("stroke-dashoffset",a.dashoffset[0])),t.c&&(t.c._mdf||r)&&n.pElem.setAttribute("stroke","rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||r)&&n.pElem.setAttribute("stroke-opacity",t.o.v),(t.w._mdf||r)&&(n.pElem.setAttribute("stroke-width",t.w.v),n.msElem&&n.msElem.setAttribute("stroke-width",t.w.v))}return{createRenderFunction:function(e){switch(e.ty){case"fl":return o;case"gf":return l;case"gs":return i;case"st":return s;case"sh":case"el":case"rc":case"sr":return a;case"tr":return r;case"no":return n;default:return null}}}}();function SVGShapeElement(e,t,r){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(e,t,r),this.prevViewData=[]}function LetterProps(e,t,r,n,a,o){this.o=e,this.sw=t,this.sc=r,this.fc=n,this.m=a,this.p=o,this._mdf={o:!0,sw:!!t,sc:!!r,fc:!!n,m:!0,p:!0}}function TextProperty(e,t){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,t.d&&t.d.sid&&(t.d=e.globalData.slotManager.getProp(t.d)),this.data=t,this.elem=e,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}extendPrototype([BaseElement,TransformElement,SVGBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableDOMElement],SVGShapeElement),SVGShapeElement.prototype.initSecondaryElement=function(){},SVGShapeElement.prototype.identityMatrix=new Matrix,SVGShapeElement.prototype.buildExpressionInterface=function(){},SVGShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},SVGShapeElement.prototype.filterUniqueShapes=function(){var e,t,r,n,a=this.shapes.length,o=this.stylesList.length,i=[],l=!1;for(r=0;r<o;r+=1){for(n=this.stylesList[r],l=!1,i.length=0,e=0;e<a;e+=1)-1!==(t=this.shapes[e]).styles.indexOf(n)&&(i.push(t),l=t._isAnimated||l);i.length>1&&l&&this.setShapesAsAnimated(i)}},SVGShapeElement.prototype.setShapesAsAnimated=function(e){var t,r=e.length;for(t=0;t<r;t+=1)e[t].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(e,t){var r,n=new SVGStyleData(e,t),a=n.pElem;return"st"===e.ty?r=new SVGStrokeStyleData(this,e,n):"fl"===e.ty?r=new SVGFillStyleData(this,e,n):"gf"===e.ty||"gs"===e.ty?(r=new("gf"===e.ty?SVGGradientFillStyleData:SVGGradientStrokeStyleData)(this,e,n),this.globalData.defs.appendChild(r.gf),r.maskId&&(this.globalData.defs.appendChild(r.ms),this.globalData.defs.appendChild(r.of),a.setAttribute("mask","url("+getLocationHref()+"#"+r.maskId+")"))):"no"===e.ty&&(r=new SVGNoStyleData(this,e,n)),"st"!==e.ty&&"gs"!==e.ty||(a.setAttribute("stroke-linecap",lineCapEnum[e.lc||2]),a.setAttribute("stroke-linejoin",lineJoinEnum[e.lj||2]),a.setAttribute("fill-opacity","0"),1===e.lj&&a.setAttribute("stroke-miterlimit",e.ml)),2===e.r&&a.setAttribute("fill-rule","evenodd"),e.ln&&a.setAttribute("id",e.ln),e.cl&&a.setAttribute("class",e.cl),e.bm&&(a.style["mix-blend-mode"]=getBlendMode(e.bm)),this.stylesList.push(n),this.addToAnimatedContents(e,r),r},SVGShapeElement.prototype.createGroupElement=function(e){var t=new ShapeGroupData;return e.ln&&t.gr.setAttribute("id",e.ln),e.cl&&t.gr.setAttribute("class",e.cl),e.bm&&(t.gr.style["mix-blend-mode"]=getBlendMode(e.bm)),t},SVGShapeElement.prototype.createTransformElement=function(e,t){var r=TransformPropertyFactory.getTransformProperty(this,e,this),n=new SVGTransformData(r,r.o,t);return this.addToAnimatedContents(e,n),n},SVGShapeElement.prototype.createShapeElement=function(e,t,r){var n=4;"rc"===e.ty?n=5:"el"===e.ty?n=6:"sr"===e.ty&&(n=7);var a=new SVGShapeData(t,r,ShapePropertyFactory.getShapeProp(this,e,n,this));return this.shapes.push(a),this.addShapeToModifiers(a),this.addToAnimatedContents(e,a),a},SVGShapeElement.prototype.addToAnimatedContents=function(e,t){for(var r=0,n=this.animatedContents.length;r<n;){if(this.animatedContents[r].element===t)return;r+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(e),element:t,data:e})},SVGShapeElement.prototype.setElementStyles=function(e){var t,r=e.styles,n=this.stylesList.length;for(t=0;t<n;t+=1)this.stylesList[t].closed||r.push(this.stylesList[t])},SVGShapeElement.prototype.reloadShapes=function(){var e;this._isFirstFrame=!0;var t=this.itemsData.length;for(e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(e,t,r,n,a,o,i){var l,s,c,u,d,p,m=[].concat(o),h=e.length-1,f=[],v=[];for(l=h;l>=0;l-=1){if((p=this.searchProcessedElement(e[l]))?t[l]=r[p-1]:e[l]._render=i,"fl"===e[l].ty||"st"===e[l].ty||"gf"===e[l].ty||"gs"===e[l].ty||"no"===e[l].ty)p?t[l].style.closed=!1:t[l]=this.createStyleElement(e[l],a),e[l]._render&&t[l].style.pElem.parentNode!==n&&n.appendChild(t[l].style.pElem),f.push(t[l].style);else if("gr"===e[l].ty){if(p)for(c=t[l].it.length,s=0;s<c;s+=1)t[l].prevViewData[s]=t[l].it[s];else t[l]=this.createGroupElement(e[l]);this.searchShapes(e[l].it,t[l].it,t[l].prevViewData,t[l].gr,a+1,m,i),e[l]._render&&t[l].gr.parentNode!==n&&n.appendChild(t[l].gr)}else"tr"===e[l].ty?(p||(t[l]=this.createTransformElement(e[l],n)),u=t[l].transform,m.push(u)):"sh"===e[l].ty||"rc"===e[l].ty||"el"===e[l].ty||"sr"===e[l].ty?(p||(t[l]=this.createShapeElement(e[l],m,a)),this.setElementStyles(t[l])):"tm"===e[l].ty||"rd"===e[l].ty||"ms"===e[l].ty||"pb"===e[l].ty||"zz"===e[l].ty||"op"===e[l].ty?(p?(d=t[l]).closed=!1:((d=ShapeModifiers.getModifier(e[l].ty)).init(this,e[l]),t[l]=d,this.shapeModifiers.push(d)),v.push(d)):"rp"===e[l].ty&&(p?(d=t[l]).closed=!0:(d=ShapeModifiers.getModifier(e[l].ty),t[l]=d,d.init(this,e,l,t),this.shapeModifiers.push(d),i=!1),v.push(d));this.addProcessedElement(e[l],l+1)}for(h=f.length,l=0;l<h;l+=1)f[l].closed=!0;for(h=v.length,l=0;l<h;l+=1)v[l].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){var e;this.renderModifiers();var t=this.stylesList.length;for(e=0;e<t;e+=1)this.stylesList[e].reset();for(this.renderShape(),e=0;e<t;e+=1)(this.stylesList[e]._mdf||this._isFirstFrame)&&(this.stylesList[e].msElem&&(this.stylesList[e].msElem.setAttribute("d",this.stylesList[e].d),this.stylesList[e].d="M0 0"+this.stylesList[e].d),this.stylesList[e].pElem.setAttribute("d",this.stylesList[e].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var e,t,r=this.animatedContents.length;for(e=0;e<r;e+=1)t=this.animatedContents[e],(this._isFirstFrame||t.element._isAnimated)&&!0!==t.data&&t.fn(t.data,t.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null},LetterProps.prototype.update=function(e,t,r,n,a,o){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var i=!1;return this.o!==e&&(this.o=e,this._mdf.o=!0,i=!0),this.sw!==t&&(this.sw=t,this._mdf.sw=!0,i=!0),this.sc!==r&&(this.sc=r,this._mdf.sc=!0,i=!0),this.fc!==n&&(this.fc=n,this._mdf.fc=!0,i=!0),this.m!==a&&(this.m=a,this._mdf.m=!0,i=!0),!o.length||this.p[0]===o[0]&&this.p[1]===o[1]&&this.p[4]===o[4]&&this.p[5]===o[5]&&this.p[12]===o[12]&&this.p[13]===o[13]||(this.p=o,this._mdf.p=!0,i=!0),i},TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},TextProperty.prototype.setCurrentData=function(e){e.__complete||this.completeTextData(e),this.currentData=e,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},TextProperty.prototype.searchProperty=function(){return this.searchKeyframes()},TextProperty.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(e){this.effectsSequence.push(e),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(e){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length||e){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var t=this.currentData,r=this.keysIndex;if(this.lock)this.setCurrentData(this.currentData);else{var n;this.lock=!0,this._mdf=!1;var a=this.effectsSequence.length,o=e||this.data.d.k[this.keysIndex].s;for(n=0;n<a;n+=1)o=r!==this.keysIndex?this.effectsSequence[n](o,o.t):this.effectsSequence[n](this.currentData,o.t);t!==o&&this.setCurrentData(o),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}}},TextProperty.prototype.getKeyframeValue=function(){for(var e=this.data.d.k,t=this.elem.comp.renderedFrame,r=0,n=e.length;r<=n-1&&!(r===n-1||e[r+1].t>t);)r+=1;return this.keysIndex!==r&&(this.keysIndex=r),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(e){for(var t,r,n=[],a=0,o=e.length,i=!1,l=!1,s="";a<o;)i=l,l=!1,t=e.charCodeAt(a),s=e.charAt(a),FontManager.isCombinedCharacter(t)?i=!0:t>=55296&&t<=56319?FontManager.isRegionalFlag(e,a)?s=e.substr(a,14):(r=e.charCodeAt(a+1))>=56320&&r<=57343&&(FontManager.isModifier(t,r)?(s=e.substr(a,2),i=!0):s=FontManager.isFlagEmoji(e.substr(a,4))?e.substr(a,4):e.substr(a,2)):t>56319?(r=e.charCodeAt(a+1),FontManager.isVariationSelector(t)&&(i=!0)):FontManager.isZeroWidthJoiner(t)&&(i=!0,l=!0),i?(n[n.length-1]+=s,i=!1):n.push(s),a+=s.length;return n},TextProperty.prototype.completeTextData=function(e){e.__complete=!0;var t,r,n,a,o,i,l,s=this.elem.globalData.fontManager,c=this.data,u=[],d=0,p=c.m.g,m=0,h=0,f=0,v=[],b=0,g=0,y=s.getFontByName(e.f),E=0,k=getFontProperties(y);e.fWeight=k.weight,e.fStyle=k.style,e.finalSize=e.s,e.finalText=this.buildFinalText(e.t),r=e.finalText.length,e.finalLineHeight=e.lh;var w,x=e.tr/1e3*e.finalSize;if(e.sz)for(var _,P,C=!0,A=e.sz[0],S=e.sz[1];C;){_=0,b=0,r=(P=this.buildFinalText(e.t)).length,x=e.tr/1e3*e.finalSize;var R=-1;for(t=0;t<r;t+=1)w=P[t].charCodeAt(0),n=!1," "===P[t]?R=t:13!==w&&3!==w||(b=0,n=!0,_+=e.finalLineHeight||1.2*e.finalSize),s.chars?(l=s.getCharData(P[t],y.fStyle,y.fFamily),E=n?0:l.w*e.finalSize/100):E=s.measureText(P[t],e.f,e.finalSize),b+E>A&&" "!==P[t]?(-1===R?r+=1:t=R,_+=e.finalLineHeight||1.2*e.finalSize,P.splice(t,R===t?1:0,"\r"),R=-1,b=0):(b+=E,b+=x);_+=y.ascent*e.finalSize/100,this.canResize&&e.finalSize>this.minimumFontSize&&S<_?(e.finalSize-=1,e.finalLineHeight=e.finalSize*e.lh/e.s):(e.finalText=P,r=e.finalText.length,C=!1)}b=-x,E=0;var M,T=0;for(t=0;t<r;t+=1)if(n=!1,13===(w=(M=e.finalText[t]).charCodeAt(0))||3===w?(T=0,v.push(b),g=b>g?b:g,b=-2*x,a="",n=!0,f+=1):a=M,s.chars?(l=s.getCharData(M,y.fStyle,s.getFontByName(e.f).fFamily),E=n?0:l.w*e.finalSize/100):E=s.measureText(a,e.f,e.finalSize)," "===M?T+=E+x:(b+=E+x+T,T=0),u.push({l:E,an:E,add:m,n,anIndexes:[],val:a,line:f,animatorJustifyOffset:0}),2==p){if(m+=E,""===a||" "===a||t===r-1){for(""!==a&&" "!==a||(m-=E);h<=t;)u[h].an=m,u[h].ind=d,u[h].extra=E,h+=1;d+=1,m=0}}else if(3==p){if(m+=E,""===a||t===r-1){for(""===a&&(m-=E);h<=t;)u[h].an=m,u[h].ind=d,u[h].extra=E,h+=1;m=0,d+=1}}else u[d].ind=d,u[d].extra=0,d+=1;if(e.l=u,g=b>g?b:g,v.push(b),e.sz)e.boxWidth=e.sz[0],e.justifyOffset=0;else switch(e.boxWidth=g,e.j){case 1:e.justifyOffset=-e.boxWidth;break;case 2:e.justifyOffset=-e.boxWidth/2;break;default:e.justifyOffset=0}e.lineWidths=v;var I,O,L,D,B=c.a;i=B.length;var z=[];for(o=0;o<i;o+=1){for((I=B[o]).a.sc&&(e.strokeColorAnim=!0),I.a.sw&&(e.strokeWidthAnim=!0),(I.a.fc||I.a.fh||I.a.fs||I.a.fb)&&(e.fillColorAnim=!0),D=0,L=I.s.b,t=0;t<r;t+=1)(O=u[t]).anIndexes[o]=D,(1==L&&""!==O.val||2==L&&""!==O.val&&" "!==O.val||3==L&&(O.n||" "==O.val||t==r-1)||4==L&&(O.n||t==r-1))&&(1===I.s.rn&&z.push(D),D+=1);c.a[o].s.totalChars=D;var N,V=-1;if(1===I.s.rn)for(t=0;t<r;t+=1)V!=(O=u[t]).anIndexes[o]&&(V=O.anIndexes[o],N=z.splice(Math.floor(Math.random()*z.length),1)[0]),O.anIndexes[o]=N}e.yOffset=e.finalLineHeight||1.2*e.finalSize,e.ls=e.ls||0,e.ascent=y.ascent*e.finalSize/100},TextProperty.prototype.updateDocumentData=function(e,t){t=void 0===t?this.keysIndex:t;var r=this.copyData({},this.data.d.k[t].s);r=this.copyData(r,e),this.data.d.k[t].s=r,this.recalculate(t),this.setCurrentData(r),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(e){var t=this.data.d.k[e].s;t.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(t)},TextProperty.prototype.canResizeFont=function(e){this.canResize=e,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(e){this.minimumFontSize=Math.floor(e)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var e=Math.max,t=Math.min,r=Math.floor;function n(e,t){this._currentTextLength=-1,this.k=!1,this.data=t,this.elem=e,this.comp=e.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(e),this.s=PropertyFactory.getProp(e,t.s||{k:0},0,0,this),this.e="e"in t?PropertyFactory.getProp(e,t.e,0,0,this):{v:100},this.o=PropertyFactory.getProp(e,t.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(e,t.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(e,t.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(e,t.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(e,t.a,0,.01,this),this.dynamicProperties.length||this.getValue()}return n.prototype={getMult:function(n){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var a=0,o=0,i=1,l=1;this.ne.v>0?a=this.ne.v/100:o=-this.ne.v/100,this.xe.v>0?i=1-this.xe.v/100:l=1+this.xe.v/100;var s=BezierFactory.getBezierEasing(a,o,i,l).get,c=0,u=this.finalS,d=this.finalE,p=this.data.sh;if(2===p)c=s(c=d===u?n>=d?1:0:e(0,t(.5/(d-u)+(n-u)/(d-u),1)));else if(3===p)c=s(c=d===u?n>=d?0:1:1-e(0,t(.5/(d-u)+(n-u)/(d-u),1)));else if(4===p)d===u?c=0:(c=e(0,t(.5/(d-u)+(n-u)/(d-u),1)))<.5?c*=2:c=1-2*(c-.5),c=s(c);else if(5===p){if(d===u)c=0;else{var m=d-u,h=-m/2+(n=t(e(0,n+.5-u),d-u)),f=m/2;c=Math.sqrt(1-h*h/(f*f))}c=s(c)}else 6===p?(d===u?c=0:(n=t(e(0,n+.5-u),d-u),c=(1+Math.cos(Math.PI+2*Math.PI*n/(d-u)))/2),c=s(c)):(n>=r(u)&&(c=e(0,t(n-u<0?t(d,1)-(u-n):d-n,1))),c=s(c));if(100!==this.sm.v){var v=.01*this.sm.v;0===v&&(v=1e-8);var b=.5-.5*v;c<b?c=0:(c=(c-b)/v)>1&&(c=1)}return c*this.a.v},getValue:function(e){this.iterateDynamicProperties(),this._mdf=e||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,e&&2===this.data.r&&(this.e.v=this._currentTextLength);var t=2===this.data.r?1:100/this.data.totalChars,r=this.o.v/t,n=this.s.v/t+r,a=this.e.v/t+r;if(n>a){var o=n;n=a,a=o}this.finalS=n,this.finalE=a}},extendPrototype([DynamicPropertyContainer],n),{getTextSelectorProp:function(e,t,r){return new n(e,t,r)}}}();function TextAnimatorDataProperty(e,t,r){var n={propType:!1},a=PropertyFactory.getProp,o=t.a;this.a={r:o.r?a(e,o.r,0,degToRads,r):n,rx:o.rx?a(e,o.rx,0,degToRads,r):n,ry:o.ry?a(e,o.ry,0,degToRads,r):n,sk:o.sk?a(e,o.sk,0,degToRads,r):n,sa:o.sa?a(e,o.sa,0,degToRads,r):n,s:o.s?a(e,o.s,1,.01,r):n,a:o.a?a(e,o.a,1,0,r):n,o:o.o?a(e,o.o,0,.01,r):n,p:o.p?a(e,o.p,1,0,r):n,sw:o.sw?a(e,o.sw,0,0,r):n,sc:o.sc?a(e,o.sc,1,0,r):n,fc:o.fc?a(e,o.fc,1,0,r):n,fh:o.fh?a(e,o.fh,0,0,r):n,fs:o.fs?a(e,o.fs,0,.01,r):n,fb:o.fb?a(e,o.fb,0,.01,r):n,t:o.t?a(e,o.t,0,0,r):n},this.s=TextSelectorProp.getTextSelectorProp(e,t.s,r),this.s.t=t.s.t}function TextAnimatorProperty(e,t,r){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=e,this._renderType=t,this._elem=r,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(r)}function ITextElement(){}TextAnimatorProperty.prototype.searchProperties=function(){var e,t,r=this._textData.a.length,n=PropertyFactory.getProp;for(e=0;e<r;e+=1)t=this._textData.a[e],this._animatorsData[e]=new TextAnimatorDataProperty(this._elem,t,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:n(this._elem,this._textData.p.a,0,0,this),f:n(this._elem,this._textData.p.f,0,0,this),l:n(this._elem,this._textData.p.l,0,0,this),r:n(this._elem,this._textData.p.r,0,0,this),p:n(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=n(this._elem,this._textData.m.a,1,0,this)},TextAnimatorProperty.prototype.getMeasures=function(e,t){if(this.lettersChangedFlag=t,this._mdf||this._isFirstFrame||t||this._hasMaskedPath&&this._pathData.m._mdf){this._isFirstFrame=!1;var r,n,a,o,i,l,s,c,u,d,p,m,h,f,v,b,g,y,E,k=this._moreOptions.alignment.v,w=this._animatorsData,x=this._textData,_=this.mHelper,P=this._renderType,C=this.renderedLetters.length,A=e.l;if(this._hasMaskedPath){if(E=this._pathData.m,!this._pathData.n||this._pathData._mdf){var S,R=E.v;for(this._pathData.r.v&&(R=R.reverse()),i={tLength:0,segments:[]},o=R._length-1,b=0,a=0;a<o;a+=1)S=bez.buildBezierData(R.v[a],R.v[a+1],[R.o[a][0]-R.v[a][0],R.o[a][1]-R.v[a][1]],[R.i[a+1][0]-R.v[a+1][0],R.i[a+1][1]-R.v[a+1][1]]),i.tLength+=S.segmentLength,i.segments.push(S),b+=S.segmentLength;a=o,E.v.c&&(S=bez.buildBezierData(R.v[a],R.v[0],[R.o[a][0]-R.v[a][0],R.o[a][1]-R.v[a][1]],[R.i[0][0]-R.v[0][0],R.i[0][1]-R.v[0][1]]),i.tLength+=S.segmentLength,i.segments.push(S),b+=S.segmentLength),this._pathData.pi=i}if(i=this._pathData.pi,l=this._pathData.f.v,p=0,d=1,c=0,u=!0,f=i.segments,l<0&&E.v.c)for(i.tLength<Math.abs(l)&&(l=-Math.abs(l)%i.tLength),d=(h=f[p=f.length-1].points).length-1;l<0;)l+=h[d].partialLength,(d-=1)<0&&(d=(h=f[p-=1].points).length-1);m=(h=f[p].points)[d-1],v=(s=h[d]).partialLength}o=A.length,r=0,n=0;var M,T,I,O,L,D=1.2*e.finalSize*.714,B=!0;I=w.length;var z,N,V,F,H,j,W,$,Z,U,G,q,K=-1,Y=l,X=p,Q=d,J=-1,ee="",te=this.defaultPropsArray;if(2===e.j||1===e.j){var re=0,ne=0,ae=2===e.j?-.5:-1,oe=0,ie=!0;for(a=0;a<o;a+=1)if(A[a].n){for(re&&(re+=ne);oe<a;)A[oe].animatorJustifyOffset=re,oe+=1;re=0,ie=!0}else{for(T=0;T<I;T+=1)(M=w[T].a).t.propType&&(ie&&2===e.j&&(ne+=M.t.v*ae),(L=w[T].s.getMult(A[a].anIndexes[T],x.a[T].s.totalChars)).length?re+=M.t.v*L[0]*ae:re+=M.t.v*L*ae);ie=!1}for(re&&(re+=ne);oe<a;)A[oe].animatorJustifyOffset=re,oe+=1}for(a=0;a<o;a+=1){if(_.reset(),F=1,A[a].n)r=0,n+=e.yOffset,n+=B?1:0,l=Y,B=!1,this._hasMaskedPath&&(d=Q,m=(h=f[p=X].points)[d-1],v=(s=h[d]).partialLength,c=0),ee="",G="",Z="",q="",te=this.defaultPropsArray;else{if(this._hasMaskedPath){if(J!==A[a].line){switch(e.j){case 1:l+=b-e.lineWidths[A[a].line];break;case 2:l+=(b-e.lineWidths[A[a].line])/2}J=A[a].line}K!==A[a].ind&&(A[K]&&(l+=A[K].extra),l+=A[a].an/2,K=A[a].ind),l+=k[0]*A[a].an*.005;var le=0;for(T=0;T<I;T+=1)(M=w[T].a).p.propType&&((L=w[T].s.getMult(A[a].anIndexes[T],x.a[T].s.totalChars)).length?le+=M.p.v[0]*L[0]:le+=M.p.v[0]*L),M.a.propType&&((L=w[T].s.getMult(A[a].anIndexes[T],x.a[T].s.totalChars)).length?le+=M.a.v[0]*L[0]:le+=M.a.v[0]*L);for(u=!0,this._pathData.a.v&&(l=.5*A[0].an+(b-this._pathData.f.v-.5*A[0].an-.5*A[A.length-1].an)*K/(o-1),l+=this._pathData.f.v);u;)c+v>=l+le||!h?(g=(l+le-c)/s.partialLength,N=m.point[0]+(s.point[0]-m.point[0])*g,V=m.point[1]+(s.point[1]-m.point[1])*g,_.translate(-k[0]*A[a].an*.005,-k[1]*D*.01),u=!1):h&&(c+=s.partialLength,(d+=1)>=h.length&&(d=0,f[p+=1]?h=f[p].points:E.v.c?(d=0,h=f[p=0].points):(c-=s.partialLength,h=null)),h&&(m=s,v=(s=h[d]).partialLength));z=A[a].an/2-A[a].add,_.translate(-z,0,0)}else z=A[a].an/2-A[a].add,_.translate(-z,0,0),_.translate(-k[0]*A[a].an*.005,-k[1]*D*.01,0);for(T=0;T<I;T+=1)(M=w[T].a).t.propType&&(L=w[T].s.getMult(A[a].anIndexes[T],x.a[T].s.totalChars),0===r&&0===e.j||(this._hasMaskedPath?L.length?l+=M.t.v*L[0]:l+=M.t.v*L:L.length?r+=M.t.v*L[0]:r+=M.t.v*L));for(e.strokeWidthAnim&&(j=e.sw||0),e.strokeColorAnim&&(H=e.sc?[e.sc[0],e.sc[1],e.sc[2]]:[0,0,0]),e.fillColorAnim&&e.fc&&(W=[e.fc[0],e.fc[1],e.fc[2]]),T=0;T<I;T+=1)(M=w[T].a).a.propType&&((L=w[T].s.getMult(A[a].anIndexes[T],x.a[T].s.totalChars)).length?_.translate(-M.a.v[0]*L[0],-M.a.v[1]*L[1],M.a.v[2]*L[2]):_.translate(-M.a.v[0]*L,-M.a.v[1]*L,M.a.v[2]*L));for(T=0;T<I;T+=1)(M=w[T].a).s.propType&&((L=w[T].s.getMult(A[a].anIndexes[T],x.a[T].s.totalChars)).length?_.scale(1+(M.s.v[0]-1)*L[0],1+(M.s.v[1]-1)*L[1],1):_.scale(1+(M.s.v[0]-1)*L,1+(M.s.v[1]-1)*L,1));for(T=0;T<I;T+=1){if(M=w[T].a,L=w[T].s.getMult(A[a].anIndexes[T],x.a[T].s.totalChars),M.sk.propType&&(L.length?_.skewFromAxis(-M.sk.v*L[0],M.sa.v*L[1]):_.skewFromAxis(-M.sk.v*L,M.sa.v*L)),M.r.propType&&(L.length?_.rotateZ(-M.r.v*L[2]):_.rotateZ(-M.r.v*L)),M.ry.propType&&(L.length?_.rotateY(M.ry.v*L[1]):_.rotateY(M.ry.v*L)),M.rx.propType&&(L.length?_.rotateX(M.rx.v*L[0]):_.rotateX(M.rx.v*L)),M.o.propType&&(L.length?F+=(M.o.v*L[0]-F)*L[0]:F+=(M.o.v*L-F)*L),e.strokeWidthAnim&&M.sw.propType&&(L.length?j+=M.sw.v*L[0]:j+=M.sw.v*L),e.strokeColorAnim&&M.sc.propType)for($=0;$<3;$+=1)L.length?H[$]+=(M.sc.v[$]-H[$])*L[0]:H[$]+=(M.sc.v[$]-H[$])*L;if(e.fillColorAnim&&e.fc){if(M.fc.propType)for($=0;$<3;$+=1)L.length?W[$]+=(M.fc.v[$]-W[$])*L[0]:W[$]+=(M.fc.v[$]-W[$])*L;M.fh.propType&&(W=L.length?addHueToRGB(W,M.fh.v*L[0]):addHueToRGB(W,M.fh.v*L)),M.fs.propType&&(W=L.length?addSaturationToRGB(W,M.fs.v*L[0]):addSaturationToRGB(W,M.fs.v*L)),M.fb.propType&&(W=L.length?addBrightnessToRGB(W,M.fb.v*L[0]):addBrightnessToRGB(W,M.fb.v*L))}}for(T=0;T<I;T+=1)(M=w[T].a).p.propType&&(L=w[T].s.getMult(A[a].anIndexes[T],x.a[T].s.totalChars),this._hasMaskedPath?L.length?_.translate(0,M.p.v[1]*L[0],-M.p.v[2]*L[1]):_.translate(0,M.p.v[1]*L,-M.p.v[2]*L):L.length?_.translate(M.p.v[0]*L[0],M.p.v[1]*L[1],-M.p.v[2]*L[2]):_.translate(M.p.v[0]*L,M.p.v[1]*L,-M.p.v[2]*L));if(e.strokeWidthAnim&&(Z=j<0?0:j),e.strokeColorAnim&&(U="rgb("+Math.round(255*H[0])+","+Math.round(255*H[1])+","+Math.round(255*H[2])+")"),e.fillColorAnim&&e.fc&&(G="rgb("+Math.round(255*W[0])+","+Math.round(255*W[1])+","+Math.round(255*W[2])+")"),this._hasMaskedPath){if(_.translate(0,-e.ls),_.translate(0,k[1]*D*.01+n,0),this._pathData.p.v){y=(s.point[1]-m.point[1])/(s.point[0]-m.point[0]);var se=180*Math.atan(y)/Math.PI;s.point[0]<m.point[0]&&(se+=180),_.rotate(-se*Math.PI/180)}_.translate(N,V,0),l-=k[0]*A[a].an*.005,A[a+1]&&K!==A[a+1].ind&&(l+=A[a].an/2,l+=.001*e.tr*e.finalSize)}else{switch(_.translate(r,n,0),e.ps&&_.translate(e.ps[0],e.ps[1]+e.ascent,0),e.j){case 1:_.translate(A[a].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[A[a].line]),0,0);break;case 2:_.translate(A[a].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[A[a].line])/2,0,0)}_.translate(0,-e.ls),_.translate(z,0,0),_.translate(k[0]*A[a].an*.005,k[1]*D*.01,0),r+=A[a].l+.001*e.tr*e.finalSize}"html"===P?ee=_.toCSS():"svg"===P?ee=_.to2dCSS():te=[_.props[0],_.props[1],_.props[2],_.props[3],_.props[4],_.props[5],_.props[6],_.props[7],_.props[8],_.props[9],_.props[10],_.props[11],_.props[12],_.props[13],_.props[14],_.props[15]],q=F}C<=a?(O=new LetterProps(q,Z,U,G,ee,te),this.renderedLetters.push(O),C+=1,this.lettersChangedFlag=!0):(O=this.renderedLetters[a],this.lettersChangedFlag=O.update(q,Z,U,G,ee,te)||this.lettersChangedFlag)}}},TextAnimatorProperty.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},TextAnimatorProperty.prototype.mHelper=new Matrix,TextAnimatorProperty.prototype.defaultPropsArray=[],extendPrototype([DynamicPropertyContainer],TextAnimatorProperty),ITextElement.prototype.initElement=function(e,t,r){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(e,t,r),this.textProperty=new TextProperty(this,e.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(e.t,this.renderType,this),this.initTransform(e,t,r),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange)},ITextElement.prototype.createPathShape=function(e,t){var r,n,a=t.length,o="";for(r=0;r<a;r+=1)"sh"===t[r].ty&&(n=t[r].ks.k,o+=buildShapeString(n,n.i.length,!0,e));return o},ITextElement.prototype.updateDocumentData=function(e,t){this.textProperty.updateDocumentData(e,t)},ITextElement.prototype.canResizeFont=function(e){this.textProperty.canResizeFont(e)},ITextElement.prototype.setMinimumFontSize=function(e){this.textProperty.setMinimumFontSize(e)},ITextElement.prototype.applyTextPropertiesToMatrix=function(e,t,r,n,a){switch(e.ps&&t.translate(e.ps[0],e.ps[1]+e.ascent,0),t.translate(0,-e.ls,0),e.j){case 1:t.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[r]),0,0);break;case 2:t.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[r])/2,0,0)}t.translate(n,a,0)},ITextElement.prototype.buildColor=function(e){return"rgb("+Math.round(255*e[0])+","+Math.round(255*e[1])+","+Math.round(255*e[2])+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){},ITextElement.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var emptyShapeData={shapes:[]};function SVGTextLottieElement(e,t,r){this.textSpans=[],this.renderType="svg",this.initElement(e,t,r)}function ISolidElement(e,t,r){this.initElement(e,t,r)}function NullElement(e,t,r){this.initFrame(),this.initBaseData(e,t,r),this.initFrame(),this.initTransform(e,t,r),this.initHierarchy()}function SVGRendererBase(){}function ICompElement(){}function SVGCompElement(e,t,r){this.layers=e.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(e,t,r),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}function SVGRenderer(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var r="";if(t&&t.title){var n=createNS("title"),a=createElementID();n.setAttribute("id",a),n.textContent=t.title,this.svgElement.appendChild(n),r+=a}if(t&&t.description){var o=createNS("desc"),i=createElementID();o.setAttribute("id",i),o.textContent=t.description,this.svgElement.appendChild(o),r+=" "+i}r&&this.svgElement.setAttribute("aria-labelledby",r);var l=createNS("defs");this.svgElement.appendChild(l);var s=createNS("g");this.svgElement.appendChild(s),this.layerElement=s,this.renderConfig={preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:t&&t.contentVisibility||"visible",progressiveLoad:t&&t.progressiveLoad||!1,hideOnTransparent:!(t&&!1===t.hideOnTransparent),viewBoxOnly:t&&t.viewBoxOnly||!1,viewBoxSize:t&&t.viewBoxSize||!1,className:t&&t.className||"",id:t&&t.id||"",focusable:t&&t.focusable,filterSize:{width:t&&t.filterSize&&t.filterSize.width||"100%",height:t&&t.filterSize&&t.filterSize.height||"100%",x:t&&t.filterSize&&t.filterSize.x||"0%",y:t&&t.filterSize&&t.filterSize.y||"0%"},width:t&&t.width,height:t&&t.height,runExpressions:!t||void 0===t.runExpressions||t.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:l,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],SVGTextLottieElement),SVGTextLottieElement.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=createNS("text"))},SVGTextLottieElement.prototype.buildTextContents=function(e){for(var t=0,r=e.length,n=[],a="";t<r;)e[t]===String.fromCharCode(13)||e[t]===String.fromCharCode(3)?(n.push(a),a=""):a+=e[t],t+=1;return n.push(a),n},SVGTextLottieElement.prototype.buildShapeData=function(e,t){if(e.shapes&&e.shapes.length){var r=e.shapes[0];if(r.it){var n=r.it[r.it.length-1];n.s&&(n.s.k[0]=t,n.s.k[1]=t)}}return e},SVGTextLottieElement.prototype.buildNewText=function(){var e,t;this.addDynamicProperty(this);var r=this.textProperty.currentData;this.renderedLetters=createSizedArray(r?r.l.length:0),r.fc?this.layerElement.setAttribute("fill",this.buildColor(r.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),r.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(r.sc)),this.layerElement.setAttribute("stroke-width",r.sw)),this.layerElement.setAttribute("font-size",r.finalSize);var n=this.globalData.fontManager.getFontByName(r.f);if(n.fClass)this.layerElement.setAttribute("class",n.fClass);else{this.layerElement.setAttribute("font-family",n.fFamily);var a=r.fWeight,o=r.fStyle;this.layerElement.setAttribute("font-style",o),this.layerElement.setAttribute("font-weight",a)}this.layerElement.setAttribute("aria-label",r.t);var i,l=r.l||[],s=!!this.globalData.fontManager.chars;t=l.length;var c=this.mHelper,u=this.data.singleShape,d=0,p=0,m=!0,h=.001*r.tr*r.finalSize;if(!u||s||r.sz){var f,v=this.textSpans.length;for(e=0;e<t;e+=1){if(this.textSpans[e]||(this.textSpans[e]={span:null,childSpan:null,glyph:null}),!s||!u||0===e){if(i=v>e?this.textSpans[e].span:createNS(s?"g":"text"),v<=e){if(i.setAttribute("stroke-linecap","butt"),i.setAttribute("stroke-linejoin","round"),i.setAttribute("stroke-miterlimit","4"),this.textSpans[e].span=i,s){var b=createNS("g");i.appendChild(b),this.textSpans[e].childSpan=b}this.textSpans[e].span=i,this.layerElement.appendChild(i)}i.style.display="inherit"}if(c.reset(),u&&(l[e].n&&(d=-h,p+=r.yOffset,p+=m?1:0,m=!1),this.applyTextPropertiesToMatrix(r,c,l[e].line,d,p),d+=l[e].l||0,d+=h),s){var g;if(1===(f=this.globalData.fontManager.getCharData(r.finalText[e],n.fStyle,this.globalData.fontManager.getFontByName(r.f).fFamily)).t)g=new SVGCompElement(f.data,this.globalData,this);else{var y=emptyShapeData;f.data&&f.data.shapes&&(y=this.buildShapeData(f.data,r.finalSize)),g=new SVGShapeElement(y,this.globalData,this)}if(this.textSpans[e].glyph){var E=this.textSpans[e].glyph;this.textSpans[e].childSpan.removeChild(E.layerElement),E.destroy()}this.textSpans[e].glyph=g,g._debug=!0,g.prepareFrame(0),g.renderFrame(),this.textSpans[e].childSpan.appendChild(g.layerElement),1===f.t&&this.textSpans[e].childSpan.setAttribute("transform","scale("+r.finalSize/100+","+r.finalSize/100+")")}else u&&i.setAttribute("transform","translate("+c.props[12]+","+c.props[13]+")"),i.textContent=l[e].val,i.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}u&&i&&i.setAttribute("d","")}else{var k=this.textContainer,w="start";switch(r.j){case 1:w="end";break;case 2:w="middle";break;default:w="start"}k.setAttribute("text-anchor",w),k.setAttribute("letter-spacing",h);var x=this.buildTextContents(r.finalText);for(t=x.length,p=r.ps?r.ps[1]+r.ascent:0,e=0;e<t;e+=1)(i=this.textSpans[e].span||createNS("tspan")).textContent=x[e],i.setAttribute("x",0),i.setAttribute("y",p),i.style.display="inherit",k.appendChild(i),this.textSpans[e]||(this.textSpans[e]={span:null,glyph:null}),this.textSpans[e].span=i,p+=r.finalLineHeight;this.layerElement.appendChild(k)}for(;e<this.textSpans.length;)this.textSpans[e].span.style.display="none",e+=1;this._sizeChanged=!0},SVGTextLottieElement.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var e=this.layerElement.getBBox();this.bbox={top:e.y,left:e.x,width:e.width,height:e.height}}return this.bbox},SVGTextLottieElement.prototype.getValue=function(){var e,t,r=this.textSpans.length;for(this.renderedFrame=this.comp.renderedFrame,e=0;e<r;e+=1)(t=this.textSpans[e].glyph)&&(t.prepareFrame(this.comp.renderedFrame-this.data.st),t._mdf&&(this._mdf=!0))},SVGTextLottieElement.prototype.renderInnerContent=function(){if(this.validateText(),(!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){var e,t;this._sizeChanged=!0;var r,n,a,o=this.textAnimator.renderedLetters,i=this.textProperty.currentData.l;for(t=i.length,e=0;e<t;e+=1)i[e].n||(r=o[e],n=this.textSpans[e].span,(a=this.textSpans[e].glyph)&&a.renderFrame(),r._mdf.m&&n.setAttribute("transform",r.m),r._mdf.o&&n.setAttribute("opacity",r.o),r._mdf.sw&&n.setAttribute("stroke-width",r.sw),r._mdf.sc&&n.setAttribute("stroke",r.sc),r._mdf.fc&&n.setAttribute("fill",r.fc))}},extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var e=createNS("rect");e.setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.layerElement.appendChild(e)},NullElement.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},NullElement.prototype.renderFrame=function(){},NullElement.prototype.getBaseElement=function(){return null},NullElement.prototype.destroy=function(){},NullElement.prototype.sourceRectAtTime=function(){},NullElement.prototype.hide=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement],NullElement),extendPrototype([BaseRenderer],SVGRendererBase),SVGRendererBase.prototype.createNull=function(e){return new NullElement(e,this.globalData,this)},SVGRendererBase.prototype.createShape=function(e){return new SVGShapeElement(e,this.globalData,this)},SVGRendererBase.prototype.createText=function(e){return new SVGTextLottieElement(e,this.globalData,this)},SVGRendererBase.prototype.createImage=function(e){return new IImageElement(e,this.globalData,this)},SVGRendererBase.prototype.createSolid=function(e){return new ISolidElement(e,this.globalData,this)},SVGRendererBase.prototype.configAnimation=function(e){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.svgElement.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+e.w+" "+e.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",e.w),this.svgElement.setAttribute("height",e.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.width&&this.svgElement.setAttribute("width",this.renderConfig.width),this.renderConfig.height&&this.svgElement.setAttribute("height",this.renderConfig.height),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),void 0!==this.renderConfig.focusable&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var t=this.globalData.defs;this.setupGlobalData(e,t),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=e;var r=createNS("clipPath"),n=createNS("rect");n.setAttribute("width",e.w),n.setAttribute("height",e.h),n.setAttribute("x",0),n.setAttribute("y",0);var a=createElementID();r.setAttribute("id",a),r.appendChild(n),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+a+")"),t.appendChild(r),this.layers=e.layers,this.elements=createSizedArray(e.layers.length)},SVGRendererBase.prototype.destroy=function(){var e;this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var t=this.layers?this.layers.length:0;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.findIndexByInd=function(e){var t=0,r=this.layers.length;for(t=0;t<r;t+=1)if(this.layers[t].ind===e)return t;return-1},SVGRendererBase.prototype.buildItem=function(e){var t=this.elements;if(!t[e]&&99!==this.layers[e].ty){t[e]=!0;var r=this.createItem(this.layers[e]);if(t[e]=r,getExpressionsPlugin()&&(0===this.layers[e].ty&&this.globalData.projectInterface.registerComposition(r),r.initExpressions()),this.appendElementInPos(r,e),this.layers[e].tt){var n="tp"in this.layers[e]?this.findIndexByInd(this.layers[e].tp):e-1;if(-1===n)return;if(this.elements[n]&&!0!==this.elements[n]){var a=t[n].getMatte(this.layers[e].tt);r.setMatte(a)}else this.buildItem(n),this.addPendingElement(r)}}},SVGRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();if(e.checkParenting(),e.data.tt)for(var t=0,r=this.elements.length;t<r;){if(this.elements[t]===e){var n="tp"in e.data?this.findIndexByInd(e.data.tp):t-1,a=this.elements[n].getMatte(this.layers[t].tt);e.setMatte(a);break}t+=1}}},SVGRendererBase.prototype.renderFrame=function(e){if(this.renderedFrame!==e&&!this.destroyed){var t;null===e?e=this.renderedFrame:this.renderedFrame=e,this.globalData.frameNum=e,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=e,this.globalData._mdf=!1;var r=this.layers.length;for(this.completeLayers||this.checkLayers(e),t=r-1;t>=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].prepareFrame(e-this.layers[t].st);if(this.globalData._mdf)for(t=0;t<r;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(e,t){var r=e.getBaseElement();if(r){for(var n,a=0;a<t;)this.elements[a]&&!0!==this.elements[a]&&this.elements[a].getBaseElement()&&(n=this.elements[a].getBaseElement()),a+=1;n?this.layerElement.insertBefore(r,n):this.layerElement.appendChild(r)}},SVGRendererBase.prototype.hide=function(){this.layerElement.style.display="none"},SVGRendererBase.prototype.show=function(){this.layerElement.style.display="block"},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(e,t,r){this.initFrame(),this.initBaseData(e,t,r),this.initTransform(e,t,r),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),!this.data.xt&&t.progressiveLoad||this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(e){if(this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),this.isInRange||this.data.xt){if(this.tm._placeholder)this.renderedFrame=e/this.data.sr;else{var t=this.tm.v;t===this.data.op&&(t=this.data.op-1),this.renderedFrame=t}var r,n=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),r=n-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&(this.elements[r].prepareFrame(this.renderedFrame-this.layers[r].st),this.elements[r]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},ICompElement.prototype.setElements=function(e){this.elements=e},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()},extendPrototype([SVGRendererBase,ICompElement,SVGBaseElement],SVGCompElement),SVGCompElement.prototype.createComp=function(e){return new SVGCompElement(e,this.globalData,this)},extendPrototype([SVGRendererBase],SVGRenderer),SVGRenderer.prototype.createComp=function(e){return new SVGCompElement(e,this.globalData,this)},ShapeTransformManager.prototype={addTransformSequence:function(e){var t,r=e.length,n="_";for(t=0;t<r;t+=1)n+=e[t].transform.key+"_";var a=this.sequences[n];return a||(a={transforms:[].concat(e),finalTransform:new Matrix,_mdf:!1},this.sequences[n]=a,this.sequenceList.push(a)),a},processSequence:function(e,t){for(var r=0,n=e.transforms.length,a=t;r<n&&!t;){if(e.transforms[r].transform.mProps._mdf){a=!0;break}r+=1}if(a)for(e.finalTransform.reset(),r=n-1;r>=0;r-=1)e.finalTransform.multiply(e.transforms[r].transform.mProps.v);e._mdf=a},processSequences:function(e){var t,r=this.sequenceList.length;for(t=0;t<r;t+=1)this.processSequence(this.sequenceList[t],e)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}};var lumaLoader=function(){var e="__lottie_element_luma_buffer",t=null,r=null,n=null;function a(){var a,o,i;t||(a=createNS("svg"),o=createNS("filter"),i=createNS("feColorMatrix"),o.setAttribute("id",e),i.setAttribute("type","matrix"),i.setAttribute("color-interpolation-filters","sRGB"),i.setAttribute("values","0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0"),o.appendChild(i),a.appendChild(o),a.setAttribute("id",e+"_svg"),featureSupport.svgLumaHidden&&(a.style.display="none"),n=a,document.body.appendChild(n),t=createTag("canvas"),(r=t.getContext("2d")).filter="url(#"+e+")",r.fillStyle="rgba(0,0,0,0)",r.fillRect(0,0,1,1))}return{load:a,get:function(n){return t||a(),t.width=n.width,t.height=n.height,r.filter="url(#"+e+")",t}}};function createCanvas(e,t){if(featureSupport.offscreenCanvas)return new OffscreenCanvas(e,t);var r=createTag("canvas");return r.width=e,r.height=t,r}var assetLoader={loadLumaCanvas:lumaLoader.load,getLumaCanvas:lumaLoader.get,createCanvas},registeredEffects={};function CVEffects(e){var t,r,n=e.data.ef?e.data.ef.length:0;for(this.filters=[],t=0;t<n;t+=1){r=null;var a=e.data.ef[t].ty;registeredEffects[a]&&(r=new(0,registeredEffects[a].effect)(e.effectsManager.effectElements[t],e)),r&&this.filters.push(r)}this.filters.length&&e.addRenderableComponent(this)}function registerEffect(e,t){registeredEffects[e]={effect:t}}function CVMaskElement(e,t){var r;this.data=e,this.element=t,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var n=this.masksProperties.length,a=!1;for(r=0;r<n;r+=1)"n"!==this.masksProperties[r].mode&&(a=!0),this.viewData[r]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[r],3);this.hasMasks=a,a&&this.element.addRenderableComponent(this)}function CVBaseElement(){}CVEffects.prototype.renderFrame=function(e){var t,r=this.filters.length;for(t=0;t<r;t+=1)this.filters[t].renderFrame(e)},CVEffects.prototype.getEffects=function(e){var t,r=this.filters.length,n=[];for(t=0;t<r;t+=1)this.filters[t].type===e&&n.push(this.filters[t]);return n},CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var e,t,r,n,a=this.element.finalTransform.mat,o=this.element.canvasContext,i=this.masksProperties.length;for(o.beginPath(),e=0;e<i;e+=1)if("n"!==this.masksProperties[e].mode){var l;this.masksProperties[e].inv&&(o.moveTo(0,0),o.lineTo(this.element.globalData.compSize.w,0),o.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),o.lineTo(0,this.element.globalData.compSize.h),o.lineTo(0,0)),n=this.viewData[e].v,t=a.applyToPointArray(n.v[0][0],n.v[0][1],0),o.moveTo(t[0],t[1]);var s=n._length;for(l=1;l<s;l+=1)r=a.applyToTriplePoints(n.o[l-1],n.i[l],n.v[l]),o.bezierCurveTo(r[0],r[1],r[2],r[3],r[4],r[5]);r=a.applyToTriplePoints(n.o[l-1],n.i[0],n.v[0]),o.bezierCurveTo(r[0],r[1],r[2],r[3],r[4],r[5])}this.element.globalData.renderer.save(!0),o.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null};var operationsMap={1:"source-in",2:"source-out",3:"source-in",4:"source-out"};function CVShapeData(e,t,r,n){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var a,o=4;"rc"===t.ty?o=5:"el"===t.ty?o=6:"sr"===t.ty&&(o=7),this.sh=ShapePropertyFactory.getShapeProp(e,t,o,e);var i,l=r.length;for(a=0;a<l;a+=1)r[a].closed||(i={transforms:n.addTransformSequence(r[a].transforms),trNodes:[]},this.styledShapes.push(i),r[a].elements.push(i))}function CVShapeElement(e,t,r){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(e,t,r)}function CVTextElement(e,t,r){this.textSpans=[],this.yOffset=0,this.fillColorAnim=!1,this.strokeColorAnim=!1,this.strokeWidthAnim=!1,this.stroke=!1,this.fill=!1,this.justifyOffset=0,this.currentRender=null,this.renderType="canvas",this.values={fill:"rgba(0,0,0,0)",stroke:"rgba(0,0,0,0)",sWidth:0,fValue:""},this.initElement(e,t,r)}function CVImageElement(e,t,r){this.assetData=t.getAssetData(e.refId),this.img=t.imageLoader.getAsset(this.assetData),this.initElement(e,t,r)}function CVSolidElement(e,t,r){this.initElement(e,t,r)}function CanvasRendererBase(){}function CanvasContext(){this.opacity=-1,this.transform=createTypedArray("float32",16),this.fillStyle="",this.strokeStyle="",this.lineWidth="",this.lineCap="",this.lineJoin="",this.miterLimit="",this.id=Math.random()}function CVContextData(){var e;for(this.stack=[],this.cArrPos=0,this.cTr=new Matrix,e=0;e<15;e+=1){var t=new CanvasContext;this.stack[e]=t}this._length=15,this.nativeContext=null,this.transformMat=new Matrix,this.currentOpacity=1,this.currentFillStyle="",this.appliedFillStyle="",this.currentStrokeStyle="",this.appliedStrokeStyle="",this.currentLineWidth="",this.appliedLineWidth="",this.currentLineCap="",this.appliedLineCap="",this.currentLineJoin="",this.appliedLineJoin="",this.appliedMiterLimit="",this.currentMiterLimit=""}function CVCompElement(e,t,r){this.completeLayers=!1,this.layers=e.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(e,t,r),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}function CanvasRenderer(e,t){this.animationItem=e,this.renderConfig={clearCanvas:!t||void 0===t.clearCanvas||t.clearCanvas,context:t&&t.context||null,progressiveLoad:t&&t.progressiveLoad||!1,preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:t&&t.contentVisibility||"visible",className:t&&t.className||"",id:t&&t.id||"",runExpressions:!t||void 0===t.runExpressions||t.runExpressions},this.renderConfig.dpr=t&&t.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=t&&t.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=new Matrix,this.completeLayers=!1,this.rendererType="canvas",this.renderConfig.clearCanvas&&(this.ctxTransform=this.contextData.transform.bind(this.contextData),this.ctxOpacity=this.contextData.opacity.bind(this.contextData),this.ctxFillStyle=this.contextData.fillStyle.bind(this.contextData),this.ctxStrokeStyle=this.contextData.strokeStyle.bind(this.contextData),this.ctxLineWidth=this.contextData.lineWidth.bind(this.contextData),this.ctxLineCap=this.contextData.lineCap.bind(this.contextData),this.ctxLineJoin=this.contextData.lineJoin.bind(this.contextData),this.ctxMiterLimit=this.contextData.miterLimit.bind(this.contextData),this.ctxFill=this.contextData.fill.bind(this.contextData),this.ctxFillRect=this.contextData.fillRect.bind(this.contextData),this.ctxStroke=this.contextData.stroke.bind(this.contextData),this.save=this.contextData.save.bind(this.contextData))}function HBaseElement(){}function HSolidElement(e,t,r){this.initElement(e,t,r)}function HShapeElement(e,t,r){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(e,t,r),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}function HTextElement(e,t,r){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(e,t,r)}function HCameraElement(e,t,r){this.initFrame(),this.initBaseData(e,t,r),this.initHierarchy();var n=PropertyFactory.getProp;if(this.pe=n(this,e.pe,0,0,this),e.ks.p.s?(this.px=n(this,e.ks.p.x,1,0,this),this.py=n(this,e.ks.p.y,1,0,this),this.pz=n(this,e.ks.p.z,1,0,this)):this.p=n(this,e.ks.p,1,0,this),e.ks.a&&(this.a=n(this,e.ks.a,1,0,this)),e.ks.or.k.length&&e.ks.or.k[0].to){var a,o=e.ks.or.k.length;for(a=0;a<o;a+=1)e.ks.or.k[a].to=null,e.ks.or.k[a].ti=null}this.or=n(this,e.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=n(this,e.ks.rx,0,degToRads,this),this.ry=n(this,e.ks.ry,0,degToRads,this),this.rz=n(this,e.ks.rz,0,degToRads,this),this.mat=new Matrix,this._prevMat=new Matrix,this._isFirstFrame=!0,this.finalTransform={mProp:this}}function HImageElement(e,t,r){this.assetData=t.getAssetData(e.refId),this.initElement(e,t,r)}function HybridRendererBase(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:t&&t.className||"",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(t&&!1===t.hideOnTransparent),filterSize:{width:t&&t.filterSize&&t.filterSize.width||"400%",height:t&&t.filterSize&&t.filterSize.height||"400%",x:t&&t.filterSize&&t.filterSize.x||"-100%",y:t&&t.filterSize&&t.filterSize.y||"-100%"}},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}function HCompElement(e,t,r){this.layers=e.layers,this.supports3d=!e.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(e,t,r),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}function HybridRenderer(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:t&&t.className||"",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(t&&!1===t.hideOnTransparent),filterSize:{width:t&&t.filterSize&&t.filterSize.width||"400%",height:t&&t.filterSize&&t.filterSize.height||"400%",x:t&&t.filterSize&&t.filterSize.x||"-100%",y:t&&t.filterSize&&t.filterSize.y||"-100%"},runExpressions:!t||void 0===t.runExpressions||t.runExpressions},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){if(this.data.tt>=1){this.buffers=[];var e=this.globalData.canvasContext,t=assetLoader.createCanvas(e.canvas.width,e.canvas.height);this.buffers.push(t);var r=assetLoader.createCanvas(e.canvas.width,e.canvas.height);this.buffers.push(r),this.data.tt>=3&&!document._isProxy&&assetLoader.loadLumaCanvas()}this.canvasContext=this.globalData.canvasContext,this.transformCanvas=this.globalData.transformCanvas,this.renderableEffectsManager=new CVEffects(this),this.searchEffectTransforms()},createContent:function(){},setBlendMode:function(){var e=this.globalData;if(e.blendMode!==this.data.bm){e.blendMode=this.data.bm;var t=getBlendMode(this.data.bm);e.canvasContext.globalCompositeOperation=t}},createRenderableComponents:function(){this.maskManager=new CVMaskElement(this.data,this),this.transformEffects=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT)},hideElement:function(){this.hidden||this.isInRange&&!this.isTransparent||(this.hidden=!0)},showElement:function(){this.isInRange&&!this.isTransparent&&(this.hidden=!1,this._isFirstFrame=!0,this.maskManager._isFirstFrame=!0)},clearCanvas:function(e){e.clearRect(this.transformCanvas.tx,this.transformCanvas.ty,this.transformCanvas.w*this.transformCanvas.sx,this.transformCanvas.h*this.transformCanvas.sy)},prepareLayer:function(){if(this.data.tt>=1){var e=this.buffers[0].getContext("2d");this.clearCanvas(e),e.drawImage(this.canvasContext.canvas,0,0),this.currentTransform=this.canvasContext.getTransform(),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform)}},exitLayer:function(){if(this.data.tt>=1){var e=this.buffers[1],t=e.getContext("2d");if(this.clearCanvas(t),t.drawImage(this.canvasContext.canvas,0,0),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform),this.comp.getElementById("tp"in this.data?this.data.tp:this.data.ind-1).renderFrame(!0),this.canvasContext.setTransform(1,0,0,1,0,0),this.data.tt>=3&&!document._isProxy){var r=assetLoader.getLumaCanvas(this.canvasContext.canvas);r.getContext("2d").drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(r,0,0)}this.canvasContext.globalCompositeOperation=operationsMap[this.data.tt],this.canvasContext.drawImage(e,0,0),this.canvasContext.globalCompositeOperation="destination-over",this.canvasContext.drawImage(this.buffers[0],0,0),this.canvasContext.setTransform(this.currentTransform),this.canvasContext.globalCompositeOperation="source-over"}},renderFrame:function(e){if(!this.hidden&&!this.data.hd&&(1!==this.data.td||e)){this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.setBlendMode();var t=0===this.data.ty;this.prepareLayer(),this.globalData.renderer.save(t),this.globalData.renderer.ctxTransform(this.finalTransform.localMat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.localOpacity),this.renderInnerContent(),this.globalData.renderer.restore(t),this.exitLayer(),this.maskManager.hasMasks&&this.globalData.renderer.restore(!0),this._isFirstFrame&&(this._isFirstFrame=!1)}},destroy:function(){this.canvasContext=null,this.data=null,this.globalData=null,this.maskManager.destroy()},mHelper:new Matrix},CVBaseElement.prototype.hide=CVBaseElement.prototype.hideElement,CVBaseElement.prototype.show=CVBaseElement.prototype.showElement,CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated,extendPrototype([BaseElement,TransformElement,CVBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableElement],CVShapeElement),CVShapeElement.prototype.initElement=RenderableDOMElement.prototype.initElement,CVShapeElement.prototype.transformHelper={opacity:1,_opMdf:!1},CVShapeElement.prototype.dashResetter=[],CVShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[])},CVShapeElement.prototype.createStyleElement=function(e,t){var r={data:e,type:e.ty,preTransforms:this.transformsManager.addTransformSequence(t),transforms:[],elements:[],closed:!0===e.hd},n={};if("fl"===e.ty||"st"===e.ty?(n.c=PropertyFactory.getProp(this,e.c,1,255,this),n.c.k||(r.co="rgb("+bmFloor(n.c.v[0])+","+bmFloor(n.c.v[1])+","+bmFloor(n.c.v[2])+")")):"gf"!==e.ty&&"gs"!==e.ty||(n.s=PropertyFactory.getProp(this,e.s,1,null,this),n.e=PropertyFactory.getProp(this,e.e,1,null,this),n.h=PropertyFactory.getProp(this,e.h||{k:0},0,.01,this),n.a=PropertyFactory.getProp(this,e.a||{k:0},0,degToRads,this),n.g=new GradientProperty(this,e.g,this)),n.o=PropertyFactory.getProp(this,e.o,0,.01,this),"st"===e.ty||"gs"===e.ty){if(r.lc=lineCapEnum[e.lc||2],r.lj=lineJoinEnum[e.lj||2],1==e.lj&&(r.ml=e.ml),n.w=PropertyFactory.getProp(this,e.w,0,null,this),n.w.k||(r.wi=n.w.v),e.d){var a=new DashProperty(this,e.d,"canvas",this);n.d=a,n.d.k||(r.da=n.d.dashArray,r.do=n.d.dashoffset[0])}}else r.r=2===e.r?"evenodd":"nonzero";return this.stylesList.push(r),n.style=r,n},CVShapeElement.prototype.createGroupElement=function(){return{it:[],prevViewData:[]}},CVShapeElement.prototype.createTransformElement=function(e){return{transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,e.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,e,this)}}},CVShapeElement.prototype.createShapeElement=function(e){var t=new CVShapeData(this,e,this.stylesList,this.transformsManager);return this.shapes.push(t),this.addShapeToModifiers(t),t},CVShapeElement.prototype.reloadShapes=function(){var e;this._isFirstFrame=!0;var t=this.itemsData.length;for(e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(e){var t,r=this.stylesList.length;for(t=0;t<r;t+=1)this.stylesList[t].closed||this.stylesList[t].transforms.push(e)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var e,t=this.stylesList.length;for(e=0;e<t;e+=1)this.stylesList[e].closed||this.stylesList[e].transforms.pop()},CVShapeElement.prototype.closeStyles=function(e){var t,r=e.length;for(t=0;t<r;t+=1)e[t].closed=!0},CVShapeElement.prototype.searchShapes=function(e,t,r,n,a){var o,i,l,s,c,u,d=e.length-1,p=[],m=[],h=[].concat(a);for(o=d;o>=0;o-=1){if((s=this.searchProcessedElement(e[o]))?t[o]=r[s-1]:e[o]._shouldRender=n,"fl"===e[o].ty||"st"===e[o].ty||"gf"===e[o].ty||"gs"===e[o].ty)s?t[o].style.closed=!1:t[o]=this.createStyleElement(e[o],h),p.push(t[o].style);else if("gr"===e[o].ty){if(s)for(l=t[o].it.length,i=0;i<l;i+=1)t[o].prevViewData[i]=t[o].it[i];else t[o]=this.createGroupElement(e[o]);this.searchShapes(e[o].it,t[o].it,t[o].prevViewData,n,h)}else"tr"===e[o].ty?(s||(u=this.createTransformElement(e[o]),t[o]=u),h.push(t[o]),this.addTransformToStyleList(t[o])):"sh"===e[o].ty||"rc"===e[o].ty||"el"===e[o].ty||"sr"===e[o].ty?s||(t[o]=this.createShapeElement(e[o])):"tm"===e[o].ty||"rd"===e[o].ty||"pb"===e[o].ty||"zz"===e[o].ty||"op"===e[o].ty?(s?(c=t[o]).closed=!1:((c=ShapeModifiers.getModifier(e[o].ty)).init(this,e[o]),t[o]=c,this.shapeModifiers.push(c)),m.push(c)):"rp"===e[o].ty&&(s?(c=t[o]).closed=!0:(c=ShapeModifiers.getModifier(e[o].ty),t[o]=c,c.init(this,e,o,t),this.shapeModifiers.push(c),n=!1),m.push(c));this.addProcessedElement(e[o],o+1)}for(this.removeTransformFromStyleList(),this.closeStyles(p),d=m.length,o=0;o<d;o+=1)m[o].closed=!0},CVShapeElement.prototype.renderInnerContent=function(){this.transformHelper.opacity=1,this.transformHelper._opMdf=!1,this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame),this.renderShape(this.transformHelper,this.shapesData,this.itemsData,!0)},CVShapeElement.prototype.renderShapeTransform=function(e,t){(e._opMdf||t.op._mdf||this._isFirstFrame)&&(t.opacity=e.opacity,t.opacity*=t.op.v,t._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var e,t,r,n,a,o,i,l,s,c=this.stylesList.length,u=this.globalData.renderer,d=this.globalData.canvasContext;for(e=0;e<c;e+=1)if(("st"!==(l=(s=this.stylesList[e]).type)&&"gs"!==l||0!==s.wi)&&s.data._shouldRender&&0!==s.coOp&&0!==this.globalData.currentGlobalAlpha){for(u.save(),o=s.elements,"st"===l||"gs"===l?(u.ctxStrokeStyle("st"===l?s.co:s.grd),u.ctxLineWidth(s.wi),u.ctxLineCap(s.lc),u.ctxLineJoin(s.lj),u.ctxMiterLimit(s.ml||0)):u.ctxFillStyle("fl"===l?s.co:s.grd),u.ctxOpacity(s.coOp),"st"!==l&&"gs"!==l&&d.beginPath(),u.ctxTransform(s.preTransforms.finalTransform.props),r=o.length,t=0;t<r;t+=1){for("st"!==l&&"gs"!==l||(d.beginPath(),s.da&&(d.setLineDash(s.da),d.lineDashOffset=s.do)),a=(i=o[t].trNodes).length,n=0;n<a;n+=1)"m"===i[n].t?d.moveTo(i[n].p[0],i[n].p[1]):"c"===i[n].t?d.bezierCurveTo(i[n].pts[0],i[n].pts[1],i[n].pts[2],i[n].pts[3],i[n].pts[4],i[n].pts[5]):d.closePath();"st"!==l&&"gs"!==l||(u.ctxStroke(),s.da&&d.setLineDash(this.dashResetter))}"st"!==l&&"gs"!==l&&this.globalData.renderer.ctxFill(s.r),u.restore()}},CVShapeElement.prototype.renderShape=function(e,t,r,n){var a,o;for(o=e,a=t.length-1;a>=0;a-=1)"tr"===t[a].ty?(o=r[a].transform,this.renderShapeTransform(e,o)):"sh"===t[a].ty||"el"===t[a].ty||"rc"===t[a].ty||"sr"===t[a].ty?this.renderPath(t[a],r[a]):"fl"===t[a].ty?this.renderFill(t[a],r[a],o):"st"===t[a].ty?this.renderStroke(t[a],r[a],o):"gf"===t[a].ty||"gs"===t[a].ty?this.renderGradientFill(t[a],r[a],o):"gr"===t[a].ty?this.renderShape(o,t[a].it,r[a].it):t[a].ty;n&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(e,t){if(this._isFirstFrame||t._mdf||e.transforms._mdf){var r,n,a,o=e.trNodes,i=t.paths,l=i._length;o.length=0;var s=e.transforms.finalTransform;for(a=0;a<l;a+=1){var c=i.shapes[a];if(c&&c.v){for(n=c._length,r=1;r<n;r+=1)1===r&&o.push({t:"m",p:s.applyToPointArray(c.v[0][0],c.v[0][1],0)}),o.push({t:"c",pts:s.applyToTriplePoints(c.o[r-1],c.i[r],c.v[r])});1===n&&o.push({t:"m",p:s.applyToPointArray(c.v[0][0],c.v[0][1],0)}),c.c&&n&&(o.push({t:"c",pts:s.applyToTriplePoints(c.o[r-1],c.i[0],c.v[0])}),o.push({t:"z"}))}}e.trNodes=o}},CVShapeElement.prototype.renderPath=function(e,t){if(!0!==e.hd&&e._shouldRender){var r,n=t.styledShapes.length;for(r=0;r<n;r+=1)this.renderStyledShape(t.styledShapes[r],t.sh)}},CVShapeElement.prototype.renderFill=function(e,t,r){var n=t.style;(t.c._mdf||this._isFirstFrame)&&(n.co="rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||r._opMdf||this._isFirstFrame)&&(n.coOp=t.o.v*r.opacity)},CVShapeElement.prototype.renderGradientFill=function(e,t,r){var n,a=t.style;if(!a.grd||t.g._mdf||t.s._mdf||t.e._mdf||1!==e.t&&(t.h._mdf||t.a._mdf)){var o,i=this.globalData.canvasContext,l=t.s.v,s=t.e.v;if(1===e.t)n=i.createLinearGradient(l[0],l[1],s[0],s[1]);else{var c=Math.sqrt(Math.pow(l[0]-s[0],2)+Math.pow(l[1]-s[1],2)),u=Math.atan2(s[1]-l[1],s[0]-l[0]),d=t.h.v;d>=1?d=.99:d<=-1&&(d=-.99);var p=c*d,m=Math.cos(u+t.a.v)*p+l[0],h=Math.sin(u+t.a.v)*p+l[1];n=i.createRadialGradient(m,h,0,l[0],l[1],c)}var f=e.g.p,v=t.g.c,b=1;for(o=0;o<f;o+=1)t.g._hasOpacity&&t.g._collapsable&&(b=t.g.o[2*o+1]),n.addColorStop(v[4*o]/100,"rgba("+v[4*o+1]+","+v[4*o+2]+","+v[4*o+3]+","+b+")");a.grd=n}a.coOp=t.o.v*r.opacity},CVShapeElement.prototype.renderStroke=function(e,t,r){var n=t.style,a=t.d;a&&(a._mdf||this._isFirstFrame)&&(n.da=a.dashArray,n.do=a.dashoffset[0]),(t.c._mdf||this._isFirstFrame)&&(n.co="rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||r._opMdf||this._isFirstFrame)&&(n.coOp=t.o.v*r.opacity),(t.w._mdf||this._isFirstFrame)&&(n.wi=t.w.v)},CVShapeElement.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.itemsData.length=0},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement,ITextElement],CVTextElement),CVTextElement.prototype.tHelper=createTag("canvas").getContext("2d"),CVTextElement.prototype.buildNewText=function(){var e=this.textProperty.currentData;this.renderedLetters=createSizedArray(e.l?e.l.length:0);var t=!1;e.fc?(t=!0,this.values.fill=this.buildColor(e.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=t;var r=!1;e.sc&&(r=!0,this.values.stroke=this.buildColor(e.sc),this.values.sWidth=e.sw);var n,a,o,i,l,s,c,u,d,p,m,h,f=this.globalData.fontManager.getFontByName(e.f),v=e.l,b=this.mHelper;this.stroke=r,this.values.fValue=e.finalSize+"px "+this.globalData.fontManager.getFontByName(e.f).fFamily,a=e.finalText.length;var g=this.data.singleShape,y=.001*e.tr*e.finalSize,E=0,k=0,w=!0,x=0;for(n=0;n<a;n+=1){i=(o=this.globalData.fontManager.getCharData(e.finalText[n],f.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily))&&o.data||{},b.reset(),g&&v[n].n&&(E=-y,k+=e.yOffset,k+=w?1:0,w=!1),d=(c=i.shapes?i.shapes[0].it:[]).length,b.scale(e.finalSize/100,e.finalSize/100),g&&this.applyTextPropertiesToMatrix(e,b,v[n].line,E,k),m=createSizedArray(d-1);var _=0;for(u=0;u<d;u+=1)if("sh"===c[u].ty){for(s=c[u].ks.k.i.length,p=c[u].ks.k,h=[],l=1;l<s;l+=1)1===l&&h.push(b.applyToX(p.v[0][0],p.v[0][1],0),b.applyToY(p.v[0][0],p.v[0][1],0)),h.push(b.applyToX(p.o[l-1][0],p.o[l-1][1],0),b.applyToY(p.o[l-1][0],p.o[l-1][1],0),b.applyToX(p.i[l][0],p.i[l][1],0),b.applyToY(p.i[l][0],p.i[l][1],0),b.applyToX(p.v[l][0],p.v[l][1],0),b.applyToY(p.v[l][0],p.v[l][1],0));h.push(b.applyToX(p.o[l-1][0],p.o[l-1][1],0),b.applyToY(p.o[l-1][0],p.o[l-1][1],0),b.applyToX(p.i[0][0],p.i[0][1],0),b.applyToY(p.i[0][0],p.i[0][1],0),b.applyToX(p.v[0][0],p.v[0][1],0),b.applyToY(p.v[0][0],p.v[0][1],0)),m[_]=h,_+=1}g&&(E+=v[n].l,E+=y),this.textSpans[x]?this.textSpans[x].elem=m:this.textSpans[x]={elem:m},x+=1}},CVTextElement.prototype.renderInnerContent=function(){var e,t,r,n,a,o;this.validateText(),this.canvasContext.font=this.values.fValue,this.globalData.renderer.ctxLineCap("butt"),this.globalData.renderer.ctxLineJoin("miter"),this.globalData.renderer.ctxMiterLimit(4),this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var i,l=this.textAnimator.renderedLetters,s=this.textProperty.currentData.l;t=s.length;var c,u,d=null,p=null,m=null,h=this.globalData.renderer;for(e=0;e<t;e+=1)if(!s[e].n){if((i=l[e])&&(h.save(),h.ctxTransform(i.p),h.ctxOpacity(i.o)),this.fill){for(i&&i.fc?d!==i.fc&&(h.ctxFillStyle(i.fc),d=i.fc):d!==this.values.fill&&(d=this.values.fill,h.ctxFillStyle(this.values.fill)),n=(c=this.textSpans[e].elem).length,this.globalData.canvasContext.beginPath(),r=0;r<n;r+=1)for(o=(u=c[r]).length,this.globalData.canvasContext.moveTo(u[0],u[1]),a=2;a<o;a+=6)this.globalData.canvasContext.bezierCurveTo(u[a],u[a+1],u[a+2],u[a+3],u[a+4],u[a+5]);this.globalData.canvasContext.closePath(),h.ctxFill()}if(this.stroke){for(i&&i.sw?m!==i.sw&&(m=i.sw,h.ctxLineWidth(i.sw)):m!==this.values.sWidth&&(m=this.values.sWidth,h.ctxLineWidth(this.values.sWidth)),i&&i.sc?p!==i.sc&&(p=i.sc,h.ctxStrokeStyle(i.sc)):p!==this.values.stroke&&(p=this.values.stroke,h.ctxStrokeStyle(this.values.stroke)),n=(c=this.textSpans[e].elem).length,this.globalData.canvasContext.beginPath(),r=0;r<n;r+=1)for(o=(u=c[r]).length,this.globalData.canvasContext.moveTo(u[0],u[1]),a=2;a<o;a+=6)this.globalData.canvasContext.bezierCurveTo(u[a],u[a+1],u[a+2],u[a+3],u[a+4],u[a+5]);this.globalData.canvasContext.closePath(),h.ctxStroke()}i&&this.globalData.renderer.restore()}},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVImageElement),CVImageElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVImageElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVImageElement.prototype.createContent=function(){if(this.img.width&&(this.assetData.w!==this.img.width||this.assetData.h!==this.img.height)){var e=createTag("canvas");e.width=this.assetData.w,e.height=this.assetData.h;var t,r,n=e.getContext("2d"),a=this.img.width,o=this.img.height,i=a/o,l=this.assetData.w/this.assetData.h,s=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;i>l&&"xMidYMid slice"===s||i<l&&"xMidYMid slice"!==s?t=(r=o)*l:r=(t=a)/l,n.drawImage(this.img,(a-t)/2,(o-r)/2,t,r,0,0,this.assetData.w,this.assetData.h),this.img=e}},CVImageElement.prototype.renderInnerContent=function(){this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVSolidElement),CVSolidElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVSolidElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVSolidElement.prototype.renderInnerContent=function(){this.globalData.renderer.ctxFillStyle(this.data.sc),this.globalData.renderer.ctxFillRect(0,0,this.data.sw,this.data.sh)},extendPrototype([BaseRenderer],CanvasRendererBase),CanvasRendererBase.prototype.createShape=function(e){return new CVShapeElement(e,this.globalData,this)},CanvasRendererBase.prototype.createText=function(e){return new CVTextElement(e,this.globalData,this)},CanvasRendererBase.prototype.createImage=function(e){return new CVImageElement(e,this.globalData,this)},CanvasRendererBase.prototype.createSolid=function(e){return new CVSolidElement(e,this.globalData,this)},CanvasRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRendererBase.prototype.ctxTransform=function(e){1===e[0]&&0===e[1]&&0===e[4]&&1===e[5]&&0===e[12]&&0===e[13]||this.canvasContext.transform(e[0],e[1],e[4],e[5],e[12],e[13])},CanvasRendererBase.prototype.ctxOpacity=function(e){this.canvasContext.globalAlpha*=e<0?0:e},CanvasRendererBase.prototype.ctxFillStyle=function(e){this.canvasContext.fillStyle=e},CanvasRendererBase.prototype.ctxStrokeStyle=function(e){this.canvasContext.strokeStyle=e},CanvasRendererBase.prototype.ctxLineWidth=function(e){this.canvasContext.lineWidth=e},CanvasRendererBase.prototype.ctxLineCap=function(e){this.canvasContext.lineCap=e},CanvasRendererBase.prototype.ctxLineJoin=function(e){this.canvasContext.lineJoin=e},CanvasRendererBase.prototype.ctxMiterLimit=function(e){this.canvasContext.miterLimit=e},CanvasRendererBase.prototype.ctxFill=function(e){this.canvasContext.fill(e)},CanvasRendererBase.prototype.ctxFillRect=function(e,t,r,n){this.canvasContext.fillRect(e,t,r,n)},CanvasRendererBase.prototype.ctxStroke=function(){this.canvasContext.stroke()},CanvasRendererBase.prototype.reset=function(){this.renderConfig.clearCanvas?this.contextData.reset():this.canvasContext.restore()},CanvasRendererBase.prototype.save=function(){this.canvasContext.save()},CanvasRendererBase.prototype.restore=function(e){this.renderConfig.clearCanvas?(e&&(this.globalData.blendMode="source-over"),this.contextData.restore(e)):this.canvasContext.restore()},CanvasRendererBase.prototype.configAnimation=function(e){if(this.animationItem.wrapper){this.animationItem.container=createTag("canvas");var t=this.animationItem.container.style;t.width="100%",t.height="100%";var r="0px 0px 0px";t.transformOrigin=r,t.mozTransformOrigin=r,t.webkitTransformOrigin=r,t["-webkit-transform"]=r,t.contentVisibility=this.renderConfig.contentVisibility,this.animationItem.wrapper.appendChild(this.animationItem.container),this.canvasContext=this.animationItem.container.getContext("2d"),this.renderConfig.className&&this.animationItem.container.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.animationItem.container.setAttribute("id",this.renderConfig.id)}else this.canvasContext=this.renderConfig.context;this.contextData.setContext(this.canvasContext),this.data=e,this.layers=e.layers,this.transformCanvas={w:e.w,h:e.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(e,document.body),this.globalData.canvasContext=this.canvasContext,this.globalData.renderer=this,this.globalData.isDashed=!1,this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.globalData.transformCanvas=this.transformCanvas,this.elements=createSizedArray(e.layers.length),this.updateContainerSize()},CanvasRendererBase.prototype.updateContainerSize=function(e,t){var r,n,a,o;if(this.reset(),e?(r=e,n=t,this.canvasContext.canvas.width=r,this.canvasContext.canvas.height=n):(this.animationItem.wrapper&&this.animationItem.container?(r=this.animationItem.wrapper.offsetWidth,n=this.animationItem.wrapper.offsetHeight):(r=this.canvasContext.canvas.width,n=this.canvasContext.canvas.height),this.canvasContext.canvas.width=r*this.renderConfig.dpr,this.canvasContext.canvas.height=n*this.renderConfig.dpr),-1!==this.renderConfig.preserveAspectRatio.indexOf("meet")||-1!==this.renderConfig.preserveAspectRatio.indexOf("slice")){var i=this.renderConfig.preserveAspectRatio.split(" "),l=i[1]||"meet",s=i[0]||"xMidYMid",c=s.substr(0,4),u=s.substr(4);a=r/n,(o=this.transformCanvas.w/this.transformCanvas.h)>a&&"meet"===l||o<a&&"slice"===l?(this.transformCanvas.sx=r/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=r/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=n/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=n/(this.transformCanvas.h/this.renderConfig.dpr)),this.transformCanvas.tx="xMid"===c&&(o<a&&"meet"===l||o>a&&"slice"===l)?(r-this.transformCanvas.w*(n/this.transformCanvas.h))/2*this.renderConfig.dpr:"xMax"===c&&(o<a&&"meet"===l||o>a&&"slice"===l)?(r-this.transformCanvas.w*(n/this.transformCanvas.h))*this.renderConfig.dpr:0,this.transformCanvas.ty="YMid"===u&&(o>a&&"meet"===l||o<a&&"slice"===l)?(n-this.transformCanvas.h*(r/this.transformCanvas.w))/2*this.renderConfig.dpr:"YMax"===u&&(o>a&&"meet"===l||o<a&&"slice"===l)?(n-this.transformCanvas.h*(r/this.transformCanvas.w))*this.renderConfig.dpr:0}else"none"===this.renderConfig.preserveAspectRatio?(this.transformCanvas.sx=r/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=n/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.tx=0,this.transformCanvas.ty=0):(this.transformCanvas.sx=this.renderConfig.dpr,this.transformCanvas.sy=this.renderConfig.dpr,this.transformCanvas.tx=0,this.transformCanvas.ty=0);this.transformCanvas.props=[this.transformCanvas.sx,0,0,0,0,this.transformCanvas.sy,0,0,0,0,1,0,this.transformCanvas.tx,this.transformCanvas.ty,0,1],this.ctxTransform(this.transformCanvas.props),this.canvasContext.beginPath(),this.canvasContext.rect(0,0,this.transformCanvas.w,this.transformCanvas.h),this.canvasContext.closePath(),this.canvasContext.clip(),this.renderFrame(this.renderedFrame,!0)},CanvasRendererBase.prototype.destroy=function(){var e;for(this.renderConfig.clearCanvas&&this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),e=(this.layers?this.layers.length:0)-1;e>=0;e-=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(e,t){if((this.renderedFrame!==e||!0!==this.renderConfig.clearCanvas||t)&&!this.destroyed&&-1!==e){var r;this.renderedFrame=e,this.globalData.frameNum=e-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||t,this.globalData.projectInterface.currentFrame=e;var n=this.layers.length;for(this.completeLayers||this.checkLayers(e),r=n-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].prepareFrame(e-this.layers[r].st);if(this.globalData._mdf){for(!0===this.renderConfig.clearCanvas?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),r=n-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].renderFrame();!0!==this.renderConfig.clearCanvas&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(e){var t=this.elements;if(!t[e]&&99!==this.layers[e].ty){var r=this.createItem(this.layers[e],this,this.globalData);t[e]=r,r.initExpressions()}},CanvasRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},CanvasRendererBase.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRendererBase.prototype.show=function(){this.animationItem.container.style.display="block"},CVContextData.prototype.duplicate=function(){var e=2*this._length,t=0;for(t=this._length;t<e;t+=1)this.stack[t]=new CanvasContext;this._length=e},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.stack[this.cArrPos].opacity=1},CVContextData.prototype.restore=function(e){this.cArrPos-=1;var t,r=this.stack[this.cArrPos],n=r.transform,a=this.cTr.props;for(t=0;t<16;t+=1)a[t]=n[t];if(e){this.nativeContext.restore();var o=this.stack[this.cArrPos+1];this.appliedFillStyle=o.fillStyle,this.appliedStrokeStyle=o.strokeStyle,this.appliedLineWidth=o.lineWidth,this.appliedLineCap=o.lineCap,this.appliedLineJoin=o.lineJoin,this.appliedMiterLimit=o.miterLimit}this.nativeContext.setTransform(n[0],n[1],n[4],n[5],n[12],n[13]),(e||-1!==r.opacity&&this.currentOpacity!==r.opacity)&&(this.nativeContext.globalAlpha=r.opacity,this.currentOpacity=r.opacity),this.currentFillStyle=r.fillStyle,this.currentStrokeStyle=r.strokeStyle,this.currentLineWidth=r.lineWidth,this.currentLineCap=r.lineCap,this.currentLineJoin=r.lineJoin,this.currentMiterLimit=r.miterLimit},CVContextData.prototype.save=function(e){e&&this.nativeContext.save();var t=this.cTr.props;this._length<=this.cArrPos&&this.duplicate();var r,n=this.stack[this.cArrPos];for(r=0;r<16;r+=1)n.transform[r]=t[r];this.cArrPos+=1;var a=this.stack[this.cArrPos];a.opacity=n.opacity,a.fillStyle=n.fillStyle,a.strokeStyle=n.strokeStyle,a.lineWidth=n.lineWidth,a.lineCap=n.lineCap,a.lineJoin=n.lineJoin,a.miterLimit=n.miterLimit},CVContextData.prototype.setOpacity=function(e){this.stack[this.cArrPos].opacity=e},CVContextData.prototype.setContext=function(e){this.nativeContext=e},CVContextData.prototype.fillStyle=function(e){this.stack[this.cArrPos].fillStyle!==e&&(this.currentFillStyle=e,this.stack[this.cArrPos].fillStyle=e)},CVContextData.prototype.strokeStyle=function(e){this.stack[this.cArrPos].strokeStyle!==e&&(this.currentStrokeStyle=e,this.stack[this.cArrPos].strokeStyle=e)},CVContextData.prototype.lineWidth=function(e){this.stack[this.cArrPos].lineWidth!==e&&(this.currentLineWidth=e,this.stack[this.cArrPos].lineWidth=e)},CVContextData.prototype.lineCap=function(e){this.stack[this.cArrPos].lineCap!==e&&(this.currentLineCap=e,this.stack[this.cArrPos].lineCap=e)},CVContextData.prototype.lineJoin=function(e){this.stack[this.cArrPos].lineJoin!==e&&(this.currentLineJoin=e,this.stack[this.cArrPos].lineJoin=e)},CVContextData.prototype.miterLimit=function(e){this.stack[this.cArrPos].miterLimit!==e&&(this.currentMiterLimit=e,this.stack[this.cArrPos].miterLimit=e)},CVContextData.prototype.transform=function(e){this.transformMat.cloneFromProps(e);var t=this.cTr;this.transformMat.multiply(t),t.cloneFromProps(this.transformMat.props);var r=t.props;this.nativeContext.setTransform(r[0],r[1],r[4],r[5],r[12],r[13])},CVContextData.prototype.opacity=function(e){var t=this.stack[this.cArrPos].opacity;t*=e<0?0:e,this.stack[this.cArrPos].opacity!==t&&(this.currentOpacity!==e&&(this.nativeContext.globalAlpha=e,this.currentOpacity=e),this.stack[this.cArrPos].opacity=t)},CVContextData.prototype.fill=function(e){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fill(e)},CVContextData.prototype.fillRect=function(e,t,r,n){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fillRect(e,t,r,n)},CVContextData.prototype.stroke=function(){this.appliedStrokeStyle!==this.currentStrokeStyle&&(this.appliedStrokeStyle=this.currentStrokeStyle,this.nativeContext.strokeStyle=this.appliedStrokeStyle),this.appliedLineWidth!==this.currentLineWidth&&(this.appliedLineWidth=this.currentLineWidth,this.nativeContext.lineWidth=this.appliedLineWidth),this.appliedLineCap!==this.currentLineCap&&(this.appliedLineCap=this.currentLineCap,this.nativeContext.lineCap=this.appliedLineCap),this.appliedLineJoin!==this.currentLineJoin&&(this.appliedLineJoin=this.currentLineJoin,this.nativeContext.lineJoin=this.appliedLineJoin),this.appliedMiterLimit!==this.currentMiterLimit&&(this.appliedMiterLimit=this.currentMiterLimit,this.nativeContext.miterLimit=this.appliedMiterLimit),this.nativeContext.stroke()},extendPrototype([CanvasRendererBase,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var e,t=this.canvasContext;for(t.beginPath(),t.moveTo(0,0),t.lineTo(this.data.w,0),t.lineTo(this.data.w,this.data.h),t.lineTo(0,this.data.h),t.lineTo(0,0),t.clip(),e=this.layers.length-1;e>=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},CVCompElement.prototype.destroy=function(){var e;for(e=this.layers.length-1;e>=0;e-=1)this.elements[e]&&this.elements[e].destroy();this.layers=null,this.elements=null},CVCompElement.prototype.createComp=function(e){return new CVCompElement(e,this.globalData,this)},extendPrototype([CanvasRendererBase],CanvasRenderer),CanvasRenderer.prototype.createComp=function(e){return new CVCompElement(e,this.globalData,this)},HBaseElement.prototype={checkBlendMode:function(){},initRendererElement:function(){this.baseElement=createTag(this.data.tg||"div"),this.data.hasMask?(this.svgElement=createNS("svg"),this.layerElement=createNS("g"),this.maskedElement=this.layerElement,this.svgElement.appendChild(this.layerElement),this.baseElement.appendChild(this.svgElement)):this.layerElement=this.baseElement,styleDiv(this.baseElement)},createContainerElements:function(){this.renderableEffectsManager=new CVEffects(this),this.transformedElement=this.baseElement,this.maskedElement=this.layerElement,this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0!==this.data.bm&&this.setBlendMode()},renderElement:function(){var e=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var t=this.finalTransform.mat.toCSS();e.transform=t,e.webkitTransform=t}this.finalTransform._opMdf&&(e.opacity=this.finalTransform.mProp.o.v)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},destroy:function(){this.layerElement=null,this.transformedElement=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null)},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}},HBaseElement.prototype.getBaseElement=SVGBaseElement.prototype.getBaseElement,HBaseElement.prototype.destroyBaseElement=HBaseElement.prototype.destroy,HBaseElement.prototype.buildElementParenting=BaseRenderer.prototype.buildElementParenting,extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var e;this.data.hasMask?((e=createNS("rect")).setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):((e=createTag("div")).style.width=this.data.sw+"px",e.style.height=this.data.sh+"px",e.style.backgroundColor=this.data.sc),this.layerElement.appendChild(e)},extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var e;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),e=this.svgElement;else{e=createNS("svg");var t=this.comp.data?this.comp.data:this.globalData.compSize;e.setAttribute("width",t.w),e.setAttribute("height",t.h),e.appendChild(this.shapesContainer),this.layerElement.appendChild(e)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=e},HShapeElement.prototype.getTransformedPoint=function(e,t){var r,n=e.length;for(r=0;r<n;r+=1)t=e[r].mProps.v.applyToPointArray(t[0],t[1],0);return t},HShapeElement.prototype.calculateShapeBoundingBox=function(e,t){var r,n,a,o,i,l=e.sh.v,s=e.transformers,c=l._length;if(!(c<=1)){for(r=0;r<c-1;r+=1)n=this.getTransformedPoint(s,l.v[r]),a=this.getTransformedPoint(s,l.o[r]),o=this.getTransformedPoint(s,l.i[r+1]),i=this.getTransformedPoint(s,l.v[r+1]),this.checkBounds(n,a,o,i,t);l.c&&(n=this.getTransformedPoint(s,l.v[r]),a=this.getTransformedPoint(s,l.o[r]),o=this.getTransformedPoint(s,l.i[0]),i=this.getTransformedPoint(s,l.v[0]),this.checkBounds(n,a,o,i,t))}},HShapeElement.prototype.checkBounds=function(e,t,r,n,a){this.getBoundsOfCurve(e,t,r,n);var o=this.shapeBoundingBox;a.x=bmMin(o.left,a.x),a.xMax=bmMax(o.right,a.xMax),a.y=bmMin(o.top,a.y),a.yMax=bmMax(o.bottom,a.yMax)},HShapeElement.prototype.shapeBoundingBox={left:0,right:0,top:0,bottom:0},HShapeElement.prototype.tempBoundingBox={x:0,xMax:0,y:0,yMax:0,width:0,height:0},HShapeElement.prototype.getBoundsOfCurve=function(e,t,r,n){for(var a,o,i,l,s,c,u,d=[[e[0],n[0]],[e[1],n[1]]],p=0;p<2;++p)o=6*e[p]-12*t[p]+6*r[p],a=-3*e[p]+9*t[p]-9*r[p]+3*n[p],i=3*t[p]-3*e[p],o|=0,i|=0,0==(a|=0)&&0===o||(0===a?(l=-i/o)>0&&l<1&&d[p].push(this.calculateF(l,e,t,r,n,p)):(s=o*o-4*i*a)>=0&&((c=(-o+bmSqrt(s))/(2*a))>0&&c<1&&d[p].push(this.calculateF(c,e,t,r,n,p)),(u=(-o-bmSqrt(s))/(2*a))>0&&u<1&&d[p].push(this.calculateF(u,e,t,r,n,p))));this.shapeBoundingBox.left=bmMin.apply(null,d[0]),this.shapeBoundingBox.top=bmMin.apply(null,d[1]),this.shapeBoundingBox.right=bmMax.apply(null,d[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,d[1])},HShapeElement.prototype.calculateF=function(e,t,r,n,a,o){return bmPow(1-e,3)*t[o]+3*bmPow(1-e,2)*e*r[o]+3*(1-e)*bmPow(e,2)*n[o]+bmPow(e,3)*a[o]},HShapeElement.prototype.calculateBoundingBox=function(e,t){var r,n=e.length;for(r=0;r<n;r+=1)e[r]&&e[r].sh?this.calculateShapeBoundingBox(e[r],t):e[r]&&e[r].it?this.calculateBoundingBox(e[r].it,t):e[r]&&e[r].style&&e[r].w&&this.expandStrokeBoundingBox(e[r].w,t)},HShapeElement.prototype.expandStrokeBoundingBox=function(e,t){var r=0;if(e.keyframes){for(var n=0;n<e.keyframes.length;n+=1){var a=e.keyframes[n].s;a>r&&(r=a)}r*=e.mult}else r=e.v*e.mult;t.x-=r,t.xMax+=r,t.y-=r,t.yMax+=r},HShapeElement.prototype.currentBoxContains=function(e){return this.currentBBox.x<=e.x&&this.currentBBox.y<=e.y&&this.currentBBox.width+this.currentBBox.x>=e.x+e.width&&this.currentBBox.height+this.currentBBox.y>=e.y+e.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var e=this.tempBoundingBox,t=999999;if(e.x=t,e.xMax=-t,e.y=t,e.yMax=-t,this.calculateBoundingBox(this.itemsData,e),e.width=e.xMax<e.x?0:e.xMax-e.x,e.height=e.yMax<e.y?0:e.yMax-e.y,this.currentBoxContains(e))return;var r=!1;if(this.currentBBox.w!==e.width&&(this.currentBBox.w=e.width,this.shapeCont.setAttribute("width",e.width),r=!0),this.currentBBox.h!==e.height&&(this.currentBBox.h=e.height,this.shapeCont.setAttribute("height",e.height),r=!0),r||this.currentBBox.x!==e.x||this.currentBBox.y!==e.y){this.currentBBox.w=e.width,this.currentBBox.h=e.height,this.currentBBox.x=e.x,this.currentBBox.y=e.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h);var n=this.shapeCont.style,a="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";n.transform=a,n.webkitTransform=a}}},extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],HTextElement),HTextElement.prototype.createContent=function(){if(this.isMasked=this.checkMasks(),this.isMasked){this.renderType="svg",this.compW=this.comp.data.w,this.compH=this.comp.data.h,this.svgElement.setAttribute("width",this.compW),this.svgElement.setAttribute("height",this.compH);var e=createNS("g");this.maskedElement.appendChild(e),this.innerElem=e}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var e=this.textProperty.currentData;this.renderedLetters=createSizedArray(e.l?e.l.length:0);var t=this.innerElem.style,r=e.fc?this.buildColor(e.fc):"rgba(0,0,0,0)";t.fill=r,t.color=r,e.sc&&(t.stroke=this.buildColor(e.sc),t.strokeWidth=e.sw+"px");var n,a,o=this.globalData.fontManager.getFontByName(e.f);if(!this.globalData.fontManager.chars)if(t.fontSize=e.finalSize+"px",t.lineHeight=e.finalSize+"px",o.fClass)this.innerElem.className=o.fClass;else{t.fontFamily=o.fFamily;var i=e.fWeight,l=e.fStyle;t.fontStyle=l,t.fontWeight=i}var s,c,u,d=e.l;a=d.length;var p,m=this.mHelper,h="",f=0;for(n=0;n<a;n+=1){if(this.globalData.fontManager.chars?(this.textPaths[f]?s=this.textPaths[f]:((s=createNS("path")).setAttribute("stroke-linecap",lineCapEnum[1]),s.setAttribute("stroke-linejoin",lineJoinEnum[2]),s.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[f]?u=(c=this.textSpans[f]).children[0]:((c=createTag("div")).style.lineHeight=0,(u=createNS("svg")).appendChild(s),styleDiv(c)))):this.isMasked?s=this.textPaths[f]?this.textPaths[f]:createNS("text"):this.textSpans[f]?(c=this.textSpans[f],s=this.textPaths[f]):(styleDiv(c=createTag("span")),styleDiv(s=createTag("span")),c.appendChild(s)),this.globalData.fontManager.chars){var v,b=this.globalData.fontManager.getCharData(e.finalText[n],o.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily);if(v=b?b.data:null,m.reset(),v&&v.shapes&&v.shapes.length&&(p=v.shapes[0].it,m.scale(e.finalSize/100,e.finalSize/100),h=this.createPathShape(m,p),s.setAttribute("d",h)),this.isMasked)this.innerElem.appendChild(s);else{if(this.innerElem.appendChild(c),v&&v.shapes){document.body.appendChild(u);var g=u.getBBox();u.setAttribute("width",g.width+2),u.setAttribute("height",g.height+2),u.setAttribute("viewBox",g.x-1+" "+(g.y-1)+" "+(g.width+2)+" "+(g.height+2));var y=u.style,E="translate("+(g.x-1)+"px,"+(g.y-1)+"px)";y.transform=E,y.webkitTransform=E,d[n].yOffset=g.y-1}else u.setAttribute("width",1),u.setAttribute("height",1);c.appendChild(u)}}else if(s.textContent=d[n].val,s.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(s);else{this.innerElem.appendChild(c);var k=s.style,w="translate3d(0,"+-e.finalSize/1.2+"px,0)";k.transform=w,k.webkitTransform=w}this.isMasked?this.textSpans[f]=s:this.textSpans[f]=c,this.textSpans[f].style.display="block",this.textPaths[f]=s,f+=1}for(;f<this.textSpans.length;)this.textSpans[f].style.display="none",f+=1},HTextElement.prototype.renderInnerContent=function(){var e;if(this.validateText(),this.data.singleShape){if(!this._isFirstFrame&&!this.lettersChangedFlag)return;if(this.isMasked&&this.finalTransform._matMdf){this.svgElement.setAttribute("viewBox",-this.finalTransform.mProp.p.v[0]+" "+-this.finalTransform.mProp.p.v[1]+" "+this.compW+" "+this.compH),e=this.svgElement.style;var t="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)";e.transform=t,e.webkitTransform=t}}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag){var r,n,a,o,i,l=0,s=this.textAnimator.renderedLetters,c=this.textProperty.currentData.l;for(n=c.length,r=0;r<n;r+=1)c[r].n?l+=1:(o=this.textSpans[r],i=this.textPaths[r],a=s[l],l+=1,a._mdf.m&&(this.isMasked?o.setAttribute("transform",a.m):(o.style.webkitTransform=a.m,o.style.transform=a.m)),o.style.opacity=a.o,a.sw&&a._mdf.sw&&i.setAttribute("stroke-width",a.sw),a.sc&&a._mdf.sc&&i.setAttribute("stroke",a.sc),a.fc&&a._mdf.fc&&(i.setAttribute("fill",a.fc),i.style.color=a.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var u=this.innerElem.getBBox();if(this.currentBBox.w!==u.width&&(this.currentBBox.w=u.width,this.svgElement.setAttribute("width",u.width)),this.currentBBox.h!==u.height&&(this.currentBBox.h=u.height,this.svgElement.setAttribute("height",u.height)),this.currentBBox.w!==u.width+2||this.currentBBox.h!==u.height+2||this.currentBBox.x!==u.x-1||this.currentBBox.y!==u.y-1){this.currentBBox.w=u.width+2,this.currentBBox.h=u.height+2,this.currentBBox.x=u.x-1,this.currentBBox.y=u.y-1,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),e=this.svgElement.style;var d="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";e.transform=d,e.webkitTransform=d}}}},extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var e,t,r,n,a=this.comp.threeDElements.length;for(e=0;e<a;e+=1)if("3d"===(t=this.comp.threeDElements[e]).type){r=t.perspectiveElem.style,n=t.container.style;var o=this.pe.v+"px",i="0px 0px 0px",l="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";r.perspective=o,r.webkitPerspective=o,n.transformOrigin=i,n.mozTransformOrigin=i,n.webkitTransformOrigin=i,r.transform=l,r.webkitTransform=l}},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var e,t,r=this._isFirstFrame;if(this.hierarchy)for(t=this.hierarchy.length,e=0;e<t;e+=1)r=this.hierarchy[e].finalTransform.mProp._mdf||r;if(r||this.pe._mdf||this.p&&this.p._mdf||this.px&&(this.px._mdf||this.py._mdf||this.pz._mdf)||this.rx._mdf||this.ry._mdf||this.rz._mdf||this.or._mdf||this.a&&this.a._mdf){if(this.mat.reset(),this.hierarchy)for(e=t=this.hierarchy.length-1;e>=0;e-=1){var n=this.hierarchy[e].finalTransform.mProp;this.mat.translate(-n.p.v[0],-n.p.v[1],n.p.v[2]),this.mat.rotateX(-n.or.v[0]).rotateY(-n.or.v[1]).rotateZ(n.or.v[2]),this.mat.rotateX(-n.rx.v).rotateY(-n.ry.v).rotateZ(n.rz.v),this.mat.scale(1/n.s.v[0],1/n.s.v[1],1/n.s.v[2]),this.mat.translate(n.a.v[0],n.a.v[1],n.a.v[2])}if(this.p?this.mat.translate(-this.p.v[0],-this.p.v[1],this.p.v[2]):this.mat.translate(-this.px.v,-this.py.v,this.pz.v),this.a){var a;a=this.p?[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var o=Math.sqrt(Math.pow(a[0],2)+Math.pow(a[1],2)+Math.pow(a[2],2)),i=[a[0]/o,a[1]/o,a[2]/o],l=Math.sqrt(i[2]*i[2]+i[0]*i[0]),s=Math.atan2(i[1],l),c=Math.atan2(i[0],-i[2]);this.mat.rotateY(c).rotateX(-s)}this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),this.mat.rotateX(-this.or.v[0]).rotateY(-this.or.v[1]).rotateZ(this.or.v[2]),this.mat.translate(this.globalData.compSize.w/2,this.globalData.compSize.h/2,0),this.mat.translate(0,0,this.pe.v);var u=!this._prevMat.equals(this.mat);if((u||this.pe._mdf)&&this.comp.threeDElements){var d,p,m;for(t=this.comp.threeDElements.length,e=0;e<t;e+=1)if("3d"===(d=this.comp.threeDElements[e]).type){if(u){var h=this.mat.toCSS();(m=d.container.style).transform=h,m.webkitTransform=h}this.pe._mdf&&((p=d.perspectiveElem.style).perspective=this.pe.v+"px",p.webkitPerspective=this.pe.v+"px")}this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},HCameraElement.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},HCameraElement.prototype.destroy=function(){},HCameraElement.prototype.getBaseElement=function(){return null},extendPrototype([BaseElement,TransformElement,HBaseElement,HSolidElement,HierarchyElement,FrameElement,RenderableElement],HImageElement),HImageElement.prototype.createContent=function(){var e=this.globalData.getAssetsPath(this.assetData),t=new Image;this.data.hasMask?(this.imageElem=createNS("image"),this.imageElem.setAttribute("width",this.assetData.w+"px"),this.imageElem.setAttribute("height",this.assetData.h+"px"),this.imageElem.setAttributeNS("http://www.w3.org/1999/xlink","href",e),this.layerElement.appendChild(this.imageElem),this.baseElement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(t),t.crossOrigin="anonymous",t.src=e,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln)},extendPrototype([BaseRenderer],HybridRendererBase),HybridRendererBase.prototype.buildItem=SVGRenderer.prototype.buildItem,HybridRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},HybridRendererBase.prototype.appendElementInPos=function(e,t){var r=e.getBaseElement();if(r){var n=this.layers[t];if(n.ddd&&this.supports3d)this.addTo3dContainer(r,t);else if(this.threeDElements)this.addTo3dContainer(r,t);else{for(var a,o,i=0;i<t;)this.elements[i]&&!0!==this.elements[i]&&this.elements[i].getBaseElement&&(o=this.elements[i],a=(this.layers[i].ddd?this.getThreeDContainerByPos(i):o.getBaseElement())||a),i+=1;a?n.ddd&&this.supports3d||this.layerElement.insertBefore(r,a):n.ddd&&this.supports3d||this.layerElement.appendChild(r)}}},HybridRendererBase.prototype.createShape=function(e){return this.supports3d?new HShapeElement(e,this.globalData,this):new SVGShapeElement(e,this.globalData,this)},HybridRendererBase.prototype.createText=function(e){return this.supports3d?new HTextElement(e,this.globalData,this):new SVGTextLottieElement(e,this.globalData,this)},HybridRendererBase.prototype.createCamera=function(e){return this.camera=new HCameraElement(e,this.globalData,this),this.camera},HybridRendererBase.prototype.createImage=function(e){return this.supports3d?new HImageElement(e,this.globalData,this):new IImageElement(e,this.globalData,this)},HybridRendererBase.prototype.createSolid=function(e){return this.supports3d?new HSolidElement(e,this.globalData,this):new ISolidElement(e,this.globalData,this)},HybridRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,HybridRendererBase.prototype.getThreeDContainerByPos=function(e){for(var t=0,r=this.threeDElements.length;t<r;){if(this.threeDElements[t].startPos<=e&&this.threeDElements[t].endPos>=e)return this.threeDElements[t].perspectiveElem;t+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(e,t){var r,n,a=createTag("div");styleDiv(a);var o=createTag("div");if(styleDiv(o),"3d"===t){(r=a.style).width=this.globalData.compSize.w+"px",r.height=this.globalData.compSize.h+"px";var i="50% 50%";r.webkitTransformOrigin=i,r.mozTransformOrigin=i,r.transformOrigin=i;var l="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";(n=o.style).transform=l,n.webkitTransform=l}a.appendChild(o);var s={container:o,perspectiveElem:a,startPos:e,endPos:e,type:t};return this.threeDElements.push(s),s},HybridRendererBase.prototype.build3dContainers=function(){var e,t,r=this.layers.length,n="";for(e=0;e<r;e+=1)this.layers[e].ddd&&3!==this.layers[e].ty?("3d"!==n&&(n="3d",t=this.createThreeDContainer(e,"3d")),t.endPos=Math.max(t.endPos,e)):("2d"!==n&&(n="2d",t=this.createThreeDContainer(e,"2d")),t.endPos=Math.max(t.endPos,e));for(e=(r=this.threeDElements.length)-1;e>=0;e-=1)this.resizerElem.appendChild(this.threeDElements[e].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(e,t){for(var r=0,n=this.threeDElements.length;r<n;){if(t<=this.threeDElements[r].endPos){for(var a,o=this.threeDElements[r].startPos;o<t;)this.elements[o]&&this.elements[o].getBaseElement&&(a=this.elements[o].getBaseElement()),o+=1;a?this.threeDElements[r].container.insertBefore(e,a):this.threeDElements[r].container.appendChild(e);break}r+=1}},HybridRendererBase.prototype.configAnimation=function(e){var t=createTag("div"),r=this.animationItem.wrapper,n=t.style;n.width=e.w+"px",n.height=e.h+"px",this.resizerElem=t,styleDiv(t),n.transformStyle="flat",n.mozTransformStyle="flat",n.webkitTransformStyle="flat",this.renderConfig.className&&t.setAttribute("class",this.renderConfig.className),r.appendChild(t),n.overflow="hidden";var a=createNS("svg");a.setAttribute("width","1"),a.setAttribute("height","1"),styleDiv(a),this.resizerElem.appendChild(a);var o=createNS("defs");a.appendChild(o),this.data=e,this.setupGlobalData(e,a),this.globalData.defs=o,this.layers=e.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRendererBase.prototype.destroy=function(){var e;this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.animationItem.container=null,this.globalData.defs=null;var t=this.layers?this.layers.length:0;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRendererBase.prototype.updateContainerSize=function(){var e,t,r,n,a=this.animationItem.wrapper.offsetWidth,o=this.animationItem.wrapper.offsetHeight,i=a/o;this.globalData.compSize.w/this.globalData.compSize.h>i?(e=a/this.globalData.compSize.w,t=a/this.globalData.compSize.w,r=0,n=(o-this.globalData.compSize.h*(a/this.globalData.compSize.w))/2):(e=o/this.globalData.compSize.h,t=o/this.globalData.compSize.h,r=(a-this.globalData.compSize.w*(o/this.globalData.compSize.h))/2,n=0);var l=this.resizerElem.style;l.webkitTransform="matrix3d("+e+",0,0,0,0,"+t+",0,0,0,0,1,0,"+r+","+n+",0,1)",l.transform=l.webkitTransform},HybridRendererBase.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRendererBase.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRendererBase.prototype.show=function(){this.resizerElem.style.display="block"},HybridRendererBase.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var e,t=this.globalData.compSize.w,r=this.globalData.compSize.h,n=this.threeDElements.length;for(e=0;e<n;e+=1){var a=this.threeDElements[e].perspectiveElem.style;a.webkitPerspective=Math.sqrt(Math.pow(t,2)+Math.pow(r,2))+"px",a.perspective=a.webkitPerspective}}},HybridRendererBase.prototype.searchExtraCompositions=function(e){var t,r=e.length,n=createTag("div");for(t=0;t<r;t+=1)if(e[t].xt){var a=this.createComp(e[t],n,this.globalData.comp,null);a.initExpressions(),this.globalData.projectInterface.registerComposition(a)}},extendPrototype([HybridRendererBase,ICompElement,HBaseElement],HCompElement),HCompElement.prototype._createBaseContainerElements=HCompElement.prototype.createContainerElements,HCompElement.prototype.createContainerElements=function(){this._createBaseContainerElements(),this.data.hasMask?(this.svgElement.setAttribute("width",this.data.w),this.svgElement.setAttribute("height",this.data.h),this.transformedElement=this.baseElement):this.transformedElement=this.layerElement},HCompElement.prototype.addTo3dContainer=function(e,t){for(var r,n=0;n<t;)this.elements[n]&&this.elements[n].getBaseElement&&(r=this.elements[n].getBaseElement()),n+=1;r?this.layerElement.insertBefore(e,r):this.layerElement.appendChild(e)},HCompElement.prototype.createComp=function(e){return this.supports3d?new HCompElement(e,this.globalData,this):new SVGCompElement(e,this.globalData,this)},extendPrototype([HybridRendererBase],HybridRenderer),HybridRenderer.prototype.createComp=function(e){return this.supports3d?new HCompElement(e,this.globalData,this):new SVGCompElement(e,this.globalData,this)};var CompExpressionInterface=function(e){function t(t){for(var r=0,n=e.layers.length;r<n;){if(e.layers[r].nm===t||e.layers[r].ind===t)return e.elements[r].layerInterface;r+=1}return null}return Object.defineProperty(t,"_name",{value:e.data.nm}),t.layer=t,t.pixelAspect=1,t.height=e.data.h||e.globalData.compSize.h,t.width=e.data.w||e.globalData.compSize.w,t.pixelAspect=1,t.frameDuration=1/e.globalData.frameRate,t.displayStartTime=0,t.numLayers=e.layers.length,t};function _typeof$2(e){return _typeof$2="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},_typeof$2(e)}function seedRandom(e,t){var r=this,n=256,a=t.pow(n,6),o=t.pow(2,52),i=2*o,l=255;function s(e){var t,r=e.length,a=this,o=0,i=a.i=a.j=0,s=a.S=[];for(r||(e=[r++]);o<n;)s[o]=o++;for(o=0;o<n;o++)s[o]=s[i=l&i+e[o%r]+(t=s[o])],s[i]=t;a.g=function(e){for(var t,r=0,o=a.i,i=a.j,s=a.S;e--;)t=s[o=l&o+1],r=r*n+s[l&(s[o]=s[i=l&i+t])+(s[i]=t)];return a.i=o,a.j=i,r}}function c(e,t){return t.i=e.i,t.j=e.j,t.S=e.S.slice(),t}function u(e,t){var r,n=[],a=_typeof$2(e);if(t&&"object"==a)for(r in e)try{n.push(u(e[r],t-1))}catch(e){}return n.length?n:"string"==a?e:e+"\0"}function d(e,t){for(var r,n=e+"",a=0;a<n.length;)t[l&a]=l&(r^=19*t[l&a])+n.charCodeAt(a++);return p(t)}function p(e){return String.fromCharCode.apply(0,e)}t.seedrandom=function(l,m,h){var f=[],v=d(u((m=!0===m?{entropy:!0}:m||{}).entropy?[l,p(e)]:null===l?function(){try{var t=new Uint8Array(n);return(r.crypto||r.msCrypto).getRandomValues(t),p(t)}catch(t){var a=r.navigator,o=a&&a.plugins;return[+new Date,r,o,r.screen,p(e)]}}():l,3),f),b=new s(f),g=function(){for(var e=b.g(6),t=a,r=0;e<o;)e=(e+r)*n,t*=n,r=b.g(1);for(;e>=i;)e/=2,t/=2,r>>>=1;return(e+r)/t};return g.int32=function(){return 0|b.g(4)},g.quick=function(){return b.g(4)/4294967296},g.double=g,d(p(b.S),e),(m.pass||h||function(e,r,n,a){return a&&(a.S&&c(a,b),e.state=function(){return c(b,{})}),n?(t.random=e,r):e})(g,v,"global"in m?m.global:this==t,m.state)},d(t.random(),e)}function initialize$2(e){seedRandom([],e)}var propTypes={SHAPE:"shape"};function _typeof$1(e){return _typeof$1="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},_typeof$1(e)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null,_lottieGlobal={};function resetFrame(){_lottieGlobal={}}function $bm_isInstanceOfArray(e){return e.constructor===Array||e.constructor===Float32Array}function isNumerable(e,t){return"number"===e||t instanceof Number||"boolean"===e||"string"===e}function $bm_neg(e){var t=_typeof$1(e);if("number"===t||e instanceof Number||"boolean"===t)return-e;if($bm_isInstanceOfArray(e)){var r,n=e.length,a=[];for(r=0;r<n;r+=1)a[r]=-e[r];return a}return e.propType?e.v:-e}initialize$2(BMMath);var easeInBez=BezierFactory.getBezierEasing(.333,0,.833,.833,"easeIn").get,easeOutBez=BezierFactory.getBezierEasing(.167,.167,.667,1,"easeOut").get,easeInOutBez=BezierFactory.getBezierEasing(.33,0,.667,1,"easeInOut").get;function sum(e,t){var r=_typeof$1(e),n=_typeof$1(t);if(isNumerable(r,e)&&isNumerable(n,t)||"string"===r||"string"===n)return e+t;if($bm_isInstanceOfArray(e)&&isNumerable(n,t))return(e=e.slice(0))[0]+=t,e;if(isNumerable(r,e)&&$bm_isInstanceOfArray(t))return(t=t.slice(0))[0]=e+t[0],t;if($bm_isInstanceOfArray(e)&&$bm_isInstanceOfArray(t)){for(var a=0,o=e.length,i=t.length,l=[];a<o||a<i;)("number"==typeof e[a]||e[a]instanceof Number)&&("number"==typeof t[a]||t[a]instanceof Number)?l[a]=e[a]+t[a]:l[a]=void 0===t[a]?e[a]:e[a]||t[a],a+=1;return l}return 0}var add=sum;function sub(e,t){var r=_typeof$1(e),n=_typeof$1(t);if(isNumerable(r,e)&&isNumerable(n,t))return"string"===r&&(e=parseInt(e,10)),"string"===n&&(t=parseInt(t,10)),e-t;if($bm_isInstanceOfArray(e)&&isNumerable(n,t))return(e=e.slice(0))[0]-=t,e;if(isNumerable(r,e)&&$bm_isInstanceOfArray(t))return(t=t.slice(0))[0]=e-t[0],t;if($bm_isInstanceOfArray(e)&&$bm_isInstanceOfArray(t)){for(var a=0,o=e.length,i=t.length,l=[];a<o||a<i;)("number"==typeof e[a]||e[a]instanceof Number)&&("number"==typeof t[a]||t[a]instanceof Number)?l[a]=e[a]-t[a]:l[a]=void 0===t[a]?e[a]:e[a]||t[a],a+=1;return l}return 0}function mul(e,t){var r,n,a,o=_typeof$1(e),i=_typeof$1(t);if(isNumerable(o,e)&&isNumerable(i,t))return e*t;if($bm_isInstanceOfArray(e)&&isNumerable(i,t)){for(a=e.length,r=createTypedArray("float32",a),n=0;n<a;n+=1)r[n]=e[n]*t;return r}if(isNumerable(o,e)&&$bm_isInstanceOfArray(t)){for(a=t.length,r=createTypedArray("float32",a),n=0;n<a;n+=1)r[n]=e*t[n];return r}return 0}function div(e,t){var r,n,a,o=_typeof$1(e),i=_typeof$1(t);if(isNumerable(o,e)&&isNumerable(i,t))return e/t;if($bm_isInstanceOfArray(e)&&isNumerable(i,t)){for(a=e.length,r=createTypedArray("float32",a),n=0;n<a;n+=1)r[n]=e[n]/t;return r}if(isNumerable(o,e)&&$bm_isInstanceOfArray(t)){for(a=t.length,r=createTypedArray("float32",a),n=0;n<a;n+=1)r[n]=e/t[n];return r}return 0}function mod(e,t){return"string"==typeof e&&(e=parseInt(e,10)),"string"==typeof t&&(t=parseInt(t,10)),e%t}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(e,t,r){if(t>r){var n=r;r=t,t=n}return Math.min(Math.max(e,t),r)}function radiansToDegrees(e){return e/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(e){return e*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(e,t){if("number"==typeof e||e instanceof Number)return t=t||0,Math.abs(e-t);var r;t||(t=helperLengthArray);var n=Math.min(e.length,t.length),a=0;for(r=0;r<n;r+=1)a+=Math.pow(t[r]-e[r],2);return Math.sqrt(a)}function normalize(e){return div(e,length(e))}function rgbToHsl(e){var t,r,n=e[0],a=e[1],o=e[2],i=Math.max(n,a,o),l=Math.min(n,a,o),s=(i+l)/2;if(i===l)t=0,r=0;else{var c=i-l;switch(r=s>.5?c/(2-i-l):c/(i+l),i){case n:t=(a-o)/c+(a<o?6:0);break;case a:t=(o-n)/c+2;break;case o:t=(n-a)/c+4}t/=6}return[t,r,s,e[3]]}function hue2rgb(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function hslToRgb(e){var t,r,n,a=e[0],o=e[1],i=e[2];if(0===o)t=i,n=i,r=i;else{var l=i<.5?i*(1+o):i+o-i*o,s=2*i-l;t=hue2rgb(s,l,a+1/3),r=hue2rgb(s,l,a),n=hue2rgb(s,l,a-1/3)}return[t,r,n,e[3]]}function linear(e,t,r,n,a){if(void 0!==n&&void 0!==a||(n=t,a=r,t=0,r=1),r<t){var o=r;r=t,t=o}if(e<=t)return n;if(e>=r)return a;var i,l=r===t?0:(e-t)/(r-t);if(!n.length)return n+(a-n)*l;var s=n.length,c=createTypedArray("float32",s);for(i=0;i<s;i+=1)c[i]=n[i]+(a[i]-n[i])*l;return c}function random(e,t){if(void 0===t&&(void 0===e?(e=0,t=1):(t=e,e=void 0)),t.length){var r,n=t.length;e||(e=createTypedArray("float32",n));var a=createTypedArray("float32",n),o=BMMath.random();for(r=0;r<n;r+=1)a[r]=e[r]+o*(t[r]-e[r]);return a}return void 0===e&&(e=0),e+BMMath.random()*(t-e)}function createPath(e,t,r,n){var a,o=e.length,i=shapePool.newElement();i.setPathData(!!n,o);var l,s,c=[0,0];for(a=0;a<o;a+=1)l=t&&t[a]?t[a]:c,s=r&&r[a]?r[a]:c,i.setTripleAt(e[a][0],e[a][1],s[0]+e[a][0],s[1]+e[a][1],l[0]+e[a][0],l[1]+e[a][1],a,!0);return i}function initiateExpression(elem,data,property){function noOp(e){return e}if(!elem.globalData.renderConfig.runExpressions)return noOp;var val=data.x,needsVelocity=/velocity(?![\w\d])/.test(val),_needsRandom=-1!==val.indexOf("random"),elemType=elem.data.ty,transform,$bm_transform,content,effect,thisProperty=property;thisProperty.valueAtTime=thisProperty.getValueAtTime,Object.defineProperty(thisProperty,"value",{get:function(){return thisProperty.v}}),elem.comp.frameDuration=1/elem.comp.globalData.frameRate,elem.comp.displayStartTime=0;var inPoint=elem.data.ip/elem.comp.globalData.frameRate,outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw?elem.data.sw:0,height=elem.data.sh?elem.data.sh:0,name=elem.data.nm,loopIn,loop_in,loopOut,loop_out,smooth,toWorld,fromWorld,fromComp,toComp,fromCompToSurface,position,rotation,anchorPoint,scale,thisLayer,thisComp,mask,valueAtTime,velocityAtTime,scoped_bm_rt,expression_function=eval("[function _expression_function(){"+val+";scoped_bm_rt=$bm_rt}]")[0],numKeys=property.kf?data.k.length:0,active=!this.data||!0!==this.data.hd,wiggle=function(e,t){var r,n,a=this.pv.length?this.pv.length:1,o=createTypedArray("float32",a),i=Math.floor(5*time);for(r=0,n=0;r<i;){for(n=0;n<a;n+=1)o[n]+=-t+2*t*BMMath.random();r+=1}var l=5*time,s=l-Math.floor(l),c=createTypedArray("float32",a);if(a>1){for(n=0;n<a;n+=1)c[n]=this.pv[n]+o[n]+(-t+2*t*BMMath.random())*s;return c}return this.pv+o[0]+(-t+2*t*BMMath.random())*s}.bind(this);function loopInDuration(e,t){return loopIn(e,t,!0)}function loopOutDuration(e,t){return loopOut(e,t,!0)}thisProperty.loopIn&&(loopIn=thisProperty.loopIn.bind(thisProperty),loop_in=loopIn),thisProperty.loopOut&&(loopOut=thisProperty.loopOut.bind(thisProperty),loop_out=loopOut),thisProperty.smooth&&(smooth=thisProperty.smooth.bind(thisProperty)),this.getValueAtTime&&(valueAtTime=this.getValueAtTime.bind(this)),this.getVelocityAtTime&&(velocityAtTime=this.getVelocityAtTime.bind(this));var comp=elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface),time,velocity,value,text,textIndex,textTotal,selectorValue;function lookAt(e,t){var r=[t[0]-e[0],t[1]-e[1],t[2]-e[2]],n=Math.atan2(r[0],Math.sqrt(r[1]*r[1]+r[2]*r[2]))/degToRads;return[-Math.atan2(r[1],r[2])/degToRads,n,0]}function easeOut(e,t,r,n,a){return applyEase(easeOutBez,e,t,r,n,a)}function easeIn(e,t,r,n,a){return applyEase(easeInBez,e,t,r,n,a)}function ease(e,t,r,n,a){return applyEase(easeInOutBez,e,t,r,n,a)}function applyEase(e,t,r,n,a,o){void 0===a?(a=r,o=n):t=(t-r)/(n-r),t>1?t=1:t<0&&(t=0);var i=e(t);if($bm_isInstanceOfArray(a)){var l,s=a.length,c=createTypedArray("float32",s);for(l=0;l<s;l+=1)c[l]=(o[l]-a[l])*i+a[l];return c}return(o-a)*i+a}function nearestKey(e){var t,r,n,a=data.k.length;if(data.k.length&&"number"!=typeof data.k[0])if(r=-1,(e*=elem.comp.globalData.frameRate)<data.k[0].t)r=1,n=data.k[0].t;else{for(t=0;t<a-1;t+=1){if(e===data.k[t].t){r=t+1,n=data.k[t].t;break}if(e>data.k[t].t&&e<data.k[t+1].t){e-data.k[t].t>data.k[t+1].t-e?(r=t+2,n=data.k[t+1].t):(r=t+1,n=data.k[t].t);break}}-1===r&&(r=t+1,n=data.k[t].t)}else r=0,n=0;var o={};return o.index=r,o.time=n/elem.comp.globalData.frameRate,o}function key(e){var t,r,n;if(!data.k.length||"number"==typeof data.k[0])throw new Error("The property has no keyframe at index "+e);e-=1,t={time:data.k[e].t/elem.comp.globalData.frameRate,value:[]};var a=Object.prototype.hasOwnProperty.call(data.k[e],"s")?data.k[e].s:data.k[e-1].e;for(n=a.length,r=0;r<n;r+=1)t[r]=a[r],t.value[r]=a[r];return t}function framesToTime(e,t){return t||(t=elem.comp.globalData.frameRate),e/t}function timeToFrames(e,t){return e||0===e||(e=time),t||(t=elem.comp.globalData.frameRate),e*t}function seedRandom(e){BMMath.seedrandom(randSeed+e)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(e,t){return"string"==typeof value?void 0===t?value.substring(e):value.substring(e,t):""}function substr(e,t){return"string"==typeof value?void 0===t?value.substr(e):value.substr(e,t):""}function posterizeTime(e){time=0===e?0:Math.floor(time*e)/e,value=valueAtTime(time)}var index=elem.data.ind,hasParent=!(!elem.hierarchy||!elem.hierarchy.length),parent,randSeed=Math.floor(1e6*Math.random()),globalData=elem.globalData;function executeExpression(e){return value=e,this.frameExpressionId===elem.globalData.frameId&&"textSelector"!==this.propType?value:("textSelector"===this.propType&&(textIndex=this.textIndex,textTotal=this.textTotal,selectorValue=this.selectorValue),thisLayer||(text=elem.layerInterface.text,thisLayer=elem.layerInterface,thisComp=elem.comp.compInterface,toWorld=thisLayer.toWorld.bind(thisLayer),fromWorld=thisLayer.fromWorld.bind(thisLayer),fromComp=thisLayer.fromComp.bind(thisLayer),toComp=thisLayer.toComp.bind(thisLayer),mask=thisLayer.mask?thisLayer.mask.bind(thisLayer):null,fromCompToSurface=fromComp),transform||(transform=elem.layerInterface("ADBE Transform Group"),$bm_transform=transform,transform&&(anchorPoint=transform.anchorPoint)),4!==elemType||content||(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),(hasParent=!(!elem.hierarchy||!elem.hierarchy.length))&&!parent&&(parent=elem.hierarchy[0].layerInterface),time=this.comp.renderedFrame/this.comp.globalData.frameRate,_needsRandom&&seedRandom(randSeed+time),needsVelocity&&(velocity=velocityAtTime(time)),expression_function(),this.frameExpressionId=elem.globalData.frameId,scoped_bm_rt=scoped_bm_rt.propType===propTypes.SHAPE?scoped_bm_rt.v:scoped_bm_rt)}return executeExpression.__preventDeadCodeRemoval=[$bm_transform,anchorPoint,time,velocity,inPoint,outPoint,width,height,name,loop_in,loop_out,smooth,toComp,fromCompToSurface,toWorld,fromWorld,mask,position,rotation,scale,thisComp,numKeys,active,wiggle,loopInDuration,loopOutDuration,comp,lookAt,easeOut,easeIn,ease,nearestKey,key,text,textIndex,textTotal,selectorValue,framesToTime,timeToFrames,sourceRectAtTime,substring,substr,posterizeTime,index,globalData],executeExpression}return ob.initiateExpression=initiateExpression,ob.__preventDeadCodeRemoval=[window,document,XMLHttpRequest,fetch,frames,$bm_neg,add,$bm_sum,$bm_sub,$bm_mul,$bm_div,$bm_mod,clamp,radians_to_degrees,degreesToRadians,degrees_to_radians,normalize,rgbToHsl,hslToRgb,linear,random,createPath,_lottieGlobal],ob.resetFrame=resetFrame,ob}(),Expressions=function(){var e={initExpressions:function(e){var t=0,r=[];e.renderer.compInterface=CompExpressionInterface(e.renderer),e.renderer.globalData.projectInterface.registerComposition(e.renderer),e.renderer.globalData.pushExpression=function(){t+=1},e.renderer.globalData.popExpression=function(){0==(t-=1)&&function(){var e,t=r.length;for(e=0;e<t;e+=1)r[e].release();r.length=0}()},e.renderer.globalData.registerExpressionProperty=function(e){-1===r.indexOf(e)&&r.push(e)}}};return e.resetFrame=ExpressionManager.resetFrame,e}(),MaskManagerInterface=function(){function e(e,t){this._mask=e,this._data=t}return Object.defineProperty(e.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(e.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),100*this._mask.op.v}}),function(t){var r,n=createSizedArray(t.viewData.length),a=t.viewData.length;for(r=0;r<a;r+=1)n[r]=new e(t.viewData[r],t.masksProperties[r]);return function(e){for(r=0;r<a;){if(t.masksProperties[r].nm===e)return n[r];r+=1}return null}}}(),ExpressionPropertyInterface=function(){var e={pv:0,v:0,mult:1},t={pv:[0,0,0],v:[0,0,0],mult:1};function r(e,t,r){Object.defineProperty(e,"velocity",{get:function(){return t.getVelocityAtTime(t.comp.currentFrame)}}),e.numKeys=t.keyframes?t.keyframes.length:0,e.key=function(n){if(!e.numKeys)return 0;var a;a="s"in t.keyframes[n-1]?t.keyframes[n-1].s:"e"in t.keyframes[n-2]?t.keyframes[n-2].e:t.keyframes[n-2].s;var o="unidimensional"===r?new Number(a):Object.assign({},a);return o.time=t.keyframes[n-1].t/t.elem.comp.globalData.frameRate,o.value="unidimensional"===r?a[0]:a,o},e.valueAtTime=t.getValueAtTime,e.speedAtTime=t.getSpeedAtTime,e.velocityAtTime=t.getVelocityAtTime,e.propertyGroup=t.propertyGroup}function n(){return e}return function(a){return a?"unidimensional"===a.propType?function(t){t&&"pv"in t||(t=e);var n=1/t.mult,a=t.pv*n,o=new Number(a);return o.value=a,r(o,t,"unidimensional"),function(){return t.k&&t.getValue(),a=t.v*n,o.value!==a&&((o=new Number(a)).value=a,r(o,t,"unidimensional")),o}}(a):function(e){e&&"pv"in e||(e=t);var n=1/e.mult,a=e.data&&e.data.l||e.pv.length,o=createTypedArray("float32",a),i=createTypedArray("float32",a);return o.value=i,r(o,e,"multidimensional"),function(){e.k&&e.getValue();for(var t=0;t<a;t+=1)i[t]=e.v[t]*n,o[t]=i[t];return o}}(a):n}}(),TransformExpressionInterface=function(e){function t(e){switch(e){case"scale":case"Scale":case"ADBE Scale":case 6:return t.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return t.rotation;case"ADBE Rotate X":return t.xRotation;case"ADBE Rotate Y":return t.yRotation;case"position":case"Position":case"ADBE Position":case 2:return t.position;case"ADBE Position_0":return t.xPosition;case"ADBE Position_1":return t.yPosition;case"ADBE Position_2":return t.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return t.anchorPoint;case"opacity":case"Opacity":case 11:return t.opacity;default:return null}}var r,n,a,o;return Object.defineProperty(t,"rotation",{get:ExpressionPropertyInterface(e.r||e.rz)}),Object.defineProperty(t,"zRotation",{get:ExpressionPropertyInterface(e.rz||e.r)}),Object.defineProperty(t,"xRotation",{get:ExpressionPropertyInterface(e.rx)}),Object.defineProperty(t,"yRotation",{get:ExpressionPropertyInterface(e.ry)}),Object.defineProperty(t,"scale",{get:ExpressionPropertyInterface(e.s)}),e.p?o=ExpressionPropertyInterface(e.p):(r=ExpressionPropertyInterface(e.px),n=ExpressionPropertyInterface(e.py),e.pz&&(a=ExpressionPropertyInterface(e.pz))),Object.defineProperty(t,"position",{get:function(){return e.p?o():[r(),n(),a?a():0]}}),Object.defineProperty(t,"xPosition",{get:ExpressionPropertyInterface(e.px)}),Object.defineProperty(t,"yPosition",{get:ExpressionPropertyInterface(e.py)}),Object.defineProperty(t,"zPosition",{get:ExpressionPropertyInterface(e.pz)}),Object.defineProperty(t,"anchorPoint",{get:ExpressionPropertyInterface(e.a)}),Object.defineProperty(t,"opacity",{get:ExpressionPropertyInterface(e.o)}),Object.defineProperty(t,"skew",{get:ExpressionPropertyInterface(e.sk)}),Object.defineProperty(t,"skewAxis",{get:ExpressionPropertyInterface(e.sa)}),Object.defineProperty(t,"orientation",{get:ExpressionPropertyInterface(e.or)}),t},LayerExpressionInterface=function(){function e(e){var t=new Matrix;return void 0!==e?this._elem.finalTransform.mProp.getValueAtTime(e).clone(t):this._elem.finalTransform.mProp.applyToMatrix(t),t}function t(e,t){var r=this.getMatrix(t);return r.props[12]=0,r.props[13]=0,r.props[14]=0,this.applyPoint(r,e)}function r(e,t){var r=this.getMatrix(t);return this.applyPoint(r,e)}function n(e,t){var r=this.getMatrix(t);return r.props[12]=0,r.props[13]=0,r.props[14]=0,this.invertPoint(r,e)}function a(e,t){var r=this.getMatrix(t);return this.invertPoint(r,e)}function o(e,t){if(this._elem.hierarchy&&this._elem.hierarchy.length){var r,n=this._elem.hierarchy.length;for(r=0;r<n;r+=1)this._elem.hierarchy[r].finalTransform.mProp.applyToMatrix(e)}return e.applyToPointArray(t[0],t[1],t[2]||0)}function i(e,t){if(this._elem.hierarchy&&this._elem.hierarchy.length){var r,n=this._elem.hierarchy.length;for(r=0;r<n;r+=1)this._elem.hierarchy[r].finalTransform.mProp.applyToMatrix(e)}return e.inversePoint(t)}function l(e){var t=new Matrix;if(t.reset(),this._elem.finalTransform.mProp.applyToMatrix(t),this._elem.hierarchy&&this._elem.hierarchy.length){var r,n=this._elem.hierarchy.length;for(r=0;r<n;r+=1)this._elem.hierarchy[r].finalTransform.mProp.applyToMatrix(t);return t.inversePoint(e)}return t.inversePoint(e)}function s(){return[1,1,1,1]}return function(c){var u;function d(e){switch(e){case"ADBE Root Vectors Group":case"Contents":case 2:return d.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return u;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return d.effect;case"ADBE Text Properties":return d.textInterface;default:return null}}d.getMatrix=e,d.invertPoint=i,d.applyPoint=o,d.toWorld=r,d.toWorldVec=t,d.fromWorld=a,d.fromWorldVec=n,d.toComp=r,d.fromComp=l,d.sampleImage=s,d.sourceRectAtTime=c.sourceRectAtTime.bind(c),d._elem=c;var p=getDescriptor(u=TransformExpressionInterface(c.finalTransform.mProp),"anchorPoint");return Object.defineProperties(d,{hasParent:{get:function(){return c.hierarchy.length}},parent:{get:function(){return c.hierarchy[0].layerInterface}},rotation:getDescriptor(u,"rotation"),scale:getDescriptor(u,"scale"),position:getDescriptor(u,"position"),opacity:getDescriptor(u,"opacity"),anchorPoint:p,anchor_point:p,transform:{get:function(){return u}},active:{get:function(){return c.isInRange}}}),d.startTime=c.data.st,d.index=c.data.ind,d.source=c.data.refId,d.height=0===c.data.ty?c.data.h:100,d.width=0===c.data.ty?c.data.w:100,d.inPoint=c.data.ip/c.comp.globalData.frameRate,d.outPoint=c.data.op/c.comp.globalData.frameRate,d._name=c.data.nm,d.registerMaskInterface=function(e){d.mask=new MaskManagerInterface(e,c)},d.registerEffectsInterface=function(e){d.effect=e},d}}(),propertyGroupFactory=function(e,t){return function(r){return(r=void 0===r?1:r)<=0?e:t(r-1)}},PropertyInterface=function(e,t){var r={_name:e};return function(e){return(e=void 0===e?1:e)<=0?r:t(e-1)}},EffectsExpressionInterface=function(){var e={createEffectsInterface:function(e,r){if(e.effectsManager){var n,a=[],o=e.data.ef,i=e.effectsManager.effectElements.length;for(n=0;n<i;n+=1)a.push(t(o[n],e.effectsManager.effectElements[n],r,e));var l=e.data.ef||[],s=function(e){for(n=0,i=l.length;n<i;){if(e===l[n].nm||e===l[n].mn||e===l[n].ix)return a[n];n+=1}return null};return Object.defineProperty(s,"numProperties",{get:function(){return l.length}}),s}return null}};function t(e,n,a,o){function i(t){for(var r=e.ef,n=0,a=r.length;n<a;){if(t===r[n].nm||t===r[n].mn||t===r[n].ix)return 5===r[n].ty?c[n]:c[n]();n+=1}throw new Error}var l,s=propertyGroupFactory(i,a),c=[],u=e.ef.length;for(l=0;l<u;l+=1)5===e.ef[l].ty?c.push(t(e.ef[l],n.effectElements[l],n.effectElements[l].propertyGroup,o)):c.push(r(n.effectElements[l],e.ef[l].ty,o,s));return"ADBE Color Control"===e.mn&&Object.defineProperty(i,"color",{get:function(){return c[0]()}}),Object.defineProperties(i,{numProperties:{get:function(){return e.np}},_name:{value:e.nm},propertyGroup:{value:s}}),i.enabled=0!==e.en,i.active=i.enabled,i}function r(e,t,r,n){var a=ExpressionPropertyInterface(e.p);return e.p.setGroupProperty&&e.p.setGroupProperty(PropertyInterface("",n)),function(){return 10===t?r.comp.compInterface(e.p.v):a()}}return e}(),ShapePathInterface=function(e,t,r){var n=t.sh;function a(e){return"Shape"===e||"shape"===e||"Path"===e||"path"===e||"ADBE Vector Shape"===e||2===e?a.path:null}var o=propertyGroupFactory(a,r);return n.setGroupProperty(PropertyInterface("Path",o)),Object.defineProperties(a,{path:{get:function(){return n.k&&n.getValue(),n}},shape:{get:function(){return n.k&&n.getValue(),n}},_name:{value:e.nm},ix:{value:e.ix},propertyIndex:{value:e.ix},mn:{value:e.mn},propertyGroup:{value:r}}),a},ShapeExpressionInterface=function(){function e(e,i,p){var m,h=[],f=e?e.length:0;for(m=0;m<f;m+=1)"gr"===e[m].ty?h.push(t(e[m],i[m],p)):"fl"===e[m].ty?h.push(r(e[m],i[m],p)):"st"===e[m].ty?h.push(a(e[m],i[m],p)):"tm"===e[m].ty?h.push(o(e[m],i[m],p)):"tr"===e[m].ty||("el"===e[m].ty?h.push(l(e[m],i[m],p)):"sr"===e[m].ty?h.push(s(e[m],i[m],p)):"sh"===e[m].ty?h.push(ShapePathInterface(e[m],i[m],p)):"rc"===e[m].ty?h.push(c(e[m],i[m],p)):"rd"===e[m].ty?h.push(u(e[m],i[m],p)):"rp"===e[m].ty?h.push(d(e[m],i[m],p)):"gf"===e[m].ty?h.push(n(e[m],i[m],p)):h.push((e[m],i[m],function(){return null})));return h}function t(t,r,n){var a=function(e){switch(e){case"ADBE Vectors Group":case"Contents":case 2:return a.content;default:return a.transform}};a.propertyGroup=propertyGroupFactory(a,n);var o=function(t,r,n){var a,o=function(e){for(var t=0,r=a.length;t<r;){if(a[t]._name===e||a[t].mn===e||a[t].propertyIndex===e||a[t].ix===e||a[t].ind===e)return a[t];t+=1}return"number"==typeof e?a[e-1]:null};o.propertyGroup=propertyGroupFactory(o,n),a=e(t.it,r.it,o.propertyGroup),o.numProperties=a.length;var l=i(t.it[t.it.length-1],r.it[r.it.length-1],o.propertyGroup);return o.transform=l,o.propertyIndex=t.cix,o._name=t.nm,o}(t,r,a.propertyGroup),l=i(t.it[t.it.length-1],r.it[r.it.length-1],a.propertyGroup);return a.content=o,a.transform=l,Object.defineProperty(a,"_name",{get:function(){return t.nm}}),a.numProperties=t.np,a.propertyIndex=t.ix,a.nm=t.nm,a.mn=t.mn,a}function r(e,t,r){function n(e){return"Color"===e||"color"===e?n.color:"Opacity"===e||"opacity"===e?n.opacity:null}return Object.defineProperties(n,{color:{get:ExpressionPropertyInterface(t.c)},opacity:{get:ExpressionPropertyInterface(t.o)},_name:{value:e.nm},mn:{value:e.mn}}),t.c.setGroupProperty(PropertyInterface("Color",r)),t.o.setGroupProperty(PropertyInterface("Opacity",r)),n}function n(e,t,r){function n(e){return"Start Point"===e||"start point"===e?n.startPoint:"End Point"===e||"end point"===e?n.endPoint:"Opacity"===e||"opacity"===e?n.opacity:null}return Object.defineProperties(n,{startPoint:{get:ExpressionPropertyInterface(t.s)},endPoint:{get:ExpressionPropertyInterface(t.e)},opacity:{get:ExpressionPropertyInterface(t.o)},type:{get:function(){return"a"}},_name:{value:e.nm},mn:{value:e.mn}}),t.s.setGroupProperty(PropertyInterface("Start Point",r)),t.e.setGroupProperty(PropertyInterface("End Point",r)),t.o.setGroupProperty(PropertyInterface("Opacity",r)),n}function a(e,t,r){var n,a=propertyGroupFactory(c,r),o=propertyGroupFactory(s,a);function i(r){Object.defineProperty(s,e.d[r].nm,{get:ExpressionPropertyInterface(t.d.dataProps[r].p)})}var l=e.d?e.d.length:0,s={};for(n=0;n<l;n+=1)i(n),t.d.dataProps[n].p.setGroupProperty(o);function c(e){return"Color"===e||"color"===e?c.color:"Opacity"===e||"opacity"===e?c.opacity:"Stroke Width"===e||"stroke width"===e?c.strokeWidth:null}return Object.defineProperties(c,{color:{get:ExpressionPropertyInterface(t.c)},opacity:{get:ExpressionPropertyInterface(t.o)},strokeWidth:{get:ExpressionPropertyInterface(t.w)},dash:{get:function(){return s}},_name:{value:e.nm},mn:{value:e.mn}}),t.c.setGroupProperty(PropertyInterface("Color",a)),t.o.setGroupProperty(PropertyInterface("Opacity",a)),t.w.setGroupProperty(PropertyInterface("Stroke Width",a)),c}function o(e,t,r){function n(t){return t===e.e.ix||"End"===t||"end"===t?n.end:t===e.s.ix?n.start:t===e.o.ix?n.offset:null}var a=propertyGroupFactory(n,r);return n.propertyIndex=e.ix,t.s.setGroupProperty(PropertyInterface("Start",a)),t.e.setGroupProperty(PropertyInterface("End",a)),t.o.setGroupProperty(PropertyInterface("Offset",a)),n.propertyIndex=e.ix,n.propertyGroup=r,Object.defineProperties(n,{start:{get:ExpressionPropertyInterface(t.s)},end:{get:ExpressionPropertyInterface(t.e)},offset:{get:ExpressionPropertyInterface(t.o)},_name:{value:e.nm}}),n.mn=e.mn,n}function i(e,t,r){function n(t){return e.a.ix===t||"Anchor Point"===t?n.anchorPoint:e.o.ix===t||"Opacity"===t?n.opacity:e.p.ix===t||"Position"===t?n.position:e.r.ix===t||"Rotation"===t||"ADBE Vector Rotation"===t?n.rotation:e.s.ix===t||"Scale"===t?n.scale:e.sk&&e.sk.ix===t||"Skew"===t?n.skew:e.sa&&e.sa.ix===t||"Skew Axis"===t?n.skewAxis:null}var a=propertyGroupFactory(n,r);return t.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",a)),t.transform.mProps.p.setGroupProperty(PropertyInterface("Position",a)),t.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",a)),t.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",a)),t.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",a)),t.transform.mProps.sk&&(t.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",a)),t.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",a))),t.transform.op.setGroupProperty(PropertyInterface("Opacity",a)),Object.defineProperties(n,{opacity:{get:ExpressionPropertyInterface(t.transform.mProps.o)},position:{get:ExpressionPropertyInterface(t.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(t.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(t.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(t.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(t.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(t.transform.mProps.sa)},_name:{value:e.nm}}),n.ty="tr",n.mn=e.mn,n.propertyGroup=r,n}function l(e,t,r){function n(t){return e.p.ix===t?n.position:e.s.ix===t?n.size:null}var a=propertyGroupFactory(n,r);n.propertyIndex=e.ix;var o="tm"===t.sh.ty?t.sh.prop:t.sh;return o.s.setGroupProperty(PropertyInterface("Size",a)),o.p.setGroupProperty(PropertyInterface("Position",a)),Object.defineProperties(n,{size:{get:ExpressionPropertyInterface(o.s)},position:{get:ExpressionPropertyInterface(o.p)},_name:{value:e.nm}}),n.mn=e.mn,n}function s(e,t,r){function n(t){return e.p.ix===t?n.position:e.r.ix===t?n.rotation:e.pt.ix===t?n.points:e.or.ix===t||"ADBE Vector Star Outer Radius"===t?n.outerRadius:e.os.ix===t?n.outerRoundness:!e.ir||e.ir.ix!==t&&"ADBE Vector Star Inner Radius"!==t?e.is&&e.is.ix===t?n.innerRoundness:null:n.innerRadius}var a=propertyGroupFactory(n,r),o="tm"===t.sh.ty?t.sh.prop:t.sh;return n.propertyIndex=e.ix,o.or.setGroupProperty(PropertyInterface("Outer Radius",a)),o.os.setGroupProperty(PropertyInterface("Outer Roundness",a)),o.pt.setGroupProperty(PropertyInterface("Points",a)),o.p.setGroupProperty(PropertyInterface("Position",a)),o.r.setGroupProperty(PropertyInterface("Rotation",a)),e.ir&&(o.ir.setGroupProperty(PropertyInterface("Inner Radius",a)),o.is.setGroupProperty(PropertyInterface("Inner Roundness",a))),Object.defineProperties(n,{position:{get:ExpressionPropertyInterface(o.p)},rotation:{get:ExpressionPropertyInterface(o.r)},points:{get:ExpressionPropertyInterface(o.pt)},outerRadius:{get:ExpressionPropertyInterface(o.or)},outerRoundness:{get:ExpressionPropertyInterface(o.os)},innerRadius:{get:ExpressionPropertyInterface(o.ir)},innerRoundness:{get:ExpressionPropertyInterface(o.is)},_name:{value:e.nm}}),n.mn=e.mn,n}function c(e,t,r){function n(t){return e.p.ix===t?n.position:e.r.ix===t?n.roundness:e.s.ix===t||"Size"===t||"ADBE Vector Rect Size"===t?n.size:null}var a=propertyGroupFactory(n,r),o="tm"===t.sh.ty?t.sh.prop:t.sh;return n.propertyIndex=e.ix,o.p.setGroupProperty(PropertyInterface("Position",a)),o.s.setGroupProperty(PropertyInterface("Size",a)),o.r.setGroupProperty(PropertyInterface("Rotation",a)),Object.defineProperties(n,{position:{get:ExpressionPropertyInterface(o.p)},roundness:{get:ExpressionPropertyInterface(o.r)},size:{get:ExpressionPropertyInterface(o.s)},_name:{value:e.nm}}),n.mn=e.mn,n}function u(e,t,r){function n(t){return e.r.ix===t||"Round Corners 1"===t?n.radius:null}var a=propertyGroupFactory(n,r),o=t;return n.propertyIndex=e.ix,o.rd.setGroupProperty(PropertyInterface("Radius",a)),Object.defineProperties(n,{radius:{get:ExpressionPropertyInterface(o.rd)},_name:{value:e.nm}}),n.mn=e.mn,n}function d(e,t,r){function n(t){return e.c.ix===t||"Copies"===t?n.copies:e.o.ix===t||"Offset"===t?n.offset:null}var a=propertyGroupFactory(n,r),o=t;return n.propertyIndex=e.ix,o.c.setGroupProperty(PropertyInterface("Copies",a)),o.o.setGroupProperty(PropertyInterface("Offset",a)),Object.defineProperties(n,{copies:{get:ExpressionPropertyInterface(o.c)},offset:{get:ExpressionPropertyInterface(o.o)},_name:{value:e.nm}}),n.mn=e.mn,n}return function(t,r,n){var a;function o(e){if("number"==typeof e)return 0===(e=void 0===e?1:e)?n:a[e-1];for(var t=0,r=a.length;t<r;){if(a[t]._name===e)return a[t];t+=1}return null}return o.propertyGroup=propertyGroupFactory(o,(function(){return n})),a=e(t,r,o.propertyGroup),o.numProperties=a.length,o._name="Contents",o}}(),TextExpressionInterface=function(e){var t;function r(e){return"ADBE Text Document"===e?r.sourceText:null}return Object.defineProperty(r,"sourceText",{get:function(){e.textProperty.getValue();var r=e.textProperty.currentData.t;return t&&r===t.value||((t=new String(r)).value=r||new String(r),Object.defineProperty(t,"style",{get:function(){return{fillColor:e.textProperty.currentData.fc}}})),t}}),r};function _typeof(e){return _typeof="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},_typeof(e)}var FootageInterface=(dataInterfaceFactory=function(e){function t(e){return"Outline"===e?t.outlineInterface():null}return t._name="Outline",t.outlineInterface=function(e){var t="",r=e.getFootageData();function n(e){if(r[e])return t=e,"object"===_typeof(r=r[e])?n:r;var a=e.indexOf(t);if(-1!==a){var o=parseInt(e.substr(a+t.length),10);return"object"===_typeof(r=r[o])?n:r}return""}return function(){return t="",r=e.getFootageData(),n}}(e),t},function(e){function t(e){return"Data"===e?t.dataInterface:null}return t._name="Data",t.dataInterface=dataInterfaceFactory(e),t}),dataInterfaceFactory,interfaces={layer:LayerExpressionInterface,effects:EffectsExpressionInterface,comp:CompExpressionInterface,shape:ShapeExpressionInterface,text:TextExpressionInterface,footage:FootageInterface};function getInterface(e){return interfaces[e]||null}var expressionHelpers={searchExpressions:function(e,t,r){t.x&&(r.k=!0,r.x=!0,r.initiateExpression=ExpressionManager.initiateExpression,r.effectsSequence.push(r.initiateExpression(e,t,r).bind(r)))},getSpeedAtTime:function(e){var t=this.getValueAtTime(e),r=this.getValueAtTime(e+-.01),n=0;if(t.length){var a;for(a=0;a<t.length;a+=1)n+=Math.pow(r[a]-t[a],2);n=100*Math.sqrt(n)}else n=0;return n},getVelocityAtTime:function(e){if(void 0!==this.vel)return this.vel;var t,r,n=-.001,a=this.getValueAtTime(e),o=this.getValueAtTime(e+n);if(a.length)for(t=createTypedArray("float32",a.length),r=0;r<a.length;r+=1)t[r]=(o[r]-a[r])/n;else t=(o-a)/n;return t},getValueAtTime:function(e){return e*=this.elem.globalData.frameRate,(e-=this.offsetTime)!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<e?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(e,this._cachingAtTime),this._cachingAtTime.lastFrame=e),this._cachingAtTime.value},getStaticValueAtTime:function(){return this.pv},setGroupProperty:function(e){this.propertyGroup=e}};function addPropertyDecorator(){function e(e,t,r){if(!this.k||!this.keyframes)return this.pv;e=e?e.toLowerCase():"";var n,a,o,i,l,s=this.comp.renderedFrame,c=this.keyframes,u=c[c.length-1].t;if(s<=u)return this.pv;if(r?a=u-(n=t?Math.abs(u-this.elem.comp.globalData.frameRate*t):Math.max(0,u-this.elem.data.ip)):((!t||t>c.length-1)&&(t=c.length-1),n=u-(a=c[c.length-1-t].t)),"pingpong"===e){if(Math.floor((s-a)/n)%2!=0)return this.getValueAtTime((n-(s-a)%n+a)/this.comp.globalData.frameRate,0)}else{if("offset"===e){var d=this.getValueAtTime(a/this.comp.globalData.frameRate,0),p=this.getValueAtTime(u/this.comp.globalData.frameRate,0),m=this.getValueAtTime(((s-a)%n+a)/this.comp.globalData.frameRate,0),h=Math.floor((s-a)/n);if(this.pv.length){for(i=(l=new Array(d.length)).length,o=0;o<i;o+=1)l[o]=(p[o]-d[o])*h+m[o];return l}return(p-d)*h+m}if("continue"===e){var f=this.getValueAtTime(u/this.comp.globalData.frameRate,0),v=this.getValueAtTime((u-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(i=(l=new Array(f.length)).length,o=0;o<i;o+=1)l[o]=f[o]+(f[o]-v[o])*((s-u)/this.comp.globalData.frameRate)/5e-4;return l}return f+(s-u)/.001*(f-v)}}return this.getValueAtTime(((s-a)%n+a)/this.comp.globalData.frameRate,0)}function t(e,t,r){if(!this.k)return this.pv;e=e?e.toLowerCase():"";var n,a,o,i,l,s=this.comp.renderedFrame,c=this.keyframes,u=c[0].t;if(s>=u)return this.pv;if(r?a=u+(n=t?Math.abs(this.elem.comp.globalData.frameRate*t):Math.max(0,this.elem.data.op-u)):((!t||t>c.length-1)&&(t=c.length-1),n=(a=c[t].t)-u),"pingpong"===e){if(Math.floor((u-s)/n)%2==0)return this.getValueAtTime(((u-s)%n+u)/this.comp.globalData.frameRate,0)}else{if("offset"===e){var d=this.getValueAtTime(u/this.comp.globalData.frameRate,0),p=this.getValueAtTime(a/this.comp.globalData.frameRate,0),m=this.getValueAtTime((n-(u-s)%n+u)/this.comp.globalData.frameRate,0),h=Math.floor((u-s)/n)+1;if(this.pv.length){for(i=(l=new Array(d.length)).length,o=0;o<i;o+=1)l[o]=m[o]-(p[o]-d[o])*h;return l}return m-(p-d)*h}if("continue"===e){var f=this.getValueAtTime(u/this.comp.globalData.frameRate,0),v=this.getValueAtTime((u+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(i=(l=new Array(f.length)).length,o=0;o<i;o+=1)l[o]=f[o]+(f[o]-v[o])*(u-s)/.001;return l}return f+(f-v)*(u-s)/.001}}return this.getValueAtTime((n-((u-s)%n+u))/this.comp.globalData.frameRate,0)}function r(e,t){if(!this.k)return this.pv;if(e=.5*(e||.4),(t=Math.floor(t||5))<=1)return this.pv;var r,n,a=this.comp.renderedFrame/this.comp.globalData.frameRate,o=a-e,i=t>1?(a+e-o)/(t-1):1,l=0,s=0;for(r=this.pv.length?createTypedArray("float32",this.pv.length):0;l<t;){if(n=this.getValueAtTime(o+l*i),this.pv.length)for(s=0;s<this.pv.length;s+=1)r[s]+=n[s];else r+=n;l+=1}if(this.pv.length)for(s=0;s<this.pv.length;s+=1)r[s]/=t;else r/=t;return r}function n(e){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var t=this._transformCachingAtTime.v;if(t.cloneFromProps(this.pre.props),this.appliedTransformations<1){var r=this.a.getValueAtTime(e);t.translate(-r[0]*this.a.mult,-r[1]*this.a.mult,r[2]*this.a.mult)}if(this.appliedTransformations<2){var n=this.s.getValueAtTime(e);t.scale(n[0]*this.s.mult,n[1]*this.s.mult,n[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var a=this.sk.getValueAtTime(e),o=this.sa.getValueAtTime(e);t.skewFromAxis(-a*this.sk.mult,o*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var i=this.r.getValueAtTime(e);t.rotate(-i*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var l=this.rz.getValueAtTime(e),s=this.ry.getValueAtTime(e),c=this.rx.getValueAtTime(e),u=this.or.getValueAtTime(e);t.rotateZ(-l*this.rz.mult).rotateY(s*this.ry.mult).rotateX(c*this.rx.mult).rotateZ(-u[2]*this.or.mult).rotateY(u[1]*this.or.mult).rotateX(u[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var d=this.px.getValueAtTime(e),p=this.py.getValueAtTime(e);if(this.data.p.z){var m=this.pz.getValueAtTime(e);t.translate(d*this.px.mult,p*this.py.mult,-m*this.pz.mult)}else t.translate(d*this.px.mult,p*this.py.mult,0)}else{var h=this.p.getValueAtTime(e);t.translate(h[0]*this.p.mult,h[1]*this.p.mult,-h[2]*this.p.mult)}return t}function a(){return this.v.clone(new Matrix)}var o=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(e,t,r){var i=o(e,t,r);return i.dynamicProperties.length?i.getValueAtTime=n.bind(i):i.getValueAtTime=a.bind(i),i.setGroupProperty=expressionHelpers.setGroupProperty,i};var i=PropertyFactory.getProp;PropertyFactory.getProp=function(n,a,o,l,s){var c=i(n,a,o,l,s);c.kf?c.getValueAtTime=expressionHelpers.getValueAtTime.bind(c):c.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(c),c.setGroupProperty=expressionHelpers.setGroupProperty,c.loopOut=e,c.loopIn=t,c.smooth=r,c.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(c),c.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(c),c.numKeys=1===a.a?a.k.length:0,c.propertyIndex=a.ix;var u=0;return 0!==o&&(u=createTypedArray("float32",1===a.a?a.k[0].s.length:a.k.length)),c._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:u},expressionHelpers.searchExpressions(n,a,c),c.k&&s.addDynamicProperty(c),c};var l=ShapePropertyFactory.getConstructorFunction(),s=ShapePropertyFactory.getKeyframedConstructorFunction();function c(){}c.prototype={vertices:function(e,t){this.k&&this.getValue();var r,n=this.v;void 0!==t&&(n=this.getValueAtTime(t,0));var a=n._length,o=n[e],i=n.v,l=createSizedArray(a);for(r=0;r<a;r+=1)l[r]="i"===e||"o"===e?[o[r][0]-i[r][0],o[r][1]-i[r][1]]:[o[r][0],o[r][1]];return l},points:function(e){return this.vertices("v",e)},inTangents:function(e){return this.vertices("i",e)},outTangents:function(e){return this.vertices("o",e)},isClosed:function(){return this.v.c},pointOnPath:function(e,t){var r=this.v;void 0!==t&&(r=this.getValueAtTime(t,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(r));for(var n,a=this._segmentsLength,o=a.lengths,i=a.totalLength*e,l=0,s=o.length,c=0;l<s;){if(c+o[l].addedLength>i){var u=l,d=r.c&&l===s-1?0:l+1,p=(i-c)/o[l].addedLength;n=bez.getPointInSegment(r.v[u],r.v[d],r.o[u],r.i[d],p,o[l]);break}c+=o[l].addedLength,l+=1}return n||(n=r.c?[r.v[0][0],r.v[0][1]]:[r.v[r._length-1][0],r.v[r._length-1][1]]),n},vectorOnPath:function(e,t,r){1==e?e=this.v.c:0==e&&(e=.999);var n=this.pointOnPath(e,t),a=this.pointOnPath(e+.001,t),o=a[0]-n[0],i=a[1]-n[1],l=Math.sqrt(Math.pow(o,2)+Math.pow(i,2));return 0===l?[0,0]:"tangent"===r?[o/l,i/l]:[-i/l,o/l]},tangentOnPath:function(e,t){return this.vectorOnPath(e,t,"tangent")},normalOnPath:function(e,t){return this.vectorOnPath(e,t,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([c],l),extendPrototype([c],s),s.prototype.getValueAtTime=function(e){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),e*=this.elem.globalData.frameRate,(e-=this.offsetTime)!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<e?this._caching.lastIndex:0,this._cachingAtTime.lastTime=e,this.interpolateShape(e,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue},s.prototype.initiateExpression=ExpressionManager.initiateExpression;var u=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(e,t,r,n,a){var o=u(e,t,r,n,a);return o.propertyIndex=t.ix,o.lock=!1,3===r?expressionHelpers.searchExpressions(e,t.pt,o):4===r&&expressionHelpers.searchExpressions(e,t.ks,o),o.k&&e.addDynamicProperty(o),o}}function initialize$1(){addPropertyDecorator()}function addDecorator(){TextProperty.prototype.getExpressionValue=function(e,t){var r=this.calculateExpression(t);if(e.t!==r){var n={};return this.copyData(n,e),n.t=r.toString(),n.__complete=!1,n}return e},TextProperty.prototype.searchProperty=function(){var e=this.searchKeyframes(),t=this.searchExpressions();return this.kf=e||t,this.kf},TextProperty.prototype.searchExpressions=function(){return this.data.d.x?(this.calculateExpression=ExpressionManager.initiateExpression.bind(this)(this.elem,this.data.d,this),this.addEffect(this.getExpressionValue.bind(this)),!0):null}}function initialize(){addDecorator()}function SVGComposableEffect(){}SVGComposableEffect.prototype={createMergeNode:function(e,t){var r,n,a=createNS("feMerge");for(a.setAttribute("result",e),n=0;n<t.length;n+=1)(r=createNS("feMergeNode")).setAttribute("in",t[n]),a.appendChild(r),a.appendChild(r);return a}};var linearFilterValue="0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0";function SVGTintFilter(e,t,r,n,a){this.filterManager=t;var o=createNS("feColorMatrix");o.setAttribute("type","matrix"),o.setAttribute("color-interpolation-filters","linearRGB"),o.setAttribute("values",linearFilterValue+" 1 0"),this.linearFilter=o,o.setAttribute("result",n+"_tint_1"),e.appendChild(o),(o=createNS("feColorMatrix")).setAttribute("type","matrix"),o.setAttribute("color-interpolation-filters","sRGB"),o.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),o.setAttribute("result",n+"_tint_2"),e.appendChild(o),this.matrixFilter=o;var i=this.createMergeNode(n,[a,n+"_tint_1",n+"_tint_2"]);e.appendChild(i)}function SVGFillFilter(e,t,r,n){this.filterManager=t;var a=createNS("feColorMatrix");a.setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),a.setAttribute("result",n),e.appendChild(a),this.matrixFilter=a}function SVGStrokeEffect(e,t,r){this.initialized=!1,this.filterManager=t,this.elem=r,this.paths=[]}function SVGTritoneFilter(e,t,r,n){this.filterManager=t;var a=createNS("feColorMatrix");a.setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","linearRGB"),a.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),e.appendChild(a);var o=createNS("feComponentTransfer");o.setAttribute("color-interpolation-filters","sRGB"),o.setAttribute("result",n),this.matrixFilter=o;var i=createNS("feFuncR");i.setAttribute("type","table"),o.appendChild(i),this.feFuncR=i;var l=createNS("feFuncG");l.setAttribute("type","table"),o.appendChild(l),this.feFuncG=l;var s=createNS("feFuncB");s.setAttribute("type","table"),o.appendChild(s),this.feFuncB=s,e.appendChild(o)}function SVGProLevelsFilter(e,t,r,n){this.filterManager=t;var a=this.filterManager.effectElements,o=createNS("feComponentTransfer");(a[10].p.k||0!==a[10].p.v||a[11].p.k||1!==a[11].p.v||a[12].p.k||1!==a[12].p.v||a[13].p.k||0!==a[13].p.v||a[14].p.k||1!==a[14].p.v)&&(this.feFuncR=this.createFeFunc("feFuncR",o)),(a[17].p.k||0!==a[17].p.v||a[18].p.k||1!==a[18].p.v||a[19].p.k||1!==a[19].p.v||a[20].p.k||0!==a[20].p.v||a[21].p.k||1!==a[21].p.v)&&(this.feFuncG=this.createFeFunc("feFuncG",o)),(a[24].p.k||0!==a[24].p.v||a[25].p.k||1!==a[25].p.v||a[26].p.k||1!==a[26].p.v||a[27].p.k||0!==a[27].p.v||a[28].p.k||1!==a[28].p.v)&&(this.feFuncB=this.createFeFunc("feFuncB",o)),(a[31].p.k||0!==a[31].p.v||a[32].p.k||1!==a[32].p.v||a[33].p.k||1!==a[33].p.v||a[34].p.k||0!==a[34].p.v||a[35].p.k||1!==a[35].p.v)&&(this.feFuncA=this.createFeFunc("feFuncA",o)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(o.setAttribute("color-interpolation-filters","sRGB"),e.appendChild(o)),(a[3].p.k||0!==a[3].p.v||a[4].p.k||1!==a[4].p.v||a[5].p.k||1!==a[5].p.v||a[6].p.k||0!==a[6].p.v||a[7].p.k||1!==a[7].p.v)&&((o=createNS("feComponentTransfer")).setAttribute("color-interpolation-filters","sRGB"),o.setAttribute("result",n),e.appendChild(o),this.feFuncRComposed=this.createFeFunc("feFuncR",o),this.feFuncGComposed=this.createFeFunc("feFuncG",o),this.feFuncBComposed=this.createFeFunc("feFuncB",o))}function SVGDropShadowEffect(e,t,r,n,a){var o=t.container.globalData.renderConfig.filterSize,i=t.data.fs||o;e.setAttribute("x",i.x||o.x),e.setAttribute("y",i.y||o.y),e.setAttribute("width",i.width||o.width),e.setAttribute("height",i.height||o.height),this.filterManager=t;var l=createNS("feGaussianBlur");l.setAttribute("in","SourceAlpha"),l.setAttribute("result",n+"_drop_shadow_1"),l.setAttribute("stdDeviation","0"),this.feGaussianBlur=l,e.appendChild(l);var s=createNS("feOffset");s.setAttribute("dx","25"),s.setAttribute("dy","0"),s.setAttribute("in",n+"_drop_shadow_1"),s.setAttribute("result",n+"_drop_shadow_2"),this.feOffset=s,e.appendChild(s);var c=createNS("feFlood");c.setAttribute("flood-color","#00ff00"),c.setAttribute("flood-opacity","1"),c.setAttribute("result",n+"_drop_shadow_3"),this.feFlood=c,e.appendChild(c);var u=createNS("feComposite");u.setAttribute("in",n+"_drop_shadow_3"),u.setAttribute("in2",n+"_drop_shadow_2"),u.setAttribute("operator","in"),u.setAttribute("result",n+"_drop_shadow_4"),e.appendChild(u);var d=this.createMergeNode(n,[n+"_drop_shadow_4",a]);e.appendChild(d)}extendPrototype([SVGComposableEffect],SVGTintFilter),SVGTintFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,n=this.filterManager.effectElements[2].p.v/100;this.linearFilter.setAttribute("values",linearFilterValue+" "+n+" 0"),this.matrixFilter.setAttribute("values",r[0]-t[0]+" 0 0 0 "+t[0]+" "+(r[1]-t[1])+" 0 0 0 "+t[1]+" "+(r[2]-t[2])+" 0 0 0 "+t[2]+" 0 0 0 1 0")}},SVGFillFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[2].p.v,r=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+t[0]+" 0 0 0 0 "+t[1]+" 0 0 0 0 "+t[2]+" 0 0 0 "+r+" 0")}},SVGStrokeEffect.prototype.initialize=function(){var e,t,r,n,a=this.elem.layerElement.children||this.elem.layerElement.childNodes;for(1===this.filterManager.effectElements[1].p.v?(n=this.elem.maskManager.masksProperties.length,r=0):n=1+(r=this.filterManager.effectElements[0].p.v-1),(t=createNS("g")).setAttribute("fill","none"),t.setAttribute("stroke-linecap","round"),t.setAttribute("stroke-dashoffset",1);r<n;r+=1)e=createNS("path"),t.appendChild(e),this.paths.push({p:e,m:r});if(3===this.filterManager.effectElements[10].p.v){var o=createNS("mask"),i=createElementID();o.setAttribute("id",i),o.setAttribute("mask-type","alpha"),o.appendChild(t),this.elem.globalData.defs.appendChild(o);var l=createNS("g");for(l.setAttribute("mask","url("+getLocationHref()+"#"+i+")");a[0];)l.appendChild(a[0]);this.elem.layerElement.appendChild(l),this.masker=o,t.setAttribute("stroke","#fff")}else if(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v){if(2===this.filterManager.effectElements[10].p.v)for(a=this.elem.layerElement.children||this.elem.layerElement.childNodes;a.length;)this.elem.layerElement.removeChild(a[0]);this.elem.layerElement.appendChild(t),this.elem.layerElement.removeAttribute("mask"),t.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=t},SVGStrokeEffect.prototype.renderFrame=function(e){var t;this.initialized||this.initialize();var r,n,a=this.paths.length;for(t=0;t<a;t+=1)if(-1!==this.paths[t].m&&(r=this.elem.maskManager.viewData[this.paths[t].m],n=this.paths[t].p,(e||this.filterManager._mdf||r.prop._mdf)&&n.setAttribute("d",r.lastPath),e||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||r.prop._mdf)){var o;if(0!==this.filterManager.effectElements[7].p.v||100!==this.filterManager.effectElements[8].p.v){var i=.01*Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),l=.01*Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),s=n.getTotalLength();o="0 0 0 "+s*i+" ";var c,u=s*(l-i),d=1+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01,p=Math.floor(u/d);for(c=0;c<p;c+=1)o+="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01+" ";o+="0 "+10*s+" 0 0"}else o="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01;n.setAttribute("stroke-dasharray",o)}if((e||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",2*this.filterManager.effectElements[4].p.v),(e||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("opacity",this.filterManager.effectElements[6].p.v),(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v)&&(e||this.filterManager.effectElements[3].p._mdf)){var m=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(255*m[0])+","+bmFloor(255*m[1])+","+bmFloor(255*m[2])+")")}},SVGTritoneFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,n=this.filterManager.effectElements[2].p.v,a=n[0]+" "+r[0]+" "+t[0],o=n[1]+" "+r[1]+" "+t[1],i=n[2]+" "+r[2]+" "+t[2];this.feFuncR.setAttribute("tableValues",a),this.feFuncG.setAttribute("tableValues",o),this.feFuncB.setAttribute("tableValues",i)}},SVGProLevelsFilter.prototype.createFeFunc=function(e,t){var r=createNS(e);return r.setAttribute("type","table"),t.appendChild(r),r},SVGProLevelsFilter.prototype.getTableValue=function(e,t,r,n,a){for(var o,i,l=0,s=Math.min(e,t),c=Math.max(e,t),u=Array.call(null,{length:256}),d=0,p=a-n,m=t-e;l<=256;)i=(o=l/256)<=s?m<0?a:n:o>=c?m<0?n:a:n+p*Math.pow((o-e)/m,1/r),u[d]=i,d+=1,l+=256/255;return u.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t,r=this.filterManager.effectElements;this.feFuncRComposed&&(e||r[3].p._mdf||r[4].p._mdf||r[5].p._mdf||r[6].p._mdf||r[7].p._mdf)&&(t=this.getTableValue(r[3].p.v,r[4].p.v,r[5].p.v,r[6].p.v,r[7].p.v),this.feFuncRComposed.setAttribute("tableValues",t),this.feFuncGComposed.setAttribute("tableValues",t),this.feFuncBComposed.setAttribute("tableValues",t)),this.feFuncR&&(e||r[10].p._mdf||r[11].p._mdf||r[12].p._mdf||r[13].p._mdf||r[14].p._mdf)&&(t=this.getTableValue(r[10].p.v,r[11].p.v,r[12].p.v,r[13].p.v,r[14].p.v),this.feFuncR.setAttribute("tableValues",t)),this.feFuncG&&(e||r[17].p._mdf||r[18].p._mdf||r[19].p._mdf||r[20].p._mdf||r[21].p._mdf)&&(t=this.getTableValue(r[17].p.v,r[18].p.v,r[19].p.v,r[20].p.v,r[21].p.v),this.feFuncG.setAttribute("tableValues",t)),this.feFuncB&&(e||r[24].p._mdf||r[25].p._mdf||r[26].p._mdf||r[27].p._mdf||r[28].p._mdf)&&(t=this.getTableValue(r[24].p.v,r[25].p.v,r[26].p.v,r[27].p.v,r[28].p.v),this.feFuncB.setAttribute("tableValues",t)),this.feFuncA&&(e||r[31].p._mdf||r[32].p._mdf||r[33].p._mdf||r[34].p._mdf||r[35].p._mdf)&&(t=this.getTableValue(r[31].p.v,r[32].p.v,r[33].p.v,r[34].p.v,r[35].p.v),this.feFuncA.setAttribute("tableValues",t))}},extendPrototype([SVGComposableEffect],SVGDropShadowEffect),SVGDropShadowEffect.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){if((e||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),e||this.filterManager.effectElements[0].p._mdf){var t=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(255*t[0]),Math.round(255*t[1]),Math.round(255*t[2])))}if((e||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),e||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var r=this.filterManager.effectElements[3].p.v,n=(this.filterManager.effectElements[2].p.v-90)*degToRads,a=r*Math.cos(n),o=r*Math.sin(n);this.feOffset.setAttribute("dx",a),this.feOffset.setAttribute("dy",o)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(e,t,r){this.initialized=!1,this.filterManager=t,this.filterElem=e,this.elem=r,r.matteElement=createNS("g"),r.matteElement.appendChild(r.layerElement),r.matteElement.appendChild(r.transformedElement),r.baseElement=r.matteElement}function SVGGaussianBlurEffect(e,t,r,n){e.setAttribute("x","-100%"),e.setAttribute("y","-100%"),e.setAttribute("width","300%"),e.setAttribute("height","300%"),this.filterManager=t;var a=createNS("feGaussianBlur");a.setAttribute("result",n),e.appendChild(a),this.feGaussianBlur=a}function TransformEffect(){}function SVGTransformEffect(e,t){this.init(t)}function CVTransformEffect(e){this.init(e)}return SVGMatte3Effect.prototype.findSymbol=function(e){for(var t=0,r=_svgMatteSymbols.length;t<r;){if(_svgMatteSymbols[t]===e)return _svgMatteSymbols[t];t+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(e,t){var r=e.layerElement.parentNode;if(r){for(var n,a=r.children,o=0,i=a.length;o<i&&a[o]!==e.layerElement;)o+=1;o<=i-2&&(n=a[o+1]);var l=createNS("use");l.setAttribute("href","#"+t),n?r.insertBefore(l,n):r.appendChild(l)}},SVGMatte3Effect.prototype.setElementAsMask=function(e,t){if(!this.findSymbol(t)){var r=createElementID(),n=createNS("mask");n.setAttribute("id",t.layerId),n.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(t);var a=e.globalData.defs;a.appendChild(n);var o=createNS("symbol");o.setAttribute("id",r),this.replaceInParent(t,r),o.appendChild(t.layerElement),a.appendChild(o);var i=createNS("use");i.setAttribute("href","#"+r),n.appendChild(i),t.data.hd=!1,t.show()}e.setMatte(t.layerId)},SVGMatte3Effect.prototype.initialize=function(){for(var e=this.filterManager.effectElements[0].p.v,t=this.elem.comp.elements,r=0,n=t.length;r<n;)t[r]&&t[r].data.ind===e&&this.setElementAsMask(this.elem,t[r]),r+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()},SVGGaussianBlurEffect.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=.3*this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,n=3==r?0:t,a=2==r?0:t;this.feGaussianBlur.setAttribute("stdDeviation",n+" "+a);var o=1==this.filterManager.effectElements[2].p.v?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",o)}},TransformEffect.prototype.init=function(e){this.effectsManager=e,this.type=effectTypes.TRANSFORM_EFFECT,this.matrix=new Matrix,this.opacity=-1,this._mdf=!1,this._opMdf=!1},TransformEffect.prototype.renderFrame=function(e){if(this._opMdf=!1,this._mdf=!1,e||this.effectsManager._mdf){var t=this.effectsManager.effectElements,r=t[0].p.v,n=t[1].p.v,a=1===t[2].p.v,o=t[3].p.v,i=a?o:t[4].p.v,l=t[5].p.v,s=t[6].p.v,c=t[7].p.v;this.matrix.reset(),this.matrix.translate(-r[0],-r[1],r[2]),this.matrix.scale(.01*i,.01*o,1),this.matrix.rotate(-c*degToRads),this.matrix.skewFromAxis(-l*degToRads,(s+90)*degToRads),this.matrix.translate(n[0],n[1],0),this._mdf=!0,this.opacity!==t[8].p.v&&(this.opacity=t[8].p.v,this._opMdf=!0)}},extendPrototype([TransformEffect],SVGTransformEffect),extendPrototype([TransformEffect],CVTransformEffect),registerRenderer("canvas",CanvasRenderer),registerRenderer("html",HybridRenderer),registerRenderer("svg",SVGRenderer),ShapeModifiers.registerModifier("tm",TrimModifier),ShapeModifiers.registerModifier("pb",PuckerAndBloatModifier),ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeModifiers.registerModifier("rd",RoundCornersModifier),ShapeModifiers.registerModifier("zz",ZigZagModifier),ShapeModifiers.registerModifier("op",OffsetPathModifier),setExpressionsPlugin(Expressions),setExpressionInterfaces(getInterface),initialize$1(),initialize(),registerEffect$1(20,SVGTintFilter,!0),registerEffect$1(21,SVGFillFilter,!0),registerEffect$1(22,SVGStrokeEffect,!1),registerEffect$1(23,SVGTritoneFilter,!0),registerEffect$1(24,SVGProLevelsFilter,!0),registerEffect$1(25,SVGDropShadowEffect,!0),registerEffect$1(28,SVGMatte3Effect,!1),registerEffect$1(29,SVGGaussianBlurEffect,!0),registerEffect$1(35,SVGTransformEffect,!1),registerEffect(35,CVTransformEffect),lottie},module.exports=factory())})(lottie$1,lottie$1.exports);var lottie=lottie$1.exports,_templateObject$1,styles=r$3(_templateObject$1||(_templateObject$1=_taggedTemplateLiteral(["\n * {\n box-sizing: border-box;\n }\n\n :host {\n --lottie-player-toolbar-height: 35px;\n --lottie-player-toolbar-background-color: transparent;\n --lottie-player-toolbar-icon-color: #999;\n --lottie-player-toolbar-icon-hover-color: #222;\n --lottie-player-toolbar-icon-active-color: #555;\n --lottie-player-seeker-track-color: #ccc;\n --lottie-player-seeker-thumb-color: rgba(0, 107, 120, 0.8);\n --lottie-player-seeker-display: block;\n\n display: block;\n width: 100%;\n height: 100%;\n }\n\n .main {\n display: flex;\n flex-direction: column;\n height: 100%;\n width: 100%;\n }\n\n .animation {\n width: 100%;\n height: 100%;\n display: flex;\n }\n .animation.controls {\n height: calc(100% - 35px);\n }\n\n .toolbar {\n display: flex;\n align-items: center;\n justify-items: center;\n background-color: var(--lottie-player-toolbar-background-color);\n margin: 0 5px;\n height: 35px;\n }\n\n .toolbar button {\n cursor: pointer;\n fill: var(--lottie-player-toolbar-icon-color);\n display: flex;\n background: none;\n border: 0;\n padding: 0;\n outline: none;\n height: 100%;\n }\n\n .toolbar button:hover {\n fill: var(--lottie-player-toolbar-icon-hover-color);\n }\n\n .toolbar button.active {\n fill: var(--lottie-player-toolbar-icon-active-color);\n }\n\n .toolbar button.active:hover {\n fill: var(--lottie-player-toolbar-icon-hover-color);\n }\n\n .toolbar button:focus {\n outline: 1px dotted var(--lottie-player-toolbar-icon-active-color);\n }\n\n .toolbar button svg {\n }\n\n .toolbar button.disabled svg {\n display: none;\n }\n\n .seeker {\n -webkit-appearance: none;\n width: 95%;\n outline: none;\n background-color: var(--lottie-player-toolbar-background-color);\n display: var(--lottie-player-seeker-display);\n }\n\n .seeker::-webkit-slider-runnable-track {\n width: 100%;\n height: 5px;\n cursor: pointer;\n background: var(--lottie-player-seeker-track-color);\n border-radius: 3px;\n }\n .seeker::-webkit-slider-thumb {\n height: 15px;\n width: 15px;\n border-radius: 50%;\n background: var(--lottie-player-seeker-thumb-color);\n cursor: pointer;\n -webkit-appearance: none;\n margin-top: -5px;\n }\n .seeker:focus::-webkit-slider-runnable-track {\n background: #999;\n }\n .seeker::-moz-range-track {\n width: 100%;\n height: 5px;\n cursor: pointer;\n background: var(--lottie-player-seeker-track-color);\n border-radius: 3px;\n }\n .seeker::-moz-range-thumb {\n height: 15px;\n width: 15px;\n border-radius: 50%;\n background: var(--lottie-player-seeker-thumb-color);\n cursor: pointer;\n }\n .seeker::-ms-track {\n width: 100%;\n height: 5px;\n cursor: pointer;\n background: transparent;\n border-color: transparent;\n color: transparent;\n }\n .seeker::-ms-fill-lower {\n background: var(--lottie-player-seeker-track-color);\n border-radius: 3px;\n }\n .seeker::-ms-fill-upper {\n background: var(--lottie-player-seeker-track-color);\n border-radius: 3px;\n }\n .seeker::-ms-thumb {\n border: 0;\n height: 15px;\n width: 15px;\n border-radius: 50%;\n background: var(--lottie-player-seeker-thumb-color);\n cursor: pointer;\n }\n .seeker:focus::-ms-fill-lower {\n background: var(--lottie-player-seeker-track-color);\n }\n .seeker:focus::-ms-fill-upper {\n background: var(--lottie-player-seeker-track-color);\n }\n\n .error {\n display: flex;\n justify-content: center;\n height: 100%;\n align-items: center;\n }\n"]))),LOTTIE_PLAYER_VERSION="2.0.4",LOTTIE_WEB_VERSION="^5.12.2",_templateObject,_templateObject2,_templateObject3,_templateObject4,_templateObject5,PlayerState,PlayMode,PlayerEvents;function parseSrc(e){if("object"==typeof e)return e;try{return JSON.parse(e)}catch(t){return new URL(e,window.location.href).toString()}}function isLottie(e){return["v","ip","op","layers","fr","w","h"].every((t=>Object.prototype.hasOwnProperty.call(e,t)))}function fromURL(e){return _fromURL.apply(this,arguments)}function _fromURL(){return(_fromURL=_asyncToGenerator((function*(e){if("string"!=typeof e)throw new Error("The url value must be a string");var t;try{var r=new URL(e),n=yield fetch(r.toString());t=yield n.json()}catch(e){throw new Error("An error occurred while trying to load the Lottie file from URL")}return t}))).apply(this,arguments)}!function(e){e.Destroyed="destroyed",e.Error="error",e.Frozen="frozen",e.Loading="loading",e.Paused="paused",e.Playing="playing",e.Stopped="stopped"}(PlayerState||(PlayerState={})),function(e){e.Bounce="bounce",e.Normal="normal"}(PlayMode||(PlayMode={})),function(e){e.Complete="complete",e.Destroyed="destroyed",e.Error="error",e.Frame="frame",e.Freeze="freeze",e.Load="load",e.Loop="loop",e.Pause="pause",e.Play="play",e.Ready="ready",e.Rendered="rendered",e.Stop="stop"}(PlayerEvents||(PlayerEvents={}));var LottiePlayer=class extends s{constructor(){super(...arguments),this.autoplay=!1,this.background="transparent",this.controls=!1,this.currentState=PlayerState.Loading,this.description="Lottie animation",this.direction=1,this.disableCheck=!1,this.disableShadowDOM=!1,this.hover=!1,this.intermission=1,this.loop=!1,this.mode=PlayMode.Normal,this.preserveAspectRatio="xMidYMid meet",this.renderer="svg",this.speed=1,this._io=void 0,this._counter=1,this._onVisibilityChange=()=>{!0===document.hidden&&this.currentState===PlayerState.Playing?this.freeze():this.currentState===PlayerState.Frozen&&this.play()}}load(e){var t=this;return _asyncToGenerator((function*(){var r={container:t.container,loop:!1,autoplay:!1,renderer:t.renderer,rendererSettings:Object.assign({preserveAspectRatio:t.preserveAspectRatio,clearCanvas:!1,progressiveLoad:!0,hideOnTransparent:!0},t.viewBoxSize&&{viewBoxSize:t.viewBoxSize})};try{var n=parseSrc(e),a={},o="string"==typeof n?"path":"animationData";t._lottie&&t._lottie.destroy(),t.webworkers&&lottie$1.exports.useWebWorker(!0),t._lottie=lottie$1.exports.loadAnimation(Object.assign(Object.assign({},r),{[o]:n})),t._attachEventListeners(),t.disableCheck||("path"===o?(a=yield fromURL(n),o="animationData"):a=n,isLottie(a)||(t.currentState=PlayerState.Error,t.dispatchEvent(new CustomEvent(PlayerEvents.Error))))}catch(e){t.currentState=PlayerState.Error,t.dispatchEvent(new CustomEvent(PlayerEvents.Error))}}))()}getLottie(){return this._lottie}getVersions(){return{lottieWebVersion:LOTTIE_WEB_VERSION,lottiePlayerVersion:LOTTIE_PLAYER_VERSION}}play(){this._lottie&&(this._lottie.play(),this.currentState=PlayerState.Playing,this.dispatchEvent(new CustomEvent(PlayerEvents.Play)))}pause(){this._lottie&&(this._lottie.pause(),this.currentState=PlayerState.Paused,this.dispatchEvent(new CustomEvent(PlayerEvents.Pause)))}stop(){this._lottie&&(this._counter=1,this._lottie.stop(),this.currentState=PlayerState.Stopped,this.dispatchEvent(new CustomEvent(PlayerEvents.Stop)))}destroy(){this._lottie&&(this._lottie.destroy(),this._lottie=null,this.currentState=PlayerState.Destroyed,this.dispatchEvent(new CustomEvent(PlayerEvents.Destroyed)),this.remove())}seek(e){if(this._lottie){var t=/^(\d+)(%?)$/.exec(e.toString());if(t){var r="%"===t[2]?this._lottie.totalFrames*Number(t[1])/100:Number(t[1]);this.seeker=r,this.currentState===PlayerState.Playing?this._lottie.goToAndPlay(r,!0):(this._lottie.goToAndStop(r,!0),this._lottie.pause())}}}snapshot(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(this.shadowRoot){var t=this.shadowRoot.querySelector(".animation svg"),r=(new XMLSerializer).serializeToString(t);if(e){var n=document.createElement("a");n.href="data:image/svg+xml;charset=utf-8,".concat(encodeURIComponent(r)),n.download="download_".concat(this.seeker,".svg"),document.body.appendChild(n),n.click(),document.body.removeChild(n)}return r}}setSpeed(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this._lottie&&this._lottie.setSpeed(e)}setDirection(e){this._lottie&&this._lottie.setDirection(e)}setLooping(e){this._lottie&&(this.loop=e,this._lottie.loop=e)}togglePlay(){return this.currentState===PlayerState.Playing?this.pause():this.play()}toggleLooping(){this.setLooping(!this.loop)}resize(){this._lottie&&this._lottie.resize()}static get styles(){return styles}disconnectedCallback(){this.isConnected||(this._io&&(this._io.disconnect(),this._io=void 0),document.removeEventListener("visibilitychange",this._onVisibilityChange),this.destroy())}render(){var e=this.controls?"main controls":"main",t=this.controls?"animation controls":"animation";return $(_templateObject||(_templateObject=_taggedTemplateLiteral([' <div\n id="animation-container"\n class=','\n lang="en"\n aria-label=','\n role="img"\n >\n <div\n id="animation"\n class=','\n style="background:',';"\n >\n ',"\n </div>\n ","\n </div>"])),e,this.description,t,this.background,this.currentState===PlayerState.Error?$(_templateObject2||(_templateObject2=_taggedTemplateLiteral(['<div class="error">⚠️</div>']))):void 0,this.controls&&!this.disableShadowDOM?this.renderControls():void 0)}createRenderRoot(){return this.disableShadowDOM&&(this.style.display="block"),this.disableShadowDOM?this:super.createRenderRoot()}firstUpdated(){"IntersectionObserver"in window&&(this._io=new IntersectionObserver((e=>{e[0].isIntersecting?this.currentState===PlayerState.Frozen&&this.play():this.currentState===PlayerState.Playing&&this.freeze()})),this._io.observe(this.container)),void 0!==document.hidden&&document.addEventListener("visibilitychange",this._onVisibilityChange),this.src&&this.load(this.src),this.dispatchEvent(new CustomEvent(PlayerEvents.Rendered))}renderControls(){var e=this.currentState===PlayerState.Playing,t=this.currentState===PlayerState.Paused,r=this.currentState===PlayerState.Stopped;return $(_templateObject3||(_templateObject3=_taggedTemplateLiteral(['\n <div\n id="lottie-controls"\n aria-label="lottie-animation-controls"\n class="toolbar"\n >\n <button\n id="lottie-play-button"\n @click=',"\n class=",'\n style="align-items:center;"\n tabindex="0"\n aria-label="play-pause"\n >\n ','\n </button>\n <button\n id="lottie-stop-button"\n @click=',"\n class=",'\n style="align-items:center;"\n tabindex="0"\n aria-label="stop"\n >\n <svg width="24" height="24" aria-hidden="true" focusable="false">\n <path d="M6 6h12v12H6V6z" />\n </svg>\n </button>\n <input\n id="lottie-seeker-input"\n class="seeker"\n type="range"\n min="0"\n step="1"\n max="100"\n .value=',"\n @input=","\n @mousedown=","\n @mouseup=",'\n aria-valuemin="1"\n aria-valuemax="100"\n role="slider"\n aria-valuenow=','\n tabindex="0"\n aria-label="lottie-seek-input"\n />\n <button\n id="lottie-loop-toggle"\n @click=',"\n class=",'\n style="align-items:center;"\n tabindex="0"\n aria-label="loop-toggle"\n >\n <svg width="24" height="24" aria-hidden="true" focusable="false">\n <path\n d="M17.016 17.016v-4.031h1.969v6h-12v3l-3.984-3.984 3.984-3.984v3h10.031zM6.984 6.984v4.031H5.015v-6h12v-3l3.984 3.984-3.984 3.984v-3H6.984z"\n />\n </svg>\n </button>\n </div>\n '])),this.togglePlay,e||t?"active":"",$(e?_templateObject4||(_templateObject4=_taggedTemplateLiteral(['<svg\n width="24"\n height="24"\n aria-hidden="true"\n focusable="false"\n >\n <path\n d="M14.016 5.016H18v13.969h-3.984V5.016zM6 18.984V5.015h3.984v13.969H6z"\n />\n </svg>'])):_templateObject5||(_templateObject5=_taggedTemplateLiteral(['<svg\n width="24"\n height="24"\n aria-hidden="true"\n focusable="false"\n >\n <path d="M8.016 5.016L18.985 12 8.016 18.984V5.015z" />\n </svg>']))),this.stop,r?"active":"",this.seeker,this._handleSeekChange,(()=>{this._prevState=this.currentState,this.freeze()}),(()=>{this._prevState===PlayerState.Playing&&this.play()}),this.seeker,this.toggleLooping,this.loop?"active":"")}_handleSeekChange(e){if(this._lottie&&!isNaN(e.target.value)){var t=e.target.value/100*this._lottie.totalFrames;this.seek(t)}}_attachEventListeners(){this._lottie.addEventListener("enterFrame",(()=>{this.seeker=this._lottie.currentFrame/this._lottie.totalFrames*100,this.dispatchEvent(new CustomEvent(PlayerEvents.Frame,{detail:{frame:this._lottie.currentFrame,seeker:this.seeker}}))})),this._lottie.addEventListener("complete",(()=>{if(this.currentState===PlayerState.Playing){if(!this.loop||this.count&&this._counter>=this.count){if(this.dispatchEvent(new CustomEvent(PlayerEvents.Complete)),this.mode!==PlayMode.Bounce)return;if(0===this._lottie.currentFrame)return}this.mode===PlayMode.Bounce?(this.count&&(this._counter+=.5),setTimeout((()=>{this.dispatchEvent(new CustomEvent(PlayerEvents.Loop)),this.currentState===PlayerState.Playing&&(this._lottie.setDirection(-1*this._lottie.playDirection),this._lottie.play())}),this.intermission)):(this.count&&(this._counter+=1),window.setTimeout((()=>{this.dispatchEvent(new CustomEvent(PlayerEvents.Loop)),this.currentState===PlayerState.Playing&&(-1===this.direction?(this.seek("99%"),this.play()):(this._lottie.stop(),this._lottie.play()))}),this.intermission))}else this.dispatchEvent(new CustomEvent(PlayerEvents.Complete))})),this._lottie.addEventListener("DOMLoaded",(()=>{this.setSpeed(this.speed),this.setDirection(this.direction),this.autoplay&&(-1===this.direction&&this.seek("100%"),this.play()),this.dispatchEvent(new CustomEvent(PlayerEvents.Ready))})),this._lottie.addEventListener("data_ready",(()=>{this.dispatchEvent(new CustomEvent(PlayerEvents.Load))})),this._lottie.addEventListener("data_failed",(()=>{this.currentState=PlayerState.Error,this.dispatchEvent(new CustomEvent(PlayerEvents.Error))})),this.container.addEventListener("mouseenter",(()=>{this.hover&&this.currentState!==PlayerState.Playing&&this.play()})),this.container.addEventListener("mouseleave",(()=>{this.hover&&this.currentState===PlayerState.Playing&&this.stop()}))}freeze(){this._lottie&&(this._lottie.pause(),this.currentState=PlayerState.Frozen,this.dispatchEvent(new CustomEvent(PlayerEvents.Freeze)))}};__decorate([e$5({type:Boolean})],LottiePlayer.prototype,"autoplay",void 0),__decorate([e$5({type:String,reflect:!0})],LottiePlayer.prototype,"background",void 0),__decorate([e$5({type:Boolean})],LottiePlayer.prototype,"controls",void 0),__decorate([e$5({type:Number})],LottiePlayer.prototype,"count",void 0),__decorate([e$5({type:String})],LottiePlayer.prototype,"currentState",void 0),__decorate([e$5({type:String})],LottiePlayer.prototype,"description",void 0),__decorate([e$5({type:Number})],LottiePlayer.prototype,"direction",void 0),__decorate([e$5({type:Boolean})],LottiePlayer.prototype,"disableCheck",void 0),__decorate([e$5({type:Boolean})],LottiePlayer.prototype,"disableShadowDOM",void 0),__decorate([e$5({type:Boolean})],LottiePlayer.prototype,"hover",void 0),__decorate([e$5()],LottiePlayer.prototype,"intermission",void 0),__decorate([e$5({type:Boolean,reflect:!0})],LottiePlayer.prototype,"loop",void 0),__decorate([e$5()],LottiePlayer.prototype,"mode",void 0),__decorate([e$5({type:String})],LottiePlayer.prototype,"preserveAspectRatio",void 0),__decorate([e$5({type:String})],LottiePlayer.prototype,"renderer",void 0),__decorate([e$5({type:String})],LottiePlayer.prototype,"viewBoxSize",void 0),__decorate([e$5()],LottiePlayer.prototype,"seeker",void 0),__decorate([e$5({type:Number})],LottiePlayer.prototype,"speed",void 0),__decorate([e$5({type:String})],LottiePlayer.prototype,"src",void 0),__decorate([e$5({type:Boolean})],LottiePlayer.prototype,"webworkers",void 0),__decorate([i(".animation")],LottiePlayer.prototype,"container",void 0),LottiePlayer=__decorate([n$1("lottie-player")],LottiePlayer)},1774:function(e){e.exports=function(e){function t(n){if(r[n])return r[n].exports;var a=r[n]={exports:{},id:n,loaded:!1};return e[n].call(a.exports,a,a.exports,t),a.loaded=!0,a.exports}var r={};return t.m=e,t.c=r,t.p="dist/",t(0)}([function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}var a=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=(n(r(1)),r(6)),i=n(o),l=n(r(7)),s=n(r(8)),c=n(r(9)),u=n(r(10)),d=n(r(11)),p=n(r(14)),m=[],h=!1,f={offset:120,delay:0,easing:"ease",duration:400,disable:!1,once:!1,startEvent:"DOMContentLoaded",throttleDelay:99,debounceDelay:50,disableMutationObserver:!1},v=function(){if(arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&(h=!0),h)return m=(0,d.default)(m,f),(0,u.default)(m,f.once),m},b=function(){m=(0,p.default)(),v()};e.exports={init:function(e){f=a(f,e),m=(0,p.default)();var t=document.all&&!window.atob;return function(e){return!0===e||"mobile"===e&&c.default.mobile()||"phone"===e&&c.default.phone()||"tablet"===e&&c.default.tablet()||"function"==typeof e&&!0===e()}(f.disable)||t?void m.forEach((function(e,t){e.node.removeAttribute("data-aos"),e.node.removeAttribute("data-aos-easing"),e.node.removeAttribute("data-aos-duration"),e.node.removeAttribute("data-aos-delay")})):(f.disableMutationObserver||s.default.isSupported()||(console.info('\n aos: MutationObserver is not supported on this browser,\n code mutations observing has been disabled.\n You may have to call "refreshHard()" by yourself.\n '),f.disableMutationObserver=!0),document.querySelector("body").setAttribute("data-aos-easing",f.easing),document.querySelector("body").setAttribute("data-aos-duration",f.duration),document.querySelector("body").setAttribute("data-aos-delay",f.delay),"DOMContentLoaded"===f.startEvent&&["complete","interactive"].indexOf(document.readyState)>-1?v(!0):"load"===f.startEvent?window.addEventListener(f.startEvent,(function(){v(!0)})):document.addEventListener(f.startEvent,(function(){v(!0)})),window.addEventListener("resize",(0,l.default)(v,f.debounceDelay,!0)),window.addEventListener("orientationchange",(0,l.default)(v,f.debounceDelay,!0)),window.addEventListener("scroll",(0,i.default)((function(){(0,u.default)(m,f.once)}),f.throttleDelay)),f.disableMutationObserver||s.default.ready("[data-aos]",b),m)},refresh:v,refreshHard:b}},function(e,t){},,,,,function(e,t){(function(t){"use strict";function r(e,t,r){function a(t){var r=d,n=p;return d=p=void 0,b=t,h=e.apply(n,r)}function i(e){var r=e-v;return void 0===v||r>=t||r<0||w&&e-b>=m}function s(){var e=k();return i(e)?c(e):void(f=setTimeout(s,function(e){var r=t-(e-v);return w?E(r,m-(e-b)):r}(e)))}function c(e){return f=void 0,x&&d?a(e):(d=p=void 0,h)}function u(){var e=k(),r=i(e);if(d=arguments,p=this,v=e,r){if(void 0===f)return function(e){return b=e,f=setTimeout(s,t),g?a(e):h}(v);if(w)return f=setTimeout(s,t),a(v)}return void 0===f&&(f=setTimeout(s,t)),h}var d,p,m,h,f,v,b=0,g=!1,w=!1,x=!0;if("function"!=typeof e)throw new TypeError(l);return t=o(t)||0,n(r)&&(g=!!r.leading,m=(w="maxWait"in r)?y(o(r.maxWait)||0,t):m,x="trailing"in r?!!r.trailing:x),u.cancel=function(){void 0!==f&&clearTimeout(f),b=0,d=v=p=f=void 0},u.flush=function(){return void 0===f?h:c(k())},u}function n(e){var t=void 0===e?"undefined":i(e);return!!e&&("object"==t||"function"==t)}function a(e){return"symbol"==(void 0===e?"undefined":i(e))||function(e){return!!e&&"object"==(void 0===e?"undefined":i(e))}(e)&&g.call(e)==c}function o(e){if("number"==typeof e)return e;if(a(e))return s;if(n(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=n(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(u,"");var r=p.test(e);return r||m.test(e)?h(e.slice(2),r?2:8):d.test(e)?s:+e}var i="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},l="Expected a function",s=NaN,c="[object Symbol]",u=/^\s+|\s+$/g,d=/^[-+]0x[0-9a-f]+$/i,p=/^0b[01]+$/i,m=/^0o[0-7]+$/i,h=parseInt,f="object"==(void 0===t?"undefined":i(t))&&t&&t.Object===Object&&t,v="object"==("undefined"==typeof self?"undefined":i(self))&&self&&self.Object===Object&&self,b=f||v||Function("return this")(),g=Object.prototype.toString,y=Math.max,E=Math.min,k=function(){return b.Date.now()};e.exports=function(e,t,a){var o=!0,i=!0;if("function"!=typeof e)throw new TypeError(l);return n(a)&&(o="leading"in a?!!a.leading:o,i="trailing"in a?!!a.trailing:i),r(e,t,{leading:o,maxWait:t,trailing:i})}}).call(t,function(){return this}())},function(e,t){(function(t){"use strict";function r(e){var t=void 0===e?"undefined":o(e);return!!e&&("object"==t||"function"==t)}function n(e){return"symbol"==(void 0===e?"undefined":o(e))||function(e){return!!e&&"object"==(void 0===e?"undefined":o(e))}(e)&&b.call(e)==s}function a(e){if("number"==typeof e)return e;if(n(e))return l;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(c,"");var a=d.test(e);return a||p.test(e)?m(e.slice(2),a?2:8):u.test(e)?l:+e}var o="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},i="Expected a function",l=NaN,s="[object Symbol]",c=/^\s+|\s+$/g,u=/^[-+]0x[0-9a-f]+$/i,d=/^0b[01]+$/i,p=/^0o[0-7]+$/i,m=parseInt,h="object"==(void 0===t?"undefined":o(t))&&t&&t.Object===Object&&t,f="object"==("undefined"==typeof self?"undefined":o(self))&&self&&self.Object===Object&&self,v=h||f||Function("return this")(),b=Object.prototype.toString,g=Math.max,y=Math.min,E=function(){return v.Date.now()};e.exports=function(e,t,n){function o(t){var r=d,n=p;return d=p=void 0,b=t,h=e.apply(n,r)}function l(e){var r=e-v;return void 0===v||r>=t||r<0||w&&e-b>=m}function s(){var e=E();return l(e)?c(e):void(f=setTimeout(s,function(e){var r=t-(e-v);return w?y(r,m-(e-b)):r}(e)))}function c(e){return f=void 0,x&&d?o(e):(d=p=void 0,h)}function u(){var e=E(),r=l(e);if(d=arguments,p=this,v=e,r){if(void 0===f)return function(e){return b=e,f=setTimeout(s,t),k?o(e):h}(v);if(w)return f=setTimeout(s,t),o(v)}return void 0===f&&(f=setTimeout(s,t)),h}var d,p,m,h,f,v,b=0,k=!1,w=!1,x=!0;if("function"!=typeof e)throw new TypeError(i);return t=a(t)||0,r(n)&&(k=!!n.leading,m=(w="maxWait"in n)?g(a(n.maxWait)||0,t):m,x="trailing"in n?!!n.trailing:x),u.cancel=function(){void 0!==f&&clearTimeout(f),b=0,d=v=p=f=void 0},u.flush=function(){return void 0===f?h:c(E())},u}}).call(t,function(){return this}())},function(e,t){"use strict";function r(e){var t=void 0,n=void 0;for(t=0;t<e.length;t+=1){if((n=e[t]).dataset&&n.dataset.aos)return!0;if(n.children&&r(n.children))return!0}return!1}function n(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function a(e){e&&e.forEach((function(e){var t=Array.prototype.slice.call(e.addedNodes),n=Array.prototype.slice.call(e.removedNodes);if(r(t.concat(n)))return o()}))}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){};t.default={isSupported:function(){return!!n()},ready:function(e,t){var r=window.document,i=new(n())(a);o=t,i.observe(r.documentElement,{childList:!0,subtree:!0,removedNodes:!0})}}},function(e,t){"use strict";function r(){return navigator.userAgent||navigator.vendor||window.opera||""}Object.defineProperty(t,"__esModule",{value:!0});var n=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}}(),a=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,o=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,i=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,l=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,s=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return n(e,[{key:"phone",value:function(){var e=r();return!(!a.test(e)&&!o.test(e.substr(0,4)))}},{key:"mobile",value:function(){var e=r();return!(!i.test(e)&&!l.test(e.substr(0,4)))}},{key:"tablet",value:function(){return this.mobile()&&!this.phone()}}]),e}();t.default=new s},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(e,t){var r=window.pageYOffset,n=window.innerHeight;e.forEach((function(e,a){!function(e,t,r){var n=e.node.getAttribute("data-aos-once");t>e.position?e.node.classList.add("aos-animate"):void 0!==n&&("false"===n||!r&&"true"!==n)&&e.node.classList.remove("aos-animate")}(e,n+r,t)}))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){return e&&e.__esModule?e:{default:e}}(r(12));t.default=function(e,t){return e.forEach((function(e,r){e.node.classList.add("aos-init"),e.position=(0,n.default)(e.node,t.offset)})),e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){return e&&e.__esModule?e:{default:e}}(r(13));t.default=function(e,t){var r=0,a=0,o=window.innerHeight,i={offset:e.getAttribute("data-aos-offset"),anchor:e.getAttribute("data-aos-anchor"),anchorPlacement:e.getAttribute("data-aos-anchor-placement")};switch(i.offset&&!isNaN(i.offset)&&(a=parseInt(i.offset)),i.anchor&&document.querySelectorAll(i.anchor)&&(e=document.querySelectorAll(i.anchor)[0]),r=(0,n.default)(e).top,i.anchorPlacement){case"top-bottom":break;case"center-bottom":r+=e.offsetHeight/2;break;case"bottom-bottom":r+=e.offsetHeight;break;case"top-center":r+=o/2;break;case"bottom-center":r+=o/2+e.offsetHeight;break;case"center-center":r+=o/2+e.offsetHeight/2;break;case"top-top":r+=o;break;case"bottom-top":r+=e.offsetHeight+o;break;case"center-top":r+=e.offsetHeight/2+o}return i.anchorPlacement||i.offset||isNaN(t)||(a=t),r+a}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(e){for(var t=0,r=0;e&&!isNaN(e.offsetLeft)&&!isNaN(e.offsetTop);)t+=e.offsetLeft-("BODY"!=e.tagName?e.scrollLeft:0),r+=e.offsetTop-("BODY"!=e.tagName?e.scrollTop:0),e=e.offsetParent;return{top:r,left:t}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(e){return e=e||document.querySelectorAll("[data-aos]"),Array.prototype.map.call(e,(function(e){return{node:e}}))}}])},843:(e,t,r)=>{"use strict";var n={};r.r(n),r.d(n,{name:()=>_H,settings:()=>PH});var a={};r.r(a),r.d(a,{name:()=>zH,settings:()=>NH});var o={};r.r(o),r.d(o,{name:()=>KH,settings:()=>YH});var i={};r.r(i),r.d(i,{name:()=>nj,settings:()=>aj});var l={};r.r(l),r.d(l,{name:()=>cj,settings:()=>uj});var s={};r.r(s),r.d(s,{name:()=>vj,settings:()=>bj});var c={};r.r(c),r.d(c,{name:()=>Cj,settings:()=>Aj});var u={};r.r(u),r.d(u,{name:()=>Rj,settings:()=>Mj});var d={};r.r(d),r.d(d,{name:()=>Dj,settings:()=>Bj});var p={};r.r(p),r.d(p,{name:()=>Vj,settings:()=>Fj});var m={};r.r(m),r.d(m,{name:()=>Wj,settings:()=>$j});var h={};r.r(h),r.d(h,{name:()=>Kj,settings:()=>Yj});var f={};r.r(f),r.d(f,{name:()=>eW,settings:()=>tW});var v={};r.r(v),r.d(v,{name:()=>EW,settings:()=>kW});var b={};r.r(b),r.d(b,{name:()=>NW,settings:()=>VW});var g={};r.r(g),r.d(g,{name:()=>_Z,settings:()=>PZ});var y={};r.r(y),r.d(y,{name:()=>SZ,settings:()=>RZ});var E={};r.r(E),r.d(E,{name:()=>LZ,settings:()=>DZ});var k={};r.r(k),r.d(k,{name:()=>FZ,settings:()=>HZ});var w={};r.r(w),r.d(w,{name:()=>GZ,settings:()=>qZ});var x={};r.r(x),r.d(x,{name:()=>QZ,settings:()=>JZ});var _={};r.r(_),r.d(_,{name:()=>rU,settings:()=>nU});var P={};r.r(P),r.d(P,{name:()=>lU,settings:()=>sU});var C={};r.r(C),r.d(C,{name:()=>mU,settings:()=>hU});var A={};r.r(A),r.d(A,{name:()=>yU,settings:()=>EU});var S={};r.r(S),r.d(S,{name:()=>_U,settings:()=>PU});var R={};r.r(R),r.d(R,{name:()=>TU,settings:()=>IU});var M={};r.r(M),r.d(M,{name:()=>DU,settings:()=>BU});var T={};r.r(T),r.d(T,{name:()=>QK,settings:()=>JK});var I={};r.r(I),r.d(I,{name:()=>nY,settings:()=>aY});var O={};r.r(O),r.d(O,{name:()=>cY,settings:()=>uY});var L={};r.r(L),r.d(L,{name:()=>mY,settings:()=>hY});var D={};r.r(D),r.d(D,{name:()=>gY,settings:()=>yY});var B={};r.r(B),r.d(B,{name:()=>xY,settings:()=>_Y});var z={};r.r(z),r.d(z,{name:()=>IY,settings:()=>OY});var N={};r.r(N),r.d(N,{name:()=>VY,settings:()=>FY});var V={};r.r(V),r.d(V,{name:()=>qY,settings:()=>KY});var F={};r.r(F),r.d(F,{name:()=>JY,settings:()=>eX});var H={};r.r(H),r.d(H,{name:()=>sX,settings:()=>cX});var j={};r.r(j),r.d(j,{name:()=>vX,settings:()=>bX});var W={};r.r(W),r.d(W,{name:()=>yX,settings:()=>EX});const $=window.wp.blocks,Z=window.wp.hooks;var U=r(1609),G=r.n(U);const q=window.wp.blockEditor,K=window.wp.i18n,Y={desktop:(0,K.__)("Desktop","blockart"),tablet:(0,K.__)("Tablet","blockart"),mobile:(0,K.__)("Mobile","blockart")},X=((0,K.__)("Top","blockart"),(0,K.__)("Right","blockart"),(0,K.__)("Bottom","blockart"),(0,K.__)("Left","blockart"),{blockMargin:{type:"object",default:{dimension:1,desktop:{lock:!0}},style:[{selector:"{{WRAPPER}} { margin: {{VALUE}}; }"}]},blockPadding:{type:"object",default:{dimension:1,desktop:{lock:!0}},style:[{selector:"{{WRAPPER}} { padding: {{VALUE}}; }"}]},blockZIndex:{type:"number",style:[{selector:"{{WRAPPER}} { z-index: {{VALUE}}; }"}]},cssID:{type:"string"},animation:{type:"string"},interaction:{type:"object"},position:{type:"object"},hideOnDesktop:{type:"boolean",style:[{selector:"@media (min-width:62em) { {{WRAPPER}} { display: none; } }"}]},hideOnTablet:{type:"boolean",style:[{selector:"@media (min-width:48em) and (max-width:62em) { {{WRAPPER}} { display: none; } }"}]},hideOnMobile:{type:"boolean",style:[{selector:"@media (max-width:48em) { {{WRAPPER}} { display: none; } }"}]},colReverseOnTablet:{type:"boolean",style:[{selector:"@media (max-width:62em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},colReverseOnMobile:{type:"boolean",style:[{selector:"@media (max-width:48em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},blockCSS:{type:"string"},className:{type:"string"}}),Q=[{label:(0,K.__)("None","blockart"),value:"none"},{label:(0,K.__)("Fade","blockart"),value:"fade"},{label:(0,K.__)("Fade Down","blockart"),value:"fade-down"},{label:(0,K.__)("Fade Up","blockart"),value:"fade-up"},{label:(0,K.__)("Fade Left","blockart"),value:"fade-left"},{label:(0,K.__)("Fade Right","blockart"),value:"fade-right"},{label:(0,K.__)("Flip Down","blockart"),value:"flip-down"},{label:(0,K.__)("Flip Up","blockart"),value:"flip-up"},{label:(0,K.__)("Flip Left","blockart"),value:"flip-left"},{label:(0,K.__)("Flip Right","blockart"),value:"flip-right"},{label:(0,K.__)("Slide Down","blockart"),value:"slide-down"},{label:(0,K.__)("Slide Up","blockart"),value:"slide-up"},{label:(0,K.__)("Slide Left","blockart"),value:"slide-left"},{label:(0,K.__)("Slide Right","blockart"),value:"slide-right"},{label:(0,K.__)("Zoom In","blockart"),value:"zoom-in"},{label:(0,K.__)("Zoom In Down","blockart"),value:"zoom-in-down"},{label:(0,K.__)("Zoom In Up","blockart"),value:"zoom-in-up"},{label:(0,K.__)("Zoom In Left","blockart"),value:"zoom-in-left"},{label:(0,K.__)("Zoom In Right","blockart"),value:"zoom-in-right"},{label:(0,K.__)("Zoom Out","blockart"),value:"zoom-out"},{label:(0,K.__)("Zoom Out Down","blockart"),value:"zoom-out-down"},{label:(0,K.__)("Zoom Out Up","blockart"),value:"zoom-out-up"},{label:(0,K.__)("Zoom Out Left","blockart"),value:"zoom-out-left"},{label:(0,K.__)("Zoom Out Right","blockart"),value:"zoom-out-right"}],J=[{label:(0,K.__)("Div","blockart"),value:"div"},{label:(0,K.__)("Address","blockart"),value:"address"},{label:(0,K.__)("Article","blockart"),value:"article"},{label:(0,K.__)("Aside","blockart"),value:"aside"},{label:(0,K.__)("Blockquote","blockart"),value:"blockquote"}];function ee(e){var t,r;return null!=(r=e)&&"object"==typeof r&&"nodeType"in r&&r.nodeType===Node.ELEMENT_NODE&&null!=(t=e.ownerDocument)?t:document}function te(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}var re=te()?U.useLayoutEffect:U.useEffect;function ne(e,t=[]){const r=(0,U.useRef)(e);return re((()=>{r.current=e})),(0,U.useCallback)(((...e)=>{var t;return null==(t=r.current)?void 0:t.call(r,...e)}),t)}function ae(e,...t){return"function"==typeof e?e(...t):e}function oe(...e){return function(t){e.some((e=>(null==e||e(t),null==t?void 0:t.defaultPrevented)))}}var ie=(...e)=>e.filter(Boolean).join(" ");function le(e){const t=typeof e;return null!=e&&("object"===t||"function"===t)&&!Array.isArray(e)}var se=e=>{const{condition:t,message:r}=e};function ce(e,...t){return ue(e)?e(...t):e}var ue=e=>"function"==typeof e,de=e=>e?"":void 0,pe=e=>!!e||void 0;function me(...e){return function(t){e.some((e=>(null==e||e(t),null==t?void 0:t.defaultPrevented)))}}function he(...e){return function(t){e.forEach((e=>{null==e||e(t)}))}}function fe(...e){return t=>{e.forEach((e=>{!function(e,t){if(null!=e)if("function"!=typeof e)try{e.current=t}catch(r){throw new Error(`Cannot assign value '${t}' to ref '${e}'`)}else e(t)}(e,t)}))}}function ve(...e){return(0,U.useMemo)((()=>fe(...e)),e)}function be(e){const t=e.target,{tagName:r,isContentEditable:n}=t;return"INPUT"!==r&&"TEXTAREA"!==r&&!0!==n}function ge(e={}){const{ref:t,isDisabled:r,isFocusable:n,clickOnEnter:a=!0,clickOnSpace:o=!0,onMouseDown:i,onMouseUp:l,onClick:s,onKeyDown:c,onKeyUp:u,tabIndex:d,onMouseOver:p,onMouseLeave:m,...h}=e,[f,v]=(0,U.useState)(!0),[b,g]=(0,U.useState)(!1),y=function(){const e=(0,U.useRef)(new Map),t=e.current,r=(0,U.useCallback)(((t,r,n,a)=>{e.current.set(n,{type:r,el:t,options:a}),t.addEventListener(r,n,a)}),[]),n=(0,U.useCallback)(((t,r,n,a)=>{t.removeEventListener(r,n,a),e.current.delete(n)}),[]);return(0,U.useEffect)((()=>()=>{t.forEach(((e,t)=>{n(e.el,e.type,t,e.options)}))}),[n,t]),{add:r,remove:n}}(),E=f?d:d||0,k=r&&!n,w=(0,U.useCallback)((e=>{if(r)return e.stopPropagation(),void e.preventDefault();e.currentTarget.focus(),null==s||s(e)}),[r,s]),x=(0,U.useCallback)((e=>{b&&be(e)&&(e.preventDefault(),e.stopPropagation(),g(!1),y.remove(document,"keyup",x,!1))}),[b,y]),_=(0,U.useCallback)((e=>{if(null==c||c(e),r||e.defaultPrevented||e.metaKey)return;if(!be(e.nativeEvent)||f)return;const t=a&&"Enter"===e.key;o&&" "===e.key&&(e.preventDefault(),g(!0)),t&&(e.preventDefault(),e.currentTarget.click()),y.add(document,"keyup",x,!1)}),[r,f,c,a,o,y,x]),P=(0,U.useCallback)((e=>{null==u||u(e),r||e.defaultPrevented||e.metaKey||be(e.nativeEvent)&&!f&&o&&" "===e.key&&(e.preventDefault(),g(!1),e.currentTarget.click())}),[o,f,r,u]),C=(0,U.useCallback)((e=>{0===e.button&&(g(!1),y.remove(document,"mouseup",C,!1))}),[y]),A=(0,U.useCallback)((e=>{if(0===e.button){if(r)return e.stopPropagation(),void e.preventDefault();f||g(!0),e.currentTarget.focus({preventScroll:!0}),y.add(document,"mouseup",C,!1),null==i||i(e)}}),[r,f,i,y,C]),S=(0,U.useCallback)((e=>{0===e.button&&(f||g(!1),null==l||l(e))}),[l,f]),R=(0,U.useCallback)((e=>{r?e.preventDefault():null==p||p(e)}),[r,p]),M=(0,U.useCallback)((e=>{b&&(e.preventDefault(),g(!1)),null==m||m(e)}),[b,m]),T=fe(t,(e=>{e&&"BUTTON"!==e.tagName&&v(!1)}));return f?{...h,ref:T,type:"button","aria-disabled":k?void 0:r,disabled:k,onClick:w,onMouseDown:i,onMouseUp:l,onKeyUp:u,onKeyDown:c,onMouseOver:p,onMouseLeave:m}:{...h,ref:T,role:"button","data-active":de(b),"aria-disabled":r?"true":void 0,tabIndex:k?void 0:E,onClick:w,onMouseDown:A,onMouseUp:S,onKeyUp:P,onKeyDown:_,onMouseOver:R,onMouseLeave:M}}var ye=Object.defineProperty,Ee=(e,t,r)=>(((e,t,r)=>{t in e?ye(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r})(e,"symbol"!=typeof t?t+"":t,r),r);function ke(e){return e.sort(((e,t)=>{const r=e.compareDocumentPosition(t);if(r&Node.DOCUMENT_POSITION_FOLLOWING||r&Node.DOCUMENT_POSITION_CONTAINED_BY)return-1;if(r&Node.DOCUMENT_POSITION_PRECEDING||r&Node.DOCUMENT_POSITION_CONTAINS)return 1;if(r&Node.DOCUMENT_POSITION_DISCONNECTED||r&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC)throw Error("Cannot sort the given nodes.");return 0}))}function we(e,t,r){let n=e+1;return r&&n>=t&&(n=0),n}function xe(e,t,r){let n=e-1;return r&&n<0&&(n=t),n}var _e="undefined"!=typeof window?U.useLayoutEffect:U.useEffect,Pe=class{constructor(){Ee(this,"descendants",new Map),Ee(this,"register",(e=>{var t;if(null!=e)return"object"==typeof(t=e)&&"nodeType"in t&&t.nodeType===Node.ELEMENT_NODE?this.registerNode(e):t=>{this.registerNode(t,e)}})),Ee(this,"unregister",(e=>{this.descendants.delete(e);const t=ke(Array.from(this.descendants.keys()));this.assignIndex(t)})),Ee(this,"destroy",(()=>{this.descendants.clear()})),Ee(this,"assignIndex",(e=>{this.descendants.forEach((t=>{const r=e.indexOf(t.node);t.index=r,t.node.dataset.index=t.index.toString()}))})),Ee(this,"count",(()=>this.descendants.size)),Ee(this,"enabledCount",(()=>this.enabledValues().length)),Ee(this,"values",(()=>Array.from(this.descendants.values()).sort(((e,t)=>e.index-t.index)))),Ee(this,"enabledValues",(()=>this.values().filter((e=>!e.disabled)))),Ee(this,"item",(e=>{if(0!==this.count())return this.values()[e]})),Ee(this,"enabledItem",(e=>{if(0!==this.enabledCount())return this.enabledValues()[e]})),Ee(this,"first",(()=>this.item(0))),Ee(this,"firstEnabled",(()=>this.enabledItem(0))),Ee(this,"last",(()=>this.item(this.descendants.size-1))),Ee(this,"lastEnabled",(()=>{const e=this.enabledValues().length-1;return this.enabledItem(e)})),Ee(this,"indexOf",(e=>{var t,r;return e&&null!=(r=null==(t=this.descendants.get(e))?void 0:t.index)?r:-1})),Ee(this,"enabledIndexOf",(e=>null==e?-1:this.enabledValues().findIndex((t=>t.node.isSameNode(e))))),Ee(this,"next",((e,t=!0)=>{const r=we(e,this.count(),t);return this.item(r)})),Ee(this,"nextEnabled",((e,t=!0)=>{const r=this.item(e);if(!r)return;const n=we(this.enabledIndexOf(r.node),this.enabledCount(),t);return this.enabledItem(n)})),Ee(this,"prev",((e,t=!0)=>{const r=xe(e,this.count()-1,t);return this.item(r)})),Ee(this,"prevEnabled",((e,t=!0)=>{const r=this.item(e);if(!r)return;const n=xe(this.enabledIndexOf(r.node),this.enabledCount()-1,t);return this.enabledItem(n)})),Ee(this,"registerNode",((e,t)=>{if(!e||this.descendants.has(e))return;const r=ke(Array.from(this.descendants.keys()).concat(e));(null==t?void 0:t.disabled)&&(t.disabled=!!t.disabled);const n={node:e,index:-1,...t};this.descendants.set(e,n),this.assignIndex(r)}))}};function Ce(e={}){const{name:t,strict:r=!0,hookName:n="useContext",providerName:a="Provider",errorMessage:o,defaultValue:i}=e,l=(0,U.createContext)(i);return l.displayName=t,[l.Provider,function e(){var t;const i=(0,U.useContext)(l);if(!i&&r){const r=new Error(null!=o?o:`${n} returned \`undefined\`. Seems you forgot to wrap component within ${a}`);throw r.name="ContextError",null==(t=Error.captureStackTrace)||t.call(Error,r,e),r}return i},l]}var[Ae,Se]=Ce({name:"DescendantsProvider",errorMessage:"useDescendantsContext must be used within DescendantsProvider"});function Re(){return[Ae,()=>Se(),()=>function(){const e=(0,U.useRef)(new Pe);return _e((()=>()=>e.current.destroy())),e.current}(),e=>function(e){const t=Se(),[r,n]=(0,U.useState)(-1),a=(0,U.useRef)(null);_e((()=>()=>{a.current&&t.unregister(a.current)}),[]),_e((()=>{if(!a.current)return;const e=Number(a.current.dataset.index);r==e||Number.isNaN(e)||n(e)}));const o=e?t.register(e):t.register;return{descendants:t,index:r,enabledIndex:t.enabledIndexOf(a.current),register:fe(o,a)}}(e)]}function Me(e,t=[]){const r=(0,U.useRef)(e);return(0,U.useEffect)((()=>{r.current=e})),(0,U.useCallback)(((...e)=>{var t;return null==(t=r.current)?void 0:t.call(r,...e)}),t)}function Te(e){const{value:t,defaultValue:r,onChange:n,shouldUpdate:a=((e,t)=>e!==t)}=e,o=Me(n),i=Me(a),[l,s]=(0,U.useState)(r),c=void 0!==t,u=c?t:l,d=Me((e=>{const t="function"==typeof e?e(u):e;i(u,t)&&(c||s(t),o(t))}),[c,o,u,i]);return[u,d]}function Ie(e){return U.Children.toArray(e).filter((e=>(0,U.isValidElement)(e)))}function Oe(e){const{wasSelected:t,enabled:r,isSelected:n,mode:a="unmount"}=e;return!r||!!n||!("keepMounted"!==a||!t)}var[Le,De,Be,ze]=Re(),[Ne,Ve]=Ce({name:"TabsContext",errorMessage:"useTabsContext: `context` is undefined. Seems you forgot to wrap all tabs components within <Tabs />"}),[Fe,He]=Ce({});function je(e,t){return`${e}--tab-${t}`}function We(e,t){return`${e}--tabpanel-${t}`}function $e(e){return(0,U.forwardRef)(e)}var Ze=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{r.insertRule(e,r.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),Ue=Math.abs,Ge=String.fromCharCode,qe=Object.assign;function Ke(e){return e.trim()}function Ye(e,t,r){return e.replace(t,r)}function Xe(e,t){return e.indexOf(t)}function Qe(e,t){return 0|e.charCodeAt(t)}function Je(e,t,r){return e.slice(t,r)}function et(e){return e.length}function tt(e){return e.length}function rt(e,t){return t.push(e),e}var nt=1,at=1,ot=0,it=0,lt=0,st="";function ct(e,t,r,n,a,o,i){return{value:e,root:t,parent:r,type:n,props:a,children:o,line:nt,column:at,length:i,return:""}}function ut(e,t){return qe(ct("",null,null,"",null,null,0),e,{length:-e.length},t)}function dt(){return lt=it>0?Qe(st,--it):0,at--,10===lt&&(at=1,nt--),lt}function pt(){return lt=it<ot?Qe(st,it++):0,at++,10===lt&&(at=1,nt++),lt}function mt(){return Qe(st,it)}function ht(){return it}function ft(e,t){return Je(st,e,t)}function vt(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function bt(e){return nt=at=1,ot=et(st=e),it=0,[]}function gt(e){return st="",e}function yt(e){return Ke(ft(it-1,wt(91===e?e+2:40===e?e+1:e)))}function Et(e){for(;(lt=mt())&<<33;)pt();return vt(e)>2||vt(lt)>3?"":" "}function kt(e,t){for(;--t&&pt()&&!(lt<48||lt>102||lt>57&<<65||lt>70&<<97););return ft(e,ht()+(t<6&&32==mt()&&32==pt()))}function wt(e){for(;pt();)switch(lt){case e:return it;case 34:case 39:34!==e&&39!==e&&wt(lt);break;case 40:41===e&&wt(e);break;case 92:pt()}return it}function xt(e,t){for(;pt()&&e+lt!==57&&(e+lt!==84||47!==mt()););return"/*"+ft(t,it-1)+"*"+Ge(47===e?e:pt())}function _t(e){for(;!vt(mt());)pt();return ft(e,it)}var Pt="-ms-",Ct="-moz-",At="-webkit-",St="comm",Rt="rule",Mt="decl",Tt="@keyframes";function It(e,t){for(var r="",n=tt(e),a=0;a<n;a++)r+=t(e[a],a,e,t)||"";return r}function Ot(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Mt:return e.return=e.return||e.value;case St:return"";case Tt:return e.return=e.value+"{"+It(e.children,n)+"}";case Rt:e.value=e.props.join(",")}return et(r=It(e.children,n))?e.return=e.value+"{"+r+"}":""}function Lt(e){return gt(Dt("",null,null,null,[""],e=bt(e),0,[0],e))}function Dt(e,t,r,n,a,o,i,l,s){for(var c=0,u=0,d=i,p=0,m=0,h=0,f=1,v=1,b=1,g=0,y="",E=a,k=o,w=n,x=y;v;)switch(h=g,g=pt()){case 40:if(108!=h&&58==Qe(x,d-1)){-1!=Xe(x+=Ye(yt(g),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:x+=yt(g);break;case 9:case 10:case 13:case 32:x+=Et(h);break;case 92:x+=kt(ht()-1,7);continue;case 47:switch(mt()){case 42:case 47:rt(zt(xt(pt(),ht()),t,r),s);break;default:x+="/"}break;case 123*f:l[c++]=et(x)*b;case 125*f:case 59:case 0:switch(g){case 0:case 125:v=0;case 59+u:-1==b&&(x=Ye(x,/\f/g,"")),m>0&&et(x)-d&&rt(m>32?Nt(x+";",n,r,d-1):Nt(Ye(x," ","")+";",n,r,d-2),s);break;case 59:x+=";";default:if(rt(w=Bt(x,t,r,c,u,a,l,y,E=[],k=[],d),o),123===g)if(0===u)Dt(x,t,w,w,E,o,d,l,k);else switch(99===p&&110===Qe(x,3)?100:p){case 100:case 108:case 109:case 115:Dt(e,w,w,n&&rt(Bt(e,w,w,0,0,a,l,y,a,E=[],d),k),a,k,d,l,n?E:k);break;default:Dt(x,w,w,w,[""],k,0,l,k)}}c=u=m=0,f=b=1,y=x="",d=i;break;case 58:d=1+et(x),m=h;default:if(f<1)if(123==g)--f;else if(125==g&&0==f++&&125==dt())continue;switch(x+=Ge(g),g*f){case 38:b=u>0?1:(x+="\f",-1);break;case 44:l[c++]=(et(x)-1)*b,b=1;break;case 64:45===mt()&&(x+=yt(pt())),p=mt(),u=d=et(y=x+=_t(ht())),g++;break;case 45:45===h&&2==et(x)&&(f=0)}}return o}function Bt(e,t,r,n,a,o,i,l,s,c,u){for(var d=a-1,p=0===a?o:[""],m=tt(p),h=0,f=0,v=0;h<n;++h)for(var b=0,g=Je(e,d+1,d=Ue(f=i[h])),y=e;b<m;++b)(y=Ke(f>0?p[b]+" "+g:Ye(g,/&\f/g,p[b])))&&(s[v++]=y);return ct(e,t,r,0===a?Rt:l,s,c,u)}function zt(e,t,r){return ct(e,t,r,St,Ge(lt),Je(e,2,-2),0)}function Nt(e,t,r,n){return ct(e,t,r,Mt,Je(e,0,n),Je(e,n+1,-1),n)}var Vt=function(e,t,r){for(var n=0,a=0;n=a,a=mt(),38===n&&12===a&&(t[r]=1),!vt(a);)pt();return ft(e,it)},Ft=new WeakMap,Ht=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Ft.get(r))&&!n){Ft.set(e,!0);for(var a=[],o=function(e,t){return gt(function(e,t){var r=-1,n=44;do{switch(vt(n)){case 0:38===n&&12===mt()&&(t[r]=1),e[r]+=Vt(it-1,t,r);break;case 2:e[r]+=yt(n);break;case 4:if(44===n){e[++r]=58===mt()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=Ge(n)}}while(n=pt());return e}(bt(e),t))}(t,a),i=r.props,l=0,s=0;l<o.length;l++)for(var c=0;c<i.length;c++,s++)e.props[s]=a[l]?o[l].replace(/&\f/g,i[c]):i[c]+" "+o[l]}}},jt=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Wt(e,t){switch(function(e,t){return 45^Qe(e,0)?(((t<<2^Qe(e,0))<<2^Qe(e,1))<<2^Qe(e,2))<<2^Qe(e,3):0}(e,t)){case 5103:return At+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return At+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return At+e+Ct+e+Pt+e+e;case 6828:case 4268:return At+e+Pt+e+e;case 6165:return At+e+Pt+"flex-"+e+e;case 5187:return At+e+Ye(e,/(\w+).+(:[^]+)/,At+"box-$1$2"+Pt+"flex-$1$2")+e;case 5443:return At+e+Pt+"flex-item-"+Ye(e,/flex-|-self/,"")+e;case 4675:return At+e+Pt+"flex-line-pack"+Ye(e,/align-content|flex-|-self/,"")+e;case 5548:return At+e+Pt+Ye(e,"shrink","negative")+e;case 5292:return At+e+Pt+Ye(e,"basis","preferred-size")+e;case 6060:return At+"box-"+Ye(e,"-grow","")+At+e+Pt+Ye(e,"grow","positive")+e;case 4554:return At+Ye(e,/([^-])(transform)/g,"$1"+At+"$2")+e;case 6187:return Ye(Ye(Ye(e,/(zoom-|grab)/,At+"$1"),/(image-set)/,At+"$1"),e,"")+e;case 5495:case 3959:return Ye(e,/(image-set\([^]*)/,At+"$1$`$1");case 4968:return Ye(Ye(e,/(.+:)(flex-)?(.*)/,At+"box-pack:$3"+Pt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+At+e+e;case 4095:case 3583:case 4068:case 2532:return Ye(e,/(.+)-inline(.+)/,At+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(et(e)-1-t>6)switch(Qe(e,t+1)){case 109:if(45!==Qe(e,t+4))break;case 102:return Ye(e,/(.+:)(.+)-([^]+)/,"$1"+At+"$2-$3$1"+Ct+(108==Qe(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Xe(e,"stretch")?Wt(Ye(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Qe(e,t+1))break;case 6444:switch(Qe(e,et(e)-3-(~Xe(e,"!important")&&10))){case 107:return Ye(e,":",":"+At)+e;case 101:return Ye(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+At+(45===Qe(e,14)?"inline-":"")+"box$3$1"+At+"$2$3$1"+Pt+"$2box$3")+e}break;case 5936:switch(Qe(e,t+11)){case 114:return At+e+Pt+Ye(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return At+e+Pt+Ye(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return At+e+Pt+Ye(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return At+e+Pt+e+e}return e}var $t=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case Mt:e.return=Wt(e.value,e.length);break;case Tt:return It([ut(e,{value:Ye(e.value,"@","@"+At)})],n);case Rt:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return It([ut(e,{props:[Ye(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return It([ut(e,{props:[Ye(t,/:(plac\w+)/,":"+At+"input-$1")]}),ut(e,{props:[Ye(t,/:(plac\w+)/,":-moz-$1")]}),ut(e,{props:[Ye(t,/:(plac\w+)/,Pt+"input-$1")]})],n)}return""}))}}],Zt=function(e){var t=e.key;if("css"===t){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var n,a,o=e.stylisPlugins||$t,i={},l=[];n=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)i[t[r]]=!0;l.push(e)}));var s,c,u,d,p=[Ot,(d=function(e){s.insert(e)},function(e){e.root||(e=e.return)&&d(e)})],m=(c=[Ht,jt].concat(o,p),u=tt(c),function(e,t,r,n){for(var a="",o=0;o<u;o++)a+=c[o](e,t,r,n)||"";return a});a=function(e,t,r,n){s=r,function(e){It(Lt(e),m)}(e?e+"{"+t.styles+"}":t.styles),n&&(h.inserted[t.name]=!0)};var h={key:t,sheet:new Ze({key:t,container:n,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:a};return h.sheet.hydrate(l),h},Ut=r(5265),Gt=function(e){var t=new WeakMap;return function(r){if(t.has(r))return t.get(r);var n=e(r);return t.set(r,n),n}};function qt(e,t,r){var n="";return r.split(" ").forEach((function(r){void 0!==e[r]?t.push(e[r]+";"):n+=r+" "})),n}var Kt=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},Yt=function(e,t,r){Kt(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var a=t;do{e.insert(t===a?"."+n:"",a,e.sheet,!0),a=a.next}while(void 0!==a)}},Xt={animationIterationCount:1,aspectRatio: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};function Qt(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}var Jt=/[A-Z]|^ms/g,er=/_EMO_([^_]+?)_([^]*?)_EMO_/g,tr=function(e){return 45===e.charCodeAt(1)},rr=function(e){return null!=e&&"boolean"!=typeof e},nr=Qt((function(e){return tr(e)?e:e.replace(Jt,"-$&").toLowerCase()})),ar=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(er,(function(e,t,r){return ir={name:t,styles:r,next:ir},t}))}return 1===Xt[e]||tr(e)||"number"!=typeof t||0===t?t:t+"px"};function or(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return ir={name:r.name,styles:r.styles,next:ir},r.name;if(void 0!==r.styles){var n=r.next;if(void 0!==n)for(;void 0!==n;)ir={name:n.name,styles:n.styles,next:ir},n=n.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var a=0;a<r.length;a++)n+=or(e,t,r[a])+";";else for(var o in r){var i=r[o];if("object"!=typeof i)null!=t&&void 0!==t[i]?n+=o+"{"+t[i]+"}":rr(i)&&(n+=nr(o)+":"+ar(o,i)+";");else if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&void 0!==t[i[0]]){var l=or(e,t,i);switch(o){case"animation":case"animationName":n+=nr(o)+":"+l+";";break;default:n+=o+"{"+l+"}"}}else for(var s=0;s<i.length;s++)rr(i[s])&&(n+=nr(o)+":"+ar(o,i[s])+";")}return n}(e,t,r);case"function":if(void 0!==e){var a=ir,o=r(e);return ir=a,or(e,t,o)}}if(null==t)return r;var i=t[r];return void 0!==i?i:r}var ir,lr=/label:\s*([^\s;\n{]+)\s*(;|$)/g,sr=function(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,a="";ir=void 0;var o=e[0];null==o||void 0===o.raw?(n=!1,a+=or(r,t,o)):a+=o[0];for(var i=1;i<e.length;i++)a+=or(r,t,e[i]),n&&(a+=o[i]);lr.lastIndex=0;for(var l,s="";null!==(l=lr.exec(a));)s+="-"+l[1];var c=function(e){for(var t,r=0,n=0,a=e.length;a>=4;++n,a-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(a){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}(a)+s;return{name:c,styles:a,next:ir}},cr=!!U.useInsertionEffect&&U.useInsertionEffect,ur=cr||function(e){return e()},dr=cr||U.useLayoutEffect,pr={}.hasOwnProperty,mr=U.createContext("undefined"!=typeof HTMLElement?Zt({key:"css"}):null);mr.Provider;var hr=function(e){return(0,U.forwardRef)((function(t,r){var n=(0,U.useContext)(mr);return e(t,n,r)}))},fr=U.createContext({}),vr=Gt((function(e){return Gt((function(t){return function(e,t){return"function"==typeof t?t(e):(0,Ut.A)({},e,t)}(e,t)}))})),br=function(e){var t=U.useContext(fr);return e.theme!==t&&(t=vr(t)(e.theme)),U.createElement(fr.Provider,{value:t},e.children)},gr="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",yr=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return Kt(t,r,n),ur((function(){return Yt(t,r,n)})),null},Er=hr((function(e,t,r){var n=e.css;"string"==typeof n&&void 0!==t.registered[n]&&(n=t.registered[n]);var a=e[gr],o=[n],i="";"string"==typeof e.className?i=qt(t.registered,o,e.className):null!=e.className&&(i=e.className+" ");var l=sr(o,void 0,U.useContext(fr));i+=t.key+"-"+l.name;var s={};for(var c in e)pr.call(e,c)&&"css"!==c&&c!==gr&&(s[c]=e[c]);return s.ref=r,s.className=i,U.createElement(U.Fragment,null,U.createElement(yr,{cache:t,serialized:l,isStringTag:"string"==typeof a}),U.createElement(a,s))})),kr=Er;function wr(){const e=(0,U.useContext)(fr);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `<ChakraProvider />` or `<ThemeProvider />`");return e}var xr=(0,U.createContext)({});function _r(){const e=(0,U.useContext)(xr);if(void 0===e)throw new Error("useColorMode must be used within a ColorModeProvider");return e}function Pr(e,t,r){const n=Array.isArray(t)?t:[t],a=Array.isArray(r)?r:[r];return r=>{const o=a.filter(Boolean),i=n.map(((t,n)=>{var a,i;return"breakpoints"===e?function(e,t,r){var n,a;if(null==t)return t;const o=t=>{var r,n;return null==(n=null==(r=e.__breakpoints)?void 0:r.asArray)?void 0:n[t]};return null!=(a=null!=(n=o(t))?n:o(r))?a:r}(r,t,null!=(a=o[n])?a:t):function(e,t,r){var n,a;if(null==t)return t;const o=t=>{var r,n;return null==(n=null==(r=e.__cssMap)?void 0:r[t])?void 0:n.value};return null!=(a=null!=(n=o(t))?n:o(r))?a:r}(r,`${e}.${t}`,null!=(i=o[n])?i:t)}));return Array.isArray(t)?i:i[0]}}xr.displayName="ColorModeContext";var Cr=r(8061),Ar=e=>"string"==typeof e?e.replace(/!(important)?$/,"").trim():e,Sr=(e,t)=>r=>{const n=String(t),a=(e=>/!(important)?$/.test(e))(n),o=Ar(n),i=e?`${e}.${o}`:o;let l=le(r.__cssMap)&&i in r.__cssMap?r.__cssMap[i].varRef:t;return l=Ar(l),a?`${l} !important`:l};function Rr(e){const{scale:t,transform:r,compose:n}=e;return(e,a)=>{var o;const i=Sr(t,e)(a);let l=null!=(o=null==r?void 0:r(i,a))?o:i;return n&&(l=n(l,a)),l}}var Mr=(...e)=>t=>e.reduce(((e,t)=>t(e)),t);function Tr(e,t){return r=>{const n={property:r,scale:e};return n.transform=Rr({scale:e,transform:t}),n}}var Ir=({rtl:e,ltr:t})=>r=>"rtl"===r.direction?e:t,Or=["rotate(var(--chakra-rotate, 0))","scaleX(var(--chakra-scale-x, 1))","scaleY(var(--chakra-scale-y, 1))","skewX(var(--chakra-skew-x, 0))","skewY(var(--chakra-skew-y, 0))"],Lr={"--chakra-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-sepia":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-drop-shadow":"var(--chakra-empty,/*!*/ /*!*/)",filter:["var(--chakra-blur)","var(--chakra-brightness)","var(--chakra-contrast)","var(--chakra-grayscale)","var(--chakra-hue-rotate)","var(--chakra-invert)","var(--chakra-saturate)","var(--chakra-sepia)","var(--chakra-drop-shadow)"].join(" ")},Dr={backdropFilter:["var(--chakra-backdrop-blur)","var(--chakra-backdrop-brightness)","var(--chakra-backdrop-contrast)","var(--chakra-backdrop-grayscale)","var(--chakra-backdrop-hue-rotate)","var(--chakra-backdrop-invert)","var(--chakra-backdrop-opacity)","var(--chakra-backdrop-saturate)","var(--chakra-backdrop-sepia)"].join(" "),"--chakra-backdrop-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-opacity":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-sepia":"var(--chakra-empty,/*!*/ /*!*/)"},Br={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},zr={"to-t":"to top","to-tr":"to top right","to-r":"to right","to-br":"to bottom right","to-b":"to bottom","to-bl":"to bottom left","to-l":"to left","to-tl":"to top left"},Nr=new Set(Object.values(zr)),Vr=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),Fr=e=>e.trim(),Hr=e=>"string"==typeof e&&e.includes("(")&&e.includes(")"),jr=e=>t=>`${e}(${t})`,Wr={filter:e=>"auto"!==e?e:Lr,backdropFilter:e=>"auto"!==e?e:Dr,ring:e=>function(e){return{"--chakra-ring-offset-shadow":"var(--chakra-ring-inset) 0 0 0 var(--chakra-ring-offset-width) var(--chakra-ring-offset-color)","--chakra-ring-shadow":"var(--chakra-ring-inset) 0 0 0 calc(var(--chakra-ring-width) + var(--chakra-ring-offset-width)) var(--chakra-ring-color)","--chakra-ring-width":e,boxShadow:["var(--chakra-ring-offset-shadow)","var(--chakra-ring-shadow)","var(--chakra-shadow, 0 0 #0000)"].join(", ")}}(Wr.px(e)),bgClip:e=>"text"===e?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e},transform:e=>"auto"===e?["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))",...Or].join(" "):"auto-gpu"===e?["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",...Or].join(" "):e,vh:e=>"$100vh"===e?"var(--chakra-vh)":e,px(e){if(null==e)return e;const{unitless:t}=(e=>{const t=parseFloat(e.toString()),r=e.toString().replace(String(t),"");return{unitless:!r,value:t,unit:r}})(e);return t||"number"==typeof e?`${e}px`:e},fraction:e=>"number"!=typeof e||e>1?e:100*e+"%",float:(e,t)=>"rtl"===t.direction?{left:"right",right:"left"}[e]:e,degree(e){if(function(e){return/^var\(--.+\)$/.test(e)}(e)||null==e)return e;const t="string"==typeof e&&!e.endsWith("deg");return"number"==typeof e||t?`${e}deg`:e},gradient:(e,t)=>function(e,t){if(null==e||Vr.has(e))return e;if(!Hr(e)&&!Vr.has(e))return`url('${e}')`;const r=/(^[a-z-A-Z]+)\((.*)\)/g.exec(e),n=null==r?void 0:r[1],a=null==r?void 0:r[2];if(!n||!a)return e;const o=n.includes("-gradient")?n:`${n}-gradient`,[i,...l]=a.split(",").map(Fr).filter(Boolean);if(0===(null==l?void 0:l.length))return e;const s=i in zr?zr[i]:i;return l.unshift(s),`${o}(${l.map((e=>{if(Nr.has(e))return e;const r=e.indexOf(" "),[n,a]=-1!==r?[e.substr(0,r),e.substr(r+1)]:[e],o=Hr(a)?a:a&&a.split(" "),i=`colors.${n}`,l=i in t.__cssMap?t.__cssMap[i].varRef:n;return o?[l,...Array.isArray(o)?o:[o]].join(" "):l})).join(", ")})`}(e,null!=t?t:{}),blur:jr("blur"),opacity:jr("opacity"),brightness:jr("brightness"),contrast:jr("contrast"),dropShadow:jr("drop-shadow"),grayscale:jr("grayscale"),hueRotate:e=>jr("hue-rotate")(Wr.degree(e)),invert:jr("invert"),saturate:jr("saturate"),sepia:jr("sepia"),bgImage:e=>null==e||Hr(e)||Vr.has(e)?e:`url(${e})`,outline(e){const t="0"===String(e)||"none"===String(e);return null!==e&&t?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:e}},flexDirection(e){var t;const{space:r,divide:n}=null!=(t=Br[e])?t:{},a={flexDirection:e};return r&&(a[r]=1),n&&(a[n]=1),a}},$r={borderWidths:Tr("borderWidths"),borderStyles:Tr("borderStyles"),colors:Tr("colors"),borders:Tr("borders"),gradients:Tr("gradients",Wr.gradient),radii:Tr("radii",Wr.px),space:Tr("space",Mr(Wr.vh,Wr.px)),spaceT:Tr("space",Mr(Wr.vh,Wr.px)),degreeT:e=>({property:e,transform:Wr.degree}),prop:(e,t,r)=>({property:e,scale:t,...t&&{transform:Rr({scale:t,transform:r})}}),propT:(e,t)=>({property:e,transform:t}),sizes:Tr("sizes",Mr(Wr.vh,Wr.px)),sizesT:Tr("sizes",Mr(Wr.vh,Wr.fraction)),shadows:Tr("shadows"),logical:function(e){const{property:t,scale:r,transform:n}=e;return{scale:r,property:Ir(t),transform:r?Rr({scale:r,compose:n}):n}},blur:Tr("blur",Wr.blur)},Zr={background:$r.colors("background"),backgroundColor:$r.colors("backgroundColor"),backgroundImage:$r.gradients("backgroundImage"),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:Wr.bgClip},bgSize:$r.prop("backgroundSize"),bgPosition:$r.prop("backgroundPosition"),bg:$r.colors("background"),bgColor:$r.colors("backgroundColor"),bgPos:$r.prop("backgroundPosition"),bgRepeat:$r.prop("backgroundRepeat"),bgAttachment:$r.prop("backgroundAttachment"),bgGradient:$r.gradients("backgroundImage"),bgClip:{transform:Wr.bgClip}};Object.assign(Zr,{bgImage:Zr.backgroundImage,bgImg:Zr.backgroundImage});var Ur={border:$r.borders("border"),borderWidth:$r.borderWidths("borderWidth"),borderStyle:$r.borderStyles("borderStyle"),borderColor:$r.colors("borderColor"),borderRadius:$r.radii("borderRadius"),borderTop:$r.borders("borderTop"),borderBlockStart:$r.borders("borderBlockStart"),borderTopLeftRadius:$r.radii("borderTopLeftRadius"),borderStartStartRadius:$r.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:$r.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:$r.radii("borderTopRightRadius"),borderStartEndRadius:$r.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:$r.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:$r.borders("borderRight"),borderInlineEnd:$r.borders("borderInlineEnd"),borderBottom:$r.borders("borderBottom"),borderBlockEnd:$r.borders("borderBlockEnd"),borderBottomLeftRadius:$r.radii("borderBottomLeftRadius"),borderBottomRightRadius:$r.radii("borderBottomRightRadius"),borderLeft:$r.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:$r.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:$r.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:$r.borders(["borderLeft","borderRight"]),borderInline:$r.borders("borderInline"),borderY:$r.borders(["borderTop","borderBottom"]),borderBlock:$r.borders("borderBlock"),borderTopWidth:$r.borderWidths("borderTopWidth"),borderBlockStartWidth:$r.borderWidths("borderBlockStartWidth"),borderTopColor:$r.colors("borderTopColor"),borderBlockStartColor:$r.colors("borderBlockStartColor"),borderTopStyle:$r.borderStyles("borderTopStyle"),borderBlockStartStyle:$r.borderStyles("borderBlockStartStyle"),borderBottomWidth:$r.borderWidths("borderBottomWidth"),borderBlockEndWidth:$r.borderWidths("borderBlockEndWidth"),borderBottomColor:$r.colors("borderBottomColor"),borderBlockEndColor:$r.colors("borderBlockEndColor"),borderBottomStyle:$r.borderStyles("borderBottomStyle"),borderBlockEndStyle:$r.borderStyles("borderBlockEndStyle"),borderLeftWidth:$r.borderWidths("borderLeftWidth"),borderInlineStartWidth:$r.borderWidths("borderInlineStartWidth"),borderLeftColor:$r.colors("borderLeftColor"),borderInlineStartColor:$r.colors("borderInlineStartColor"),borderLeftStyle:$r.borderStyles("borderLeftStyle"),borderInlineStartStyle:$r.borderStyles("borderInlineStartStyle"),borderRightWidth:$r.borderWidths("borderRightWidth"),borderInlineEndWidth:$r.borderWidths("borderInlineEndWidth"),borderRightColor:$r.colors("borderRightColor"),borderInlineEndColor:$r.colors("borderInlineEndColor"),borderRightStyle:$r.borderStyles("borderRightStyle"),borderInlineEndStyle:$r.borderStyles("borderInlineEndStyle"),borderTopRadius:$r.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:$r.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:$r.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:$r.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(Ur,{rounded:Ur.borderRadius,roundedTop:Ur.borderTopRadius,roundedTopLeft:Ur.borderTopLeftRadius,roundedTopRight:Ur.borderTopRightRadius,roundedTopStart:Ur.borderStartStartRadius,roundedTopEnd:Ur.borderStartEndRadius,roundedBottom:Ur.borderBottomRadius,roundedBottomLeft:Ur.borderBottomLeftRadius,roundedBottomRight:Ur.borderBottomRightRadius,roundedBottomStart:Ur.borderEndStartRadius,roundedBottomEnd:Ur.borderEndEndRadius,roundedLeft:Ur.borderLeftRadius,roundedRight:Ur.borderRightRadius,roundedStart:Ur.borderInlineStartRadius,roundedEnd:Ur.borderInlineEndRadius,borderStart:Ur.borderInlineStart,borderEnd:Ur.borderInlineEnd,borderTopStartRadius:Ur.borderStartStartRadius,borderTopEndRadius:Ur.borderStartEndRadius,borderBottomStartRadius:Ur.borderEndStartRadius,borderBottomEndRadius:Ur.borderEndEndRadius,borderStartRadius:Ur.borderInlineStartRadius,borderEndRadius:Ur.borderInlineEndRadius,borderStartWidth:Ur.borderInlineStartWidth,borderEndWidth:Ur.borderInlineEndWidth,borderStartColor:Ur.borderInlineStartColor,borderEndColor:Ur.borderInlineEndColor,borderStartStyle:Ur.borderInlineStartStyle,borderEndStyle:Ur.borderInlineEndStyle});var Gr={color:$r.colors("color"),textColor:$r.colors("color"),fill:$r.colors("fill"),stroke:$r.colors("stroke")},qr={boxShadow:$r.shadows("boxShadow"),mixBlendMode:!0,blendMode:$r.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:$r.prop("backgroundBlendMode"),opacity:!0};Object.assign(qr,{shadow:qr.boxShadow});var Kr={filter:{transform:Wr.filter},blur:$r.blur("--chakra-blur"),brightness:$r.propT("--chakra-brightness",Wr.brightness),contrast:$r.propT("--chakra-contrast",Wr.contrast),hueRotate:$r.propT("--chakra-hue-rotate",Wr.hueRotate),invert:$r.propT("--chakra-invert",Wr.invert),saturate:$r.propT("--chakra-saturate",Wr.saturate),dropShadow:$r.propT("--chakra-drop-shadow",Wr.dropShadow),backdropFilter:{transform:Wr.backdropFilter},backdropBlur:$r.blur("--chakra-backdrop-blur"),backdropBrightness:$r.propT("--chakra-backdrop-brightness",Wr.brightness),backdropContrast:$r.propT("--chakra-backdrop-contrast",Wr.contrast),backdropHueRotate:$r.propT("--chakra-backdrop-hue-rotate",Wr.hueRotate),backdropInvert:$r.propT("--chakra-backdrop-invert",Wr.invert),backdropSaturate:$r.propT("--chakra-backdrop-saturate",Wr.saturate)},Yr={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:Wr.flexDirection},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:$r.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:$r.space("gap"),rowGap:$r.space("rowGap"),columnGap:$r.space("columnGap")};Object.assign(Yr,{flexDir:Yr.flexDirection});var Xr={gridGap:$r.space("gridGap"),gridColumnGap:$r.space("gridColumnGap"),gridRowGap:$r.space("gridRowGap"),gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridColumnStart:!0,gridColumnEnd:!0,gridRowStart:!0,gridRowEnd:!0,gridAutoRows:!0,gridTemplate:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0},Qr={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:Wr.outline},outlineOffset:!0,outlineColor:$r.colors("outlineColor")},Jr={width:$r.sizesT("width"),inlineSize:$r.sizesT("inlineSize"),height:$r.sizes("height"),blockSize:$r.sizes("blockSize"),boxSize:$r.sizes(["width","height"]),minWidth:$r.sizes("minWidth"),minInlineSize:$r.sizes("minInlineSize"),minHeight:$r.sizes("minHeight"),minBlockSize:$r.sizes("minBlockSize"),maxWidth:$r.sizes("maxWidth"),maxInlineSize:$r.sizes("maxInlineSize"),maxHeight:$r.sizes("maxHeight"),maxBlockSize:$r.sizes("maxBlockSize"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,aspectRatio:!0,hideFrom:{scale:"breakpoints",transform:(e,t)=>{var r,n,a;const o=`@media screen and (min-width: ${null!=(a=null==(n=null==(r=t.__breakpoints)?void 0:r.get(e))?void 0:n.minW)?a:e})`;return{[o]:{display:"none"}}}},hideBelow:{scale:"breakpoints",transform:(e,t)=>{var r,n,a;const o=`@media screen and (max-width: ${null!=(a=null==(n=null==(r=t.__breakpoints)?void 0:r.get(e))?void 0:n._minW)?a:e})`;return{[o]:{display:"none"}}}},verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:$r.propT("float",Wr.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(Jr,{w:Jr.width,h:Jr.height,minW:Jr.minWidth,maxW:Jr.maxWidth,minH:Jr.minHeight,maxH:Jr.maxHeight,overscroll:Jr.overscrollBehavior,overscrollX:Jr.overscrollBehaviorX,overscrollY:Jr.overscrollBehaviorY});var en={listStyleType:!0,listStylePosition:!0,listStylePos:$r.prop("listStylePosition"),listStyleImage:!0,listStyleImg:$r.prop("listStyleImage")},tn=(e=>{const t=new WeakMap;return(r,n,a,o)=>{if(void 0===r)return e(r,n,a);t.has(r)||t.set(r,new Map);const i=t.get(r);if(i.has(n))return i.get(n);const l=e(r,n,a,o);return i.set(n,l),l}})((function(e,t,r,n){const a="string"==typeof t?t.split("."):[t];for(n=0;n<a.length&&e;n+=1)e=e[a[n]];return void 0===e?r:e})),rn={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},nn={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},an=(e,t,r)=>{const n={},a=tn(e,t,{});for(const e in a)e in r&&null!=r[e]||(n[e]=a[e]);return n},on={srOnly:{transform:e=>!0===e?rn:"focusable"===e?nn:{}},layerStyle:{processResult:!0,transform:(e,t,r)=>an(t,`layerStyles.${e}`,r)},textStyle:{processResult:!0,transform:(e,t,r)=>an(t,`textStyles.${e}`,r)},apply:{processResult:!0,transform:(e,t,r)=>an(t,e,r)}},ln={position:!0,pos:$r.prop("position"),zIndex:$r.prop("zIndex","zIndices"),inset:$r.spaceT("inset"),insetX:$r.spaceT(["left","right"]),insetInline:$r.spaceT("insetInline"),insetY:$r.spaceT(["top","bottom"]),insetBlock:$r.spaceT("insetBlock"),top:$r.spaceT("top"),insetBlockStart:$r.spaceT("insetBlockStart"),bottom:$r.spaceT("bottom"),insetBlockEnd:$r.spaceT("insetBlockEnd"),left:$r.spaceT("left"),insetInlineStart:$r.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:$r.spaceT("right"),insetInlineEnd:$r.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(ln,{insetStart:ln.insetInlineStart,insetEnd:ln.insetInlineEnd});var sn={ring:{transform:Wr.ring},ringColor:$r.colors("--chakra-ring-color"),ringOffset:$r.prop("--chakra-ring-offset-width"),ringOffsetColor:$r.colors("--chakra-ring-offset-color"),ringInset:$r.prop("--chakra-ring-inset")},cn={margin:$r.spaceT("margin"),marginTop:$r.spaceT("marginTop"),marginBlockStart:$r.spaceT("marginBlockStart"),marginRight:$r.spaceT("marginRight"),marginInlineEnd:$r.spaceT("marginInlineEnd"),marginBottom:$r.spaceT("marginBottom"),marginBlockEnd:$r.spaceT("marginBlockEnd"),marginLeft:$r.spaceT("marginLeft"),marginInlineStart:$r.spaceT("marginInlineStart"),marginX:$r.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:$r.spaceT("marginInline"),marginY:$r.spaceT(["marginTop","marginBottom"]),marginBlock:$r.spaceT("marginBlock"),padding:$r.space("padding"),paddingTop:$r.space("paddingTop"),paddingBlockStart:$r.space("paddingBlockStart"),paddingRight:$r.space("paddingRight"),paddingBottom:$r.space("paddingBottom"),paddingBlockEnd:$r.space("paddingBlockEnd"),paddingLeft:$r.space("paddingLeft"),paddingInlineStart:$r.space("paddingInlineStart"),paddingInlineEnd:$r.space("paddingInlineEnd"),paddingX:$r.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:$r.space("paddingInline"),paddingY:$r.space(["paddingTop","paddingBottom"]),paddingBlock:$r.space("paddingBlock")};Object.assign(cn,{m:cn.margin,mt:cn.marginTop,mr:cn.marginRight,me:cn.marginInlineEnd,marginEnd:cn.marginInlineEnd,mb:cn.marginBottom,ml:cn.marginLeft,ms:cn.marginInlineStart,marginStart:cn.marginInlineStart,mx:cn.marginX,my:cn.marginY,p:cn.padding,pt:cn.paddingTop,py:cn.paddingY,px:cn.paddingX,pb:cn.paddingBottom,pl:cn.paddingLeft,ps:cn.paddingInlineStart,paddingStart:cn.paddingInlineStart,pr:cn.paddingRight,pe:cn.paddingInlineEnd,paddingEnd:cn.paddingInlineEnd});var un={textDecorationColor:$r.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:$r.shadows("textShadow")},dn={clipPath:!0,transform:$r.propT("transform",Wr.transform),transformOrigin:!0,translateX:$r.spaceT("--chakra-translate-x"),translateY:$r.spaceT("--chakra-translate-y"),skewX:$r.degreeT("--chakra-skew-x"),skewY:$r.degreeT("--chakra-skew-y"),scaleX:$r.prop("--chakra-scale-x"),scaleY:$r.prop("--chakra-scale-y"),scale:$r.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:$r.degreeT("--chakra-rotate")},pn={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:$r.prop("transitionDuration","transition.duration"),transitionProperty:$r.prop("transitionProperty","transition.property"),transitionTimingFunction:$r.prop("transitionTimingFunction","transition.easing")},mn={fontFamily:$r.prop("fontFamily","fonts"),fontSize:$r.prop("fontSize","fontSizes",Wr.px),fontWeight:$r.prop("fontWeight","fontWeights"),lineHeight:$r.prop("lineHeight","lineHeights"),letterSpacing:$r.prop("letterSpacing","letterSpacings"),textAlign:!0,fontStyle:!0,textIndent:!0,wordBreak:!0,overflowWrap:!0,textOverflow:!0,textTransform:!0,whiteSpace:!0,isTruncated:{transform(e){if(!0===e)return{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}},noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"},property:"--chakra-line-clamp"}},hn={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:$r.spaceT("scrollMargin"),scrollMarginTop:$r.spaceT("scrollMarginTop"),scrollMarginBottom:$r.spaceT("scrollMarginBottom"),scrollMarginLeft:$r.spaceT("scrollMarginLeft"),scrollMarginRight:$r.spaceT("scrollMarginRight"),scrollMarginX:$r.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:$r.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:$r.spaceT("scrollPadding"),scrollPaddingTop:$r.spaceT("scrollPaddingTop"),scrollPaddingBottom:$r.spaceT("scrollPaddingBottom"),scrollPaddingLeft:$r.spaceT("scrollPaddingLeft"),scrollPaddingRight:$r.spaceT("scrollPaddingRight"),scrollPaddingX:$r.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:$r.spaceT(["scrollPaddingTop","scrollPaddingBottom"])};function fn(e){return le(e)&&e.reference?e.reference:String(e)}var vn=(e,...t)=>t.map(fn).join(` ${e} `).replace(/calc/g,""),bn=(...e)=>`calc(${vn("+",...e)})`,gn=(...e)=>`calc(${vn("-",...e)})`,yn=(...e)=>`calc(${vn("*",...e)})`,En=(...e)=>`calc(${vn("/",...e)})`,kn=e=>{const t=fn(e);return null==t||Number.isNaN(parseFloat(t))?yn(t,-1):String(t).startsWith("-")?String(t).slice(1):`-${t}`},wn=Object.assign((e=>({add:(...t)=>wn(bn(e,...t)),subtract:(...t)=>wn(gn(e,...t)),multiply:(...t)=>wn(yn(e,...t)),divide:(...t)=>wn(En(e,...t)),negate:()=>wn(kn(e)),toString:()=>e.toString()})),{add:bn,subtract:gn,multiply:yn,divide:En,negate:kn});function xn(e,t){return`var(${e}${t?`, ${t}`:""})`}function _n(e,t=""){return function(e){return function(e){return e.replace(/[!-,/:-@[-^`{-~]/g,"\\$&")}(function(e){return e.includes("\\.")||Number.isInteger(parseFloat(e.toString()))?e:e.replace(".","\\.")}(function(e,t="-"){return e.replace(/\s+/g,t)}(e.toString())))}(`--${function(e,t=""){return[t,e].filter(Boolean).join("-")}(e,t)}`)}function Pn(e,t,r){const n=_n(e,r);return{variable:n,reference:xn(n,t)}}function Cn(e){const t=null==e?0:e.length;return t?e[t-1]:void 0}function An(e){if(null==e)return e;const{unitless:t}=function(e){const t=parseFloat(e.toString()),r=e.toString().replace(String(t),"");return{unitless:!r,value:t,unit:r}}(e);return t||"number"==typeof e?`${e}px`:e}var Sn=(e,t)=>parseInt(e[1],10)>parseInt(t[1],10)?1:-1,Rn=e=>Object.fromEntries(Object.entries(e).sort(Sn));function Mn(e){const t=Rn(e);return Object.assign(Object.values(t),t)}function Tn(e){var t;return e?"number"==typeof(e=null!=(t=An(e))?t:e)?`${e+-.02}`:e.replace(/(\d+\.?\d*)/u,(e=>`${parseFloat(e)+-.02}`)):e}function In(e,t){const r=["@media screen"];return e&&r.push("and",`(min-width: ${An(e)})`),t&&r.push("and",`(max-width: ${An(t)})`),r.join(" ")}function On(e){var t;if(!e)return null;e.base=null!=(t=e.base)?t:"0px";const r=Mn(e),n=Object.entries(e).sort(Sn).map((([e,t],r,n)=>{var a;let[,o]=null!=(a=n[r+1])?a:[];return o=parseFloat(o)>0?Tn(o):void 0,{_minW:Tn(t),breakpoint:e,minW:t,maxW:o,maxWQuery:In(null,o),minWQuery:In(t),minMaxQuery:In(t,o)}})),a=function(e){const t=Object.keys(Rn(e));return new Set(t)}(e),o=Array.from(a.values());return{keys:a,normalized:r,isResponsive(e){const t=Object.keys(e);return t.length>0&&t.every((e=>a.has(e)))},asObject:Rn(e),asArray:Mn(e),details:n,get:e=>n.find((t=>t.breakpoint===e)),media:[null,...r.map((e=>In(e))).slice(1)],toArrayValue(e){if(!le(e))throw new Error("toArrayValue: value must be an object");const t=o.map((t=>{var r;return null!=(r=e[t])?r:null}));for(;null===Cn(t);)t.pop();return t},toObjectValue(e){if(!Array.isArray(e))throw new Error("toObjectValue: value must be an array");return e.reduce(((e,t,r)=>{const n=o[r];return null!=n&&null!=t&&(e[n]=t),e}),{})}}}var Ln=(e,t)=>`${e}:hover ${t}, ${e}[data-hover] ${t}`,Dn=(e,t)=>`${e}:focus ${t}, ${e}[data-focus] ${t}`,Bn=(e,t)=>`${e}:focus-visible ${t}`,zn=(e,t)=>`${e}:focus-within ${t}`,Nn=(e,t)=>`${e}:active ${t}, ${e}[data-active] ${t}`,Vn=(e,t)=>`${e}:disabled ${t}, ${e}[data-disabled] ${t}`,Fn=(e,t)=>`${e}:invalid ${t}, ${e}[data-invalid] ${t}`,Hn=(e,t)=>`${e}:checked ${t}, ${e}[data-checked] ${t}`,jn=e=>$n((t=>e(t,"&")),"[role=group]","[data-group]",".group"),Wn=e=>$n((t=>e(t,"~ &")),"[data-peer]",".peer"),$n=(e,...t)=>t.map(e).join(", "),Zn={_hover:"&:hover, &[data-hover]",_active:"&:active, &[data-active]",_focus:"&:focus, &[data-focus]",_highlighted:"&[data-highlighted]",_focusWithin:"&:focus-within",_focusVisible:"&:focus-visible, &[data-focus-visible]",_disabled:"&:disabled, &[disabled], &[aria-disabled=true], &[data-disabled]",_readOnly:"&[aria-readonly=true], &[readonly], &[data-readonly]",_before:"&::before",_after:"&::after",_empty:"&:empty",_expanded:"&[aria-expanded=true], &[data-expanded]",_checked:"&[aria-checked=true], &[data-checked]",_grabbed:"&[aria-grabbed=true], &[data-grabbed]",_pressed:"&[aria-pressed=true], &[data-pressed]",_invalid:"&[aria-invalid=true], &[data-invalid]",_valid:"&[data-valid], &[data-state=valid]",_loading:"&[data-loading], &[aria-busy=true]",_selected:"&[aria-selected=true], &[data-selected]",_hidden:"&[hidden], &[data-hidden]",_autofill:"&:-webkit-autofill",_even:"&:nth-of-type(even)",_odd:"&:nth-of-type(odd)",_first:"&:first-of-type",_firstLetter:"&::first-letter",_last:"&:last-of-type",_notFirst:"&:not(:first-of-type)",_notLast:"&:not(:last-of-type)",_visited:"&:visited",_activeLink:"&[aria-current=page]",_activeStep:"&[aria-current=step]",_indeterminate:"&:indeterminate, &[aria-checked=mixed], &[data-indeterminate]",_groupHover:jn(Ln),_peerHover:Wn(Ln),_groupFocus:jn(Dn),_peerFocus:Wn(Dn),_groupFocusVisible:jn(Bn),_peerFocusVisible:Wn(Bn),_groupActive:jn(Nn),_peerActive:Wn(Nn),_groupDisabled:jn(Vn),_peerDisabled:Wn(Vn),_groupInvalid:jn(Fn),_peerInvalid:Wn(Fn),_groupChecked:jn(Hn),_peerChecked:Wn(Hn),_groupFocusWithin:jn(zn),_peerFocusWithin:Wn(zn),_peerPlaceholderShown:Wn(((e,t)=>`${e}:placeholder-shown ${t}`)),_placeholder:"&::placeholder",_placeholderShown:"&:placeholder-shown",_fullScreen:"&:fullscreen",_selection:"&::selection",_rtl:"[dir=rtl] &, &[dir=rtl]",_ltr:"[dir=ltr] &, &[dir=ltr]",_mediaDark:"@media (prefers-color-scheme: dark)",_mediaReduceMotion:"@media (prefers-reduced-motion: reduce)",_dark:".chakra-ui-dark &:not([data-theme]),[data-theme=dark] &:not([data-theme]),&[data-theme=dark]",_light:".chakra-ui-light &:not([data-theme]),[data-theme=light] &:not([data-theme]),&[data-theme=light]",_horizontal:"&[data-orientation=horizontal]",_vertical:"&[data-orientation=vertical]"},Un=Object.keys(Zn);function Gn(e,t){return Pn(String(e).replace(/\./g,"-"),void 0,t)}function qn(e,t,r={}){const{stop:n,getKey:a}=r;return function e(r,o=[]){var i;if(function(e){return"object"==typeof e&&null!=e&&!Array.isArray(e)}(r)||Array.isArray(r)){const l={};for(const[s,c]of Object.entries(r)){const u=null!=(i=null==a?void 0:a(s))?i:s,d=[...o,u];if(null==n?void 0:n(r,d))return t(r,o);l[u]=e(c,d)}return l}return t(r,o)}(e)}var Kn=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","gradients","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur","breakpoints"],Yn=e=>Un.includes(e)||"default"===e;var Xn=Cr({},Zr,Ur,Gr,Yr,Jr,Kr,sn,Qr,Xr,on,ln,qr,cn,hn,mn,un,dn,en,pn),Qn=Object.assign({},cn,Jr,Yr,Xr,ln),Jn=Object.keys(Qn),ea=[...Object.keys(Xn),...Un],ta={...Xn,...Zn},ra=e=>e in ta,na=(e,t)=>e.startsWith("--")&&"string"==typeof t&&!function(e){return/^var\(--.+\)$/.test(e)}(t),aa=(e,t)=>{var r,n;if(null==t)return t;const a=t=>{var r,n;return null==(n=null==(r=e.__cssMap)?void 0:r[t])?void 0:n.varRef},o=e=>{var t;return null!=(t=a(e))?t:e},[i,l]=function(e){const t=[];let r="",n=!1;for(let a=0;a<e.length;a++){const o=e[a];"("===o?(n=!0,r+=o):")"===o?(n=!1,r+=o):","!==o||n?r+=o:(t.push(r),r="")}return r=r.trim(),r&&t.push(r),t}(t);return null!=(n=null!=(r=a(i))?r:o(l))?n:o(t)};var oa=e=>t=>function(e){const{configs:t={},pseudos:r={},theme:n}=e,a=(e,o=!1)=>{var i,l,s;const c=ce(e,n),u=(e=>t=>{if(!t.__breakpoints)return e;const{isResponsive:r,toArrayValue:n,media:a}=t.__breakpoints,o={};for(const i in e){let l=ce(e[i],t);if(null==l)continue;if(l=le(l)&&r(l)?n(l):l,!Array.isArray(l)){o[i]=l;continue}const s=l.slice(0,a.length).length;for(let e=0;e<s;e+=1){const t=null==a?void 0:a[e];t?(o[t]=o[t]||{},null!=l[e]&&(o[t][i]=l[e])):o[i]=l[e]}}return o})(c)(n);let d={};for(let e in u){let p=ce(u[e],n);e in r&&(e=r[e]),na(e,p)&&(p=aa(n,p));let m=t[e];if(!0===m&&(m={property:e}),le(p)){d[e]=null!=(i=d[e])?i:{},d[e]=Cr({},d[e],a(p,!0));continue}let h=null!=(s=null==(l=null==m?void 0:m.transform)?void 0:l.call(m,p,n,c))?s:p;h=(null==m?void 0:m.processResult)?a(h,!0):h;const f=ce(null==m?void 0:m.property,n);if(!o&&(null==m?void 0:m.static)){const e=ce(m.static,n);d=Cr({},d,e)}if(f&&Array.isArray(f))for(const e of f)d[e]=h;else f?"&"===f&&le(h)?d=Cr({},d,h):d[f]=h:le(h)?d=Cr({},d,h):d[e]=h}return d};return a}({theme:t,pseudos:Zn,configs:Xn})(e);function ia(e){return{definePartsStyle:e=>e,defineMultiStyleConfig:t=>({parts:e,...t})}}function la(e,t){for(let r=t+1;r<e.length;r++)if(null!=e[r])return r;return-1}function sa(e){return function(e,t=[]){const r=Object.assign({},e);for(const e of t)e in r&&delete r[e];return r}(e,["styleConfig","size","variant","colorScheme"])}var ca=(e=>{const t=new WeakMap;return(r,n,a,o)=>{if(void 0===r)return e(r,n,a);t.has(r)||t.set(r,new Map);const i=t.get(r);if(i.has(n))return i.get(n);const l=e(r,n,a,o);return i.set(n,l),l}})((function(e,t,r,n){const a="string"==typeof t?t.split("."):[t];for(n=0;n<a.length&&e;n+=1)e=e[a[n]];return void 0===e?r:e}));function ua(e,t){const r={};return Object.keys(e).forEach((n=>{const a=e[n];t(a,n,e)&&(r[n]=a)})),r}var da=e=>ua(e,(e=>null!=e)),pa=r(4072);function ma(e,t={}){var r;const{styleConfig:n,...a}=t,{theme:o,colorMode:i}={..._r(),theme:wr()},l=e?ca(o,`components.${e}`):void 0,s=n||l,c=Cr({theme:o,colorMode:i},null!=(r=null==s?void 0:s.defaultProps)?r:{},da(function(e,t){const r={};return Object.keys(e).forEach((n=>{t.includes(n)||(r[n]=e[n])})),r}(a,["children"]))),u=(0,U.useRef)({});if(s){const e=function(e){return t=>{var r;const{variant:n,size:a,theme:o}=t,i=function(e){const t=e.__breakpoints;return function(e,r,n,a){var o,i;if(!t)return;const l={},s=function(e,t){return Array.isArray(e)?e:le(e)?t(e):null!=e?[e]:void 0}(n,t.toArrayValue);if(!s)return l;const c=s.length,u=1===c,d=!!e.parts;for(let n=0;n<c;n++){const c=t.details[n],p=t.details[la(s,n)],m=In(c.minW,null==p?void 0:p._minW),h=ce(null==(o=e[r])?void 0:o[s[n]],a);h&&(d?null==(i=e.parts)||i.forEach((e=>{Cr(l,{[e]:u?h[e]:{[m]:h[e]}})})):d?l[m]=h:u?Cr(l,h):l[m]=h)}return l}}(o);return Cr({},ce(null!=(r=e.baseStyle)?r:{},t),i(e,"sizes",a,t),i(e,"variants",n,t))}}(s),t=e(c);pa(u.current,t)||(u.current=t)}return u.current}function ha(e,t={}){return ma(e,t)}function fa(e,t={}){return ma(e,t)}var va=new Set([...ea,"textStyle","layerStyle","apply","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"]),ba=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function ga(e){return ba.has(e)||!va.has(e)}var ya,Ea=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|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|disableRemotePlayback|download|draggable|encType|enterKeyHint|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|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|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)-.*))$/,ka=Qt((function(e){return Ea.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),wa=function(e){return"theme"!==e},xa=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?ka:wa},_a=function(e,t,r){var n;if(t){var a=t.shouldForwardProp;n=e.__emotion_forwardProp&&a?function(t){return e.__emotion_forwardProp(t)&&a(t)}:a}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},Pa=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return Kt(t,r,n),ur((function(){return Yt(t,r,n)})),null},Ca=function e(t,r){var n,a,o=t.__emotion_real===t,i=o&&t.__emotion_base||t;void 0!==r&&(n=r.label,a=r.target);var l=_a(t,r,o),s=l||xa(i),c=!s("as");return function(){var u=arguments,d=o&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==n&&d.push("label:"+n+";"),null==u[0]||void 0===u[0].raw)d.push.apply(d,u);else{d.push(u[0][0]);for(var p=u.length,m=1;m<p;m++)d.push(u[m],u[0][m])}var h=hr((function(e,t,r){var n=c&&e.as||i,o="",u=[],p=e;if(null==e.theme){for(var m in p={},e)p[m]=e[m];p.theme=U.useContext(fr)}"string"==typeof e.className?o=qt(t.registered,u,e.className):null!=e.className&&(o=e.className+" ");var h=sr(d.concat(u),t.registered,p);o+=t.key+"-"+h.name,void 0!==a&&(o+=" "+a);var f=c&&void 0===l?xa(n):s,v={};for(var b in e)c&&"as"===b||f(b)&&(v[b]=e[b]);return v.className=o,v.ref=r,U.createElement(U.Fragment,null,U.createElement(Pa,{cache:t,serialized:h,isStringTag:"string"==typeof n}),U.createElement(n,v))}));return h.displayName=void 0!==n?n:"Styled("+("string"==typeof i?i:i.displayName||i.name||"Component")+")",h.defaultProps=t.defaultProps,h.__emotion_real=h,h.__emotion_base=i,h.__emotion_styles=d,h.__emotion_forwardProp=l,Object.defineProperty(h,"toString",{value:function(){return"."+a}}),h.withComponent=function(t,n){return e(t,(0,Ut.A)({},r,n,{shouldForwardProp:_a(h,n,!0)})).apply(void 0,d)},h}}.bind();["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","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){Ca[e]=Ca(e)}));var Aa=null!=(ya=Ca.default)?ya:Ca;function Sa(e,t){const{baseStyle:r,...n}=null!=t?t:{};n.shouldForwardProp||(n.shouldForwardProp=ga);const a=(({baseStyle:e})=>t=>{const{theme:r,css:n,__css:a,sx:o,...i}=t,l=ua(i,((e,t)=>ra(t))),s=function(e,...t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");const r={...e};for(const e of t)if(null!=e)for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(t in r&&delete r[t],r[t]=e[t]);return r}({},a,ae(e,t),da(l),o),c=oa(s)(t.theme);return n?[c,n]:c})({baseStyle:r}),o=Aa(e,n)(a);return U.forwardRef((function(e,t){const{colorMode:r,forced:n}=_r();return U.createElement(o,{ref:t,"data-theme":n?r:void 0,...e})}))}var Ra=function(){const e=new Map;return new Proxy(Sa,{apply:(e,t,r)=>Sa(...r),get:(t,r)=>(e.has(r)||e.set(r,Sa(r)),e.get(r))})}(),Ma=r(3274),[Ta,Ia]=Ce({name:"TabsStylesContext",errorMessage:"useTabsStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<Tabs />\" "}),Oa=$e((function(e,t){const r=fa("Tabs",e),{children:n,className:a,...o}=sa(e),{htmlProps:i,descendants:l,...s}=function(e){var t;const{defaultIndex:r,onChange:n,index:a,isManual:o,isLazy:i,lazyBehavior:l="unmount",orientation:s="horizontal",direction:c="ltr",...u}=e,[d,p]=(0,U.useState)(null!=r?r:0),[m,h]=Te({defaultValue:null!=r?r:0,value:a,onChange:n});(0,U.useEffect)((()=>{null!=a&&p(a)}),[a]);const f=Be(),v=(0,U.useId)();return{id:`tabs-${null!=(t=e.id)?t:v}`,selectedIndex:m,focusedIndex:d,setSelectedIndex:h,setFocusedIndex:p,isManual:o,isLazy:i,lazyBehavior:l,orientation:s,descendants:f,direction:c,htmlProps:u}}(o),c=(0,U.useMemo)((()=>s),[s]),{isFitted:u,...d}=i,p={position:"relative",...r.root};return(0,Ma.jsx)(Le,{value:l,children:(0,Ma.jsx)(Ne,{value:c,children:(0,Ma.jsx)(Ta,{value:r,children:(0,Ma.jsx)(Ra.div,{className:ie("chakra-tabs",a),ref:t,...d,__css:p,children:n})})})})}));Oa.displayName="Tabs";var La=$e((function(e,t){const r=function(e){const{focusedIndex:t,orientation:r,direction:n}=Ve(),a=De(),o=(0,U.useCallback)((e=>{const o=()=>{var e;const r=a.nextEnabled(t);r&&(null==(e=r.node)||e.focus())},i=()=>{var e;const r=a.prevEnabled(t);r&&(null==(e=r.node)||e.focus())},l="horizontal"===r,s="vertical"===r,c=e.key,u="ltr"===n?"ArrowLeft":"ArrowRight",d="ltr"===n?"ArrowRight":"ArrowLeft",p={[u]:()=>l&&i(),[d]:()=>l&&o(),ArrowDown:()=>s&&o(),ArrowUp:()=>s&&i(),Home:()=>{var e;const t=a.firstEnabled();t&&(null==(e=t.node)||e.focus())},End:()=>{var e;const t=a.lastEnabled();t&&(null==(e=t.node)||e.focus())}},m=p[c];m&&(e.preventDefault(),m(e))}),[a,t,r,n]);return{...e,role:"tablist","aria-orientation":r,onKeyDown:me(e.onKeyDown,o)}}({...e,ref:t}),n={display:"flex",...Ia().tablist};return(0,Ma.jsx)(Ra.div,{...r,className:ie("chakra-tabs__tablist",e.className),__css:n})}));La.displayName="TabList";var Da=$e((function(e,t){const r=Ia(),n=function(e){const{isDisabled:t=!1,isFocusable:r=!1,...n}=e,{setSelectedIndex:a,isManual:o,id:i,setFocusedIndex:l,selectedIndex:s}=Ve(),{index:c,register:u}=ze({disabled:t&&!r}),d=c===s;return{...ge({...n,ref:fe(u,e.ref),isDisabled:t,isFocusable:r,onClick:me(e.onClick,(()=>{a(c)}))}),id:je(i,c),role:"tab",tabIndex:d?0:-1,type:"button","aria-selected":d,"aria-controls":We(i,c),onFocus:t?void 0:me(e.onFocus,(()=>{l(c),!o&&(!t||!r)&&a(c)}))}}({...e,ref:t}),a={outline:"0",display:"flex",alignItems:"center",justifyContent:"center",...r.tab};return(0,Ma.jsx)(Ra.button,{...n,className:ie("chakra-tabs__tab",e.className),__css:a})}));Da.displayName="Tab";var Ba=Ra("div");Ba.displayName="Box";var za=$e((function(e,t){const{size:r,centerContent:n=!0,...a}=e,o=n?{display:"flex",alignItems:"center",justifyContent:"center"}:{};return(0,Ma.jsx)(Ba,{ref:t,boxSize:r,__css:{...o,flexShrink:0,flexGrow:0},...a})}));za.displayName="Square";var Na=$e((function(e,t){const{size:r,...n}=e;return(0,Ma.jsx)(za,{size:r,ref:t,borderRadius:"9999px",...n})}));Na.displayName="Circle";var Va=$e((function(e,t){const r=function(e){const t=Ve(),{id:r,selectedIndex:n}=t,a=Ie(e.children).map(((e,t)=>(0,U.createElement)(Fe,{key:t,value:{isSelected:t===n,id:We(r,t),tabId:je(r,t),selectedIndex:n}},e)));return{...e,children:a}}(e),n=Ia();return(0,Ma.jsx)(Ra.div,{...r,width:"100%",ref:t,className:ie("chakra-tabs__tab-panels",e.className),__css:n.tabpanels})}));Va.displayName="TabPanels";var Fa=$e((function(e,t){const r=function(e){const{children:t,...r}=e,{isLazy:n,lazyBehavior:a}=Ve(),{isSelected:o,id:i,tabId:l}=He(),s=(0,U.useRef)(!1);return o&&(s.current=!0),{tabIndex:0,...r,children:Oe({wasSelected:s.current,isSelected:o,enabled:n,mode:a})?t:null,role:"tabpanel","aria-labelledby":l,hidden:!o,id:i}}({...e,ref:t}),n=Ia();return(0,Ma.jsx)(Ra.div,{outline:"0",...r,className:ie("chakra-tabs__tab-panel",e.className),__css:n.tabpanel})}));Fa.displayName="TabPanel";var Ha=r(3042),ja=e=>(0,Ma.jsx)(Ra.div,{className:"chakra-stack__item",...e,__css:{display:"inline-block",flex:"0 0 auto",minWidth:0,...e.__css}});ja.displayName="StackItem";var Wa=Object.freeze(["base","sm","md","lg","xl","2xl"]);function $a(e,t){return Array.isArray(e)?e.map((e=>null===e?null:t(e))):le(e)?Object.keys(e).reduce(((r,n)=>(r[n]=t(e[n]),r)),{}):null!=e?t(e):null}var Za=$e(((e,t)=>{const{isInline:r,direction:n,align:a,justify:o,spacing:i="0.5rem",wrap:l,children:s,divider:c,className:u,shouldWrapChildren:d,...p}=e,m=r?"row":null!=n?n:"column",h=(0,U.useMemo)((()=>function(e){const{spacing:t,direction:r}=e,n={column:{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},"column-reverse":{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},row:{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0},"row-reverse":{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0}};return{"&":$a(r,(e=>n[e]))}}({spacing:i,direction:m})),[i,m]),f=!!c,v=!d&&!f,b=(0,U.useMemo)((()=>{const e=Ie(s);return v?e:e.map(((t,r)=>{const n=void 0!==t.key?t.key:r,a=r+1===e.length,o=d?(0,Ma.jsx)(ja,{children:t},n):t;if(!f)return o;const i=(0,U.cloneElement)(c,{__css:h}),l=a?null:i;return(0,Ma.jsxs)(U.Fragment,{children:[o,l]},n)}))}),[c,h,f,v,d,s]),g=ie("chakra-stack",u);return(0,Ma.jsx)(Ra.div,{ref:t,display:"flex",alignItems:a,justifyContent:o,flexDirection:m,flexWrap:l,gap:f?void 0:i,className:g,...p,children:b})}));Za.displayName="Stack";var Ua=$e(((e,t)=>(0,Ma.jsx)(Za,{align:"center",...e,direction:"row",ref:t})));Ua.displayName="HStack";var Ga=$e((function(e,t){const{children:r,placeholder:n,className:a,...o}=e;return(0,Ma.jsxs)(Ra.select,{...o,ref:t,className:ie("chakra-select",a),children:[n&&(0,Ma.jsx)("option",{value:"",children:n}),r]})}));Ga.displayName="SelectField";var[qa,Ka]=Ce({name:"FormControlStylesContext",errorMessage:"useFormControlStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<FormControl />\" "}),[Ya,Xa]=Ce({strict:!1,name:"FormControlContext"}),Qa=$e((function(e,t){const r=fa("Form",e),n=sa(e),{getRootProps:a,htmlProps:o,...i}=function(e){const{id:t,isRequired:r,isInvalid:n,isDisabled:a,isReadOnly:o,...i}=e,l=(0,U.useId)(),s=t||`field-${l}`,c=`${s}-label`,u=`${s}-feedback`,d=`${s}-helptext`,[p,m]=(0,U.useState)(!1),[h,f]=(0,U.useState)(!1),[v,b]=(0,U.useState)(!1),g=(0,U.useCallback)(((e={},t=null)=>({id:d,...e,ref:fe(t,(e=>{e&&f(!0)}))})),[d]),y=(0,U.useCallback)(((e={},t=null)=>({...e,ref:t,"data-focus":de(v),"data-disabled":de(a),"data-invalid":de(n),"data-readonly":de(o),id:void 0!==e.id?e.id:c,htmlFor:void 0!==e.htmlFor?e.htmlFor:s})),[s,a,v,n,o,c]),E=(0,U.useCallback)(((e={},t=null)=>({id:u,...e,ref:fe(t,(e=>{e&&m(!0)})),"aria-live":"polite"})),[u]),k=(0,U.useCallback)(((e={},t=null)=>({...e,...i,ref:t,role:"group","data-focus":de(v),"data-disabled":de(a),"data-invalid":de(n),"data-readonly":de(o)})),[i,a,v,n,o]),w=(0,U.useCallback)(((e={},t=null)=>({...e,ref:t,role:"presentation","aria-hidden":!0,children:e.children||"*"})),[]);return{isRequired:!!r,isInvalid:!!n,isReadOnly:!!o,isDisabled:!!a,isFocused:!!v,onFocus:()=>b(!0),onBlur:()=>b(!1),hasFeedbackText:p,setHasFeedbackText:m,hasHelpText:h,setHasHelpText:f,id:s,labelId:c,feedbackId:u,helpTextId:d,htmlProps:i,getHelpTextProps:g,getErrorMessageProps:E,getRootProps:k,getLabelProps:y,getRequiredIndicatorProps:w}}(n),l=ie("chakra-form-control",e.className);return(0,Ma.jsx)(Ya,{value:i,children:(0,Ma.jsx)(qa,{value:r,children:(0,Ma.jsx)(Ra.div,{...a({},t),className:l,__css:r.container})})})}));Qa.displayName="FormControl";var Ja=$e((function(e,t){const r=Xa(),n=Ka(),a=ie("chakra-form__helper-text",e.className);return(0,Ma.jsx)(Ra.div,{...null==r?void 0:r.getHelpTextProps(e,t),__css:n.helperText,className:a})}));function eo(e){const{isDisabled:t,isInvalid:r,isReadOnly:n,isRequired:a,...o}=to(e);return{...o,disabled:t,readOnly:n,required:a,"aria-invalid":pe(r),"aria-required":pe(a),"aria-readonly":pe(n)}}function to(e){var t,r,n;const a=Xa(),{id:o,disabled:i,readOnly:l,required:s,isRequired:c,isInvalid:u,isReadOnly:d,isDisabled:p,onFocus:m,onBlur:h,...f}=e,v=e["aria-describedby"]?[e["aria-describedby"]]:[];return(null==a?void 0:a.hasFeedbackText)&&(null==a?void 0:a.isInvalid)&&v.push(a.feedbackId),(null==a?void 0:a.hasHelpText)&&v.push(a.helpTextId),{...f,"aria-describedby":v.join(" ")||void 0,id:null!=o?o:null==a?void 0:a.id,isDisabled:null!=(t=null!=i?i:p)?t:null==a?void 0:a.isDisabled,isReadOnly:null!=(r=null!=l?l:d)?r:null==a?void 0:a.isReadOnly,isRequired:null!=(n=null!=s?s:c)?n:null==a?void 0:a.isRequired,isInvalid:null!=u?u:null==a?void 0:a.isInvalid,onFocus:me(null==a?void 0:a.onFocus,m),onBlur:me(null==a?void 0:a.onBlur,h)}}Ja.displayName="FormHelperText";var ro=$e(((e,t)=>{var r;const n=fa("Select",e),{rootProps:a,placeholder:o,icon:i,color:l,height:s,h:c,minH:u,minHeight:d,iconColor:p,iconSize:m,...h}=sa(e),[f,v]=function(e,t){const r={},n={};for(const[a,o]of Object.entries(e))t.includes(a)?r[a]=o:n[a]=o;return[r,n]}(h,Jn),b=eo(v),g={width:"100%",height:"fit-content",position:"relative",color:l},y={paddingEnd:"2rem",...n.field,_focus:{zIndex:"unset",...null==(r=n.field)?void 0:r._focus}};return(0,Ma.jsxs)(Ra.div,{className:"chakra-select__wrapper",__css:g,...f,...a,children:[(0,Ma.jsx)(Ga,{ref:t,height:null!=c?c:s,minH:null!=u?u:d,placeholder:o,...b,__css:y,children:e.children}),(0,Ma.jsx)(oo,{"data-disabled":de(b.disabled),...(p||l)&&{color:p||l},__css:n.icon,...m&&{fontSize:m},children:i})]})}));ro.displayName="Select";var no=e=>(0,Ma.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,Ma.jsx)("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})}),ao=Ra("div",{baseStyle:{position:"absolute",display:"inline-flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",top:"50%",transform:"translateY(-50%)"}}),oo=e=>{const{children:t=(0,Ma.jsx)(no,{}),...r}=e,n=(0,U.cloneElement)(t,{role:"presentation",className:"chakra-select__icon",focusable:!1,"aria-hidden":!0,style:{width:"1em",height:"1em",color:"currentColor"}});return(0,Ma.jsx)(ao,{...r,className:"chakra-select__icon-wrapper",children:(0,U.isValidElement)(t)?n:null})};oo.displayName="SelectIcon";var io={exit:{scale:.85,opacity:0,transition:{opacity:{duration:.15,easings:"easeInOut"},scale:{duration:.2,easings:"easeInOut"}}},enter:{scale:1,opacity:1,transition:{opacity:{easings:"easeOut",duration:.2},scale:{duration:.2,ease:[.175,.885,.4,1.1]}}}};function lo(e){return null!=e&&"object"==typeof e&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function so(e){var t;return!!lo(e)&&e instanceof(null!=(t=e.ownerDocument.defaultView)?t:window).HTMLElement}function co(e){return lo(e)?e.ownerDocument:document}function uo(e){return["html","body","#document"].includes(e.localName)?e.ownerDocument.body:so(e)&&function(e){const t=e.ownerDocument.defaultView||window,{overflow:r,overflowX:n,overflowY:a}=t.getComputedStyle(e);return/auto|scroll|overlay|hidden/.test(r+a+n)}(e)?e:uo(function(e){return"html"===e.localName?e:e.assignedSlot||e.parentElement||e.ownerDocument.documentElement}(e))}var po=(e,t)=>({var:e,varRef:t?`var(${e}, ${t})`:`var(${e})`}),mo={arrowShadowColor:po("--popper-arrow-shadow-color"),arrowSize:po("--popper-arrow-size","8px"),arrowSizeHalf:po("--popper-arrow-size-half"),arrowBg:po("--popper-arrow-bg"),transformOrigin:po("--popper-transform-origin"),arrowOffset:po("--popper-arrow-offset")},ho={top:"bottom center","top-start":"bottom left","top-end":"bottom right",bottom:"top center","bottom-start":"top left","bottom-end":"top right",left:"right center","left-start":"right top","left-end":"right bottom",right:"left center","right-start":"left top","right-end":"left bottom"},fo={scroll:!0,resize:!0};function vo(e){let t;return t="object"==typeof e?{enabled:!0,options:{...fo,...e}}:{enabled:e,options:fo},t}var bo={name:"matchWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:({state:e})=>{e.styles.popper.width=`${e.rects.reference.width}px`},effect:({state:e})=>()=>{const t=e.elements.reference;e.elements.popper.style.width=`${t.offsetWidth}px`}},go={name:"transformOrigin",enabled:!0,phase:"write",fn:({state:e})=>{yo(e)},effect:({state:e})=>()=>{yo(e)}},yo=e=>{var t;e.elements.popper.style.setProperty(mo.transformOrigin.var,(t=e.placement,ho[t]))},Eo={name:"positionArrow",enabled:!0,phase:"afterWrite",fn:({state:e})=>{ko(e)}},ko=e=>{var t;if(!e.placement)return;const r=wo(e.placement);if((null==(t=e.elements)?void 0:t.arrow)&&r){Object.assign(e.elements.arrow.style,{[r.property]:r.value,width:mo.arrowSize.varRef,height:mo.arrowSize.varRef,zIndex:-1});const t={[mo.arrowSizeHalf.var]:`calc(${mo.arrowSize.varRef} / 2 - 1px)`,[mo.arrowOffset.var]:`calc(${mo.arrowSizeHalf.varRef} * -1)`};for(const r in t)e.elements.arrow.style.setProperty(r,t[r])}},wo=e=>e.startsWith("top")?{property:"bottom",value:mo.arrowOffset.varRef}:e.startsWith("bottom")?{property:"top",value:mo.arrowOffset.varRef}:e.startsWith("left")?{property:"right",value:mo.arrowOffset.varRef}:e.startsWith("right")?{property:"left",value:mo.arrowOffset.varRef}:void 0,xo={name:"innerArrow",enabled:!0,phase:"main",requires:["arrow"],fn:({state:e})=>{_o(e)},effect:({state:e})=>()=>{_o(e)}},_o=e=>{if(!e.elements.arrow)return;const t=e.elements.arrow.querySelector("[data-popper-arrow-inner]");if(!t)return;const r=(n=e.placement).includes("top")?"1px 1px 0px 0 var(--popper-arrow-shadow-color)":n.includes("bottom")?"-1px -1px 0px 0 var(--popper-arrow-shadow-color)":n.includes("right")?"-1px 1px 0px 0 var(--popper-arrow-shadow-color)":n.includes("left")?"1px -1px 0px 0 var(--popper-arrow-shadow-color)":void 0;var n;r&&t.style.setProperty("--popper-arrow-default-shadow",r),Object.assign(t.style,{transform:"rotate(45deg)",background:mo.arrowBg.varRef,top:0,left:0,width:"100%",height:"100%",position:"absolute",zIndex:"inherit",boxShadow:"var(--popper-arrow-shadow, var(--popper-arrow-default-shadow))"})},Po={"start-start":{ltr:"left-start",rtl:"right-start"},"start-end":{ltr:"left-end",rtl:"right-end"},"end-start":{ltr:"right-start",rtl:"left-start"},"end-end":{ltr:"right-end",rtl:"left-end"},start:{ltr:"left",rtl:"right"},end:{ltr:"right",rtl:"left"}},Co={"auto-start":"auto-end","auto-end":"auto-start","top-start":"top-end","top-end":"top-start","bottom-start":"bottom-end","bottom-end":"bottom-start"};function Ao(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function So(e){return e instanceof Ao(e).Element||e instanceof Element}function Ro(e){return e instanceof Ao(e).HTMLElement||e instanceof HTMLElement}function Mo(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Ao(e).ShadowRoot||e instanceof ShadowRoot)}var To=Math.max,Io=Math.min,Oo=Math.round;function Lo(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function Do(){return!/^((?!chrome|android).)*safari/i.test(Lo())}function Bo(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!1);var n=e.getBoundingClientRect(),a=1,o=1;t&&Ro(e)&&(a=e.offsetWidth>0&&Oo(n.width)/e.offsetWidth||1,o=e.offsetHeight>0&&Oo(n.height)/e.offsetHeight||1);var i=(So(e)?Ao(e):window).visualViewport,l=!Do()&&r,s=(n.left+(l&&i?i.offsetLeft:0))/a,c=(n.top+(l&&i?i.offsetTop:0))/o,u=n.width/a,d=n.height/o;return{width:u,height:d,top:c,right:s+u,bottom:c+d,left:s,x:s,y:c}}function zo(e){var t=Ao(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function No(e){return e?(e.nodeName||"").toLowerCase():null}function Vo(e){return((So(e)?e.ownerDocument:e.document)||window.document).documentElement}function Fo(e){return Bo(Vo(e)).left+zo(e).scrollLeft}function Ho(e){return Ao(e).getComputedStyle(e)}function jo(e){var t=Ho(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}function Wo(e,t,r){void 0===r&&(r=!1);var n=Ro(t),a=Ro(t)&&function(e){var t=e.getBoundingClientRect(),r=Oo(t.width)/e.offsetWidth||1,n=Oo(t.height)/e.offsetHeight||1;return 1!==r||1!==n}(t),o=Vo(t),i=Bo(e,a,r),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(n||!n&&!r)&&(("body"!==No(t)||jo(o))&&(l=function(e){return e!==Ao(e)&&Ro(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:zo(e);var t}(t)),Ro(t)?((s=Bo(t,!0)).x+=t.clientLeft,s.y+=t.clientTop):o&&(s.x=Fo(o))),{x:i.left+l.scrollLeft-s.x,y:i.top+l.scrollTop-s.y,width:i.width,height:i.height}}function $o(e){var t=Bo(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function Zo(e){return"html"===No(e)?e:e.assignedSlot||e.parentNode||(Mo(e)?e.host:null)||Vo(e)}function Uo(e){return["html","body","#document"].indexOf(No(e))>=0?e.ownerDocument.body:Ro(e)&&jo(e)?e:Uo(Zo(e))}function Go(e,t){var r;void 0===t&&(t=[]);var n=Uo(e),a=n===(null==(r=e.ownerDocument)?void 0:r.body),o=Ao(n),i=a?[o].concat(o.visualViewport||[],jo(n)?n:[]):n,l=t.concat(i);return a?l:l.concat(Go(Zo(i)))}function qo(e){return["table","td","th"].indexOf(No(e))>=0}function Ko(e){return Ro(e)&&"fixed"!==Ho(e).position?e.offsetParent:null}function Yo(e){for(var t=Ao(e),r=Ko(e);r&&qo(r)&&"static"===Ho(r).position;)r=Ko(r);return r&&("html"===No(r)||"body"===No(r)&&"static"===Ho(r).position)?t:r||function(e){var t=/firefox/i.test(Lo());if(/Trident/i.test(Lo())&&Ro(e)&&"fixed"===Ho(e).position)return null;var r=Zo(e);for(Mo(r)&&(r=r.host);Ro(r)&&["html","body"].indexOf(No(r))<0;){var n=Ho(r);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return r;r=r.parentNode}return null}(e)||t}var Xo="top",Qo="bottom",Jo="right",ei="left",ti="auto",ri=[Xo,Qo,Jo,ei],ni="start",ai="end",oi="viewport",ii="popper",li=ri.reduce((function(e,t){return e.concat([t+"-"+ni,t+"-"+ai])}),[]),si=[].concat(ri,[ti]).reduce((function(e,t){return e.concat([t,t+"-"+ni,t+"-"+ai])}),[]),ci=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function ui(e){var t=new Map,r=new Set,n=[];function a(e){r.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!r.has(e)){var n=t.get(e);n&&a(n)}})),n.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){r.has(e.name)||a(e)})),n}var di={placement:"bottom",modifiers:[],strategy:"absolute"};function pi(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function mi(e){void 0===e&&(e={});var t=e,r=t.defaultModifiers,n=void 0===r?[]:r,a=t.defaultOptions,o=void 0===a?di:a;return function(e,t,r){void 0===r&&(r=o);var a,i,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},di,o),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},s=[],c=!1,u={state:l,setOptions:function(r){var a="function"==typeof r?r(l.options):r;d(),l.options=Object.assign({},o,l.options,a),l.scrollParents={reference:So(e)?Go(e):e.contextElement?Go(e.contextElement):[],popper:Go(t)};var i,c,p=function(e){var t=ui(e);return ci.reduce((function(e,r){return e.concat(t.filter((function(e){return e.phase===r})))}),[])}((i=[].concat(n,l.options.modifiers),c=i.reduce((function(e,t){var r=e[t.name];return e[t.name]=r?Object.assign({},r,t,{options:Object.assign({},r.options,t.options),data:Object.assign({},r.data,t.data)}):t,e}),{}),Object.keys(c).map((function(e){return c[e]}))));return l.orderedModifiers=p.filter((function(e){return e.enabled})),l.orderedModifiers.forEach((function(e){var t=e.name,r=e.options,n=void 0===r?{}:r,a=e.effect;if("function"==typeof a){var o=a({state:l,name:t,instance:u,options:n});s.push(o||function(){})}})),u.update()},forceUpdate:function(){if(!c){var e=l.elements,t=e.reference,r=e.popper;if(pi(t,r)){l.rects={reference:Wo(t,Yo(r),"fixed"===l.options.strategy),popper:$o(r)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach((function(e){return l.modifiersData[e.name]=Object.assign({},e.data)}));for(var n=0;n<l.orderedModifiers.length;n++)if(!0!==l.reset){var a=l.orderedModifiers[n],o=a.fn,i=a.options,s=void 0===i?{}:i,d=a.name;"function"==typeof o&&(l=o({state:l,options:s,name:d,instance:u})||l)}else l.reset=!1,n=-1}}},update:(a=function(){return new Promise((function(e){u.forceUpdate(),e(l)}))},function(){return i||(i=new Promise((function(e){Promise.resolve().then((function(){i=void 0,e(a())}))}))),i}),destroy:function(){d(),c=!0}};if(!pi(e,t))return u;function d(){s.forEach((function(e){return e()})),s=[]}return u.setOptions(r).then((function(e){!c&&r.onFirstUpdate&&r.onFirstUpdate(e)})),u}}var hi={passive:!0};const fi={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,r=e.instance,n=e.options,a=n.scroll,o=void 0===a||a,i=n.resize,l=void 0===i||i,s=Ao(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach((function(e){e.addEventListener("scroll",r.update,hi)})),l&&s.addEventListener("resize",r.update,hi),function(){o&&c.forEach((function(e){e.removeEventListener("scroll",r.update,hi)})),l&&s.removeEventListener("resize",r.update,hi)}},data:{}};function vi(e){return e.split("-")[0]}function bi(e){return e.split("-")[1]}function gi(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function yi(e){var t,r=e.reference,n=e.element,a=e.placement,o=a?vi(a):null,i=a?bi(a):null,l=r.x+r.width/2-n.width/2,s=r.y+r.height/2-n.height/2;switch(o){case Xo:t={x:l,y:r.y-n.height};break;case Qo:t={x:l,y:r.y+r.height};break;case Jo:t={x:r.x+r.width,y:s};break;case ei:t={x:r.x-n.width,y:s};break;default:t={x:r.x,y:r.y}}var c=o?gi(o):null;if(null!=c){var u="y"===c?"height":"width";switch(i){case ni:t[c]=t[c]-(r[u]/2-n[u]/2);break;case ai:t[c]=t[c]+(r[u]/2-n[u]/2)}}return t}const Ei={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,r=e.name;t.modifiersData[r]=yi({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};var ki={top:"auto",right:"auto",bottom:"auto",left:"auto"};function wi(e){var t,r=e.popper,n=e.popperRect,a=e.placement,o=e.variation,i=e.offsets,l=e.position,s=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,p=i.x,m=void 0===p?0:p,h=i.y,f=void 0===h?0:h,v="function"==typeof u?u({x:m,y:f}):{x:m,y:f};m=v.x,f=v.y;var b=i.hasOwnProperty("x"),g=i.hasOwnProperty("y"),y=ei,E=Xo,k=window;if(c){var w=Yo(r),x="clientHeight",_="clientWidth";w===Ao(r)&&"static"!==Ho(w=Vo(r)).position&&"absolute"===l&&(x="scrollHeight",_="scrollWidth"),(a===Xo||(a===ei||a===Jo)&&o===ai)&&(E=Qo,f-=(d&&w===k&&k.visualViewport?k.visualViewport.height:w[x])-n.height,f*=s?1:-1),a!==ei&&(a!==Xo&&a!==Qo||o!==ai)||(y=Jo,m-=(d&&w===k&&k.visualViewport?k.visualViewport.width:w[_])-n.width,m*=s?1:-1)}var P,C=Object.assign({position:l},c&&ki),A=!0===u?function(e,t){var r=e.x,n=e.y,a=t.devicePixelRatio||1;return{x:Oo(r*a)/a||0,y:Oo(n*a)/a||0}}({x:m,y:f},Ao(r)):{x:m,y:f};return m=A.x,f=A.y,s?Object.assign({},C,((P={})[E]=g?"0":"",P[y]=b?"0":"",P.transform=(k.devicePixelRatio||1)<=1?"translate("+m+"px, "+f+"px)":"translate3d("+m+"px, "+f+"px, 0)",P)):Object.assign({},C,((t={})[E]=g?f+"px":"",t[y]=b?m+"px":"",t.transform="",t))}const xi={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,r=e.options,n=r.gpuAcceleration,a=void 0===n||n,o=r.adaptive,i=void 0===o||o,l=r.roundOffsets,s=void 0===l||l,c={placement:vi(t.placement),variation:bi(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,wi(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,wi(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},_i={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var r=t.styles[e]||{},n=t.attributes[e]||{},a=t.elements[e];Ro(a)&&No(a)&&(Object.assign(a.style,r),Object.keys(n).forEach((function(e){var t=n[e];!1===t?a.removeAttribute(e):a.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach((function(e){var n=t.elements[e],a=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:r[e]).reduce((function(e,t){return e[t]="",e}),{});Ro(n)&&No(n)&&(Object.assign(n.style,o),Object.keys(a).forEach((function(e){n.removeAttribute(e)})))}))}},requires:["computeStyles"]},Pi={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,r=e.options,n=e.name,a=r.offset,o=void 0===a?[0,0]:a,i=si.reduce((function(e,r){return e[r]=function(e,t,r){var n=vi(e),a=[ei,Xo].indexOf(n)>=0?-1:1,o="function"==typeof r?r(Object.assign({},t,{placement:e})):r,i=o[0],l=o[1];return i=i||0,l=(l||0)*a,[ei,Jo].indexOf(n)>=0?{x:l,y:i}:{x:i,y:l}}(r,t.rects,o),e}),{}),l=i[t.placement],s=l.x,c=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=i}};var Ci={left:"right",right:"left",bottom:"top",top:"bottom"};function Ai(e){return e.replace(/left|right|bottom|top/g,(function(e){return Ci[e]}))}var Si={start:"end",end:"start"};function Ri(e){return e.replace(/start|end/g,(function(e){return Si[e]}))}function Mi(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Mo(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Ti(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ii(e,t,r){return t===oi?Ti(function(e,t){var r=Ao(e),n=Vo(e),a=r.visualViewport,o=n.clientWidth,i=n.clientHeight,l=0,s=0;if(a){o=a.width,i=a.height;var c=Do();(c||!c&&"fixed"===t)&&(l=a.offsetLeft,s=a.offsetTop)}return{width:o,height:i,x:l+Fo(e),y:s}}(e,r)):So(t)?function(e,t){var r=Bo(e,!1,"fixed"===t);return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}(t,r):Ti(function(e){var t,r=Vo(e),n=zo(e),a=null==(t=e.ownerDocument)?void 0:t.body,o=To(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),i=To(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),l=-n.scrollLeft+Fo(e),s=-n.scrollTop;return"rtl"===Ho(a||r).direction&&(l+=To(r.clientWidth,a?a.clientWidth:0)-o),{width:o,height:i,x:l,y:s}}(Vo(e)))}function Oi(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Li(e,t){return t.reduce((function(t,r){return t[r]=e,t}),{})}function Di(e,t){void 0===t&&(t={});var r=t,n=r.placement,a=void 0===n?e.placement:n,o=r.strategy,i=void 0===o?e.strategy:o,l=r.boundary,s=void 0===l?"clippingParents":l,c=r.rootBoundary,u=void 0===c?oi:c,d=r.elementContext,p=void 0===d?ii:d,m=r.altBoundary,h=void 0!==m&&m,f=r.padding,v=void 0===f?0:f,b=Oi("number"!=typeof v?v:Li(v,ri)),g=p===ii?"reference":ii,y=e.rects.popper,E=e.elements[h?g:p],k=function(e,t,r,n){var a="clippingParents"===t?function(e){var t=Go(Zo(e)),r=["absolute","fixed"].indexOf(Ho(e).position)>=0&&Ro(e)?Yo(e):e;return So(r)?t.filter((function(e){return So(e)&&Mi(e,r)&&"body"!==No(e)})):[]}(e):[].concat(t),o=[].concat(a,[r]),i=o[0],l=o.reduce((function(t,r){var a=Ii(e,r,n);return t.top=To(a.top,t.top),t.right=Io(a.right,t.right),t.bottom=Io(a.bottom,t.bottom),t.left=To(a.left,t.left),t}),Ii(e,i,n));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}(So(E)?E:E.contextElement||Vo(e.elements.popper),s,u,i),w=Bo(e.elements.reference),x=yi({reference:w,element:y,strategy:"absolute",placement:a}),_=Ti(Object.assign({},y,x)),P=p===ii?_:w,C={top:k.top-P.top+b.top,bottom:P.bottom-k.bottom+b.bottom,left:k.left-P.left+b.left,right:P.right-k.right+b.right},A=e.modifiersData.offset;if(p===ii&&A){var S=A[a];Object.keys(C).forEach((function(e){var t=[Jo,Qo].indexOf(e)>=0?1:-1,r=[Xo,Qo].indexOf(e)>=0?"y":"x";C[e]+=S[r]*t}))}return C}const Bi={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var a=r.mainAxis,o=void 0===a||a,i=r.altAxis,l=void 0===i||i,s=r.fallbackPlacements,c=r.padding,u=r.boundary,d=r.rootBoundary,p=r.altBoundary,m=r.flipVariations,h=void 0===m||m,f=r.allowedAutoPlacements,v=t.options.placement,b=vi(v),g=s||(b!==v&&h?function(e){if(vi(e)===ti)return[];var t=Ai(e);return[Ri(e),t,Ri(t)]}(v):[Ai(v)]),y=[v].concat(g).reduce((function(e,r){return e.concat(vi(r)===ti?function(e,t){void 0===t&&(t={});var r=t,n=r.placement,a=r.boundary,o=r.rootBoundary,i=r.padding,l=r.flipVariations,s=r.allowedAutoPlacements,c=void 0===s?si:s,u=bi(n),d=u?l?li:li.filter((function(e){return bi(e)===u})):ri,p=d.filter((function(e){return c.indexOf(e)>=0}));0===p.length&&(p=d);var m=p.reduce((function(t,r){return t[r]=Di(e,{placement:r,boundary:a,rootBoundary:o,padding:i})[vi(r)],t}),{});return Object.keys(m).sort((function(e,t){return m[e]-m[t]}))}(t,{placement:r,boundary:u,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:f}):r)}),[]),E=t.rects.reference,k=t.rects.popper,w=new Map,x=!0,_=y[0],P=0;P<y.length;P++){var C=y[P],A=vi(C),S=bi(C)===ni,R=[Xo,Qo].indexOf(A)>=0,M=R?"width":"height",T=Di(t,{placement:C,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),I=R?S?Jo:ei:S?Qo:Xo;E[M]>k[M]&&(I=Ai(I));var O=Ai(I),L=[];if(o&&L.push(T[A]<=0),l&&L.push(T[I]<=0,T[O]<=0),L.every((function(e){return e}))){_=C,x=!1;break}w.set(C,L)}if(x)for(var D=function(e){var t=y.find((function(t){var r=w.get(t);if(r)return r.slice(0,e).every((function(e){return e}))}));if(t)return _=t,"break"},B=h?3:1;B>0&&"break"!==D(B);B--);t.placement!==_&&(t.modifiersData[n]._skip=!0,t.placement=_,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function zi(e,t,r){return To(e,Io(t,r))}const Ni={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name,a=r.mainAxis,o=void 0===a||a,i=r.altAxis,l=void 0!==i&&i,s=r.boundary,c=r.rootBoundary,u=r.altBoundary,d=r.padding,p=r.tether,m=void 0===p||p,h=r.tetherOffset,f=void 0===h?0:h,v=Di(t,{boundary:s,rootBoundary:c,padding:d,altBoundary:u}),b=vi(t.placement),g=bi(t.placement),y=!g,E=gi(b),k="x"===E?"y":"x",w=t.modifiersData.popperOffsets,x=t.rects.reference,_=t.rects.popper,P="function"==typeof f?f(Object.assign({},t.rects,{placement:t.placement})):f,C="number"==typeof P?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),A=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,S={x:0,y:0};if(w){if(o){var R,M="y"===E?Xo:ei,T="y"===E?Qo:Jo,I="y"===E?"height":"width",O=w[E],L=O+v[M],D=O-v[T],B=m?-_[I]/2:0,z=g===ni?x[I]:_[I],N=g===ni?-_[I]:-x[I],V=t.elements.arrow,F=m&&V?$o(V):{width:0,height:0},H=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},j=H[M],W=H[T],$=zi(0,x[I],F[I]),Z=y?x[I]/2-B-$-j-C.mainAxis:z-$-j-C.mainAxis,U=y?-x[I]/2+B+$+W+C.mainAxis:N+$+W+C.mainAxis,G=t.elements.arrow&&Yo(t.elements.arrow),q=G?"y"===E?G.clientTop||0:G.clientLeft||0:0,K=null!=(R=null==A?void 0:A[E])?R:0,Y=O+U-K,X=zi(m?Io(L,O+Z-K-q):L,O,m?To(D,Y):D);w[E]=X,S[E]=X-O}if(l){var Q,J="x"===E?Xo:ei,ee="x"===E?Qo:Jo,te=w[k],re="y"===k?"height":"width",ne=te+v[J],ae=te-v[ee],oe=-1!==[Xo,ei].indexOf(b),ie=null!=(Q=null==A?void 0:A[k])?Q:0,le=oe?ne:te-x[re]-_[re]-ie+C.altAxis,se=oe?te+x[re]+_[re]-ie-C.altAxis:ae,ce=m&&oe?function(e,t,r){var n=zi(e,t,r);return n>r?r:n}(le,te,se):zi(m?le:ne,te,m?se:ae);w[k]=ce,S[k]=ce-te}t.modifiersData[n]=S}},requiresIfExists:["offset"]},Vi={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,r=e.state,n=e.name,a=e.options,o=r.elements.arrow,i=r.modifiersData.popperOffsets,l=vi(r.placement),s=gi(l),c=[ei,Jo].indexOf(l)>=0?"height":"width";if(o&&i){var u=function(e,t){return Oi("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Li(e,ri))}(a.padding,r),d=$o(o),p="y"===s?Xo:ei,m="y"===s?Qo:Jo,h=r.rects.reference[c]+r.rects.reference[s]-i[s]-r.rects.popper[c],f=i[s]-r.rects.reference[s],v=Yo(o),b=v?"y"===s?v.clientHeight||0:v.clientWidth||0:0,g=h/2-f/2,y=u[p],E=b-d[c]-u[m],k=b/2-d[c]/2+g,w=zi(y,k,E),x=s;r.modifiersData[n]=((t={})[x]=w,t.centerOffset=w-k,t)}},effect:function(e){var t=e.state,r=e.options.element,n=void 0===r?"[data-popper-arrow]":r;null!=n&&("string"!=typeof n||(n=t.elements.popper.querySelector(n)))&&Mi(t.elements.popper,n)&&(t.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Fi(e,t,r){return void 0===r&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function Hi(e){return[Xo,Jo,Qo,ei].some((function(t){return e[t]>=0}))}const ji={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,r=e.name,n=t.rects.reference,a=t.rects.popper,o=t.modifiersData.preventOverflow,i=Di(t,{elementContext:"reference"}),l=Di(t,{altBoundary:!0}),s=Fi(i,n),c=Fi(l,a,o),u=Hi(s),d=Hi(c);t.modifiersData[r]={referenceClippingOffsets:s,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}};var Wi=mi({defaultModifiers:[fi,Ei,xi,_i,Pi,Bi,Ni,Vi,ji]});function $i(e={}){const{enabled:t=!0,modifiers:r,placement:n="bottom",strategy:a="absolute",arrowPadding:o=8,eventListeners:i=!0,offset:l,gutter:s=8,flip:c=!0,boundary:u="clippingParents",preventOverflow:d=!0,matchWidth:p,direction:m="ltr"}=e,h=(0,U.useRef)(null),f=(0,U.useRef)(null),v=(0,U.useRef)(null),b=function(e,t="ltr"){var r,n;const a=(null==(r=Po[e])?void 0:r[t])||e;return"ltr"===t?a:null!=(n=Co[e])?n:a}(n,m),g=(0,U.useRef)((()=>{})),y=(0,U.useCallback)((()=>{var e;t&&h.current&&f.current&&(null==(e=g.current)||e.call(g),v.current=Wi(h.current,f.current,{placement:b,modifiers:[xo,Eo,go,{...bo,enabled:!!p},{name:"eventListeners",...vo(i)},{name:"arrow",options:{padding:o}},{name:"offset",options:{offset:null!=l?l:[0,s]}},{name:"flip",enabled:!!c,options:{padding:8}},{name:"preventOverflow",enabled:!!d,options:{boundary:u}},...null!=r?r:[]],strategy:a}),v.current.forceUpdate(),g.current=v.current.destroy)}),[b,t,r,p,i,o,l,s,c,d,u,a]);(0,U.useEffect)((()=>()=>{var e;h.current||f.current||(null==(e=v.current)||e.destroy(),v.current=null)}),[]);const E=(0,U.useCallback)((e=>{h.current=e,y()}),[y]),k=(0,U.useCallback)(((e={},t=null)=>({...e,ref:fe(E,t)})),[E]),w=(0,U.useCallback)((e=>{f.current=e,y()}),[y]),x=(0,U.useCallback)(((e={},t=null)=>({...e,ref:fe(w,t),style:{...e.style,position:a,minWidth:p?void 0:"max-content",inset:"0 auto auto 0"}})),[a,w,p]),_=(0,U.useCallback)(((e={},t=null)=>{const{size:r,shadowColor:n,bg:a,style:o,...i}=e;return{...i,ref:t,"data-popper-arrow":"",style:Zi(e)}}),[]),P=(0,U.useCallback)(((e={},t=null)=>({...e,ref:t,"data-popper-arrow-inner":""})),[]);return{update(){var e;null==(e=v.current)||e.update()},forceUpdate(){var e;null==(e=v.current)||e.forceUpdate()},transformOrigin:mo.transformOrigin.varRef,referenceRef:E,popperRef:w,getPopperProps:x,getArrowProps:_,getArrowInnerProps:P,getReferenceProps:k}}function Zi(e){const{size:t,shadowColor:r,bg:n,style:a}=e,o={...a,position:"absolute"};return t&&(o["--popper-arrow-size"]=t),r&&(o["--popper-arrow-shadow-color"]=r),n&&(o["--popper-arrow-bg"]=n),o}function Ui(e={}){const{onClose:t,onOpen:r,isOpen:n,id:a}=e,o=Me(r),i=Me(t),[l,s]=(0,U.useState)(e.defaultIsOpen||!1),c=void 0!==n?n:l,u=void 0!==n,d=(0,U.useId)(),p=null!=a?a:`disclosure-${d}`,m=(0,U.useCallback)((()=>{u||s(!1),null==i||i()}),[u,i]),h=(0,U.useCallback)((()=>{u||s(!0),null==o||o()}),[u,o]),f=(0,U.useCallback)((()=>{c?m():h()}),[c,h,m]);return{isOpen:c,onOpen:h,onClose:m,onToggle:f,isControlled:u,getButtonProps:function(e={}){return{...e,"aria-expanded":c,"aria-controls":p,onClick(t){var r;null==(r=e.onClick)||r.call(e,t),f()}}},getDisclosureProps:function(e={}){return{...e,hidden:!c,id:p}}}}function Gi(e,t,r,n){const a=Me(r);return(0,U.useEffect)((()=>{const o="function"==typeof e?e():null!=e?e:document;if(r&&o)return o.addEventListener(t,a,n),()=>{o.removeEventListener(t,a,n)}}),[t,e,n,a,r]),()=>{const r="function"==typeof e?e():null!=e?e:document;null==r||r.removeEventListener(t,a,n)}}var qi=e=>{var t;return(null==(t=e.current)?void 0:t.ownerDocument)||document},Ki=e=>{var t,r;return(null==(r=null==(t=e.current)?void 0:t.ownerDocument)?void 0:r.defaultView)||window};function Yi(e={}){const{openDelay:t=0,closeDelay:r=0,closeOnClick:n=!0,closeOnMouseDown:a,closeOnScroll:o,closeOnPointerDown:i=a,closeOnEsc:l=!0,onOpen:s,onClose:c,placement:u,id:d,isOpen:p,defaultIsOpen:m,arrowSize:h=10,arrowShadowColor:f,arrowPadding:v,modifiers:b,isDisabled:g,gutter:y,offset:E,direction:k,...w}=e,{isOpen:x,onOpen:_,onClose:P}=Ui({isOpen:p,defaultIsOpen:m,onOpen:s,onClose:c}),{referenceRef:C,getPopperProps:A,getArrowInnerProps:S,getArrowProps:R}=$i({enabled:x,placement:u,arrowPadding:v,modifiers:b,gutter:y,offset:E,direction:k}),M=(0,U.useId)(),T=`tooltip-${null!=d?d:M}`,I=(0,U.useRef)(null),O=(0,U.useRef)(),L=(0,U.useCallback)((()=>{O.current&&(clearTimeout(O.current),O.current=void 0)}),[]),D=(0,U.useRef)(),B=(0,U.useCallback)((()=>{D.current&&(clearTimeout(D.current),D.current=void 0)}),[]),z=(0,U.useCallback)((()=>{B(),P()}),[P,B]),N=function(e,t){return(0,U.useEffect)((()=>{const r=qi(e);return r.addEventListener(Xi,t),()=>r.removeEventListener(Xi,t)}),[t,e]),()=>{const t=qi(e),r=Ki(e);t.dispatchEvent(new r.CustomEvent(Xi))}}(I,z),V=(0,U.useCallback)((()=>{if(!g&&!O.current){x&&N();const e=Ki(I);O.current=e.setTimeout(_,t)}}),[N,g,x,_,t]),F=(0,U.useCallback)((()=>{L();const e=Ki(I);D.current=e.setTimeout(z,r)}),[r,z,L]),H=(0,U.useCallback)((()=>{x&&n&&F()}),[n,F,x]),j=(0,U.useCallback)((()=>{x&&i&&F()}),[i,F,x]),W=(0,U.useCallback)((e=>{x&&"Escape"===e.key&&F()}),[x,F]);Gi((()=>qi(I)),"keydown",l?W:void 0),Gi((()=>{if(!o)return null;const e=I.current;if(!e)return null;const t=uo(e);return"body"===t.localName?Ki(I):t}),"scroll",(()=>{x&&o&&z()}),{passive:!0,capture:!0}),(0,U.useEffect)((()=>{g&&(L(),x&&P())}),[g,x,P,L]),(0,U.useEffect)((()=>()=>{L(),B()}),[L,B]),Gi((()=>I.current),"pointerleave",F);const $=(0,U.useCallback)(((e={},t=null)=>({...e,ref:fe(I,t,C),onPointerEnter:me(e.onPointerEnter,(e=>{"touch"!==e.pointerType&&V()})),onClick:me(e.onClick,H),onPointerDown:me(e.onPointerDown,j),onFocus:me(e.onFocus,V),onBlur:me(e.onBlur,F),"aria-describedby":x?T:void 0})),[V,F,j,x,T,H,C]),Z=(0,U.useCallback)(((e={},t=null)=>A({...e,style:{...e.style,[mo.arrowSize.var]:h?`${h}px`:void 0,[mo.arrowShadowColor.var]:f}},t)),[A,h,f]),G=(0,U.useCallback)(((e={},t=null)=>{const r={...e.style,position:"relative",transformOrigin:mo.transformOrigin.varRef};return{ref:t,...w,...e,id:T,role:"tooltip",style:r}}),[w,T]);return{isOpen:x,show:V,hide:F,getTriggerProps:$,getTooltipProps:G,getTooltipPositionerProps:Z,getArrowProps:R,getArrowInnerProps:S}}var Xi="chakra-ui:close-tooltip",[Qi,Ji]=Ce({strict:!1,name:"PortalManagerContext"});function el(e){const{children:t,zIndex:r}=e;return(0,Ma.jsx)(Qi,{value:{zIndex:r},children:t})}el.displayName="PortalManager";var tl=Boolean(null==globalThis?void 0:globalThis.document)?U.useLayoutEffect:U.useEffect,rl=r(5795),[nl,al]=Ce({strict:!1,name:"PortalContext"}),ol="chakra-portal",il=e=>(0,Ma.jsx)("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:e.zIndex,top:0,left:0,right:0},children:e.children}),ll=e=>{const{appendToParentPortal:t,children:r}=e,[n,a]=(0,U.useState)(null),o=(0,U.useRef)(null),[,i]=(0,U.useState)({});(0,U.useEffect)((()=>i({})),[]);const l=al(),s=Ji();tl((()=>{if(!n)return;const e=n.ownerDocument,r=t&&null!=l?l:e.body;if(!r)return;o.current=e.createElement("div"),o.current.className=ol,r.appendChild(o.current),i({});const a=o.current;return()=>{r.contains(a)&&r.removeChild(a)}}),[n]);const c=(null==s?void 0:s.zIndex)?(0,Ma.jsx)(il,{zIndex:null==s?void 0:s.zIndex,children:r}):r;return o.current?(0,rl.createPortal)((0,Ma.jsx)(nl,{value:o.current,children:c}),o.current):(0,Ma.jsx)("span",{ref:e=>{e&&a(e)}})},sl=e=>{const{children:t,containerRef:r,appendToParentPortal:n}=e,a=r.current,o=null!=a?a:"undefined"!=typeof window?document.body:void 0,i=(0,U.useMemo)((()=>{const e=null==a?void 0:a.ownerDocument.createElement("div");return e&&(e.className=ol),e}),[a]),[,l]=(0,U.useState)({});return tl((()=>l({})),[]),tl((()=>{if(i&&o)return o.appendChild(i),()=>{o.removeChild(i)}}),[i,o]),o&&i?(0,rl.createPortal)((0,Ma.jsx)(nl,{value:n?i:null,children:t}),i):null};function cl(e){const t={appendToParentPortal:!0,...e},{containerRef:r,...n}=t;return r?(0,Ma.jsx)(sl,{containerRef:r,...n}):(0,Ma.jsx)(ll,{...n})}cl.className=ol,cl.selector=".chakra-portal",cl.displayName="Portal";var ul=function(e,t){return ul=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},ul(e,t)};function dl(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}ul(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var pl=function(){return pl=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},pl.apply(this,arguments)};function ml(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]])}return r}function hl(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,a,o=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)i.push(n.value)}catch(e){a={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return i}function fl(e,t,r){if(r||2===arguments.length)for(var n,a=0,o=t.length;a<o;a++)!n&&a in t||(n||(n=Array.prototype.slice.call(t,0,a)),n[a]=t[a]);return e.concat(n||Array.prototype.slice.call(t))}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var vl=("undefined"==typeof process||process.env,"production"),bl=function(e){return{isEnabled:function(t){return e.some((function(e){return!!t[e]}))}}},gl={measureLayout:bl(["layout","layoutId","drag"]),animation:bl(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:bl(["exit"]),drag:bl(["drag","dragControls"]),focus:bl(["whileFocus"]),hover:bl(["whileHover","onHoverStart","onHoverEnd"]),tap:bl(["whileTap","onTap","onTapStart","onTapCancel"]),pan:bl(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:bl(["whileInView","onViewportEnter","onViewportLeave"])},yl=function(){},El=function(){},kl=(0,U.createContext)({strict:!1}),wl=Object.keys(gl),xl=wl.length,_l=(0,U.createContext)({transformPagePoint:function(e){return e},isStatic:!1,reducedMotion:"never"}),Pl=(0,U.createContext)({}),Cl=(0,U.createContext)(null),Al="undefined"!=typeof document,Sl=Al?U.useLayoutEffect:U.useEffect,Rl={current:null},Ml=!1;function Tl(e,t,r,n){var a,o,i=(0,U.useContext)(kl),l=(0,U.useContext)(Pl).visualElement,s=(0,U.useContext)(Cl),c=(!Ml&&function(){if(Ml=!0,Al)if(window.matchMedia){var e=window.matchMedia("(prefers-reduced-motion)"),t=function(){return Rl.current=e.matches};e.addListener(t),t()}else Rl.current=!1}(),a=hl((0,U.useState)(Rl.current),1)[0],"never"!==(o=(0,U.useContext)(_l).reducedMotion)&&("always"===o||a)),u=(0,U.useRef)(void 0);n||(n=i.renderer),!u.current&&n&&(u.current=n(e,{visualState:t,parent:l,props:r,presenceId:null==s?void 0:s.id,blockInitialAnimation:!1===(null==s?void 0:s.initial),shouldReduceMotion:c}));var d=u.current;return Sl((function(){null==d||d.syncRender()})),(0,U.useEffect)((function(){var e;null===(e=null==d?void 0:d.animationState)||void 0===e||e.animateChanges()})),Sl((function(){return function(){return null==d?void 0:d.notifyUnmount()}}),[]),d}function Il(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function Ol(e){return Array.isArray(e)}function Ll(e){return"string"==typeof e||Ol(e)}function Dl(e,t,r,n,a){var o;return void 0===n&&(n={}),void 0===a&&(a={}),"function"==typeof t&&(t=t(null!=r?r:e.custom,n,a)),"string"==typeof t&&(t=null===(o=e.variants)||void 0===o?void 0:o[t]),"function"==typeof t&&(t=t(null!=r?r:e.custom,n,a)),t}function Bl(e,t,r){var n=e.getProps();return Dl(n,t,null!=r?r:n.custom,function(e){var t={};return e.forEachValue((function(e,r){return t[r]=e.get()})),t}(e),function(e){var t={};return e.forEachValue((function(e,r){return t[r]=e.getVelocity()})),t}(e))}function zl(e){var t;return"function"==typeof(null===(t=e.animate)||void 0===t?void 0:t.start)||Ll(e.initial)||Ll(e.animate)||Ll(e.whileHover)||Ll(e.whileDrag)||Ll(e.whileTap)||Ll(e.whileFocus)||Ll(e.exit)}function Nl(e){return Boolean(zl(e)||e.variants)}function Vl(e){return Array.isArray(e)?e.join(" "):e}function Fl(e){var t=(0,U.useRef)(null);return null===t.current&&(t.current=e()),t.current}var Hl={hasAnimatedSinceResize:!0,hasEverUpdated:!1},jl=1,Wl=(0,U.createContext)({}),$l=(0,U.createContext)({}),Zl=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return dl(t,e),t.prototype.getSnapshotBeforeUpdate=function(){return this.updateProps(),null},t.prototype.componentDidUpdate=function(){},t.prototype.updateProps=function(){var e=this.props,t=e.visualElement,r=e.props;t&&t.setProps(r)},t.prototype.render=function(){return this.props.children},t}(U.Component);function Ul(e){var t=e.preloadedFeatures,r=e.createVisualElement,n=e.projectionNodeConstructor,a=e.useRender,o=e.useVisualState,i=e.Component;return t&&function(e){for(var t in e)null!==e[t]&&("projectionNodeConstructor"===t?gl.projectionNodeConstructor=e[t]:gl[t].Component=e[t])}(t),(0,U.forwardRef)((function(e,l){var s=function(e){var t,r=e.layoutId,n=null===(t=(0,U.useContext)(Wl))||void 0===t?void 0:t.id;return n&&void 0!==r?n+"-"+r:r}(e);e=pl(pl({},e),{layoutId:s});var c=(0,U.useContext)(_l),u=null,d=function(e){var t=function(e,t){if(zl(e)){var r=e.initial,n=e.animate;return{initial:!1===r||Ll(r)?r:void 0,animate:Ll(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,(0,U.useContext)(Pl)),r=t.initial,n=t.animate;return(0,U.useMemo)((function(){return{initial:r,animate:n}}),[Vl(r),Vl(n)])}(e),p=c.isStatic?void 0:Fl((function(){if(Hl.hasEverUpdated)return jl++})),m=o(e,c.isStatic);return!c.isStatic&&Al&&(d.visualElement=Tl(i,m,pl(pl({},c),e),r),function(e,t,r,n){var a,o=t.layoutId,i=t.layout,l=t.drag,s=t.dragConstraints,c=t.layoutScroll,u=(0,U.useContext)($l);n&&r&&!(null==r?void 0:r.projection)&&(r.projection=new n(e,r.getLatestValues(),null===(a=r.parent)||void 0===a?void 0:a.projection),r.projection.setOptions({layoutId:o,layout:i,alwaysMeasureLayout:Boolean(l)||s&&Il(s),visualElement:r,scheduleRender:function(){return r.scheduleRender()},animationType:"string"==typeof i?i:"both",initialPromotionConfig:u,layoutScroll:c}))}(p,e,d.visualElement,n||gl.projectionNodeConstructor),u=function(e,t,r){var n=[],a=(0,U.useContext)(kl);if(!t)return null;"production"!==vl&&r&&a.strict&&El(!1,"You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.");for(var o=0;o<xl;o++){var i=wl[o],l=gl[i],s=l.isEnabled,c=l.Component;s(e)&&c&&n.push(U.createElement(c,pl({key:i},e,{visualElement:t})))}return n}(e,d.visualElement,t)),U.createElement(Zl,{visualElement:d.visualElement,props:pl(pl({},c),e)},u,U.createElement(Pl.Provider,{value:d},a(i,e,p,function(e,t,r){return(0,U.useCallback)((function(n){var a;n&&(null===(a=e.mount)||void 0===a||a.call(e,n)),t&&(n?t.mount(n):t.unmount()),r&&("function"==typeof r?r(n):Il(r)&&(r.current=n))}),[t])}(m,d.visualElement,l),m,c.isStatic,d.visualElement)))}))}function Gl(e){function t(t,r){return void 0===r&&(r={}),Ul(e(t,r))}if("undefined"==typeof Proxy)return t;var r=new Map;return new Proxy(t,{get:function(e,n){return r.has(n)||r.set(n,t(n)),r.get(n)}})}var ql=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function Kl(e){return"string"==typeof e&&!e.includes("-")&&!!(ql.indexOf(e)>-1||/[A-Z]/.test(e))}var Yl={},Xl=["","X","Y","Z"],Ql=["transformPerspective","x","y","z"];function Jl(e,t){return Ql.indexOf(e)-Ql.indexOf(t)}["translate","scale","rotate","skew"].forEach((function(e){return Xl.forEach((function(t){return Ql.push(e+t)}))}));var es=new Set(Ql);function ts(e){return es.has(e)}var rs=new Set(["originX","originY","originZ"]);function ns(e){return rs.has(e)}function as(e,t){var r=t.layout,n=t.layoutId;return ts(e)||ns(e)||(r||void 0!==n)&&(!!Yl[e]||"opacity"===e)}var os=function(e){return Boolean(null!==e&&"object"==typeof e&&e.getVelocity)},is={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function ls(e){return e.startsWith("--")}var ss=function(e,t){return t&&"number"==typeof e?t.transform(e):e};const cs=(e,t)=>r=>Math.max(Math.min(r,t),e),us=e=>e%1?Number(e.toFixed(5)):e,ds=/(-)?([\d]*\.?[\d])+/g,ps=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,ms=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function hs(e){return"string"==typeof e}const fs=e=>({test:t=>hs(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),vs=fs("deg"),bs=fs("%"),gs=fs("px"),ys=fs("vh"),Es=fs("vw"),ks=Object.assign(Object.assign({},bs),{parse:e=>bs.parse(e)/100,transform:e=>bs.transform(100*e)}),ws={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},xs=Object.assign(Object.assign({},ws),{transform:cs(0,1)}),_s=Object.assign(Object.assign({},ws),{default:1});var Ps=pl(pl({},ws),{transform:Math.round}),Cs={borderWidth:gs,borderTopWidth:gs,borderRightWidth:gs,borderBottomWidth:gs,borderLeftWidth:gs,borderRadius:gs,radius:gs,borderTopLeftRadius:gs,borderTopRightRadius:gs,borderBottomRightRadius:gs,borderBottomLeftRadius:gs,width:gs,maxWidth:gs,height:gs,maxHeight:gs,size:gs,top:gs,right:gs,bottom:gs,left:gs,padding:gs,paddingTop:gs,paddingRight:gs,paddingBottom:gs,paddingLeft:gs,margin:gs,marginTop:gs,marginRight:gs,marginBottom:gs,marginLeft:gs,rotate:vs,rotateX:vs,rotateY:vs,rotateZ:vs,scale:_s,scaleX:_s,scaleY:_s,scaleZ:_s,skew:vs,skewX:vs,skewY:vs,distance:gs,translateX:gs,translateY:gs,translateZ:gs,x:gs,y:gs,z:gs,perspective:gs,transformPerspective:gs,opacity:xs,originX:ks,originY:ks,originZ:gs,zIndex:Ps,fillOpacity:xs,strokeOpacity:xs,numOctaves:Ps};function As(e,t,r,n){var a,o=e.style,i=e.vars,l=e.transform,s=e.transformKeys,c=e.transformOrigin;s.length=0;var u=!1,d=!1,p=!0;for(var m in t){var h=t[m];if(ls(m))i[m]=h;else{var f=Cs[m],v=ss(h,f);if(ts(m)){if(u=!0,l[m]=v,s.push(m),!p)continue;h!==(null!==(a=f.default)&&void 0!==a?a:0)&&(p=!1)}else ns(m)?(c[m]=v,d=!0):o[m]=v}}u?o.transform=function(e,t,r,n){var a=e.transform,o=e.transformKeys,i=t.enableHardwareAcceleration,l=void 0===i||i,s=t.allowTransformNone,c=void 0===s||s,u="";o.sort(Jl);for(var d=!1,p=o.length,m=0;m<p;m++){var h=o[m];u+="".concat(is[h]||h,"(").concat(a[h],") "),"z"===h&&(d=!0)}return!d&&l?u+="translateZ(0)":u=u.trim(),n?u=n(a,r?"":u):c&&r&&(u="none"),u}(e,r,p,n):n?o.transform=n({},""):!t.transform&&o.transform&&(o.transform="none"),d&&(o.transformOrigin=function(e){var t=e.originX,r=void 0===t?"50%":t,n=e.originY,a=void 0===n?"50%":n,o=e.originZ,i=void 0===o?0:o;return"".concat(r," ").concat(a," ").concat(i)}(c))}var Ss=function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}};function Rs(e,t,r){for(var n in t)os(t[n])||as(n,r)||(e[n]=t[n])}function Ms(e,t,r){var n={},a=function(e,t,r){var n={};return Rs(n,e.style||{},e),Object.assign(n,function(e,t,r){var n=e.transformTemplate;return(0,U.useMemo)((function(){var e=Ss();As(e,t,{enableHardwareAcceleration:!r},n);var a=e.vars,o=e.style;return pl(pl({},a),o)}),[t])}(e,t,r)),e.transformValues&&(n=e.transformValues(n)),n}(e,t,r);return Boolean(e.drag)&&!1!==e.dragListener&&(n.draggable=!1,a.userSelect=a.WebkitUserSelect=a.WebkitTouchCallout="none",a.touchAction=!0===e.drag?"none":"pan-".concat("x"===e.drag?"y":"x")),n.style=a,n}var Ts=new Set(["initial","animate","exit","style","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","whileDrag","onPan","onPanStart","onPanEnd","onPanSessionStart","onTap","onTapStart","onTapCancel","onHoverStart","onHoverEnd","whileFocus","whileTap","whileHover","whileInView","onViewportEnter","onViewportLeave","viewport","layoutScroll"]);function Is(e){return Ts.has(e)}var Os,Ls=function(e){return!Is(e)};try{(Os=require("@emotion/is-prop-valid").default)&&(Ls=function(e){return e.startsWith("on")?!Is(e):Os(e)})}catch(ya){}function Ds(e,t,r){return"string"==typeof e?e:gs.transform(t+r*e)}var Bs={offset:"stroke-dashoffset",array:"stroke-dasharray"},zs={offset:"strokeDashoffset",array:"strokeDasharray"};function Ns(e,t,r,n){var a=t.attrX,o=t.attrY,i=t.originX,l=t.originY,s=t.pathLength,c=t.pathSpacing,u=void 0===c?1:c,d=t.pathOffset,p=void 0===d?0:d;As(e,ml(t,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]),r,n),e.attrs=e.style,e.style={};var m=e.attrs,h=e.style,f=e.dimensions;m.transform&&(f&&(h.transform=m.transform),delete m.transform),f&&(void 0!==i||void 0!==l||h.transform)&&(h.transformOrigin=function(e,t,r){var n=Ds(t,e.x,e.width),a=Ds(r,e.y,e.height);return"".concat(n," ").concat(a)}(f,void 0!==i?i:.5,void 0!==l?l:.5)),void 0!==a&&(m.x=a),void 0!==o&&(m.y=o),void 0!==s&&function(e,t,r,n,a){void 0===r&&(r=1),void 0===n&&(n=0),void 0===a&&(a=!0),e.pathLength=1;var o=a?Bs:zs;e[o.offset]=gs.transform(-n);var i=gs.transform(t),l=gs.transform(r);e[o.array]="".concat(i," ").concat(l)}(m,s,u,p,!1)}var Vs=function(){return pl(pl({},Ss()),{attrs:{}})};function Fs(e,t){var r=(0,U.useMemo)((function(){var r=Vs();return Ns(r,t,{enableHardwareAcceleration:!1},e.transformTemplate),pl(pl({},r.attrs),{style:pl({},r.style)})}),[t]);if(e.style){var n={};Rs(n,e.style,e),r.style=pl(pl({},n),r.style)}return r}function Hs(e){return void 0===e&&(e=!1),function(t,r,n,a,o,i){var l=o.latestValues,s=(Kl(t)?Fs:Ms)(r,l,i),c=function(e,t,r){var n={};for(var a in e)(Ls(a)||!0===r&&Is(a)||!t&&!Is(a)||e.draggable&&a.startsWith("onDrag"))&&(n[a]=e[a]);return n}(r,"string"==typeof t,e),u=pl(pl(pl({},c),s),{ref:a});return n&&(u["data-projection-id"]=n),(0,U.createElement)(t,u)}}var js=/([a-z])([A-Z])/g,Ws=function(e){return e.replace(js,"$1-$2").toLowerCase()};function $s(e,t,r,n){var a=t.style,o=t.vars;for(var i in Object.assign(e.style,a,n&&n.getProjectionStyles(r)),o)e.style.setProperty(i,o[i])}var Zs=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function Us(e,t,r,n){for(var a in $s(e,t,void 0,n),t.attrs)e.setAttribute(Zs.has(a)?a:Ws(a),t.attrs[a])}function Gs(e){var t=e.style,r={};for(var n in t)(os(t[n])||as(n,e))&&(r[n]=t[n]);return r}function qs(e){var t=Gs(e);for(var r in e)os(e[r])&&(t["x"===r||"y"===r?"attr"+r.toUpperCase():r]=e[r]);return t}function Ks(e){return"object"==typeof e&&"function"==typeof e.start}var Ys=function(e){return Array.isArray(e)},Xs=function(e){return Boolean(e&&"object"==typeof e&&e.mix&&e.toValue)},Qs=function(e){return Ys(e)?e[e.length-1]||0:e};function Js(e){var t=os(e)?e.get():e;return Xs(t)?t.toValue():t}function ec(e,t,r,n){var a=e.scrapeMotionValuesFromProps,o=e.createRenderState,i=e.onMount,l={latestValues:rc(t,r,n,a),renderState:o()};return i&&(l.mount=function(e){return i(t,e,l)}),l}var tc=function(e){return function(t,r){var n=(0,U.useContext)(Pl),a=(0,U.useContext)(Cl);return r?ec(e,t,n,a):Fl((function(){return ec(e,t,n,a)}))}};function rc(e,t,r,n){var a={},o=!1===(null==r?void 0:r.initial),i=n(e);for(var l in i)a[l]=Js(i[l]);var s=e.initial,c=e.animate,u=zl(e),d=Nl(e);t&&d&&!u&&!1!==e.inherit&&(null!=s||(s=t.initial),null!=c||(c=t.animate));var p=o||!1===s,m=p?c:s;return m&&"boolean"!=typeof m&&!Ks(m)&&(Array.isArray(m)?m:[m]).forEach((function(t){var r=Dl(e,t);if(r){var n=r.transitionEnd;r.transition;var o=ml(r,["transitionEnd","transition"]);for(var i in o){var l=o[i];Array.isArray(l)&&(l=l[p?l.length-1:0]),null!==l&&(a[i]=l)}for(var i in n)a[i]=n[i]}})),a}var nc,ac={useVisualState:tc({scrapeMotionValuesFromProps:qs,createRenderState:Vs,onMount:function(e,t,r){var n=r.renderState,a=r.latestValues;try{n.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){n.dimensions={x:0,y:0,width:0,height:0}}Ns(n,a,{enableHardwareAcceleration:!1},e.transformTemplate),Us(t,n)}})},oc={useVisualState:tc({scrapeMotionValuesFromProps:Gs,createRenderState:Ss})};function ic(e,t,r,n){return void 0===n&&(n={passive:!0}),e.addEventListener(t,r,n),function(){return e.removeEventListener(t,r)}}function lc(e,t,r,n){(0,U.useEffect)((function(){var a=e.current;if(r&&a)return ic(a,t,r,n)}),[e,t,r,n])}function sc(e){return"undefined"!=typeof PointerEvent&&e instanceof PointerEvent?!("mouse"!==e.pointerType):e instanceof MouseEvent}function cc(e){return!!e.touches}!function(e){e.Animate="animate",e.Hover="whileHover",e.Tap="whileTap",e.Drag="whileDrag",e.Focus="whileFocus",e.InView="whileInView",e.Exit="exit"}(nc||(nc={}));var uc={pageX:0,pageY:0};function dc(e,t){void 0===t&&(t="page");var r=e.touches[0]||e.changedTouches[0]||uc;return{x:r[t+"X"],y:r[t+"Y"]}}function pc(e,t){return void 0===t&&(t="page"),{x:e[t+"X"],y:e[t+"Y"]}}function mc(e,t){return void 0===t&&(t="page"),{point:cc(e)?dc(e,t):pc(e,t)}}var hc=function(e,t){void 0===t&&(t=!1);var r,n=function(t){return e(t,mc(t))};return t?(r=n,function(e){var t=e instanceof MouseEvent;(!t||t&&0===e.button)&&r(e)}):n},fc=function(){return Al&&null===window.onpointerdown},vc=function(){return Al&&null===window.ontouchstart},bc=function(){return Al&&null===window.onmousedown},gc={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},yc={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function Ec(e){return fc()?e:vc()?yc[e]:bc()?gc[e]:e}function kc(e,t,r,n){return ic(e,Ec(t),hc(r,"pointerdown"===t),n)}function wc(e,t,r,n){return lc(e,Ec(t),r&&hc(r,"pointerdown"===t),n)}function xc(e){var t=null;return function(){return null===t&&(t=e,function(){t=null})}}var _c=xc("dragHorizontal"),Pc=xc("dragVertical");function Cc(e){var t=!1;if("y"===e)t=Pc();else if("x"===e)t=_c();else{var r=_c(),n=Pc();r&&n?t=function(){r(),n()}:(r&&r(),n&&n())}return t}function Ac(){var e=Cc(!0);return!e||(e(),!1)}function Sc(e,t,r){return function(n,a){var o;sc(n)&&!Ac()&&(null===(o=e.animationState)||void 0===o||o.setActive(nc.Hover,t),null==r||r(n,a))}}var Rc=function(e,t){return!!t&&(e===t||Rc(e,t.parentElement))};function Mc(e){return(0,U.useEffect)((function(){return function(){return e()}}),[])}const Tc=(e,t)=>r=>t(e(r)),Ic=(...e)=>e.reduce(Tc);var Oc=new Set,Lc=new WeakMap,Dc=new WeakMap,Bc=function(e){var t;null===(t=Lc.get(e.target))||void 0===t||t(e)},zc=function(e){e.forEach(Bc)};var Nc={some:0,all:1};function Vc(e,t,r,n){var a=n.root,o=n.margin,i=n.amount,l=void 0===i?"some":i,s=n.once;(0,U.useEffect)((function(){if(e){var n={root:null==a?void 0:a.current,rootMargin:o,threshold:"number"==typeof l?l:Nc[l]};return function(e,t,r){var n=function(e){var t=e.root,r=ml(e,["root"]),n=t||document;Dc.has(n)||Dc.set(n,{});var a=Dc.get(n),o=JSON.stringify(r);return a[o]||(a[o]=new IntersectionObserver(zc,pl({root:t},r))),a[o]}(t);return Lc.set(e,r),n.observe(e),function(){Lc.delete(e),n.unobserve(e)}}(r.getInstance(),n,(function(e){var n,a=e.isIntersecting;if(t.isInView!==a&&(t.isInView=a,!s||a||!t.hasEnteredView)){a&&(t.hasEnteredView=!0),null===(n=r.animationState)||void 0===n||n.setActive(nc.InView,a);var o=r.getProps(),i=a?o.onViewportEnter:o.onViewportLeave;null==i||i(e)}}))}}),[e,a,o,l])}function Fc(e,t,r,n){var a=n.fallback,o=void 0===a||a;(0,U.useEffect)((function(){var n;e&&o&&("production"!==vl&&(n="IntersectionObserver not available on this device. whileInView animations will trigger on mount.",Oc.has(n)||(console.warn(n),Oc.add(n))),requestAnimationFrame((function(){var e;t.hasEnteredView=!0;var n=r.getProps().onViewportEnter;null==n||n(null),null===(e=r.animationState)||void 0===e||e.setActive(nc.InView,!0)})))}),[e])}var Hc=function(e){return function(t){return e(t),null}},jc={inView:Hc((function(e){var t=e.visualElement,r=e.whileInView,n=e.onViewportEnter,a=e.onViewportLeave,o=e.viewport,i=void 0===o?{}:o,l=(0,U.useRef)({hasEnteredView:!1,isInView:!1}),s=Boolean(r||n||a);i.once&&l.current.hasEnteredView&&(s=!1),("undefined"==typeof IntersectionObserver?Fc:Vc)(s,l.current,t,i)})),tap:Hc((function(e){var t=e.onTap,r=e.onTapStart,n=e.onTapCancel,a=e.whileTap,o=e.visualElement,i=t||r||n||a,l=(0,U.useRef)(!1),s=(0,U.useRef)(null),c={passive:!(r||t||n||h)};function u(){var e;null===(e=s.current)||void 0===e||e.call(s),s.current=null}function d(){var e;return u(),l.current=!1,null===(e=o.animationState)||void 0===e||e.setActive(nc.Tap,!1),!Ac()}function p(e,r){d()&&(Rc(o.getInstance(),e.target)?null==t||t(e,r):null==n||n(e,r))}function m(e,t){d()&&(null==n||n(e,t))}function h(e,t){var n;u(),l.current||(l.current=!0,s.current=Ic(kc(window,"pointerup",p,c),kc(window,"pointercancel",m,c)),null===(n=o.animationState)||void 0===n||n.setActive(nc.Tap,!0),null==r||r(e,t))}wc(o,"pointerdown",i?h:void 0,c),Mc(u)})),focus:Hc((function(e){var t=e.whileFocus,r=e.visualElement;lc(r,"focus",t?function(){var e;null===(e=r.animationState)||void 0===e||e.setActive(nc.Focus,!0)}:void 0),lc(r,"blur",t?function(){var e;null===(e=r.animationState)||void 0===e||e.setActive(nc.Focus,!1)}:void 0)})),hover:Hc((function(e){var t=e.onHoverStart,r=e.onHoverEnd,n=e.whileHover,a=e.visualElement;wc(a,"pointerenter",t||n?Sc(a,!0,t):void 0,{passive:!t}),wc(a,"pointerleave",r||n?Sc(a,!1,r):void 0,{passive:!r})}))},Wc=0,$c=function(){return Wc++},Zc=function(){return Fl($c)};function Uc(){var e=(0,U.useContext)(Cl);if(null===e)return[!0,null];var t=e.isPresent,r=e.onExitComplete,n=e.register,a=Zc();return(0,U.useEffect)((function(){return n(a)}),[]),!t&&r?[!1,function(){return null==r?void 0:r(a)}]:[!0]}function Gc(e,t){if(!Array.isArray(t))return!1;var r=t.length;if(r!==e.length)return!1;for(var n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}const qc=(e,t,r)=>Math.min(Math.max(r,e),t),Kc=.001,Yc=.01,Xc=10,Qc=.05,Jc=1;const eu=12;function tu(e,t){return e*Math.sqrt(1-t*t)}const ru=["duration","bounce"],nu=["stiffness","damping","mass"];function au(e,t){return t.some((t=>void 0!==e[t]))}function ou(e){var{from:t=0,to:r=1,restSpeed:n=2,restDelta:a}=e,o=ml(e,["from","to","restSpeed","restDelta"]);const i={done:!1,value:t};let{stiffness:l,damping:s,mass:c,velocity:u,duration:d,isResolvedFromDuration:p}=function(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!au(e,nu)&&au(e,ru)){const r=function({duration:e=800,bounce:t=.25,velocity:r=0,mass:n=1}){let a,o;yl(e<=1e3*Xc,"Spring duration must be 10 seconds or less");let i=1-t;i=qc(Qc,Jc,i),e=qc(Yc,Xc,e/1e3),i<1?(a=t=>{const n=t*i,a=n*e,o=n-r,l=tu(t,i),s=Math.exp(-a);return Kc-o/l*s},o=t=>{const n=t*i*e,o=n*r+r,l=Math.pow(i,2)*Math.pow(t,2)*e,s=Math.exp(-n),c=tu(Math.pow(t,2),i);return(-a(t)+Kc>0?-1:1)*((o-l)*s)/c}):(a=t=>Math.exp(-t*e)*((t-r)*e+1)-Kc,o=t=>Math.exp(-t*e)*(e*e*(r-t)));const l=function(e,t,r){let n=r;for(let r=1;r<eu;r++)n-=e(n)/t(n);return n}(a,o,5/e);if(e*=1e3,isNaN(l))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(l,2)*n;return{stiffness:t,damping:2*i*Math.sqrt(n*t),duration:e}}}(e);t=Object.assign(Object.assign(Object.assign({},t),r),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}(o),m=iu,h=iu;function f(){const e=u?-u/1e3:0,n=r-t,o=s/(2*Math.sqrt(l*c)),i=Math.sqrt(l/c)/1e3;if(void 0===a&&(a=Math.min(Math.abs(r-t)/100,.4)),o<1){const t=tu(i,o);m=a=>{const l=Math.exp(-o*i*a);return r-l*((e+o*i*n)/t*Math.sin(t*a)+n*Math.cos(t*a))},h=r=>{const a=Math.exp(-o*i*r);return o*i*a*(Math.sin(t*r)*(e+o*i*n)/t+n*Math.cos(t*r))-a*(Math.cos(t*r)*(e+o*i*n)-t*n*Math.sin(t*r))}}else if(1===o)m=t=>r-Math.exp(-i*t)*(n+(e+i*n)*t);else{const t=i*Math.sqrt(o*o-1);m=a=>{const l=Math.exp(-o*i*a),s=Math.min(t*a,300);return r-l*((e+o*i*n)*Math.sinh(s)+t*n*Math.cosh(s))/t}}}return f(),{next:e=>{const t=m(e);if(p)i.done=e>=d;else{const o=1e3*h(e),l=Math.abs(o)<=n,s=Math.abs(r-t)<=a;i.done=l&&s}return i.value=i.done?r:t,i},flipTarget:()=>{u=-u,[t,r]=[r,t],f()}}}ou.needsInterpolation=(e,t)=>"string"==typeof e||"string"==typeof t;const iu=e=>0,lu=(e,t,r)=>{const n=t-e;return 0===n?1:(r-e)/n},su=(e,t,r)=>-r*e+r*t+e,cu=(e,t)=>r=>Boolean(hs(r)&&ms.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),uu=(e,t,r)=>n=>{if(!hs(n))return n;const[a,o,i,l]=n.match(ds);return{[e]:parseFloat(a),[t]:parseFloat(o),[r]:parseFloat(i),alpha:void 0!==l?parseFloat(l):1}},du=cs(0,255),pu=Object.assign(Object.assign({},ws),{transform:e=>Math.round(du(e))}),mu={test:cu("rgb","red"),parse:uu("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+pu.transform(e)+", "+pu.transform(t)+", "+pu.transform(r)+", "+us(xs.transform(n))+")"},hu={test:cu("#"),parse:function(e){let t="",r="",n="",a="";return e.length>5?(t=e.substr(1,2),r=e.substr(3,2),n=e.substr(5,2),a=e.substr(7,2)):(t=e.substr(1,1),r=e.substr(2,1),n=e.substr(3,1),a=e.substr(4,1),t+=t,r+=r,n+=n,a+=a),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:a?parseInt(a,16)/255:1}},transform:mu.transform},fu={test:cu("hsl","hue"),parse:uu("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+bs.transform(us(t))+", "+bs.transform(us(r))+", "+us(xs.transform(n))+")"};function vu(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function bu({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,r/=100;let a=0,o=0,i=0;if(t/=100){const n=r<.5?r*(1+t):r+t-r*t,l=2*r-n;a=vu(l,n,e+1/3),o=vu(l,n,e),i=vu(l,n,e-1/3)}else a=o=i=r;return{red:Math.round(255*a),green:Math.round(255*o),blue:Math.round(255*i),alpha:n}}const gu=(e,t,r)=>{const n=e*e,a=t*t;return Math.sqrt(Math.max(0,r*(a-n)+n))},yu=[hu,mu,fu],Eu=e=>yu.find((t=>t.test(e))),ku=e=>`'${e}' is not an animatable color. Use the equivalent color code instead.`,wu=(e,t)=>{let r=Eu(e),n=Eu(t);El(!!r,ku(e)),El(!!n,ku(t));let a=r.parse(e),o=n.parse(t);r===fu&&(a=bu(a),r=mu),n===fu&&(o=bu(o),n=mu);const i=Object.assign({},a);return e=>{for(const t in i)"alpha"!==t&&(i[t]=gu(a[t],o[t],e));return i.alpha=su(a.alpha,o.alpha,e),r.transform(i)}},xu={test:e=>mu.test(e)||hu.test(e)||fu.test(e),parse:e=>mu.test(e)?mu.parse(e):fu.test(e)?fu.parse(e):hu.parse(e),transform:e=>hs(e)?e:e.hasOwnProperty("red")?mu.transform(e):fu.transform(e)},_u="${c}",Pu="${n}";function Cu(e){"number"==typeof e&&(e=`${e}`);const t=[];let r=0;const n=e.match(ps);n&&(r=n.length,e=e.replace(ps,_u),t.push(...n.map(xu.parse)));const a=e.match(ds);return a&&(e=e.replace(ds,Pu),t.push(...a.map(ws.parse))),{values:t,numColors:r,tokenised:e}}function Au(e){return Cu(e).values}function Su(e){const{values:t,numColors:r,tokenised:n}=Cu(e),a=t.length;return e=>{let t=n;for(let n=0;n<a;n++)t=t.replace(n<r?_u:Pu,n<r?xu.transform(e[n]):us(e[n]));return t}}const Ru=e=>"number"==typeof e?0:e,Mu={test:function(e){var t,r,n,a;return isNaN(e)&&hs(e)&&(null!==(r=null===(t=e.match(ds))||void 0===t?void 0:t.length)&&void 0!==r?r:0)+(null!==(a=null===(n=e.match(ps))||void 0===n?void 0:n.length)&&void 0!==a?a:0)>0},parse:Au,createTransformer:Su,getAnimatableNone:function(e){const t=Au(e);return Su(e)(t.map(Ru))}},Tu=e=>"number"==typeof e;function Iu(e,t){return Tu(e)?r=>su(e,t,r):xu.test(e)?wu(e,t):Bu(e,t)}const Ou=(e,t)=>{const r=[...e],n=r.length,a=e.map(((e,r)=>Iu(e,t[r])));return e=>{for(let t=0;t<n;t++)r[t]=a[t](e);return r}},Lu=(e,t)=>{const r=Object.assign(Object.assign({},e),t),n={};for(const a in r)void 0!==e[a]&&void 0!==t[a]&&(n[a]=Iu(e[a],t[a]));return e=>{for(const t in n)r[t]=n[t](e);return r}};function Du(e){const t=Mu.parse(e),r=t.length;let n=0,a=0,o=0;for(let e=0;e<r;e++)n||"number"==typeof t[e]?n++:void 0!==t[e].hue?o++:a++;return{parsed:t,numNumbers:n,numRGB:a,numHSL:o}}const Bu=(e,t)=>{const r=Mu.createTransformer(t),n=Du(e),a=Du(t);return n.numHSL===a.numHSL&&n.numRGB===a.numRGB&&n.numNumbers>=a.numNumbers?Ic(Ou(n.parsed,a.parsed),r):(yl(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),r=>`${r>0?t:e}`)},zu=(e,t)=>r=>su(e,t,r);function Nu(e,t,{clamp:r=!0,ease:n,mixer:a}={}){const o=e.length;El(o===t.length,"Both input and output ranges must be the same length"),El(!n||!Array.isArray(n)||n.length===o-1,"Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values."),e[0]>e[o-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());const i=function(e,t,r){const n=[],a=r||function(e){return"number"==typeof e?zu:"string"==typeof e?xu.test(e)?wu:Bu:Array.isArray(e)?Ou:"object"==typeof e?Lu:void 0}(e[0]),o=e.length-1;for(let r=0;r<o;r++){let o=a(e[r],e[r+1]);if(t){const e=Array.isArray(t)?t[r]:t;o=Ic(e,o)}n.push(o)}return n}(t,n,a),l=2===o?function([e,t],[r]){return n=>r(lu(e,t,n))}(e,i):function(e,t){const r=e.length,n=r-1;return a=>{let o=0,i=!1;if(a<=e[0]?i=!0:a>=e[n]&&(o=n-1,i=!0),!i){let t=1;for(;t<r&&!(e[t]>a||t===n);t++);o=t-1}const l=lu(e[o],e[o+1],a);return t[o](l)}}(e,i);return r?t=>l(qc(e[0],e[o-1],t)):l}const Vu=e=>t=>1-e(1-t),Fu=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Hu=e=>t=>t*t*((e+1)*t-e),ju=4/11,Wu=8/11,$u=e=>e,Zu=e=>Math.pow(e,2);const Uu=Vu(Zu),Gu=Fu(Zu),qu=e=>1-Math.sin(Math.acos(e)),Ku=Vu(qu),Yu=Fu(Ku),Xu=Hu(1.525),Qu=Vu(Xu),Ju=Fu(Xu),ed=(e=>{const t=Hu(1.525);return e=>(e*=2)<1?.5*t(e):.5*(2-Math.pow(2,-10*(e-1)))})(),td=4356/361,rd=35442/1805,nd=16061/1805,ad=e=>{if(1===e||0===e)return e;const t=e*e;return e<ju?7.5625*t:e<Wu?9.075*t-9.9*e+3.4:e<.9?td*t-rd*e+nd:10.8*e*e-20.52*e+10.72},od=Vu(ad);function id(e,t){return e.map((()=>t||Gu)).splice(0,e.length-1)}function ld({from:e=0,to:t=1,ease:r,offset:n,duration:a=300}){const o={done:!1,value:e},i=Array.isArray(t)?t:[e,t],l=function(e,t){return e.map((e=>e*t))}(n&&n.length===i.length?n:function(e){const t=e.length;return e.map(((e,r)=>0!==r?r/(t-1):0))}(i),a);function s(){return Nu(l,i,{ease:Array.isArray(r)?r:id(i,r)})}let c=s();return{next:e=>(o.value=c(e),o.done=e>=a,o),flipTarget:()=>{i.reverse(),c=s()}}}const sd={keyframes:ld,spring:ou,decay:function({velocity:e=0,from:t=0,power:r=.8,timeConstant:n=350,restDelta:a=.5,modifyTarget:o}){const i={done:!1,value:t};let l=r*e;const s=t+l,c=void 0===o?s:o(s);return c!==s&&(l=c-t),{next:e=>{const t=-l*Math.exp(-e/n);return i.done=!(t>a||t<-a),i.value=i.done?c:c+t,i},flipTarget:()=>{}}}},cd=1/60*1e3,ud="undefined"!=typeof performance?()=>performance.now():()=>Date.now(),dd="undefined"!=typeof window?e=>window.requestAnimationFrame(e):e=>setTimeout((()=>e(ud())),cd);let pd=!0,md=!1,hd=!1;const fd={delta:0,timestamp:0},vd=["read","update","preRender","render","postRender"],bd=vd.reduce(((e,t)=>(e[t]=function(e){let t=[],r=[],n=0,a=!1,o=!1;const i=new WeakSet,l={schedule:(e,o=!1,l=!1)=>{const s=l&&a,c=s?t:r;return o&&i.add(e),-1===c.indexOf(e)&&(c.push(e),s&&a&&(n=t.length)),e},cancel:e=>{const t=r.indexOf(e);-1!==t&&r.splice(t,1),i.delete(e)},process:s=>{if(a)o=!0;else{if(a=!0,[t,r]=[r,t],r.length=0,n=t.length,n)for(let r=0;r<n;r++){const n=t[r];n(s),i.has(n)&&(l.schedule(n),e())}a=!1,o&&(o=!1,l.process(s))}}};return l}((()=>md=!0)),e)),{}),gd=vd.reduce(((e,t)=>{const r=bd[t];return e[t]=(e,t=!1,n=!1)=>(md||xd(),r.schedule(e,t,n)),e}),{}),yd=vd.reduce(((e,t)=>(e[t]=bd[t].cancel,e)),{}),Ed=vd.reduce(((e,t)=>(e[t]=()=>bd[t].process(fd),e)),{}),kd=e=>bd[e].process(fd),wd=e=>{md=!1,fd.delta=pd?cd:Math.max(Math.min(e-fd.timestamp,40),1),fd.timestamp=e,hd=!0,vd.forEach(kd),hd=!1,md&&(pd=!1,dd(wd))},xd=()=>{md=!0,pd=!0,hd||dd(wd)},_d=()=>fd,Pd=gd;function Cd(e,t,r=0){return e-t-r}const Ad=e=>{const t=({delta:t})=>e(t);return{start:()=>Pd.update(t,!0),stop:()=>yd.update(t)}};function Sd(e){var t,r,{from:n,autoplay:a=!0,driver:o=Ad,elapsed:i=0,repeat:l=0,repeatType:s="loop",repeatDelay:c=0,onPlay:u,onStop:d,onComplete:p,onRepeat:m,onUpdate:h}=e,f=ml(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let v,b,g,{to:y}=f,E=0,k=f.duration,w=!1,x=!0;const _=function(e){if(Array.isArray(e.to))return ld;if(sd[e.type])return sd[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?ld:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?ou:ld}(f);(null===(r=(t=_).needsInterpolation)||void 0===r?void 0:r.call(t,n,y))&&(g=Nu([0,100],[n,y],{clamp:!1}),n=0,y=100);const P=_(Object.assign(Object.assign({},f),{from:n,to:y}));return a&&(null==u||u(),v=o((function(e){if(x||(e=-e),i+=e,!w){const e=P.next(Math.max(0,i));b=e.value,g&&(b=g(b)),w=x?e.done:i<=0}null==h||h(b),w&&(0===E&&(null!=k||(k=i)),E<l?function(e,t,r,n){return n?e>=t+r:e<=-r}(i,k,c,x)&&(E++,"reverse"===s?(x=E%2==0,i=function(e,t,r=0,n=!0){return n?Cd(t+-e,t,r):t-(e-t)+r}(i,k,c,x)):(i=Cd(i,k,c),"mirror"===s&&P.flipTarget()),w=!1,m&&m()):(v.stop(),p&&p()))})),v.start()),{stop:()=>{null==d||d(),v.stop()}}}function Rd(e,t){return t?e*(1e3/t):0}var Md=function(e){return 1e3*e};const Td=(e,t)=>1-3*t+3*e,Id=(e,t)=>3*t-6*e,Od=e=>3*e,Ld=(e,t,r)=>((Td(t,r)*e+Id(t,r))*e+Od(t))*e,Dd=(e,t,r)=>3*Td(t,r)*e*e+2*Id(t,r)*e+Od(t),Bd=.1;function zd(e,t,r,n){if(e===t&&r===n)return $u;const a=new Float32Array(11);for(let t=0;t<11;++t)a[t]=Ld(t*Bd,e,r);return o=>0===o||1===o?o:Ld(function(t){let n=0,o=1;for(;10!==o&&a[o]<=t;++o)n+=Bd;--o;const i=n+(t-a[o])/(a[o+1]-a[o])*Bd,l=Dd(i,e,r);return l>=.001?function(e,t,r,n){for(let a=0;a<8;++a){const a=Dd(t,r,n);if(0===a)return t;t-=(Ld(t,r,n)-e)/a}return t}(t,i,e,r):0===l?i:function(e,t,r,n,a){let o,i,l=0;do{i=t+(r-t)/2,o=Ld(i,n,a)-e,o>0?r=i:t=i}while(Math.abs(o)>1e-7&&++l<10);return i}(t,n,n+Bd,e,r)}(o),t,n)}var Nd={linear:$u,easeIn:Zu,easeInOut:Gu,easeOut:Uu,circIn:qu,circInOut:Yu,circOut:Ku,backIn:Xu,backInOut:Ju,backOut:Qu,anticipate:ed,bounceIn:od,bounceInOut:e=>e<.5?.5*(1-ad(1-2*e)):.5*ad(2*e-1)+.5,bounceOut:ad},Vd=function(e){if(Array.isArray(e)){El(4===e.length,"Cubic bezier arrays must contain four numerical values.");var t=hl(e,4);return zd(t[0],t[1],t[2],t[3])}return"string"==typeof e?(El(void 0!==Nd[e],"Invalid easing type '".concat(e,"'")),Nd[e]):e},Fd=function(e){return Array.isArray(e)&&"number"!=typeof e[0]},Hd=function(e,t){return!("zIndex"===e||"number"!=typeof t&&!Array.isArray(t)&&("string"!=typeof t||!Mu.test(t)||t.startsWith("url(")))},jd=function(){return{type:"spring",stiffness:500,damping:25,restSpeed:10}},Wd=function(e){return{type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}},$d=function(){return{type:"keyframes",ease:"linear",duration:.3}},Zd=function(e){return{type:"keyframes",duration:.8,values:e}},Ud={x:jd,y:jd,z:jd,rotate:jd,rotateX:jd,rotateY:jd,rotateZ:jd,scaleX:Wd,scaleY:Wd,scale:Wd,opacity:$d,backgroundColor:$d,color:$d,default:Wd},Gd=function(e,t){var r;return r=Ys(t)?Zd:Ud[e]||Ud.default,pl({to:t},r(t))};const qd=new Set(["brightness","contrast","saturate","opacity"]);function Kd(e){let[t,r]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[n]=r.match(ds)||[];if(!n)return e;const a=r.replace(n,"");let o=qd.has(t)?1:0;return n!==r&&(o*=100),t+"("+o+a+")"}const Yd=/([a-z-]*)\(.*?\)/g,Xd=Object.assign(Object.assign({},Mu),{getAnimatableNone:e=>{const t=e.match(Yd);return t?t.map(Kd).join(" "):e}});var Qd=pl(pl({},Cs),{color:xu,backgroundColor:xu,outlineColor:xu,fill:xu,stroke:xu,borderColor:xu,borderTopColor:xu,borderRightColor:xu,borderBottomColor:xu,borderLeftColor:xu,filter:Xd,WebkitFilter:Xd}),Jd=function(e){return Qd[e]};function ep(e,t){var r,n=Jd(e);return n!==Xd&&(n=Mu),null===(r=n.getAnimatableNone)||void 0===r?void 0:r.call(n,t)}var tp={current:!1},rp=!1;function np(e,t,r,n,a){var o,i=ip(n,e),l=null!==(o=i.from)&&void 0!==o?o:t.get(),s=Hd(e,r);"none"===l&&s&&"string"==typeof r?l=ep(e,r):ap(l)&&"string"==typeof r?l=op(r):!Array.isArray(r)&&ap(r)&&"string"==typeof l&&(r=op(l));var c=Hd(e,l);return yl(c===s,"You are trying to animate ".concat(e,' from "').concat(l,'" to "').concat(r,'". ').concat(l," is not an animatable value - to enable this animation set ").concat(l," to a value animatable to ").concat(r," via the `style` property.")),c&&s&&!1!==i.type?function(){var n={from:l,to:r,velocity:t.getVelocity(),onComplete:a,onUpdate:function(e){return t.set(e)}};return"inertia"===i.type||"decay"===i.type?function({from:e=0,velocity:t=0,min:r,max:n,power:a=.8,timeConstant:o=750,bounceStiffness:i=500,bounceDamping:l=10,restDelta:s=1,modifyTarget:c,driver:u,onUpdate:d,onComplete:p,onStop:m}){let h;function f(e){return void 0!==r&&e<r||void 0!==n&&e>n}function v(e){return void 0===r?n:void 0===n||Math.abs(r-e)<Math.abs(n-e)?r:n}function b(e){null==h||h.stop(),h=Sd(Object.assign(Object.assign({},e),{driver:u,onUpdate:t=>{var r;null==d||d(t),null===(r=e.onUpdate)||void 0===r||r.call(e,t)},onComplete:p,onStop:m}))}function g(e){b(Object.assign({type:"spring",stiffness:i,damping:l,restDelta:s},e))}if(f(e))g({from:e,velocity:t,to:v(e)});else{let n=a*t+e;void 0!==c&&(n=c(n));const i=v(n),l=i===r?-1:1;let u,d;const p=e=>{u=d,d=e,t=Rd(e-u,_d().delta),(1===l&&e>i||-1===l&&e<i)&&g({from:e,to:i,velocity:t})};b({type:"decay",from:e,velocity:t,timeConstant:o,power:a,restDelta:s,modifyTarget:c,onUpdate:f(n)?p:void 0})}return{stop:()=>null==h?void 0:h.stop()}}(pl(pl({},n),i)):Sd(pl(pl({},function(e,t,r){var n;return Array.isArray(t.to)&&(null!==(n=e.duration)&&void 0!==n||(e.duration=.8)),function(e){Array.isArray(e.to)&&null===e.to[0]&&(e.to=fl([],hl(e.to),!1),e.to[0]=e.from)}(t),function(e){e.when,e.delay,e.delayChildren,e.staggerChildren,e.staggerDirection,e.repeat,e.repeatType,e.repeatDelay,e.from;var t=ml(e,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(t).length}(e)||(e=pl(pl({},e),Gd(r,t.to))),pl(pl({},t),function(e){var t=e.ease,r=e.times,n=e.yoyo,a=e.flip,o=e.loop,i=ml(e,["ease","times","yoyo","flip","loop"]),l=pl({},i);return r&&(l.offset=r),i.duration&&(l.duration=Md(i.duration)),i.repeatDelay&&(l.repeatDelay=Md(i.repeatDelay)),t&&(l.ease=Fd(t)?t.map(Vd):Vd(t)),"tween"===i.type&&(l.type="keyframes"),(n||o||a)&&(yl(!rp,"yoyo, loop and flip have been removed from the API. Replace with repeat and repeatType options."),rp=!0,n?l.repeatType="reverse":o?l.repeatType="loop":a&&(l.repeatType="mirror"),l.repeat=o||n||a||i.repeat),"spring"!==i.type&&(l.type="keyframes"),l}(e))}(i,n,e)),{onUpdate:function(e){var t;n.onUpdate(e),null===(t=i.onUpdate)||void 0===t||t.call(i,e)},onComplete:function(){var e;n.onComplete(),null===(e=i.onComplete)||void 0===e||e.call(i)}}))}:function(){var e,n,o=Qs(r);return t.set(o),a(),null===(e=null==i?void 0:i.onUpdate)||void 0===e||e.call(i,o),null===(n=null==i?void 0:i.onComplete)||void 0===n||n.call(i),{stop:function(){}}}}function ap(e){return 0===e||"string"==typeof e&&0===parseFloat(e)&&-1===e.indexOf(" ")}function op(e){return"number"==typeof e?0:ep("",e)}function ip(e,t){return e[t]||e.default||e}function lp(e,t,r,n){return void 0===n&&(n={}),tp.current&&(n={type:!1}),t.start((function(a){var o,i,l=np(e,t,r,n,a),s=function(e,t){var r,n;return null!==(n=null!==(r=(ip(e,t)||{}).delay)&&void 0!==r?r:e.delay)&&void 0!==n?n:0}(n,e),c=function(){return i=l()};return s?o=window.setTimeout(c,Md(s)):c(),function(){clearTimeout(o),null==i||i.stop()}}))}var sp=function(e){return/^\-?\d*\.?\d+$/.test(e)},cp=function(e){return/^0[^.\s]+$/.test(e)};function up(e,t){-1===e.indexOf(t)&&e.push(t)}function dp(e,t){var r=e.indexOf(t);r>-1&&e.splice(r,1)}var pp=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(e){var t=this;return up(this.subscriptions,e),function(){return dp(t.subscriptions,e)}},e.prototype.notify=function(e,t,r){var n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](e,t,r);else for(var a=0;a<n;a++){var o=this.subscriptions[a];o&&o(e,t,r)}},e.prototype.getSize=function(){return this.subscriptions.length},e.prototype.clear=function(){this.subscriptions.length=0},e}(),mp=function(){function e(e){var t,r=this;this.version="6.5.1",this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new pp,this.velocityUpdateSubscribers=new pp,this.renderSubscribers=new pp,this.canTrackVelocity=!1,this.updateAndNotify=function(e,t){void 0===t&&(t=!0),r.prev=r.current,r.current=e;var n=_d(),a=n.delta,o=n.timestamp;r.lastUpdated!==o&&(r.timeDelta=a,r.lastUpdated=o,Pd.postRender(r.scheduleVelocityCheck)),r.prev!==r.current&&r.updateSubscribers.notify(r.current),r.velocityUpdateSubscribers.getSize()&&r.velocityUpdateSubscribers.notify(r.getVelocity()),t&&r.renderSubscribers.notify(r.current)},this.scheduleVelocityCheck=function(){return Pd.postRender(r.velocityCheck)},this.velocityCheck=function(e){e.timestamp!==r.lastUpdated&&(r.prev=r.current,r.velocityUpdateSubscribers.notify(r.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=(t=this.current,!isNaN(parseFloat(t)))}return e.prototype.onChange=function(e){return this.updateSubscribers.add(e)},e.prototype.clearListeners=function(){this.updateSubscribers.clear()},e.prototype.onRenderRequest=function(e){return e(this.get()),this.renderSubscribers.add(e)},e.prototype.attach=function(e){this.passiveEffect=e},e.prototype.set=function(e,t){void 0===t&&(t=!0),t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)},e.prototype.get=function(){return this.current},e.prototype.getPrevious=function(){return this.prev},e.prototype.getVelocity=function(){return this.canTrackVelocity?Rd(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0},e.prototype.start=function(e){var t=this;return this.stop(),new Promise((function(r){t.hasAnimated=!0,t.stopAnimation=e(r)})).then((function(){return t.clearAnimation()}))},e.prototype.stop=function(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()},e.prototype.isAnimating=function(){return!!this.stopAnimation},e.prototype.clearAnimation=function(){this.stopAnimation=null},e.prototype.destroy=function(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()},e}();function hp(e){return new mp(e)}var fp=function(e){return function(t){return t.test(e)}},vp=[ws,gs,bs,vs,Es,ys,{test:function(e){return"auto"===e},parse:function(e){return e}}],bp=function(e){return vp.find(fp(e))},gp=fl(fl([],hl(vp),!1),[xu,Mu],!1),yp=function(e){return gp.find(fp(e))};function Ep(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,hp(r))}function kp(e,t){if(t)return(t[e]||t.default||t).from}function xp(e,t,r){var n;void 0===r&&(r={});var a=Bl(e,t,r.custom),o=(a||{}).transition,i=void 0===o?e.getDefaultTransition()||{}:o;r.transitionOverride&&(i=r.transitionOverride);var l=a?function(){return _p(e,a,r)}:function(){return Promise.resolve()},s=(null===(n=e.variantChildren)||void 0===n?void 0:n.size)?function(n){void 0===n&&(n=0);var a=i.delayChildren,o=void 0===a?0:a,l=i.staggerChildren,s=i.staggerDirection;return function(e,t,r,n,a,o){void 0===r&&(r=0),void 0===n&&(n=0),void 0===a&&(a=1);var i=[],l=(e.variantChildren.size-1)*n,s=1===a?function(e){return void 0===e&&(e=0),e*n}:function(e){return void 0===e&&(e=0),l-e*n};return Array.from(e.variantChildren).sort(Pp).forEach((function(e,n){i.push(xp(e,t,pl(pl({},o),{delay:r+s(n)})).then((function(){return e.notifyAnimationComplete(t)})))})),Promise.all(i)}(e,t,o+n,l,s,r)}:function(){return Promise.resolve()},c=i.when;if(c){var u=hl("beforeChildren"===c?[l,s]:[s,l],2),d=u[0],p=u[1];return d().then(p)}return Promise.all([l(),s(r.delay)])}function _p(e,t,r){var n,a=void 0===r?{}:r,o=a.delay,i=void 0===o?0:o,l=a.transitionOverride,s=a.type,c=e.makeTargetAnimatable(t),u=c.transition,d=void 0===u?e.getDefaultTransition():u,p=c.transitionEnd,m=ml(c,["transition","transitionEnd"]);l&&(d=l);var h=[],f=s&&(null===(n=e.animationState)||void 0===n?void 0:n.getState()[s]);for(var v in m){var b=e.getValue(v),g=m[v];if(!(!b||void 0===g||f&&Cp(f,v))){var y=pl({delay:i},d);e.shouldReduceMotion&&ts(v)&&(y=pl(pl({},y),{type:!1,delay:0}));var E=lp(v,b,g,y);h.push(E)}}return Promise.all(h).then((function(){p&&function(e,t){var r=Bl(e,t),n=r?e.makeTargetAnimatable(r,!1):{},a=n.transitionEnd,o=void 0===a?{}:a;n.transition;var i=ml(n,["transitionEnd","transition"]);for(var l in i=pl(pl({},i),o))Ep(e,l,Qs(i[l]))}(e,p)}))}function Pp(e,t){return e.sortNodePosition(t)}function Cp(e,t){var r=e.protectedKeys,n=e.needsAnimating,a=r.hasOwnProperty(t)&&!0!==n[t];return n[t]=!1,a}var Ap=[nc.Animate,nc.InView,nc.Focus,nc.Hover,nc.Tap,nc.Drag,nc.Exit],Sp=fl([],hl(Ap),!1).reverse(),Rp=Ap.length;function Mp(e){var t=function(e){return function(t){return Promise.all(t.map((function(t){var r=t.animation,n=t.options;return function(e,t,r){var n;if(void 0===r&&(r={}),e.notifyAnimationStart(t),Array.isArray(t)){var a=t.map((function(t){return xp(e,t,r)}));n=Promise.all(a)}else if("string"==typeof t)n=xp(e,t,r);else{var o="function"==typeof t?Bl(e,t,r.custom):t;n=_p(e,o,r)}return n.then((function(){return e.notifyAnimationComplete(t)}))}(e,r,n)})))}}(e),r=function(){var e;return(e={})[nc.Animate]=Tp(!0),e[nc.InView]=Tp(),e[nc.Hover]=Tp(),e[nc.Tap]=Tp(),e[nc.Drag]=Tp(),e[nc.Focus]=Tp(),e[nc.Exit]=Tp(),e}(),n={},a=!0,o=function(t,r){var n=Bl(e,r);if(n){n.transition;var a=n.transitionEnd,o=ml(n,["transition","transitionEnd"]);t=pl(pl(pl({},t),o),a)}return t};function i(i,l){for(var s,c=e.getProps(),u=e.getVariantContext(!0)||{},d=[],p=new Set,m={},h=1/0,f=function(t){var n=Sp[t],f=r[n],v=null!==(s=c[n])&&void 0!==s?s:u[n],b=Ll(v),g=n===l?f.isActive:null;!1===g&&(h=t);var y=v===u[n]&&v!==c[n]&&b;if(y&&a&&e.manuallyAnimateOnMount&&(y=!1),f.protectedKeys=pl({},m),!f.isActive&&null===g||!v&&!f.prevProp||Ks(v)||"boolean"==typeof v)return"continue";var E=function(e,t){return"string"==typeof t?t!==e:!!Ol(t)&&!Gc(t,e)}(f.prevProp,v),k=E||n===l&&f.isActive&&!y&&b||t>h&&b,w=Array.isArray(v)?v:[v],x=w.reduce(o,{});!1===g&&(x={});var _=f.prevResolvedValues,P=void 0===_?{}:_,C=pl(pl({},P),x),A=function(e){k=!0,p.delete(e),f.needsAnimating[e]=!0};for(var S in C){var R=x[S],M=P[S];m.hasOwnProperty(S)||(R!==M?Ys(R)&&Ys(M)?!Gc(R,M)||E?A(S):f.protectedKeys[S]=!0:void 0!==R?A(S):p.add(S):void 0!==R&&p.has(S)?A(S):f.protectedKeys[S]=!0)}f.prevProp=v,f.prevResolvedValues=x,f.isActive&&(m=pl(pl({},m),x)),a&&e.blockInitialAnimation&&(k=!1),k&&!y&&d.push.apply(d,fl([],hl(w.map((function(e){return{animation:e,options:pl({type:n},i)}}))),!1))},v=0;v<Rp;v++)f(v);if(n=pl({},m),p.size){var b={};p.forEach((function(t){var r=e.getBaseTarget(t);void 0!==r&&(b[t]=r)})),d.push({animation:b})}var g=Boolean(d.length);return a&&!1===c.initial&&!e.manuallyAnimateOnMount&&(g=!1),a=!1,g?t(d):Promise.resolve()}return{isAnimated:function(e){return void 0!==n[e]},animateChanges:i,setActive:function(t,n,a){var o;if(r[t].isActive===n)return Promise.resolve();null===(o=e.variantChildren)||void 0===o||o.forEach((function(e){var r;return null===(r=e.animationState)||void 0===r?void 0:r.setActive(t,n)})),r[t].isActive=n;var l=i(a,t);for(var s in r)r[s].protectedKeys={};return l},setAnimateFunction:function(r){t=r(e)},getState:function(){return r}}}function Tp(e){return void 0===e&&(e=!1),{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var Ip={animation:Hc((function(e){var t=e.visualElement,r=e.animate;t.animationState||(t.animationState=Mp(t)),Ks(r)&&(0,U.useEffect)((function(){return r.subscribe(t)}),[r])})),exit:Hc((function(e){var t=e.custom,r=e.visualElement,n=hl(Uc(),2),a=n[0],o=n[1],i=(0,U.useContext)(Cl);(0,U.useEffect)((function(){var e,n;r.isPresent=a;var l=null===(e=r.animationState)||void 0===e?void 0:e.setActive(nc.Exit,!a,{custom:null!==(n=null==i?void 0:i.custom)&&void 0!==n?n:t});!a&&(null==l||l.then(o))}),[a])}))};const Op=e=>e.hasOwnProperty("x")&&e.hasOwnProperty("y"),Lp=e=>Op(e)&&e.hasOwnProperty("z"),Dp=(e,t)=>Math.abs(e-t);function Bp(e,t){if(Tu(e)&&Tu(t))return Dp(e,t);if(Op(e)&&Op(t)){const r=Dp(e.x,t.x),n=Dp(e.y,t.y),a=Lp(e)&&Lp(t)?Dp(e.z,t.z):0;return Math.sqrt(Math.pow(r,2)+Math.pow(n,2)+Math.pow(a,2))}}var zp=function(){function e(e,t,r){var n=this,a=(void 0===r?{}:r).transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(n.lastMoveEvent&&n.lastMoveEventInfo){var e=Fp(n.lastMoveEventInfo,n.history),t=null!==n.startEvent,r=Bp(e.offset,{x:0,y:0})>=3;if(t||r){var a=e.point,o=_d().timestamp;n.history.push(pl(pl({},a),{timestamp:o}));var i=n.handlers,l=i.onStart,s=i.onMove;t||(l&&l(n.lastMoveEvent,e),n.startEvent=n.lastMoveEvent),s&&s(n.lastMoveEvent,e)}}},this.handlePointerMove=function(e,t){n.lastMoveEvent=e,n.lastMoveEventInfo=Np(t,n.transformPagePoint),sc(e)&&0===e.buttons?n.handlePointerUp(e,t):Pd.update(n.updatePoint,!0)},this.handlePointerUp=function(e,t){n.end();var r=n.handlers,a=r.onEnd,o=r.onSessionEnd,i=Fp(Np(t,n.transformPagePoint),n.history);n.startEvent&&a&&a(e,i),o&&o(e,i)},!(cc(e)&&e.touches.length>1)){this.handlers=t,this.transformPagePoint=a;var o=Np(mc(e),this.transformPagePoint),i=o.point,l=_d().timestamp;this.history=[pl(pl({},i),{timestamp:l})];var s=t.onSessionStart;s&&s(e,Fp(o,this.history)),this.removeListeners=Ic(kc(window,"pointermove",this.handlePointerMove),kc(window,"pointerup",this.handlePointerUp),kc(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(e){this.handlers=e},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),yd.update(this.updatePoint)},e}();function Np(e,t){return t?{point:t(e.point)}:e}function Vp(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Fp(e,t){var r=e.point;return{point:r,delta:Vp(r,jp(t)),offset:Vp(r,Hp(t)),velocity:Wp(t,.1)}}function Hp(e){return e[0]}function jp(e){return e[e.length-1]}function Wp(e,t){if(e.length<2)return{x:0,y:0};for(var r=e.length-1,n=null,a=jp(e);r>=0&&(n=e[r],!(a.timestamp-n.timestamp>Md(t)));)r--;if(!n)return{x:0,y:0};var o=(a.timestamp-n.timestamp)/1e3;if(0===o)return{x:0,y:0};var i={x:(a.x-n.x)/o,y:(a.y-n.y)/o};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}function $p(e){return e.max-e.min}function Zp(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=.01),Bp(e,t)<r}function Up(e,t,r,n){void 0===n&&(n=.5),e.origin=n,e.originPoint=su(t.min,t.max,e.origin),e.scale=$p(r)/$p(t),(Zp(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=su(r.min,r.max,e.origin)-e.originPoint,(Zp(e.translate)||isNaN(e.translate))&&(e.translate=0)}function Gp(e,t,r,n){Up(e.x,t.x,r.x,null==n?void 0:n.originX),Up(e.y,t.y,r.y,null==n?void 0:n.originY)}function qp(e,t,r){e.min=r.min+t.min,e.max=e.min+$p(t)}function Kp(e,t,r){e.min=t.min-r.min,e.max=e.min+$p(t)}function Yp(e,t,r){Kp(e.x,t.x,r.x),Kp(e.y,t.y,r.y)}function Xp(e,t,r){return{min:void 0!==t?e.min+t:void 0,max:void 0!==r?e.max+r-(e.max-e.min):void 0}}function Qp(e,t){var r,n=t.min-e.min,a=t.max-e.max;return t.max-t.min<e.max-e.min&&(n=(r=hl([a,n],2))[0],a=r[1]),{min:n,max:a}}var Jp=.35;function em(e,t,r){return{min:tm(e,t),max:tm(e,r)}}function tm(e,t){var r;return"number"==typeof e?e:null!==(r=e[t])&&void 0!==r?r:0}var rm=function(){return{x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}}},nm=function(){return{x:{min:0,max:0},y:{min:0,max:0}}};function am(e){return[e("x"),e("y")]}function om(e){var t=e.top;return{x:{min:e.left,max:e.right},y:{min:t,max:e.bottom}}}function im(e){return void 0===e||1===e}function lm(e){var t=e.scale,r=e.scaleX,n=e.scaleY;return!im(t)||!im(r)||!im(n)}function sm(e){return lm(e)||cm(e.x)||cm(e.y)||e.z||e.rotate||e.rotateX||e.rotateY}function cm(e){return e&&"0%"!==e}function um(e,t,r){return r+t*(e-r)}function dm(e,t,r,n,a){return void 0!==a&&(e=um(e,a,n)),um(e,r,n)+t}function pm(e,t,r,n,a){void 0===t&&(t=0),void 0===r&&(r=1),e.min=dm(e.min,t,r,n,a),e.max=dm(e.max,t,r,n,a)}function mm(e,t){var r=t.x,n=t.y;pm(e.x,r.translate,r.scale,r.originPoint),pm(e.y,n.translate,n.scale,n.originPoint)}function hm(e,t){e.min=e.min+t,e.max=e.max+t}function fm(e,t,r){var n=hl(r,3),a=n[0],o=n[1],i=n[2],l=void 0!==t[i]?t[i]:.5,s=su(e.min,e.max,l);pm(e,t[a],t[o],s,t.scale)}var vm=["x","scaleX","originX"],bm=["y","scaleY","originY"];function gm(e,t){fm(e.x,t,vm),fm(e.y,t,bm)}function ym(e,t){return om(function(e,t){if(!t)return e;var r=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}(e.getBoundingClientRect(),t))}var Em=new WeakMap,km=function(){function e(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=nm(),this.visualElement=e}return e.prototype.start=function(e,t){var r=this,n=(void 0===t?{}:t).snapToCursor,a=void 0!==n&&n;!1!==this.visualElement.isPresent&&(this.panSession=new zp(e,{onSessionStart:function(e){r.stopAnimation(),a&&r.snapToCursor(mc(e,"page").point)},onStart:function(e,t){var n,a=r.getProps(),o=a.drag,i=a.dragPropagation,l=a.onDragStart;(!o||i||(r.openGlobalLock&&r.openGlobalLock(),r.openGlobalLock=Cc(o),r.openGlobalLock))&&(r.isDragging=!0,r.currentDirection=null,r.resolveConstraints(),r.visualElement.projection&&(r.visualElement.projection.isAnimationBlocked=!0,r.visualElement.projection.target=void 0),am((function(e){var t,n,a=r.getAxisMotionValue(e).get()||0;if(bs.test(a)){var o=null===(n=null===(t=r.visualElement.projection)||void 0===t?void 0:t.layout)||void 0===n?void 0:n.actual[e];o&&(a=$p(o)*(parseFloat(a)/100))}r.originPoint[e]=a})),null==l||l(e,t),null===(n=r.visualElement.animationState)||void 0===n||n.setActive(nc.Drag,!0))},onMove:function(e,t){var n=r.getProps(),a=n.dragPropagation,o=n.dragDirectionLock,i=n.onDirectionLock,l=n.onDrag;if(a||r.openGlobalLock){var s=t.offset;if(o&&null===r.currentDirection)return r.currentDirection=function(e,t){void 0===t&&(t=10);var r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}(s),void(null!==r.currentDirection&&(null==i||i(r.currentDirection)));r.updateAxis("x",t.point,s),r.updateAxis("y",t.point,s),r.visualElement.syncRender(),null==l||l(e,t)}},onSessionEnd:function(e,t){return r.stop(e,t)}},{transformPagePoint:this.visualElement.getTransformPagePoint()}))},e.prototype.stop=function(e,t){var r=this.isDragging;if(this.cancel(),r){var n=t.velocity;this.startAnimation(n);var a=this.getProps().onDragEnd;null==a||a(e,t)}},e.prototype.cancel=function(){var e,t;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),null===(e=this.panSession)||void 0===e||e.end(),this.panSession=void 0,!this.getProps().dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(t=this.visualElement.animationState)||void 0===t||t.setActive(nc.Drag,!1)},e.prototype.updateAxis=function(e,t,r){var n=this.getProps().drag;if(r&&wm(e,n,this.currentDirection)){var a=this.getAxisMotionValue(e),o=this.originPoint[e]+r[e];this.constraints&&this.constraints[e]&&(o=function(e,t,r){var n=t.min,a=t.max;return void 0!==n&&e<n?e=r?su(n,e,r.min):Math.max(e,n):void 0!==a&&e>a&&(e=r?su(a,e,r.max):Math.min(e,a)),e}(o,this.constraints[e],this.elastic[e])),a.set(o)}},e.prototype.resolveConstraints=function(){var e=this,t=this.getProps(),r=t.dragConstraints,n=t.dragElastic,a=(this.visualElement.projection||{}).layout,o=this.constraints;r&&Il(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!r||!a)&&function(e,t){var r=t.top,n=t.left,a=t.bottom,o=t.right;return{x:Xp(e.x,n,o),y:Xp(e.y,r,a)}}(a.actual,r),this.elastic=function(e){return void 0===e&&(e=Jp),!1===e?e=0:!0===e&&(e=Jp),{x:em(e,"left","right"),y:em(e,"top","bottom")}}(n),o!==this.constraints&&a&&this.constraints&&!this.hasMutatedConstraints&&am((function(t){e.getAxisMotionValue(t)&&(e.constraints[t]=function(e,t){var r={};return void 0!==t.min&&(r.min=t.min-e.min),void 0!==t.max&&(r.max=t.max-e.min),r}(a.actual[t],e.constraints[t]))}))},e.prototype.resolveRefConstraints=function(){var e=this.getProps(),t=e.dragConstraints,r=e.onMeasureDragConstraints;if(!t||!Il(t))return!1;var n=t.current;El(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");var a=this.visualElement.projection;if(!a||!a.layout)return!1;var o=function(e,t,r){var n=ym(e,r),a=t.scroll;return a&&(hm(n.x,a.x),hm(n.y,a.y)),n}(n,a.root,this.visualElement.getTransformPagePoint()),i=function(e,t){return{x:Qp(e.x,t.x),y:Qp(e.y,t.y)}}(a.layout.actual,o);if(r){var l=r(function(e){var t=e.x,r=e.y;return{top:r.min,right:t.max,bottom:r.max,left:t.min}}(i));this.hasMutatedConstraints=!!l,l&&(i=om(l))}return i},e.prototype.startAnimation=function(e){var t=this,r=this.getProps(),n=r.drag,a=r.dragMomentum,o=r.dragElastic,i=r.dragTransition,l=r.dragSnapToOrigin,s=r.onDragTransitionEnd,c=this.constraints||{},u=am((function(r){var s;if(wm(r,n,t.currentDirection)){var u=null!==(s=null==c?void 0:c[r])&&void 0!==s?s:{};l&&(u={min:0,max:0});var d=o?200:1e6,p=o?40:1e7,m=pl(pl({type:"inertia",velocity:a?e[r]:0,bounceStiffness:d,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10},i),u);return t.startAxisValueAnimation(r,m)}}));return Promise.all(u).then(s)},e.prototype.startAxisValueAnimation=function(e,t){return lp(e,this.getAxisMotionValue(e),0,t)},e.prototype.stopAnimation=function(){var e=this;am((function(t){return e.getAxisMotionValue(t).stop()}))},e.prototype.getAxisMotionValue=function(e){var t,r,n="_drag"+e.toUpperCase();return this.visualElement.getProps()[n]||this.visualElement.getValue(e,null!==(r=null===(t=this.visualElement.getProps().initial)||void 0===t?void 0:t[e])&&void 0!==r?r:0)},e.prototype.snapToCursor=function(e){var t=this;am((function(r){if(wm(r,t.getProps().drag,t.currentDirection)){var n=t.visualElement.projection,a=t.getAxisMotionValue(r);if(n&&n.layout){var o=n.layout.actual[r],i=o.min,l=o.max;a.set(e[r]-su(i,l,.5))}}}))},e.prototype.scalePositionWithinConstraints=function(){var e,t=this,r=this.getProps(),n=r.drag,a=r.dragConstraints,o=this.visualElement.projection;if(Il(a)&&o&&this.constraints){this.stopAnimation();var i={x:0,y:0};am((function(e){var r,n,a,o,l,s=t.getAxisMotionValue(e);if(s){var c=s.get();i[e]=(r={min:c,max:c},n=t.constraints[e],a=.5,o=$p(r),(l=$p(n))>o?a=lu(n.min,n.max-o,r.min):o>l&&(a=lu(r.min,r.max-l,n.min)),qc(0,1,a))}}));var l=this.visualElement.getProps().transformTemplate;this.visualElement.getInstance().style.transform=l?l({},""):"none",null===(e=o.root)||void 0===e||e.updateScroll(),o.updateLayout(),this.resolveConstraints(),am((function(e){if(wm(e,n,null)){var r=t.getAxisMotionValue(e),a=t.constraints[e],o=a.min,l=a.max;r.set(su(o,l,i[e]))}}))}},e.prototype.addListeners=function(){var e,t=this;Em.set(this.visualElement,this);var r=kc(this.visualElement.getInstance(),"pointerdown",(function(e){var r=t.getProps(),n=r.drag,a=r.dragListener;n&&(void 0===a||a)&&t.start(e)})),n=function(){Il(t.getProps().dragConstraints)&&(t.constraints=t.resolveRefConstraints())},a=this.visualElement.projection,o=a.addEventListener("measure",n);a&&!a.layout&&(null===(e=a.root)||void 0===e||e.updateScroll(),a.updateLayout()),n();var i=ic(window,"resize",(function(){return t.scalePositionWithinConstraints()}));return a.addEventListener("didUpdate",(function(e){var r=e.delta,n=e.hasLayoutChanged;t.isDragging&&n&&(am((function(e){var n=t.getAxisMotionValue(e);n&&(t.originPoint[e]+=r[e].translate,n.set(n.get()+r[e].translate))})),t.visualElement.syncRender())})),function(){i(),r(),o()}},e.prototype.getProps=function(){var e=this.visualElement.getProps(),t=e.drag,r=void 0!==t&&t,n=e.dragDirectionLock,a=void 0!==n&&n,o=e.dragPropagation,i=void 0!==o&&o,l=e.dragConstraints,s=void 0!==l&&l,c=e.dragElastic,u=void 0===c?Jp:c,d=e.dragMomentum,p=void 0===d||d;return pl(pl({},e),{drag:r,dragDirectionLock:a,dragPropagation:i,dragConstraints:s,dragElastic:u,dragMomentum:p})},e}();function wm(e,t,r){return!(!0!==t&&t!==e||null!==r&&r!==e)}var xm={pan:Hc((function(e){var t=e.onPan,r=e.onPanStart,n=e.onPanEnd,a=e.onPanSessionStart,o=e.visualElement,i=t||r||n||a,l=(0,U.useRef)(null),s=(0,U.useContext)(_l).transformPagePoint,c={onSessionStart:a,onStart:r,onMove:t,onEnd:function(e,t){l.current=null,n&&n(e,t)}};(0,U.useEffect)((function(){null!==l.current&&l.current.updateHandlers(c)})),wc(o,"pointerdown",i&&function(e){l.current=new zp(e,c,{transformPagePoint:s})}),Mc((function(){return l.current&&l.current.end()}))})),drag:Hc((function(e){var t=e.dragControls,r=e.visualElement,n=Fl((function(){return new km(r)}));(0,U.useEffect)((function(){return t&&t.subscribe(n)}),[n,t]),(0,U.useEffect)((function(){return n.addListeners()}),[n])}))},_m=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","LayoutAnimationStart","SetAxisTarget","Unmount"],Pm=function(e){var t=e.treeType,r=void 0===t?"":t,n=e.build,a=e.getBaseTarget,o=e.makeTargetAnimatable,i=e.measureViewportBox,l=e.render,s=e.readValueFromInstance,c=e.removeValueFromRenderState,u=e.sortNodePosition,d=e.scrapeMotionValuesFromProps;return function(e,t){var p=e.parent,m=e.props,h=e.presenceId,f=e.blockInitialAnimation,v=e.visualState,b=e.shouldReduceMotion;void 0===t&&(t={});var g,y,E=!1,k=v.latestValues,w=v.renderState,x=function(){var e=_m.map((function(){return new pp})),t={},r={clearAllListeners:function(){return e.forEach((function(e){return e.clear()}))},updatePropListeners:function(e){_m.forEach((function(n){var a,o="on"+n,i=e[o];null===(a=t[n])||void 0===a||a.call(t),i&&(t[n]=r[o](i))}))}};return e.forEach((function(e,t){r["on"+_m[t]]=function(t){return e.add(t)},r["notify"+_m[t]]=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return e.notify.apply(e,fl([],hl(t),!1))}})),r}(),_=new Map,P=new Map,C={},A=pl({},k);function S(){g&&E&&(R(),l(g,w,m.style,z.projection))}function R(){n(z,w,k,t,m)}function M(){x.notifyUpdate(k)}function T(e,t){var r=t.onChange((function(t){k[e]=t,m.onUpdate&&Pd.update(M,!1,!0)})),n=t.onRenderRequest(z.scheduleRender);P.set(e,(function(){r(),n()}))}var I=d(m);for(var O in I){var L=I[O];void 0!==k[O]&&os(L)&&L.set(k[O],!1)}var D=zl(m),B=Nl(m),z=pl(pl({treeType:r,current:null,depth:p?p.depth+1:0,parent:p,children:new Set,presenceId:h,shouldReduceMotion:b,variantChildren:B?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(null==p?void 0:p.isMounted()),blockInitialAnimation:f,isMounted:function(){return Boolean(g)},mount:function(e){E=!0,g=z.current=e,z.projection&&z.projection.mount(e),B&&p&&!D&&(y=null==p?void 0:p.addVariantChild(z)),_.forEach((function(e,t){return T(t,e)})),null==p||p.children.add(z),z.setProps(m)},unmount:function(){var e;null===(e=z.projection)||void 0===e||e.unmount(),yd.update(M),yd.render(S),P.forEach((function(e){return e()})),null==y||y(),null==p||p.children.delete(z),x.clearAllListeners(),g=void 0,E=!1},addVariantChild:function(e){var t,r=z.getClosestVariantNode();if(r)return null===(t=r.variantChildren)||void 0===t||t.add(e),function(){return r.variantChildren.delete(e)}},sortNodePosition:function(e){return u&&r===e.treeType?u(z.getInstance(),e.getInstance()):0},getClosestVariantNode:function(){return B?z:null==p?void 0:p.getClosestVariantNode()},getLayoutId:function(){return m.layoutId},getInstance:function(){return g},getStaticValue:function(e){return k[e]},setStaticValue:function(e,t){return k[e]=t},getLatestValues:function(){return k},setVisibility:function(e){z.isVisible!==e&&(z.isVisible=e,z.scheduleRender())},makeTargetAnimatable:function(e,t){return void 0===t&&(t=!0),o(z,e,m,t)},measureViewportBox:function(){return i(g,m)},addValue:function(e,t){z.hasValue(e)&&z.removeValue(e),_.set(e,t),k[e]=t.get(),T(e,t)},removeValue:function(e){var t;_.delete(e),null===(t=P.get(e))||void 0===t||t(),P.delete(e),delete k[e],c(e,w)},hasValue:function(e){return _.has(e)},getValue:function(e,t){var r=_.get(e);return void 0===r&&void 0!==t&&(r=hp(t),z.addValue(e,r)),r},forEachValue:function(e){return _.forEach(e)},readValue:function(e){var r;return null!==(r=k[e])&&void 0!==r?r:s(g,e,t)},setBaseTarget:function(e,t){A[e]=t},getBaseTarget:function(e){if(a){var t=a(m,e);if(void 0!==t&&!os(t))return t}return A[e]}},x),{build:function(){return R(),w},scheduleRender:function(){Pd.render(S,!1,!0)},syncRender:S,setProps:function(e){(e.transformTemplate||m.transformTemplate)&&z.scheduleRender(),m=e,x.updatePropListeners(e),C=function(e,t,r){var n;for(var a in t){var o=t[a],i=r[a];if(os(o))e.addValue(a,o);else if(os(i))e.addValue(a,hp(o));else if(i!==o)if(e.hasValue(a)){var l=e.getValue(a);!l.hasAnimated&&l.set(o)}else e.addValue(a,hp(null!==(n=e.getStaticValue(a))&&void 0!==n?n:o))}for(var a in r)void 0===t[a]&&e.removeValue(a);return t}(z,d(m),C)},getProps:function(){return m},getVariant:function(e){var t;return null===(t=m.variants)||void 0===t?void 0:t[e]},getDefaultTransition:function(){return m.transition},getTransformPagePoint:function(){return m.transformPagePoint},getVariantContext:function(e){if(void 0===e&&(e=!1),e)return null==p?void 0:p.getVariantContext();if(!D){var t=(null==p?void 0:p.getVariantContext())||{};return void 0!==m.initial&&(t.initial=m.initial),t}for(var r={},n=0;n<Am;n++){var a=Cm[n],o=m[a];(Ll(o)||!1===o)&&(r[a]=o)}return r}});return z}},Cm=fl(["initial"],hl(Ap),!1),Am=Cm.length;function Sm(e){return"string"==typeof e&&e.startsWith("var(--")}var Rm=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Mm(e,t,r){void 0===r&&(r=1),El(r<=4,'Max CSS variable fallback depth detected in property "'.concat(e,'". This may indicate a circular fallback dependency.'));var n=hl(function(e){var t=Rm.exec(e);if(!t)return[,];var r=hl(t,3);return[r[1],r[2]]}(e),2),a=n[0],o=n[1];if(a){var i=window.getComputedStyle(t).getPropertyValue(a);return i?i.trim():Sm(o)?Mm(o,t,r+1):o}}var Tm,Im=new Set(["width","height","top","left","right","bottom","x","y"]),Om=function(e){return Im.has(e)},Lm=function(e,t){e.set(t,!1),e.set(t)},Dm=function(e){return e===ws||e===gs};!function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"}(Tm||(Tm={}));var Bm=function(e,t){return parseFloat(e.split(", ")[t])},zm=function(e,t){return function(r,n){var a=n.transform;if("none"===a||!a)return 0;var o=a.match(/^matrix3d\((.+)\)$/);if(o)return Bm(o[1],t);var i=a.match(/^matrix\((.+)\)$/);return i?Bm(i[1],e):0}},Nm=new Set(["x","y","z"]),Vm=Ql.filter((function(e){return!Nm.has(e)})),Fm={width:function(e,t){var r=e.x,n=t.paddingLeft,a=void 0===n?"0":n,o=t.paddingRight,i=void 0===o?"0":o;return r.max-r.min-parseFloat(a)-parseFloat(i)},height:function(e,t){var r=e.y,n=t.paddingTop,a=void 0===n?"0":n,o=t.paddingBottom,i=void 0===o?"0":o;return r.max-r.min-parseFloat(a)-parseFloat(i)},top:function(e,t){var r=t.top;return parseFloat(r)},left:function(e,t){var r=t.left;return parseFloat(r)},bottom:function(e,t){var r=e.y,n=t.top;return parseFloat(n)+(r.max-r.min)},right:function(e,t){var r=e.x,n=t.left;return parseFloat(n)+(r.max-r.min)},x:zm(4,13),y:zm(5,14)};function Hm(e,t,r,n){return function(e){return Object.keys(e).some(Om)}(t)?function(e,t,r,n){void 0===r&&(r={}),void 0===n&&(n={}),t=pl({},t),n=pl({},n);var a=Object.keys(t).filter(Om),o=[],i=!1,l=[];if(a.forEach((function(a){var s=e.getValue(a);if(e.hasValue(a)){var c,u=r[a],d=bp(u),p=t[a];if(Ys(p)){var m=p.length,h=null===p[0]?1:0;u=p[h],d=bp(u);for(var f=h;f<m;f++)c?El(bp(p[f])===c,"All keyframes must be of the same type"):(c=bp(p[f]),El(c===d||Dm(d)&&Dm(c),"Keyframes must be of the same dimension as the current value"))}else c=bp(p);if(d!==c)if(Dm(d)&&Dm(c)){var v=s.get();"string"==typeof v&&s.set(parseFloat(v)),"string"==typeof p?t[a]=parseFloat(p):Array.isArray(p)&&c===gs&&(t[a]=p.map(parseFloat))}else(null==d?void 0:d.transform)&&(null==c?void 0:c.transform)&&(0===u||0===p)?0===u?s.set(c.transform(u)):t[a]=d.transform(p):(i||(o=function(e){var t=[];return Vm.forEach((function(r){var n=e.getValue(r);void 0!==n&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))})),t.length&&e.syncRender(),t}(e),i=!0),l.push(a),n[a]=void 0!==n[a]?n[a]:t[a],Lm(s,p))}})),l.length){var s=l.indexOf("height")>=0?window.pageYOffset:null,c=function(e,t,r){var n=t.measureViewportBox(),a=t.getInstance(),o=getComputedStyle(a),i=o.display,l={};"none"===i&&t.setStaticValue("display",e.display||"block"),r.forEach((function(e){l[e]=Fm[e](n,o)})),t.syncRender();var s=t.measureViewportBox();return r.forEach((function(r){var n=t.getValue(r);Lm(n,l[r]),e[r]=Fm[r](s,o)})),e}(t,e,l);return o.length&&o.forEach((function(t){var r=hl(t,2),n=r[0],a=r[1];e.getValue(n).set(a)})),e.syncRender(),null!==s&&window.scrollTo({top:s}),{target:c,transitionEnd:n}}return{target:t,transitionEnd:n}}(e,t,r,n):{target:t,transitionEnd:n}}var jm={treeType:"dom",readValueFromInstance:function(e,t){if(ts(t)){var r=Jd(t);return r&&r.default||0}var n,a=(n=e,window.getComputedStyle(n));return(ls(t)?a.getPropertyValue(t):a[t])||0},sortNodePosition:function(e,t){return 2&e.compareDocumentPosition(t)?1:-1},getBaseTarget:function(e,t){var r;return null===(r=e.style)||void 0===r?void 0:r[t]},measureViewportBox:function(e,t){return ym(e,t.transformPagePoint)},resetTransform:function(e,t,r){var n=r.transformTemplate;t.style.transform=n?n({},""):"none",e.scheduleRender()},restoreTransform:function(e,t){e.style.transform=t.style.transform},removeValueFromRenderState:function(e,t){var r=t.vars,n=t.style;delete r[e],delete n[e]},makeTargetAnimatable:function(e,t,r,n){var a=r.transformValues;void 0===n&&(n=!0);var o=t.transition,i=t.transitionEnd,l=ml(t,["transition","transitionEnd"]),s=function(e,t,r){var n,a,o={};for(var i in e)o[i]=null!==(n=kp(i,t))&&void 0!==n?n:null===(a=r.getValue(i))||void 0===a?void 0:a.get();return o}(l,o||{},e);if(a&&(i&&(i=a(i)),l&&(l=a(l)),s&&(s=a(s))),n){!function(e,t,r){var n,a,o,i,l=Object.keys(t).filter((function(t){return!e.hasValue(t)})),s=l.length;if(s)for(var c=0;c<s;c++){var u=l[c],d=t[u],p=null;Array.isArray(d)&&(p=d[0]),null===p&&(p=null!==(a=null!==(n=r[u])&&void 0!==n?n:e.readValue(u))&&void 0!==a?a:t[u]),null!=p&&("string"==typeof p&&(sp(p)||cp(p))?p=parseFloat(p):!yp(p)&&Mu.test(d)&&(p=ep(u,d)),e.addValue(u,hp(p)),null!==(o=(i=r)[u])&&void 0!==o||(i[u]=p),e.setBaseTarget(u,p))}}(e,l,s);var c=function(e,t,r,n){var a=function(e,t,r){var n,a=ml(t,[]),o=e.getInstance();if(!(o instanceof Element))return{target:a,transitionEnd:r};for(var i in r&&(r=pl({},r)),e.forEachValue((function(e){var t=e.get();if(Sm(t)){var r=Mm(t,o);r&&e.set(r)}})),a){var l=a[i];if(Sm(l)){var s=Mm(l,o);s&&(a[i]=s,r&&(null!==(n=r[i])&&void 0!==n||(r[i]=l)))}}return{target:a,transitionEnd:r}}(e,t,n);return Hm(e,t=a.target,r,n=a.transitionEnd)}(e,l,s,i);i=c.transitionEnd,l=c.target}return pl({transition:o,transitionEnd:i},l)},scrapeMotionValuesFromProps:Gs,build:function(e,t,r,n,a){void 0!==e.isVisible&&(t.style.visibility=e.isVisible?"visible":"hidden"),As(t,r,n,a.transformTemplate)},render:$s},Wm=Pm(jm),$m=Pm(pl(pl({},jm),{getBaseTarget:function(e,t){return e[t]},readValueFromInstance:function(e,t){var r;return ts(t)?(null===(r=Jd(t))||void 0===r?void 0:r.default)||0:(t=Zs.has(t)?t:Ws(t),e.getAttribute(t))},scrapeMotionValuesFromProps:qs,build:function(e,t,r,n,a){Ns(t,r,n,a.transformTemplate)},render:Us})),Zm=function(e,t){return Kl(e)?$m(t,{enableHardwareAcceleration:!1}):Wm(t,{enableHardwareAcceleration:!0})};function Um(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var Gm={correct:function(e,t){if(!t.target)return e;if("string"==typeof e){if(!gs.test(e))return e;e=parseFloat(e)}var r=Um(e,t.target.x),n=Um(e,t.target.y);return"".concat(r,"% ").concat(n,"%")}},qm="_$css",Km={correct:function(e,t){var r=t.treeScale,n=t.projectionDelta,a=e,o=e.includes("var("),i=[];o&&(e=e.replace(Rm,(function(e){return i.push(e),qm})));var l=Mu.parse(e);if(l.length>5)return a;var s=Mu.createTransformer(e),c="number"!=typeof l[0]?1:0,u=n.x.scale*r.x,d=n.y.scale*r.y;l[0+c]/=u,l[1+c]/=d;var p=su(u,d,.5);"number"==typeof l[2+c]&&(l[2+c]/=p),"number"==typeof l[3+c]&&(l[3+c]/=p);var m=s(l);if(o){var h=0;m=m.replace(qm,(function(){var e=i[h];return h++,e}))}return m}},Ym=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return dl(t,e),t.prototype.componentDidMount=function(){var e,t=this,r=this.props,n=r.visualElement,a=r.layoutGroup,o=r.switchLayoutGroup,i=r.layoutId,l=n.projection;e=Xm,Object.assign(Yl,e),l&&((null==a?void 0:a.group)&&a.group.add(l),(null==o?void 0:o.register)&&i&&o.register(l),l.root.didUpdate(),l.addEventListener("animationComplete",(function(){t.safeToRemove()})),l.setOptions(pl(pl({},l.options),{onExitComplete:function(){return t.safeToRemove()}}))),Hl.hasEverUpdated=!0},t.prototype.getSnapshotBeforeUpdate=function(e){var t=this,r=this.props,n=r.layoutDependency,a=r.visualElement,o=r.drag,i=r.isPresent,l=a.projection;return l?(l.isPresent=i,o||e.layoutDependency!==n||void 0===n?l.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?l.promote():l.relegate()||Pd.postRender((function(){var e;(null===(e=l.getStack())||void 0===e?void 0:e.members.length)||t.safeToRemove()}))),null):null},t.prototype.componentDidUpdate=function(){var e=this.props.visualElement.projection;e&&(e.root.didUpdate(),!e.currentAnimation&&e.isLead()&&this.safeToRemove())},t.prototype.componentWillUnmount=function(){var e=this.props,t=e.visualElement,r=e.layoutGroup,n=e.switchLayoutGroup,a=t.projection;a&&(a.scheduleCheckAfterUnmount(),(null==r?void 0:r.group)&&r.group.remove(a),(null==n?void 0:n.deregister)&&n.deregister(a))},t.prototype.safeToRemove=function(){var e=this.props.safeToRemove;null==e||e()},t.prototype.render=function(){return null},t}(U.Component),Xm={borderRadius:pl(pl({},Gm),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:Gm,borderTopRightRadius:Gm,borderBottomLeftRadius:Gm,borderBottomRightRadius:Gm,boxShadow:Km},Qm={measureLayout:function(e){var t=hl(Uc(),2),r=t[0],n=t[1],a=(0,U.useContext)(Wl);return U.createElement(Ym,pl({},e,{layoutGroup:a,switchLayoutGroup:(0,U.useContext)($l),isPresent:r,safeToRemove:n}))}},Jm=["TopLeft","TopRight","BottomLeft","BottomRight"],eh=Jm.length,th=function(e){return"string"==typeof e?parseFloat(e):e},rh=function(e){return"number"==typeof e||gs.test(e)};function nh(e,t){var r;return null!==(r=e[t])&&void 0!==r?r:e.borderRadius}var ah=ih(0,.5,Ku),oh=ih(.5,.95,$u);function ih(e,t,r){return function(n){return n<e?0:n>t?1:r(lu(e,t,n))}}function lh(e,t){e.min=t.min,e.max=t.max}function sh(e,t){lh(e.x,t.x),lh(e.y,t.y)}function ch(e,t,r,n,a){return e=um(e-=t,1/r,n),void 0!==a&&(e=um(e,1/a,n)),e}function uh(e,t,r,n,a){var o=hl(r,3),i=o[0],l=o[1],s=o[2];!function(e,t,r,n,a,o,i){if(void 0===t&&(t=0),void 0===r&&(r=1),void 0===n&&(n=.5),void 0===o&&(o=e),void 0===i&&(i=e),bs.test(t)&&(t=parseFloat(t),t=su(i.min,i.max,t/100)-i.min),"number"==typeof t){var l=su(o.min,o.max,n);e===o&&(l-=t),e.min=ch(e.min,t,r,l,a),e.max=ch(e.max,t,r,l,a)}}(e,t[i],t[l],t[s],t.scale,n,a)}var dh=["x","scaleX","originX"],ph=["y","scaleY","originY"];function mh(e,t,r,n){uh(e.x,t,dh,null==r?void 0:r.x,null==n?void 0:n.x),uh(e.y,t,ph,null==r?void 0:r.y,null==n?void 0:n.y)}function hh(e){return 0===e.translate&&1===e.scale}function fh(e){return hh(e.x)&&hh(e.y)}function vh(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}var bh=function(){function e(){this.members=[]}return e.prototype.add=function(e){up(this.members,e),e.scheduleRender()},e.prototype.remove=function(e){if(dp(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){var t=this.members[this.members.length-1];t&&this.promote(t)}},e.prototype.relegate=function(e){var t,r=this.members.findIndex((function(t){return e===t}));if(0===r)return!1;for(var n=r;n>=0;n--){var a=this.members[n];if(!1!==a.isPresent){t=a;break}}return!!t&&(this.promote(t),!0)},e.prototype.promote=function(e,t){var r,n=this.lead;e!==n&&(this.prevLead=n,this.lead=e,e.show(),n&&(n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues,e.snapshot.isShared=!0),(null===(r=e.root)||void 0===r?void 0:r.isUpdating)&&(e.isLayoutDirty=!0),!1===e.options.crossfade&&n.hide()))},e.prototype.exitAnimationComplete=function(){this.members.forEach((function(e){var t,r,n,a,o;null===(r=(t=e.options).onExitComplete)||void 0===r||r.call(t),null===(o=null===(n=e.resumingFrom)||void 0===n?void 0:(a=n.options).onExitComplete)||void 0===o||o.call(a)}))},e.prototype.scheduleRender=function(){this.members.forEach((function(e){e.instance&&e.scheduleRender(!1)}))},e.prototype.removeLeadSnapshot=function(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)},e}(),gh="translate3d(0px, 0px, 0) scale(1, 1) scale(1, 1)";function yh(e,t,r){var n=e.x.translate/t.x,a=e.y.translate/t.y,o="translate3d(".concat(n,"px, ").concat(a,"px, 0) ");if(o+="scale(".concat(1/t.x,", ").concat(1/t.y,") "),r){var i=r.rotate,l=r.rotateX,s=r.rotateY;i&&(o+="rotate(".concat(i,"deg) ")),l&&(o+="rotateX(".concat(l,"deg) ")),s&&(o+="rotateY(".concat(s,"deg) "))}var c=e.x.scale*t.x,u=e.y.scale*t.y;return(o+="scale(".concat(c,", ").concat(u,")"))===gh?"none":o}var Eh=function(e,t){return e.depth-t.depth},kh=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(e){up(this.children,e),this.isDirty=!0},e.prototype.remove=function(e){dp(this.children,e),this.isDirty=!0},e.prototype.forEach=function(e){this.isDirty&&this.children.sort(Eh),this.isDirty=!1,this.children.forEach(e)},e}();function wh(e){var t=e.attachResizeListener,r=e.defaultParent,n=e.measureScroll,a=e.checkIsScrollRoot,o=e.resetTransform;return function(){function e(e,t,n){var a=this;void 0===t&&(t={}),void 0===n&&(n=null==r?void 0:r()),this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=function(){a.isUpdating&&(a.isUpdating=!1,a.clearAllSnapshots())},this.updateProjection=function(){a.nodes.forEach(Rh),a.nodes.forEach(Mh)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.id=e,this.latestValues=t,this.root=n?n.root||n:this,this.path=n?fl(fl([],hl(n.path),!1),[n],!1):[],this.parent=n,this.depth=n?n.depth+1:0,e&&this.root.registerPotentialNode(e,this);for(var o=0;o<this.path.length;o++)this.path[o].shouldResetTransform=!0;this.root===this&&(this.nodes=new kh)}return e.prototype.addEventListener=function(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new pp),this.eventHandlers.get(e).add(t)},e.prototype.notifyListeners=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=this.eventHandlers.get(e);null==n||n.notify.apply(n,fl([],hl(t),!1))},e.prototype.hasListeners=function(e){return this.eventHandlers.has(e)},e.prototype.registerPotentialNode=function(e,t){this.potentialNodes.set(e,t)},e.prototype.mount=function(e,r){var n,a=this;if(void 0===r&&(r=!1),!this.instance){this.isSVG=e instanceof SVGElement&&"svg"!==e.tagName,this.instance=e;var o=this.options,i=o.layoutId,l=o.layout,s=o.visualElement;if(s&&!s.getInstance()&&s.mount(e),this.root.nodes.add(this),null===(n=this.parent)||void 0===n||n.children.add(this),this.id&&this.root.potentialNodes.delete(this.id),r&&(l||i)&&(this.isLayoutDirty=!0),t){var c,u=function(){return a.root.updateBlockedByResize=!1};t(e,(function(){a.root.updateBlockedByResize=!0,clearTimeout(c),c=window.setTimeout(u,250),Hl.hasAnimatedSinceResize&&(Hl.hasAnimatedSinceResize=!1,a.nodes.forEach(Sh))}))}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&s&&(i||l)&&this.addEventListener("didUpdate",(function(e){var t,r,n,o,i,l=e.delta,c=e.hasLayoutChanged,u=e.hasRelativeTargetChanged,d=e.layout;if(a.isTreeAnimationBlocked())return a.target=void 0,void(a.relativeTarget=void 0);var p=null!==(r=null!==(t=a.options.transition)&&void 0!==t?t:s.getDefaultTransition())&&void 0!==r?r:Bh,m=s.getProps(),h=m.onLayoutAnimationStart,f=m.onLayoutAnimationComplete,v=!a.targetLayout||!vh(a.targetLayout,d)||u,b=!c&&u;if((null===(n=a.resumeFrom)||void 0===n?void 0:n.instance)||b||c&&(v||!a.currentAnimation)){a.resumeFrom&&(a.resumingFrom=a.resumeFrom,a.resumingFrom.resumingFrom=void 0),a.setAnimationOrigin(l,b);var g=pl(pl({},ip(p,"layout")),{onPlay:h,onComplete:f});s.shouldReduceMotion&&(g.delay=0,g.type=!1),a.startAnimation(g)}else c||0!==a.animationProgress||a.finishAnimation(),a.isLead()&&(null===(i=(o=a.options).onExitComplete)||void 0===i||i.call(o));a.targetLayout=d}))}},e.prototype.unmount=function(){var e,t;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),null===(e=this.getStack())||void 0===e||e.remove(this),null===(t=this.parent)||void 0===t||t.children.delete(this),this.instance=void 0,yd.preRender(this.updateProjection)},e.prototype.blockUpdate=function(){this.updateManuallyBlocked=!0},e.prototype.unblockUpdate=function(){this.updateManuallyBlocked=!1},e.prototype.isUpdateBlocked=function(){return this.updateManuallyBlocked||this.updateBlockedByResize},e.prototype.isTreeAnimationBlocked=function(){var e;return this.isAnimationBlocked||(null===(e=this.parent)||void 0===e?void 0:e.isTreeAnimationBlocked())||!1},e.prototype.startUpdate=function(){var e;this.isUpdateBlocked()||(this.isUpdating=!0,null===(e=this.nodes)||void 0===e||e.forEach(Th))},e.prototype.willUpdate=function(e){var t,r,n;if(void 0===e&&(e=!0),this.root.isUpdateBlocked())null===(r=(t=this.options).onExitComplete)||void 0===r||r.call(t);else if(!this.root.isUpdating&&this.root.startUpdate(),!this.isLayoutDirty){this.isLayoutDirty=!0;for(var a=0;a<this.path.length;a++){var o=this.path[a];o.shouldResetTransform=!0,o.updateScroll()}var i=this.options,l=i.layoutId,s=i.layout;if(void 0!==l||s){var c=null===(n=this.options.visualElement)||void 0===n?void 0:n.getProps().transformTemplate;this.prevTransformTemplateValue=null==c?void 0:c(this.latestValues,""),this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}}},e.prototype.didUpdate=function(){if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(Ch);this.isUpdating&&(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(zh),this.potentialNodes.clear()),this.nodes.forEach(Ah),this.nodes.forEach(xh),this.nodes.forEach(_h),this.clearAllSnapshots(),Ed.update(),Ed.preRender(),Ed.render())},e.prototype.clearAllSnapshots=function(){this.nodes.forEach(Ph),this.sharedNodes.forEach(Ih)},e.prototype.scheduleUpdateProjection=function(){Pd.preRender(this.updateProjection,!1,!0)},e.prototype.scheduleCheckAfterUnmount=function(){var e=this;Pd.postRender((function(){e.isLayoutDirty?e.root.didUpdate():e.root.checkUpdateFailed()}))},e.prototype.updateSnapshot=function(){if(!this.snapshot&&this.instance){var e=this.measure(),t=this.removeTransform(this.removeElementScroll(e));Vh(t),this.snapshot={measured:e,layout:t,latestValues:{}}}},e.prototype.updateLayout=function(){var e;if(this.instance&&(this.updateScroll(),this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty)){if(this.resumeFrom&&!this.resumeFrom.instance)for(var t=0;t<this.path.length;t++)this.path[t].updateScroll();var r=this.measure();Vh(r);var n=this.layout;this.layout={measured:r,actual:this.removeElementScroll(r)},this.layoutCorrected=nm(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.actual),null===(e=this.options.visualElement)||void 0===e||e.notifyLayoutMeasure(this.layout.actual,null==n?void 0:n.actual)}},e.prototype.updateScroll=function(){this.options.layoutScroll&&this.instance&&(this.isScrollRoot=a(this.instance),this.scroll=n(this.instance))},e.prototype.resetTransform=function(){var e;if(o){var t=this.isLayoutDirty||this.shouldResetTransform,r=this.projectionDelta&&!fh(this.projectionDelta),n=null===(e=this.options.visualElement)||void 0===e?void 0:e.getProps().transformTemplate,a=null==n?void 0:n(this.latestValues,""),i=a!==this.prevTransformTemplateValue;t&&(r||sm(this.latestValues)||i)&&(o(this.instance,a),this.shouldResetTransform=!1,this.scheduleRender())}},e.prototype.measure=function(){var e=this.options.visualElement;if(!e)return nm();var t=e.measureViewportBox(),r=this.root.scroll;return r&&(hm(t.x,r.x),hm(t.y,r.y)),t},e.prototype.removeElementScroll=function(e){var t=nm();sh(t,e);for(var r=0;r<this.path.length;r++){var n=this.path[r],a=n.scroll,o=n.options,i=n.isScrollRoot;if(n!==this.root&&a&&o.layoutScroll){if(i){sh(t,e);var l=this.root.scroll;l&&(hm(t.x,-l.x),hm(t.y,-l.y))}hm(t.x,a.x),hm(t.y,a.y)}}return t},e.prototype.applyTransform=function(e,t){void 0===t&&(t=!1);var r=nm();sh(r,e);for(var n=0;n<this.path.length;n++){var a=this.path[n];!t&&a.options.layoutScroll&&a.scroll&&a!==a.root&&gm(r,{x:-a.scroll.x,y:-a.scroll.y}),sm(a.latestValues)&&gm(r,a.latestValues)}return sm(this.latestValues)&&gm(r,this.latestValues),r},e.prototype.removeTransform=function(e){var t,r=nm();sh(r,e);for(var n=0;n<this.path.length;n++){var a=this.path[n];if(a.instance&&sm(a.latestValues)){lm(a.latestValues)&&a.updateSnapshot();var o=nm();sh(o,a.measure()),mh(r,a.latestValues,null===(t=a.snapshot)||void 0===t?void 0:t.layout,o)}}return sm(this.latestValues)&&mh(r,this.latestValues),r},e.prototype.setTargetDelta=function(e){this.targetDelta=e,this.root.scheduleUpdateProjection()},e.prototype.setOptions=function(e){var t;this.options=pl(pl(pl({},this.options),e),{crossfade:null===(t=e.crossfade)||void 0===t||t})},e.prototype.clearMeasurements=function(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1},e.prototype.resolveTargetDelta=function(){var e,t,r,n,a=this.options,o=a.layout,i=a.layoutId;this.layout&&(o||i)&&(this.targetDelta||this.relativeTarget||(this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&this.relativeParent.layout&&(this.relativeTarget=nm(),this.relativeTargetOrigin=nm(),Yp(this.relativeTargetOrigin,this.layout.actual,this.relativeParent.layout.actual),sh(this.relativeTarget,this.relativeTargetOrigin))),(this.relativeTarget||this.targetDelta)&&(this.target||(this.target=nm(),this.targetWithTransforms=nm()),this.relativeTarget&&this.relativeTargetOrigin&&(null===(e=this.relativeParent)||void 0===e?void 0:e.target)?(t=this.target,r=this.relativeTarget,n=this.relativeParent.target,qp(t.x,r.x,n.x),qp(t.y,r.y,n.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.actual):sh(this.target,this.layout.actual),mm(this.target,this.targetDelta)):sh(this.target,this.layout.actual),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&Boolean(this.relativeParent.resumingFrom)===Boolean(this.resumingFrom)&&!this.relativeParent.options.layoutScroll&&this.relativeParent.target&&(this.relativeTarget=nm(),this.relativeTargetOrigin=nm(),Yp(this.relativeTargetOrigin,this.target,this.relativeParent.target),sh(this.relativeTarget,this.relativeTargetOrigin)))))},e.prototype.getClosestProjectingParent=function(){if(this.parent&&!sm(this.parent.latestValues))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()},e.prototype.calcProjection=function(){var e,t=this.options,r=t.layout,n=t.layoutId;if(this.isTreeAnimating=Boolean((null===(e=this.parent)||void 0===e?void 0:e.isTreeAnimating)||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),this.layout&&(r||n)){var a=this.getLead();sh(this.layoutCorrected,this.layout.actual),function(e,t,r,n){var a,o;void 0===n&&(n=!1);var i=r.length;if(i){var l,s;t.x=t.y=1;for(var c=0;c<i;c++)s=(l=r[c]).projectionDelta,"contents"!==(null===(o=null===(a=l.instance)||void 0===a?void 0:a.style)||void 0===o?void 0:o.display)&&(n&&l.options.layoutScroll&&l.scroll&&l!==l.root&&gm(e,{x:-l.scroll.x,y:-l.scroll.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,mm(e,s)),n&&sm(l.latestValues)&&gm(e,l.latestValues))}}(this.layoutCorrected,this.treeScale,this.path,Boolean(this.resumingFrom)||this!==a);var o=a.target;if(o){this.projectionDelta||(this.projectionDelta=rm(),this.projectionDeltaWithTransform=rm());var i=this.treeScale.x,l=this.treeScale.y,s=this.projectionTransform;Gp(this.projectionDelta,this.layoutCorrected,o,this.latestValues),this.projectionTransform=yh(this.projectionDelta,this.treeScale),this.projectionTransform===s&&this.treeScale.x===i&&this.treeScale.y===l||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",o))}}},e.prototype.hide=function(){this.isVisible=!1},e.prototype.show=function(){this.isVisible=!0},e.prototype.scheduleRender=function(e){var t,r,n;void 0===e&&(e=!0),null===(r=(t=this.options).scheduleRender)||void 0===r||r.call(t),e&&(null===(n=this.getStack())||void 0===n||n.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)},e.prototype.setAnimationOrigin=function(e,t){var r,n=this;void 0===t&&(t=!1);var a=this.snapshot,o=(null==a?void 0:a.latestValues)||{},i=pl({},this.latestValues),l=rm();this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!t;var s=nm(),c=null==a?void 0:a.isShared,u=((null===(r=this.getStack())||void 0===r?void 0:r.members.length)||0)<=1,d=Boolean(c&&!u&&!0===this.options.crossfade&&!this.path.some(Dh));this.animationProgress=0,this.mixTargetDelta=function(t){var r,a=t/1e3;Oh(l.x,e.x,a),Oh(l.y,e.y,a),n.setTargetDelta(l),n.relativeTarget&&n.relativeTargetOrigin&&n.layout&&(null===(r=n.relativeParent)||void 0===r?void 0:r.layout)&&(Yp(s,n.layout.actual,n.relativeParent.layout.actual),function(e,t,r,n){Lh(e.x,t.x,r.x,n),Lh(e.y,t.y,r.y,n)}(n.relativeTarget,n.relativeTargetOrigin,s,a)),c&&(n.animationValues=i,function(e,t,r,n,a,o){var i,l,s,c;a?(e.opacity=su(0,null!==(i=r.opacity)&&void 0!==i?i:1,ah(n)),e.opacityExit=su(null!==(l=t.opacity)&&void 0!==l?l:1,0,oh(n))):o&&(e.opacity=su(null!==(s=t.opacity)&&void 0!==s?s:1,null!==(c=r.opacity)&&void 0!==c?c:1,n));for(var u=0;u<eh;u++){var d="border".concat(Jm[u],"Radius"),p=nh(t,d),m=nh(r,d);void 0===p&&void 0===m||(p||(p=0),m||(m=0),0===p||0===m||rh(p)===rh(m)?(e[d]=Math.max(su(th(p),th(m),n),0),(bs.test(m)||bs.test(p))&&(e[d]+="%")):e[d]=m)}(t.rotate||r.rotate)&&(e.rotate=su(t.rotate||0,r.rotate||0,n))}(i,o,n.latestValues,a,d,u)),n.root.scheduleUpdateProjection(),n.scheduleRender(),n.animationProgress=a},this.mixTargetDelta(0)},e.prototype.startAnimation=function(e){var t,r,n=this;this.notifyListeners("animationStart"),null===(t=this.currentAnimation)||void 0===t||t.stop(),this.resumingFrom&&(null===(r=this.resumingFrom.currentAnimation)||void 0===r||r.stop()),this.pendingAnimation&&(yd.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Pd.update((function(){Hl.hasAnimatedSinceResize=!0,n.currentAnimation=function(e,t,r){void 0===r&&(r={});var n=os(0)?0:hp(0);return lp("",n,1e3,r),{stop:function(){return n.stop()},isAnimating:function(){return n.isAnimating()}}}(0,0,pl(pl({},e),{onUpdate:function(t){var r;n.mixTargetDelta(t),null===(r=e.onUpdate)||void 0===r||r.call(e,t)},onComplete:function(){var t;null===(t=e.onComplete)||void 0===t||t.call(e),n.completeAnimation()}})),n.resumingFrom&&(n.resumingFrom.currentAnimation=n.currentAnimation),n.pendingAnimation=void 0}))},e.prototype.completeAnimation=function(){var e;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),null===(e=this.getStack())||void 0===e||e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")},e.prototype.finishAnimation=function(){var e;this.currentAnimation&&(null===(e=this.mixTargetDelta)||void 0===e||e.call(this,1e3),this.currentAnimation.stop()),this.completeAnimation()},e.prototype.applyTransformsToTarget=function(){var e=this.getLead(),t=e.targetWithTransforms,r=e.target,n=e.layout,a=e.latestValues;t&&r&&n&&(sh(t,r),gm(t,a),Gp(this.projectionDeltaWithTransform,this.layoutCorrected,t,a))},e.prototype.registerSharedNode=function(e,t){var r,n,a;this.sharedNodes.has(e)||this.sharedNodes.set(e,new bh),this.sharedNodes.get(e).add(t),t.promote({transition:null===(r=t.options.initialPromotionConfig)||void 0===r?void 0:r.transition,preserveFollowOpacity:null===(a=null===(n=t.options.initialPromotionConfig)||void 0===n?void 0:n.shouldPreserveFollowOpacity)||void 0===a?void 0:a.call(n,t)})},e.prototype.isLead=function(){var e=this.getStack();return!e||e.lead===this},e.prototype.getLead=function(){var e;return this.options.layoutId&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this},e.prototype.getPrevLead=function(){var e;return this.options.layoutId?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0},e.prototype.getStack=function(){var e=this.options.layoutId;if(e)return this.root.sharedNodes.get(e)},e.prototype.promote=function(e){var t=void 0===e?{}:e,r=t.needsReset,n=t.transition,a=t.preserveFollowOpacity,o=this.getStack();o&&o.promote(this,a),r&&(this.projectionDelta=void 0,this.needsReset=!0),n&&this.setOptions({transition:n})},e.prototype.relegate=function(){var e=this.getStack();return!!e&&e.relegate(this)},e.prototype.resetRotation=function(){var e=this.options.visualElement;if(e){for(var t=!1,r={},n=0;n<Xl.length;n++){var a="rotate"+Xl[n];e.getStaticValue(a)&&(t=!0,r[a]=e.getStaticValue(a),e.setStaticValue(a,0))}if(t){for(var a in null==e||e.syncRender(),r)e.setStaticValue(a,r[a]);e.scheduleRender()}}},e.prototype.getProjectionStyles=function(e){var t,r,n,a,o,i;void 0===e&&(e={});var l={};if(!this.instance||this.isSVG)return l;if(!this.isVisible)return{visibility:"hidden"};l.visibility="";var s=null===(t=this.options.visualElement)||void 0===t?void 0:t.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,l.opacity="",l.pointerEvents=Js(e.pointerEvents)||"",l.transform=s?s(this.latestValues,""):"none",l;var c=this.getLead();if(!this.projectionDelta||!this.layout||!c.target){var u={};return this.options.layoutId&&(u.opacity=null!==(r=this.latestValues.opacity)&&void 0!==r?r:1,u.pointerEvents=Js(e.pointerEvents)||""),this.hasProjected&&!sm(this.latestValues)&&(u.transform=s?s({},""):"none",this.hasProjected=!1),u}var d=c.animationValues||c.latestValues;this.applyTransformsToTarget(),l.transform=yh(this.projectionDeltaWithTransform,this.treeScale,d),s&&(l.transform=s(d,l.transform));var p=this.projectionDelta,m=p.x,h=p.y;for(var f in l.transformOrigin="".concat(100*m.origin,"% ").concat(100*h.origin,"% 0"),c.animationValues?l.opacity=c===this?null!==(a=null!==(n=d.opacity)&&void 0!==n?n:this.latestValues.opacity)&&void 0!==a?a:1:this.preserveOpacity?this.latestValues.opacity:d.opacityExit:l.opacity=c===this?null!==(o=d.opacity)&&void 0!==o?o:"":null!==(i=d.opacityExit)&&void 0!==i?i:0,Yl)if(void 0!==d[f]){var v=Yl[f],b=v.correct,g=v.applyTo,y=b(d[f],c);if(g)for(var E=g.length,k=0;k<E;k++)l[g[k]]=y;else l[f]=y}return this.options.layoutId&&(l.pointerEvents=c===this?Js(e.pointerEvents)||"":"none"),l},e.prototype.clearSnapshot=function(){this.resumeFrom=this.snapshot=void 0},e.prototype.resetTree=function(){this.root.nodes.forEach((function(e){var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()})),this.root.nodes.forEach(Ch),this.root.sharedNodes.clear()},e}()}function xh(e){e.updateLayout()}function _h(e){var t,r,n,a,o=null!==(r=null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)&&void 0!==r?r:e.snapshot;if(e.isLead()&&e.layout&&o&&e.hasListeners("didUpdate")){var i=e.layout,l=i.actual,s=i.measured;"size"===e.options.animationType?am((function(e){var t=o.isShared?o.measured[e]:o.layout[e],r=$p(t);t.min=l[e].min,t.max=t.min+r})):"position"===e.options.animationType&&am((function(e){var t=o.isShared?o.measured[e]:o.layout[e],r=$p(l[e]);t.max=t.min+r}));var c=rm();Gp(c,l,o.layout);var u=rm();o.isShared?Gp(u,e.applyTransform(s,!0),o.measured):Gp(u,l,o.layout);var d=!fh(c),p=!1;if(!e.resumeFrom&&(e.relativeParent=e.getClosestProjectingParent(),e.relativeParent&&!e.relativeParent.resumeFrom)){var m=e.relativeParent,h=m.snapshot,f=m.layout;if(h&&f){var v=nm();Yp(v,o.layout,h.layout);var b=nm();Yp(b,l,f.actual),vh(v,b)||(p=!0)}}e.notifyListeners("didUpdate",{layout:l,snapshot:o,delta:u,layoutDelta:c,hasLayoutChanged:d,hasRelativeTargetChanged:p})}else e.isLead()&&(null===(a=(n=e.options).onExitComplete)||void 0===a||a.call(n));e.options.transition=void 0}function Ph(e){e.clearSnapshot()}function Ch(e){e.clearMeasurements()}function Ah(e){var t=e.options.visualElement;(null==t?void 0:t.getProps().onBeforeLayoutMeasure)&&t.notifyBeforeLayoutMeasure(),e.resetTransform()}function Sh(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function Rh(e){e.resolveTargetDelta()}function Mh(e){e.calcProjection()}function Th(e){e.resetRotation()}function Ih(e){e.removeLeadSnapshot()}function Oh(e,t,r){e.translate=su(t.translate,0,r),e.scale=su(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function Lh(e,t,r,n){e.min=su(t.min,r.min,n),e.max=su(t.max,r.max,n)}function Dh(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}var Bh={duration:.45,ease:[.4,0,.1,1]};function zh(e,t){for(var r=e.root,n=e.path.length-1;n>=0;n--)if(Boolean(e.path[n].instance)){r=e.path[n];break}var a=(r&&r!==e.root?r.instance:document).querySelector('[data-projection-id="'.concat(t,'"]'));a&&e.mount(a,!0)}function Nh(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function Vh(e){Nh(e.x),Nh(e.y)}var Fh=wh({attachResizeListener:function(e,t){return ic(e,"resize",t)},measureScroll:function(){return{x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}},checkIsScrollRoot:function(){return!0}}),Hh={current:void 0},jh=wh({measureScroll:function(e){return{x:e.scrollLeft,y:e.scrollTop}},defaultParent:function(){if(!Hh.current){var e=new Fh(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),Hh.current=e}return Hh.current},resetTransform:function(e,t){e.style.transform=null!=t?t:"none"},checkIsScrollRoot:function(e){return Boolean("fixed"===window.getComputedStyle(e).position)}}),Wh=pl(pl(pl(pl({},Ip),jc),xm),Qm),$h=Gl((function(e,t){return function(e,t,r,n,a){var o=t.forwardMotionProps,i=void 0!==o&&o,l=Kl(e)?ac:oc;return pl(pl({},l),{preloadedFeatures:r,useRender:Hs(i),createVisualElement:n,projectionNodeConstructor:a,Component:e})}(e,t,Wh,Zm,jh)}));function Zh(){var e=(0,U.useRef)(!1);return Sl((function(){return e.current=!0,function(){e.current=!1}}),[]),e}var Uh=function(e){var t=e.children,r=e.initial,n=e.isPresent,a=e.onExitComplete,o=e.custom,i=e.presenceAffectsLayout,l=Fl(Gh),s=Zc(),c=(0,U.useMemo)((function(){return{id:s,initial:r,isPresent:n,custom:o,onExitComplete:function(e){var t,r;l.set(e,!0);try{for(var n=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(l.values()),o=n.next();!o.done;o=n.next())if(!o.value)return}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}null==a||a()},register:function(e){return l.set(e,!1),function(){return l.delete(e)}}}}),i?void 0:[n]);return(0,U.useMemo)((function(){l.forEach((function(e,t){return l.set(t,!1)}))}),[n]),U.useEffect((function(){!n&&!l.size&&(null==a||a())}),[n]),U.createElement(Cl.Provider,{value:c},t)};function Gh(){return new Map}var qh=function(e){return e.key||""},Kh=function(e){var t=e.children,r=e.custom,n=e.initial,a=void 0===n||n,o=e.onExitComplete,i=e.exitBeforeEnter,l=e.presenceAffectsLayout,s=void 0===l||l,c=hl(function(){var e=Zh(),t=hl((0,U.useState)(0),2),r=t[0],n=t[1],a=(0,U.useCallback)((function(){e.current&&n(r+1)}),[r]);return[(0,U.useCallback)((function(){return Pd.postRender(a)}),[a]),r]}(),1),u=c[0],d=(0,U.useContext)(Wl).forceRender;d&&(u=d);var p=Zh(),m=function(e){var t=[];return U.Children.forEach(e,(function(e){(0,U.isValidElement)(e)&&t.push(e)})),t}(t),h=m,f=new Set,v=(0,U.useRef)(h),b=(0,U.useRef)(new Map).current,g=(0,U.useRef)(!0);if(Sl((function(){g.current=!1,function(e,t){e.forEach((function(e){var r=qh(e);t.set(r,e)}))}(m,b),v.current=h})),Mc((function(){g.current=!0,b.clear(),f.clear()})),g.current)return U.createElement(U.Fragment,null,h.map((function(e){return U.createElement(Uh,{key:qh(e),isPresent:!0,initial:!!a&&void 0,presenceAffectsLayout:s},e)})));h=fl([],hl(h),!1);for(var y=v.current.map(qh),E=m.map(qh),k=y.length,w=0;w<k;w++){var x=y[w];-1===E.indexOf(x)&&f.add(x)}return i&&f.size&&(h=[]),f.forEach((function(e){if(-1===E.indexOf(e)){var t=b.get(e);if(t){var n=y.indexOf(e);h.splice(n,0,U.createElement(Uh,{key:qh(t),isPresent:!1,onExitComplete:function(){b.delete(e),f.delete(e);var t=v.current.findIndex((function(t){return t.key===e}));if(v.current.splice(t,1),!f.size){if(v.current=m,!1===p.current)return;u(),o&&o()}},custom:r,presenceAffectsLayout:s},t))}}})),h=h.map((function(e){var t=e.key;return f.has(t)?e:U.createElement(Uh,{key:qh(e),isPresent:!0,presenceAffectsLayout:s},e)})),"production"!==vl&&i&&h.length>1&&console.warn("You're attempting to animate multiple children within AnimatePresence, but its exitBeforeEnter prop is set to true. This will lead to odd visual behaviour."),U.createElement(U.Fragment,null,f.size?h:h.map((function(e){return(0,U.cloneElement)(e)})))},Yh=Ra($h.div),Xh=$e(((e,t)=>{var r,n;const a=ha("Tooltip",e),o=sa(e),i=wr(),{children:l,label:s,shouldWrapChildren:c,"aria-label":u,hasArrow:d,bg:p,portalProps:m,background:h,backgroundColor:f,bgColor:v,motionProps:b,...g}=o,y=null!=(n=null!=(r=null!=h?h:f)?r:p)?n:v;if(y){a.bg=y;const e=function(e,t,r){var n,a,o;return null!=(o=null==(a=null==(n=e.__cssMap)?void 0:n[`colors.${r}`])?void 0:a.varRef)?o:r}(i,0,y);a[mo.arrowBg.var]=e}const E=Yi({...g,direction:i.direction});let k;if("string"==typeof l||c)k=(0,Ma.jsx)(Ra.span,{display:"inline-block",tabIndex:0,...E.getTriggerProps(),children:l});else{const e=U.Children.only(l);k=(0,U.cloneElement)(e,E.getTriggerProps(e.props,e.ref))}const w=!!u,x=E.getTooltipProps({},t),_=w?function(e,t=[]){const r=Object.assign({},e);for(const e of t)e in r&&delete r[e];return r}(x,["role","id"]):x,P=function(e,t){const r={};for(const t of["role","id"])t in e&&(r[t]=e[t]);return r}(x);return s?(0,Ma.jsxs)(Ma.Fragment,{children:[k,(0,Ma.jsx)(Kh,{children:E.isOpen&&(0,Ma.jsx)(cl,{...m,children:(0,Ma.jsx)(Ra.div,{...E.getTooltipPositionerProps(),__css:{zIndex:a.zIndex,pointerEvents:"none"},children:(0,Ma.jsxs)(Yh,{variants:io,initial:"exit",animate:"enter",exit:"exit",...b,..._,__css:a,children:[s,w&&(0,Ma.jsx)(Ra.span,{srOnly:!0,...P,children:u}),d&&(0,Ma.jsx)(Ra.div,{"data-popper-arrow":!0,className:"chakra-tooltip__arrow-wrapper",children:(0,Ma.jsx)(Ra.div,{"data-popper-arrow-inner":!0,className:"chakra-tooltip__arrow",__css:{bg:a.bg}})})]})})})})]}):(0,Ma.jsx)(Ma.Fragment,{children:l})}));Xh.displayName="Tooltip";var[Qh,Jh]=Ce({strict:!1,name:"ButtonGroupContext"});function ef(e){const{children:t,className:r,...n}=e,a=(0,U.isValidElement)(t)?(0,U.cloneElement)(t,{"aria-hidden":!0,focusable:!1}):t,o=ie("chakra-button__icon",r);return(0,Ma.jsx)(Ra.span,{display:"inline-flex",alignSelf:"center",flexShrink:0,...n,className:o,children:a})}ef.displayName="ButtonIcon",r(1035);var tf=function(e,t){var r=arguments;if(null==t||!pr.call(t,"css"))return U.createElement.apply(void 0,r);var n=r.length,a=new Array(n);a[0]=kr,a[1]=function(e,t){var r={};for(var n in t)pr.call(t,n)&&(r[n]=t[n]);return r[gr]=e,r}(e,t);for(var o=2;o<n;o++)a[o]=r[o];return U.createElement.apply(null,a)},rf=hr((function(e,t){var r=e.styles,n=sr([r],void 0,U.useContext(fr)),a=U.useRef();return dr((function(){var e=t.key+"-global",r=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),o=!1,i=document.querySelector('style[data-emotion="'+e+" "+n.name+'"]');return t.sheet.tags.length&&(r.before=t.sheet.tags[0]),null!==i&&(o=!0,i.setAttribute("data-emotion",e),r.hydrate([i])),a.current=[r,o],function(){r.flush()}}),[t]),dr((function(){var e=a.current,r=e[0];if(e[1])e[1]=!1;else{if(void 0!==n.next&&Yt(t,n.next,!0),r.tags.length){var o=r.tags[r.tags.length-1].nextElementSibling;r.before=o,r.flush()}t.insert("",n,r,!1)}}),[t,n.name]),null}));function nf(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return sr(t)}var af=function(){var e=nf.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},of=af({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),lf=$e(((e,t)=>{const r=ha("Spinner",e),{label:n="Loading...",thickness:a="2px",speed:o="0.45s",emptyColor:i="transparent",className:l,...s}=sa(e),c=ie("chakra-spinner",l),u={display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:a,borderBottomColor:i,borderLeftColor:i,animation:`${of} ${o} linear infinite`,...r};return(0,Ma.jsx)(Ra.div,{ref:t,__css:u,className:c,...s,children:n&&(0,Ma.jsx)(Ra.span,{srOnly:!0,children:n})})}));function sf(e){const{label:t,placement:r,spacing:n="0.5rem",children:a=(0,Ma.jsx)(lf,{color:"currentColor",width:"1em",height:"1em"}),className:o,__css:i,...l}=e,s=ie("chakra-button__spinner",o),c="start"===r?"marginEnd":"marginStart",u=(0,U.useMemo)((()=>({display:"flex",alignItems:"center",position:t?"relative":"absolute",[c]:t?n:0,fontSize:"1em",lineHeight:"normal",...i})),[i,t,c,n]);return(0,Ma.jsx)(Ra.div,{className:s,...l,__css:u,children:a})}lf.displayName="Spinner",sf.displayName="ButtonSpinner";var cf=$e(((e,t)=>{const r=Jh(),n=ha("Button",{...r,...e}),{isDisabled:a=(null==r?void 0:r.isDisabled),isLoading:o,isActive:i,children:l,leftIcon:s,rightIcon:c,loadingText:u,iconSpacing:d="0.5rem",type:p,spinner:m,spinnerPlacement:h="start",className:f,as:v,...b}=sa(e),g=(0,U.useMemo)((()=>{const e={...null==n?void 0:n._focus,zIndex:1};return{display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",outline:"none",...n,...!!r&&{_focus:e}}}),[n,r]),{ref:y,type:E}=function(e){const[t,r]=(0,U.useState)(!e),n=(0,U.useCallback)((e=>{e&&r("BUTTON"===e.tagName)}),[]);return{ref:n,type:t?"button":void 0}}(v),k={rightIcon:c,leftIcon:s,iconSpacing:d,children:l};return(0,Ma.jsxs)(Ra.button,{ref:ve(t,y),as:v,type:null!=p?p:E,"data-active":de(i),"data-loading":de(o),__css:g,className:ie("chakra-button",f),...b,disabled:a||o,children:[o&&"start"===h&&(0,Ma.jsx)(sf,{className:"chakra-button__spinner--start",label:u,placement:"start",spacing:d,children:m}),o?u||(0,Ma.jsx)(Ra.span,{opacity:0,children:(0,Ma.jsx)(uf,{...k})}):(0,Ma.jsx)(uf,{...k}),o&&"end"===h&&(0,Ma.jsx)(sf,{className:"chakra-button__spinner--end",label:u,placement:"end",spacing:d,children:m})]})}));function uf(e){const{leftIcon:t,rightIcon:r,children:n,iconSpacing:a}=e;return(0,Ma.jsxs)(Ma.Fragment,{children:[t&&(0,Ma.jsx)(ef,{marginEnd:a,children:t}),n,r&&(0,Ma.jsx)(ef,{marginStart:a,children:r})]})}cf.displayName="Button";var df=$e((function(e,t){const{direction:r,align:n,justify:a,wrap:o,basis:i,grow:l,shrink:s,...c}=e,u={display:"flex",flexDirection:r,alignItems:n,justifyContent:a,flexWrap:o,flexBasis:i,flexGrow:l,flexShrink:s};return(0,Ma.jsx)(Ra.div,{ref:t,__css:u,...c})}));df.displayName="Flex";var pf=$e((function(e,t){var r;const n=ha("FormLabel",e),a=sa(e),{className:o,children:i,requiredIndicator:l=(0,Ma.jsx)(mf,{}),optionalIndicator:s=null,...c}=a,u=Xa(),d=null!=(r=null==u?void 0:u.getLabelProps(c,t))?r:{ref:t,...c};return(0,Ma.jsxs)(Ra.label,{...d,className:ie("chakra-form__label",a.className),__css:{display:"block",textAlign:"start",...n},children:[i,(null==u?void 0:u.isRequired)?l:s]})}));pf.displayName="FormLabel";var mf=$e((function(e,t){const r=Xa(),n=Ka();if(!(null==r?void 0:r.isRequired))return null;const a=ie("chakra-form__required-indicator",e.className);return(0,Ma.jsx)(Ra.span,{...null==r?void 0:r.getRequiredIndicatorProps(e,t),__css:n.requiredIndicator,className:a})}));mf.displayName="RequiredIndicator";var hf={grad:.9,turn:360,rad:360/(2*Math.PI)},ff=function(e){return"string"==typeof e?e.length>0:"number"==typeof e},vf=function(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},bf=function(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=1),e>r?r:e>t?e:t},gf=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},yf=function(e){return{r:bf(e.r,0,255),g:bf(e.g,0,255),b:bf(e.b,0,255),a:bf(e.a)}},Ef=function(e){return{r:vf(e.r),g:vf(e.g),b:vf(e.b),a:vf(e.a,3)}},kf=/^#([0-9a-f]{3,8})$/i,wf=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},xf=function(e){var t=e.r,r=e.g,n=e.b,a=e.a,o=Math.max(t,r,n),i=o-Math.min(t,r,n),l=i?o===t?(r-n)/i:o===r?2+(n-t)/i:4+(t-r)/i:0;return{h:60*(l<0?l+6:l),s:o?i/o*100:0,v:o/255*100,a}},_f=function(e){var t=e.h,r=e.s,n=e.v,a=e.a;t=t/360*6,r/=100,n/=100;var o=Math.floor(t),i=n*(1-r),l=n*(1-(t-o)*r),s=n*(1-(1-t+o)*r),c=o%6;return{r:255*[n,l,i,i,s,n][c],g:255*[s,n,n,l,i,i][c],b:255*[i,i,s,n,n,l][c],a}},Pf=function(e){return{h:gf(e.h),s:bf(e.s,0,100),l:bf(e.l,0,100),a:bf(e.a)}},Cf=function(e){return{h:vf(e.h),s:vf(e.s),l:vf(e.l),a:vf(e.a,3)}},Af=function(e){return _f((r=(t=e).s,{h:t.h,s:(r*=((n=t.l)<50?n:100-n)/100)>0?2*r/(n+r)*100:0,v:n+r,a:t.a}));var t,r,n},Sf=function(e){return{h:(t=xf(e)).h,s:(a=(200-(r=t.s))*(n=t.v)/100)>0&&a<200?r*n/100/(a<=100?a:200-a)*100:0,l:a/2,a:t.a};var t,r,n,a},Rf=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Mf=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Tf=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,If=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Of={string:[[function(e){var t=kf.exec(e);return t?(e=t[1]).length<=4?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:4===e.length?vf(parseInt(e[3]+e[3],16)/255,2):1}:6===e.length||8===e.length?{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:8===e.length?vf(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=Tf.exec(e)||If.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:yf({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:void 0===t[7]?1:Number(t[7])/(t[8]?100:1)}):null},"rgb"],[function(e){var t=Rf.exec(e)||Mf.exec(e);if(!t)return null;var r,n,a=Pf({h:(r=t[1],n=t[2],void 0===n&&(n="deg"),Number(r)*(hf[n]||1)),s:Number(t[3]),l:Number(t[4]),a:void 0===t[5]?1:Number(t[5])/(t[6]?100:1)});return Af(a)},"hsl"]],object:[[function(e){var t=e.r,r=e.g,n=e.b,a=e.a,o=void 0===a?1:a;return ff(t)&&ff(r)&&ff(n)?yf({r:Number(t),g:Number(r),b:Number(n),a:Number(o)}):null},"rgb"],[function(e){var t=e.h,r=e.s,n=e.l,a=e.a,o=void 0===a?1:a;if(!ff(t)||!ff(r)||!ff(n))return null;var i=Pf({h:Number(t),s:Number(r),l:Number(n),a:Number(o)});return Af(i)},"hsl"],[function(e){var t=e.h,r=e.s,n=e.v,a=e.a,o=void 0===a?1:a;if(!ff(t)||!ff(r)||!ff(n))return null;var i=function(e){return{h:gf(e.h),s:bf(e.s,0,100),v:bf(e.v,0,100),a:bf(e.a)}}({h:Number(t),s:Number(r),v:Number(n),a:Number(o)});return _f(i)},"hsv"]]},Lf=function(e,t){for(var r=0;r<t.length;r++){var n=t[r][0](e);if(n)return[n,t[r][1]]}return[null,void 0]},Df=function(e){return"string"==typeof e?Lf(e.trim(),Of.string):"object"==typeof e&&null!==e?Lf(e,Of.object):[null,void 0]},Bf=function(e){return Df(e)[1]},zf=function(e,t){var r=Sf(e);return{h:r.h,s:bf(r.s+100*t,0,100),l:r.l,a:r.a}},Nf=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},Vf=function(e,t){var r=Sf(e);return{h:r.h,s:r.s,l:bf(r.l+100*t,0,100),a:r.a}},Ff=function(){function e(e){this.parsed=Df(e)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return e.prototype.isValid=function(){return null!==this.parsed},e.prototype.brightness=function(){return vf(Nf(this.rgba),2)},e.prototype.isDark=function(){return Nf(this.rgba)<.5},e.prototype.isLight=function(){return Nf(this.rgba)>=.5},e.prototype.toHex=function(){return t=(e=Ef(this.rgba)).r,r=e.g,n=e.b,o=(a=e.a)<1?wf(vf(255*a)):"","#"+wf(t)+wf(r)+wf(n)+o;var e,t,r,n,a,o},e.prototype.toRgb=function(){return Ef(this.rgba)},e.prototype.toRgbString=function(){return t=(e=Ef(this.rgba)).r,r=e.g,n=e.b,(a=e.a)<1?"rgba("+t+", "+r+", "+n+", "+a+")":"rgb("+t+", "+r+", "+n+")";var e,t,r,n,a},e.prototype.toHsl=function(){return Cf(Sf(this.rgba))},e.prototype.toHslString=function(){return t=(e=Cf(Sf(this.rgba))).h,r=e.s,n=e.l,(a=e.a)<1?"hsla("+t+", "+r+"%, "+n+"%, "+a+")":"hsl("+t+", "+r+"%, "+n+"%)";var e,t,r,n,a},e.prototype.toHsv=function(){return e=xf(this.rgba),{h:vf(e.h),s:vf(e.s),v:vf(e.v),a:vf(e.a,3)};var e},e.prototype.invert=function(){return Hf({r:255-(e=this.rgba).r,g:255-e.g,b:255-e.b,a:e.a});var e},e.prototype.saturate=function(e){return void 0===e&&(e=.1),Hf(zf(this.rgba,e))},e.prototype.desaturate=function(e){return void 0===e&&(e=.1),Hf(zf(this.rgba,-e))},e.prototype.grayscale=function(){return Hf(zf(this.rgba,-1))},e.prototype.lighten=function(e){return void 0===e&&(e=.1),Hf(Vf(this.rgba,e))},e.prototype.darken=function(e){return void 0===e&&(e=.1),Hf(Vf(this.rgba,-e))},e.prototype.rotate=function(e){return void 0===e&&(e=15),this.hue(this.hue()+e)},e.prototype.alpha=function(e){return"number"==typeof e?Hf({r:(t=this.rgba).r,g:t.g,b:t.b,a:e}):vf(this.rgba.a,3);var t},e.prototype.hue=function(e){var t=Sf(this.rgba);return"number"==typeof e?Hf({h:e,s:t.s,l:t.l,a:t.a}):vf(t.h)},e.prototype.isEqual=function(e){return this.toHex()===Hf(e).toHex()},e}(),Hf=function(e){return e instanceof Ff?e:new Ff(e)},jf=[];function Wf(){return(Wf=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}).apply(this,arguments)}function $f(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)t.indexOf(r=o[n])>=0||(a[r]=e[r]);return a}function Zf(e){var t=(0,U.useRef)(e),r=(0,U.useRef)((function(e){t.current&&t.current(e)}));return t.current=e,r.current}var Uf=function(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=1),e>r?r:e<t?t:e},Gf=function(e){return"touches"in e},qf=function(e){return e&&e.ownerDocument.defaultView||self},Kf=function(e,t,r){var n=e.getBoundingClientRect(),a=Gf(t)?function(e,t){for(var r=0;r<e.length;r++)if(e[r].identifier===t)return e[r];return e[0]}(t.touches,r):t;return{left:Uf((a.pageX-(n.left+qf(e).pageXOffset))/n.width),top:Uf((a.pageY-(n.top+qf(e).pageYOffset))/n.height)}},Yf=function(e){!Gf(e)&&e.preventDefault()},Xf=U.memo((function(e){var t=e.onMove,r=e.onKey,n=$f(e,["onMove","onKey"]),a=(0,U.useRef)(null),o=Zf(t),i=Zf(r),l=(0,U.useRef)(null),s=(0,U.useRef)(!1),c=(0,U.useMemo)((function(){var e=function(e){Yf(e),(Gf(e)?e.touches.length>0:e.buttons>0)&&a.current?o(Kf(a.current,e,l.current)):r(!1)},t=function(){return r(!1)};function r(r){var n=s.current,o=qf(a.current),i=r?o.addEventListener:o.removeEventListener;i(n?"touchmove":"mousemove",e),i(n?"touchend":"mouseup",t)}return[function(e){var t=e.nativeEvent,n=a.current;if(n&&(Yf(t),!function(e,t){return t&&!Gf(e)}(t,s.current)&&n)){if(Gf(t)){s.current=!0;var i=t.changedTouches||[];i.length&&(l.current=i[0].identifier)}n.focus(),o(Kf(n,t,l.current)),r(!0)}},function(e){var t=e.which||e.keyCode;t<37||t>40||(e.preventDefault(),i({left:39===t?.05:37===t?-.05:0,top:40===t?.05:38===t?-.05:0}))},r]}),[i,o]),u=c[0],d=c[1],p=c[2];return(0,U.useEffect)((function(){return p}),[p]),U.createElement("div",Wf({},n,{onTouchStart:u,onMouseDown:u,className:"react-colorful__interactive",ref:a,onKeyDown:d,tabIndex:0,role:"slider"}))})),Qf=function(e){return e.filter(Boolean).join(" ")},Jf=function(e){var t=e.color,r=e.left,n=e.top,a=void 0===n?.5:n,o=Qf(["react-colorful__pointer",e.className]);return U.createElement("div",{className:o,style:{top:100*a+"%",left:100*r+"%"}},U.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},ev=function(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=Math.pow(10,t)),Math.round(r*e)/r},tv=(Math.PI,function(e){return cv(rv(e))}),rv=function(e){return"#"===e[0]&&(e=e.substring(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:4===e.length?ev(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:8===e.length?ev(parseInt(e.substring(6,8),16)/255,2):1}},nv=function(e){var t=e.s,r=e.v,n=e.a,a=(200-t)*r/100;return{h:ev(e.h),s:ev(a>0&&a<200?t*r/100/(a<=100?a:200-a)*100:0),l:ev(a/2),a:ev(n,2)}},av=function(e){var t=nv(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},ov=function(e){var t=nv(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},iv=function(e){var t=e.h,r=e.s,n=e.v,a=e.a;t=t/360*6,r/=100,n/=100;var o=Math.floor(t),i=n*(1-r),l=n*(1-(t-o)*r),s=n*(1-(1-t+o)*r),c=o%6;return{r:ev(255*[n,l,i,i,s,n][c]),g:ev(255*[s,n,n,l,i,i][c]),b:ev(255*[i,i,s,n,n,l][c]),a:ev(a,2)}},lv=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},sv=function(e){var t=e.r,r=e.g,n=e.b,a=e.a,o=a<1?lv(ev(255*a)):"";return"#"+lv(t)+lv(r)+lv(n)+o},cv=function(e){var t=e.r,r=e.g,n=e.b,a=e.a,o=Math.max(t,r,n),i=o-Math.min(t,r,n),l=i?o===t?(r-n)/i:o===r?2+(n-t)/i:4+(t-r)/i:0;return{h:ev(60*(l<0?l+6:l)),s:ev(o?i/o*100:0),v:ev(o/255*100),a}},uv=U.memo((function(e){var t=e.hue,r=e.onChange,n=Qf(["react-colorful__hue",e.className]);return U.createElement("div",{className:n},U.createElement(Xf,{onMove:function(e){r({h:360*e.left})},onKey:function(e){r({h:Uf(t+360*e.left,0,360)})},"aria-label":"Hue","aria-valuenow":ev(t),"aria-valuemax":"360","aria-valuemin":"0"},U.createElement(Jf,{className:"react-colorful__hue-pointer",left:t/360,color:av({h:t,s:100,v:100,a:1})})))})),dv=U.memo((function(e){var t=e.hsva,r=e.onChange,n={backgroundColor:av({h:t.h,s:100,v:100,a:1})};return U.createElement("div",{className:"react-colorful__saturation",style:n},U.createElement(Xf,{onMove:function(e){r({s:100*e.left,v:100-100*e.top})},onKey:function(e){r({s:Uf(t.s+100*e.left,0,100),v:Uf(t.v-100*e.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+ev(t.s)+"%, Brightness "+ev(t.v)+"%"},U.createElement(Jf,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:av(t)})))})),pv=function(e,t){if(e===t)return!0;for(var r in e)if(e[r]!==t[r])return!1;return!0};var mv="undefined"!=typeof window?U.useLayoutEffect:U.useEffect,hv=new Map,fv=function(e){var t=e.className,r=e.hsva,n=e.onChange,a={backgroundImage:"linear-gradient(90deg, "+ov(Object.assign({},r,{a:0}))+", "+ov(Object.assign({},r,{a:1}))+")"},o=Qf(["react-colorful__alpha",t]),i=ev(100*r.a);return U.createElement("div",{className:o},U.createElement("div",{className:"react-colorful__alpha-gradient",style:a}),U.createElement(Xf,{onMove:function(e){n({a:e.left})},onKey:function(e){n({a:Uf(r.a+e.left)})},"aria-label":"Alpha","aria-valuetext":i+"%","aria-valuenow":i,"aria-valuemin":"0","aria-valuemax":"100"},U.createElement(Jf,{className:"react-colorful__alpha-pointer",left:r.a,color:ov(r)})))},vv=function(e){var t,n=e.className,a=e.colorModel,o=e.color,i=void 0===o?a.defaultColor:o,l=e.onChange,s=$f(e,["className","colorModel","color","onChange"]),c=(0,U.useRef)(null);t=c,mv((function(){var e=t.current?t.current.ownerDocument:document;if(void 0!==e&&!hv.has(e)){var n=e.createElement("style");n.innerHTML='.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url(\'data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><path d="M8 0h8v8H8zM0 8h8v8H0z"/></svg>\')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}',hv.set(e,n);var a=r.nc;a&&n.setAttribute("nonce",a),e.head.appendChild(n)}}),[]);var u=function(e,t,r){var n=Zf(r),a=(0,U.useState)((function(){return e.toHsva(t)})),o=a[0],i=a[1],l=(0,U.useRef)({color:t,hsva:o});(0,U.useEffect)((function(){if(!e.equal(t,l.current.color)){var r=e.toHsva(t);l.current={hsva:r,color:t},i(r)}}),[t,e]),(0,U.useEffect)((function(){var t;pv(o,l.current.hsva)||e.equal(t=e.fromHsva(o),l.current.color)||(l.current={hsva:o,color:t},n(t))}),[o,e,n]);var s=(0,U.useCallback)((function(e){i((function(t){return Object.assign({},t,e)}))}),[]);return[o,s]}(a,i,l),d=u[0],p=u[1],m=Qf(["react-colorful",n]);return U.createElement("div",Wf({},s,{ref:c,className:m}),U.createElement(dv,{hsva:d,onChange:p}),U.createElement(uv,{hue:d.h,onChange:p}),U.createElement(fv,{hsva:d,onChange:p,className:"react-colorful__last-control"}))},bv={defaultColor:"0001",toHsva:tv,fromHsva:function(e){return sv(iv(e))},equal:function(e,t){return e.toLowerCase()===t.toLowerCase()||pv(rv(e),rv(t))}},gv=function(e){return U.createElement(vv,Wf({},e,{colorModel:bv}))},yv=r(1774),Ev=r.n(yv);const kv=window._BLOCKART_;function wv(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(r=wv(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}const xv=e=>Object.prototype.toString.call(e),_v=e=>{try{return void 0===e}catch(e){if(e instanceof ReferenceError)return!0;throw e}},Pv=e=>e.charAt(0).toUpperCase()+e.slice(1),Cv=(...e)=>function(){for(var e,t,r=0,n="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=wv(e))&&(n&&(n+=" "),n+=t);return n}(e),Av=(e,t,r)=>{if(t<0||t>=e.length||r<0||r>=e.length)return console.error("Invalid index"),e;const n=e.splice(t,1)[0];return e.splice(r,0,n),e},Sv=(e,t,r)=>{if(null==e)return e;const n=Array.isArray(t)?t:t.split(".");let a=n[0];if(1===n.length)return e[a]=r,e;e[a]||(e[a]={});const o=e[a],i=n.slice(1);return Sv(o,i,r),e},Rv=(e,t,r)=>{const n=Array.isArray(t)?t:t.split(".");let a=e;for(let e of n){if(null==a)return r;a=a[e]}return void 0!==a?a:r},Mv=(e,t)=>{if(e===t)return!0;if(xv(e)!==xv(t))return!1;if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;const r=e.slice().sort(),n=t.slice().sort();for(let e=0;e<r.length;e++)if(!Mv(r[e],n[e]))return!1;return!0}if(e instanceof Object&&t instanceof Object){const r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(const n of r){if(!t.hasOwnProperty(n))return!1;if(!Mv(e[n],t[n]))return!1}return!0}return!1},Tv=e=>{if(null===e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map((e=>Tv(e)));const t={};for(let r in e)e.hasOwnProperty(r)&&(t[r]=Tv(e[r]));return t},Iv=e=>!!e&&e.startsWith("var("),Ov=()=>{},Lv=(e,t)=>(Object.entries(t).forEach((([t,r])=>{e=e.replaceAll(`{{${t}}}`,r)})),e),Dv=(e,t)=>{let r=!0;return t?.condition?.forEach((t=>{const n=r;if("=="===t.relation||"==="===t.relation)r="string"==typeof t.value||"number"==typeof t.value||"boolean"==typeof t.value?e[t.key]===t.value:!!t?.value?.includes(e[t.key]);else if("!="===t.relation||"!=="===t.relation)if("string"==typeof t.value||"number"==typeof t.value||"boolean"==typeof t.value)r=e[t.key]!==t.value;else{let n=!1;t?.value?.forEach((r=>{e[t.key]!==r&&(n=!0)})),n&&(r=!0)}!1===n&&(r=!1)})),r},Bv=e=>{const t={allDevice:[],desktop:[],tablet:[],mobile:[]};return e?.image?.url&&t.desktop.push("background-image: url("+e.image.url+");"),e?.attachment&&"default"!==e.attachment&&t.desktop.push("background-attachment: "+e.attachment+";"),Object.keys(Y).forEach((r=>{const n="customSize"+(r.charAt(0).toUpperCase()+r.slice(1));e?.position&&e.position?.[r]&&"default"!==e.position[r]&&t[r].push(`background-position: ${e.position[r]};`),e?.repeat&&e?.repeat?.[r]&&"default"!==e.repeat[r]&&t[r].push(`background-repeat: ${e.repeat[r]};`),e?.size&&e.size?.[r]&&"default"!==e.size[r]&&("custom"!==e.size[r]&&t[r].push(`background-size: ${e.size[r]};`),"custom"===e.size[r]&&e[n]&&t[r].push(`background-size: ${e[n].value+(e[n].unit||"")} auto;`))})),t},zv=window.lodash,Nv={empty:()=>({allDevice:[],desktop:[],tablet:[],mobile:[]}),border:e=>{const{settingValue:t,settingDef:r,blockName:n,blockID:a}=e,o=r?.style,i={allDevice:[],desktop:[],tablet:[],mobile:[]},l={allDevice:[],desktop:[],tablet:[],mobile:[]};if(!o)return i;const{type:s="none",size:c,radius:u,color:d}=t;for(const t of o){if(!Dv(e.settings,t))continue;const r=Lv(t.selector,{WRAPPER:`.blockart-${n}-${a}`});if("none"!==s){l.desktop.push(`${d?`border-color: ${d};`:""} border-style: ${s};`);for(const e in Y)if(c?.[e]){var p,m,h,f,v;const t=null!==(p=c[e]?.unit)&&void 0!==p?p:"px",r=[`${null!==(m=c[e]?.top)&&void 0!==m?m:0}${t}`,`${null!==(h=c[e]?.right)&&void 0!==h?h:0}${t}`,`${null!==(f=c[e]?.bottom)&&void 0!==f?f:0}${t}`,`${null!==(v=c[e]?.left)&&void 0!==v?v:0}${t}`];if(r.every((e=>`0${t}`===e)))continue;l[e].push(`border-width: ${r.join(" ")};`)}}for(const e in Y)if(u?.[e]){var b,g,y,E,k;const t=null!==(b=u[e]?.unit)&&void 0!==b?b:"px",r=[`${null!==(g=u[e]?.top)&&void 0!==g?g:0}${t}`,`${null!==(y=u[e]?.right)&&void 0!==y?y:0}${t}`,`${null!==(E=u[e]?.bottom)&&void 0!==E?E:0}${t}`,`${null!==(k=u[e]?.left)&&void 0!==k?k:0}${t}`];if(r.every((e=>`0${t}`===e)))continue;l[e].push(`border-radius: ${r.join(" ")};`)}Object.keys(i).forEach((e=>{l?.[e]?.length>0&&i[e].push(`${r}{ ${l[e].join("")} }`)}))}return i},dimension:e=>{const{settingValue:t,settingDef:r,blockName:n,blockID:a}=e,o=r?.style,i={allDevice:[],desktop:[],tablet:[],mobile:[]};if(!o)return i;for(const r of o){if(!Dv(e.settings,r))continue;const o=Lv(r.selector,{WRAPPER:`.blockart-${n}-${a}`});if(t)if(Object.keys(t).some((e=>Object.keys(Y).includes(e))))Object.keys(Y).forEach((e=>{if(!t[e])return;if(!Object.keys(t[e]).some((e=>["top","right","bottom","left","unit"].includes(e))))return;const r=t[e].unit||"px",n=[`${t[e]?.top||0}${r}`,`${t[e]?.right||0}${r}`,`${t[e]?.bottom||0}${r}`,`${t[e]?.left||0}${r}`];i[e].push(Lv(o,{VALUE:n.join(" ")}))}));else{if(!Object.keys(t).some((e=>["top","right","bottom","left","unit"].includes(e))))return;const e=t.unit||"px",r=[`${t?.top||0}${e}`,`${t?.right||0}${e}`,`${t?.bottom||0}${e}`,`${t?.left||0}${e}`];i.allDevice.push(Lv(o,{VALUE:r.join(" ")}))}}return i},background:e=>{const{settingValue:t,settingDef:r,blockName:n,blockID:a}=e,o=r?.style,i={allDevice:[],desktop:[],tablet:[],mobile:[]};if(!o)return i;const{type:l="color",image:s,color:c}=t;for(const r of o){if(!Dv(e.settings,r))continue;const o=Lv(r.selector,{WRAPPER:`.blockart-${n}-${a}`});if("gradient"===l&&t.gradient)i.allDevice.push(`${o}{ background: ${t.gradient}; }`);else if(c&&i.allDevice.push(`${o}{ background-color: ${c}; }`),"image"===l){const e=Bv(null!=s?s:{});Object.keys(i).forEach((t=>{e[t].length>0&&i[t].push(`${o}{ ${e[t].join("")} }`)}))}}return i},boxShadow:e=>{let{settingValue:t,settingDef:r,blockName:n,blockID:a}=e;const o=r?.style,i={allDevice:[],desktop:[],tablet:[],mobile:[]},{enable:l=!1,position:s="outline",horizontalX:c=0,verticalY:u=0,blur:d=10,spread:p=0,color:m="rgba(0,0,0, 0.5)"}=t;if(!o||!l)return i;for(const t of o){if(!Dv(e.settings,t))continue;const r=Lv(t.selector,{WRAPPER:`.blockart-${n}-${a}`});i.allDevice.push(r+"{ box-shadow:"+(s&&"inset"===s?s:"")+" "+c+"px "+u+"px "+d+"px "+p+"px "+m+"; }")}return i},typography:e=>{const{settingValue:t,settingDef:r,blockName:n,blockID:a}=e,o=r?.style,i={allDevice:[],desktop:[],tablet:[],mobile:[]},l={allDevice:[],desktop:[],tablet:[],mobile:[]};let s="";if(!o)return i;const{family:c="Default",weight:u=400,transform:d="default",decoration:p="default",fontStyle:m="default",type:h="sans-serif",size:f,lineHeight:v,letterSpacing:b,_className:g}=t;if(!g){for(const t of o){if(!Dv(e.settings,t))return;const r=Lv(t.selector,{WRAPPER:`.blockart-${n}-${a}`});"Default"!==c&&(s+=`@import url('https://fonts.googleapis.com/css?family=${c.replace(" ","+")}:${u}&display=swap');`,l.desktop.push(`font-family: ${c}, ${h};`)),u&&l.desktop.push(`font-weight: ${u};`),"default"!==d&&l.desktop.push(`text-transform: ${d};`),"default"!==p&&l.desktop.push(`text-decoration: ${p};`),"default"!==m&&l.desktop.push(`font-style: ${m};`),Object.keys(Y).forEach((e=>{var t,r,n;f?.[e]?.value&&l[e].push(`font-size: ${f[e].value}${null!==(t=f[e]?.unit)&&void 0!==t?t:"px"};`),v?.[e]?.value&&l[e].push(`line-height: ${v[e].value}${null!==(r=v[e]?.unit)&&void 0!==r?r:"px"};`),b?.[e]?.value&&l[e].push(`letter-spacing: ${b[e].value}${null!==(n=b[e]?.unit)&&void 0!==n?n:"px"}`)})),Object.keys(i).forEach((e=>{l[e].length>0&&i[e].push(`${r}{ ${l[e].join("")} }`)})),s&&i.allDevice.unshift(s)}return i}},separator:e=>{const{settingValue:t,settingDef:r,blockName:n,blockID:a}=e,o=r?.style,i={allDevice:[],desktop:[],tablet:[],mobile:[]};if(!o||!t.enable)return i;const{color:l="#fff",height:s=160,width:c=1,shadow_enable:u,shadow_color:d="#fff",horizontalX:p=0,verticalY:m=0,blur:h=0}=t;return o.forEach((t=>{if(!Dv(e.settings,t))return;const r=Lv(t.selector,{WRAPPER:`.blockart-${n}-${a}`});let o="";l&&(o+=`fill: ${l};`),s&&(o+=`height: ${s}px;`),c&&(o+=`transform: scaleX(${c});`),u&&(o+=`filter: drop-shadow(${p}px ${m}px ${h}px ${d});`),o&&i.allDevice.push(`${r} { ${o} }`)})),i},advanced:e=>{const{settingValue:t,settingDef:r,blockName:n,blockID:a,context:o}=e,i=r?.style,l={allDevice:[],desktop:[],tablet:[],mobile:[]};if(!i)return l;for(const r of i){if(!Dv(e.settings,r))return;const i=Lv(r.selector,{WRAPPER:`.blockart-${n}-${a}`});t&&"save"===o&&l.allDevice.push(i)}return l},common:e=>{const{settingValue:t,settingDef:r,blockName:n,blockID:a}=e,o=r?.style,i={allDevice:[],desktop:[],tablet:[],mobile:[]};if(!o)return i;for(const r of o){if(!Dv(e.settings,r))continue;const o=Lv(r.selector,{WRAPPER:`.blockart-${n}-${a}`});if("object"==typeof t&&t)if(["desktop","tablet","mobile"].some((e=>Object.keys(t).includes(e))))Object.keys(Y).forEach((e=>{(0,zv.isUndefined)(t[e])||("object"==typeof t[e]?(0,zv.isUndefined)(t[e].value)&&""===t[e].value||i[e].push(Lv(o,{VALUE:t[e].value+t[e].unit||"px"})):(0,zv.isUndefined)(t[e])&&""===t[e]||i[e].push(Lv(o,{VALUE:t[e]})))}));else{const{value:e,unit:r}=t;(0,zv.isUndefined)(e)&&""===e||i.allDevice.push(Lv(o,{VALUE:(null!=e?e:0)+(null!=r?r:"px")}))}else(0,zv.isUndefined)(t)&&""===t||i.allDevice.push(Lv(o,{VALUE:t}))}return i},position:e=>{const{settingValue:t,settingDef:r,blockName:n,blockID:a}=e,o=r?.style,i={allDevice:[],desktop:[],tablet:[],mobile:[]},{position:l="",top:s=0,right:c=0,bottom:u=0,left:d=0}=t;return o.forEach((t=>{if(!Dv(e.settings,t))return;const r=Lv(t.selector,{WRAPPER:`.blockart-${n}-${a}`});l&&"none"!==l&&i.allDevice.push(`${r} { position: ${l}px; top: ${s}px; right: ${c}px; bottom: ${u}px; left: ${d}px; }`)})),i}},Vv=(e,t)=>t?.border?Nv.border:t?.background?Nv.background:t?.typography?Nv.typography:t?.boxShadow?Nv.boxShadow:t?.dimension?Nv.dimension:t?.topSeparator||t?.bottomSeparator?Nv.separator:t?.positionProperty?Nv.position:["hideOnDesktop","hideOnTablet","hideOnMobile","colReverseOnTablet","colReverseOnMobile"].includes(e)?Nv.advanced:Nv.common,Fv=e=>{const{clientId:t,blockName:r,device:n,attributes:a}=e,o=(0,U.useMemo)((()=>{const e=(({settings:e,blockName:t,blockID:r,deviceType:n="desktop",context:a="editor"})=>{const o={allDevice:[],desktop:[],tablet:[],mobile:[]},i=(0,$.getBlockType)("blockart/"+("button"===t?"button-inner":"buttons"===t?"button":t))?.attributes;if(!i)return"";const l=Object.entries(i).reduce(((e,[t,r])=>(r?.default&&(e[t]=r.default),e)),{});for(const[n,s]of Object.entries(e)){const c=i[n],u=c?.style;if(!u)continue;const d=Vv(n,s);if(!d)continue;const p=d({blockID:r,settingDef:c,settingName:n,settingValue:s,settings:{...l,...e},blockName:t,context:a});p&&(o.allDevice=o.allDevice.concat(p.allDevice),o.desktop=o.desktop.concat(p.desktop),o.tablet=o.tablet.concat(p.tablet),o.mobile=o.mobile.concat(p.mobile))}o.allDevice.length>0&&o.allDevice.forEach(((e,t)=>{e.includes("@import")&&(o.allDevice.splice(t,1),"editor"===a&&o.allDevice.unshift(e))}));let s=o.allDevice.join("");return s+=o.desktop.join(""),"editor"===a?(kv.isNotPostEditor||("desktop"!==n&&(s+=o.tablet.join("")),"mobile"===n&&(s+=o.mobile.join(""))),s):(o.tablet.length&&(s+=`@media (max-width: 62em) {${o.mobile.join("")}}`),o.mobile.length&&(s+=`@media (max-width: 48em) {${o.tablet.join("")}}`),s)})({settings:a,blockName:r,blockID:t,deviceType:n});if("customize"===window.pagenow&&window.wp?.customize){const n=()=>{const n=window.wp.customize.previewer.targetWindow().document;if(!n)return;const a=Object.assign(document.createElement("style"),{id:`blockart-${r}-${t}-css`,innerHTML:e}),o=n.getElementById(`blockart-${r}-${t}-css`);o&&o.remove(),n.head.appendChild(a)};n(),window.wp.customize.previewer.bind("ready",n)}const o=()=>t&&e?G().createElement("style",null,e):null;return o.displayName=`Style[${r}/${t}]`,o}),[a,r,t,n]);return{Style:o}},Hv=window.wp.data,jv=e=>{const{attributes:t,setAttributes:r,name:n,clientId:a}=e;return(0,U.useEffect)((()=>{const e=a.substring(0,8),[,o="blockart"]=n.split("/");t.clientId?t.clientId!==e&&document.querySelectorAll(`.blockart-${o}-${t.clientId}`)?.length>1&&!(e=>{const t=wp.data.select("core/block-editor")?.getBlockParents(e);let r=!1;for(const e of t){const t=(0,Hv.select)("core/block-editor").getBlock(e);if(t&&"core/block"===t.name&&t.attributes?.ref){r=!0;break}}return r})(a)&&r({clientId:e}):r({clientId:e})}),[]),{clientId:t.clientId}},Wv=window.wp.primitives,$v=(0,U.createElement)(Wv.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,U.createElement)(Wv.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5 4.5h11a.5.5 0 0 1 .5.5v11a.5.5 0 0 1-.5.5H5a.5.5 0 0 1-.5-.5V5a.5.5 0 0 1 .5-.5ZM3 5a2 2 0 0 1 2-2h11a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5Zm17 3v10.75c0 .69-.56 1.25-1.25 1.25H6v1.5h12.75a2.75 2.75 0 0 0 2.75-2.75V8H20Z"})),Zv=window.wp.components,Uv=(e,t,r)=>{(0,U.useEffect)((()=>(window.addEventListener(e,t,r),()=>window.removeEventListener(e,t,r))),[e,t,r])},Gv=e=>{try{return JSON.parse(e)}catch(e){throw new Error("Filed to deserialize value")}},qv=e=>((e,t)=>{const r="localStorage"===e?"blockart-local-storage":"blockart-session-storage";return({key:n,defaultValue:a,getInitialValueInEffect:o=!1,serialize:i=(e=>((e,t)=>{try{return JSON.stringify(e)}catch(e){throw new Error(`Filed to serialize ${t} value`)}})(e,t)),deserialize:l=Gv})=>{const s=(0,U.useCallback)((t=>{if("undefined"==typeof window||!(e in window)||null===window[e]||t)return a;const r=window[e].getItem(n);return null!==r?l(r):a}),[n,a,l]),[c,u]=(0,U.useState)(s(o)),d=(0,U.useCallback)((t=>{t instanceof Function&&u((a=>{const o=t(a);return window[e].setItem(n,i(o)),window.dispatchEvent(new CustomEvent(r,{detail:{key:n,value:t(a)}})),o}))}),[n,i]),p=(0,U.useCallback)((()=>{window[e].removeItem(n),window.dispatchEvent(new CustomEvent(r,{detail:{key:n,value:a}}))}),[a,n]);return Uv("storage",(t=>{t.storageArea===window[e]&&t.key===n&&u(l(t.newValue))})),Uv(r,(e=>{e.detail.key===n&&u(e.detail.value)})),(0,U.useEffect)((()=>{void 0!==a&&void 0===c&&d(a)}),[a,c,d]),(0,U.useEffect)((()=>{o&&u(s())}),[o,s]),[void 0===c?a:c,d,p]}})("localStorage","use-local-storage")(e),Kv=["clientId","className","cssID","text","link","icon","hasModal","modalOnly","columns","childRow","markup","blockCSS","image","alt1","alt2","colWidth","blockHTML"],Yv=()=>{const[e,t]=qv({key:"_magazine_blocks_styles",defaultValue:{}}),{clientId:r,getAttributes:n,blockName:a}=(0,Hv.useSelect)((e=>{const{getSelectedBlockClientId:t,getBlockAttributes:r,getBlockName:n}=e("core/block-editor");return{clientId:t(),getAttributes:r,blockName:t()&&n(t())}}),[]),o=()=>{var e;const o={},i=null!==(e=n(r))&&void 0!==e?e:{};for(const e of Object.keys(i))Kv.includes(e)||(o[e]=i[e]);t((e=>({...e,[a]:o})))},i=()=>{const{updateBlockAttributes:t}=(0,Hv.dispatch)("core/block-editor"),n=e?.[a];n&&t(r,{...n})};return{CopyPasterStyleBlockControl:(0,U.useMemo)((()=>t=>{if(!kv.configs.editor["copy-paste-styles"])return null;const r=t.withBlockControls?e=>G().createElement(q.BlockControls,null,G().createElement(Zv.ToolbarGroup,null,e.children)):U.Fragment;return G().createElement(r,null,G().createElement(Zv.ToolbarDropdownMenu,{icon:G().createElement(Zv.Icon,{icon:$v}),label:(0,K.__)("Copy/Paste Styles","blockart"),controls:[{icon:G().createElement(Zv.Icon,{icon:$v}),title:(0,K.__)("Copy Styles","blockart"),onClick:o},{icon:G().createElement(Zv.Icon,{icon:$v}),title:(0,K.__)("Paste Styles","blockart"),onClick:i,isDisabled:!e?.[a]}]}))}),[a,o,i,e]),copyStyles:o,pasteStyles:i}},Xv=(e,t)=>{const[r,n]=(0,U.useState)(e);return(0,U.useEffect)((()=>{const r=setTimeout((()=>n(e)),t||500);return()=>{clearTimeout(r)}}),[e,t]),r},Qv=(e,t=250)=>{const r=(0,U.useRef)();return(0,U.useCallback)(((...n)=>{clearTimeout(r.current),r.current=setTimeout((()=>{e(...n)}),t)}),[e,t])},Jv=new Map,eb=new Map;function tb(e,t){return function(e,t){Jv.has(e)||Jv.set(e,{value:t,updaters:new Set})}(e,t),Jv.get(e)}function rb(e){return t=>{!function(e,t){ab(e,t),function(e){const t=tb(e);t.updaters.forEach((e=>{e(t.value)}))}(e)}(e,t)}}function nb(e,t){!function(e,t){void 0===tb(e).value&&void 0!==t&&ab(e,t)}(e,t);const r=tb(e,t),n=(0,U.useState)(r.value);return r.updaters.add(n[1]),[r.value,rb(e)]}function ab(e,t){const r=tb(e);r.value!==t&&(r.value=function(e,t){const r=eb.get(e);if(!r)return t;let n=t;function a(e){n=e}return r.forEach((e=>{e(n,a)})),n}(e,t))}function ob(e,t){const r=eb.get(e)||new Set;r.add(t),eb.set(e,r)}const ib=()=>{const e="site-editor"===pagenow?"core/edit-site":"core/edit-post",[t,r]=nb("blockart-device","desktop");(0,U.useEffect)((()=>{wp?.customize?.previewedDevice?.bind((e=>{r(e)}))}),[]);const n=(0,Hv.useSelect)((r=>{var n,a;return null!==(n=null!==(a=r(e)?.__experimentalGetPreviewDeviceType()?.toLowerCase())&&void 0!==a?a:t)&&void 0!==n?n:"desktop"}),[]);return{device:n,setDevice:t=>{r(t),(0,Hv.dispatch)(e)?.__experimentalSetPreviewDeviceType(Pv(t)),wp?.customize?.previewedDevice(t)}}},lb=window.wp.apiFetch;var sb=r.n(lb);const cb=window.wp.plugins;var ub=String.raw,db=ub`
:root,
:host {
--chakra-vh: 100vh;
}
@supports (height: -webkit-fill-available) {
:root,
:host {
--chakra-vh: -webkit-fill-available;
}
}
@supports (height: -moz-fill-available) {
:root,
:host {
--chakra-vh: -moz-fill-available;
}
}
@supports (height: 100dvh) {
:root,
:host {
--chakra-vh: 100dvh;
}
}
`,pb=()=>(0,Ma.jsx)(rf,{styles:db}),mb=({scope:e=""})=>(0,Ma.jsx)(rf,{styles:ub`
html {
line-height: 1.5;
-webkit-text-size-adjust: 100%;
font-family: system-ui, sans-serif;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
-moz-osx-font-smoothing: grayscale;
touch-action: manipulation;
}
body {
position: relative;
min-height: 100%;
margin: 0;
font-feature-settings: "kern";
}
${e} :where(*, *::before, *::after) {
border-width: 0;
border-style: solid;
box-sizing: border-box;
word-wrap: break-word;
}
main {
display: block;
}
${e} hr {
border-top-width: 1px;
box-sizing: content-box;
height: 0;
overflow: visible;
}
${e} :where(pre, code, kbd,samp) {
font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;
font-size: 1em;
}
${e} a {
background-color: transparent;
color: inherit;
text-decoration: inherit;
}
${e} abbr[title] {
border-bottom: none;
text-decoration: underline;
-webkit-text-decoration: underline dotted;
text-decoration: underline dotted;
}
${e} :where(b, strong) {
font-weight: bold;
}
${e} small {
font-size: 80%;
}
${e} :where(sub,sup) {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
${e} sub {
bottom: -0.25em;
}
${e} sup {
top: -0.5em;
}
${e} img {
border-style: none;
}
${e} :where(button, input, optgroup, select, textarea) {
font-family: inherit;
font-size: 100%;
line-height: 1.15;
margin: 0;
}
${e} :where(button, input) {
overflow: visible;
}
${e} :where(button, select) {
text-transform: none;
}
${e} :where(
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner
) {
border-style: none;
padding: 0;
}
${e} fieldset {
padding: 0.35em 0.75em 0.625em;
}
${e} legend {
box-sizing: border-box;
color: inherit;
display: table;
max-width: 100%;
padding: 0;
white-space: normal;
}
${e} progress {
vertical-align: baseline;
}
${e} textarea {
overflow: auto;
}
${e} :where([type="checkbox"], [type="radio"]) {
box-sizing: border-box;
padding: 0;
}
${e} input[type="number"]::-webkit-inner-spin-button,
${e} input[type="number"]::-webkit-outer-spin-button {
-webkit-appearance: none !important;
}
${e} input[type="number"] {
-moz-appearance: textfield;
}
${e} input[type="search"] {
-webkit-appearance: textfield;
outline-offset: -2px;
}
${e} input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none !important;
}
${e} ::-webkit-file-upload-button {
-webkit-appearance: button;
font: inherit;
}
${e} details {
display: block;
}
${e} summary {
display: list-item;
}
template {
display: none;
}
[hidden] {
display: none !important;
}
${e} :where(
blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre
) {
margin: 0;
}
${e} button {
background: transparent;
padding: 0;
}
${e} fieldset {
margin: 0;
padding: 0;
}
${e} :where(ol, ul) {
margin: 0;
padding: 0;
}
${e} textarea {
resize: vertical;
}
${e} :where(button, [role="button"]) {
cursor: pointer;
}
${e} button::-moz-focus-inner {
border: 0 !important;
}
${e} table {
border-collapse: collapse;
}
${e} :where(h1, h2, h3, h4, h5, h6) {
font-size: inherit;
font-weight: inherit;
}
${e} :where(button, input, optgroup, select, textarea) {
padding: 0;
line-height: inherit;
color: inherit;
}
${e} :where(img, svg, video, canvas, audio, iframe, embed, object) {
display: block;
}
${e} :where(img, video) {
max-width: 100%;
height: auto;
}
[data-js-focus-visible]
:focus:not([data-focus-visible-added]):not(
[data-focus-visible-disabled]
) {
outline: none;
box-shadow: none;
}
${e} select::-ms-expand {
display: none;
}
${db}
`});function hb(e){const{cssVarsRoot:t,theme:r,children:n}=e,a=(0,U.useMemo)((()=>function(e){var t;const r=function(e){const{__cssMap:t,__cssVars:r,__breakpoints:n,...a}=e;return a}(e),n=function(e){return function(e,t){const r={};for(const n of t)n in e&&(r[n]=e[n]);return r}(e,Kn)}(r),a=function(e){return e.semanticTokens}(r),o=function({tokens:e,semanticTokens:t}){const r={};return qn(e,((e,t)=>{null!=e&&(r[t.join(".")]={isSemantic:!1,value:e})})),qn(t,((e,t)=>{null!=e&&(r[t.join(".")]={isSemantic:!0,value:e})}),{stop:e=>Object.keys(e).every(Yn)}),r}({tokens:n,semanticTokens:a}),i=null==(t=r.config)?void 0:t.cssVarPrefix,{cssMap:l,cssVars:s}=function(e,t){let r={};const n={};for(const[a,o]of Object.entries(e)){const{isSemantic:i,value:l}=o,{variable:s,reference:c}=Gn(a,null==t?void 0:t.cssVarPrefix);if(!i){if(a.startsWith("space")){const e=a.split("."),[t,...r]=e,o=`${t}.-${r.join(".")}`,i=wn.negate(l),u=wn.negate(c);n[o]={value:i,var:s,varRef:u}}r[s]=l,n[a]={value:l,var:s,varRef:c};continue}const u=r=>{const n=[String(a).split(".")[0],r].join(".");if(!e[n])return r;const{reference:o}=Gn(n,null==t?void 0:t.cssVarPrefix);return o},d=le(l)?l:{default:l};r=Cr(r,Object.entries(d).reduce(((e,[t,r])=>{var n,a;if(!r)return e;const o=u(`${r}`);return"default"===t?(e[s]=o,e):(e[null!=(a=null==(n=Zn)?void 0:n[t])?a:t]={[s]:o},e)}),{})),n[a]={value:c,var:s,varRef:c}}return{cssVars:r,cssMap:n}}(o,{cssVarPrefix:i});return Object.assign(r,{__cssVars:{"--chakra-ring-inset":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-ring-offset-width":"0px","--chakra-ring-offset-color":"#fff","--chakra-ring-color":"rgba(66, 153, 225, 0.6)","--chakra-ring-offset-shadow":"0 0 #0000","--chakra-ring-shadow":"0 0 #0000","--chakra-space-x-reverse":"0","--chakra-space-y-reverse":"0",...s},__cssMap:l,__breakpoints:On(r.breakpoints)}),r}(r)),[r]);return(0,Ma.jsxs)(br,{theme:a,children:[(0,Ma.jsx)(fb,{root:t}),n]})}function fb({root:e=":host, :root"}){const t=[e,"[data-theme]"].join(",");return(0,Ma.jsx)(rf,{styles:e=>({[t]:e.__cssVars})})}var[vb,bb]=function(e={}){const{strict:t=!0,errorMessage:r="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:n}=e,a=(0,U.createContext)(void 0);return a.displayName=n,[a.Provider,function e(){var n;const o=(0,U.useContext)(a);if(!o&&t){const t=new Error(r);throw t.name="ContextError",null==(n=Error.captureStackTrace)||n.call(Error,t,e),t}return o},a]}({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `<StylesProvider />` "});function gb(){const{colorMode:e}=_r();return(0,Ma.jsx)(rf,{styles:t=>{const r=ae(ca(t,"styles.global"),{theme:t,colorMode:e});if(r)return oa(r)(t)}})}var yb,Eb="chakra-ui-light",kb="chakra-ui-dark",wb="chakra-ui-color-mode",xb=(yb=wb,{ssr:!1,type:"localStorage",get(e){if(!(null==globalThis?void 0:globalThis.document))return e;let t;try{t=localStorage.getItem(yb)||e}catch(e){}return t||e},set(e){try{localStorage.setItem(yb,e)}catch(e){}}});var _b=()=>{};function Pb(e,t){return"cookie"===e.type&&e.ssr?e.get(t):t}function Cb(e){const{value:t,children:r,options:{useSystemColorMode:n,initialColorMode:a,disableTransitionOnChange:o}={},colorModeManager:i=xb}=e,l="dark"===a?"dark":"light",[s,c]=(0,U.useState)((()=>Pb(i,l))),[u,d]=(0,U.useState)((()=>Pb(i))),{getSystemTheme:p,setClassName:m,setDataset:h,addListener:f}=(0,U.useMemo)((()=>function(e={}){const{preventTransition:t=!0}=e,r={setDataset:e=>{const n=t?r.preventTransition():void 0;document.documentElement.dataset.theme=e,document.documentElement.style.colorScheme=e,null==n||n()},setClassName(e){document.body.classList.add(e?kb:Eb),document.body.classList.remove(e?Eb:kb)},query:()=>window.matchMedia("(prefers-color-scheme: dark)"),getSystemTheme(e){var t;return(null!=(t=r.query().matches)?t:"dark"===e)?"dark":"light"},addListener(e){const t=r.query(),n=t=>{e(t.matches?"dark":"light")};return"function"==typeof t.addListener?t.addListener(n):t.addEventListener("change",n),()=>{"function"==typeof t.removeListener?t.removeListener(n):t.removeEventListener("change",n)}},preventTransition(){const e=document.createElement("style");return e.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(e),()=>{window.getComputedStyle(document.body),requestAnimationFrame((()=>{requestAnimationFrame((()=>{document.head.removeChild(e)}))}))}}};return r}({preventTransition:o})),[o]),v="system"!==a||s?s:u,b=(0,U.useCallback)((e=>{const t="system"===e?p():e;c(t),m("dark"===t),h(t),i.set(t)}),[i,p,m,h]);tl((()=>{"system"===a&&d(p())}),[]),(0,U.useEffect)((()=>{const e=i.get();b(e||("system"!==a?l:"system"))}),[i,l,a,b]);const g=(0,U.useCallback)((()=>{b("dark"===v?"light":"dark")}),[v,b]);(0,U.useEffect)((()=>{if(n)return f(b)}),[n,f,b]);const y=(0,U.useMemo)((()=>({colorMode:null!=t?t:v,toggleColorMode:t?_b:g,setColorMode:t?_b:b,forced:void 0!==t})),[v,g,b,t]);return(0,Ma.jsx)(xr.Provider,{value:y,children:r})}Cb.displayName="ColorModeProvider";var Ab=(0,U.createContext)({getDocument:()=>document,getWindow:()=>window});function Sb(e){const{children:t,environment:r,disabled:n}=e,a=(0,U.useRef)(null),o=(0,U.useMemo)((()=>r||{getDocument:()=>{var e,t;return null!=(t=null==(e=a.current)?void 0:e.ownerDocument)?t:document},getWindow:()=>{var e,t;return null!=(t=null==(e=a.current)?void 0:e.ownerDocument.defaultView)?t:window}}),[r]),i=!n||!r;return(0,Ma.jsxs)(Ab.Provider,{value:o,children:[t,i&&(0,Ma.jsx)("span",{id:"__chakra_env",hidden:!0,ref:a})]})}Ab.displayName="EnvironmentContext",Sb.displayName="EnvironmentProvider";var Rb=e=>{const{children:t,colorModeManager:r,portalZIndex:n,resetScope:a,resetCSS:o=!0,theme:i={},environment:l,cssVarsRoot:s,disableEnvironment:c,disableGlobalStyle:u}=e,d=(0,Ma.jsx)(Sb,{environment:l,disabled:c,children:t});return(0,Ma.jsx)(hb,{theme:i,cssVarsRoot:s,children:(0,Ma.jsxs)(Cb,{colorModeManager:r,options:i.config,children:[o?(0,Ma.jsx)(mb,{scope:a}):(0,Ma.jsx)(pb,{}),!u&&(0,Ma.jsx)(gb,{}),n?(0,Ma.jsx)(el,{zIndex:n,children:d}):d]})})},Mb={letterSpacings:{tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeights:{normal:"normal",none:1,shorter:1.25,short:1.375,base:1.5,tall:1.625,taller:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},fontWeights:{hairline:100,thin:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},fonts:{heading:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',body:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',mono:'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'},fontSizes:{"3xs":"0.45rem","2xs":"0.625rem",xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"}},Tb={px:"1px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},Ib={...Tb,max:"max-content",min:"min-content",full:"100%","3xs":"14rem","2xs":"16rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem","8xl":"90rem",prose:"60ch",container:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px"}},Ob={breakpoints:{base:"0em",sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"},zIndices:{hide:-1,auto:"auto",base:0,docked:10,dropdown:1e3,sticky:1100,banner:1200,overlay:1300,modal:1400,popover:1500,skipLink:1600,toast:1700,tooltip:1800},radii:{none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},blur:{none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},colors:{transparent:"transparent",current:"currentColor",black:"#000000",white:"#FFFFFF",whiteAlpha:{50:"rgba(255, 255, 255, 0.04)",100:"rgba(255, 255, 255, 0.06)",200:"rgba(255, 255, 255, 0.08)",300:"rgba(255, 255, 255, 0.16)",400:"rgba(255, 255, 255, 0.24)",500:"rgba(255, 255, 255, 0.36)",600:"rgba(255, 255, 255, 0.48)",700:"rgba(255, 255, 255, 0.64)",800:"rgba(255, 255, 255, 0.80)",900:"rgba(255, 255, 255, 0.92)"},blackAlpha:{50:"rgba(0, 0, 0, 0.04)",100:"rgba(0, 0, 0, 0.06)",200:"rgba(0, 0, 0, 0.08)",300:"rgba(0, 0, 0, 0.16)",400:"rgba(0, 0, 0, 0.24)",500:"rgba(0, 0, 0, 0.36)",600:"rgba(0, 0, 0, 0.48)",700:"rgba(0, 0, 0, 0.64)",800:"rgba(0, 0, 0, 0.80)",900:"rgba(0, 0, 0, 0.92)"},gray:{50:"#F7FAFC",100:"#EDF2F7",200:"#E2E8F0",300:"#CBD5E0",400:"#A0AEC0",500:"#718096",600:"#4A5568",700:"#2D3748",800:"#1A202C",900:"#171923"},red:{50:"#FFF5F5",100:"#FED7D7",200:"#FEB2B2",300:"#FC8181",400:"#F56565",500:"#E53E3E",600:"#C53030",700:"#9B2C2C",800:"#822727",900:"#63171B"},orange:{50:"#FFFAF0",100:"#FEEBC8",200:"#FBD38D",300:"#F6AD55",400:"#ED8936",500:"#DD6B20",600:"#C05621",700:"#9C4221",800:"#7B341E",900:"#652B19"},yellow:{50:"#FFFFF0",100:"#FEFCBF",200:"#FAF089",300:"#F6E05E",400:"#ECC94B",500:"#D69E2E",600:"#B7791F",700:"#975A16",800:"#744210",900:"#5F370E"},green:{50:"#F0FFF4",100:"#C6F6D5",200:"#9AE6B4",300:"#68D391",400:"#48BB78",500:"#38A169",600:"#2F855A",700:"#276749",800:"#22543D",900:"#1C4532"},teal:{50:"#E6FFFA",100:"#B2F5EA",200:"#81E6D9",300:"#4FD1C5",400:"#38B2AC",500:"#319795",600:"#2C7A7B",700:"#285E61",800:"#234E52",900:"#1D4044"},blue:{50:"#ebf8ff",100:"#bee3f8",200:"#90cdf4",300:"#63b3ed",400:"#4299e1",500:"#3182ce",600:"#2b6cb0",700:"#2c5282",800:"#2a4365",900:"#1A365D"},cyan:{50:"#EDFDFD",100:"#C4F1F9",200:"#9DECF9",300:"#76E4F7",400:"#0BC5EA",500:"#00B5D8",600:"#00A3C4",700:"#0987A0",800:"#086F83",900:"#065666"},purple:{50:"#FAF5FF",100:"#E9D8FD",200:"#D6BCFA",300:"#B794F4",400:"#9F7AEA",500:"#805AD5",600:"#6B46C1",700:"#553C9A",800:"#44337A",900:"#322659"},pink:{50:"#FFF5F7",100:"#FED7E2",200:"#FBB6CE",300:"#F687B3",400:"#ED64A6",500:"#D53F8C",600:"#B83280",700:"#97266D",800:"#702459",900:"#521B41"},linkedin:{50:"#E8F4F9",100:"#CFEDFB",200:"#9BDAF3",300:"#68C7EC",400:"#34B3E4",500:"#00A0DC",600:"#008CC9",700:"#0077B5",800:"#005E93",900:"#004471"},facebook:{50:"#E8F4F9",100:"#D9DEE9",200:"#B7C2DA",300:"#6482C0",400:"#4267B2",500:"#385898",600:"#314E89",700:"#29487D",800:"#223B67",900:"#1E355B"},messenger:{50:"#D0E6FF",100:"#B9DAFF",200:"#A2CDFF",300:"#7AB8FF",400:"#2E90FF",500:"#0078FF",600:"#0063D1",700:"#0052AC",800:"#003C7E",900:"#002C5C"},whatsapp:{50:"#dffeec",100:"#b9f5d0",200:"#90edb3",300:"#65e495",400:"#3cdd78",500:"#22c35e",600:"#179848",700:"#0c6c33",800:"#01421c",900:"#001803"},twitter:{50:"#E5F4FD",100:"#C8E9FB",200:"#A8DCFA",300:"#83CDF7",400:"#57BBF5",500:"#1DA1F2",600:"#1A94DA",700:"#1681BF",800:"#136B9E",900:"#0D4D71"},telegram:{50:"#E3F2F9",100:"#C5E4F3",200:"#A2D4EC",300:"#7AC1E4",400:"#47A9DA",500:"#0088CC",600:"#007AB8",700:"#006BA1",800:"#005885",900:"#003F5E"}},...Mb,sizes:Ib,shadows:{xs:"0 0 0 1px rgba(0, 0, 0, 0.05)",sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",base:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",outline:"0 0 0 3px rgba(66, 153, 225, 0.6)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.06)",none:"none","dark-lg":"rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px"},space:Tb,borders:{none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},transition:{property:{common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform",colors:"background-color, border-color, color, fill, stroke",dimensions:"width, height",position:"left, right, top, bottom",background:"background-color, background-image, background-position"},easing:{"ease-in":"cubic-bezier(0.4, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.2, 1)","ease-in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},duration:{"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"}}},{defineMultiStyleConfig:Lb,definePartsStyle:Db}=ia(["stepper","step","title","description","indicator","separator","icon","number"]),Bb=Pn("stepper-indicator-size"),zb=Pn("stepper-icon-size"),Nb=Pn("stepper-title-font-size"),Vb=Pn("stepper-description-font-size"),Fb=Pn("stepper-accent-color"),Hb=Db((({colorScheme:e})=>({stepper:{display:"flex",justifyContent:"space-between",gap:"4","&[data-orientation=vertical]":{flexDirection:"column",alignItems:"flex-start"},"&[data-orientation=horizontal]":{flexDirection:"row",alignItems:"center"},[Fb.variable]:`colors.${e}.500`,_dark:{[Fb.variable]:`colors.${e}.200`}},title:{fontSize:Nb.reference,fontWeight:"medium"},description:{fontSize:Vb.reference,color:"chakra-subtle-text"},number:{fontSize:Nb.reference},step:{flexShrink:0,position:"relative",display:"flex",gap:"2","&[data-orientation=horizontal]":{alignItems:"center"},flex:"1","&:last-of-type:not([data-stretch])":{flex:"initial"}},icon:{flexShrink:0,width:zb.reference,height:zb.reference},indicator:{flexShrink:0,borderRadius:"full",width:Bb.reference,height:Bb.reference,display:"flex",justifyContent:"center",alignItems:"center","&[data-status=active]":{borderWidth:"2px",borderColor:Fb.reference},"&[data-status=complete]":{bg:Fb.reference,color:"chakra-inverse-text"},"&[data-status=incomplete]":{borderWidth:"2px"}},separator:{bg:"chakra-border-color",flex:"1","&[data-status=complete]":{bg:Fb.reference},"&[data-orientation=horizontal]":{width:"100%",height:"2px",marginStart:"2"},"&[data-orientation=vertical]":{width:"2px",position:"absolute",height:"100%",maxHeight:`calc(100% - ${Bb.reference} - 8px)`,top:`calc(${Bb.reference} + 4px)`,insetStart:`calc(${Bb.reference} / 2 - 1px)`}}}))),jb=Lb({baseStyle:Hb,sizes:{xs:Db({stepper:{[Bb.variable]:"sizes.4",[zb.variable]:"sizes.3",[Nb.variable]:"fontSizes.xs",[Vb.variable]:"fontSizes.xs"}}),sm:Db({stepper:{[Bb.variable]:"sizes.6",[zb.variable]:"sizes.4",[Nb.variable]:"fontSizes.sm",[Vb.variable]:"fontSizes.xs"}}),md:Db({stepper:{[Bb.variable]:"sizes.8",[zb.variable]:"sizes.5",[Nb.variable]:"fontSizes.md",[Vb.variable]:"fontSizes.sm"}}),lg:Db({stepper:{[Bb.variable]:"sizes.10",[zb.variable]:"sizes.6",[Nb.variable]:"fontSizes.lg",[Vb.variable]:"fontSizes.md"}})},defaultProps:{size:"md",colorScheme:"blue"}});function Wb(e,t={}){let r=!1;function n(t){const r=`chakra-${(["container","root"].includes(null!=t?t:"")?[e]:[e,t]).filter(Boolean).join("__")}`;return{className:r,selector:`.${r}`,toString:()=>t}}return{parts:function(...a){!function(){if(r)throw new Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?");r=!0}();for(const e of a)t[e]=n(e);return Wb(e,t)},toPart:n,extend:function(...r){for(const e of r)e in t||(t[e]=n(e));return Wb(e,t)},selectors:function(){const e=Object.fromEntries(Object.entries(t).map((([e,t])=>[e,t.selector])));return e},classnames:function(){const e=Object.fromEntries(Object.entries(t).map((([e,t])=>[e,t.className])));return e},get keys(){return Object.keys(t)},__type:{}}}var $b=Wb("accordion").parts("root","container","button","panel").extend("icon"),Zb=Wb("alert").parts("title","description","container").extend("icon","spinner"),Ub=Wb("avatar").parts("label","badge","container").extend("excessLabel","group"),Gb=Wb("breadcrumb").parts("link","item","container").extend("separator"),qb=(Wb("button").parts(),Wb("checkbox").parts("control","icon","container").extend("label")),Kb=(Wb("progress").parts("track","filledTrack").extend("label"),Wb("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer")),Yb=Wb("editable").parts("preview","input","textarea"),Xb=Wb("form").parts("container","requiredIndicator","helperText"),Qb=Wb("formError").parts("text","icon"),Jb=Wb("input").parts("addon","field","element","group"),eg=Wb("list").parts("container","item","icon"),tg=Wb("menu").parts("button","list","item").extend("groupTitle","icon","command","divider"),rg=Wb("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),ng=Wb("numberinput").parts("root","field","stepperGroup","stepper"),ag=(Wb("pininput").parts("field"),Wb("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton")),og=Wb("progress").parts("label","filledTrack","track"),ig=Wb("radio").parts("container","control","label"),lg=Wb("select").parts("field","icon"),sg=Wb("slider").parts("container","track","thumb","filledTrack","mark"),cg=Wb("stat").parts("container","label","helpText","number","icon"),ug=Wb("switch").parts("container","track","thumb","label"),dg=Wb("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),pg=Wb("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),mg=Wb("tag").parts("container","label","closeButton"),hg=Wb("card").parts("container","header","body","footer");function fg(e){const t=function(e,t="-"){return e.replace(/\s+/g,t)}(e.toString());return t.includes("\\.")?e:function(e){return!Number.isInteger(parseFloat(e.toString()))}(e)?t.replace(".","\\."):e}function vg(e,t){return`var(${fg(e)}${t?`, ${t}`:""})`}function bg(e,t){const r=function(e,t=""){return`--${function(e,t=""){return[t,fg(e)].filter(Boolean).join("-")}(e,t)}`}(e,null==t?void 0:t.prefix);return{variable:r,reference:vg(r,(n=null==t?void 0:t.fallback,"string"==typeof n?n:null==n?void 0:n.reference))};var n}function gg(e){return le(e)&&e.reference?e.reference:String(e)}Wb("stepper").parts("stepper","step","title","description","indicator","separator","icon","number");var yg=(e,...t)=>t.map(gg).join(` ${e} `).replace(/calc/g,""),Eg=(...e)=>`calc(${yg("+",...e)})`,kg=(...e)=>`calc(${yg("-",...e)})`,wg=(...e)=>`calc(${yg("*",...e)})`,xg=(...e)=>`calc(${yg("/",...e)})`,_g=e=>{const t=gg(e);return null==t||Number.isNaN(parseFloat(t))?wg(t,-1):String(t).startsWith("-")?String(t).slice(1):`-${t}`},Pg=Object.assign((e=>({add:(...t)=>Pg(Eg(e,...t)),subtract:(...t)=>Pg(kg(e,...t)),multiply:(...t)=>Pg(wg(e,...t)),divide:(...t)=>Pg(xg(e,...t)),negate:()=>Pg(_g(e)),toString:()=>e.toString()})),{add:Eg,subtract:kg,multiply:wg,divide:xg,negate:_g}),{defineMultiStyleConfig:Cg,definePartsStyle:Ag}=ia(ug.keys),Sg=bg("switch-track-width"),Rg=bg("switch-track-height"),Mg=bg("switch-track-diff"),Tg=Pg.subtract(Sg,Rg),Ig=bg("switch-thumb-x"),Og=bg("switch-bg"),Lg=e=>{const{colorScheme:t}=e;return{borderRadius:"full",p:"0.5",width:[Sg.reference],height:[Rg.reference],transitionProperty:"common",transitionDuration:"fast",[Og.variable]:"colors.gray.300",_dark:{[Og.variable]:"colors.whiteAlpha.400"},_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{[Og.variable]:`colors.${t}.500`,_dark:{[Og.variable]:`colors.${t}.200`}},bg:Og.reference}},Dg={bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[Rg.reference],height:[Rg.reference],_checked:{transform:`translateX(${Ig.reference})`}},Bg=Cg({baseStyle:Ag((e=>({container:{[Mg.variable]:Tg,[Ig.variable]:Mg.reference,_rtl:{[Ig.variable]:Pg(Mg).negate().toString()}},track:Lg(e),thumb:Dg}))),sizes:{sm:Ag({container:{[Sg.variable]:"1.375rem",[Rg.variable]:"sizes.3"}}),md:Ag({container:{[Sg.variable]:"1.875rem",[Rg.variable]:"sizes.4"}}),lg:Ag({container:{[Sg.variable]:"2.875rem",[Rg.variable]:"sizes.6"}})},defaultProps:{size:"md",colorScheme:"blue"}});function zg(e,t){return r=>"dark"===r.colorMode?t:e}function Ng(e){const{orientation:t,vertical:r,horizontal:n}=e;return t?"vertical"===t?r:n:{}}var{defineMultiStyleConfig:Vg,definePartsStyle:Fg}=ia(dg.keys),Hg=Fg({table:{fontVariantNumeric:"lining-nums tabular-nums",borderCollapse:"collapse",width:"full"},th:{fontFamily:"heading",fontWeight:"bold",textTransform:"uppercase",letterSpacing:"wider",textAlign:"start"},td:{textAlign:"start"},caption:{mt:4,fontFamily:"heading",textAlign:"center",fontWeight:"medium"}}),jg={"&[data-is-numeric=true]":{textAlign:"end"}},Wg=Fg((e=>{const{colorScheme:t}=e;return{th:{color:zg("gray.600","gray.400")(e),borderBottom:"1px",borderColor:zg(`${t}.100`,`${t}.700`)(e),...jg},td:{borderBottom:"1px",borderColor:zg(`${t}.100`,`${t}.700`)(e),...jg},caption:{color:zg("gray.600","gray.100")(e)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}})),$g=Fg((e=>{const{colorScheme:t}=e;return{th:{color:zg("gray.600","gray.400")(e),borderBottom:"1px",borderColor:zg(`${t}.100`,`${t}.700`)(e),...jg},td:{borderBottom:"1px",borderColor:zg(`${t}.100`,`${t}.700`)(e),...jg},caption:{color:zg("gray.600","gray.100")(e)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:zg(`${t}.100`,`${t}.700`)(e)},td:{background:zg(`${t}.100`,`${t}.700`)(e)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}})),Zg=Vg({baseStyle:Hg,variants:{simple:Wg,striped:$g,unstyled:{}},sizes:{sm:Fg({th:{px:"4",py:"1",lineHeight:"4",fontSize:"xs"},td:{px:"4",py:"2",fontSize:"sm",lineHeight:"4"},caption:{px:"4",py:"2",fontSize:"xs"}}),md:Fg({th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}}),lg:Fg({th:{px:"8",py:"4",lineHeight:"5",fontSize:"sm"},td:{px:"8",py:"5",lineHeight:"6"},caption:{px:"6",py:"2",fontSize:"md"}})},defaultProps:{variant:"simple",size:"md",colorScheme:"gray"}});function Ug(e,t,r){return Math.min(Math.max(e,r),t)}class Gg extends Error{constructor(e){super(`Failed to parse color: "${e}"`)}}var qg=Gg;function Kg(e){if("string"!=typeof e)throw new qg(e);if("transparent"===e.trim().toLowerCase())return[0,0,0,0];let t=e.trim();t=ny.test(e)?function(e){const t=e.toLowerCase().trim(),r=Xg[function(e){let t=5381,r=e.length;for(;r;)t=33*t^e.charCodeAt(--r);return(t>>>0)%2341}(t)];if(!r)throw new qg(e);return`#${r}`}(e):e;const r=Jg.exec(t);if(r){const e=Array.from(r).slice(1);return[...e.slice(0,3).map((e=>parseInt(Qg(e,2),16))),parseInt(Qg(e[3]||"f",2),16)/255]}const n=ey.exec(t);if(n){const e=Array.from(n).slice(1);return[...e.slice(0,3).map((e=>parseInt(e,16))),parseInt(e[3]||"ff",16)/255]}const a=ty.exec(t);if(a){const e=Array.from(a).slice(1);return[...e.slice(0,3).map((e=>parseInt(e,10))),parseFloat(e[3]||"1")]}const o=ry.exec(t);if(o){const[t,r,n,a]=Array.from(o).slice(1).map(parseFloat);if(Ug(0,100,r)!==r)throw new qg(e);if(Ug(0,100,n)!==n)throw new qg(e);return[...oy(t,r,n),Number.isNaN(a)?1:a]}throw new qg(e)}const Yg=e=>parseInt(e.replace(/_/g,""),36),Xg="1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce(((e,t)=>{const r=Yg(t.substring(0,3)),n=Yg(t.substring(3)).toString(16);let a="";for(let e=0;e<6-n.length;e++)a+="0";return e[r]=`${a}${n}`,e}),{}),Qg=(e,t)=>Array.from(Array(t)).map((()=>e)).join(""),Jg=new RegExp(`^#${Qg("([a-f0-9])",3)}([a-f0-9])?$`,"i"),ey=new RegExp(`^#${Qg("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),ty=new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${Qg(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),ry=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,ny=/^[a-z]+$/i,ay=e=>Math.round(255*e),oy=(e,t,r)=>{let n=r/100;if(0===t)return[n,n,n].map(ay);const a=(e%360+360)%360/60,o=(1-Math.abs(2*n-1))*(t/100),i=o*(1-Math.abs(a%2-1));let l=0,s=0,c=0;a>=0&&a<1?(l=o,s=i):a>=1&&a<2?(l=i,s=o):a>=2&&a<3?(s=o,c=i):a>=3&&a<4?(s=i,c=o):a>=4&&a<5?(l=i,c=o):a>=5&&a<6&&(l=o,c=i);const u=n-o/2;return[l+u,s+u,c+u].map(ay)};function iy(e,t){const[r,n,a,o]=Kg(e);return function(e,t,r,n){return`rgba(${Ug(0,255,e).toFixed()}, ${Ug(0,255,t).toFixed()}, ${Ug(0,255,r).toFixed()}, ${parseFloat(Ug(0,1,n).toFixed(3))})`}(r,n,a,o-t)}var ly=(e,t,r)=>{const n=function(e,t,r,n,a){for(t=t.split?t.split("."):t,n=0;n<t.length;n++)e=e?e[t[n]]:a;return e===a?r:e}(e,`colors.${t}`,t);try{return function(e){const[t,r,n,a]=Kg(e);let o=e=>{const t=Ug(0,255,e).toString(16);return 1===t.length?`0${t}`:t};o(t),o(r),o(n),a<1&&o(Math.round(255*a))}(n),n}catch{return null!=r?r:"#000000"}},sy=(e,t)=>r=>iy(ly(r,e),1-t);function cy(e="1rem",t="rgba(255, 255, 255, 0.15)"){return{backgroundImage:`linear-gradient(\n 45deg,\n ${t} 25%,\n transparent 25%,\n transparent 50%,\n ${t} 50%,\n ${t} 75%,\n transparent 75%,\n transparent\n )`,backgroundSize:`${e} ${e}`}}var uy=Pn("tabs-color"),dy=Pn("tabs-bg"),py=Pn("tabs-border-color"),{defineMultiStyleConfig:my,definePartsStyle:hy}=ia(pg.keys),fy=e=>{const{orientation:t}=e;return{display:"vertical"===t?"flex":"block"}},vy=e=>{const{isFitted:t}=e;return{flex:t?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focusVisible:{zIndex:1,boxShadow:"outline"},_disabled:{cursor:"not-allowed",opacity:.4}}},by=e=>{const{align:t="start",orientation:r}=e;return{justifyContent:{end:"flex-end",center:"center",start:"flex-start"}[t],flexDirection:"vertical"===r?"column":"row"}},gy={p:4},yy=hy((e=>({root:fy(e),tab:vy(e),tablist:by(e),tabpanel:gy}))),Ey={sm:hy({tab:{py:1,px:4,fontSize:"sm"}}),md:hy({tab:{fontSize:"md",py:2,px:4}}),lg:hy({tab:{fontSize:"lg",py:3,px:4}})},ky=hy((e=>{const{colorScheme:t,orientation:r}=e,n="vertical"===r,a=n?"borderStart":"borderBottom",o=n?"marginStart":"marginBottom";return{tablist:{[a]:"2px solid",borderColor:"inherit"},tab:{[a]:"2px solid",borderColor:"transparent",[o]:"-2px",_selected:{[uy.variable]:`colors.${t}.600`,_dark:{[uy.variable]:`colors.${t}.300`},borderColor:"currentColor"},_active:{[dy.variable]:"colors.gray.200",_dark:{[dy.variable]:"colors.whiteAlpha.300"}},_disabled:{_active:{bg:"none"}},color:uy.reference,bg:dy.reference}}})),wy=hy((e=>{const{colorScheme:t}=e;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",[py.variable]:"transparent",_selected:{[uy.variable]:`colors.${t}.600`,[py.variable]:"colors.white",_dark:{[uy.variable]:`colors.${t}.300`,[py.variable]:"colors.gray.800"},borderColor:"inherit",borderBottomColor:py.reference},color:uy.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}})),xy=hy((e=>{const{colorScheme:t}=e;return{tab:{border:"1px solid",borderColor:"inherit",[dy.variable]:"colors.gray.50",_dark:{[dy.variable]:"colors.whiteAlpha.50"},mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{[dy.variable]:"colors.white",[uy.variable]:`colors.${t}.600`,_dark:{[dy.variable]:"colors.gray.800",[uy.variable]:`colors.${t}.300`},borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"},color:uy.reference,bg:dy.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}})),_y=hy((e=>{const{colorScheme:t,theme:r}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:ly(r,`${t}.700`),bg:ly(r,`${t}.100`)}}}})),Py=hy((e=>{const{colorScheme:t}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",[uy.variable]:"colors.gray.600",_dark:{[uy.variable]:"inherit"},_selected:{[uy.variable]:"colors.white",[dy.variable]:`colors.${t}.600`,_dark:{[uy.variable]:"colors.gray.800",[dy.variable]:`colors.${t}.300`}},color:uy.reference,bg:dy.reference}}})),Cy=my({baseStyle:yy,sizes:Ey,variants:{line:ky,enclosed:wy,"enclosed-colored":xy,"soft-rounded":_y,"solid-rounded":Py,unstyled:hy({})},defaultProps:{size:"md",variant:"line",colorScheme:"blue"}}),Ay=function(e,t){const r={};for(const t of["bg","color","shadow"])if(Array.isArray(t)){const[n,a]=t;r[n]=Pn(`${e}-${n}`,a)}else r[t]=Pn(`${e}-${t}`);return r}("badge"),Sy={baseStyle:{px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold",bg:Ay.bg.reference,color:Ay.color.reference,boxShadow:Ay.shadow.reference},variants:{solid:e=>{const{colorScheme:t,theme:r}=e,n=sy(`${t}.500`,.6)(r);return{[Ay.bg.variable]:`colors.${t}.500`,[Ay.color.variable]:"colors.white",_dark:{[Ay.bg.variable]:n,[Ay.color.variable]:"colors.whiteAlpha.800"}}},subtle:e=>{const{colorScheme:t,theme:r}=e,n=sy(`${t}.200`,.16)(r);return{[Ay.bg.variable]:`colors.${t}.100`,[Ay.color.variable]:`colors.${t}.800`,_dark:{[Ay.bg.variable]:n,[Ay.color.variable]:`colors.${t}.200`}}},outline:e=>{const{colorScheme:t,theme:r}=e,n=sy(`${t}.200`,.8)(r);return{[Ay.color.variable]:`colors.${t}.500`,_dark:{[Ay.color.variable]:n},[Ay.shadow.variable]:`inset 0 0 0px 1px ${Ay.color.reference}`}}},defaultProps:{variant:"subtle",colorScheme:"gray"}},{defineMultiStyleConfig:Ry,definePartsStyle:My}=ia(mg.keys),Ty=Pn("tag-bg"),Iy=Pn("tag-color"),Oy=Pn("tag-shadow"),Ly=Pn("tag-min-height"),Dy=Pn("tag-min-width"),By=Pn("tag-font-size"),zy=Pn("tag-padding-inline"),Ny=My({container:{fontWeight:"medium",lineHeight:1.2,outline:0,[Iy.variable]:Ay.color.reference,[Ty.variable]:Ay.bg.reference,[Oy.variable]:Ay.shadow.reference,color:Iy.reference,bg:Ty.reference,boxShadow:Oy.reference,borderRadius:"md",minH:Ly.reference,minW:Dy.reference,fontSize:By.reference,px:zy.reference,_focusVisible:{[Oy.variable]:"shadows.outline"}},label:{lineHeight:1.2,overflow:"visible"},closeButton:{fontSize:"lg",w:"5",h:"5",transitionProperty:"common",transitionDuration:"normal",borderRadius:"full",marginStart:"1.5",marginEnd:"-1",opacity:.5,_disabled:{opacity:.4},_focusVisible:{boxShadow:"outline",bg:"rgba(0, 0, 0, 0.14)"},_hover:{opacity:.8},_active:{opacity:1}}}),Vy={sm:My({container:{[Ly.variable]:"sizes.5",[Dy.variable]:"sizes.5",[By.variable]:"fontSizes.xs",[zy.variable]:"space.2"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}}),md:My({container:{[Ly.variable]:"sizes.6",[Dy.variable]:"sizes.6",[By.variable]:"fontSizes.sm",[zy.variable]:"space.2"}}),lg:My({container:{[Ly.variable]:"sizes.8",[Dy.variable]:"sizes.8",[By.variable]:"fontSizes.md",[zy.variable]:"space.3"}})},Fy={subtle:My((e=>{var t;return{container:null==(t=Sy.variants)?void 0:t.subtle(e)}})),solid:My((e=>{var t;return{container:null==(t=Sy.variants)?void 0:t.solid(e)}})),outline:My((e=>{var t;return{container:null==(t=Sy.variants)?void 0:t.outline(e)}}))},Hy=Ry({variants:Fy,baseStyle:Ny,sizes:Vy,defaultProps:{size:"md",variant:"subtle",colorScheme:"gray"}}),{definePartsStyle:jy,defineMultiStyleConfig:Wy}=ia(Jb.keys),$y=Pn("input-height"),Zy=Pn("input-font-size"),Uy=Pn("input-padding"),Gy=Pn("input-border-radius"),qy=jy({addon:{height:$y.reference,fontSize:Zy.reference,px:Uy.reference,borderRadius:Gy.reference},field:{width:"100%",height:$y.reference,fontSize:Zy.reference,px:Uy.reference,borderRadius:Gy.reference,minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed"}}}),Ky={lg:{[Zy.variable]:"fontSizes.lg",[Uy.variable]:"space.4",[Gy.variable]:"radii.md",[$y.variable]:"sizes.12"},md:{[Zy.variable]:"fontSizes.md",[Uy.variable]:"space.4",[Gy.variable]:"radii.md",[$y.variable]:"sizes.10"},sm:{[Zy.variable]:"fontSizes.sm",[Uy.variable]:"space.3",[Gy.variable]:"radii.sm",[$y.variable]:"sizes.8"},xs:{[Zy.variable]:"fontSizes.xs",[Uy.variable]:"space.2",[Gy.variable]:"radii.sm",[$y.variable]:"sizes.6"}},Yy={lg:jy({field:Ky.lg,group:Ky.lg}),md:jy({field:Ky.md,group:Ky.md}),sm:jy({field:Ky.sm,group:Ky.sm}),xs:jy({field:Ky.xs,group:Ky.xs})};function Xy(e){const{focusBorderColor:t,errorBorderColor:r}=e;return{focusBorderColor:t||zg("blue.500","blue.300")(e),errorBorderColor:r||zg("red.500","red.300")(e)}}var Qy,Jy,eE,tE,rE,nE,aE,oE,iE,lE,sE,cE=jy((e=>{const{theme:t}=e,{focusBorderColor:r,errorBorderColor:n}=Xy(e);return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:zg("gray.300","whiteAlpha.400")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:ly(t,n),boxShadow:`0 0 0 1px ${ly(t,n)}`},_focusVisible:{zIndex:1,borderColor:ly(t,r),boxShadow:`0 0 0 1px ${ly(t,r)}`}},addon:{border:"1px solid",borderColor:zg("inherit","whiteAlpha.50")(e),bg:zg("gray.100","whiteAlpha.300")(e)}}})),uE=jy((e=>{const{theme:t}=e,{focusBorderColor:r,errorBorderColor:n}=Xy(e);return{field:{border:"2px solid",borderColor:"transparent",bg:zg("gray.100","whiteAlpha.50")(e),_hover:{bg:zg("gray.200","whiteAlpha.100")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:ly(t,n)},_focusVisible:{bg:"transparent",borderColor:ly(t,r)}},addon:{border:"2px solid",borderColor:"transparent",bg:zg("gray.100","whiteAlpha.50")(e)}}})),dE=jy((e=>{const{theme:t}=e,{focusBorderColor:r,errorBorderColor:n}=Xy(e);return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:ly(t,n),boxShadow:`0px 1px 0px 0px ${ly(t,n)}`},_focusVisible:{borderColor:ly(t,r),boxShadow:`0px 1px 0px 0px ${ly(t,r)}`}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent"}}})),pE=Wy({baseStyle:qy,sizes:Yy,variants:{outline:cE,filled:uE,flushed:dE,unstyled:jy({field:{bg:"transparent",px:"0",height:"auto"},addon:{bg:"transparent",px:"0",height:"auto"}})},defaultProps:{size:"md",variant:"outline"}}),mE={...null==(Qy=pE.baseStyle)?void 0:Qy.field,paddingY:"2",minHeight:"20",lineHeight:"short",verticalAlign:"top"},hE={outline:e=>{var t,r;return null!=(r=null==(t=pE.variants)?void 0:t.outline(e).field)?r:{}},flushed:e=>{var t,r;return null!=(r=null==(t=pE.variants)?void 0:t.flushed(e).field)?r:{}},filled:e=>{var t,r;return null!=(r=null==(t=pE.variants)?void 0:t.filled(e).field)?r:{}},unstyled:null!=(eE=null==(Jy=pE.variants)?void 0:Jy.unstyled.field)?eE:{}},fE={baseStyle:mE,sizes:{xs:null!=(rE=null==(tE=pE.sizes)?void 0:tE.xs.field)?rE:{},sm:null!=(aE=null==(nE=pE.sizes)?void 0:nE.sm.field)?aE:{},md:null!=(iE=null==(oE=pE.sizes)?void 0:oE.md.field)?iE:{},lg:null!=(sE=null==(lE=pE.sizes)?void 0:lE.lg.field)?sE:{}},variants:hE,defaultProps:{size:"md",variant:"outline"}},vE=bg("tooltip-bg"),bE=bg("tooltip-fg"),gE=bg("popper-arrow-bg"),yE={baseStyle:{bg:vE.reference,color:bE.reference,[vE.variable]:"colors.gray.700",[bE.variable]:"colors.whiteAlpha.900",_dark:{[vE.variable]:"colors.gray.300",[bE.variable]:"colors.gray.900"},[gE.variable]:vE.reference,px:"2",py:"0.5",borderRadius:"sm",fontWeight:"medium",fontSize:"sm",boxShadow:"md",maxW:"xs",zIndex:"tooltip"}},{defineMultiStyleConfig:EE,definePartsStyle:kE}=ia(og.keys),wE=e=>{const{colorScheme:t,theme:r,isIndeterminate:n,hasStripe:a}=e,o=zg(cy(),cy("1rem","rgba(0,0,0,0.1)"))(e),i=zg(`${t}.500`,`${t}.200`)(e),l=`linear-gradient(\n to right,\n transparent 0%,\n ${ly(r,i)} 50%,\n transparent 100%\n )`;return{...!n&&a&&o,...n?{bgImage:l}:{bgColor:i}}},xE={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"},_E=e=>({bg:zg("gray.100","whiteAlpha.300")(e)}),PE=e=>({transitionProperty:"common",transitionDuration:"slow",...wE(e)}),CE=kE((e=>({label:xE,filledTrack:PE(e),track:_E(e)}))),AE=EE({sizes:{xs:kE({track:{h:"1"}}),sm:kE({track:{h:"2"}}),md:kE({track:{h:"3"}}),lg:kE({track:{h:"4"}})},baseStyle:CE,defaultProps:{size:"md",colorScheme:"blue"}});function SE(e,...t){return"function"==typeof e?e(...t):e}var RE,ME,TE,IE,OE,LE,DE,BE,zE,{definePartsStyle:NE,defineMultiStyleConfig:VE}=ia(qb.keys),FE=Pn("checkbox-size"),HE=e=>{const{colorScheme:t}=e;return{w:FE.reference,h:FE.reference,transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:zg(`${t}.500`,`${t}.200`)(e),borderColor:zg(`${t}.500`,`${t}.200`)(e),color:zg("white","gray.900")(e),_hover:{bg:zg(`${t}.600`,`${t}.300`)(e),borderColor:zg(`${t}.600`,`${t}.300`)(e)},_disabled:{borderColor:zg("gray.200","transparent")(e),bg:zg("gray.200","whiteAlpha.300")(e),color:zg("gray.500","whiteAlpha.500")(e)}},_indeterminate:{bg:zg(`${t}.500`,`${t}.200`)(e),borderColor:zg(`${t}.500`,`${t}.200`)(e),color:zg("white","gray.900")(e)},_disabled:{bg:zg("gray.100","whiteAlpha.100")(e),borderColor:zg("gray.100","transparent")(e)},_focusVisible:{boxShadow:"outline"},_invalid:{borderColor:zg("red.500","red.300")(e)}}},jE={_disabled:{cursor:"not-allowed"}},WE={userSelect:"none",_disabled:{opacity:.4}},$E={transitionProperty:"transform",transitionDuration:"normal"},ZE=VE({baseStyle:NE((e=>({icon:$E,container:jE,control:SE(HE,e),label:WE}))),sizes:{sm:NE({control:{[FE.variable]:"sizes.3"},label:{fontSize:"sm"},icon:{fontSize:"3xs"}}),md:NE({control:{[FE.variable]:"sizes.4"},label:{fontSize:"md"},icon:{fontSize:"2xs"}}),lg:NE({control:{[FE.variable]:"sizes.5"},label:{fontSize:"lg"},icon:{fontSize:"2xs"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:UE,definePartsStyle:GE}=ia(ig.keys),qE=e=>{var t;const r=null==(t=SE(ZE.baseStyle,e))?void 0:t.control;return{...r,borderRadius:"full",_checked:{...null==r?void 0:r._checked,_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}}}},KE=GE((e=>{var t,r,n,a;return{label:null==(r=(t=ZE).baseStyle)?void 0:r.call(t,e).label,container:null==(a=(n=ZE).baseStyle)?void 0:a.call(n,e).container,control:qE(e)}})),YE=UE({baseStyle:KE,sizes:{md:GE({control:{w:"4",h:"4"},label:{fontSize:"md"}}),lg:GE({control:{w:"5",h:"5"},label:{fontSize:"lg"}}),sm:GE({control:{width:"3",height:"3"},label:{fontSize:"sm"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:XE,definePartsStyle:QE}=ia(lg.keys),JE=Pn("select-bg"),ek={paddingInlineEnd:"8"},tk=XE({baseStyle:QE({field:{...null==(RE=pE.baseStyle)?void 0:RE.field,appearance:"none",paddingBottom:"1px",lineHeight:"normal",bg:JE.reference,[JE.variable]:"colors.white",_dark:{[JE.variable]:"colors.gray.700"},"> option, > optgroup":{bg:JE.reference}},icon:{width:"6",height:"100%",insetEnd:"2",position:"relative",color:"currentColor",fontSize:"xl",_disabled:{opacity:.5}}}),sizes:{lg:{...null==(ME=pE.sizes)?void 0:ME.lg,field:{...null==(TE=pE.sizes)?void 0:TE.lg.field,...ek}},md:{...null==(IE=pE.sizes)?void 0:IE.md,field:{...null==(OE=pE.sizes)?void 0:OE.md.field,...ek}},sm:{...null==(LE=pE.sizes)?void 0:LE.sm,field:{...null==(DE=pE.sizes)?void 0:DE.sm.field,...ek}},xs:{...null==(BE=pE.sizes)?void 0:BE.xs,field:{...null==(zE=pE.sizes)?void 0:zE.xs.field,...ek},icon:{insetEnd:"1"}}},variants:pE.variants,defaultProps:pE.defaultProps}),rk=Pn("skeleton-start-color"),nk=Pn("skeleton-end-color"),ak={baseStyle:{[rk.variable]:"colors.gray.100",[nk.variable]:"colors.gray.400",_dark:{[rk.variable]:"colors.gray.800",[nk.variable]:"colors.gray.600"},background:rk.reference,borderColor:nk.reference,opacity:.7,borderRadius:"sm"}},ok=Pn("skip-link-bg"),ik={baseStyle:{borderRadius:"md",fontWeight:"semibold",_focusVisible:{boxShadow:"outline",padding:"4",position:"fixed",top:"6",insetStart:"6",[ok.variable]:"colors.white",_dark:{[ok.variable]:"colors.gray.700"},bg:ok.reference}}},{defineMultiStyleConfig:lk,definePartsStyle:sk}=ia(sg.keys),ck=Pn("slider-thumb-size"),uk=Pn("slider-track-size"),dk=Pn("slider-bg"),pk=e=>{const{orientation:t}=e;return{display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"},...Ng({orientation:t,vertical:{h:"100%"},horizontal:{w:"100%"}})}},mk=e=>({...Ng({orientation:e.orientation,horizontal:{h:uk.reference},vertical:{w:uk.reference}}),overflow:"hidden",borderRadius:"sm",[dk.variable]:"colors.gray.200",_dark:{[dk.variable]:"colors.whiteAlpha.200"},_disabled:{[dk.variable]:"colors.gray.300",_dark:{[dk.variable]:"colors.whiteAlpha.300"}},bg:dk.reference}),hk=e=>{const{orientation:t}=e;return{...Ng({orientation:t,vertical:{left:"50%",transform:"translateX(-50%)",_active:{transform:"translateX(-50%) scale(1.15)"}},horizontal:{top:"50%",transform:"translateY(-50%)",_active:{transform:"translateY(-50%) scale(1.15)"}}}),w:ck.reference,h:ck.reference,display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",outline:0,zIndex:1,borderRadius:"full",bg:"white",boxShadow:"base",border:"1px solid",borderColor:"transparent",transitionProperty:"transform",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{bg:"gray.300"}}},fk=e=>{const{colorScheme:t}=e;return{width:"inherit",height:"inherit",[dk.variable]:`colors.${t}.500`,_dark:{[dk.variable]:`colors.${t}.200`},bg:dk.reference}},vk=lk({baseStyle:sk((e=>({container:pk(e),track:mk(e),thumb:hk(e),filledTrack:fk(e)}))),sizes:{lg:sk({container:{[ck.variable]:"sizes.4",[uk.variable]:"sizes.1"}}),md:sk({container:{[ck.variable]:"sizes.3.5",[uk.variable]:"sizes.1"}}),sm:sk({container:{[ck.variable]:"sizes.2.5",[uk.variable]:"sizes.0.5"}})},defaultProps:{size:"md",colorScheme:"blue"}}),bk=bg("spinner-size"),gk={baseStyle:{width:[bk.reference],height:[bk.reference]},sizes:{xs:{[bk.variable]:"sizes.3"},sm:{[bk.variable]:"sizes.4"},md:{[bk.variable]:"sizes.6"},lg:{[bk.variable]:"sizes.8"},xl:{[bk.variable]:"sizes.12"}},defaultProps:{size:"md"}},{defineMultiStyleConfig:yk,definePartsStyle:Ek}=ia(cg.keys),kk=yk({baseStyle:Ek({container:{},label:{fontWeight:"medium"},helpText:{opacity:.8,marginBottom:"2"},number:{verticalAlign:"baseline",fontWeight:"semibold"},icon:{marginEnd:1,w:"3.5",h:"3.5",verticalAlign:"middle"}}),sizes:{md:Ek({label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}})},defaultProps:{size:"md"}}),wk=Pn("kbd-bg"),xk={baseStyle:{[wk.variable]:"colors.gray.100",_dark:{[wk.variable]:"colors.whiteAlpha.100"},bg:wk.reference,borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"}},{defineMultiStyleConfig:_k,definePartsStyle:Pk}=ia(eg.keys),Ck=_k({baseStyle:Pk({icon:{marginEnd:"2",display:"inline",verticalAlign:"text-bottom"}})}),{defineMultiStyleConfig:Ak,definePartsStyle:Sk}=ia(tg.keys),Rk=Pn("menu-bg"),Mk=Pn("menu-shadow"),Tk=Ak({baseStyle:Sk({button:{transitionProperty:"common",transitionDuration:"normal"},list:{[Rk.variable]:"#fff",[Mk.variable]:"shadows.sm",_dark:{[Rk.variable]:"colors.gray.700",[Mk.variable]:"shadows.dark-lg"},color:"inherit",minW:"3xs",py:"2",zIndex:1,borderRadius:"md",borderWidth:"1px",bg:Rk.reference,boxShadow:Mk.reference},item:{py:"1.5",px:"3",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{[Rk.variable]:"colors.gray.100",_dark:{[Rk.variable]:"colors.whiteAlpha.100"}},_active:{[Rk.variable]:"colors.gray.200",_dark:{[Rk.variable]:"colors.whiteAlpha.200"}},_expanded:{[Rk.variable]:"colors.gray.100",_dark:{[Rk.variable]:"colors.whiteAlpha.100"}},_disabled:{opacity:.4,cursor:"not-allowed"},bg:Rk.reference},groupTitle:{mx:4,my:2,fontWeight:"semibold",fontSize:"sm"},icon:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0},command:{opacity:.6},divider:{border:0,borderBottom:"1px solid",borderColor:"inherit",my:"2",opacity:.6}})}),{defineMultiStyleConfig:Ik,definePartsStyle:Ok}=ia(rg.keys),Lk=Pn("modal-bg"),Dk=Pn("modal-shadow"),Bk={bg:"blackAlpha.600",zIndex:"modal"},zk=e=>{const{isCentered:t,scrollBehavior:r}=e;return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:t?"center":"flex-start",overflow:"inside"===r?"hidden":"auto",overscrollBehaviorY:"none"}},Nk=e=>{const{isCentered:t,scrollBehavior:r}=e;return{borderRadius:"md",color:"inherit",my:t?"auto":"16",mx:t?"auto":void 0,zIndex:"modal",maxH:"inside"===r?"calc(100% - 7.5rem)":void 0,[Lk.variable]:"colors.white",[Dk.variable]:"shadows.lg",_dark:{[Lk.variable]:"colors.gray.700",[Dk.variable]:"shadows.dark-lg"},bg:Lk.reference,boxShadow:Dk.reference}},Vk={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},Fk={position:"absolute",top:"2",insetEnd:"3"},Hk=e=>{const{scrollBehavior:t}=e;return{px:"6",py:"2",flex:"1",overflow:"inside"===t?"auto":void 0}},jk={px:"6",py:"4"};function Wk(e){return Ok("full"===e?{dialog:{maxW:"100vw",minH:"$100vh",my:"0",borderRadius:"0"}}:{dialog:{maxW:e}})}var $k=Ik({baseStyle:Ok((e=>({overlay:Bk,dialogContainer:SE(zk,e),dialog:SE(Nk,e),header:Vk,closeButton:Fk,body:SE(Hk,e),footer:jk}))),sizes:{xs:Wk("xs"),sm:Wk("sm"),md:Wk("md"),lg:Wk("lg"),xl:Wk("xl"),"2xl":Wk("2xl"),"3xl":Wk("3xl"),"4xl":Wk("4xl"),"5xl":Wk("5xl"),"6xl":Wk("6xl"),full:Wk("full")},defaultProps:{size:"md"}}),{defineMultiStyleConfig:Zk,definePartsStyle:Uk}=ia(ng.keys),Gk=bg("number-input-stepper-width"),qk=bg("number-input-input-padding"),Kk=Pg(Gk).add("0.5rem").toString(),Yk=bg("number-input-bg"),Xk=bg("number-input-color"),Qk=bg("number-input-border-color"),Jk={[Gk.variable]:"sizes.6",[qk.variable]:Kk},ew=e=>{var t,r;return null!=(r=null==(t=SE(pE.baseStyle,e))?void 0:t.field)?r:{}},tw={width:Gk.reference},rw={borderStart:"1px solid",borderStartColor:Qk.reference,color:Xk.reference,bg:Yk.reference,[Xk.variable]:"colors.chakra-body-text",[Qk.variable]:"colors.chakra-border-color",_dark:{[Xk.variable]:"colors.whiteAlpha.800",[Qk.variable]:"colors.whiteAlpha.300"},_active:{[Yk.variable]:"colors.gray.200",_dark:{[Yk.variable]:"colors.whiteAlpha.300"}},_disabled:{opacity:.4,cursor:"not-allowed"}},nw=Uk((e=>{var t;return{root:Jk,field:null!=(t=SE(ew,e))?t:{},stepperGroup:tw,stepper:rw}}));function aw(e){var t,r,n;const a=null==(t=pE.sizes)?void 0:t[e],o={lg:"md",md:"md",sm:"sm",xs:"sm"},i=null!=(n=null==(r=a.field)?void 0:r.fontSize)?n:"md",l=Mb.fontSizes[i];return Uk({field:{...a.field,paddingInlineEnd:qk.reference,verticalAlign:"top"},stepper:{fontSize:Pg(l).multiply(.75).toString(),_first:{borderTopEndRadius:o[e]},_last:{borderBottomEndRadius:o[e],mt:"-1px",borderTopWidth:1}}})}var ow,iw,lw,sw=Zk({baseStyle:nw,sizes:{xs:aw("xs"),sm:aw("sm"),md:aw("md"),lg:aw("lg")},variants:pE.variants,defaultProps:pE.defaultProps}),cw={...null==(ow=pE.baseStyle)?void 0:ow.field,textAlign:"center"},uw={outline:e=>{var t,r,n;return null!=(n=null==(r=SE(null==(t=pE.variants)?void 0:t.outline,e))?void 0:r.field)?n:{}},flushed:e=>{var t,r,n;return null!=(n=null==(r=SE(null==(t=pE.variants)?void 0:t.flushed,e))?void 0:r.field)?n:{}},filled:e=>{var t,r,n;return null!=(n=null==(r=SE(null==(t=pE.variants)?void 0:t.filled,e))?void 0:r.field)?n:{}},unstyled:null!=(lw=null==(iw=pE.variants)?void 0:iw.unstyled.field)?lw:{}},dw={baseStyle:cw,sizes:{lg:{fontSize:"lg",w:12,h:12,borderRadius:"md"},md:{fontSize:"md",w:10,h:10,borderRadius:"md"},sm:{fontSize:"sm",w:8,h:8,borderRadius:"sm"},xs:{fontSize:"xs",w:6,h:6,borderRadius:"sm"}},variants:uw,defaultProps:pE.defaultProps},{defineMultiStyleConfig:pw,definePartsStyle:mw}=ia(ag.keys),hw=bg("popper-bg"),fw=bg("popper-arrow-bg"),vw=bg("popper-arrow-shadow-color"),bw=pw({baseStyle:mw({popper:{zIndex:10},content:{[hw.variable]:"colors.white",bg:hw.reference,[fw.variable]:hw.reference,[vw.variable]:"colors.gray.200",_dark:{[hw.variable]:"colors.gray.700",[vw.variable]:"colors.whiteAlpha.300"},width:"xs",border:"1px solid",borderColor:"inherit",borderRadius:"md",boxShadow:"sm",zIndex:"inherit",_focusVisible:{outline:0,boxShadow:"outline"}},header:{px:3,py:2,borderBottomWidth:"1px"},body:{px:3,py:2},footer:{px:3,py:2,borderTopWidth:"1px"},closeButton:{position:"absolute",borderRadius:"md",top:1,insetEnd:2,padding:2}})}),{definePartsStyle:gw,defineMultiStyleConfig:yw}=ia(Kb.keys),Ew=Pn("drawer-bg"),kw=Pn("drawer-box-shadow");function ww(e){return gw("full"===e?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:e}})}var xw={bg:"blackAlpha.600",zIndex:"modal"},_w={display:"flex",zIndex:"modal",justifyContent:"center"},Pw=e=>{const{isFullHeight:t}=e;return{...t&&{height:"100vh"},zIndex:"modal",maxH:"100vh",color:"inherit",[Ew.variable]:"colors.white",[kw.variable]:"shadows.lg",_dark:{[Ew.variable]:"colors.gray.700",[kw.variable]:"shadows.dark-lg"},bg:Ew.reference,boxShadow:kw.reference}},Cw={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},Aw={position:"absolute",top:"2",insetEnd:"3"},Sw={px:"6",py:"2",flex:"1",overflow:"auto"},Rw={px:"6",py:"4"},Mw=yw({baseStyle:gw((e=>({overlay:xw,dialogContainer:_w,dialog:SE(Pw,e),header:Cw,closeButton:Aw,body:Sw,footer:Rw}))),sizes:{xs:ww("xs"),sm:ww("md"),md:ww("lg"),lg:ww("2xl"),xl:ww("4xl"),full:ww("full")},defaultProps:{size:"xs"}}),{definePartsStyle:Tw,defineMultiStyleConfig:Iw}=ia(Yb.keys),Ow=Iw({baseStyle:Tw({preview:{borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal"},input:{borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}},textarea:{borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}}})}),{definePartsStyle:Lw,defineMultiStyleConfig:Dw}=ia(Xb.keys),Bw=Pn("form-control-color"),zw=Dw({baseStyle:Lw({container:{width:"100%",position:"relative"},requiredIndicator:{marginStart:"1",[Bw.variable]:"colors.red.500",_dark:{[Bw.variable]:"colors.red.300"},color:Bw.reference},helperText:{mt:"2",[Bw.variable]:"colors.gray.600",_dark:{[Bw.variable]:"colors.whiteAlpha.600"},color:Bw.reference,lineHeight:"normal",fontSize:"sm"}})}),{definePartsStyle:Nw,defineMultiStyleConfig:Vw}=ia(Qb.keys),Fw=Pn("form-error-color"),Hw=Vw({baseStyle:Nw({text:{[Fw.variable]:"colors.red.500",_dark:{[Fw.variable]:"colors.red.300"},color:Fw.reference,mt:"2",fontSize:"sm",lineHeight:"normal"},icon:{marginEnd:"0.5em",[Fw.variable]:"colors.red.500",_dark:{[Fw.variable]:"colors.red.300"},color:Fw.reference}})}),{defineMultiStyleConfig:jw,definePartsStyle:Ww}=ia(Gb.keys),$w=Pn("breadcrumb-link-decor"),Zw=jw({baseStyle:Ww({link:{transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",outline:"none",color:"inherit",textDecoration:$w.reference,[$w.variable]:"none","&:not([aria-current=page])":{cursor:"pointer",_hover:{[$w.variable]:"underline"},_focusVisible:{boxShadow:"outline"}}}})}),Uw=e=>{const{colorScheme:t,theme:r}=e;if("gray"===t)return{color:zg("gray.800","whiteAlpha.900")(e),_hover:{bg:zg("gray.100","whiteAlpha.200")(e)},_active:{bg:zg("gray.200","whiteAlpha.300")(e)}};const n=sy(`${t}.200`,.12)(r),a=sy(`${t}.200`,.24)(r);return{color:zg(`${t}.600`,`${t}.200`)(e),bg:"transparent",_hover:{bg:zg(`${t}.50`,n)(e)},_active:{bg:zg(`${t}.100`,a)(e)}}},Gw={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},qw={baseStyle:{lineHeight:"1.2",borderRadius:"md",fontWeight:"semibold",transitionProperty:"common",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{_disabled:{bg:"initial"}}},variants:{ghost:Uw,outline:e=>{const{colorScheme:t}=e,r=zg("gray.200","whiteAlpha.300")(e);return{border:"1px solid",borderColor:"gray"===t?r:"currentColor",".chakra-button__group[data-attached][data-orientation=horizontal] > &:not(:last-of-type)":{marginEnd:"-1px"},".chakra-button__group[data-attached][data-orientation=vertical] > &:not(:last-of-type)":{marginBottom:"-1px"},...SE(Uw,e)}},solid:e=>{var t;const{colorScheme:r}=e;if("gray"===r){const t=zg("gray.100","whiteAlpha.200")(e);return{bg:t,color:zg("gray.800","whiteAlpha.900")(e),_hover:{bg:zg("gray.200","whiteAlpha.300")(e),_disabled:{bg:t}},_active:{bg:zg("gray.300","whiteAlpha.400")(e)}}}const{bg:n=`${r}.500`,color:a="white",hoverBg:o=`${r}.600`,activeBg:i=`${r}.700`}=null!=(t=Gw[r])?t:{},l=zg(n,`${r}.200`)(e);return{bg:l,color:zg(a,"gray.800")(e),_hover:{bg:zg(o,`${r}.300`)(e),_disabled:{bg:l}},_active:{bg:zg(i,`${r}.400`)(e)}}},link:e=>{const{colorScheme:t}=e;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:zg(`${t}.500`,`${t}.200`)(e),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:zg(`${t}.700`,`${t}.500`)(e)}}},unstyled:{bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:"0",p:"0"}},sizes:{lg:{h:"12",minW:"12",fontSize:"lg",px:"6"},md:{h:"10",minW:"10",fontSize:"md",px:"4"},sm:{h:"8",minW:"8",fontSize:"sm",px:"3"},xs:{h:"6",minW:"6",fontSize:"xs",px:"2"}},defaultProps:{variant:"solid",size:"md",colorScheme:"gray"}},{definePartsStyle:Kw,defineMultiStyleConfig:Yw}=ia(hg.keys),Xw=Pn("card-bg"),Qw=Pn("card-padding"),Jw=Pn("card-shadow"),ex=Pn("card-radius"),tx=Pn("card-border-width","0"),rx=Pn("card-border-color"),nx=Kw({container:{[Xw.variable]:"colors.chakra-body-bg",backgroundColor:Xw.reference,boxShadow:Jw.reference,borderRadius:ex.reference,color:"chakra-body-text",borderWidth:tx.reference,borderColor:rx.reference},body:{padding:Qw.reference,flex:"1 1 0%"},header:{padding:Qw.reference},footer:{padding:Qw.reference}}),ax={sm:Kw({container:{[ex.variable]:"radii.base",[Qw.variable]:"space.3"}}),md:Kw({container:{[ex.variable]:"radii.md",[Qw.variable]:"space.5"}}),lg:Kw({container:{[ex.variable]:"radii.xl",[Qw.variable]:"space.7"}})},ox=Yw({baseStyle:nx,variants:{elevated:Kw({container:{[Jw.variable]:"shadows.base",_dark:{[Xw.variable]:"colors.gray.700"}}}),outline:Kw({container:{[tx.variable]:"1px",[rx.variable]:"colors.chakra-border-color"}}),filled:Kw({container:{[Xw.variable]:"colors.chakra-subtle-bg"}}),unstyled:{body:{[Qw.variable]:0},header:{[Qw.variable]:0},footer:{[Qw.variable]:0}}},sizes:ax,defaultProps:{variant:"elevated",size:"md"}}),ix=bg("close-button-size"),lx=bg("close-button-bg"),sx={baseStyle:{w:[ix.reference],h:[ix.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{[lx.variable]:"colors.blackAlpha.100",_dark:{[lx.variable]:"colors.whiteAlpha.100"}},_active:{[lx.variable]:"colors.blackAlpha.200",_dark:{[lx.variable]:"colors.whiteAlpha.200"}},_focusVisible:{boxShadow:"outline"},bg:lx.reference},sizes:{lg:{[ix.variable]:"sizes.10",fontSize:"md"},md:{[ix.variable]:"sizes.8",fontSize:"xs"},sm:{[ix.variable]:"sizes.6",fontSize:"2xs"}},defaultProps:{size:"md"}},{variants:cx,defaultProps:ux}=Sy,dx={baseStyle:{fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm",bg:Ay.bg.reference,color:Ay.color.reference,boxShadow:Ay.shadow.reference},variants:cx,defaultProps:ux},{definePartsStyle:px,defineMultiStyleConfig:mx}=ia($b.keys),hx=mx({baseStyle:px({container:{borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}},button:{transitionProperty:"common",transitionDuration:"normal",fontSize:"md",_focusVisible:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:"4",py:"2"},panel:{pt:"2",px:"4",pb:"5"},icon:{fontSize:"1.25em"}})}),{definePartsStyle:fx,defineMultiStyleConfig:vx}=ia(Zb.keys),bx=Pn("alert-fg"),gx=Pn("alert-bg"),yx=fx({container:{bg:gx.reference,px:"4",py:"3"},title:{fontWeight:"bold",lineHeight:"6",marginEnd:"2"},description:{lineHeight:"6"},icon:{color:bx.reference,flexShrink:0,marginEnd:"3",w:"5",h:"6"},spinner:{color:bx.reference,flexShrink:0,marginEnd:"3",w:"5",h:"5"}});function Ex(e){const{theme:t,colorScheme:r}=e;return{light:`colors.${r}.100`,dark:sy(`${r}.200`,.16)(t)}}var kx=fx((e=>{const{colorScheme:t}=e,r=Ex(e);return{container:{[bx.variable]:`colors.${t}.600`,[gx.variable]:r.light,_dark:{[bx.variable]:`colors.${t}.200`,[gx.variable]:r.dark}}}})),wx=fx((e=>{const{colorScheme:t}=e,r=Ex(e);return{container:{[bx.variable]:`colors.${t}.600`,[gx.variable]:r.light,_dark:{[bx.variable]:`colors.${t}.200`,[gx.variable]:r.dark},paddingStart:"3",borderStartWidth:"4px",borderStartColor:bx.reference}}})),xx=fx((e=>{const{colorScheme:t}=e,r=Ex(e);return{container:{[bx.variable]:`colors.${t}.600`,[gx.variable]:r.light,_dark:{[bx.variable]:`colors.${t}.200`,[gx.variable]:r.dark},pt:"2",borderTopWidth:"4px",borderTopColor:bx.reference}}})),_x=fx((e=>{const{colorScheme:t}=e;return{container:{[bx.variable]:"colors.white",[gx.variable]:`colors.${t}.600`,_dark:{[bx.variable]:"colors.gray.900",[gx.variable]:`colors.${t}.200`},color:bx.reference}}})),Px=vx({baseStyle:yx,variants:{subtle:kx,"left-accent":wx,"top-accent":xx,solid:_x},defaultProps:{variant:"subtle",colorScheme:"blue"}}),{definePartsStyle:Cx,defineMultiStyleConfig:Ax}=ia(Ub.keys),Sx=Pn("avatar-border-color"),Rx=Pn("avatar-bg"),Mx=Pn("avatar-font-size"),Tx=Pn("avatar-size"),Ix={borderRadius:"full",border:"0.2em solid",borderColor:Sx.reference,[Sx.variable]:"white",_dark:{[Sx.variable]:"colors.gray.800"}},Ox={bg:Rx.reference,fontSize:Mx.reference,width:Tx.reference,height:Tx.reference,lineHeight:"1",[Rx.variable]:"colors.gray.200",_dark:{[Rx.variable]:"colors.whiteAlpha.400"}},Lx=e=>{const{name:t,theme:r}=e,n=t?function(e){const t=`#${Math.floor(16777215*Math.random()).toString(16).padEnd(6,"0")}`;return e&&(r=e,0!==Object.keys(r).length)?e.string&&e.colors?function(e,t){let r=0;if(0===e.length)return t[0];for(let t=0;t<e.length;t+=1)r=e.charCodeAt(t)+((r<<5)-r),r|=0;return r=(r%t.length+t.length)%t.length,t[r]}(e.string,e.colors):e.string&&!e.colors?function(e){let t=0;if(0===e.length)return t.toString();for(let r=0;r<e.length;r+=1)t=e.charCodeAt(r)+((t<<5)-t),t|=0;let r="#";for(let e=0;e<3;e+=1)r+=`00${(t>>8*e&255).toString(16)}`.substr(-2);return r}(e.string):e.colors&&!e.string?function(e){return e[Math.floor(Math.random()*e.length)]}(e.colors):t:t;var r}({string:t}):"colors.gray.400",a=(e=>t=>"dark"===(e=>t=>{const r=(e=>{const[t,r,n]=Kg(e);return(299*t+587*r+114*n)/1e3})(ly(t,e));return r<128?"dark":"light"})(e)(t))(n)(r);let o="white";return a||(o="gray.800"),{bg:Rx.reference,fontSize:Mx.reference,color:o,borderColor:Sx.reference,verticalAlign:"top",width:Tx.reference,height:Tx.reference,"&:not([data-loaded])":{[Rx.variable]:n},[Sx.variable]:"colors.white",_dark:{[Sx.variable]:"colors.gray.800"}}},Dx={fontSize:Mx.reference,lineHeight:"1"};function Bx(e){const t="100%"!==e?Ib[e]:void 0;return Cx({container:{[Tx.variable]:null!=t?t:e,[Mx.variable]:`calc(${null!=t?t:e} / 2.5)`},excessLabel:{[Tx.variable]:null!=t?t:e,[Mx.variable]:`calc(${null!=t?t:e} / 2.5)`}})}var zx={Accordion:hx,Alert:Px,Avatar:Ax({baseStyle:Cx((e=>({badge:SE(Ix,e),excessLabel:SE(Ox,e),container:SE(Lx,e),label:Dx}))),sizes:{"2xs":Bx(4),xs:Bx(6),sm:Bx(8),md:Bx(12),lg:Bx(16),xl:Bx(24),"2xl":Bx(32),full:Bx("100%")},defaultProps:{size:"md"}}),Badge:Sy,Breadcrumb:Zw,Button:qw,Checkbox:ZE,CloseButton:sx,Code:dx,Container:{baseStyle:{w:"100%",mx:"auto",maxW:"prose",px:"4"}},Divider:{baseStyle:{opacity:.6,borderColor:"inherit"},variants:{solid:{borderStyle:"solid"},dashed:{borderStyle:"dashed"}},defaultProps:{variant:"solid"}},Drawer:Mw,Editable:Ow,Form:zw,FormError:Hw,FormLabel:{baseStyle:{fontSize:"md",marginEnd:"3",mb:"2",fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}}},Heading:{baseStyle:{fontFamily:"heading",fontWeight:"bold"},sizes:{"4xl":{fontSize:["6xl",null,"7xl"],lineHeight:1},"3xl":{fontSize:["5xl",null,"6xl"],lineHeight:1},"2xl":{fontSize:["4xl",null,"5xl"],lineHeight:[1.2,null,1]},xl:{fontSize:["3xl",null,"4xl"],lineHeight:[1.33,null,1.2]},lg:{fontSize:["2xl",null,"3xl"],lineHeight:[1.33,null,1.2]},md:{fontSize:"xl",lineHeight:1.2},sm:{fontSize:"md",lineHeight:1.2},xs:{fontSize:"sm",lineHeight:1.2}},defaultProps:{size:"xl"}},Input:pE,Kbd:xk,Link:{baseStyle:{transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focusVisible:{boxShadow:"outline"}}},List:Ck,Menu:Tk,Modal:$k,NumberInput:sw,PinInput:dw,Popover:bw,Progress:AE,Radio:YE,Select:tk,Skeleton:ak,SkipLink:ik,Slider:vk,Spinner:gk,Stat:kk,Switch:Bg,Table:Zg,Tabs:Cy,Tag:Hy,Textarea:fE,Tooltip:yE,Card:ox,Stepper:jb},Nx={colors:{"chakra-body-text":{_light:"gray.800",_dark:"whiteAlpha.900"},"chakra-body-bg":{_light:"white",_dark:"gray.800"},"chakra-border-color":{_light:"gray.200",_dark:"whiteAlpha.300"},"chakra-inverse-text":{_light:"white",_dark:"gray.800"},"chakra-subtle-bg":{_light:"gray.100",_dark:"gray.700"},"chakra-subtle-text":{_light:"gray.600",_dark:"gray.400"},"chakra-placeholder-color":{_light:"gray.500",_dark:"whiteAlpha.400"}}},Vx={global:{body:{fontFamily:"body",color:"chakra-body-text",bg:"chakra-body-bg",transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:"chakra-placeholder-color"},"*, *::before, &::after":{borderColor:"chakra-border-color"}}},Fx={useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"},Hx={semanticTokens:Nx,direction:"ltr",...Ob,components:zx,styles:Vx,config:Fx},jx={semanticTokens:Nx,direction:"ltr",components:{},...Ob,styles:Vx,config:Fx},Wx=(e,t)=>e.find((e=>e.id===t));function $x(e,t){const r=Zx(e,t);return{position:r,index:r?e[r].findIndex((e=>e.id===t)):-1}}function Zx(e,t){for(const[r,n]of Object.entries(e))if(Wx(n,t))return r}function Ux(e){return{position:"fixed",zIndex:"var(--toast-z-index, 5500)",pointerEvents:"none",display:"flex",flexDirection:"column",margin:"top"===e||"bottom"===e?"0 auto":void 0,top:e.includes("top")?"env(safe-area-inset-top, 0px)":void 0,bottom:e.includes("bottom")?"env(safe-area-inset-bottom, 0px)":void 0,right:e.includes("left")?void 0:"env(safe-area-inset-right, 0px)",left:e.includes("right")?void 0:"env(safe-area-inset-left, 0px)"}}function Gx(e,t){const r=(0,U.useRef)(!1),n=(0,U.useRef)(!1);(0,U.useEffect)((()=>{if(r.current&&n.current)return e();n.current=!0}),t),(0,U.useEffect)((()=>(r.current=!0,()=>{r.current=!1})),[])}var qx={initial:e=>{const{position:t}=e,r=["top","bottom"].includes(t)?"y":"x";let n=["top-right","bottom-right"].includes(t)?1:-1;return"bottom"===t&&(n=1),{opacity:0,[r]:24*n}},animate:{opacity:1,y:0,x:0,scale:1,transition:{duration:.4,ease:[.4,0,.2,1]}},exit:{opacity:0,scale:.85,transition:{duration:.2,ease:[.4,0,1,1]}}},Kx=(0,U.memo)((e=>{const{id:t,message:r,onCloseComplete:n,onRequestRemove:a,requestClose:o=!1,position:i="bottom",duration:l=5e3,containerStyle:s,motionVariants:c=qx,toastSpacing:u="0.5rem"}=e,[d,p]=(0,U.useState)(l),m=null===(h=(0,U.useContext)(Cl))||h.isPresent;var h;Gx((()=>{m||null==n||n()}),[m]),Gx((()=>{p(l)}),[l]);const f=()=>{m&&a()};(0,U.useEffect)((()=>{m&&o&&a()}),[m,o,a]),function(e,t){const r=Me(e);(0,U.useEffect)((()=>{if(null==t)return;let e=null;return e=window.setTimeout((()=>{r()}),t),()=>{e&&window.clearTimeout(e)}}),[t,r])}(f,d);const v=(0,U.useMemo)((()=>({pointerEvents:"auto",maxWidth:560,minWidth:300,margin:u,...s})),[s,u]),b=(0,U.useMemo)((()=>function(e){let t="center";return e.includes("right")&&(t="flex-end"),e.includes("left")&&(t="flex-start"),{display:"flex",flexDirection:"column",alignItems:t}}(i)),[i]);return(0,Ma.jsx)($h.div,{layout:!0,className:"chakra-toast",variants:c,initial:"initial",animate:"animate",exit:"exit",onHoverStart:()=>p(null),onHoverEnd:()=>p(l),custom:{position:i},style:b,children:(0,Ma.jsx)(Ra.div,{role:"status","aria-atomic":"true",className:"chakra-toast__inner",__css:v,children:ce(r,{id:t,onClose:f})})})}));Kx.displayName="ToastComponent";var Yx={path:(0,Ma.jsxs)("g",{stroke:"currentColor",strokeWidth:"1.5",children:[(0,Ma.jsx)("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),(0,Ma.jsx)("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),(0,Ma.jsx)("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})]}),viewBox:"0 0 24 24"},Xx=$e(((e,t)=>{const{as:r,viewBox:n,color:a="currentColor",focusable:o=!1,children:i,className:l,__css:s,...c}=e,u={ref:t,focusable:o,className:ie("chakra-icon",l),__css:{w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:a,...s,...ha("Icon",e)}},d=null!=n?n:Yx.viewBox;if(r&&"string"!=typeof r)return(0,Ma.jsx)(Ra.svg,{as:r,...u,...c});const p=null!=i?i:Yx.path;return(0,Ma.jsx)(Ra.svg,{verticalAlign:"middle",viewBox:d,...u,...c,children:p})}));function Qx(e){return(0,Ma.jsx)(Xx,{viewBox:"0 0 24 24",...e,children:(0,Ma.jsx)("path",{fill:"currentColor",d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z"})})}Xx.displayName="Icon";var[Jx,e_]=Ce({name:"AlertContext",hookName:"useAlertContext",providerName:"<Alert />"}),[t_,r_]=Ce({name:"AlertStylesContext",hookName:"useAlertStyles",providerName:"<Alert />"}),n_={info:{icon:function(e){return(0,Ma.jsx)(Xx,{viewBox:"0 0 24 24",...e,children:(0,Ma.jsx)("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm.25,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,12.25,5ZM14.5,18.5h-4a1,1,0,0,1,0-2h.75a.25.25,0,0,0,.25-.25v-4.5a.25.25,0,0,0-.25-.25H10.5a1,1,0,0,1,0-2h1a2,2,0,0,1,2,2v4.75a.25.25,0,0,0,.25.25h.75a1,1,0,1,1,0,2Z"})})},colorScheme:"blue"},warning:{icon:Qx,colorScheme:"orange"},success:{icon:function(e){return(0,Ma.jsx)(Xx,{viewBox:"0 0 24 24",...e,children:(0,Ma.jsx)("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm6.927,8.2-6.845,9.289a1.011,1.011,0,0,1-1.43.188L5.764,13.769a1,1,0,1,1,1.25-1.562l4.076,3.261,6.227-8.451A1,1,0,1,1,18.927,8.2Z"})})},colorScheme:"green"},error:{icon:Qx,colorScheme:"red"},loading:{icon:lf,colorScheme:"blue"}},a_=$e((function(e,t){var r;const{status:n="info",addRole:a=!0,...o}=sa(e),i=null!=(r=e.colorScheme)?r:function(e){return n_[e].colorScheme}(n),l=fa("Alert",{...e,colorScheme:i}),s={width:"100%",display:"flex",alignItems:"center",position:"relative",overflow:"hidden",...l.container};return(0,Ma.jsx)(Jx,{value:{status:n},children:(0,Ma.jsx)(t_,{value:l,children:(0,Ma.jsx)(Ra.div,{"data-status":n,role:a?"alert":void 0,ref:t,...o,className:ie("chakra-alert",e.className),__css:s})})})}));function o_(e){const{status:t}=e_(),r=function(e){return n_[e].icon}(t),n=r_(),a="loading"===t?n.spinner:n.icon;return(0,Ma.jsx)(Ra.span,{display:"inherit","data-status":t,...e,className:ie("chakra-alert__icon",e.className),__css:a,children:e.children||(0,Ma.jsx)(r,{h:"100%",w:"100%"})})}a_.displayName="Alert",o_.displayName="AlertIcon";var i_=$e((function(e,t){const r=r_(),{status:n}=e_();return(0,Ma.jsx)(Ra.div,{ref:t,"data-status":n,...e,className:ie("chakra-alert__title",e.className),__css:r.title})}));i_.displayName="AlertTitle";var l_=$e((function(e,t){const r=r_(),{status:n}=e_(),a={display:"inline",...r.description};return(0,Ma.jsx)(Ra.div,{ref:t,"data-status":n,...e,className:ie("chakra-alert__desc",e.className),__css:a})}));function s_(e){return(0,Ma.jsx)(Xx,{focusable:"false","aria-hidden":!0,...e,children:(0,Ma.jsx)("path",{fill:"currentColor",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,11.823a.25.25,0,0,1,0,.354Z"})})}l_.displayName="AlertDescription";var c_=$e((function(e,t){const r=ha("CloseButton",e),{children:n,isDisabled:a,__css:o,...i}=sa(e);return(0,Ma.jsx)(Ra.button,{type:"button","aria-label":"Close",ref:t,disabled:a,__css:{outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,...r,...o},...i,children:n||(0,Ma.jsx)(s_,{width:"1em",height:"1em"})})}));c_.displayName="CloseButton";var u_=function(e){let t=e;const r=new Set,n=e=>{t=e(t),r.forEach((e=>e()))};return{getState:()=>t,subscribe:t=>(r.add(t),()=>{n((()=>e)),r.delete(t)}),removeToast:(e,t)=>{n((r=>({...r,[t]:r[t].filter((t=>t.id!=e))})))},notify:(e,t)=>{const r=function(e,t={}){var r,n;d_+=1;const a=null!=(r=t.id)?r:d_,o=null!=(n=t.position)?n:"bottom";return{id:a,message:e,position:o,duration:t.duration,onCloseComplete:t.onCloseComplete,onRequestRemove:()=>u_.removeToast(String(a),o),status:t.status,requestClose:!1,containerStyle:t.containerStyle}}(e,t),{position:a,id:o}=r;return n((e=>{var t,n;const o=a.includes("top")?[r,...null!=(t=e[a])?t:[]]:[...null!=(n=e[a])?n:[],r];return{...e,[a]:o}})),o},update:(e,t)=>{e&&n((r=>{const n={...r},{position:a,index:o}=$x(n,e);return a&&-1!==o&&(n[a][o]={...n[a][o],...t,message:m_(t)}),n}))},closeAll:({positions:e}={})=>{n((t=>(null!=e?e:["bottom","bottom-right","bottom-left","top","top-left","top-right"]).reduce(((e,r)=>(e[r]=t[r].map((e=>({...e,requestClose:!0}))),e)),{...t})))},close:e=>{n((t=>{const r=Zx(t,e);return r?{...t,[r]:t[r].map((t=>t.id==e?{...t,requestClose:!0}:t))}:t}))},isActive:e=>Boolean($x(u_.getState(),e).position)}}({top:[],"top-left":[],"top-right":[],"bottom-left":[],bottom:[],"bottom-right":[]}),d_=0,p_=e=>{const{status:t,variant:r="solid",id:n,title:a,isClosable:o,onClose:i,description:l,colorScheme:s,icon:c}=e,u=n?{root:`toast-${n}`,title:`toast-${n}-title`,description:`toast-${n}-description`}:void 0;return(0,Ma.jsxs)(a_,{addRole:!1,status:t,variant:r,id:null==u?void 0:u.root,alignItems:"start",borderRadius:"md",boxShadow:"lg",paddingEnd:8,textAlign:"start",width:"auto",colorScheme:s,children:[(0,Ma.jsx)(o_,{children:c}),(0,Ma.jsxs)(Ra.div,{flex:"1",maxWidth:"100%",children:[a&&(0,Ma.jsx)(i_,{id:null==u?void 0:u.title,children:a}),l&&(0,Ma.jsx)(l_,{id:null==u?void 0:u.description,display:"block",children:l})]}),o&&(0,Ma.jsx)(c_,{size:"sm",onClick:i,position:"absolute",insetEnd:1,top:1})]})};function m_(e={}){const{render:t,toastComponent:r=p_}=e;return n=>"function"==typeof t?t({...n,...e}):(0,Ma.jsx)(r,{...n,...e})}var[h_,f_]=Ce({name:"ToastOptionsContext",strict:!1}),v_=e=>{const t=(0,U.useSyncExternalStore)(u_.subscribe,u_.getState,u_.getState),{motionVariants:r,component:n=Kx,portalProps:a}=e,o=Object.keys(t).map((e=>{const a=t[e];return(0,Ma.jsx)("div",{role:"region","aria-live":"polite","aria-label":`Notifications-${e}`,id:`chakra-toast-manager-${e}`,style:Ux(e),children:(0,Ma.jsx)(Kh,{initial:!1,children:a.map((e=>(0,Ma.jsx)(n,{motionVariants:r,...e},e.id)))})},e)}));return(0,Ma.jsx)(cl,{...a,children:o})},b_=e=>function({children:t,theme:r=e,toastOptions:n,...a}){return(0,Ma.jsxs)(Rb,{theme:r,...a,children:[(0,Ma.jsx)(h_,{value:null==n?void 0:n.defaultOptions,children:t}),(0,Ma.jsx)(v_,{...n})]})},g_=b_(Hx),y_=(b_(jx),{border:"0",clip:"rect(0, 0, 0, 0)",height:"1px",width:"1px",margin:"-1px",padding:"0",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"}),E_=()=>"undefined"!=typeof document,k_=!1,w_=null,x_=!1,__=!1,P_=new Set;function C_(e,t){P_.forEach((r=>r(e,t)))}var A_="undefined"!=typeof window&&null!=window.navigator&&/^Mac/.test(window.navigator.platform);function S_(e){var t;x_=!0,!((t=e).metaKey||!A_&&t.altKey||t.ctrlKey||"Control"===t.key||"Shift"===t.key||"Meta"===t.key)&&(w_="keyboard",C_("keyboard",e))}function R_(e){if(w_="pointer","mousedown"===e.type||"pointerdown"===e.type){x_=!0;const t=e.composedPath?e.composedPath()[0]:e.target;let r=!1;try{r=t.matches(":focus-visible")}catch{}if(r)return;C_("pointer",e)}}function M_(e){var t;(0===(t=e).mozInputSource&&t.isTrusted||0===t.detail&&!t.pointerType)&&(x_=!0,w_="virtual")}function T_(e){e.target!==window&&e.target!==document&&(x_||__||(w_="virtual",C_("virtual",e)),x_=!1,__=!1)}function I_(){x_=!1,__=!0}function O_(){return"pointer"!==w_}function L_(e){(function(){if(!E_()||k_)return;const{focus:e}=HTMLElement.prototype;HTMLElement.prototype.focus=function(...t){x_=!0,e.apply(this,t)},document.addEventListener("keydown",S_,!0),document.addEventListener("keyup",S_,!0),document.addEventListener("click",M_,!0),window.addEventListener("focus",T_,!0),window.addEventListener("blur",I_,!1),"undefined"!=typeof PointerEvent?(document.addEventListener("pointerdown",R_,!0),document.addEventListener("pointermove",R_,!0),document.addEventListener("pointerup",R_,!0)):(document.addEventListener("mousedown",R_,!0),document.addEventListener("mousemove",R_,!0),document.addEventListener("mouseup",R_,!0)),k_=!0})(),e(O_());const t=()=>e(O_());return P_.add(t),()=>{P_.delete(t)}}function D_(e){e.preventDefault(),e.stopPropagation()}var B_=$e((function(e,t){const r=fa("Switch",e),{spacing:n="0.5rem",children:a,...o}=sa(e),{getIndicatorProps:i,getInputProps:l,getCheckboxProps:s,getRootProps:c,getLabelProps:u}=function(e={}){const t=to(e),{isDisabled:r,isReadOnly:n,isRequired:a,isInvalid:o,id:i,onBlur:l,onFocus:s,"aria-describedby":c}=t,{defaultChecked:u,isChecked:d,isFocusable:p,onChange:m,isIndeterminate:h,name:f,value:v,tabIndex:b,"aria-label":g,"aria-labelledby":y,"aria-invalid":E,...k}=e,w=function(e,t=[]){const r=Object.assign({},e);for(const e of t)e in r&&delete r[e];return r}(k,["isDisabled","isReadOnly","isRequired","isInvalid","id","onBlur","onFocus","aria-describedby"]),x=Me(m),_=Me(l),P=Me(s),[C,A]=(0,U.useState)(!1),[S,R]=(0,U.useState)(!1),[M,T]=(0,U.useState)(!1),[I,O]=(0,U.useState)(!1);(0,U.useEffect)((()=>L_(A)),[]);const L=(0,U.useRef)(null),[D,B]=(0,U.useState)(!0),[z,N]=(0,U.useState)(!!u),V=void 0!==d,F=V?d:z,H=(0,U.useCallback)((e=>{n||r?e.preventDefault():(V||N(F?e.target.checked:!!h||e.target.checked),null==x||x(e))}),[n,r,F,V,h,x]);tl((()=>{L.current&&(L.current.indeterminate=Boolean(h))}),[h]),Gx((()=>{r&&R(!1)}),[r,R]),tl((()=>{const e=L.current;if(!(null==e?void 0:e.form))return;const t=()=>{N(!!u)};return e.form.addEventListener("reset",t),()=>{var r;return null==(r=e.form)?void 0:r.removeEventListener("reset",t)}}),[]);const j=r&&!p,W=(0,U.useCallback)((e=>{" "===e.key&&O(!0)}),[O]),$=(0,U.useCallback)((e=>{" "===e.key&&O(!1)}),[O]);tl((()=>{L.current&&L.current.checked!==F&&N(L.current.checked)}),[L.current]);const Z=(0,U.useCallback)(((e={},t=null)=>({...e,ref:t,"data-active":de(I),"data-hover":de(M),"data-checked":de(F),"data-focus":de(S),"data-focus-visible":de(S&&C),"data-indeterminate":de(h),"data-disabled":de(r),"data-invalid":de(o),"data-readonly":de(n),"aria-hidden":!0,onMouseDown:me(e.onMouseDown,(e=>{S&&e.preventDefault(),O(!0)})),onMouseUp:me(e.onMouseUp,(()=>O(!1))),onMouseEnter:me(e.onMouseEnter,(()=>T(!0))),onMouseLeave:me(e.onMouseLeave,(()=>T(!1)))})),[I,F,r,S,C,M,h,o,n]),G=(0,U.useCallback)(((e={},t=null)=>({...e,ref:t,"data-active":de(I),"data-hover":de(M),"data-checked":de(F),"data-focus":de(S),"data-focus-visible":de(S&&C),"data-indeterminate":de(h),"data-disabled":de(r),"data-invalid":de(o),"data-readonly":de(n)})),[I,F,r,S,C,M,h,o,n]),q=(0,U.useCallback)(((e={},t=null)=>({...w,...e,ref:fe(t,(e=>{e&&B("LABEL"===e.tagName)})),onClick:me(e.onClick,(()=>{var e;D||(null==(e=L.current)||e.click(),requestAnimationFrame((()=>{var e;null==(e=L.current)||e.focus({preventScroll:!0})})))})),"data-disabled":de(r),"data-checked":de(F),"data-invalid":de(o)})),[w,r,F,o,D]),K=(0,U.useCallback)(((e={},t=null)=>({...e,ref:fe(L,t),type:"checkbox",name:f,value:v,id:i,tabIndex:b,onChange:me(e.onChange,H),onBlur:me(e.onBlur,_,(()=>R(!1))),onFocus:me(e.onFocus,P,(()=>R(!0))),onKeyDown:me(e.onKeyDown,W),onKeyUp:me(e.onKeyUp,$),required:a,checked:F,disabled:j,readOnly:n,"aria-label":g,"aria-labelledby":y,"aria-invalid":E?Boolean(E):o,"aria-describedby":c,"aria-disabled":r,style:y_})),[f,v,i,H,_,P,W,$,a,F,j,n,g,y,E,o,c,r,b]),Y=(0,U.useCallback)(((e={},t=null)=>({...e,ref:t,onMouseDown:me(e.onMouseDown,D_),"data-disabled":de(r),"data-checked":de(F),"data-invalid":de(o)})),[F,r,o]);return{state:{isInvalid:o,isFocused:S,isChecked:F,isActive:I,isHovered:M,isIndeterminate:h,isDisabled:r,isReadOnly:n,isRequired:a},getRootProps:q,getCheckboxProps:Z,getIndicatorProps:G,getInputProps:K,getLabelProps:Y,htmlProps:w}}(o),d=(0,U.useMemo)((()=>({display:"inline-block",position:"relative",verticalAlign:"middle",lineHeight:0,...r.container})),[r.container]),p=(0,U.useMemo)((()=>({display:"inline-flex",flexShrink:0,justifyContent:"flex-start",boxSizing:"content-box",cursor:"pointer",...r.track})),[r.track]),m=(0,U.useMemo)((()=>({userSelect:"none",marginStart:n,...r.label})),[n,r.label]);return(0,Ma.jsxs)(Ra.label,{...c(),className:ie("chakra-switch",e.className),__css:d,children:[(0,Ma.jsx)("input",{className:"chakra-switch__input",...l({},t)}),(0,Ma.jsx)(Ra.span,{...s(),className:"chakra-switch__track",__css:p,children:(0,Ma.jsx)(Ra.span,{__css:r.thumb,className:"chakra-switch__thumb",...i()})}),a&&(0,Ma.jsx)(Ra.span,{className:"chakra-switch__label",...u(),__css:m,children:a})]})}));function z_(e){const t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}B_.displayName="Switch";var N_=$e((function(e,t){const r=ha("Text",e),{className:n,align:a,decoration:o,casing:i,...l}=sa(e),s=z_({textAlign:e.align,textDecoration:e.decoration,textTransform:e.casing});return(0,Ma.jsx)(Ra.p,{ref:t,className:ie("chakra-text",e.className),...s,...l,__css:r})}));N_.displayName="Text";const V_=window.wp.editPost;var F_=["borders","breakpoints","colors","components","config","direction","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","shadows","sizes","space","styles","transition","zIndices"];function H_(e){return"function"==typeof e}var j_=e=>function(...t){let r=[...t],n=t[t.length-1];return function(e){return!!le(e)&&F_.every((t=>Object.prototype.hasOwnProperty.call(e,t)))}(n)&&r.length>1?r=r.slice(0,r.length-1):n=e,function(...e){return t=>e.reduce(((e,t)=>t(e)),t)}(...r.map((e=>t=>H_(e)?e(t):function(...e){return Cr({},...e,$_)}(t,e))))(n)},W_=j_(Hx);function $_(e,t,r,n){if((H_(e)||H_(t))&&Object.prototype.hasOwnProperty.call(n,r))return(...r)=>{const n=H_(e)?e(...r):e,a=H_(t)?t(...r):t;return Cr({},n,a,$_)}}j_(jx);const Z_=W_({config:{initialColorMode:"light",useSystemColorMode:!1},fontSizes:{"3xs":"7.2px","2xs":"10px",xs:"12px",sm:"14px",md:"16px",lg:"18px",xl:"20px","2xl":"24px","3xl":"30px","4xl":"36px","5xl":"48px","6xl":"60px","7xl":"72px","8xl":"96px","9xl":"128px"},sizes:{1:"4px",2:"8px",3:"12px",4:"16px",5:"20px",6:"24px",7:"28px",8:"32px",9:"36px",10:"40px",12:"48px",14:"56px",16:"64px",20:"80px",24:"96px",28:"112px",32:"128px",36:"144px",40:"160px",44:"176px",48:"192px",52:"208px",56:"224px",60:"240px",64:"256px",72:"288px",80:"320px",96:"384px",px:"16px","0-5":"2px","1-5":"6px","2-5":"10px","3-5":"14px",max:"max-content",min:"min-content",full:"100%","3xs":"224px","2xs":"256px",xs:"320px",sm:"384px",md:"448px",lg:"512px",xl:"576px","2xl":"672px","3xl":"768px","4xl":"896px","5xl":"1024px","6xl":"1152px","7xl":"1280px","8xl":"1440px"},space:{1:"4px",2:"8px",3:"12px",4:"16px",5:"20px",6:"24px",7:"28px",8:"32px",9:"36px",10:"40px",12:"48px",14:"56px",16:"64px",20:"80px",24:"96px",28:"112px",32:"128px",36:"144px",40:"160px",44:"176px",48:"192px",52:"208px",56:"224px",60:"240px",64:"256px",72:"288px",80:"320px",96:"384px",px:"1px","0-5":"0.125rem","1-5":"0.375rem","2-5":"0.625rem","3-5":"0.875rem"},radii:{none:0,sm:"2px",base:"4px",md:"6px",lg:"8px",xl:"12px","2xl":"16px","3xl":"24px"},colors:{primary:{50:"#fafafc",100:"#e8eefd",200:"#b9cdf9",300:"#8aabf4",400:"#5c8af0",500:"#2563eb",600:"#134fd2",700:"#0f3ea3",800:"#0b2c75",900:"#061a46"},gray:{100:"#f4f4f4"}},styles:{global:{".components-panel[data-ba-tab]":{zIndex:1},".blockart-library-sidebar,.blockart-inserters-sidebar":{width:"full",maxWidth:"300px",borderRight:"1px solid",borderColor:"gray.200",h:"full",".blockart":{h:"full"}},".blockart-shortcut-sidebar .blockart":{h:"full"},".blockart-popover":{".components-popover__content":{maxW:"300px",padding:"4"}},".chakra-select":{background:"none !important",borderRadius:"2px !important",borderColor:"var(--chakra-colors-gray-400) !important",color:"var(--chakra-colors-gray-800) !important",boxShadow:"none !important",fontSize:"12px !important"},'[data-ba-tab]:not([data-ba-tab="advanced"])':{".block-editor-block-inspector__advanced":{display:"none"}},".chakra-button__group button svg":{width:"20px",height:"20px"},".blockart-popover-drawer":{bg:"white",borderRadius:"sm",border:"1px",borderColor:"gray.200"},".modal-open":{".blockart-popover-drawer":{visibility:"hidden",opacity:0,pointerEvents:"none"}},".block-editor-block-inspector__advanced":{label:{fontSize:"xs",fontWeight:"normal",textTransform:"capitalize"},".components-base-control":{marginBottom:"16px"},".components-text-control__input":{height:"40px",borderColor:"#949494 !important"}},".block-editor-block-inspector__advanced p":{fontSize:"xs",fontStyle:"italic",fontWeight:"normal",color:"#909090",textTransform:"capitalize",".chakra-form-control":{mt:"6px !important",mb:"12px !important"}},":where(img, svg, video, canvas, audio, iframe, embed, object)":{display:"unset"},"label.chakra-switch":{"--switch-track-width":"22px","--switch-track-height":"13px"},".chakra-switch__track":{"--switch-bg":"#909090 !important"},".chakra-switch__track[data-checked]":{"--switch-bg":"#3858E9 !important"},".chakra-tabs__tab-panel":{px:"0px !important"},".blockart-panel-body":{background:"#ffffff !important"},".blockart-panel-body.is-opened button":{boxShadow:"none !important"},".blockart-panel:last-child .blockart-panel-body.is-opened":{border:"none !important"},".blockart-box-shadow-popover":{display:"inline-flex"},".block-editor-url-input input[type=text]":{width:"100% !important",border:"1px solid #949494 !important",borderRadius:"2px !important"},".blockart-popover-drawer .components-popover__content":{p:"0 16px 16px 16px","> .chakra-tabs > .chakra-tabs__tablist":{mx:"-16px"}},".block-editor-block-inspector__advanced .chakra-select__wrapper":{mb:"16px !important"},".chakra-portal .chakra-button__group .chakra-button":{p:"4px !important"},".ba-style-guide--open .edit-post-visual-editor":{display:"none !important"}}},components:{Button:{defaultProps:{colorScheme:"primary"},variants:{icon:{minW:"6",color:"gray.800",colorScheme:"gray",w:"6",h:"6",p:"0 !important",borderRadius:"sm",svg:{width:"14px",height:"14px",fill:"#909090"}}},baseStyle:{fontWeight:"normal",fontSize:"md",borderRadius:"sm"}},Switch:{defaultProps:{colorScheme:"primary"}},FormLabel:{baseStyle:{fontWeight:"normal",fontSize:"xs",m:"0",color:"#222222"}},Tooltip:{baseStyle:{fontSize:"xs",fontWeight:"normal",borderRadius:"base",zIndex:"9999999"}},Tabs:{defaultProps:{colorScheme:"primary"},variants:{border:{tab:{fontSize:"xs",_selected:{color:"white",bg:"primary.500",borderRadius:"sm"},flex:1},tablist:{border:"1px",borderColor:"gray.200",p:"4px",borderRadius:"sm"},tabpanel:{pt:"4","> *:not(:last-child)":{mb:4}}}}},Tab:{baseStyle:{fontSize:"xs",fontWeight:"medium",size:"sm"}}}});function U_(e,t){const r=(0,U.useId)();return(0,U.useMemo)((()=>e||[t,r].filter(Boolean).join("-")),[e,t,r])}function G_(e={}){const{onClose:t,onOpen:r,isOpen:n,id:a}=e,o=ne(r),i=ne(t),[l,s]=(0,U.useState)(e.defaultIsOpen||!1),[c,u]=function(e,t){const r=void 0!==e;return[r,r&&void 0!==e?e:t]}(n,l),d=U_(a,"disclosure"),p=(0,U.useCallback)((()=>{c||s(!1),null==i||i()}),[c,i]),m=(0,U.useCallback)((()=>{c||s(!0),null==o||o()}),[c,o]),h=(0,U.useCallback)((()=>{(u?p:m)()}),[u,m,p]);return{isOpen:!!u,onOpen:m,onClose:p,onToggle:h,isControlled:c,getButtonProps:(e={})=>({...e,"aria-expanded":u,"aria-controls":d,onClick:oe(e.onClick,h)}),getDisclosureProps:(e={})=>({...e,hidden:!u,id:d})}}var[q_,K_]=Ce({name:"ListStylesContext",errorMessage:"useListStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<List />\" "}),Y_=$e((function(e,t){const r=fa("List",e),{children:n,styleType:a="none",stylePosition:o,spacing:i,...l}=sa(e),s=Ie(n),c="& > *:not(style) ~ *:not(style)",u=i?{[c]:{mt:i}}:{};return(0,Ma.jsx)(q_,{value:r,children:(0,Ma.jsx)(Ra.ul,{ref:t,listStyleType:a,listStylePosition:o,role:"list",__css:{...r.container,...u},...l,children:s})})}));Y_.displayName="List",$e(((e,t)=>{const{as:r,...n}=e;return(0,Ma.jsx)(Y_,{ref:t,as:"ol",styleType:"decimal",marginStart:"1em",...n})})).displayName="OrderedList",$e((function(e,t){const{as:r,...n}=e;return(0,Ma.jsx)(Y_,{ref:t,as:"ul",styleType:"initial",marginStart:"1em",...n})})).displayName="UnorderedList";var X_=$e((function(e,t){const r=K_();return(0,Ma.jsx)(Ra.li,{ref:t,...e,__css:r.item})}));X_.displayName="ListItem";var Q_=$e((function(e,t){const r=K_();return(0,Ma.jsx)(Xx,{ref:t,role:"presentation",...e,__css:r.icon})}));Q_.displayName="ListIcon";var J_={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]},eP={enter:{duration:.2,ease:J_.easeOut},exit:{duration:.1,ease:J_.easeIn}},tP=(e,t)=>({...e,delay:"number"==typeof t?t:null==t?void 0:t.enter}),rP=(e,t)=>({...e,delay:"number"==typeof t?t:null==t?void 0:t.exit}),nP={initial:({offsetX:e,offsetY:t,transition:r,transitionEnd:n,delay:a})=>{var o;return{opacity:0,x:e,y:t,transition:null!=(o=null==r?void 0:r.exit)?o:rP(eP.exit,a),transitionEnd:null==n?void 0:n.exit}},enter:({transition:e,transitionEnd:t,delay:r})=>{var n;return{opacity:1,x:0,y:0,transition:null!=(n=null==e?void 0:e.enter)?n:tP(eP.enter,r),transitionEnd:null==t?void 0:t.enter}},exit:({offsetY:e,offsetX:t,transition:r,transitionEnd:n,reverse:a,delay:o})=>{var i;const l={x:t,y:e};return{opacity:0,transition:null!=(i=null==r?void 0:r.exit)?i:rP(eP.exit,o),...a?{...l,transitionEnd:null==n?void 0:n.exit}:{transitionEnd:{...l,...null==n?void 0:n.exit}}}}},aP={initial:"initial",animate:"enter",exit:"exit",variants:nP},oP=(0,U.forwardRef)((function(e,t){const{unmountOnExit:r,in:n,reverse:a=!0,className:o,offsetX:i=0,offsetY:l=8,transition:s,transitionEnd:c,delay:u,...d}=e,p=!r||n&&r,m=n||r?"enter":"exit",h={offsetX:i,offsetY:l,reverse:a,transition:s,transitionEnd:c,delay:u};return(0,Ma.jsx)(Kh,{custom:h,children:p&&(0,Ma.jsx)($h.div,{ref:t,className:ie("chakra-offset-slide",o),custom:h,...aP,animate:m,...d})})}));oP.displayName="SlideFade";var iP={exit:({reverse:e,initialScale:t,transition:r,transitionEnd:n,delay:a})=>{var o;return{opacity:0,...e?{scale:t,transitionEnd:null==n?void 0:n.exit}:{transitionEnd:{scale:t,...null==n?void 0:n.exit}},transition:null!=(o=null==r?void 0:r.exit)?o:rP(eP.exit,a)}},enter:({transitionEnd:e,transition:t,delay:r})=>{var n;return{opacity:1,scale:1,transition:null!=(n=null==t?void 0:t.enter)?n:tP(eP.enter,r),transitionEnd:null==e?void 0:e.enter}}},lP={initial:"exit",animate:"enter",exit:"exit",variants:iP},sP=(0,U.forwardRef)((function(e,t){const{unmountOnExit:r,in:n,reverse:a=!0,initialScale:o=.95,className:i,transition:l,transitionEnd:s,delay:c,...u}=e,d=!r||n&&r,p=n||r?"enter":"exit",m={initialScale:o,reverse:a,transition:l,transitionEnd:s,delay:c};return(0,Ma.jsx)(Kh,{custom:m,children:d&&(0,Ma.jsx)($h.div,{ref:t,className:ie("chakra-offset-slide",i),...lP,animate:p,custom:m,...u})})}));sP.displayName="ScaleFade";var cP={slideInBottom:{...aP,custom:{offsetY:16,reverse:!0}},slideInRight:{...aP,custom:{offsetX:16,reverse:!0}},slideInTop:{...aP,custom:{offsetY:-16,reverse:!0}},slideInLeft:{...aP,custom:{offsetX:-16,reverse:!0}},scale:{...lP,custom:{initialScale:.95,reverse:!0}},none:{}},uP=Ra($h.section),dP=e=>cP[e||"none"],pP=(0,U.forwardRef)(((e,t)=>{const{preset:r,motionProps:n=dP(r),...a}=e;return(0,Ma.jsx)(uP,{ref:t,...n,...a})}));pP.displayName="ModalTransition";var mP=Object.defineProperty,hP=new class{constructor(){((e,t,r)=>{((e,t,r)=>{t in e?mP(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r})(e,"symbol"!=typeof t?t+"":t,r)})(this,"modals"),this.modals=new Map}add(e){return this.modals.set(e,this.modals.size+1),this.modals.size}remove(e){this.modals.delete(e)}isTopModal(e){return!!e&&this.modals.get(e)===this.modals.size}};function fP(e,t){const[r,n]=(0,U.useState)(0);return(0,U.useEffect)((()=>{const r=e.current;if(r){if(t){const e=hP.add(r);n(e)}return()=>{hP.remove(r),n(0)}}}),[t,e]),r}var vP=new WeakMap,bP=new WeakMap,gP={},yP=0,EP=function(e){return e&&(e.host||EP(e.parentNode))},kP=function(e,t,r){void 0===r&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),a=t||function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e);return a?(n.push.apply(n,Array.from(a.querySelectorAll("[aria-live]"))),function(e,t,r,n){var a=function(e,t){return t.map((function(t){if(e.contains(t))return t;var r=EP(t);return r&&e.contains(r)?r:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)})).filter((function(e){return Boolean(e)}))}(t,Array.isArray(e)?e:[e]);gP[r]||(gP[r]=new WeakMap);var o=gP[r],i=[],l=new Set,s=new Set(a),c=function(e){e&&!l.has(e)&&(l.add(e),c(e.parentNode))};a.forEach(c);var u=function(e){e&&!s.has(e)&&Array.prototype.forEach.call(e.children,(function(e){if(l.has(e))u(e);else try{var t=e.getAttribute(n),a=null!==t&&"false"!==t,s=(vP.get(e)||0)+1,c=(o.get(e)||0)+1;vP.set(e,s),o.set(e,c),i.push(e),1===s&&a&&bP.set(e,!0),1===c&&e.setAttribute(r,"true"),a||e.setAttribute(n,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}}))};return u(t),l.clear(),yP++,function(){i.forEach((function(e){var t=vP.get(e)-1,a=o.get(e)-1;vP.set(e,t),o.set(e,a),t||(bP.has(e)||e.removeAttribute(n),bP.delete(e)),a||e.removeAttribute(r)})),--yP||(vP=new WeakMap,vP=new WeakMap,bP=new WeakMap,gP={})}}(n,a,r,"aria-hidden")):function(){return null}};function wP(e){const{isOpen:t,onClose:r,id:n,closeOnOverlayClick:a=!0,closeOnEsc:o=!0,useInert:i=!0,onOverlayClick:l,onEsc:s}=e,c=(0,U.useRef)(null),u=(0,U.useRef)(null),[d,p,m]=function(e,...t){const r=(0,U.useId)(),n=e||r;return(0,U.useMemo)((()=>t.map((e=>`${e}-${n}`))),[n,t])}(n,"chakra-modal","chakra-modal--header","chakra-modal--body");!function(e,t){const r=e.current;(0,U.useEffect)((()=>{if(e.current&&t)return kP(e.current)}),[t,e,r])}(c,t&&i);const h=fP(c,t),f=(0,U.useRef)(null),v=(0,U.useCallback)((e=>{f.current=e.target}),[]),b=(0,U.useCallback)((e=>{"Escape"===e.key&&(e.stopPropagation(),o&&(null==r||r()),null==s||s())}),[o,r,s]),[g,y]=(0,U.useState)(!1),[E,k]=(0,U.useState)(!1),w=(0,U.useCallback)(((e={},t=null)=>({role:"dialog",...e,ref:fe(t,c),id:d,tabIndex:-1,"aria-modal":!0,"aria-labelledby":g?p:void 0,"aria-describedby":E?m:void 0,onClick:me(e.onClick,(e=>e.stopPropagation()))})),[m,E,d,p,g]),x=(0,U.useCallback)((e=>{e.stopPropagation(),f.current===e.target&&hP.isTopModal(c.current)&&(a&&(null==r||r()),null==l||l())}),[r,a,l]),_=(0,U.useCallback)(((e={},t=null)=>({...e,ref:fe(t,u),onClick:me(e.onClick,x),onKeyDown:me(e.onKeyDown,b),onMouseDown:me(e.onMouseDown,v)})),[b,v,x]);return{isOpen:t,onClose:r,headerId:p,bodyId:m,setBodyMounted:k,setHeaderMounted:y,dialogRef:c,overlayRef:u,getDialogProps:w,getDialogContainerProps:_,index:h}}var[xP,_P]=Ce({name:"ModalStylesContext",errorMessage:"useModalStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<Modal />\" "}),[PP,CP]=Ce({strict:!0,name:"ModalContext",errorMessage:"useModalContext: `context` is undefined. Seems you forgot to wrap modal components in `<Modal />`"}),AP=e=>{const t={scrollBehavior:"outside",autoFocus:!0,trapFocus:!0,returnFocusOnClose:!0,blockScrollOnMount:!0,allowPinchZoom:!1,motionPreset:"scale",lockFocusAcrossFrames:!0,...e},{portalProps:r,children:n,autoFocus:a,trapFocus:o,initialFocusRef:i,finalFocusRef:l,returnFocusOnClose:s,blockScrollOnMount:c,allowPinchZoom:u,preserveScrollBarGap:d,motionPreset:p,lockFocusAcrossFrames:m,onCloseComplete:h}=t,f=fa("Modal",t),v={...wP(t),autoFocus:a,trapFocus:o,initialFocusRef:i,finalFocusRef:l,returnFocusOnClose:s,blockScrollOnMount:c,allowPinchZoom:u,preserveScrollBarGap:d,motionPreset:p,lockFocusAcrossFrames:m};return(0,Ma.jsx)(PP,{value:v,children:(0,Ma.jsx)(xP,{value:f,children:(0,Ma.jsx)(Kh,{onExitComplete:h,children:v.isOpen&&(0,Ma.jsx)(cl,{...r,children:n})})})})};function SP(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}AP.displayName="Modal";var RP="data-focus-lock",MP="data-focus-lock-disabled";function TP(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var IP="undefined"!=typeof window?U.useLayoutEffect:U.useEffect,OP=new WeakMap;function LP(e,t){var r,n,a,o=(r=t||null,n=function(t){return e.forEach((function(e){return TP(e,t)}))},(a=(0,U.useState)((function(){return{value:r,callback:n,facade:{get current(){return a.value},set current(e){var t=a.value;t!==e&&(a.value=e,a.callback(e,t))}}}}))[0]).callback=n,a.facade);return IP((function(){var t=OP.get(o);if(t){var r=new Set(t),n=new Set(e),a=o.current;r.forEach((function(e){n.has(e)||TP(e,null)})),n.forEach((function(e){r.has(e)||TP(e,a)}))}OP.set(o,e)}),[e]),o}var DP={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"};function BP(e){return e}function zP(e,t){void 0===t&&(t=BP);var r=[],n=!1,a={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(e){var a=t(e,n);return r.push(a),function(){r=r.filter((function(e){return e!==a}))}},assignSyncMedium:function(e){for(n=!0;r.length;){var t=r;r=[],t.forEach(e)}r={push:function(t){return e(t)},filter:function(){return r}}},assignMedium:function(e){n=!0;var t=[];if(r.length){var a=r;r=[],a.forEach(e),t=r}var o=function(){var r=t;t=[],r.forEach(e)},i=function(){return Promise.resolve().then(o)};i(),r={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),r}}}};return a}function NP(e,t){return void 0===t&&(t=BP),zP(e,t)}function VP(e){void 0===e&&(e={});var t=zP(null);return t.options=pl({async:!0,ssr:!1},e),t}var FP=NP({},(function(e){return{target:e.target,currentTarget:e.currentTarget}})),HP=NP(),jP=NP(),WP=VP({async:!0,ssr:"undefined"!=typeof document}),$P=(0,U.createContext)(void 0),ZP=[],UP=U.forwardRef((function(e,t){var r,n=U.useState(),a=n[0],o=n[1],i=U.useRef(),l=U.useRef(!1),s=U.useRef(null),c=U.useState({})[1],u=e.children,d=e.disabled,p=void 0!==d&&d,m=e.noFocusGuards,h=void 0!==m&&m,f=e.persistentFocus,v=void 0!==f&&f,b=e.crossFrame,g=void 0===b||b,y=e.autoFocus,E=void 0===y||y,k=(e.allowTextSelection,e.group),w=e.className,x=e.whiteList,_=e.hasPositiveIndices,P=e.shards,C=void 0===P?ZP:P,A=e.as,S=void 0===A?"div":A,R=e.lockProps,M=void 0===R?{}:R,T=e.sideCar,I=e.returnFocus,O=void 0!==I&&I,L=e.focusOptions,D=e.onActivation,B=e.onDeactivation,z=U.useState({})[0],N=U.useCallback((function(e){var t=e.captureFocusRestore;if(!s.current){var r,n=null==(r=document)?void 0:r.activeElement;s.current=n,n!==document.body&&(s.current=t(n))}i.current&&D&&D(i.current),l.current=!0,c()}),[D]),V=U.useCallback((function(){l.current=!1,B&&B(i.current),c()}),[B]),F=U.useCallback((function(e){var t=s.current;if(t){var r=("function"==typeof t?t():t)||document.body,n="function"==typeof O?O(r):O;if(n){var a="object"==typeof n?n:void 0;s.current=null,e?Promise.resolve().then((function(){return r.focus(a)})):r.focus(a)}}}),[O]),H=U.useCallback((function(e){l.current&&FP.useMedium(e)}),[]),j=HP.useMedium,W=U.useCallback((function(e){i.current!==e&&(i.current=e,o(e))}),[]),$=(0,Ut.A)(((r={})[MP]=p&&"disabled",r[RP]=k,r),M),Z=!0!==h,G=Z&&"tail"!==h,q=LP([t,W]),K=U.useMemo((function(){return{observed:i,shards:C,enabled:!p,active:l.current}}),[p,l.current,C,a]);return U.createElement(U.Fragment,null,Z&&[U.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:p?-1:0,style:DP}),_?U.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:p?-1:1,style:DP}):null],!p&&U.createElement(T,{id:z,sideCar:WP,observed:a,disabled:p,persistentFocus:v,crossFrame:g,autoFocus:E,whiteList:x,shards:C,onActivation:N,onDeactivation:V,returnFocus:F,focusOptions:L}),U.createElement(S,(0,Ut.A)({ref:q},$,{className:w,onBlur:j,onFocus:H}),U.createElement($P.Provider,{value:K},u)),G&&U.createElement("div",{"data-focus-guard":!0,tabIndex:p?-1:0,style:DP}))}));UP.propTypes={};const GP=UP;var qP=r(7878);function KP(e){return KP="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},KP(e)}function YP(e){var t=function(e,t){if("object"!=KP(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=KP(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==KP(t)?t:t+""}function XP(e,t,r){return(t=YP(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var QP=function(e){for(var t=Array(e.length),r=0;r<e.length;++r)t[r]=e[r];return t},JP=function(e){return Array.isArray(e)?e:[e]},eC=function(e){return Array.isArray(e)?e[0]:e},tC=function(e){return e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode},rC=function(e){return e===document||e&&e.nodeType===Node.DOCUMENT_NODE},nC=function(e,t){var r=e.get(t);if(void 0!==r)return r;var n=function(e,t){return!e||rC(e)||!function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var t=window.getComputedStyle(e,null);return!(!t||!t.getPropertyValue||"none"!==t.getPropertyValue("display")&&"hidden"!==t.getPropertyValue("visibility"))}(e)&&!function(e){return e.hasAttribute("inert")}(e)&&t(tC(e))}(t,nC.bind(void 0,e));return e.set(t,n),n},aC=function(e,t){var r=e.get(t);if(void 0!==r)return r;var n=function(e,t){return!(e&&!rC(e))||!!sC(e)&&t(tC(e))}(t,aC.bind(void 0,e));return e.set(t,n),n},oC=function(e){return e.dataset},iC=function(e){return"INPUT"===e.tagName},lC=function(e){return iC(e)&&"radio"===e.type},sC=function(e){var t=e.getAttribute("data-no-autofocus");return![!0,"true",""].includes(t)},cC=function(e){var t;return Boolean(e&&(null===(t=oC(e))||void 0===t?void 0:t.focusGuard))},uC=function(e){return!cC(e)},dC=function(e){return Boolean(e)},pC=function(e,t){var r=Math.max(0,e.tabIndex),n=Math.max(0,t.tabIndex),a=r-n,o=e.index-t.index;if(a){if(!r)return 1;if(!n)return-1}return a||o},mC=function(e,t,r){return QP(e).map((function(e,t){var n=function(e){return e.tabIndex<0&&!e.hasAttribute("tabindex")?0:e.tabIndex}(e);return{node:e,index:t,tabIndex:r&&-1===n?(e.dataset||{}).focusGuard?0:-1:n}})).filter((function(e){return!t||e.tabIndex>=0})).sort(pC)},hC=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"].join(","),fC="".concat(hC,", [data-focus-guard]"),vC=function(e,t){return QP((e.shadowRoot||e).children).reduce((function(e,r){return e.concat(r.matches(t?fC:hC)?[r]:[],vC(r))}),[])},bC=function(e,t){return e.reduce((function(e,r){var n,a=vC(r,t),o=(n=[]).concat.apply(n,a.map((function(e){return function(e,t){var r;return e instanceof HTMLIFrameElement&&(null===(r=e.contentDocument)||void 0===r?void 0:r.body)?bC([e.contentDocument.body],t):[e]}(e,t)})));return e.concat(o,r.parentNode?QP(r.parentNode.querySelectorAll(hC)).filter((function(e){return e===r})):[])}),[])},gC=function(e,t){return QP(e).filter((function(e){return nC(t,e)})).filter((function(e){return function(e){return!((iC(e)||function(e){return"BUTTON"===e.tagName}(e))&&("hidden"===e.type||e.disabled))}(e)}))},yC=function(e,t){return void 0===t&&(t=new Map),QP(e).filter((function(e){return aC(t,e)}))},EC=function(e,t,r){return mC(gC(bC(e,r),t),!0,r)},kC=function(e,t){return mC(gC(bC(e),t),!1)},wC=function(e,t){return e.shadowRoot?wC(e.shadowRoot,t):!(void 0===Object.getPrototypeOf(e).contains||!Object.getPrototypeOf(e).contains.call(e,t))||QP(e.children).some((function(e){var r;if(e instanceof HTMLIFrameElement){var n=null===(r=e.contentDocument)||void 0===r?void 0:r.body;return!!n&&wC(n,t)}return wC(e,t)}))},xC=function(e){if(void 0===e&&(e=document),e&&e.activeElement){var t=e.activeElement;return t.shadowRoot?xC(t.shadowRoot):t instanceof HTMLIFrameElement&&function(e){try{return t.contentWindow.document}catch(e){return}}()?xC(t.contentWindow.document):t}},_C=function(e){return e.parentNode?_C(e.parentNode):e},PC=function(e){return JP(e).filter(Boolean).reduce((function(e,t){var r=t.getAttribute(RP);return e.push.apply(e,r?function(e){for(var t=new Set,r=e.length,n=0;n<r;n+=1)for(var a=n+1;a<r;a+=1){var o=e[n].compareDocumentPosition(e[a]);(o&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&t.add(a),(o&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(n)}return e.filter((function(e,r){return!t.has(r)}))}(QP(_C(t).querySelectorAll("[".concat(RP,'="').concat(r,'"]:not([').concat(MP,'="disabled"])')))):[t]),e}),[])},CC=function(e,t){return void 0===t&&(t=xC(eC(e).ownerDocument)),!(!t||t.dataset&&t.dataset.focusGuard)&&PC(e).some((function(e){return wC(e,t)||function(e,t){return Boolean(QP(e.querySelectorAll("iframe")).some((function(e){return function(e,t){return e===t}(e,t)})))}(e,t)}))},AC=function(e,t){e&&("focus"in e&&e.focus(t),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus())},SC=function(e,t){return lC(e)&&e.name?function(e,t){return t.filter(lC).filter((function(t){return t.name===e.name})).filter((function(e){return e.checked}))[0]||e}(e,t):e},RC=function(e){return e[0]&&e.length>1?SC(e[0],e):e[0]},MC=function(e,t){return e.indexOf(SC(t,e))},TC="NEW_FOCUS",IC=function(e,t,r){var n,a=e.map((function(e){return e.node})),o=yC(a.filter((n=r,function(e){var t,r=null===(t=oC(e))||void 0===t?void 0:t.autofocus;return e.autofocus||void 0!==r&&"false"!==r||n.indexOf(e)>=0})));return o&&o.length?RC(o):RC(yC(t))},OC=function(e,t){return void 0===t&&(t=[]),t.push(e),e.parentNode&&OC(e.parentNode.host||e.parentNode,t),t},LC=function(e,t){for(var r=OC(e),n=OC(t),a=0;a<r.length;a+=1){var o=r[a];if(n.indexOf(o)>=0)return o}return!1},DC=function(e,t,r){var n=JP(e),a=JP(t),o=n[0],i=!1;return a.filter(Boolean).forEach((function(e){i=LC(i||e,e)||i,r.filter(Boolean).forEach((function(e){var t=LC(o,e);t&&(i=!i||wC(t,i)?t:LC(t,i))}))})),i},BC=function(e,t){return e.reduce((function(e,r){return e.concat(function(e,t){return gC((r=e.querySelectorAll("[".concat("data-autofocus-inside","]")),QP(r).map((function(e){return bC([e])})).reduce((function(e,t){return e.concat(t)}),[])),t);var r}(r,t))}),[])},zC=function(e,t){var r=xC(JP(e).length>0?document:eC(e).ownerDocument),n=PC(e).filter(uC),a=DC(r||e,e,n),o=new Map,i=kC(n,o),l=i.filter((function(e){var t=e.node;return uC(t)}));if(l[0]){var s,c,u,d=kC([a],o).map((function(e){return e.node})),p=(s=d,c=l,u=new Map,c.forEach((function(e){return u.set(e.node,e)})),s.map((function(e){return u.get(e)})).filter(dC)),m=p.map((function(e){return e.node})),h=p.filter((function(e){return e.tabIndex>=0})).map((function(e){return e.node})),f=function(e,t,r,n,a){var o=e.length,i=e[0],l=e[o-1],s=cC(n);if(!(n&&e.indexOf(n)>=0)){var c=void 0!==n?r.indexOf(n):-1,u=a?r.indexOf(a):c,d=a?e.indexOf(a):-1;if(-1===c)return-1!==d?d:TC;if(-1===d)return TC;var p,m,h=c-u,f=r.indexOf(i),v=r.indexOf(l),b=(p=r,m=new Set,p.forEach((function(e){return m.add(SC(e,p))})),p.filter((function(e){return m.has(e)}))),g=(void 0!==n?b.indexOf(n):-1)-(a?b.indexOf(a):c);if(!h&&d>=0)return d;if(0===t.length)return d;var y=MC(e,t[0]),E=MC(e,t[t.length-1]);return c<=f&&s&&Math.abs(h)>1?E:c>=v&&s&&Math.abs(h)>1?y:h&&Math.abs(g)>1?d:c<=f?E:c>v?y:h?Math.abs(h)>1?d:(o+d+h)%o:void 0}}(m,h,d,r,t);if(f===TC){var v=IC(i,h,BC(n,o))||IC(i,m,BC(n,o));return v?{node:v}:void console.warn("focus-lock: cannot find any node to move focus into")}return void 0===f?f:p[f]}},NC=0,VC=!1,FC=function(e,t,r){void 0===r&&(r={});var n=zC(e,t);if(!VC&&n){if(NC>2)return console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),VC=!0,void setTimeout((function(){VC=!1}),1);NC++,AC(n.node,r.focusOptions),NC--}},HC=function(e,t,r){void 0===t&&(t={});var n=function(e){return Object.assign({scope:document.body,cycle:!0,onlyTabbable:!0},e)}(t),a=function(e,t,r){if(!e||!t)return console.error("no element or scope given"),{};var n=JP(t);if(n.every((function(t){return!wC(t,e)})))return console.error("Active element is not contained in the scope"),{};var a=r?EC(n,new Map):kC(n,new Map),o=a.findIndex((function(t){return t.node===e}));return-1!==o?{prev:a[o-1],next:a[o+1],first:a[0],last:a[a.length-1]}:void 0}(e,n.scope,n.onlyTabbable);if(a){var o=r(a,n.cycle);o&&AC(o.node,n.focusOptions)}},jC=function(e,t,r){var n,a,o,i,l=(a=e,o=null===(n=t.onlyTabbable)||void 0===n||n,{first:(i=o?EC(JP(a),new Map):kC(JP(a),new Map))[0],last:i[i.length-1]})[r];l&&AC(l.node,t.focusOptions)};function WC(e){if(!e)return null;if("undefined"==typeof WeakRef)return function(){return e||null};var t=e?new WeakRef(e):null;return function(){return(null==t?void 0:t.deref())||null}}function $C(e){setTimeout(e,1)}var ZC=function(e){return e&&"current"in e?e.current:e},UC=null,GC=null,qC=null,KC=!1,YC=function(){return!0};function XC(e,t,r,n){var a=null,o=e;do{var i=n[o];if(i.guard)i.node.dataset.focusAutoGuard&&(a=i);else{if(!i.lockItem)break;if(o!==e)return;a=null}}while((o+=r)!==t);a&&(a.node.tabIndex=0)}var QC=function e(t,r,n){return r&&(r.host===t&&(!r.activeElement||n.contains(r.activeElement))||r.parentNode&&e(t,r.parentNode,n))},JC=function(){var e,t,r,n,a,o,i=!1;if(UC){var l=UC,s=l.observed,c=l.persistentFocus,u=l.autoFocus,d=l.shards,p=l.crossFrame,m=l.focusOptions,h=s||qC&&qC.portaledElement,f=document&&document.activeElement;if(h){var v=[h].concat(d.map(ZC).filter(Boolean));if(f&&!function(e){return(UC.whiteList||YC)(e)}(f)||(c||(p?Boolean(KC):"meanwhile"===KC)||!(document&&document.activeElement===document.body||function(e){void 0===e&&(e=document);var t=xC(e);return!!t&&QP(e.querySelectorAll("[".concat("data-no-focus-lock","]"))).some((function(e){return wC(e,t)}))}())||!GC&&u)&&(h&&!(CC(v)||f&&function(e,t){return t.some((function(t){return QC(e,t,t)}))}(f,v)||(o=f,qC&&qC.portaledElement===o))&&(document&&!GC&&f&&!u?(f.blur&&f.blur(),document.body.focus()):(i=FC(v,GC,{focusOptions:m}),qC={})),KC=!1,GC=document&&document.activeElement),document&&f!==document.activeElement&&document.querySelector("[data-focus-auto-guard]")){var b=document&&document.activeElement,g=(t=PC(e=v).filter(uC),r=DC(e,e,t),n=mC(bC([r],!0),!0,!0),a=bC(t,!1),n.map((function(e){var t=e.node;return{node:t,index:e.index,lockItem:a.indexOf(t)>=0,guard:cC(t)}}))),y=g.map((function(e){return e.node})).indexOf(b);y>-1&&(g.filter((function(e){var t=e.guard,r=e.node;return t&&r.dataset.focusAutoGuard})).forEach((function(e){return e.node.removeAttribute("tabIndex")})),XC(y,g.length,1,g),XC(y,-1,-1,g))}}}return i},eA=function(e){JC()&&e&&(e.stopPropagation(),e.preventDefault())},tA=function(){return $C(JC)},rA=function(){KC="just",$C((function(){KC="meanwhile"}))},nA={moveFocusInside:FC,focusInside:CC,focusNextElement:function(e,t){void 0===t&&(t={}),HC(e,t,(function(e,t){var r=e.next,n=e.first;return r||t&&n}))},focusPrevElement:function(e,t){void 0===t&&(t={}),HC(e,t,(function(e,t){var r=e.prev,n=e.last;return r||t&&n}))},focusFirstElement:function(e,t){void 0===t&&(t={}),jC(e,t,"first")},focusLastElement:function(e,t){void 0===t&&(t={}),jC(e,t,"last")},captureFocusRestore:function(e){var t=function(e){if(!e)return null;for(var t=[],r=e;r&&r!==document.body;)t.push({current:WC(r),parent:WC(r.parentElement),left:WC(r.previousElementSibling),right:WC(r.nextElementSibling)}),r=r.parentElement;return{element:WC(e),stack:t,ownerDocument:e.ownerDocument}}(e);return function(){return function(e){var t,r,n,a,o;if(e)for(var i=e.stack,l=e.ownerDocument,s=new Map,c=0,u=i;c<u.length;c++){var d=u[c],p=null===(t=d.parent)||void 0===t?void 0:t.call(d);if(p&&l.contains(p)){for(var m=null===(r=d.left)||void 0===r?void 0:r.call(d),h=d.current(),f=p.contains(h)?h:void 0,v=null===(n=d.right)||void 0===n?void 0:n.call(d),b=EC([p],s),g=null!==(o=null!==(a=null!=f?f:null==m?void 0:m.nextElementSibling)&&void 0!==a?a:v)&&void 0!==o?o:m;g;){for(var y=0,E=b;y<E.length;y++){var k=E[y];if(null==g?void 0:g.contains(k.node))return k.node}g=g.nextElementSibling}if(b.length)return b[0].node}}}(t)}}};FP.assignSyncMedium((function(e){var t=e.target,r=e.currentTarget;r.contains(t)||(qC={observerNode:r,portaledElement:t})})),HP.assignMedium(tA),jP.assignMedium((function(e){return e(nA)}));const aA=(oA=function(e){return e.filter((function(e){return!e.disabled}))},iA=function(e){var t=e.slice(-1)[0];t&&!UC&&(document.addEventListener("focusin",eA),document.addEventListener("focusout",tA),window.addEventListener("blur",rA));var r=UC,n=r&&t&&t.id===r.id;UC=t,r&&!n&&(r.onDeactivation(),e.filter((function(e){return e.id===r.id})).length||r.returnFocus(!t)),t?(GC=null,n&&r.observed===t.observed||t.onActivation(nA),JC(),$C(JC)):(document.removeEventListener("focusin",eA),document.removeEventListener("focusout",tA),window.removeEventListener("blur",rA),GC=null)},function(e){var t,r=[];function n(){t=oA(r.map((function(e){return e.props}))),iA(t)}var a=function(a){function o(){return a.apply(this,arguments)||this}(0,qP.A)(o,a),o.peek=function(){return t};var i=o.prototype;return i.componentDidMount=function(){r.push(this),n()},i.componentDidUpdate=function(){n()},i.componentWillUnmount=function(){var e=r.indexOf(this);r.splice(e,1),n()},i.render=function(){return G().createElement(e,this.props)},o}(U.PureComponent);return XP(a,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(e)+")"),a})((function(){return null}));var oA,iA,lA=U.forwardRef((function(e,t){return U.createElement(GP,(0,Ut.A)({sideCar:aA,ref:t},e))})),sA=GP.propTypes||{};sA.sideCar,SP(sA,["sideCar"]),lA.propTypes={};const cA=lA;var uA=e=>e.hasAttribute("tabindex"),dA=e=>uA(e)&&-1===e.tabIndex;function pA(e){return!(!e.parentElement||!pA(e.parentElement))||e.hidden}function mA(e){if(!so(e)||pA(e)||function(e){return!0===Boolean(e.getAttribute("disabled"))||!0===Boolean(e.getAttribute("aria-disabled"))}(e))return!1;const{localName:t}=e;if(["input","select","textarea","button"].indexOf(t)>=0)return!0;const r={a:()=>e.hasAttribute("href"),audio:()=>e.hasAttribute("controls"),video:()=>e.hasAttribute("controls")};return t in r?r[t]():!!function(e){const t=e.getAttribute("contenteditable");return"false"!==t&&null!=t}(e)||uA(e)}var hA,fA=["input:not(:disabled):not([disabled])","select:not(:disabled):not([disabled])","textarea:not(:disabled):not([disabled])","embed","iframe","object","a[href]","area[href]","button:not(:disabled):not([disabled])","[tabindex]","audio[controls]","video[controls]","*[tabindex]:not([aria-disabled])","*[contenteditable]"].join();var vA=null!=(hA=cA.default)?hA:cA,bA=e=>{const{initialFocusRef:t,finalFocusRef:r,contentRef:n,restoreFocus:a,children:o,isDisabled:i,autoFocus:l,persistentFocus:s,lockFocusAcrossFrames:c}=e,u=(0,U.useCallback)((()=>{(null==t?void 0:t.current)?t.current.focus():(null==n?void 0:n.current)&&0===function(e){const t=Array.from(e.querySelectorAll(fA));return t.unshift(e),t.filter((e=>mA(e)&&(e=>e.offsetWidth>0&&e.offsetHeight>0)(e)))}(n.current).length&&requestAnimationFrame((()=>{var e;null==(e=n.current)||e.focus()}))}),[t,n]),d=(0,U.useCallback)((()=>{var e;null==(e=null==r?void 0:r.current)||e.focus()}),[r]),p=a&&!r;return(0,Ma.jsx)(vA,{crossFrame:c,persistentFocus:s,autoFocus:l,disabled:i,onActivation:u,onDeactivation:d,returnFocus:p,children:o})};bA.displayName="FocusLock";var gA="right-scroll-bar-position",yA="width-before-scroll-bar",EA=VP(),kA=function(){},wA=U.forwardRef((function(e,t){var r=U.useRef(null),n=U.useState({onScrollCapture:kA,onWheelCapture:kA,onTouchMoveCapture:kA}),a=n[0],o=n[1],i=e.forwardProps,l=e.children,s=e.className,c=e.removeScrollBar,u=e.enabled,d=e.shards,p=e.sideCar,m=e.noIsolation,h=e.inert,f=e.allowPinchZoom,v=e.as,b=void 0===v?"div":v,g=e.gapMode,y=ml(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),E=p,k=LP([r,t]),w=pl(pl({},y),a);return U.createElement(U.Fragment,null,u&&U.createElement(E,{sideCar:EA,removeScrollBar:c,shards:d,noIsolation:m,inert:h,setCallbacks:o,allowPinchZoom:!!f,lockRef:r,gapMode:g}),i?U.cloneElement(U.Children.only(l),pl(pl({},w),{ref:k})):U.createElement(b,pl({},w,{className:s,ref:k}),l))}));wA.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},wA.classNames={fullWidth:yA,zeroRight:gA};var xA=function(e){var t=e.sideCar,r=ml(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw new Error("Sidecar medium not found");return U.createElement(n,pl({},r))};xA.isSideCarExport=!0;var _A=function(){var e=0,t=null;return{add:function(n){var a;0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=r.nc;return t&&e.setAttribute("nonce",t),e}())&&(function(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}(t,n),a=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(a)),e++},remove:function(){! --e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},PA=function(){var e,t=(e=_A(),function(t,r){U.useEffect((function(){return e.add(t),function(){e.remove()}}),[t&&r])});return function(e){var r=e.styles,n=e.dynamic;return t(r,n),null}},CA={left:0,top:0,right:0,gap:0},AA=function(e){return parseInt(e||"",10)||0},SA=PA(),RA="data-scroll-locked",MA=function(e,t,r,n){var a=e.left,o=e.top,i=e.right,l=e.gap;return void 0===r&&(r="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(n,";\n padding-right: ").concat(l,"px ").concat(n,";\n }\n body[").concat(RA,"] {\n overflow: hidden ").concat(n,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(n,";"),"margin"===r&&"\n padding-left: ".concat(a,"px;\n padding-top: ").concat(o,"px;\n padding-right: ").concat(i,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(l,"px ").concat(n,";\n "),"padding"===r&&"padding-right: ".concat(l,"px ").concat(n,";")].filter(Boolean).join(""),"\n }\n \n .").concat(gA," {\n right: ").concat(l,"px ").concat(n,";\n }\n \n .").concat(yA," {\n margin-right: ").concat(l,"px ").concat(n,";\n }\n \n .").concat(gA," .").concat(gA," {\n right: 0 ").concat(n,";\n }\n \n .").concat(yA," .").concat(yA," {\n margin-right: 0 ").concat(n,";\n }\n \n body[").concat(RA,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(l,"px;\n }\n")},TA=function(){var e=parseInt(document.body.getAttribute(RA)||"0",10);return isFinite(e)?e:0},IA=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,a=void 0===n?"margin":n;U.useEffect((function(){return document.body.setAttribute(RA,(TA()+1).toString()),function(){var e=TA()-1;e<=0?document.body.removeAttribute(RA):document.body.setAttribute(RA,e.toString())}}),[]);var o=U.useMemo((function(){return function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return CA;var t=function(e){var t=window.getComputedStyle(document.body),r=t["padding"===e?"paddingLeft":"marginLeft"],n=t["padding"===e?"paddingTop":"marginTop"],a=t["padding"===e?"paddingRight":"marginRight"];return[AA(r),AA(n),AA(a)]}(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}}(a)}),[a]);return U.createElement(SA,{styles:MA(o,!t,a,r?"":"!important")})},OA=!1;if("undefined"!=typeof window)try{var LA=Object.defineProperty({},"passive",{get:function(){return OA=!0,!0}});window.addEventListener("test",LA,LA),window.removeEventListener("test",LA,LA)}catch(e){OA=!1}var DA=!!OA&&{passive:!1},BA=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return"hidden"!==r[t]&&!(r.overflowY===r.overflowX&&!function(e){return"TEXTAREA"===e.tagName}(e)&&"visible"===r[t])},zA=function(e,t){var r=t.ownerDocument,n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),NA(e,n)){var a=VA(e,n);if(a[1]>a[2])return!0}n=n.parentNode}while(n&&n!==r.body);return!1},NA=function(e,t){return"v"===e?function(e){return BA(e,"overflowY")}(t):function(e){return BA(e,"overflowX")}(t)},VA=function(e,t){return"v"===e?function(e){return[e.scrollTop,e.scrollHeight,e.clientHeight]}(t):function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t)},FA=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},HA=function(e){return[e.deltaX,e.deltaY]},jA=function(e){return e&&"current"in e?e.current:e},WA=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},$A=0,ZA=[];function UA(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const GA=(qA=function(e){var t=U.useRef([]),r=U.useRef([0,0]),n=U.useRef(),a=U.useState($A++)[0],o=U.useState(PA)[0],i=U.useRef(e);U.useEffect((function(){i.current=e}),[e]),U.useEffect((function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var t=fl([e.lockRef.current],(e.shards||[]).map(jA),!0).filter(Boolean);return t.forEach((function(e){return e.classList.add("allow-interactivity-".concat(a))})),function(){document.body.classList.remove("block-interactivity-".concat(a)),t.forEach((function(e){return e.classList.remove("allow-interactivity-".concat(a))}))}}}),[e.inert,e.lockRef.current,e.shards]);var l=U.useCallback((function(e,t){if("touches"in e&&2===e.touches.length)return!i.current.allowPinchZoom;var a,o=FA(e),l=r.current,s="deltaX"in e?e.deltaX:l[0]-o[0],c="deltaY"in e?e.deltaY:l[1]-o[1],u=e.target,d=Math.abs(s)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===d&&"range"===u.type)return!1;var p=zA(d,u);if(!p)return!0;if(p?a=d:(a="v"===d?"h":"v",p=zA(d,u)),!p)return!1;if(!n.current&&"changedTouches"in e&&(s||c)&&(n.current=a),!a)return!0;var m=n.current||a;return function(e,t,r,n,a){var o=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),i=o*n,l=r.target,s=t.contains(l),c=!1,u=i>0,d=0,p=0;do{var m=VA(e,l),h=m[0],f=m[1]-m[2]-o*h;(h||f)&&NA(e,l)&&(d+=f,p+=h),l=l instanceof ShadowRoot?l.host:l.parentNode}while(!s&&l!==document.body||s&&(t.contains(l)||t===l));return(u&&(Math.abs(d)<1||!1)||!u&&(Math.abs(p)<1||!1))&&(c=!0),c}(m,t,e,"h"===m?s:c)}),[]),s=U.useCallback((function(e){var r=e;if(ZA.length&&ZA[ZA.length-1]===o){var n="deltaY"in r?HA(r):FA(r),a=t.current.filter((function(e){return e.name===r.type&&(e.target===r.target||r.target===e.shadowParent)&&function(e,t){return e[0]===t[0]&&e[1]===t[1]}(e.delta,n)}))[0];if(a&&a.should)r.cancelable&&r.preventDefault();else if(!a){var s=(i.current.shards||[]).map(jA).filter(Boolean).filter((function(e){return e.contains(r.target)}));(s.length>0?l(r,s[0]):!i.current.noIsolation)&&r.cancelable&&r.preventDefault()}}}),[]),c=U.useCallback((function(e,r,n,a){var o={name:e,delta:r,target:n,should:a,shadowParent:UA(n)};t.current.push(o),setTimeout((function(){t.current=t.current.filter((function(e){return e!==o}))}),1)}),[]),u=U.useCallback((function(e){r.current=FA(e),n.current=void 0}),[]),d=U.useCallback((function(t){c(t.type,HA(t),t.target,l(t,e.lockRef.current))}),[]),p=U.useCallback((function(t){c(t.type,FA(t),t.target,l(t,e.lockRef.current))}),[]);U.useEffect((function(){return ZA.push(o),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener("wheel",s,DA),document.addEventListener("touchmove",s,DA),document.addEventListener("touchstart",u,DA),function(){ZA=ZA.filter((function(e){return e!==o})),document.removeEventListener("wheel",s,DA),document.removeEventListener("touchmove",s,DA),document.removeEventListener("touchstart",u,DA)}}),[]);var m=e.removeScrollBar,h=e.inert;return U.createElement(U.Fragment,null,h?U.createElement(o,{styles:WA(a)}):null,m?U.createElement(IA,{gapMode:e.gapMode}):null)},EA.useMedium(qA),xA);var qA,KA=U.forwardRef((function(e,t){return U.createElement(wA,pl({},e,{ref:t,sideCar:GA}))}));KA.classNames=wA.classNames;const YA=KA;function XA(e){const{autoFocus:t,trapFocus:r,dialogRef:n,initialFocusRef:a,blockScrollOnMount:o,allowPinchZoom:i,finalFocusRef:l,returnFocusOnClose:s,preserveScrollBarGap:c,lockFocusAcrossFrames:u,isOpen:d}=CP(),[p,m]=Uc();(0,U.useEffect)((()=>{!p&&m&&setTimeout(m)}),[p,m]);const h=fP(n,d);return(0,Ma.jsx)(bA,{autoFocus:t,isDisabled:!r,initialFocusRef:a,finalFocusRef:l,restoreFocus:s,contentRef:n,lockFocusAcrossFrames:u,children:(0,Ma.jsx)(YA,{removeScrollBar:!c,allowPinchZoom:i,enabled:1===h&&o,forwardProps:!0,children:e.children})})}var QA=$e(((e,t)=>{const{className:r,children:n,containerProps:a,motionProps:o,...i}=e,{getDialogProps:l,getDialogContainerProps:s}=CP(),c=l(i,t),u=s(a),d=ie("chakra-modal__content",r),p=_P(),m={display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,...p.dialog},h={display:"flex",width:"100vw",height:"$100vh",position:"fixed",left:0,top:0,...p.dialogContainer},{motionPreset:f}=CP();return(0,Ma.jsx)(XA,{children:(0,Ma.jsx)(Ra.div,{...u,className:"chakra-modal__content-container",tabIndex:-1,__css:h,children:(0,Ma.jsx)(pP,{preset:f,motionProps:o,className:d,...c,__css:m,children:n})})})}));function JA(e){const{leastDestructiveRef:t,...r}=e;return(0,Ma.jsx)(AP,{...r,initialFocusRef:t})}QA.displayName="ModalContent";var eS=$e(((e,t)=>(0,Ma.jsx)(QA,{ref:t,role:"alertdialog",...e}))),tS={enter:({transition:e,transitionEnd:t,delay:r}={})=>{var n;return{opacity:1,transition:null!=(n=null==e?void 0:e.enter)?n:tP(eP.enter,r),transitionEnd:null==t?void 0:t.enter}},exit:({transition:e,transitionEnd:t,delay:r}={})=>{var n;return{opacity:0,transition:null!=(n=null==e?void 0:e.exit)?n:rP(eP.exit,r),transitionEnd:null==t?void 0:t.exit}}},rS={initial:"exit",animate:"enter",exit:"exit",variants:tS},nS=(0,U.forwardRef)((function(e,t){const{unmountOnExit:r,in:n,className:a,transition:o,transitionEnd:i,delay:l,...s}=e,c=n||r?"enter":"exit",u=!r||n&&r,d={transition:o,transitionEnd:i,delay:l};return(0,Ma.jsx)(Kh,{custom:d,children:u&&(0,Ma.jsx)($h.div,{ref:t,className:ie("chakra-fade",a),custom:d,...rS,animate:c,...s})})}));nS.displayName="Fade";var aS=Ra($h.div),oS=$e(((e,t)=>{const{className:r,transition:n,motionProps:a,...o}=e,i=ie("chakra-modal__overlay",r),l={pos:"fixed",left:"0",top:"0",w:"100vw",h:"100vh",..._P().overlay},{motionPreset:s}=CP(),c=a||("none"===s?{}:rS);return(0,Ma.jsx)(aS,{...c,__css:l,ref:t,className:i,...o})}));oS.displayName="ModalOverlay";var iS=$e(((e,t)=>{const{className:r,...n}=e,{headerId:a,setHeaderMounted:o}=CP();(0,U.useEffect)((()=>(o(!0),()=>o(!1))),[o]);const i=ie("chakra-modal__header",r),l={flex:0,..._P().header};return(0,Ma.jsx)(Ra.header,{ref:t,className:i,id:a,...n,__css:l})}));iS.displayName="ModalHeader";var lS=$e(((e,t)=>{const{className:r,...n}=e,{bodyId:a,setBodyMounted:o}=CP();(0,U.useEffect)((()=>(o(!0),()=>o(!1))),[o]);const i=ie("chakra-modal__body",r),l=_P();return(0,Ma.jsx)(Ra.div,{ref:t,className:i,id:a,...n,__css:l.body})}));lS.displayName="ModalBody";var sS=$e(((e,t)=>{const{className:r,...n}=e,a=ie("chakra-modal__footer",r),o={display:"flex",alignItems:"center",justifyContent:"flex-end",..._P().footer};return(0,Ma.jsx)(Ra.footer,{ref:t,...n,__css:o,className:a})}));sS.displayName="ModalFooter";var cS=Ra("span",{baseStyle:y_});cS.displayName="VisuallyHidden",Ra("input",{baseStyle:y_}).displayName="VisuallyHiddenInput";var uS=$e((function(e,t){const{htmlSize:r,...n}=e,a=fa("Input",n),o=eo(sa(n)),i=ie("chakra-input",e.className);return(0,Ma.jsx)(Ra.input,{size:r,...o,__css:a.field,ref:t,className:i})}));uS.displayName="Input",uS.id="Input";const dS={borderColor:"#949494 !important",borderRadius:"2px !important",fontSize:"xs",fontWeight:"var(--chakra-fontWeights-normal) !important",color:"#222222 !important",minH:"40px !important",_focus:{borderColor:"primary.500 !important",outline:"none !important",boxShadow:"none !important"}},pS=e=>{const{label:t,onChange:r,value:n,hiddenLabel:a,...o}=e,i=Qv(r),[l,s]=G().useState(n),c=a?cS:pf;return G().createElement(Qa,{display:"inline-block"},G().createElement(c,{mb:2},t),G().createElement(uS,(0,Ut.A)({value:l,onChange:e=>{s(e.target.value),i(e.target.value)}},dS,o)))},mS={display:"grid",gridTemplateColumns:"repeat(2, 1fr)",gridGap:"8px",borderWidth:"0",gridTemplateRows:"repeat(4, 132px)",height:"100vh",sx:{".chakra-button":{flexDirection:"column",p:"6px",border:"1px",borderColor:"gray.200",borderRadius:"4px",gap:"4px",color:"#222222",fontSize:"11px",fontWeight:"600",lineHeight:"16px",height:"130px","&:focus":{bgColor:"white",color:"#222222"},"&[data-active]":{bgColor:"transparent",borderColor:"primary.500",color:"#222222"},svg:{width:"100%",height:"auto"},"svg, svg > rect":{fill:"#909090 !important"}}}},hS="white url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' fill-opacity='.1'%3E%3Cpath d='M200 0h200v200H200zM0 200h200v200H0z'/%3E%3C/svg%3E\")",fS=e=>G().createElement(Ba,{display:"inline-grid",gridAutoFlow:"column",position:"relative",sx:{"> div":{position:"relative",justifySelf:"start",gridRowStart:1,gridColumnStart:1}}},e.items.map(((e,t)=>{var r;return G().createElement(Ba,{key:t,bg:null!==(r=e?.color)&&void 0!==r?r:hS,bgSize:"15%",w:"20px",h:"20px",borderRadius:"full",zIndex:t,marginInlineStart:`calc(${t} * 15px)`,border:"1px",borderColor:"gray.200"})}))),vS=["primary","secondary","text","accent"],bS=()=>{const{styles:e,updateStyleByKey:t,removeStyleByKey:r}=BN(),[n,a]=G().useState(""),{isOpen:o,onOpen:i,onClose:l}=G_(),s=G().useRef(null);return G().createElement(Zv.Panel,null,G().createElement(Ba,{as:Zv.PanelBody,initialOpen:!0,title:(0,K.__)("Color"),mb:"1px"},G().createElement(Y_,null,e.colors.filter((e=>vS.includes(e.id))).map((e=>G().createElement(X_,{key:e.id,sx:{".chakra-form-control":{py:"12px"}},mb:"0"},G().createElement(BV,{label:e.name,trigger:t=>G().createElement(BV.Trigger,t,G().createElement(fS,{items:[{color:e.value,id:e.id}]})),closeOnFocusOutside:!0,popoverDivProps:{sx:{".components-popover__content":{p:4}}},popoverProps:{offset:16}},G().createElement(UN,{value:e.value,onChange:r=>{t("colors",{...e,value:r})},showGlobalPalette:!1}))))),G().createElement(X_,{display:"flex",alignItems:"center",justifyContent:"space-between",py:"12px",mb:"0"},"Custom Color"," ",G().createElement(cf,{variant:"icon",onClick:()=>t("colors",{id:"",name:"",value:new Ff({r:255*Math.random(),g:255*Math.random(),b:255*Math.random()}).toHex()})},G().createElement("svg",{stroke:"currentColor",fill:"currentColor",strokeWidth:"0",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},G().createElement("path",{d:"M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32V224H48c-17.7 0-32 14.3-32 32s14.3 32 32 32H192V432c0 17.7 14.3 32 32 32s32-14.3 32-32V288H400c17.7 0 32-14.3 32-32s-14.3-32-32-32H256V80z"})))),e.colors.filter((e=>!vS.includes(e.id))).map((e=>G().createElement(X_,{key:e.id,mb:"0",sx:{"> .chakra-form-control":{py:"12px"}}},G().createElement(BV,{label:()=>G().createElement(pS,{label:e.name,value:e.name,onChange:r=>t("colors",{...e,name:r}),hiddenLabel:!0,border:"none",borderColor:"var(--chakra-colors-primary-500)!important",_focus:{border:"1px",borderColor:"var(--chakra-colors-primary-500)!important",outline:"none !important",boxShadow:"none !important",px:2},h:"28px",minH:"28px !important",px:"0"}),trigger:t=>G().createElement(Ua,null,G().createElement(cf,{onClick:()=>{a(e.id),i()},variant:"icon",sx:{svg:{color:"gray.400",w:"14px",h:"14px"}}},G().createElement("svg",{stroke:"currentColor",fill:"none",strokeWidth:"2",viewBox:"0 0 24 24","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg"},G().createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"}))),G().createElement(BV.Trigger,t,G().createElement(fS,{items:[{color:e.value,id:e.id}]}))),closeOnFocusOutside:!0,popoverDivProps:{sx:{".components-popover__content":{p:4}}},popoverProps:{offset:16}},G().createElement(UN,{value:e.value,onChange:r=>{t("colors",{...e,value:r})},showGlobalPalette:!1}))))))),G().createElement(JA,{isOpen:o,leastDestructiveRef:s,onClose:()=>{l(),a("")}},G().createElement(oS,null,G().createElement(eS,null,G().createElement(iS,{fontSize:"lg",fontWeight:"bold"},(0,K.sprintf)((0,K.__)("Delete color #%s","blockart"),n)),G().createElement(lS,null,(0,K.__)("Are you sure? You cannot undo this action afterwards.","blockart")),G().createElement(sS,null,G().createElement(cf,{ref:s,variant:"outline",size:"sm",onClick:()=>{l(),a("")}},(0,K.__)("Cancel","blockart")),G().createElement(cf,{size:"sm",onClick:()=>{l(),r("colors",n)},ml:3},(0,K.__)("Delete","blockart")))))))};var gS=$e((function(e,t){const{className:r,centerContent:n,...a}=sa(e),o=ha("Container",e);return(0,Ma.jsx)(Ra.div,{ref:t,className:ie("chakra-container",r),...a,__css:{...o,...n&&{display:"flex",flexDirection:"column",alignItems:"center"}}})}));gS.displayName="Container";var yS=$e((function(e,t){const{templateAreas:r,gap:n,rowGap:a,columnGap:o,column:i,row:l,autoFlow:s,autoRows:c,templateRows:u,autoColumns:d,templateColumns:p,...m}=e,h={display:"grid",gridTemplateAreas:r,gridGap:n,gridRowGap:a,gridColumnGap:o,gridAutoColumns:d,gridColumn:i,gridRow:l,gridAutoFlow:s,gridAutoRows:c,gridTemplateRows:u,gridTemplateColumns:p};return(0,Ma.jsx)(Ra.div,{ref:t,__css:h,...m})}));yS.displayName="Grid";var ES=$e((function(e,t){const{columns:r,spacingX:n,spacingY:a,spacing:o,minChildWidth:i,...l}=e,s=wr(),c=i?function(e,t){return $a(e,(e=>{const r=Pr("sizes",e,"number"==typeof(n=e)?`${n}px`:n)(t);var n;return null===e?null:`repeat(auto-fit, minmax(${r}, 1fr))`}))}(i,s):$a(r,(e=>null===e?null:`repeat(${e}, minmax(0, 1fr))`));return(0,Ma.jsx)(yS,{ref:t,gap:o,columnGap:n,rowGap:a,templateColumns:c,...l})}));ES.displayName="SimpleGrid";var kS=$e(((e,t)=>(0,Ma.jsx)(Za,{align:"center",...e,direction:"column",ref:t})));kS.displayName="VStack";const wS=()=>{const{styles:e}=BN();return G().useEffect((()=>{wp.data.dispatch("core/block-editor").clearSelectedBlock()}),[]),G().createElement(Ba,{position:"absolute",top:0,left:0,w:"full",h:"full",zIndex:1,p:"40px",bg:"white"},G().createElement(Oa,{align:"center"},G().createElement(La,null,G().createElement(Da,null,"Color"),G().createElement(Da,null,"Text")),G().createElement(Va,{mt:"16"},G().createElement(Fa,null,G().createElement(gS,{maxW:"600px"},G().createElement(Ua,{spacing:"40px"},G().createElement(Ba,{alignSelf:"flex-start"},G().createElement(N_,{as:"span"},"DEFAULT")),G().createElement(ES,{columns:2,w:"full",spacing:"8px"},e.colors.filter((e=>LN.includes(e.id))).map((e=>G().createElement(Ba,{key:e.id,textAlign:"left",mb:"8px"},G().createElement(Ba,{height:"100px",bgColor:`var(--ba-colors-${e.id})`}),G().createElement(N_,{as:"span",mt:"4px"},e.name)))))),G().createElement(Ua,{mt:"60px",spacing:"40px"},G().createElement(Ba,{alignSelf:"flex-start"},G().createElement(N_,{as:"span"},"CUSTOM")),G().createElement(ES,{columns:2,w:"full",spacing:"8px"},e.colors.filter((e=>!LN.includes(e.id))).map((e=>G().createElement(Ba,{key:e.id,textAlign:"left",mb:"8px"},G().createElement(Ba,{height:"100px",bgColor:`var(--ba-colors-${e.id})`}),G().createElement(N_,{as:"span",mt:"4px"},e.name)))))))),G().createElement(Fa,null,G().createElement(gS,{maxW:"600px"},G().createElement(Ua,{spacing:"40px"},G().createElement(Ba,{alignSelf:"flex-start"},G().createElement(N_,{as:"span"},"DEFAULT")),G().createElement(kS,{spacing:"8px",w:"full"},e.typographies.filter((e=>LN.includes(e.id))).map((e=>G().createElement(Ba,{key:e.id,textAlign:"left",border:"1px",borderColor:"gray.200",w:"full",p:"4",borderRadius:"base",bg:"gray.100"},G().createElement(N_,{as:"span",mt:"4px"},e.name),G().createElement(N_,{className:`ba-typography-${e.id}`},"The quiz fox jumps over lazy dog.")))))),G().createElement(Ua,{mt:"60px",spacing:"40px"},G().createElement(Ba,{alignSelf:"flex-start"},G().createElement(N_,{as:"span"},"CUSTOM")),G().createElement(kS,{spacing:"8px",w:"full"},e.typographies.filter((e=>!LN.includes(e.id))).map((e=>G().createElement(Ba,{key:e.id,textAlign:"left",border:"1px",borderColor:"gray.200",w:"full",p:"4",borderRadius:"sm",bg:"gray.100"},G().createElement(N_,{as:"span",mt:"4px"},e.name),G().createElement(N_,{className:`ba-typography-${e.id}`},"The quiz fox jumps over lazy dog.")))))))))))};function xS(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 _S(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?xS(Object(r),!0).forEach((function(t){XP(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xS(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function PS(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function CS(e,t){if(e){if("string"==typeof e)return PS(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?PS(e,t):void 0}}function AS(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,o,i,l=[],s=!0,c=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=o.call(r)).done)&&(l.push(n.value),l.length!==t);s=!0);}catch(e){c=!0,a=e}finally{try{if(!s&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(c)throw a}}return l}}(e,t)||CS(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function SS(e,t){if(null==e)return{};var r,n,a=SP(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||{}.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var RS=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function MS(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,YP(n.key),n)}}var TS=r(8269);function IS(e){return IS=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},IS(e)}function OS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(OS=function(){return!!e})()}function LS(e){return function(e){if(Array.isArray(e))return PS(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||CS(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}const DS=Math.min,BS=Math.max,zS=Math.round,NS=Math.floor,VS=e=>({x:e,y:e});function FS(e){return WS(e)?(e.nodeName||"").toLowerCase():"#document"}function HS(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function jS(e){var t;return null==(t=(WS(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function WS(e){return e instanceof Node||e instanceof HS(e).Node}function $S(e){return e instanceof Element||e instanceof HS(e).Element}function ZS(e){return e instanceof HTMLElement||e instanceof HS(e).HTMLElement}function US(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof HS(e).ShadowRoot)}function GS(e){const{overflow:t,overflowX:r,overflowY:n,display:a}=qS(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(a)}function qS(e){return HS(e).getComputedStyle(e)}function KS(e){const t=function(e){if("html"===FS(e))return e;const t=e.assignedSlot||e.parentNode||US(e)&&e.host||jS(e);return US(t)?t.host:t}(e);return function(e){return["html","body","#document"].includes(FS(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:ZS(t)&&GS(t)?t:KS(t)}function YS(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);const a=KS(e),o=a===(null==(n=e.ownerDocument)?void 0:n.body),i=HS(a);return o?t.concat(i,i.visualViewport||[],GS(a)?a:[],i.frameElement&&r?YS(i.frameElement):[]):t.concat(a,YS(a,[],r))}function XS(e){return $S(e)?e:e.contextElement}function QS(e){const t=XS(e);if(!ZS(t))return VS(1);const r=t.getBoundingClientRect(),{width:n,height:a,$:o}=function(e){const t=qS(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const a=ZS(e),o=a?e.offsetWidth:r,i=a?e.offsetHeight:n,l=zS(r)!==o||zS(n)!==i;return l&&(r=o,n=i),{width:r,height:n,$:l}}(t);let i=(o?zS(r.width):r.width)/n,l=(o?zS(r.height):r.height)/a;return i&&Number.isFinite(i)||(i=1),l&&Number.isFinite(l)||(l=1),{x:i,y:l}}const JS=VS(0);function eR(e){const t=HS(e);return"undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:JS}function tR(e,t,r,n){void 0===t&&(t=!1),void 0===r&&(r=!1);const a=e.getBoundingClientRect(),o=XS(e);let i=VS(1);t&&(n?$S(n)&&(i=QS(n)):i=QS(e));const l=function(e,t,r){return void 0===t&&(t=!1),!(!r||t&&r!==HS(e))&&t}(o,r,n)?eR(o):VS(0);let s=(a.left+l.x)/i.x,c=(a.top+l.y)/i.y,u=a.width/i.x,d=a.height/i.y;if(o){const e=HS(o),t=n&&$S(n)?HS(n):n;let r=e,a=r.frameElement;for(;a&&n&&t!==r;){const e=QS(a),t=a.getBoundingClientRect(),n=qS(a),o=t.left+(a.clientLeft+parseFloat(n.paddingLeft))*e.x,i=t.top+(a.clientTop+parseFloat(n.paddingTop))*e.y;s*=e.x,c*=e.y,u*=e.x,d*=e.y,s+=o,c+=i,r=HS(a),a=r.frameElement}}return function(e){const{x:t,y:r,width:n,height:a}=e;return{width:n,height:a,top:r,left:t,right:t+n,bottom:r+a,x:t,y:r}}({width:u,height:d,x:s,y:c})}const rR=U.useLayoutEffect;var nR=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],aR=function(){};function oR(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function iR(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),a=2;a<r;a++)n[a-2]=arguments[a];var o=[].concat(n);if(t&&e)for(var i in t)t.hasOwnProperty(i)&&t[i]&&o.push("".concat(oR(e,i)));return o.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var lR=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===KP(e)&&null!==e?[e]:[];var t},sR=function(e){return e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme,_S({},SS(e,nR))},cR=function(e,t,r){var n=e.cx,a=e.getStyles,o=e.getClassNames,i=e.className;return{css:a(t,e),className:n(null!=r?r:{},o(t,e),i)}};function uR(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function dR(e){return uR(e)?window.pageYOffset:e.scrollTop}function pR(e,t){uR(e)?window.scrollTo(0,t):e.scrollTop=t}function mR(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:aR,a=dR(e),o=t-a,i=0;!function t(){var l=function(e,t,r,n){return r*((e=e/n-1)*e*e+1)+t}(i+=10,a,o,r);pR(e,l),i<r?window.requestAnimationFrame(t):n(e)}()}function hR(e,t){var r=e.getBoundingClientRect(),n=t.getBoundingClientRect(),a=t.offsetHeight/3;n.bottom+a>r.bottom?pR(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+a,e.scrollHeight)):n.top-a<r.top&&pR(e,Math.max(t.offsetTop-a,0))}function fR(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var vR=!1,bR={get passive(){return vR=!0}},gR="undefined"!=typeof window?window:{};gR.addEventListener&&gR.removeEventListener&&(gR.addEventListener("p",aR,bR),gR.removeEventListener("p",aR,!1));var yR=vR;function ER(e){return null!=e}function kR(e,t,r){return e?t:r}var wR=["children","innerProps"],xR=["children","innerProps"];var _R,PR=function(e){return"auto"===e?"bottom":e},CR=(0,U.createContext)(null),AR=function(e){var t=e.children,r=e.minMenuHeight,n=e.maxMenuHeight,a=e.menuPlacement,o=e.menuPosition,i=e.menuShouldScrollIntoView,l=e.theme,s=((0,U.useContext)(CR)||{}).setPortalPlacement,c=(0,U.useRef)(null),u=AS((0,U.useState)(n),2),d=u[0],p=u[1],m=AS((0,U.useState)(null),2),h=m[0],f=m[1],v=l.spacing.controlHeight;return rR((function(){var e=c.current;if(e){var t="fixed"===o,l=function(e){var t=e.maxHeight,r=e.menuEl,n=e.minHeight,a=e.placement,o=e.shouldScroll,i=e.isFixedPosition,l=e.controlHeight,s=function(e){var t=getComputedStyle(e),r="absolute"===t.position,n=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var a=e;a=a.parentElement;)if(t=getComputedStyle(a),(!r||"static"!==t.position)&&n.test(t.overflow+t.overflowY+t.overflowX))return a;return document.documentElement}(r),c={placement:"bottom",maxHeight:t};if(!r||!r.offsetParent)return c;var u,d=s.getBoundingClientRect().height,p=r.getBoundingClientRect(),m=p.bottom,h=p.height,f=p.top,v=r.offsetParent.getBoundingClientRect().top,b=i||uR(u=s)?window.innerHeight:u.clientHeight,g=dR(s),y=parseInt(getComputedStyle(r).marginBottom,10),E=parseInt(getComputedStyle(r).marginTop,10),k=v-E,w=b-f,x=k+g,_=d-g-f,P=m-b+g+y,C=g+f-E,A=160;switch(a){case"auto":case"bottom":if(w>=h)return{placement:"bottom",maxHeight:t};if(_>=h&&!i)return o&&mR(s,P,A),{placement:"bottom",maxHeight:t};if(!i&&_>=n||i&&w>=n)return o&&mR(s,P,A),{placement:"bottom",maxHeight:i?w-y:_-y};if("auto"===a||i){var S=t,R=i?k:x;return R>=n&&(S=Math.min(R-y-l,t)),{placement:"top",maxHeight:S}}if("bottom"===a)return o&&pR(s,P),{placement:"bottom",maxHeight:t};break;case"top":if(k>=h)return{placement:"top",maxHeight:t};if(x>=h&&!i)return o&&mR(s,C,A),{placement:"top",maxHeight:t};if(!i&&x>=n||i&&k>=n){var M=t;return(!i&&x>=n||i&&k>=n)&&(M=i?k-E:x-E),o&&mR(s,C,A),{placement:"top",maxHeight:M}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(a,'".'))}return c}({maxHeight:n,menuEl:e,minHeight:r,placement:a,shouldScroll:i&&!t,isFixedPosition:t,controlHeight:v});p(l.maxHeight),f(l.placement),null==s||s(l.placement)}}),[n,a,o,i,r,s,v]),t({ref:c,placerProps:_S(_S({},e),{},{placement:h||PR(a),maxHeight:d})})},SR=function(e,t){var r=e.theme,n=r.spacing.baseUnit,a=r.colors;return _S({textAlign:"center"},t?{}:{color:a.neutral40,padding:"".concat(2*n,"px ").concat(3*n,"px")})},RR=SR,MR=SR,TR=["size"],IR=["innerProps","isRtl","size"],OR={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},LR=function(e){var t=e.size,r=SS(e,TR);return tf("svg",(0,Ut.A)({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:OR},r))},DR=function(e){return tf(LR,(0,Ut.A)({size:20},e),tf("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},BR=function(e){return tf(LR,(0,Ut.A)({size:20},e),tf("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},zR=function(e,t){var r=e.isFocused,n=e.theme,a=n.spacing.baseUnit,o=n.colors;return _S({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:r?o.neutral60:o.neutral20,padding:2*a,":hover":{color:r?o.neutral80:o.neutral40}})},NR=zR,VR=zR,FR=af(_R||(_R=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"]))),HR=function(e){var t=e.delay,r=e.offset;return tf("span",{css:nf({animation:"".concat(FR," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:r?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},jR=["data"],WR=["innerRef","isDisabled","isHidden","inputClassName"],$R={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},ZR={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":_S({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},$R)},UR=function(e){return _S({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},$R)},GR=function(e){var t=e.children,r=e.innerProps;return tf("div",r,t)},qR={ClearIndicator:function(e){var t=e.children,r=e.innerProps;return tf("div",(0,Ut.A)({},cR(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),r),t||tf(DR,null))},Control:function(e){var t=e.children,r=e.isDisabled,n=e.isFocused,a=e.innerRef,o=e.innerProps,i=e.menuIsOpen;return tf("div",(0,Ut.A)({ref:a},cR(e,"control",{control:!0,"control--is-disabled":r,"control--is-focused":n,"control--menu-is-open":i}),o,{"aria-disabled":r||void 0}),t)},DropdownIndicator:function(e){var t=e.children,r=e.innerProps;return tf("div",(0,Ut.A)({},cR(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),r),t||tf(BR,null))},DownChevron:BR,CrossIcon:DR,Group:function(e){var t=e.children,r=e.cx,n=e.getStyles,a=e.getClassNames,o=e.Heading,i=e.headingProps,l=e.innerProps,s=e.label,c=e.theme,u=e.selectProps;return tf("div",(0,Ut.A)({},cR(e,"group",{group:!0}),l),tf(o,(0,Ut.A)({},i,{selectProps:u,theme:c,getStyles:n,getClassNames:a,cx:r}),s),tf("div",null,t))},GroupHeading:function(e){var t=sR(e);t.data;var r=SS(t,jR);return tf("div",(0,Ut.A)({},cR(e,"groupHeading",{"group-heading":!0}),r))},IndicatorsContainer:function(e){var t=e.children,r=e.innerProps;return tf("div",(0,Ut.A)({},cR(e,"indicatorsContainer",{indicators:!0}),r),t)},IndicatorSeparator:function(e){var t=e.innerProps;return tf("span",(0,Ut.A)({},t,cR(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:function(e){var t=e.cx,r=e.value,n=sR(e),a=n.innerRef,o=n.isDisabled,i=n.isHidden,l=n.inputClassName,s=SS(n,WR);return tf("div",(0,Ut.A)({},cR(e,"input",{"input-container":!0}),{"data-value":r||""}),tf("input",(0,Ut.A)({className:t({input:!0},l),ref:a,style:UR(i),disabled:o},s)))},LoadingIndicator:function(e){var t=e.innerProps,r=e.isRtl,n=e.size,a=void 0===n?4:n,o=SS(e,IR);return tf("div",(0,Ut.A)({},cR(_S(_S({},o),{},{innerProps:t,isRtl:r,size:a}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),tf(HR,{delay:0,offset:r}),tf(HR,{delay:160,offset:!0}),tf(HR,{delay:320,offset:!r}))},Menu:function(e){var t=e.children,r=e.innerRef,n=e.innerProps;return tf("div",(0,Ut.A)({},cR(e,"menu",{menu:!0}),{ref:r},n),t)},MenuList:function(e){var t=e.children,r=e.innerProps,n=e.innerRef,a=e.isMulti;return tf("div",(0,Ut.A)({},cR(e,"menuList",{"menu-list":!0,"menu-list--is-multi":a}),{ref:n},r),t)},MenuPortal:function(e){var t=e.appendTo,r=e.children,n=e.controlElement,a=e.innerProps,o=e.menuPlacement,i=e.menuPosition,l=(0,U.useRef)(null),s=(0,U.useRef)(null),c=AS((0,U.useState)(PR(o)),2),u=c[0],d=c[1],p=(0,U.useMemo)((function(){return{setPortalPlacement:d}}),[]),m=AS((0,U.useState)(null),2),h=m[0],f=m[1],v=(0,U.useCallback)((function(){if(n){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(n),t="fixed"===i?0:window.pageYOffset,r=e[u]+t;r===(null==h?void 0:h.offset)&&e.left===(null==h?void 0:h.rect.left)&&e.width===(null==h?void 0:h.rect.width)||f({offset:r,rect:e})}}),[n,i,u,null==h?void 0:h.offset,null==h?void 0:h.rect.left,null==h?void 0:h.rect.width]);rR((function(){v()}),[v]);var b=(0,U.useCallback)((function(){"function"==typeof s.current&&(s.current(),s.current=null),n&&l.current&&(s.current=function(e,t,r,n){void 0===n&&(n={});const{ancestorScroll:a=!0,ancestorResize:o=!0,elementResize:i="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:s=!1}=n,c=XS(e),u=a||o?[...c?YS(c):[],...YS(t)]:[];u.forEach((e=>{a&&e.addEventListener("scroll",r,{passive:!0}),o&&e.addEventListener("resize",r)}));const d=c&&l?function(e,t){let r,n=null;const a=jS(e);function o(){var e;clearTimeout(r),null==(e=n)||e.disconnect(),n=null}return function i(l,s){void 0===l&&(l=!1),void 0===s&&(s=1),o();const{left:c,top:u,width:d,height:p}=e.getBoundingClientRect();if(l||t(),!d||!p)return;const m={rootMargin:-NS(u)+"px "+-NS(a.clientWidth-(c+d))+"px "+-NS(a.clientHeight-(u+p))+"px "+-NS(c)+"px",threshold:BS(0,DS(1,s))||1};let h=!0;function f(e){const t=e[0].intersectionRatio;if(t!==s){if(!h)return i();t?i(!1,t):r=setTimeout((()=>{i(!1,1e-7)}),1e3)}h=!1}try{n=new IntersectionObserver(f,{...m,root:a.ownerDocument})}catch(e){n=new IntersectionObserver(f,m)}n.observe(e)}(!0),o}(c,r):null;let p,m=-1,h=null;i&&(h=new ResizeObserver((e=>{let[n]=e;n&&n.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame((()=>{var e;null==(e=h)||e.observe(t)}))),r()})),c&&!s&&h.observe(c),h.observe(t));let f=s?tR(e):null;return s&&function t(){const n=tR(e);!f||n.x===f.x&&n.y===f.y&&n.width===f.width&&n.height===f.height||r(),f=n,p=requestAnimationFrame(t)}(),r(),()=>{var e;u.forEach((e=>{a&&e.removeEventListener("scroll",r),o&&e.removeEventListener("resize",r)})),null==d||d(),null==(e=h)||e.disconnect(),h=null,s&&cancelAnimationFrame(p)}}(n,l.current,v,{elementResize:"ResizeObserver"in window}))}),[n,v]);rR((function(){b()}),[b]);var g=(0,U.useCallback)((function(e){l.current=e,b()}),[b]);if(!t&&"fixed"!==i||!h)return null;var y=tf("div",(0,Ut.A)({ref:g},cR(_S(_S({},e),{},{offset:h.offset,position:i,rect:h.rect}),"menuPortal",{"menu-portal":!0}),a),r);return tf(CR.Provider,{value:p},t?(0,rl.createPortal)(y,t):y)},LoadingMessage:function(e){var t=e.children,r=void 0===t?"Loading...":t,n=e.innerProps,a=SS(e,xR);return tf("div",(0,Ut.A)({},cR(_S(_S({},a),{},{children:r,innerProps:n}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),n),r)},NoOptionsMessage:function(e){var t=e.children,r=void 0===t?"No options":t,n=e.innerProps,a=SS(e,wR);return tf("div",(0,Ut.A)({},cR(_S(_S({},a),{},{children:r,innerProps:n}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),n),r)},MultiValue:function(e){var t=e.children,r=e.components,n=e.data,a=e.innerProps,o=e.isDisabled,i=e.removeProps,l=e.selectProps,s=r.Container,c=r.Label,u=r.Remove;return tf(s,{data:n,innerProps:_S(_S({},cR(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":o})),a),selectProps:l},tf(c,{data:n,innerProps:_S({},cR(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:l},t),tf(u,{data:n,innerProps:_S(_S({},cR(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},i),selectProps:l}))},MultiValueContainer:GR,MultiValueLabel:GR,MultiValueRemove:function(e){var t=e.children,r=e.innerProps;return tf("div",(0,Ut.A)({role:"button"},r),t||tf(DR,{size:14}))},Option:function(e){var t=e.children,r=e.isDisabled,n=e.isFocused,a=e.isSelected,o=e.innerRef,i=e.innerProps;return tf("div",(0,Ut.A)({},cR(e,"option",{option:!0,"option--is-disabled":r,"option--is-focused":n,"option--is-selected":a}),{ref:o,"aria-disabled":r},i),t)},Placeholder:function(e){var t=e.children,r=e.innerProps;return tf("div",(0,Ut.A)({},cR(e,"placeholder",{placeholder:!0}),r),t)},SelectContainer:function(e){var t=e.children,r=e.innerProps,n=e.isDisabled,a=e.isRtl;return tf("div",(0,Ut.A)({},cR(e,"container",{"--is-disabled":n,"--is-rtl":a}),r),t)},SingleValue:function(e){var t=e.children,r=e.isDisabled,n=e.innerProps;return tf("div",(0,Ut.A)({},cR(e,"singleValue",{"single-value":!0,"single-value--is-disabled":r}),n),t)},ValueContainer:function(e){var t=e.children,r=e.innerProps,n=e.isMulti,a=e.hasValue;return tf("div",(0,Ut.A)({},cR(e,"valueContainer",{"value-container":!0,"value-container--is-multi":n,"value-container--has-value":a}),r),t)}},KR=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function YR(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(!((n=e[r])===(a=t[r])||KR(n)&&KR(a)))return!1;var n,a;return!0}for(var XR={name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"},QR=function(e){return tf("span",(0,Ut.A)({css:XR},e))},JR={guidance:function(e){var t=e.isSearchable,r=e.isMulti,n=e.tabSelectsValue,a=e.context,o=e.isInitialFocus;switch(a){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(n?", press Tab to select the option and exit the menu":"",".");case"input":return o?"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(r?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,r=e.label,n=void 0===r?"":r,a=e.labels,o=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(n,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(a.length>1?"s":""," ").concat(a.join(","),", selected.");case"select-option":return"option ".concat(n,o?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,r=e.focused,n=e.options,a=e.label,o=void 0===a?"":a,i=e.selectValue,l=e.isDisabled,s=e.isSelected,c=e.isAppleDevice,u=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&i)return"value ".concat(o," focused, ").concat(u(i,r),".");if("menu"===t&&c){var d=l?" disabled":"",p="".concat(s?" selected":"").concat(d);return"".concat(o).concat(p,", ").concat(u(n,r),".")}return""},onFilter:function(e){var t=e.inputValue,r=e.resultsMessage;return"".concat(r).concat(t?" for search term "+t:"",".")}},eM=function(e){var t=e.ariaSelection,r=e.focusedOption,n=e.focusedValue,a=e.focusableOptions,o=e.isFocused,i=e.selectValue,l=e.selectProps,s=e.id,c=e.isAppleDevice,u=l.ariaLiveMessages,d=l.getOptionLabel,p=l.inputValue,m=l.isMulti,h=l.isOptionDisabled,f=l.isSearchable,v=l.menuIsOpen,b=l.options,g=l.screenReaderStatus,y=l.tabSelectsValue,E=l.isLoading,k=l["aria-label"],w=l["aria-live"],x=(0,U.useMemo)((function(){return _S(_S({},JR),u||{})}),[u]),_=(0,U.useMemo)((function(){var e,r="";if(t&&x.onChange){var n=t.option,a=t.options,o=t.removedValue,l=t.removedValues,s=t.value,c=o||n||(e=s,Array.isArray(e)?null:e),u=c?d(c):"",p=a||l||void 0,m=p?p.map(d):[],f=_S({isDisabled:c&&h(c,i),label:u,labels:m},t);r=x.onChange(f)}return r}),[t,x,h,i,d]),P=(0,U.useMemo)((function(){var e="",t=r||n,o=!!(r&&i&&i.includes(r));if(t&&x.onFocus){var l={focused:t,label:d(t),isDisabled:h(t,i),isSelected:o,options:a,context:t===r?"menu":"value",selectValue:i,isAppleDevice:c};e=x.onFocus(l)}return e}),[r,n,d,h,x,a,i,c]),C=(0,U.useMemo)((function(){var e="";if(v&&b.length&&!E&&x.onFilter){var t=g({count:a.length});e=x.onFilter({inputValue:p,resultsMessage:t})}return e}),[a,p,v,x,b,g,E]),A="initial-input-focus"===(null==t?void 0:t.action),S=(0,U.useMemo)((function(){var e="";if(x.guidance){var t=n?"value":v?"menu":"input";e=x.guidance({"aria-label":k,context:t,isDisabled:r&&h(r,i),isMulti:m,isSearchable:f,tabSelectsValue:y,isInitialFocus:A})}return e}),[k,r,n,m,h,f,v,x,i,y,A]),R=tf(U.Fragment,null,tf("span",{id:"aria-selection"},_),tf("span",{id:"aria-focused"},P),tf("span",{id:"aria-results"},C),tf("span",{id:"aria-guidance"},S));return tf(U.Fragment,null,tf(QR,{id:s},A&&R),tf(QR,{"aria-live":w,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},o&&!A&&R))},tM=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],rM=new RegExp("["+tM.map((function(e){return e.letters})).join("")+"]","g"),nM={},aM=0;aM<tM.length;aM++)for(var oM=tM[aM],iM=0;iM<oM.letters.length;iM++)nM[oM.letters[iM]]=oM.base;var lM=function(e){return e.replace(rM,(function(e){return nM[e]}))},sM=function(e,t){void 0===t&&(t=YR);var r=null;function n(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(r&&r.lastThis===this&&t(n,r.lastArgs))return r.lastResult;var o=e.apply(this,n);return r={lastResult:o,lastArgs:n,lastThis:this},o}return n.clear=function(){r=null},n}(lM),cM=function(e){return e.replace(/^\s+|\s+$/g,"")},uM=function(e){return"".concat(e.label," ").concat(e.value)},dM=["innerRef"];function pM(e){var t=e.innerRef,r=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var a=Object.entries(e).filter((function(e){var t=AS(e,1)[0];return!r.includes(t)}));return a.reduce((function(e,t){var r=AS(t,2),n=r[0],a=r[1];return e[n]=a,e}),{})}(SS(e,dM),"onExited","in","enter","exit","appear");return tf("input",(0,Ut.A)({ref:t},r,{css:nf({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var mM=["boxSizing","height","overflow","paddingRight","position"],hM={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function fM(e){e.preventDefault()}function vM(e){e.stopPropagation()}function bM(){var e=this.scrollTop,t=this.scrollHeight,r=e+this.offsetHeight;0===e?this.scrollTop=1:r===t&&(this.scrollTop=e-1)}function gM(){return"ontouchstart"in window||navigator.maxTouchPoints}var yM=!("undefined"==typeof window||!window.document||!window.document.createElement),EM=0,kM={capture:!1,passive:!1},wM=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},xM={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function _M(e){var t=e.children,r=e.lockEnabled,n=e.captureEnabled,a=function(e){var t=e.isEnabled,r=e.onBottomArrive,n=e.onBottomLeave,a=e.onTopArrive,o=e.onTopLeave,i=(0,U.useRef)(!1),l=(0,U.useRef)(!1),s=(0,U.useRef)(0),c=(0,U.useRef)(null),u=(0,U.useCallback)((function(e,t){if(null!==c.current){var s=c.current,u=s.scrollTop,d=s.scrollHeight,p=s.clientHeight,m=c.current,h=t>0,f=d-p-u,v=!1;f>t&&i.current&&(n&&n(e),i.current=!1),h&&l.current&&(o&&o(e),l.current=!1),h&&t>f?(r&&!i.current&&r(e),m.scrollTop=d,v=!0,i.current=!0):!h&&-t>u&&(a&&!l.current&&a(e),m.scrollTop=0,v=!0,l.current=!0),v&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}}),[r,n,a,o]),d=(0,U.useCallback)((function(e){u(e,e.deltaY)}),[u]),p=(0,U.useCallback)((function(e){s.current=e.changedTouches[0].clientY}),[]),m=(0,U.useCallback)((function(e){var t=s.current-e.changedTouches[0].clientY;u(e,t)}),[u]),h=(0,U.useCallback)((function(e){if(e){var t=!!yR&&{passive:!1};e.addEventListener("wheel",d,t),e.addEventListener("touchstart",p,t),e.addEventListener("touchmove",m,t)}}),[m,p,d]),f=(0,U.useCallback)((function(e){e&&(e.removeEventListener("wheel",d,!1),e.removeEventListener("touchstart",p,!1),e.removeEventListener("touchmove",m,!1))}),[m,p,d]);return(0,U.useEffect)((function(){if(t){var e=c.current;return h(e),function(){f(e)}}}),[t,h,f]),function(e){c.current=e}}({isEnabled:void 0===n||n,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),o=function(e){var t=e.isEnabled,r=e.accountForScrollbars,n=void 0===r||r,a=(0,U.useRef)({}),o=(0,U.useRef)(null),i=(0,U.useCallback)((function(e){if(yM){var t=document.body,r=t&&t.style;if(n&&mM.forEach((function(e){var t=r&&r[e];a.current[e]=t})),n&&EM<1){var o=parseInt(a.current.paddingRight,10)||0,i=document.body?document.body.clientWidth:0,l=window.innerWidth-i+o||0;Object.keys(hM).forEach((function(e){var t=hM[e];r&&(r[e]=t)})),r&&(r.paddingRight="".concat(l,"px"))}t&&gM()&&(t.addEventListener("touchmove",fM,kM),e&&(e.addEventListener("touchstart",bM,kM),e.addEventListener("touchmove",vM,kM))),EM+=1}}),[n]),l=(0,U.useCallback)((function(e){if(yM){var t=document.body,r=t&&t.style;EM=Math.max(EM-1,0),n&&EM<1&&mM.forEach((function(e){var t=a.current[e];r&&(r[e]=t)})),t&&gM()&&(t.removeEventListener("touchmove",fM,kM),e&&(e.removeEventListener("touchstart",bM,kM),e.removeEventListener("touchmove",vM,kM)))}}),[n]);return(0,U.useEffect)((function(){if(t){var e=o.current;return i(e),function(){l(e)}}}),[t,i,l]),function(e){o.current=e}}({isEnabled:r});return tf(U.Fragment,null,r&&tf("div",{onClick:wM,css:xM}),t((function(e){a(e),o(e)})))}var PM={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},CM=function(e){var t=e.name,r=e.onFocus;return tf("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:r,css:PM,value:"",onChange:function(){}})};function AM(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function SM(){return AM(/^Mac/i)}var RM={clearIndicator:VR,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e,t){var r=e.isDisabled,n=e.isFocused,a=e.theme,o=a.colors,i=a.borderRadius;return _S({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:a.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:r?o.neutral5:o.neutral0,borderColor:r?o.neutral10:n?o.primary:o.neutral20,borderRadius:i,borderStyle:"solid",borderWidth:1,boxShadow:n?"0 0 0 1px ".concat(o.primary):void 0,"&:hover":{borderColor:n?o.primary:o.neutral30}})},dropdownIndicator:NR,group:function(e,t){var r=e.theme.spacing;return t?{}:{paddingBottom:2*r.baseUnit,paddingTop:2*r.baseUnit}},groupHeading:function(e,t){var r=e.theme,n=r.colors,a=r.spacing;return _S({label:"group",cursor:"default",display:"block"},t?{}:{color:n.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*a.baseUnit,paddingRight:3*a.baseUnit,textTransform:"uppercase"})},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e,t){var r=e.isDisabled,n=e.theme,a=n.spacing.baseUnit,o=n.colors;return _S({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:r?o.neutral10:o.neutral20,marginBottom:2*a,marginTop:2*a})},input:function(e,t){var r=e.isDisabled,n=e.value,a=e.theme,o=a.spacing,i=a.colors;return _S(_S({visibility:r?"hidden":"visible",transform:n?"translateZ(0)":""},ZR),t?{}:{margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,color:i.neutral80})},loadingIndicator:function(e,t){var r=e.isFocused,n=e.size,a=e.theme,o=a.colors,i=a.spacing.baseUnit;return _S({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:n,lineHeight:1,marginRight:n,textAlign:"center",verticalAlign:"middle"},t?{}:{color:r?o.neutral60:o.neutral20,padding:2*i})},loadingMessage:MR,menu:function(e,t){var r,n=e.placement,a=e.theme,o=a.borderRadius,i=a.spacing,l=a.colors;return _S((XP(r={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(n),"100%"),XP(r,"position","absolute"),XP(r,"width","100%"),XP(r,"zIndex",1),r),t?{}:{backgroundColor:l.neutral0,borderRadius:o,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:i.menuGutter,marginTop:i.menuGutter})},menuList:function(e,t){var r=e.maxHeight,n=e.theme.spacing.baseUnit;return _S({maxHeight:r,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:n,paddingTop:n})},menuPortal:function(e){var t=e.rect,r=e.offset,n=e.position;return{left:t.left,position:n,top:r,width:t.width,zIndex:1}},multiValue:function(e,t){var r=e.theme,n=r.spacing,a=r.borderRadius,o=r.colors;return _S({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:o.neutral10,borderRadius:a/2,margin:n.baseUnit/2})},multiValueLabel:function(e,t){var r=e.theme,n=r.borderRadius,a=r.colors,o=e.cropWithEllipsis;return _S({overflow:"hidden",textOverflow:o||void 0===o?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:n/2,color:a.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var r=e.theme,n=r.spacing,a=r.borderRadius,o=r.colors,i=e.isFocused;return _S({alignItems:"center",display:"flex"},t?{}:{borderRadius:a/2,backgroundColor:i?o.dangerLight:void 0,paddingLeft:n.baseUnit,paddingRight:n.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}})},noOptionsMessage:RR,option:function(e,t){var r=e.isDisabled,n=e.isFocused,a=e.isSelected,o=e.theme,i=o.spacing,l=o.colors;return _S({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:a?l.primary:n?l.primary25:"transparent",color:r?l.neutral20:a?l.neutral0:"inherit",padding:"".concat(2*i.baseUnit,"px ").concat(3*i.baseUnit,"px"),":active":{backgroundColor:r?void 0:a?l.primary:l.primary50}})},placeholder:function(e,t){var r=e.theme,n=r.spacing,a=r.colors;return _S({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:a.neutral50,marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2})},singleValue:function(e,t){var r=e.isDisabled,n=e.theme,a=n.spacing,o=n.colors;return _S({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:r?o.neutral40:o.neutral80,marginLeft:a.baseUnit/2,marginRight:a.baseUnit/2})},valueContainer:function(e,t){var r=e.theme.spacing,n=e.isMulti,a=e.hasValue,o=e.selectProps.controlShouldRenderValue;return _S({alignItems:"center",display:n&&a&&o?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(r.baseUnit/2,"px ").concat(2*r.baseUnit,"px")})}},MM={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},TM={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:fR(),captureMenuScroll:!fR(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){if(e.data.__isNew__)return!0;var r=_S({ignoreCase:!0,ignoreAccents:!0,stringify:uM,trim:!0,matchFrom:"any"},void 0),n=r.ignoreCase,a=r.ignoreAccents,o=r.stringify,i=r.trim,l=r.matchFrom,s=i?cM(t):t,c=i?cM(o(e)):o(e);return n&&(s=s.toLowerCase(),c=c.toLowerCase()),a&&(s=sM(s),c=lM(c)),"start"===l?c.substr(0,s.length)===s:c.indexOf(s)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function IM(e,t,r,n){return{type:"option",data:t,isDisabled:FM(e,t,r),isSelected:HM(e,t,r),label:NM(e,t),value:VM(e,t),index:n}}function OM(e,t){return e.options.map((function(r,n){if("options"in r){var a=r.options.map((function(r,n){return IM(e,r,t,n)})).filter((function(t){return BM(e,t)}));return a.length>0?{type:"group",data:r,options:a,index:n}:void 0}var o=IM(e,r,t,n);return BM(e,o)?o:void 0})).filter(ER)}function LM(e){return e.reduce((function(e,t){return"group"===t.type?e.push.apply(e,LS(t.options.map((function(e){return e.data})))):e.push(t.data),e}),[])}function DM(e,t){return e.reduce((function(e,r){return"group"===r.type?e.push.apply(e,LS(r.options.map((function(e){return{data:e.data,id:"".concat(t,"-").concat(r.index,"-").concat(e.index)}})))):e.push({data:r.data,id:"".concat(t,"-").concat(r.index)}),e}),[])}function BM(e,t){var r=e.inputValue,n=void 0===r?"":r,a=t.data,o=t.isSelected,i=t.label,l=t.value;return(!WM(e)||!o)&&jM(e,{label:i,value:l,data:a},n)}var zM=function(e,t){var r;return(null===(r=e.find((function(e){return e.data===t})))||void 0===r?void 0:r.id)||null},NM=function(e,t){return e.getOptionLabel(t)},VM=function(e,t){return e.getOptionValue(t)};function FM(e,t,r){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,r)}function HM(e,t,r){if(r.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,r);var n=VM(e,t);return r.some((function(t){return VM(e,t)===n}))}function jM(e,t,r){return!e.filterOption||e.filterOption(t,r)}var WM=function(e){var t=e.hideSelectedOptions,r=e.isMulti;return void 0===t?r:t},$M=1,ZM=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,TS.A)(e,t)}(r,e);var t=function(e){var t=OS();return function(){var r,n=IS(e);if(t){var a=IS(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return function(e,t){if(t&&("object"==KP(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,r)}}(r);function r(e){var n;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),(n=t.call(this,e)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},n.blockOptionHover=!1,n.isComposing=!1,n.commonProps=void 0,n.initialTouchX=0,n.initialTouchY=0,n.openAfterFocus=!1,n.scrollToFocusedOptionOnUpdate=!1,n.userIsDragging=void 0,n.isAppleDevice=SM()||AM(/^iPhone/i)||AM(/^iPad/i)||SM()&&navigator.maxTouchPoints>1,n.controlRef=null,n.getControlRef=function(e){n.controlRef=e},n.focusedOptionRef=null,n.getFocusedOptionRef=function(e){n.focusedOptionRef=e},n.menuListRef=null,n.getMenuListRef=function(e){n.menuListRef=e},n.inputRef=null,n.getInputRef=function(e){n.inputRef=e},n.focus=n.focusInput,n.blur=n.blurInput,n.onChange=function(e,t){var r=n.props,a=r.onChange,o=r.name;t.name=o,n.ariaOnChange(e,t),a(e,t)},n.setValue=function(e,t,r){var a=n.props,o=a.closeMenuOnSelect,i=a.isMulti,l=a.inputValue;n.onInputChange("",{action:"set-value",prevInputValue:l}),o&&(n.setState({inputIsHiddenAfterUpdate:!i}),n.onMenuClose()),n.setState({clearFocusValueOnUpdate:!0}),n.onChange(e,{action:t,option:r})},n.selectOption=function(e){var t=n.props,r=t.blurInputOnSelect,a=t.isMulti,o=t.name,i=n.state.selectValue,l=a&&n.isOptionSelected(e,i),s=n.isOptionDisabled(e,i);if(l){var c=n.getOptionValue(e);n.setValue(i.filter((function(e){return n.getOptionValue(e)!==c})),"deselect-option",e)}else{if(s)return void n.ariaOnChange(e,{action:"select-option",option:e,name:o});a?n.setValue([].concat(LS(i),[e]),"select-option",e):n.setValue(e,"select-option")}r&&n.blurInput()},n.removeValue=function(e){var t=n.props.isMulti,r=n.state.selectValue,a=n.getOptionValue(e),o=r.filter((function(e){return n.getOptionValue(e)!==a})),i=kR(t,o,o[0]||null);n.onChange(i,{action:"remove-value",removedValue:e}),n.focusInput()},n.clearValue=function(){var e=n.state.selectValue;n.onChange(kR(n.props.isMulti,[],null),{action:"clear",removedValues:e})},n.popValue=function(){var e=n.props.isMulti,t=n.state.selectValue,r=t[t.length-1],a=t.slice(0,t.length-1),o=kR(e,a,a[0]||null);n.onChange(o,{action:"pop-value",removedValue:r})},n.getFocusedOptionId=function(e){return zM(n.state.focusableOptionsWithIds,e)},n.getFocusableOptionsWithIds=function(){return DM(OM(n.props,n.state.selectValue),n.getElementId("option"))},n.getValue=function(){return n.state.selectValue},n.cx=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return iR.apply(void 0,[n.props.classNamePrefix].concat(t))},n.getOptionLabel=function(e){return NM(n.props,e)},n.getOptionValue=function(e){return VM(n.props,e)},n.getStyles=function(e,t){var r=n.props.unstyled,a=RM[e](t,r);a.boxSizing="border-box";var o=n.props.styles[e];return o?o(a,t):a},n.getClassNames=function(e,t){var r,a;return null===(r=(a=n.props.classNames)[e])||void 0===r?void 0:r.call(a,t)},n.getElementId=function(e){return"".concat(n.state.instancePrefix,"-").concat(e)},n.getComponents=function(){return e=n.props,_S(_S({},qR),e.components);var e},n.buildCategorizedOptions=function(){return OM(n.props,n.state.selectValue)},n.getCategorizedOptions=function(){return n.props.menuIsOpen?n.buildCategorizedOptions():[]},n.buildFocusableOptions=function(){return LM(n.buildCategorizedOptions())},n.getFocusableOptions=function(){return n.props.menuIsOpen?n.buildFocusableOptions():[]},n.ariaOnChange=function(e,t){n.setState({ariaSelection:_S({value:e},t)})},n.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),n.focusInput())},n.onMenuMouseMove=function(e){n.blockOptionHover=!1},n.onControlMouseDown=function(e){if(!e.defaultPrevented){var t=n.props.openMenuOnClick;n.state.isFocused?n.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&n.onMenuClose():t&&n.openMenu("first"):(t&&(n.openAfterFocus=!0),n.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},n.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||n.props.isDisabled)){var t=n.props,r=t.isMulti,a=t.menuIsOpen;n.focusInput(),a?(n.setState({inputIsHiddenAfterUpdate:!r}),n.onMenuClose()):n.openMenu("first"),e.preventDefault()}},n.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(n.clearValue(),e.preventDefault(),n.openAfterFocus=!1,"touchend"===e.type?n.focusInput():setTimeout((function(){return n.focusInput()})))},n.onScroll=function(e){"boolean"==typeof n.props.closeMenuOnScroll?e.target instanceof HTMLElement&&uR(e.target)&&n.props.onMenuClose():"function"==typeof n.props.closeMenuOnScroll&&n.props.closeMenuOnScroll(e)&&n.props.onMenuClose()},n.onCompositionStart=function(){n.isComposing=!0},n.onCompositionEnd=function(){n.isComposing=!1},n.onTouchStart=function(e){var t=e.touches,r=t&&t.item(0);r&&(n.initialTouchX=r.clientX,n.initialTouchY=r.clientY,n.userIsDragging=!1)},n.onTouchMove=function(e){var t=e.touches,r=t&&t.item(0);if(r){var a=Math.abs(r.clientX-n.initialTouchX),o=Math.abs(r.clientY-n.initialTouchY);n.userIsDragging=a>5||o>5}},n.onTouchEnd=function(e){n.userIsDragging||(n.controlRef&&!n.controlRef.contains(e.target)&&n.menuListRef&&!n.menuListRef.contains(e.target)&&n.blurInput(),n.initialTouchX=0,n.initialTouchY=0)},n.onControlTouchEnd=function(e){n.userIsDragging||n.onControlMouseDown(e)},n.onClearIndicatorTouchEnd=function(e){n.userIsDragging||n.onClearIndicatorMouseDown(e)},n.onDropdownIndicatorTouchEnd=function(e){n.userIsDragging||n.onDropdownIndicatorMouseDown(e)},n.handleInputChange=function(e){var t=n.props.inputValue,r=e.currentTarget.value;n.setState({inputIsHiddenAfterUpdate:!1}),n.onInputChange(r,{action:"input-change",prevInputValue:t}),n.props.menuIsOpen||n.onMenuOpen()},n.onInputFocus=function(e){n.props.onFocus&&n.props.onFocus(e),n.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(n.openAfterFocus||n.props.openMenuOnFocus)&&n.openMenu("first"),n.openAfterFocus=!1},n.onInputBlur=function(e){var t=n.props.inputValue;n.menuListRef&&n.menuListRef.contains(document.activeElement)?n.inputRef.focus():(n.props.onBlur&&n.props.onBlur(e),n.onInputChange("",{action:"input-blur",prevInputValue:t}),n.onMenuClose(),n.setState({focusedValue:null,isFocused:!1}))},n.onOptionHover=function(e){if(!n.blockOptionHover&&n.state.focusedOption!==e){var t=n.getFocusableOptions().indexOf(e);n.setState({focusedOption:e,focusedOptionId:t>-1?n.getFocusedOptionId(e):null})}},n.shouldHideSelectedOptions=function(){return WM(n.props)},n.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),n.focus()},n.onKeyDown=function(e){var t=n.props,r=t.isMulti,a=t.backspaceRemovesValue,o=t.escapeClearsValue,i=t.inputValue,l=t.isClearable,s=t.isDisabled,c=t.menuIsOpen,u=t.onKeyDown,d=t.tabSelectsValue,p=t.openMenuOnFocus,m=n.state,h=m.focusedOption,f=m.focusedValue,v=m.selectValue;if(!(s||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(n.blockOptionHover=!0,e.key){case"ArrowLeft":if(!r||i)return;n.focusValue("previous");break;case"ArrowRight":if(!r||i)return;n.focusValue("next");break;case"Delete":case"Backspace":if(i)return;if(f)n.removeValue(f);else{if(!a)return;r?n.popValue():l&&n.clearValue()}break;case"Tab":if(n.isComposing)return;if(e.shiftKey||!c||!d||!h||p&&n.isOptionSelected(h,v))return;n.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(c){if(!h)return;if(n.isComposing)return;n.selectOption(h);break}return;case"Escape":c?(n.setState({inputIsHiddenAfterUpdate:!1}),n.onInputChange("",{action:"menu-close",prevInputValue:i}),n.onMenuClose()):l&&o&&n.clearValue();break;case" ":if(i)return;if(!c){n.openMenu("first");break}if(!h)return;n.selectOption(h);break;case"ArrowUp":c?n.focusOption("up"):n.openMenu("last");break;case"ArrowDown":c?n.focusOption("down"):n.openMenu("first");break;case"PageUp":if(!c)return;n.focusOption("pageup");break;case"PageDown":if(!c)return;n.focusOption("pagedown");break;case"Home":if(!c)return;n.focusOption("first");break;case"End":if(!c)return;n.focusOption("last");break;default:return}e.preventDefault()}},n.state.instancePrefix="react-select-"+(n.props.instanceId||++$M),n.state.selectValue=lR(e.value),e.menuIsOpen&&n.state.selectValue.length){var a=n.getFocusableOptionsWithIds(),o=n.buildFocusableOptions(),i=o.indexOf(n.state.selectValue[0]);n.state.focusableOptionsWithIds=a,n.state.focusedOption=o[i],n.state.focusedOptionId=zM(a,o[i])}return n}return function(e,t,r){t&&MS(e.prototype,t),r&&MS(e,r),Object.defineProperty(e,"prototype",{writable:!1})}(r,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&hR(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.isDisabled,n=t.menuIsOpen,a=this.state.isFocused;(a&&!r&&e.isDisabled||a&&n&&!e.menuIsOpen)&&this.focusInput(),a&&r&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):a||r||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(hR(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,r=this.state,n=r.selectValue,a=r.isFocused,o=this.buildFocusableOptions(),i="first"===e?0:o.length-1;if(!this.props.isMulti){var l=o.indexOf(n[0]);l>-1&&(i=l)}this.scrollToFocusedOptionOnUpdate=!(a&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:o[i],focusedOptionId:this.getFocusedOptionId(o[i])},(function(){return t.onMenuOpen()}))}},{key:"focusValue",value:function(e){var t=this.state,r=t.selectValue,n=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var a=r.indexOf(n);n||(a=-1);var o=r.length-1,i=-1;if(r.length){switch(e){case"previous":i=0===a?0:-1===a?o:a-1;break;case"next":a>-1&&a<o&&(i=a+1)}this.setState({inputIsHidden:-1!==i,focusedValue:r[i]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,r=this.state.focusedOption,n=this.getFocusableOptions();if(n.length){var a=0,o=n.indexOf(r);r||(o=-1),"up"===e?a=o>0?o-1:n.length-1:"down"===e?a=(o+1)%n.length:"pageup"===e?(a=o-t)<0&&(a=0):"pagedown"===e?(a=o+t)>n.length-1&&(a=n.length-1):"last"===e&&(a=n.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:n[a],focusedValue:null,focusedOptionId:this.getFocusedOptionId(n[a])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(MM):_S(_S({},MM),this.props.theme):MM}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,r=this.getStyles,n=this.getClassNames,a=this.getValue,o=this.selectOption,i=this.setValue,l=this.props,s=l.isMulti,c=l.isRtl,u=l.options;return{clearValue:e,cx:t,getStyles:r,getClassNames:n,getValue:a,hasValue:this.hasValue(),isMulti:s,isRtl:c,options:u,selectOption:o,selectProps:l,setValue:i,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,r=e.isMulti;return void 0===t?r:t}},{key:"isOptionDisabled",value:function(e,t){return FM(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return HM(this.props,e,t)}},{key:"filterOption",value:function(e,t){return jM(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var r=this.props.inputValue,n=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:r,selectValue:n})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,r=e.isSearchable,n=e.inputId,a=e.inputValue,o=e.tabIndex,i=e.form,l=e.menuIsOpen,s=e.required,c=this.getComponents().Input,u=this.state,d=u.inputIsHidden,p=u.ariaSelection,m=this.commonProps,h=n||this.getElementId("input"),f=_S(_S(_S({"aria-autocomplete":"list","aria-expanded":l,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":s,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},l&&{"aria-controls":this.getElementId("listbox")}),!r&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==p?void 0:p.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return r?U.createElement(c,(0,Ut.A)({},m,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:h,innerRef:this.getInputRef,isDisabled:t,isHidden:d,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:o,form:i,type:"text",value:a},f)):U.createElement(pM,(0,Ut.A)({id:h,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:aR,onFocus:this.onInputFocus,disabled:t,tabIndex:o,inputMode:"none",form:i,value:""},f))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),r=t.MultiValue,n=t.MultiValueContainer,a=t.MultiValueLabel,o=t.MultiValueRemove,i=t.SingleValue,l=t.Placeholder,s=this.commonProps,c=this.props,u=c.controlShouldRenderValue,d=c.isDisabled,p=c.isMulti,m=c.inputValue,h=c.placeholder,f=this.state,v=f.selectValue,b=f.focusedValue,g=f.isFocused;if(!this.hasValue()||!u)return m?null:U.createElement(l,(0,Ut.A)({},s,{key:"placeholder",isDisabled:d,isFocused:g,innerProps:{id:this.getElementId("placeholder")}}),h);if(p)return v.map((function(t,i){var l=t===b,c="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return U.createElement(r,(0,Ut.A)({},s,{components:{Container:n,Label:a,Remove:o},isFocused:l,isDisabled:d,key:c,index:i,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))}));if(m)return null;var y=v[0];return U.createElement(i,(0,Ut.A)({},s,{data:y,isDisabled:d}),this.formatOptionLabel(y,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,r=this.props,n=r.isDisabled,a=r.isLoading,o=this.state.isFocused;if(!this.isClearable()||!e||n||!this.hasValue()||a)return null;var i={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return U.createElement(e,(0,Ut.A)({},t,{innerProps:i,isFocused:o}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,r=this.props,n=r.isDisabled,a=r.isLoading,o=this.state.isFocused;return e&&a?U.createElement(e,(0,Ut.A)({},t,{innerProps:{"aria-hidden":"true"},isDisabled:n,isFocused:o})):null}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,r=e.IndicatorSeparator;if(!t||!r)return null;var n=this.commonProps,a=this.props.isDisabled,o=this.state.isFocused;return U.createElement(r,(0,Ut.A)({},n,{isDisabled:a,isFocused:o}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,r=this.props.isDisabled,n=this.state.isFocused,a={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return U.createElement(e,(0,Ut.A)({},t,{innerProps:a,isDisabled:r,isFocused:n}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),r=t.Group,n=t.GroupHeading,a=t.Menu,o=t.MenuList,i=t.MenuPortal,l=t.LoadingMessage,s=t.NoOptionsMessage,c=t.Option,u=this.commonProps,d=this.state.focusedOption,p=this.props,m=p.captureMenuScroll,h=p.inputValue,f=p.isLoading,v=p.loadingMessage,b=p.minMenuHeight,g=p.maxMenuHeight,y=p.menuIsOpen,E=p.menuPlacement,k=p.menuPosition,w=p.menuPortalTarget,x=p.menuShouldBlockScroll,_=p.menuShouldScrollIntoView,P=p.noOptionsMessage,C=p.onMenuScrollToTop,A=p.onMenuScrollToBottom;if(!y)return null;var S,R=function(t,r){var n=t.type,a=t.data,o=t.isDisabled,i=t.isSelected,l=t.label,s=t.value,p=d===a,m=o?void 0:function(){return e.onOptionHover(a)},h=o?void 0:function(){return e.selectOption(a)},f="".concat(e.getElementId("option"),"-").concat(r),v={id:f,onClick:h,onMouseMove:m,onMouseOver:m,tabIndex:-1,role:"option","aria-selected":e.isAppleDevice?void 0:i};return U.createElement(c,(0,Ut.A)({},u,{innerProps:v,data:a,isDisabled:o,isSelected:i,key:f,label:l,type:n,value:s,isFocused:p,innerRef:p?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())S=this.getCategorizedOptions().map((function(t){if("group"===t.type){var a=t.data,o=t.options,i=t.index,l="".concat(e.getElementId("group"),"-").concat(i),s="".concat(l,"-heading");return U.createElement(r,(0,Ut.A)({},u,{key:l,data:a,options:o,Heading:n,headingProps:{id:s,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return R(e,"".concat(i,"-").concat(e.index))})))}if("option"===t.type)return R(t,"".concat(t.index))}));else if(f){var M=v({inputValue:h});if(null===M)return null;S=U.createElement(l,u,M)}else{var T=P({inputValue:h});if(null===T)return null;S=U.createElement(s,u,T)}var I={minMenuHeight:b,maxMenuHeight:g,menuPlacement:E,menuPosition:k,menuShouldScrollIntoView:_},O=U.createElement(AR,(0,Ut.A)({},u,I),(function(t){var r=t.ref,n=t.placerProps,i=n.placement,l=n.maxHeight;return U.createElement(a,(0,Ut.A)({},u,I,{innerRef:r,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:f,placement:i}),U.createElement(_M,{captureEnabled:m,onTopArrive:C,onBottomArrive:A,lockEnabled:x},(function(t){return U.createElement(o,(0,Ut.A)({},u,{innerRef:function(r){e.getMenuListRef(r),t(r)},innerProps:{role:"listbox","aria-multiselectable":u.isMulti,id:e.getElementId("listbox")},isLoading:f,maxHeight:l,focusedOption:d}),S)})))}));return w||"fixed"===k?U.createElement(i,(0,Ut.A)({},u,{appendTo:w,controlElement:this.controlRef,menuPlacement:E,menuPosition:k}),O):O}},{key:"renderFormField",value:function(){var e=this,t=this.props,r=t.delimiter,n=t.isDisabled,a=t.isMulti,o=t.name,i=t.required,l=this.state.selectValue;if(i&&!this.hasValue()&&!n)return U.createElement(CM,{name:o,onFocus:this.onValueInputFocus});if(o&&!n){if(a){if(r){var s=l.map((function(t){return e.getOptionValue(t)})).join(r);return U.createElement("input",{name:o,type:"hidden",value:s})}var c=l.length>0?l.map((function(t,r){return U.createElement("input",{key:"i-".concat(r),name:o,type:"hidden",value:e.getOptionValue(t)})})):U.createElement("input",{name:o,type:"hidden",value:""});return U.createElement("div",null,c)}var u=l[0]?this.getOptionValue(l[0]):"";return U.createElement("input",{name:o,type:"hidden",value:u})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,r=t.ariaSelection,n=t.focusedOption,a=t.focusedValue,o=t.isFocused,i=t.selectValue,l=this.getFocusableOptions();return U.createElement(eM,(0,Ut.A)({},e,{id:this.getElementId("live-region"),ariaSelection:r,focusedOption:n,focusedValue:a,isFocused:o,selectValue:i,focusableOptions:l,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,r=e.IndicatorsContainer,n=e.SelectContainer,a=e.ValueContainer,o=this.props,i=o.className,l=o.id,s=o.isDisabled,c=o.menuIsOpen,u=this.state.isFocused,d=this.commonProps=this.getCommonProps();return U.createElement(n,(0,Ut.A)({},d,{className:i,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:s,isFocused:u}),this.renderLiveRegion(),U.createElement(t,(0,Ut.A)({},d,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:s,isFocused:u,menuIsOpen:c}),U.createElement(a,(0,Ut.A)({},d,{isDisabled:s}),this.renderPlaceholderOrValue(),this.renderInput()),U.createElement(r,(0,Ut.A)({},d,{isDisabled:s}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var r=t.prevProps,n=t.clearFocusValueOnUpdate,a=t.inputIsHiddenAfterUpdate,o=t.ariaSelection,i=t.isFocused,l=t.prevWasFocused,s=t.instancePrefix,c=e.options,u=e.value,d=e.menuIsOpen,p=e.inputValue,m=e.isMulti,h=lR(u),f={};if(r&&(u!==r.value||c!==r.options||d!==r.menuIsOpen||p!==r.inputValue)){var v=d?function(e,t){return LM(OM(e,t))}(e,h):[],b=d?DM(OM(e,h),"".concat(s,"-option")):[],g=n?function(e,t){var r=e.focusedValue,n=e.selectValue.indexOf(r);if(n>-1){if(t.indexOf(r)>-1)return r;if(n<t.length)return t[n]}return null}(t,h):null,y=function(e,t){var r=e.focusedOption;return r&&t.indexOf(r)>-1?r:t[0]}(t,v);f={selectValue:h,focusedOption:y,focusedOptionId:zM(b,y),focusableOptionsWithIds:b,focusedValue:g,clearFocusValueOnUpdate:!1}}var E=null!=a&&e!==r?{inputIsHidden:a,inputIsHiddenAfterUpdate:void 0}:{},k=o,w=i&&l;return i&&!w&&(k={value:kR(m,h,h[0]||null),options:h,action:"initial-input-focus"},w=!l),"initial-input-focus"===(null==o?void 0:o.action)&&(k=null),_S(_S(_S({},f),E),{},{prevProps:e,ariaSelection:k,prevWasFocused:w})}}]),r}(U.Component);ZM.defaultProps=TM;var UM=(0,U.forwardRef)((function(e,t){var r=function(e){var t=e.defaultInputValue,r=void 0===t?"":t,n=e.defaultMenuIsOpen,a=void 0!==n&&n,o=e.defaultValue,i=void 0===o?null:o,l=e.inputValue,s=e.menuIsOpen,c=e.onChange,u=e.onInputChange,d=e.onMenuClose,p=e.onMenuOpen,m=e.value,h=SS(e,RS),f=AS((0,U.useState)(void 0!==l?l:r),2),v=f[0],b=f[1],g=AS((0,U.useState)(void 0!==s?s:a),2),y=g[0],E=g[1],k=AS((0,U.useState)(void 0!==m?m:i),2),w=k[0],x=k[1],_=(0,U.useCallback)((function(e,t){"function"==typeof c&&c(e,t),x(e)}),[c]),P=(0,U.useCallback)((function(e,t){var r;"function"==typeof u&&(r=u(e,t)),b(void 0!==r?r:e)}),[u]),C=(0,U.useCallback)((function(){"function"==typeof p&&p(),E(!0)}),[p]),A=(0,U.useCallback)((function(){"function"==typeof d&&d(),E(!1)}),[d]),S=void 0!==l?l:v,R=void 0!==s?s:y,M=void 0!==m?m:w;return _S(_S({},h),{},{inputValue:S,menuIsOpen:R,onChange:_,onInputChange:P,onMenuClose:A,onMenuOpen:C,value:M})}(e);return U.createElement(ZM,(0,Ut.A)({ref:t},r))})),GM=UM;const qM=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentcolor",h:"6",w:"6"},e,{ref:t}),G().createElement("path",{fillRule:"evenodd",d:"M3 6a1 1 0 0 1 1-1h16a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1Zm0 6a1 1 0 0 1 1-1h10a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1Zm0 6a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1Z",clipRule:"evenodd"})))),KM=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentcolor",h:"6",w:"6"},e,{ref:t}),G().createElement("path",{fillRule:"evenodd",d:"M3 6a1 1 0 0 1 1-1h16a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1Zm6 6a1 1 0 0 1 1-1h10a1 1 0 1 1 0 2H10a1 1 0 0 1-1-1Zm-4 6a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Z",clipRule:"evenodd"})))),YM=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentcolor",h:"6",w:"6"},e,{ref:t}),G().createElement("path",{xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",d:"M3 6a1 1 0 0 1 1-1h16a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1Zm4 6a1 1 0 0 1 1-1h8a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1Zm-2 6a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Z",clipRule:"evenodd"})))),XM=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentcolor",h:"6",w:"6"},e,{ref:t}),G().createElement("path",{fillRule:"evenodd",d:"M3 6a1 1 0 0 1 1-1h16a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1Zm0 6a1 1 0 0 1 1-1h16a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1Zm0 6a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1Z",clipRule:"evenodd"})))),QM=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e,{ref:t}),G().createElement("path",{xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",d:"M3 4a1 1 0 0 1 1-1h16a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1Zm8 5a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-8a1 1 0 0 0-1-1h-2ZM8.879 7.879A3 3 0 0 1 11 7h2a3 3 0 0 1 3 3v8a3 3 0 0 1-3 3h-2a3 3 0 0 1-3-3v-8a3 3 0 0 1 .879-2.121Z",clipRule:"evenodd"})))),JM=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e,{ref:t}),G().createElement("path",{xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",d:"M11 7a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1h-2Zm5 4V8a3 3 0 0 0-3-3h-2a3 3 0 0 0-3 3v3H4a1 1 0 1 0 0 2h4v3a3 3 0 0 0 3 3h2a3 3 0 0 0 3-3v-3h4a1 1 0 1 0 0-2h-4Z",clipRule:"evenodd"})))),eT=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e,{ref:t}),G().createElement("path",{xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",d:"M11 5a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2ZM8.879 3.879A3 3 0 0 1 11 3h2a3 3 0 0 1 3 3v8a3 3 0 0 1-3 3h-2a3 3 0 0 1-3-3V6a3 3 0 0 1 .879-2.121ZM3 20a1 1 0 0 1 1-1h16a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1Z",clipRule:"evenodd"})))),tT=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e,{ref:t}),G().createElement("path",{xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",d:"M4 3a1 1 0 0 1 1 1v16a1 1 0 1 1-2 0V4a1 1 0 0 1 1-1Zm16 0a1 1 0 0 1 1 1v16a1 1 0 1 1-2 0V4a1 1 0 0 1 1-1Zm-9 4a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1h-2ZM8.879 5.879A3 3 0 0 1 11 5h2a3 3 0 0 1 3 3v8a3 3 0 0 1-3 3h-2a3 3 0 0 1-3-3V8a3 3 0 0 1 .879-2.121Z",clipRule:"evenodd"})))),rT=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentcolor",h:"6",w:"6"},e,{ref:t}),G().createElement("path",{d:"M4 4H5.5V20H4V4ZM7 10L17 10V14L7 14V10ZM20 4H18.5V20H20V4Z"})))),nT=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e,{ref:t}),G().createElement("path",{xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",d:"M12 3a1 1 0 0 1 1 1v4h3a3 3 0 0 1 3 3v2a3 3 0 0 1-3 3h-3v4a1 1 0 1 1-2 0v-4H8a3 3 0 0 1-3-3v-2a3 3 0 0 1 3-3h3V4a1 1 0 0 1 1-1Zm-4 7a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1H8Z",clipRule:"evenodd"})))),aT=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e,{ref:t}),G().createElement("path",{xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",d:"M4 3a1 1 0 0 1 1 1v16a1 1 0 1 1-2 0V4a1 1 0 0 1 1-1Zm6 7a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-8ZM7.879 8.879A3 3 0 0 1 10 8h8a3 3 0 0 1 3 3v2a3 3 0 0 1-3 3h-8a3 3 0 0 1-3-3v-2a3 3 0 0 1 .879-2.121Z",clipRule:"evenodd"})))),oT=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e,{ref:t}),G().createElement("path",{xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",d:"M20 3a1 1 0 0 1 1 1v16a1 1 0 1 1-2 0V4a1 1 0 0 1 1-1ZM6 10a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1H6ZM3.879 8.879A3 3 0 0 1 6 8h8a3 3 0 0 1 3 3v2a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3v-2a3 3 0 0 1 .879-2.121Z",clipRule:"evenodd"})))),iT=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentcolor",h:"6",w:"6"},e,{ref:t}),G().createElement("path",{fillRule:"evenodd",d:"M4.869 5.669A1.6 1.6 0 0 1 6 5.2h12.8a1.6 1.6 0 0 1 1.6 1.6v8a1.6 1.6 0 0 1-1.6 1.6h-3.2V18h.8a.8.8 0 1 1 0 1.6h-8a.8.8 0 0 1 0-1.6h.8v-1.6H6a1.6 1.6 0 0 1-1.6-1.6v-8a1.6 1.6 0 0 1 .47-1.13ZM10.8 16.4V18H14v-1.6h-3.2ZM6 14.8v-8h12.8v8H6Z",clipRule:"evenodd"})))),lT=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentcolor",h:"6",w:"6"},e,{ref:t}),G().createElement("path",{fillRule:"evenodd",d:"M6.469 4.869A1.6 1.6 0 0 1 7.6 4.4h9.6A1.6 1.6 0 0 1 18.8 6v12.8a1.6 1.6 0 0 1-1.6 1.6H7.6A1.6 1.6 0 0 1 6 18.8V6a1.6 1.6 0 0 1 .469-1.131ZM17.2 6H7.6v12.8h9.6V6Zm-5.931 9.269a1.6 1.6 0 1 1 2.263 2.263 1.6 1.6 0 0 1-2.263-2.263Z",clipRule:"evenodd"})))),sT=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentcolor",h:"6",w:"6"},e,{ref:t}),G().createElement("path",{fillRule:"evenodd",d:"M7.333 4.667a.667.667 0 0 0-.666.666v9.334a.667.667 0 0 0 .666.666h5.334a.667.667 0 0 0 .666-.666V5.333a.667.667 0 0 0-.666-.666h-1.334a.667.667 0 0 1-.666.666H9.333a.667.667 0 0 1-.666-.666H7.333ZM5.92 3.919a2 2 0 0 1 1.414-.586h5.334a2 2 0 0 1 2 2v9.334a2 2 0 0 1-2 2H7.333a2 2 0 0 1-2-2V5.333A2 2 0 0 1 5.92 3.92ZM10 12.667c.368 0 .667.298.667.666v.007a.667.667 0 0 1-1.334 0v-.007c0-.368.299-.666.667-.666Z",clipRule:"evenodd"})))),cT=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 28 5"},e,{ref:t}),G().createElement("path",{fill:"currentColor",d:"M26 3H2V2h24v1Z"})))),uT=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 28 5"},e,{ref:t}),G().createElement("path",{fill:"currentColor",d:"M2.5 3H2V2h.5v1Zm2 0h-1V2h1v1Zm2 0h-1V2h1v1Zm2 0h-1V2h1v1Zm2 0h-1V2h1v1Zm2 0h-1V2h1v1Zm2 0h-1V2h1v1Zm2 0h-1V2h1v1Zm2 0h-1V2h1v1Zm2 0h-1V2h1v1Zm2 0h-1V2h1v1Zm2 0h-1V2h1v1ZM26 3h-.5V2h.5v1Z"})))),dT=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 28 5"},e,{ref:t}),G().createElement("path",{fill:"currentColor",d:"M3 3H2V2h1v1Zm4 0H5V2h2v1Zm4 0H9V2h2v1Zm4 0h-2V2h2v1Zm4 0h-2V2h2v1Zm4 0h-2V2h2v1Zm3 0h-1V2h1v1Z"})))),pT=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 28 5"},e,{ref:t}),G().createElement("path",{fill:"currentColor",d:"M2 2h24V1H2v1Zm0 2h24V3H2v1Z"})))),mT=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 28 5"},e,{ref:t}),G().createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M26 2.5H2v-1h24v1Z"}),G().createElement("path",{fill:"currentColor",fillOpacity:".70",fillRule:"evenodd",d:"M26 3.5H2v-1h24v1Z",opacity:".7"})))),hT=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 28 5"},e,{ref:t}),G().createElement("path",{fill:"currentColor",d:"M12.297 5c-.697 0-1.256-.226-1.676-.678-.419-.452-.628-1.04-.628-1.765 0-.778.214-1.399.641-1.862C11.062.232 11.642 0 12.375 0c.68 0 1.226.225 1.64.675.416.45.624 1.038.624 1.764 0 .79-.213 1.414-.638 1.873-.425.459-.993.688-1.704.688Zm.038-4.295a1.35 1.35 0 0 0-1.083.496c-.277.33-.415.766-.415 1.306 0 .537.135.97.405 1.299.27.328.622.492 1.059.492.463 0 .829-.156 1.096-.469.268-.312.402-.75.402-1.312 0-.578-.13-1.025-.391-1.34-.26-.314-.617-.472-1.073-.472Zm6.417 4.214h.877V.081h-.773v3.117c0 .306.012.523.034.652h-.013a3.67 3.67 0 0 0-.183-.297L16.461.08h-.935v4.838h.776v-3.17c0-.34-.009-.562-.027-.665h.02c.039.097.087.19.146.28l2.31 3.556Zm2.078 0h2.716v-.678h-1.913V2.81h1.663v-.679h-1.663V.762h1.805v-.68H20.83V4.92Zm-12.605 0h.878V.081H8.33v3.117c0 .306.011.523.034.652H8.35a3.647 3.647 0 0 0-.182-.297L5.935.08H5v4.838h.776v-3.17c0-.34-.009-.562-.027-.665h.02c.038.097.087.19.145.28l2.311 3.556Z"})))),fT=($e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e,{ref:t}),G().createElement("path",{xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",d:"M14 5.5a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1v-8a1 1 0 0 1 1-1h8Zm-7 12H6a3 3 0 0 1-3-3v-8a3 3 0 0 1 3-3h8a3 3 0 0 1 3 3v1h1a3 3 0 0 1 3 3v8a3 3 0 0 1-3 3h-8a3 3 0 0 1-3-3v-1Zm2 0h5a3 3 0 0 0 3-3v-5h1a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1h-8a1 1 0 0 1-1-1v-1Z",clipRule:"evenodd"})))),$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e,{ref:t}),G().createElement("path",{xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",d:"M8.173 3.261a10 10 0 1 1 7.654 18.478A10 10 0 0 1 8.173 3.261ZM10 4.754v3.518h4V4.754a8 8 0 0 0-4 0Zm-2 .818v2.7H5.208A8 8 0 0 1 8 5.572Zm0 4.7H4.316a8 8 0 0 0-.117 4H8v-4Zm0 6H4.945A8.003 8.003 0 0 0 8 19.428v-3.155Zm2 0h4v3.974a8 8 0 0 1-4 0v-3.973Zm4-2h-4v-4h4v4Zm2 2v3.156a8.001 8.001 0 0 0 3.055-3.155H16Zm3.801-2H16v-4h3.684a7.998 7.998 0 0 1 .117 4Zm-2.144-7.429a8 8 0 0 1 1.135 1.43H16V5.571a8.001 8.001 0 0 1 1.657 1.271Z",clipRule:"evenodd"}))))),vT=($e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",w:"24px",h:"24px"},e,{ref:t}),G().createElement("path",{xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",d:"M6 4a2 2 0 0 0-2 2v7.586l3.293-3.293.014-.014c.614-.59 1.37-.949 2.193-.949s1.58.358 2.193.95l.014.013L14 12.586l.293-.293.014-.014c.614-.59 1.37-.949 2.193-.949s1.58.358 2.193.95l.014.013L20 13.586V6a2 2 0 0 0-2-2H6Zm16 11.999V6a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v12a4 4 0 0 0 4 4h12a4 4 0 0 0 4-4v-2.001Zm-2 .415-2.7-2.7c-.311-.297-.588-.384-.8-.384-.212 0-.489.087-.8.385l-.286.285 1.293 1.293a1 1 0 0 1-1.414 1.414L10.3 11.715c-.311-.298-.588-.385-.8-.385-.212 0-.489.087-.8.385l-4.7 4.7V18a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-1.586ZM14 8a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H15a1 1 0 0 1-1-1Z",clipRule:"evenodd"})))),$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 28 5"},e,{ref:t}),G().createElement("path",{fillRule:"evenodd",d:"M5 11.6A1.4 1.4 0 0 0 3.6 13v7A1.4 1.4 0 0 0 5 21.4h14a1.4 1.4 0 0 0 1.4-1.4v-7a1.4 1.4 0 0 0-1.4-1.4H5ZM2.4 13A2.6 2.6 0 0 1 5 10.4h14a2.6 2.6 0 0 1 2.6 2.6v7a2.6 2.6 0 0 1-2.6 2.6H5A2.6 2.6 0 0 1 2.4 20v-7Z",clipRule:"evenodd"}),G().createElement("path",{fillRule:"evenodd",d:"M12 2.6A4.4 4.4 0 0 0 7.6 7v4a.6.6 0 1 1-1.2 0V7a5.6 5.6 0 1 1 11.2 0v4a.6.6 0 1 1-1.2 0V7A4.4 4.4 0 0 0 12 2.6Z",clipRule:"evenodd"})))),$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},e,{ref:t}),G().createElement("path",{fillRule:"evenodd",d:"M5 11.6A1.4 1.4 0 0 0 3.6 13v7A1.4 1.4 0 0 0 5 21.4h14a1.4 1.4 0 0 0 1.4-1.4v-7a1.4 1.4 0 0 0-1.4-1.4H5ZM2.4 13A2.6 2.6 0 0 1 5 10.4h14a2.6 2.6 0 0 1 2.6 2.6v7a2.6 2.6 0 0 1-2.6 2.6H5A2.6 2.6 0 0 1 2.4 20v-7Z",clipRule:"evenodd"}),G().createElement("path",{fillRule:"evenodd",d:"M12 2.6A4.4 4.4 0 0 0 7.6 7v4a.6.6 0 1 1-1.2 0V7a5.6 5.6 0 1 1 11.2 0 .6.6 0 1 1-1.2 0A4.4 4.4 0 0 0 12 2.6Z",clipRule:"evenodd"})))),$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e,{ref:t}),G().createElement("path",{xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",d:"M13.793 5.293a3.828 3.828 0 1 1 5.414 5.414l-.998.999-.002.001-.001.002-9.499 9.498A1 1 0 0 1 8 21.5H4a1 1 0 0 1-1-1v-4a1 1 0 0 1 .293-.707l10.5-10.5ZM13.5 8.414l-8.5 8.5V19.5h2.586l8.5-8.5L13.5 8.414Zm4 1.172L14.914 7l.293-.293a1.829 1.829 0 0 1 2.586 2.586l-.293.293Z",clipRule:"evenodd"}))))),bT=($e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 28 5"},e,{ref:t}),G().createElement("path",{xmlns:"http://www.w3.org/2000/svg",d:"M12 22.45c-.6 0-1-.4-1-1v-8H3.1c-.6 0-1-.4-1-1s.4-1 1-1H11v-7.9c0-.6.4-1 1-1s1 .4 1 1v7.9h7.9c.6 0 1 .4 1 1s-.4 1-1 1H13v8c0 .6-.4 1-1 1Z"})))),$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 28 5"},e,{ref:t}),G().createElement("path",{xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",d:"M4 5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V5Zm1-3a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3V5a3 3 0 0 0-3-3H5Zm4.555 5.168A1 1 0 0 0 8 8v8a1 1 0 0 0 1.555.832l6-4a1 1 0 0 0 0-1.664l-6-4ZM13.197 12 10 14.132V9.869L13.197 12Z",clipRule:"evenodd"})))),$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 28 5"},e,{ref:t}),G().createElement("path",{xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",d:"M11.553 3.606a1 1 0 0 1 .894 0l8 4a1 1 0 0 1 0 1.788l-8 4a1 1 0 0 1-.894 0l-8-4a1 1 0 0 1 0-1.788l8-4ZM6.236 8.5 12 11.382 17.764 8.5 12 5.618 6.236 8.5Zm-3.13 3.553a1 1 0 0 1 1.341-.447L12 15.382l7.553-3.776a1 1 0 1 1 .894 1.788l-8 4a1 1 0 0 1-.894 0l-8-4a1 1 0 0 1-.447-1.341Zm0 4a1 1 0 0 1 1.341-.447L12 19.382l7.553-3.776a1 1 0 1 1 .894 1.788l-8 4a1 1 0 0 1-.894 0l-8-4a1 1 0 0 1-.447-1.341Z",clipRule:"evenodd"})))),$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 24 24"},e,{ref:t}),G().createElement("path",{d:"M12 22a2.682 2.682 0 0 1-2.646-2.082.723.723 0 0 0-1.079-.448c-1.099.667-2.441.506-3.346-.399a2.684 2.684 0 0 1-.401-3.343.72.72 0 0 0-.242-.995.703.703 0 0 0-.206-.086C2.836 14.345 2 13.281 2 12s.836-2.345 2.081-2.646a.727.727 0 0 0 .449-1.08 2.683 2.683 0 0 1 .399-3.345 2.684 2.684 0 0 1 3.344-.401.72.72 0 0 0 1.081-.447A2.682 2.682 0 0 1 12 2c1.281 0 2.345.836 2.646 2.081a.727.727 0 0 0 1.079.449 2.686 2.686 0 0 1 3.345.399 2.685 2.685 0 0 1 .402 3.344.724.724 0 0 0 .447 1.081C21.163 9.655 22 10.719 22 12s-.837 2.345-2.082 2.646a.727.727 0 0 0-.446 1.081 2.685 2.685 0 0 1-.401 3.344 2.686 2.686 0 0 1-3.343.401.726.726 0 0 0-1.081.447A2.684 2.684 0 0 1 12 22zm-3.353-4.635a2.73 2.73 0 0 1 2.65 2.082c.124.513.57.553.703.553s.579-.04.703-.553c.067-.274.175-.534.32-.774a2.73 2.73 0 0 1 3.743-.909c.452.275.795-.012.89-.106s.382-.438.106-.889a2.73 2.73 0 0 1 1.684-4.065c.514-.125.554-.571.554-.704s-.04-.579-.553-.703a2.728 2.728 0 0 1-1.683-4.064c.275-.451-.013-.795-.106-.89-.094-.093-.438-.38-.889-.106a2.727 2.727 0 0 1-4.065-1.684C12.579 4.04 12.133 4 12 4s-.579.04-.703.553a2.699 2.699 0 0 1-1.604 1.874 2.698 2.698 0 0 1-2.46-.191c-.452-.276-.795.012-.889.107-.095.095-.382.438-.107.889a2.728 2.728 0 0 1-1.684 4.065C4.04 11.421 4 11.867 4 12s.04.579.553.703a2.709 2.709 0 0 1 2.004 2.004 2.706 2.706 0 0 1-.321 2.061c-.274.451.012.794.107.889.095.096.438.383.889.106a2.723 2.723 0 0 1 1.415-.398zm1.678-13.048h.01-.01zM12 16c-2.206 0-4-1.794-4-4s1.794-4 4-4 4 1.794 4 4-1.794 4-4 4zm0-6c-1.103 0-2 .897-2 2s.897 2 2 2 2-.897 2-2-.897-2-2-2z"}))))),gT=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e,{ref:t}),G().createElement("path",{xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",d:"M5 4a1 1 0 0 0-1 1v4h5V4H5Zm0-2a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3V5a3 3 0 0 0-3-3H5Zm6 2v5h9V5a1 1 0 0 0-1-1h-8Zm9 7h-9v9h8a1 1 0 0 0 1-1v-8ZM9 20v-9H4v8a1 1 0 0 0 1 1h4Z",clipRule:"evenodd"})))),yT=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e,{ref:t}),G().createElement("path",{xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",d:"M8.173 2.761a10 10 0 1 1 7.654 18.478A10 10 0 0 1 8.173 2.761ZM11 4.063a8 8 0 0 0 0 15.874V4.063Zm2 0v2.523l2.001-2.002A8 8 0 0 0 13 4.063Zm3.808 1.543L13 9.414v2.172l4.942-4.942a8.077 8.077 0 0 0-1.134-1.038ZM19.1 8.314l-6.1 6.1v2.172l6.712-6.712a8 8 0 0 0-.612-1.56Zm.889 4.111L13 19.416v.522a7.999 7.999 0 0 0 6.989-7.512Z",clipRule:"evenodd"})))),ET=($e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e,{ref:t}),G().createElement("path",{xmlns:"http://www.w3.org/2000/svg",d:"m13.4 12.5 8.3-8.3c.4-.4.4-1 0-1.4-.4-.4-1-.4-1.4 0L12 11.1 3.7 2.8c-.4-.4-1-.4-1.4 0-.4.4-.4 1 0 1.4l8.3 8.3-8.3 8.3c-.4.4-.4 1 0 1.4.2.2.4.3.7.3.3 0 .5-.1.7-.3l8.3-8.3 8.3 8.3c.2.2.5.3.7.3.2 0 .5-.1.7-.3.4-.4.4-1 0-1.4l-8.3-8.3Z"})))),$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 400 400"},e,{ref:t}),G().createElement("path",{d:"M209.824 119.198a5 5 0 0 0-5-5h-40a5 5 0 0 0 0 10h40a5 5 0 0 0 5-5zm60.865 0a5 5 0 0 0-5-5h-40a5 5 0 0 0 0 10h40a5 5 0 0 0 5-5zM306 285.802H94c-5.514 0-10-4.486-10-10V157.883c0-5.514 4.486-10 10-10h212c5.514 0 10 4.486 10 10v117.919c0 5.514-4.486 10-10 10zM94 151.883c-3.309 0-6 2.691-6 6v117.919c0 3.309 2.691 6 6 6h212c3.309 0 6-2.691 6-6V157.883c0-3.309-2.691-6-6-6H94zm215-14.865H91a.978.978 0 0 1 0-1.956h218a.978.978 0 0 1 0 1.956z",opacity:".25"}),G().createElement("path",{d:"M148.96 119.198a5 5 0 0 0-5-5h-40a5 5 0 0 0 0 10h40a5 5 0 0 0 5-5zm147.08 99.645H103.96a5 5 0 0 1 0-10h192.08a5 5 0 0 1 0 10zm0-26H103.96a5 5 0 0 1 0-10h192.08a5 5 0 0 1 0 10zm-77.723 52H103.96a5 5 0 0 1 0-10h114.357a5 5 0 0 1 0 10zM152.96 137.04h-62a1 1 0 0 1 0-2h62a1 1 0 0 1 0 2z"}))))),kT=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 400 400"},e,{ref:t}),G().createElement("path",{d:"M317.641 272H163.459c-2.753 0-4.909-2.636-4.909-6V134c0-3.364 2.156-6 4.909-6h154.182c2.753 0 4.909 2.636 4.909 6v132c0 3.365-2.156 6-4.909 6zM163.459 132c-.234 0-.909.688-.909 2v132c0 1.313.675 2 .909 2h154.182c.233 0 .909-.688.909-2V134c0-1.313-.676-2-.909-2H163.459zm-36.009 34.449a5 5 0 0 0-5-5h-40a5 5 0 0 0 0 10h40a5 5 0 0 0 5-5zm0 23.873a5 5 0 0 0-5-5h-40a5 5 0 0 0 0 10h40a5 5 0 0 0 5-5zm13.6 77.839v-138a1 1 0 0 0-2 0v138a1 1 0 0 0 2 0z",opacity:".25"}),G().createElement("path",{d:"M288.55 166.707h-100a5 5 0 0 1 0-10h100a5 5 0 0 1 0 10zm0 25.293h-100a5 5 0 0 1 0-10h100a5 5 0 0 1 0 10zm-40 25.293h-60a5 5 0 0 1 0-10h60a5 5 0 0 1 0 10zm-121.1-74.718a5 5 0 0 0-5-5h-40a5 5 0 0 0 0 10h40a5 5 0 0 0 5-5zm13.6 10.586v-23a1 1 0 0 0-2 0v23a1 1 0 0 0 2 0z"})))),wT=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 400 400"},e,{ref:t}),G().createElement("path",{d:"M115 191h170a5 5 0 0 1 0 10H115a4.998 4.998 0 0 1-3.536-8.536A4.998 4.998 0 0 1 115 191zm0 26h110a4.999 4.999 0 1 1 0 10H115a5.001 5.001 0 0 1 0-10zm36.636-88.54a5 5 0 0 0-5-5h-40a5 5 0 0 0 0 10h40a5 5 0 0 0 5-5z"}),G().createElement("path",{d:"M306 291H94c-4.411 0-8-3.589-8-8V119c0-5.514 4.486-10 10-10h61.272c5.514 0 10 4.486 10 10v24H306c4.411 0 8 3.589 8 8v132c0 4.411-3.589 8-8 8zM96 113c-3.309 0-6 2.691-6 6v164c0 2.206 1.794 4 4 4h212c2.206 0 4-1.794 4-4V151c0-2.206-1.794-4-4-4H165.272a2 2 0 0 1-2-2v-26c0-3.309-2.691-6-6-6H96zm129.798 15.46a5 5 0 0 0-5-5h-40a5 5 0 0 0 0 10h40a5 5 0 0 0 5-5zm74.162 0a5 5 0 0 0-5-5h-40a5 5 0 0 0 0 10h40a5 5 0 0 0 5-5z",opacity:".25"})))),xT=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 400 400"},e,{ref:t}),G().createElement("path",{d:"M145.071 147.49a5 5 0 0 0-5-5h-40a5 5 0 0 0 0 10h40a5 5 0 0 0 5-5zM296.04 203h-120a5 5 0 0 1 0-10h120a5 5 0 0 1 0 10zm0-26h-120a5 5 0 0 1 0-10h120a5 5 0 0 1 0 10zm-50 52h-70a5 5 0 0 1 0-10h70a5 5 0 0 1 0 10z"}),G().createElement("path",{d:"M145.071 180.625a5 5 0 0 0-5-5h-40a5 5 0 0 0 0 10h40a5 5 0 0 0 5-5zm0 33.135a5 5 0 0 0-5-5h-40a5 5 0 0 0 0 10h40a5 5 0 0 0 5-5zM306 268.96H166.48c-5.514 0-10-4.486-10-10v-94.52H94c-5.514 0-10-4.486-10-10v-13.4c0-5.514 4.486-10 10-10h212c5.514 0 10 4.486 10 10v117.92c0 5.514-4.486 10-10 10zM94 135.04c-3.309 0-6 2.691-6 6v13.4c0 3.309 2.691 6 6 6h64.48a2 2 0 0 1 2 2v96.52c0 3.309 2.691 6 6 6H306c3.309 0 6-2.691 6-6V141.04c0-3.309-2.691-6-6-6H94z",opacity:".25"})))),_T=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 400 400"},e,{ref:t}),G().createElement("path",{d:"M115 201.818h170a5 5 0 0 1 0 10H115a5 5 0 0 1 0-10zm0-28h170a5 5 0 0 1 0 10H115a5 5 0 0 1 0-10zm0 54h110a5 5 0 0 1 0 10H115a5 5 0 0 1 0-10zm25-91.635H96c-5.514 0-10-4.486-10-10v-12c0-5.514 4.486-10 10-10h44c5.514 0 10 4.486 10 10v12c0 5.514-4.486 10-10 10zm-44-28c-3.309 0-6 2.691-6 6v12c0 3.309 2.691 6 6 6h44c3.309 0 6-2.691 6-6v-12c0-3.309-2.691-6-6-6H96zm39.86 12c0-1.972-1.6-3.572-3.572-3.572h-28.576a3.573 3.573 0 0 0 0 7.144h28.576c1.973 0 3.572-1.6 3.572-3.572z"}),G().createElement("path",{d:"M306 293.818H94c-4.411 0-8-3.589-8-8v-132c0-4.411 3.589-8 8-8h212c4.411 0 8 3.589 8 8v132c0 4.411-3.589 8-8 8zm-212-144c-2.206 0-4 1.794-4 4v132c0 2.206 1.794 4 4 4h212c2.206 0 4-1.794 4-4v-132c0-2.206-1.794-4-4-4H94zm117.2-13.635h-44c-5.514 0-10-4.486-10-10v-12c0-5.514 4.486-10 10-10h44c5.514 0 10 4.486 10 10v12c0 5.514-4.486 10-10 10zm-44-28c-3.309 0-6 2.691-6 6v12c0 3.309 2.691 6 6 6h44c3.309 0 6-2.691 6-6v-12c0-3.309-2.691-6-6-6h-44zm39.86 12c0-1.972-1.6-3.572-3.572-3.572h-28.576a3.573 3.573 0 0 0 0 7.144h28.576c1.973 0 3.572-1.6 3.572-3.572zm76.58 16h-44c-5.514 0-10-4.486-10-10v-12c0-5.514 4.486-10 10-10h44c5.514 0 10 4.486 10 10v12c0 5.514-4.487 10-10 10zm-44-28c-3.309 0-6 2.691-6 6v12c0 3.309 2.691 6 6 6h44c3.309 0 6-2.691 6-6v-12c0-3.309-2.691-6-6-6h-44zm39.86 12c0-1.972-1.6-3.572-3.572-3.572h-28.576a3.573 3.573 0 0 0 0 7.144h28.576c1.973 0 3.572-1.6 3.572-3.572z",opacity:".25"})))),PT=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 400 400"},e,{ref:t}),G().createElement("path",{d:"M178.141 182.89H298.69c1.958 0 3.546 2.239 3.546 5s-1.588 5-3.546 5H178.141c-1.958 0-3.546-2.239-3.546-5s1.588-5 3.546-5zm0-28H298.69c1.958 0 3.546 2.239 3.546 5s-1.588 5-3.546 5H178.141c-1.958 0-3.546-2.239-3.546-5s1.588-5 3.546-5zm-.188 54h73.883c1.854 0 3.358 2.239 3.358 5s-1.504 5-3.358 5h-73.883c-1.854 0-3.358-2.239-3.358-5s1.504-5 3.358-5zm-52.368-50.28h-44c-5.514 0-10-4.486-10-10v-12c0-5.514 4.486-10 10-10h44c5.514 0 10 4.486 10 10v12c0 5.514-4.486 10-10 10zm-44-28c-3.309 0-6 2.691-6 6v12c0 3.309 2.691 6 6 6h44c3.309 0 6-2.691 6-6v-12c0-3.309-2.691-6-6-6h-44zm39.86 12c0-1.972-1.6-3.572-3.572-3.572H89.297a3.573 3.573 0 0 0 0 7.144h28.576c1.973 0 3.572-1.6 3.572-3.572z"}),G().createElement("path",{d:"M125.585 202.11h-44c-5.514 0-10-4.486-10-10v-12c0-5.514 4.486-10 10-10h44c5.514 0 10 4.486 10 10v12c0 5.514-4.486 10-10 10zm-44-28c-3.309 0-6 2.691-6 6v12c0 3.309 2.691 6 6 6h44c3.309 0 6-2.691 6-6v-12c0-3.309-2.691-6-6-6h-44zm39.86 12c0-1.972-1.6-3.572-3.572-3.572H89.297a3.573 3.573 0 0 0 0 7.144h28.576c1.973 0 3.572-1.6 3.572-3.572zm4.14 59.5h-44c-5.514 0-10-4.486-10-10v-12c0-5.514 4.486-10 10-10h44c5.514 0 10 4.486 10 10v12c0 5.514-4.486 10-10 10zm-44-28c-3.309 0-6 2.691-6 6v12c0 3.309 2.691 6 6 6h44c3.309 0 6-2.691 6-6v-12c0-3.309-2.691-6-6-6h-44zm39.86 12c0-1.972-1.6-3.572-3.572-3.572H89.297a3.573 3.573 0 0 0 0 7.144h28.576c1.973 0 3.572-1.6 3.572-3.572zm198.97 45.78h-164c-5.514 0-10-4.486-10-10v-129c0-5.514 4.486-10 10-10h164c5.514 0 10 4.486 10 10v129c0 5.513-4.486 10-10 10zm-164-145c-3.309 0-6 2.691-6 6v129c0 3.309 2.691 6 6 6h164c3.309 0 6-2.691 6-6v-129c0-3.309-2.691-6-6-6h-164z",opacity:".25"})))),CT=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 112 100"},e,{ref:t}),G().createElement("path",{fillOpacity:".1",d:"M9.694 7.465h92.612v85.07H9.694V7.465Z"}),G().createElement("path",{d:"M55.5 16c-4.125 0-7.5 3.375-7.5 7.5s3.375 7.5 7.5 7.5 7.5-3.375 7.5-7.5-3.375-7.5-7.5-7.5Zm.75 10.2c0 .45-.3.75-.75.75s-.75-.3-.75-.75v-2.7c0-.45.3-.75.75-.75s.75.3.75.75v2.7Zm-.75-4.65c-.45 0-.75-.3-.75-.75s.3-.75.75-.75.75.3.75.75-.3.75-.75.75Zm18.722 18.464H37.778c-1.73 0-3.132 1.252-3.132 2.796 0 1.544 1.402 2.796 3.132 2.796h36.444c1.73 0 3.132-1.252 3.132-2.796 0-1.544-1.403-2.796-3.132-2.796ZM89.503 51H22.497C21.67 51 21 51.672 21 52.5s.67 1.5 1.497 1.5h67.006C90.33 54 91 53.328 91 52.5s-.67-1.5-1.497-1.5Zm0 6H22.497C21.67 57 21 57.672 21 58.5s.67 1.5 1.497 1.5h67.006C90.33 60 91 59.328 91 58.5s-.67-1.5-1.497-1.5Zm-8.986 6H31.483c-.82 0-1.483.672-1.483 1.5 0 .829.664 1.5 1.483 1.5h49.034A1.49 1.49 0 0 0 82 64.5c0-.828-.664-1.5-1.483-1.5Zm-13.23 12.457H44.713c-1.348 0-2.44.976-2.44 2.18v2.632c0 1.203 1.092 2.179 2.44 2.179h22.574c1.348 0 2.44-.976 2.44-2.18v-2.632c0-1.203-1.092-2.179-2.44-2.179Z"})))),AT=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 112 100"},e,{ref:t}),G().createElement("path",{fillOpacity:".1",d:"M55.5 13C61.299 13 66 17.701 66 23.5S61.299 34 55.5 34 45 29.299 45 23.5C45 17.7 49.701 13 55.5 13Z"}),G().createElement("path",{d:"M99.994 92.595H11.862c-1.235 0-2.24-.898-2.24-2V9.525c0-1.103 1.005-2 2.24-2h88.132c1.235 0 2.24.897 2.24 2v81.07c0 1.102-1.005 2-2.24 2ZM11.862 8.275c-.772 0-1.4.56-1.4 1.25v81.07c0 .689.628 1.25 1.4 1.25h88.132c.772 0 1.4-.561 1.4-1.25V9.525c0-.69-.628-1.25-1.4-1.25H11.862Z",opacity:".25"}),G().createElement("path",{d:"M55.5 16c-4.125 0-7.5 3.375-7.5 7.5s3.375 7.5 7.5 7.5 7.5-3.375 7.5-7.5-3.375-7.5-7.5-7.5Zm.75 10.2c0 .45-.3.75-.75.75s-.75-.3-.75-.75v-2.7c0-.45.3-.75.75-.75s.75.3.75.75v2.7Zm-.75-4.65c-.45 0-.75-.3-.75-.75s.3-.75.75-.75.75.3.75.75-.3.75-.75.75Zm18.722 19.464H37.778c-1.73 0-3.132 1.252-3.132 2.796 0 1.544 1.402 2.796 3.132 2.796h36.444c1.73 0 3.132-1.252 3.132-2.796 0-1.544-1.403-2.796-3.132-2.796ZM89.503 52H22.497C21.67 52 21 52.672 21 53.5s.67 1.5 1.497 1.5h67.006C90.33 55 91 54.328 91 53.5s-.67-1.5-1.497-1.5Zm0 6H22.497C21.67 58 21 58.672 21 59.5s.67 1.5 1.497 1.5h67.006C90.33 61 91 60.328 91 59.5s-.67-1.5-1.497-1.5Zm-8.986 6H31.483c-.82 0-1.483.671-1.483 1.5s.664 1.5 1.483 1.5h49.034c.82 0 1.483-.671 1.483-1.5s-.664-1.5-1.483-1.5Zm-13.23 12.457H44.713c-1.348 0-2.44.976-2.44 2.18v2.632c0 1.203 1.092 2.179 2.44 2.179h22.574c1.348 0 2.44-.976 2.44-2.18v-2.632c0-1.203-1.092-2.179-2.44-2.179Z"})))),ST=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 112 100"},e,{ref:t}),G().createElement("path",{fillOpacity:".25",d:"M15.735 32.21h14.093v12.584H15.735V32.21Z"}),G().createElement("path",{d:"M22.781 34.758c-2.307 0-4.194 1.685-4.194 3.745s1.887 3.744 4.194 3.744 4.195-1.685 4.195-3.744c0-2.06-1.888-3.745-4.195-3.745Zm.42 5.093c0 .224-.168.374-.42.374s-.42-.15-.42-.374v-1.348c0-.225.168-.375.42-.375s.42.15.42.375v1.348Zm-.42-2.322c-.252 0-.42-.15-.42-.375 0-.224.168-.374.42-.374s.42.15.42.374c0 .225-.168.375-.42.375Zm-5.033 12.868h46.305c.534 0 1.046.19 1.424.526.377.337.59.795.59 1.271 0 .477-.213.934-.59 1.271-.378.337-.89.527-1.424.527H17.748c-.534 0-1.046-.19-1.424-.527a1.706 1.706 0 0 1-.59-1.27c0-.477.213-.935.59-1.272.378-.337.89-.526 1.424-.526Zm-1.007 7.797H95.26c.267 0 .523.095.712.263a.853.853 0 0 1 .294.636.853.853 0 0 1-.294.635 1.07 1.07 0 0 1-.712.264H16.74a1.068 1.068 0 0 1-.696-.271.852.852 0 0 1-.287-.628.85.85 0 0 1 .287-.628 1.06 1.06 0 0 1 .696-.27Zm0 3.899H95.26c.267 0 .523.094.712.263a.853.853 0 0 1 .294.636.853.853 0 0 1-.294.635 1.071 1.071 0 0 1-.712.263H16.74a1.067 1.067 0 0 1-.696-.27.852.852 0 0 1-.287-.628c0-.235.103-.46.287-.629.183-.167.433-.265.696-.27Zm0 3.898h33.285c.267 0 .523.095.712.264a.853.853 0 0 1 .295.635.853.853 0 0 1-.295.636 1.071 1.071 0 0 1-.712.263H16.742a1.067 1.067 0 0 1-.696-.27.852.852 0 0 1-.287-.629.85.85 0 0 1 .287-.628 1.06 1.06 0 0 1 .696-.27Z"}),G().createElement("path",{d:"M102.305 73.182H9.695V26.818h92.61v46.364Zm-91.604-.9h90.597V27.718H10.701v44.566Z",opacity:".25"})))),RT=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 112 100"},e,{ref:t}),G().createElement("path",{fillOpacity:".25",d:"M26.216 39.405c5.97 0 10.811 4.84 10.811 10.811s-4.84 10.811-10.81 10.811c-5.972 0-10.812-4.84-10.812-10.81 0-5.972 4.84-10.812 10.811-10.812Z"}),G().createElement("path",{d:"M26.216 44.21c-3.303 0-6.006 2.703-6.006 6.006 0 3.303 2.703 6.006 6.006 6.006 3.303 0 6.006-2.703 6.006-6.006 0-3.303-2.703-6.006-6.006-6.006Zm.6 8.168c0 .36-.24.601-.6.601s-.6-.24-.6-.6v-2.163c0-.36.24-.6.6-.6s.6.24.6.6v2.162Zm-.6-3.723c-.36 0-.6-.24-.6-.6 0-.361.24-.601.6-.601s.6.24.6.6-.24.601-.6.601Zm18.214-7.118h41.85a1.787 1.787 0 1 1 0 3.574H44.43a1.787 1.787 0 0 1 0-3.574Zm-.894 7.786h52.722a.893.893 0 1 1 0 1.787H43.537a.894.894 0 0 1 0-1.787Zm0 3.893h52.722a.893.893 0 1 1 0 1.787H43.537a.894.894 0 0 1 0-1.787Zm0 3.893h30.07a.894.894 0 0 1 0 1.787h-30.07a.893.893 0 1 1 0-1.787Z"}),G().createElement("path",{d:"M100.873 66.433H11.684A1.686 1.686 0 0 1 10 64.749V35.684A1.685 1.685 0 0 1 11.684 34h89.189a1.687 1.687 0 0 1 1.685 1.684V64.75a1.688 1.688 0 0 1-1.685 1.684ZM11.684 34.901a.784.784 0 0 0-.783.783V64.75a.785.785 0 0 0 .783.783h89.189a.785.785 0 0 0 .784-.783V35.684a.783.783 0 0 0-.784-.783H11.684Z",opacity:".25"})))),MT=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 112 100"},e,{ref:t}),G().createElement("path",{d:"M43.214 43.036h25.992a2.232 2.232 0 1 1 0 4.468H43.213a2.233 2.233 0 1 1 0-4.468Zm-11.995 9.69H81.2a1.117 1.117 0 0 1 0 2.233H31.22a1.117 1.117 0 0 1 0-2.234Zm0 4.843H81.2a1.117 1.117 0 0 1 0 2.234H31.22a1.117 1.117 0 1 1 0-2.233Zm6.527 4.845h36.927a1.117 1.117 0 0 1 0 2.234H37.746a1.117 1.117 0 0 1 0-2.234Zm10.414 8.934h16.1a1.74 1.74 0 0 1 1.74 1.74v2.104a1.74 1.74 0 0 1-1.74 1.74h-16.1a1.74 1.74 0 0 1-1.74-1.74v-2.103a1.74 1.74 0 0 1 1.74-1.741Zm8.05-53.626c-4.095 0-7.445 3.35-7.445 7.446 0 4.094 3.35 7.445 7.445 7.445 4.095 0 7.445-3.35 7.445-7.445 0-4.095-3.35-7.446-7.445-7.446Zm.745 10.126c0 .447-.298.745-.745.745s-.744-.298-.744-.745v-2.68c0-.447.297-.745.744-.745s.745.298.745.745v2.68Zm-.745-4.616c-.447 0-.744-.298-.744-.744 0-.447.297-.745.744-.745s.745.298.745.745c0 .446-.298.744-.745.744Z"}),G().createElement("path",{d:"M100.18 25.168H67.378C67.378 19.01 62.368 14 56.21 14c-6.158 0-11.168 5.01-11.168 11.168H12.24a2.243 2.243 0 0 0-2.24 2.24v56.218a2.243 2.243 0 0 0 2.24 2.24h87.94a2.242 2.242 0 0 0 2.239-2.24V27.408a2.242 2.242 0 0 0-2.239-2.24ZM56.21 15.116c5.542 0 10.051 4.51 10.051 10.052 0 .176-.005.352-.013.526-.275 5.298-4.672 9.525-10.038 9.525-5.365 0-9.761-4.225-10.037-9.523a9.315 9.315 0 0 1-.014-.529c0-5.542 4.509-10.05 10.051-10.05Zm45.093 68.51a1.126 1.126 0 0 1-1.123 1.124H12.24a1.125 1.125 0 0 1-1.123-1.124V27.408c0-.62.504-1.124 1.123-1.124h32.858c.562 5.636 5.33 10.052 11.112 10.052 5.781 0 10.55-4.416 11.112-10.052h32.857c.62 0 1.123.504 1.123 1.124l.001 56.218Z",opacity:".25"})))),TT=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 112 100"},e,{ref:t}),G().createElement("path",{d:"M18.035 51.117h46.2a2.009 2.009 0 1 1 0 4.018h-46.2a2.009 2.009 0 1 1 0-4.018Zm-1.005 8.714h78.34a1.004 1.004 0 0 1 0 2.008H17.03a1.004 1.004 0 1 1 0-2.008Zm0 4.356h78.34a1.004 1.004 0 0 1 0 2.01H17.03a1.004 1.004 0 1 1 0-2.01Zm0 4.357h33.21a1.004 1.004 0 1 1 0 2.009H17.03a1.004 1.004 0 1 1 0-2.009Zm9.04-41.196c-3.683 0-6.696 3.013-6.696 6.696 0 3.682 3.013 6.695 6.696 6.695 3.682 0 6.695-3.013 6.695-6.695 0-3.683-3.013-6.696-6.695-6.696Zm.67 9.106c0 .402-.269.67-.67.67-.402 0-.67-.268-.67-.67v-2.41c0-.402.268-.67.67-.67.401 0 .67.267.67.67v2.41Zm-.67-4.151c-.402 0-.67-.268-.67-.67s.268-.67.67-.67c.401 0 .67.268.67.67s-.269.67-.67.67Z"}),G().createElement("path",{d:"M100.392 33.04H36.113v-7.031A2.011 2.011 0 0 0 34.105 24h-16.07a2.01 2.01 0 0 0-2.009 2.009v7.03H12.01A2.011 2.011 0 0 0 10 35.048V74.57c0 1.108.901 2.009 2.009 2.009h88.383a2.011 2.011 0 0 0 2.009-2.009V35.048a2.011 2.011 0 0 0-2.009-2.009Zm-82.357-8.036h16.07a1.005 1.005 0 0 1 1.004 1.004v16.07a1.005 1.005 0 0 1-1.004 1.004h-16.07a1.005 1.005 0 0 1-1.005-1.004v-16.07a1.006 1.006 0 0 1 1.005-1.004Zm83.361 49.566a1.004 1.004 0 0 1-1.004 1.004H12.009a1.005 1.005 0 0 1-1.005-1.004V35.048a1.005 1.005 0 0 1 1.005-1.004h4.017v8.034a2.011 2.011 0 0 0 2.01 2.009h16.069a2.01 2.01 0 0 0 2.009-2.009v-8.034h64.279a1.003 1.003 0 0 1 1.004 1.004l-.001 39.522Z",opacity:".25"})))),IT=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 112 100"},e,{ref:t}),G().createElement("rect",{width:"92",height:"84",x:"10",y:"8",fill:"#D9D9D9",opacity:".1",rx:"2"}),G().createElement("path",{d:"M74.56 30H38.24c-1.724 0-3.12 1.231-3.12 2.75s1.396 2.75 3.12 2.75h36.32c1.724 0 3.121-1.231 3.121-2.75S76.283 30 74.56 30Z"}),G().createElement("rect",{width:"54.88",height:"3.36",x:"28.96",y:"49.22",opacity:".5",rx:"1.68"}),G().createElement("rect",{width:"72.8",height:"3.36",x:"20",y:"41.22",opacity:".5",rx:"1.68"}),G().createElement("rect",{width:"27.44",height:"7.56",x:"42.68",y:"62.54",rx:"2.24"})))),OT=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 112 100"},e,{ref:t}),G().createElement("path",{fillRule:"evenodd",d:"M100.892 8.494H11.108c-.306 0-.554.221-.554.494v82.024c0 .273.248.494.554.494h89.784c.306 0 .554-.221.554-.494V8.988c0-.273-.248-.494-.554-.494ZM11.108 8C10.496 8 10 8.442 10 8.988v82.024c0 .546.496.988 1.108.988h89.784c.612 0 1.108-.442 1.108-.988V8.988c0-.546-.496-.988-1.108-.988H11.108Z",clipRule:"evenodd",opacity:".1"}),G().createElement("path",{d:"M74.16 30H37.84c-1.724 0-3.12 1.231-3.12 2.75s1.397 2.75 3.12 2.75h36.32c1.724 0 3.121-1.231 3.121-2.75S75.883 30 74.16 30Z"}),G().createElement("rect",{width:"54.88",height:"3.36",x:"28.56",y:"49.22",opacity:".5",rx:"1.68"}),G().createElement("rect",{width:"72.8",height:"3.36",x:"19.6",y:"41.22",opacity:".5",rx:"1.68"}),G().createElement("rect",{width:"27.44",height:"7.56",x:"42.28",y:"62.54",rx:"2.24"})))),LT=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 112 100"},e,{ref:t}),G().createElement("rect",{width:"28.657",height:"3.582",x:"16",y:"40.746",rx:"1.791"}),G().createElement("path",{d:"M16 50c0-.99.802-1.791 1.791-1.791h44.18a1.791 1.791 0 1 1 0 3.582H17.79A1.79 1.79 0 0 1 15.999 50Zm0 7.463c0-.99.802-1.791 1.791-1.791h44.18a1.791 1.791 0 1 1 0 3.582H17.79a1.79 1.79 0 0 1-1.791-1.791Z",opacity:".5"}),G().createElement("rect",{width:"20",height:"8.06",x:"76",y:"46.119",rx:"4.03"})))),DT=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 112 100"},e,{ref:t}),G().createElement("rect",{width:"28.657",height:"3.582",x:"16",y:"40.746",rx:"1.791"}),G().createElement("path",{d:"M16 50c0-.99.802-1.791 1.791-1.791h44.18a1.791 1.791 0 1 1 0 3.582H17.79A1.79 1.79 0 0 1 15.999 50Zm0 7.463c0-.99.802-1.791 1.791-1.791h44.18a1.791 1.791 0 1 1 0 3.582H17.79a1.79 1.79 0 0 1-1.791-1.791Z",opacity:".5"}),G().createElement("rect",{width:"20",height:"8.06",x:"76",y:"46.119",rx:"4.03"})))),BT=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 112 100"},e,{ref:t}),G().createElement("path",{d:"M21.62 47.488c-.225.375-.376.918-.376 1.536 0 .619.151 1.161.376 1.537.23.383.496.537.721.537.226 0 .492-.154.721-.537.226-.376.377-.918.377-1.537 0-.618-.151-1.16-.377-1.536-.23-.383-.495-.537-.72-.537-.226 0-.492.154-.722.537Zm4.39 0c-.225.375-.376.918-.376 1.536 0 .619.151 1.161.377 1.537.23.383.496.537.72.537.226 0 .492-.154.722-.537.225-.376.376-.918.376-1.537 0-.618-.15-1.16-.376-1.536-.23-.383-.496-.537-.721-.537-.225 0-.492.154-.721.537Z"}),G().createElement("path",{fillRule:"evenodd",d:"M24.537 58.537a8.537 8.537 0 1 0 0-17.074 8.537 8.537 0 0 0 0 17.074Zm-3.544-11.425c.3-.5.765-.893 1.349-.893.583 0 1.048.392 1.348.892.304.508.48 1.185.48 1.913 0 .729-.176 1.406-.48 1.913-.3.5-.765.892-1.349.892-.583 0-1.048-.392-1.348-.892-.304-.507-.48-1.184-.48-1.913 0-.728.176-1.405.48-1.913Zm4.39 0c.3-.5.766-.893 1.349-.893s1.048.392 1.348.892c.305.508.481 1.185.481 1.913 0 .729-.176 1.406-.48 1.913-.3.5-.766.892-1.35.892-.582 0-1.048-.392-1.348-.892-.304-.507-.48-1.184-.48-1.913 0-.728.176-1.405.48-1.913Zm-4.261 5.815a.488.488 0 1 0 0 .976h6.83a.488.488 0 0 0 0-.976h-6.83Z",clipRule:"evenodd"}),G().createElement("path",{d:"M42.596 47.488c-.225.375-.377.918-.377 1.536 0 .619.152 1.161.377 1.537.23.383.496.537.721.537.225 0 .492-.154.721-.537.225-.376.377-.918.377-1.537 0-.618-.152-1.16-.377-1.536-.23-.383-.496-.537-.72-.537-.226 0-.492.154-.722.537Zm4.39 0c-.225.375-.376.918-.376 1.536 0 .619.151 1.161.376 1.537.23.383.496.537.721.537.225 0 .492-.154.721-.537.226-.376.377-.918.377-1.537 0-.618-.151-1.16-.377-1.536-.23-.383-.496-.537-.72-.537-.226 0-.492.154-.722.537Z"}),G().createElement("path",{fillRule:"evenodd",d:"M45.512 58.537a8.537 8.537 0 1 0 0-17.074 8.537 8.537 0 0 0 0 17.074ZM41.97 47.112c.3-.5.765-.893 1.348-.893.583 0 1.049.392 1.349.892.304.508.48 1.185.48 1.913 0 .729-.176 1.406-.48 1.913-.3.5-.766.892-1.349.892s-1.048-.392-1.348-.892c-.305-.507-.481-1.184-.481-1.913 0-.728.176-1.405.48-1.913Zm4.39 0c.3-.5.765-.893 1.348-.893.583 0 1.049.392 1.349.892.304.508.48 1.185.48 1.913 0 .729-.176 1.406-.48 1.913-.3.5-.766.892-1.349.892s-1.048-.392-1.348-.892c-.305-.507-.481-1.184-.481-1.913 0-.728.176-1.405.48-1.913Zm-4.261 5.815a.488.488 0 0 0 0 .976h6.829a.488.488 0 0 0 0-.976h-6.83Z",clipRule:"evenodd"}),G().createElement("path",{d:"M63.572 47.488c-.226.375-.377.918-.377 1.536 0 .619.151 1.161.377 1.537.23.383.496.537.72.537.226 0 .492-.154.722-.537.225-.376.376-.918.376-1.537 0-.618-.151-1.16-.376-1.536-.23-.383-.496-.537-.721-.537-.225 0-.492.154-.721.537Zm4.39 0c-.225.375-.377.918-.377 1.536 0 .619.152 1.161.377 1.537.23.383.496.537.72.537.226 0 .492-.154.722-.537.225-.376.377-.918.377-1.537 0-.618-.152-1.16-.377-1.536-.23-.383-.496-.537-.721-.537-.225 0-.492.154-.721.537Z"}),G().createElement("path",{fillRule:"evenodd",d:"M66.488 58.537a8.537 8.537 0 1 0 0-17.074 8.537 8.537 0 0 0 0 17.074Zm-3.544-11.425c.3-.5.766-.893 1.349-.893s1.048.392 1.348.892c.305.508.481 1.185.481 1.913 0 .729-.176 1.406-.48 1.913-.3.5-.766.892-1.35.892-.582 0-1.048-.392-1.348-.892-.304-.507-.48-1.184-.48-1.913 0-.728.176-1.405.48-1.913Zm4.39 0c.3-.5.766-.893 1.349-.893s1.048.392 1.348.892c.305.508.481 1.185.481 1.913 0 .729-.176 1.406-.48 1.913-.3.5-.766.892-1.35.892-.582 0-1.048-.392-1.348-.892-.304-.507-.48-1.184-.48-1.913 0-.728.176-1.405.48-1.913Zm-4.26 5.815a.488.488 0 0 0 0 .976h6.828a.488.488 0 0 0 0-.976h-6.829Z",clipRule:"evenodd"}),G().createElement("path",{d:"M84.547 47.488c-.225.375-.376.918-.376 1.536 0 .619.15 1.161.376 1.537.23.383.496.537.721.537.225 0 .492-.154.721-.537.226-.376.377-.918.377-1.537 0-.618-.151-1.16-.377-1.536-.23-.383-.496-.537-.72-.537-.226 0-.492.154-.722.537Zm4.391 0c-.226.375-.377.918-.377 1.536 0 .619.151 1.161.376 1.537.23.383.496.537.722.537.225 0 .491-.154.72-.537.226-.376.377-.918.377-1.537 0-.618-.151-1.16-.376-1.536-.23-.383-.496-.537-.721-.537-.226 0-.492.154-.722.537Z"}),G().createElement("path",{fillRule:"evenodd",d:"M87.463 58.537a8.537 8.537 0 1 0 0-17.074 8.537 8.537 0 0 0 0 17.074ZM83.92 47.112c.3-.5.765-.893 1.348-.893.583 0 1.049.392 1.349.892.304.508.48 1.185.48 1.913 0 .729-.176 1.406-.48 1.913-.3.5-.766.892-1.349.892s-1.048-.392-1.348-.892c-.305-.507-.481-1.184-.481-1.913 0-.728.176-1.405.48-1.913Zm4.39 0c.3-.5.765-.893 1.349-.893.583 0 1.048.392 1.348.892.304.508.48 1.185.48 1.913 0 .729-.176 1.406-.48 1.913-.3.5-.765.892-1.349.892-.583 0-1.048-.392-1.348-.892-.304-.507-.48-1.184-.48-1.913 0-.728.176-1.405.48-1.913Zm-4.261 5.815a.488.488 0 0 0 0 .976h6.83a.488.488 0 0 0 0-.976h-6.83Z",clipRule:"evenodd"})))),zT=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 112 100"},e,{ref:t}),G().createElement("path",{fillRule:"evenodd",d:"M32.585 50a8.049 8.049 0 1 1-16.097 0 8.049 8.049 0 0 1 16.097 0Zm.488 0A8.537 8.537 0 1 1 16 50a8.537 8.537 0 0 1 17.073 0Zm-11.83-.976c0-.618.152-1.16.377-1.536.23-.383.496-.537.721-.537.226 0 .492.154.721.537.226.375.377.918.377 1.536 0 .619-.151 1.161-.377 1.537-.23.383-.495.537-.72.537-.226 0-.492-.154-.722-.537-.225-.376-.376-.918-.376-1.537Zm1.099-2.805c-.584 0-1.049.392-1.349.892-.304.508-.48 1.185-.48 1.913 0 .729.176 1.406.48 1.913.3.5.765.892 1.349.892.583 0 1.048-.392 1.348-.892.304-.507.48-1.184.48-1.913 0-.728-.176-1.405-.48-1.913-.3-.5-.765-.892-1.349-.892Zm3.292 2.805c0-.618.151-1.16.377-1.536.23-.383.496-.537.72-.537.226 0 .492.154.722.537.225.375.376.918.376 1.536 0 .619-.15 1.161-.376 1.537-.23.383-.496.537-.721.537-.225 0-.492-.154-.721-.537-.226-.376-.377-.918-.377-1.537Zm1.098-2.805c-.583 0-1.049.392-1.349.892-.304.508-.48 1.185-.48 1.913 0 .729.176 1.406.48 1.913.3.5.766.892 1.349.892s1.048-.392 1.348-.892c.305-.507.481-1.184.481-1.913 0-.728-.176-1.405-.48-1.913-.3-.5-.766-.892-1.35-.892Zm-6.098 7.196c0-.27.218-.488.488-.488h6.83a.488.488 0 0 1 0 .976h-6.83a.488.488 0 0 1-.488-.488Z",clipRule:"evenodd"}),G().createElement("path",{d:"M35.756 48.293a.732.732 0 1 1-1.463 0 .732.732 0 0 1 1.463 0Zm0 3.414a.732.732 0 1 1-1.463 0 .732.732 0 0 1 1.463 0Z"}),G().createElement("path",{fillRule:"evenodd",d:"M53.561 50a8.049 8.049 0 1 1-16.098 0 8.049 8.049 0 0 1 16.098 0Zm.488 0a8.537 8.537 0 1 1-17.073 0 8.537 8.537 0 0 1 17.073 0Zm-11.83-.976c0-.618.152-1.16.377-1.536.23-.383.496-.537.721-.537.225 0 .492.154.721.537.225.375.377.918.377 1.536 0 .619-.152 1.161-.377 1.537-.23.383-.496.537-.72.537-.226 0-.492-.154-.722-.537-.225-.376-.377-.918-.377-1.537Zm1.098-2.805c-.583 0-1.048.392-1.348.892-.305.508-.481 1.185-.481 1.913 0 .729.176 1.406.48 1.913.3.5.766.892 1.35.892.582 0 1.048-.392 1.348-.892.304-.507.48-1.184.48-1.913 0-.728-.176-1.405-.48-1.913-.3-.5-.766-.892-1.349-.892Zm3.293 2.805c0-.618.151-1.16.376-1.536.23-.383.496-.537.721-.537.225 0 .492.154.721.537.226.375.377.918.377 1.536 0 .619-.151 1.161-.377 1.537-.23.383-.496.537-.72.537-.226 0-.492-.154-.722-.537-.225-.376-.376-.918-.376-1.537Zm1.097-2.805c-.583 0-1.048.392-1.348.892-.305.508-.481 1.185-.481 1.913 0 .729.176 1.406.48 1.913.3.5.766.892 1.35.892.582 0 1.048-.392 1.348-.892.304-.507.48-1.184.48-1.913 0-.728-.176-1.405-.48-1.913-.3-.5-.766-.892-1.349-.892Zm-6.097 7.196c0-.27.218-.488.488-.488h6.829a.488.488 0 0 1 0 .976h-6.83a.488.488 0 0 1-.487-.488Z",clipRule:"evenodd"}),G().createElement("path",{d:"M56.732 48.293a.732.732 0 1 1-1.464 0 .732.732 0 0 1 1.464 0Zm0 3.414a.732.732 0 1 1-1.464 0 .732.732 0 0 1 1.464 0Z"}),G().createElement("path",{fillRule:"evenodd",d:"M74.537 50a8.049 8.049 0 1 1-16.098 0 8.049 8.049 0 0 1 16.098 0Zm.487 0a8.537 8.537 0 1 1-17.073 0 8.537 8.537 0 0 1 17.073 0Zm-11.829-.976c0-.618.151-1.16.377-1.536.23-.383.496-.537.72-.537.226 0 .492.154.722.537.225.375.376.918.376 1.536 0 .619-.151 1.161-.376 1.537-.23.383-.496.537-.721.537-.225 0-.492-.154-.721-.537-.226-.376-.377-.918-.377-1.537Zm1.098-2.805c-.583 0-1.049.392-1.349.892-.304.508-.48 1.185-.48 1.913 0 .729.176 1.406.48 1.913.3.5.766.892 1.349.892s1.048-.392 1.348-.892c.305-.507.481-1.184.481-1.913 0-.728-.176-1.405-.48-1.913-.3-.5-.766-.892-1.35-.892Zm3.292 2.805c0-.618.152-1.16.377-1.536.23-.383.496-.537.72-.537.226 0 .492.154.722.537.225.375.377.918.377 1.536 0 .619-.152 1.161-.377 1.537-.23.383-.496.537-.721.537-.225 0-.492-.154-.721-.537-.225-.376-.377-.918-.377-1.537Zm1.098-2.805c-.583 0-1.049.392-1.349.892-.304.508-.48 1.185-.48 1.913 0 .729.176 1.406.48 1.913.3.5.766.892 1.349.892s1.048-.392 1.348-.892c.305-.507.481-1.184.481-1.913 0-.728-.176-1.405-.48-1.913-.3-.5-.766-.892-1.35-.892Zm-6.098 7.196c0-.27.219-.488.488-.488h6.83a.488.488 0 0 1 0 .976h-6.83a.488.488 0 0 1-.488-.488Z",clipRule:"evenodd"}),G().createElement("path",{d:"M77.707 48.293a.732.732 0 1 1-1.463 0 .732.732 0 0 1 1.463 0Zm0 3.414a.732.732 0 1 1-1.463 0 .732.732 0 0 1 1.463 0Z"}),G().createElement("path",{fillRule:"evenodd",d:"M95.512 50a8.049 8.049 0 1 1-16.097 0 8.049 8.049 0 0 1 16.097 0ZM96 50a8.537 8.537 0 1 1-17.073 0A8.537 8.537 0 0 1 96 50Zm-11.83-.976c0-.618.152-1.16.377-1.536.23-.383.496-.537.721-.537.225 0 .492.154.721.537.226.375.377.918.377 1.536 0 .619-.151 1.161-.377 1.537-.23.383-.496.537-.72.537-.226 0-.492-.154-.722-.537-.225-.376-.376-.918-.376-1.537Zm1.098-2.805c-.583 0-1.048.392-1.348.892-.305.508-.481 1.185-.481 1.913 0 .729.176 1.406.48 1.913.3.5.766.892 1.35.892.582 0 1.048-.392 1.348-.892.304-.507.48-1.184.48-1.913 0-.728-.176-1.405-.48-1.913-.3-.5-.766-.892-1.349-.892Zm3.293 2.805c0-.618.151-1.16.376-1.536.23-.383.496-.537.722-.537.225 0 .491.154.72.537.226.375.377.918.377 1.536 0 .619-.151 1.161-.376 1.537-.23.383-.496.537-.721.537-.226 0-.492-.154-.722-.537-.225-.376-.376-.918-.376-1.537Zm1.097-2.805c-.583 0-1.048.392-1.348.892-.304.508-.48 1.185-.48 1.913 0 .729.176 1.406.48 1.913.3.5.765.892 1.349.892.583 0 1.048-.392 1.348-.892.304-.507.48-1.184.48-1.913 0-.728-.176-1.405-.48-1.913-.3-.5-.765-.892-1.349-.892Zm-6.097 7.196c0-.27.218-.488.488-.488h6.83a.488.488 0 0 1 0 .976h-6.83a.488.488 0 0 1-.488-.488Z",clipRule:"evenodd"})))),NT=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 112 100"},e,{ref:t}),G().createElement("path",{fillRule:"evenodd",d:"M33.073 41.463H16v17.074h17.073V41.463ZM21.62 47.488c-.225.375-.376.918-.376 1.536 0 .619.151 1.161.376 1.537.23.383.496.536.721.536.226 0 .492-.154.721-.536.226-.376.377-.918.377-1.537 0-.618-.151-1.16-.377-1.536-.23-.383-.495-.537-.72-.537-.226 0-.492.154-.722.537Zm-.627-.377c.3-.5.765-.892 1.349-.892.583 0 1.048.392 1.348.892.304.508.48 1.185.48 1.913 0 .729-.176 1.406-.48 1.913-.3.5-.765.892-1.349.892-.583 0-1.048-.392-1.348-.892-.304-.507-.48-1.184-.48-1.913 0-.728.176-1.405.48-1.913Zm5.018.377c-.226.375-.377.918-.377 1.536 0 .619.151 1.161.377 1.537.23.383.496.536.72.536.226 0 .492-.154.722-.536.225-.376.376-.918.376-1.537 0-.618-.15-1.16-.376-1.536-.23-.383-.496-.537-.721-.537-.225 0-.492.154-.721.537Zm-.628-.377c.3-.5.766-.892 1.349-.892s1.048.392 1.348.892c.305.508.481 1.185.481 1.913 0 .729-.176 1.406-.48 1.913-.3.5-.766.892-1.35.892-.582 0-1.048-.392-1.348-.892-.304-.507-.48-1.184-.48-1.913 0-.728.176-1.405.48-1.913Zm-4.261 5.816a.488.488 0 1 0 0 .975h6.83a.488.488 0 0 0 0-.975h-6.83Zm32.927-11.464H36.976v17.074h17.073V41.463Zm-11.453 6.025c-.225.375-.377.918-.377 1.536 0 .619.152 1.161.377 1.537.23.383.496.536.721.536.225 0 .492-.154.721-.536.225-.376.377-.918.377-1.537 0-.618-.152-1.16-.377-1.536-.23-.383-.496-.537-.72-.537-.226 0-.492.154-.722.537Zm-.627-.377c.3-.5.765-.892 1.348-.892.583 0 1.049.392 1.349.892.304.508.48 1.185.48 1.913 0 .729-.176 1.406-.48 1.913-.3.5-.766.892-1.349.892s-1.048-.392-1.348-.892c-.305-.507-.481-1.184-.481-1.913 0-.728.176-1.405.48-1.913Zm5.017.377c-.225.375-.376.918-.376 1.536 0 .619.151 1.161.376 1.537.23.383.496.536.721.536.225 0 .492-.154.721-.536.226-.376.377-.918.377-1.537 0-.618-.151-1.16-.377-1.536-.23-.383-.496-.537-.72-.537-.226 0-.492.154-.722.537Zm-.627-.377c.3-.5.765-.892 1.348-.892.583 0 1.049.392 1.349.892.304.508.48 1.185.48 1.913 0 .729-.176 1.406-.48 1.913-.3.5-.766.892-1.349.892s-1.048-.392-1.348-.892c-.305-.507-.481-1.184-.481-1.913 0-.728.176-1.405.48-1.913Zm-4.261 5.816a.488.488 0 0 0 0 .975h6.829a.488.488 0 0 0 0-.975h-6.83Zm32.926-11.464H57.951v17.074h17.073V41.463Zm-11.452 6.025c-.226.375-.377.918-.377 1.536 0 .619.151 1.161.377 1.537.23.383.496.536.72.536.226 0 .492-.154.722-.536.225-.376.376-.918.376-1.537 0-.618-.151-1.16-.376-1.536-.23-.383-.496-.537-.721-.537-.225 0-.492.154-.721.537Zm-.628-.377c.3-.5.766-.892 1.349-.892s1.048.392 1.348.892c.305.508.481 1.185.481 1.913 0 .729-.176 1.406-.48 1.913-.3.5-.766.892-1.35.892-.582 0-1.048-.392-1.348-.892-.304-.507-.48-1.184-.48-1.913 0-.728.176-1.405.48-1.913Zm5.018.377c-.225.375-.377.918-.377 1.536 0 .619.152 1.161.377 1.537.23.383.496.536.72.536.226 0 .492-.154.722-.536.225-.376.377-.918.377-1.537 0-.618-.152-1.16-.377-1.536-.23-.383-.496-.537-.721-.537-.225 0-.492.154-.721.537Zm-.628-.377c.3-.5.766-.892 1.349-.892s1.048.392 1.348.892c.305.508.481 1.185.481 1.913 0 .729-.176 1.406-.48 1.913-.3.5-.766.892-1.35.892-.582 0-1.048-.392-1.348-.892-.304-.507-.48-1.184-.48-1.913 0-.728.176-1.405.48-1.913Zm-4.26 5.816a.488.488 0 0 0 0 .975h6.828a.488.488 0 0 0 0-.975h-6.829ZM96 41.463H78.927v17.074H96V41.463Zm-11.453 6.025c-.225.375-.376.918-.376 1.536 0 .619.15 1.161.376 1.537.23.383.496.536.721.536.225 0 .492-.154.721-.536.226-.376.377-.918.377-1.537 0-.618-.151-1.16-.377-1.536-.23-.383-.496-.537-.72-.537-.226 0-.492.154-.722.537Zm-.627-.377c.3-.5.765-.892 1.348-.892.583 0 1.049.392 1.349.892.304.508.48 1.185.48 1.913 0 .729-.176 1.406-.48 1.913-.3.5-.766.892-1.349.892s-1.048-.392-1.348-.892c-.305-.507-.481-1.184-.481-1.913 0-.728.176-1.405.48-1.913Zm5.017.377c-.225.375-.376.918-.376 1.536 0 .619.151 1.161.376 1.537.23.383.496.536.722.536.225 0 .491-.154.72-.536.226-.376.377-.918.377-1.537 0-.618-.151-1.16-.376-1.536-.23-.383-.496-.537-.721-.537-.226 0-.492.154-.722.537Zm-.627-.377c.3-.5.765-.892 1.349-.892.583 0 1.048.392 1.348.892.304.508.48 1.185.48 1.913 0 .729-.176 1.406-.48 1.913-.3.5-.765.892-1.349.892-.583 0-1.048-.392-1.348-.892-.304-.507-.48-1.184-.48-1.913 0-.728.176-1.405.48-1.913Zm-4.261 5.816a.488.488 0 0 0 0 .975h6.83a.488.488 0 0 0 0-.975h-6.83Z",clipRule:"evenodd"})))),VT=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 112 100"},e,{ref:t}),G().createElement("path",{fillRule:"evenodd",d:"M19.293 47.195c-.583 0-1.049.392-1.349.892-.304.507-.48 1.185-.48 1.913s.176 1.406.48 1.913c.3.5.766.892 1.349.892s1.048-.392 1.348-.892c.305-.507.481-1.185.481-1.913s-.176-1.406-.48-1.913c-.3-.5-.766-.892-1.35-.892ZM18.195 50c0-.619.151-1.16.377-1.536.23-.383.496-.537.72-.537.226 0 .492.154.722.537.225.375.376.917.376 1.536s-.151 1.16-.376 1.536c-.23.383-.496.537-.721.537-.225 0-.492-.154-.721-.537-.226-.375-.377-.917-.377-1.536Zm5.732-2.805c-.583 0-1.049.392-1.349.892-.304.507-.48 1.185-.48 1.913s.176 1.406.48 1.913c.3.5.766.892 1.349.892s1.048-.392 1.348-.892c.305-.507.481-1.185.481-1.913s-.176-1.406-.48-1.913c-.3-.5-.766-.892-1.35-.892ZM22.829 50c0-.619.151-1.16.377-1.536.23-.383.496-.537.72-.537.226 0 .492.154.722.537.225.375.376.917.376 1.536s-.15 1.16-.376 1.536c-.23.383-.496.537-.721.537-.225 0-.492-.154-.721-.537-.226-.375-.377-.917-.377-1.536Z",clipRule:"evenodd"}),G().createElement("path",{d:"M27.22 49.512a.488.488 0 0 0 0 .976h3.902a.488.488 0 0 0 0-.976H27.22Z"}),G().createElement("path",{fillRule:"evenodd",d:"M17.951 41.463A1.951 1.951 0 0 0 16 43.415v13.17c0 1.078.874 1.952 1.951 1.952h13.171a1.951 1.951 0 0 0 1.951-1.952v-13.17a1.951 1.951 0 0 0-1.951-1.952h-13.17Zm13.171.488h-13.17c-.809 0-1.464.655-1.464 1.464v13.17c0 .809.655 1.464 1.463 1.464h13.171c.808 0 1.463-.655 1.463-1.464v-13.17c0-.809-.655-1.464-1.463-1.464Zm9.146 5.244c-.583 0-1.048.392-1.348.892-.305.507-.481 1.185-.481 1.913s.176 1.406.48 1.913c.3.5.766.892 1.35.892.582 0 1.048-.392 1.348-.892.304-.507.48-1.185.48-1.913s-.176-1.406-.48-1.913c-.3-.5-.766-.892-1.349-.892ZM39.171 50c0-.619.15-1.16.376-1.536.23-.383.496-.537.721-.537.225 0 .492.154.721.537.226.375.377.917.377 1.536s-.151 1.16-.377 1.536c-.23.383-.496.537-.72.537-.226 0-.492-.154-.722-.537-.225-.375-.376-.917-.376-1.536Zm5.731-2.805c-.583 0-1.048.392-1.348.892-.304.507-.48 1.185-.48 1.913s.176 1.406.48 1.913c.3.5.765.892 1.348.892.584 0 1.049-.392 1.349-.892.304-.507.48-1.185.48-1.913s-.176-1.406-.48-1.913c-.3-.5-.765-.892-1.349-.892ZM43.805 50c0-.619.151-1.16.376-1.536.23-.383.496-.537.721-.537.226 0 .492.154.721.537.226.375.377.917.377 1.536s-.151 1.16-.377 1.536c-.23.383-.495.537-.72.537-.226 0-.492-.154-.722-.537-.225-.375-.376-.917-.376-1.536Z",clipRule:"evenodd"}),G().createElement("path",{d:"M48.195 49.512a.488.488 0 0 0 0 .976h3.903a.488.488 0 0 0 0-.976h-3.903Z"}),G().createElement("path",{fillRule:"evenodd",d:"M38.927 41.463a1.951 1.951 0 0 0-1.951 1.952v13.17c0 1.078.873 1.952 1.95 1.952h13.172a1.951 1.951 0 0 0 1.95-1.952v-13.17a1.951 1.951 0 0 0-1.95-1.952H38.927Zm13.17.488h-13.17c-.808 0-1.464.655-1.464 1.464v13.17c0 .809.656 1.464 1.464 1.464h13.17c.809 0 1.464-.655 1.464-1.464v-13.17c0-.809-.655-1.464-1.463-1.464Zm7.798 6.136c.3-.5.766-.892 1.349-.892s1.048.392 1.348.892c.305.507.481 1.185.481 1.913s-.176 1.406-.48 1.913c-.3.5-.766.892-1.35.892-.582 0-1.048-.392-1.348-.892-.304-.507-.48-1.185-.48-1.913s.176-1.406.48-1.913Zm.628.377c-.226.375-.377.917-.377 1.536s.151 1.16.377 1.536c.23.383.496.537.72.537.226 0 .492-.154.722-.537.225-.375.377-.917.377-1.536s-.152-1.16-.377-1.536c-.23-.383-.496-.537-.721-.537-.225 0-.492.154-.721.537Zm4.007-.377c.3-.5.765-.892 1.348-.892.583 0 1.049.392 1.349.892.304.507.48 1.185.48 1.913s-.176 1.406-.48 1.913c-.3.5-.766.892-1.349.892s-1.049-.392-1.349-.892c-.304-.507-.48-1.185-.48-1.913s.176-1.406.48-1.913Zm.627.377c-.225.375-.376.917-.376 1.536s.15 1.16.376 1.536c.23.383.496.537.721.537.225 0 .492-.154.721-.537.225-.375.377-.917.377-1.536s-.152-1.16-.377-1.536c-.23-.383-.496-.537-.72-.537-.226 0-.492.154-.722.537Z",clipRule:"evenodd"}),G().createElement("path",{d:"M68.683 50c0-.27.218-.488.488-.488h3.902a.488.488 0 0 1 0 .976h-3.902a.488.488 0 0 1-.488-.488Z"}),G().createElement("path",{fillRule:"evenodd",d:"M57.951 43.415c0-1.078.874-1.952 1.951-1.952h13.171c1.078 0 1.951.874 1.951 1.952v13.17a1.951 1.951 0 0 1-1.95 1.952H59.901a1.951 1.951 0 0 1-1.95-1.952v-13.17Zm1.951-1.464h13.171c.808 0 1.464.655 1.464 1.464v13.17c0 .809-.656 1.464-1.464 1.464h-13.17a1.463 1.463 0 0 1-1.464-1.464v-13.17c0-.809.655-1.464 1.463-1.464Zm22.318 5.244c-.584 0-1.049.392-1.349.892-.304.507-.48 1.185-.48 1.913s.176 1.406.48 1.913c.3.5.765.892 1.349.892.583 0 1.048-.392 1.348-.892.304-.507.48-1.185.48-1.913s-.176-1.406-.48-1.913c-.3-.5-.765-.892-1.349-.892ZM81.121 50c0-.619.151-1.16.376-1.536.23-.383.496-.537.721-.537.226 0 .492.154.722.537.225.375.376.917.376 1.536s-.151 1.16-.376 1.536c-.23.383-.496.537-.722.537-.225 0-.49-.154-.72-.537-.226-.375-.377-.917-.377-1.536Zm5.733-2.805c-.583 0-1.049.392-1.349.892-.304.507-.48 1.185-.48 1.913s.176 1.406.48 1.913c.3.5.766.892 1.349.892s1.048-.392 1.348-.892c.305-.507.48-1.185.48-1.913s-.175-1.406-.48-1.913c-.3-.5-.765-.892-1.348-.892ZM85.756 50c0-.619.151-1.16.377-1.536.23-.383.496-.537.72-.537.226 0 .492.154.722.537.225.375.376.917.376 1.536s-.151 1.16-.376 1.536c-.23.383-.496.537-.721.537-.225 0-.492-.154-.721-.537-.226-.375-.377-.917-.377-1.536Z",clipRule:"evenodd"}),G().createElement("path",{d:"M90.146 49.512a.488.488 0 0 0 0 .976h3.903a.488.488 0 0 0 0-.976h-3.903Z"}),G().createElement("path",{fillRule:"evenodd",d:"M80.878 41.463a1.951 1.951 0 0 0-1.951 1.952v13.17c0 1.078.873 1.952 1.951 1.952h13.17A1.951 1.951 0 0 0 96 56.585v-13.17a1.951 1.951 0 0 0-1.951-1.952h-13.17Zm13.17.488h-13.17c-.808 0-1.463.655-1.463 1.464v13.17c0 .809.655 1.464 1.463 1.464h13.17c.809 0 1.464-.655 1.464-1.464v-13.17c0-.809-.655-1.464-1.463-1.464Z",clipRule:"evenodd"})))),FT=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 112 100"},e,{ref:t}),G().createElement("path",{fillRule:"evenodd",d:"M18.062 48.068c.297-.49.759-.873 1.337-.873s1.04.384 1.336.873c.302.497.477 1.16.477 1.872 0 .713-.175 1.376-.477 1.873-.297.489-.758.872-1.336.872-.578 0-1.04-.383-1.337-.873-.302-.496-.477-1.159-.477-1.872 0-.713.175-1.375.477-1.872Zm.622.369c-.223.367-.373.898-.373 1.503 0 .606.15 1.137.373 1.504.228.375.492.525.715.525.223 0 .487-.15.714-.525.224-.367.374-.898.374-1.504 0-.605-.15-1.136-.373-1.503-.228-.375-.492-.526-.715-.526-.223 0-.487.151-.715.526Zm3.73-.369c.297-.49.759-.873 1.337-.873s1.04.384 1.337.873c.301.497.476 1.16.476 1.872 0 .713-.175 1.376-.476 1.873-.298.489-.76.872-1.337.872-.578 0-1.04-.383-1.337-.873-.302-.496-.477-1.159-.477-1.872 0-.713.175-1.375.477-1.872Zm.622.369c-.223.367-.373.898-.373 1.503 0 .606.15 1.137.373 1.504.228.375.492.525.715.525.223 0 .487-.15.715-.525.223-.367.373-.898.373-1.504 0-.605-.15-1.136-.373-1.503-.228-.375-.492-.526-.715-.526-.223 0-.487.151-.715.526Z",clipRule:"evenodd"}),G().createElement("path",{d:"M27.136 51.85a.48.48 0 0 0-.484.477.48.48 0 0 0 .484.478h3.868a.48.48 0 0 0 .484-.478.48.48 0 0 0-.484-.477h-3.868Z"}),G().createElement("path",{fillRule:"evenodd",d:"M39.038 48.068c.297-.49.758-.873 1.336-.873.578 0 1.04.384 1.337.873.302.497.477 1.16.477 1.872 0 .713-.175 1.376-.477 1.873-.297.489-.759.872-1.337.872s-1.04-.383-1.336-.873c-.302-.496-.477-1.159-.477-1.872 0-.713.175-1.375.477-1.872Zm.622.369c-.224.367-.374.898-.374 1.503 0 .606.15 1.137.373 1.504.228.375.492.525.715.525.223 0 .487-.15.715-.525.224-.367.373-.898.373-1.504 0-.605-.15-1.136-.373-1.503-.227-.375-.492-.526-.715-.526-.223 0-.487.151-.715.526Zm3.73-.369c.297-.49.758-.873 1.336-.873.578 0 1.04.384 1.337.873.302.497.477 1.16.477 1.872 0 .713-.175 1.376-.477 1.873-.297.489-.759.872-1.337.872s-1.039-.383-1.336-.873c-.302-.496-.477-1.159-.477-1.872 0-.713.175-1.375.477-1.872Zm.622.369c-.224.367-.374.898-.374 1.503 0 .606.15 1.137.374 1.504.227.375.491.525.714.525.224 0 .488-.15.715-.525.223-.367.373-.898.373-1.504 0-.605-.15-1.136-.373-1.503-.227-.375-.491-.526-.715-.526-.223 0-.487.151-.714.526Z",clipRule:"evenodd"}),G().createElement("path",{d:"M48.111 51.85a.48.48 0 0 0-.483.477.48.48 0 0 0 .483.478h3.869a.48.48 0 0 0 .483-.478.48.48 0 0 0-.483-.477h-3.87Z"}),G().createElement("path",{fillRule:"evenodd",d:"M61.35 47.195c-.578 0-1.04.384-1.337.873-.302.497-.476 1.16-.476 1.872 0 .713.174 1.376.476 1.873.298.489.759.872 1.337.872s1.04-.383 1.337-.873c.301-.496.476-1.159.476-1.872 0-.713-.175-1.375-.476-1.872-.298-.49-.759-.873-1.337-.873Zm-1.088 2.745c0-.605.15-1.136.373-1.503.228-.375.492-.526.715-.526.223 0 .487.151.715.526.223.367.373.898.373 1.503 0 .606-.15 1.137-.373 1.504-.228.375-.492.525-.715.525-.223 0-.487-.15-.715-.525-.223-.367-.373-.898-.373-1.504Zm5.44-2.745c-.578 0-1.04.384-1.337.873-.301.497-.476 1.16-.476 1.872 0 .713.175 1.376.476 1.873.298.489.759.872 1.337.872s1.04-.383 1.337-.873c.302-.496.476-1.159.476-1.872 0-.713-.174-1.375-.476-1.872-.298-.49-.759-.873-1.337-.873Zm-1.088 2.745c0-.605.15-1.136.373-1.503.228-.375.492-.526.715-.526.223 0 .487.151.715.526.223.367.373.898.373 1.503 0 .606-.15 1.137-.373 1.504-.228.375-.492.525-.715.525-.223 0-.487-.15-.715-.525-.223-.367-.373-.898-.373-1.504Z",clipRule:"evenodd"}),G().createElement("path",{d:"M68.603 52.327a.48.48 0 0 1 .484-.477h3.868a.48.48 0 0 1 .484.477.48.48 0 0 1-.483.478h-3.869a.48.48 0 0 1-.484-.478Z"}),G().createElement("path",{fillRule:"evenodd",d:"M80.989 48.068c.297-.49.758-.873 1.337-.873.578 0 1.039.384 1.336.873.302.497.477 1.16.477 1.872 0 .713-.175 1.376-.477 1.873-.297.489-.758.872-1.336.872-.578 0-1.04-.383-1.337-.873-.302-.496-.477-1.159-.477-1.872 0-.713.175-1.375.477-1.872Zm.622.369c-.224.367-.374.898-.374 1.503 0 .606.15 1.137.374 1.504.227.375.491.525.715.525.223 0 .487-.15.714-.525.224-.367.374-.898.374-1.504 0-.605-.15-1.136-.374-1.503-.227-.375-.491-.526-.714-.526-.224 0-.488.151-.715.526Zm3.729-.369c.298-.49.76-.873 1.338-.873.578 0 1.039.384 1.336.873.302.497.477 1.16.477 1.872 0 .713-.175 1.376-.477 1.873-.297.489-.758.872-1.336.872-.578 0-1.04-.383-1.337-.873-.302-.496-.477-1.159-.477-1.872 0-.713.175-1.375.477-1.872Zm.623.369c-.223.367-.373.898-.373 1.503 0 .606.15 1.137.373 1.504.228.375.492.525.715.525.223 0 .487-.15.714-.525.224-.367.374-.898.374-1.504 0-.605-.15-1.136-.374-1.503-.227-.375-.491-.526-.714-.526-.224 0-.487.151-.715.526Z",clipRule:"evenodd"}),G().createElement("path",{d:"M90.063 51.85a.48.48 0 0 0-.484.477.48.48 0 0 0 .484.478h3.868a.48.48 0 0 0 .484-.478.48.48 0 0 0-.484-.477h-3.868Z"})))),HT=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 112 100"},e,{ref:t}),G().createElement("path",{fillRule:"evenodd",d:"M16.637 46.091c.398-.662 1.014-1.182 1.787-1.182.773 0 1.39.52 1.787 1.182.404.672.638 1.57.638 2.535 0 .966-.234 1.863-.638 2.535-.397.663-1.014 1.182-1.787 1.182-.773 0-1.39-.52-1.787-1.182-.403-.672-.637-1.57-.637-2.535 0-.965.234-1.862.637-2.535Zm.832.5c-.299.497-.5 1.215-.5 2.035 0 .82.201 1.539.5 2.036.304.508.657.712.955.712.299 0 .652-.204.956-.712.298-.497.499-1.216.499-2.036 0-.82-.2-1.538-.5-2.036-.303-.507-.656-.711-.955-.711-.298 0-.651.204-.955.711Zm4.986-.5c.398-.662 1.015-1.182 1.787-1.182.773 0 1.39.52 1.787 1.182.404.672.638 1.57.638 2.535 0 .966-.234 1.863-.638 2.535-.397.663-1.014 1.182-1.787 1.182-.772 0-1.39-.52-1.787-1.182-.403-.672-.637-1.57-.637-2.535 0-.965.234-1.862.637-2.535Zm.832.5c-.299.497-.5 1.215-.5 2.035 0 .82.201 1.539.5 2.036.304.508.657.712.955.712.299 0 .652-.204.956-.712.299-.497.499-1.216.499-2.036 0-.82-.2-1.538-.499-2.036-.304-.507-.657-.711-.956-.711-.298 0-.65.204-.955.711Z",clipRule:"evenodd"}),G().createElement("path",{d:"M16.808 53.798a.646.646 0 1 0 0 1.293h9.05a.646.646 0 1 0 0-1.293h-9.05Zm14.546-6.141a.97.97 0 1 1-1.94 0 .97.97 0 0 1 1.94 0Zm-.97 5.494a.97.97 0 1 0 0-1.939.97.97 0 0 0 0 1.94Z"}),G().createElement("path",{fillRule:"evenodd",d:"M39.748 46.091c.398-.662 1.015-1.182 1.787-1.182.773 0 1.39.52 1.788 1.182.403.672.637 1.57.637 2.535 0 .966-.234 1.863-.638 2.535-.397.663-1.014 1.182-1.787 1.182-.772 0-1.39-.52-1.787-1.182-.403-.672-.637-1.57-.637-2.535 0-.965.234-1.862.637-2.535Zm.832.5c-.299.497-.5 1.215-.5 2.035 0 .82.201 1.539.5 2.036.304.508.657.712.955.712.299 0 .652-.204.956-.712.298-.497.499-1.216.499-2.036 0-.82-.2-1.538-.499-2.036-.304-.507-.657-.711-.956-.711-.298 0-.65.204-.955.711Zm4.986-.5c.398-.662 1.015-1.182 1.787-1.182.773 0 1.39.52 1.788 1.182.403.672.637 1.57.637 2.535 0 .966-.234 1.863-.637 2.535-.398.663-1.015 1.182-1.788 1.182-.772 0-1.389-.52-1.787-1.182-.403-.672-.637-1.57-.637-2.535 0-.965.234-1.862.637-2.535Zm.832.5c-.299.497-.499 1.215-.499 2.035 0 .82.2 1.539.499 2.036.304.508.657.712.955.712.299 0 .652-.204.956-.712.299-.497.5-1.216.5-2.036 0-.82-.201-1.538-.5-2.036-.304-.507-.657-.711-.956-.711-.298 0-.65.204-.955.711Z",clipRule:"evenodd"}),G().createElement("path",{d:"M39.92 53.798a.647.647 0 0 0 0 1.293h9.05a.646.646 0 1 0 0-1.293h-9.05Zm14.545-6.141a.97.97 0 1 1-1.94 0 .97.97 0 0 1 1.94 0Zm-.97 5.494a.97.97 0 1 0 0-1.939.97.97 0 0 0 0 1.94Z"}),G().createElement("path",{fillRule:"evenodd",d:"M62.86 46.091c.397-.662 1.014-1.182 1.787-1.182.772 0 1.389.52 1.787 1.182.403.672.637 1.57.637 2.535 0 .966-.234 1.863-.637 2.535-.398.663-1.015 1.182-1.787 1.182-.773 0-1.39-.52-1.788-1.182-.403-.672-.637-1.57-.637-2.535 0-.965.234-1.862.637-2.535Zm.83.5c-.298.497-.498 1.215-.498 2.035 0 .82.2 1.539.499 2.036.304.508.657.712.956.712.298 0 .65-.204.955-.712.299-.497.499-1.216.499-2.036 0-.82-.2-1.538-.499-2.036-.304-.507-.657-.711-.956-.711-.298 0-.65.204-.955.711Zm4.987-.5c.398-.662 1.015-1.182 1.788-1.182.772 0 1.39.52 1.787 1.182.403.672.637 1.57.637 2.535 0 .966-.234 1.863-.637 2.535-.398.663-1.015 1.182-1.787 1.182-.773 0-1.39-.52-1.788-1.182-.403-.672-.637-1.57-.637-2.535 0-.965.234-1.862.637-2.535Zm.832.5c-.299.497-.499 1.215-.499 2.035 0 .82.2 1.539.499 2.036.304.508.657.712.956.712.298 0 .65-.204.955-.712.299-.497.5-1.216.5-2.036 0-.82-.201-1.538-.5-2.036-.304-.507-.657-.711-.955-.711-.299 0-.652.204-.956.711Z",clipRule:"evenodd"}),G().createElement("path",{d:"M63.03 53.798a.647.647 0 0 0 0 1.293h9.05a.646.646 0 1 0 0-1.293h-9.05Zm14.546-6.141a.97.97 0 1 1-1.94 0 .97.97 0 0 1 1.94 0Zm-.97 5.494a.97.97 0 1 0 0-1.939.97.97 0 0 0 0 1.94Z"}),G().createElement("path",{fillRule:"evenodd",d:"M86.802 46.59c-.299.498-.499 1.216-.499 2.036 0 .82.2 1.539.499 2.036.304.508.657.712.956.712.298 0 .65-.204.955-.712.299-.497.5-1.216.5-2.036 0-.82-.201-1.538-.5-2.036-.304-.507-.657-.711-.955-.711-.299 0-.652.204-.956.711Zm-.832-.499c.398-.662 1.015-1.182 1.788-1.182.772 0 1.39.52 1.787 1.182.403.672.637 1.57.637 2.535 0 .966-.234 1.863-.637 2.535-.398.663-1.015 1.182-1.787 1.182-.773 0-1.39-.52-1.787-1.182-.404-.672-.638-1.57-.638-2.535 0-.965.234-1.862.638-2.535Zm6.65.499c-.298.498-.499 1.216-.499 2.036 0 .82.2 1.539.5 2.036.303.508.656.712.955.712.298 0 .651-.204.955-.712.299-.497.5-1.216.5-2.036 0-.82-.201-1.538-.5-2.036-.304-.507-.657-.711-.955-.711-.299 0-.651.204-.956.711Zm-.831-.499c.397-.662 1.014-1.182 1.787-1.182.773 0 1.39.52 1.787 1.182.403.672.637 1.57.637 2.535 0 .966-.234 1.863-.637 2.535-.398.663-1.014 1.182-1.787 1.182-.773 0-1.39-.52-1.787-1.182-.404-.672-.638-1.57-.638-2.535 0-.965.234-1.862.638-2.535Z",clipRule:"evenodd"}),G().createElement("path",{d:"M85.495 54.444c0-.357.29-.646.646-.646h9.05a.646.646 0 1 1 0 1.293h-9.05a.646.646 0 0 1-.646-.647Z"})))),jT=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 112 100"},e,{ref:t}),G().createElement("rect",{width:"22.96",height:"2.24",x:"19.6",y:"44",fill:"#000",opacity:".5",rx:"1.12"}),G().createElement("rect",{width:"10.08",height:"2.24",x:"82.32",y:"44",fill:"#000",opacity:".5",rx:"1.12"}),G().createElement("rect",{width:"33.88",height:"7.56",x:"19.6",y:"48.48",fill:"#000",rx:"1.68"}),G().createElement("rect",{width:"72.8",height:"7.56",x:"19.6",y:"48.48",fill:"#000",opacity:".5",rx:"1.68"})))),WT=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 112 100"},e,{ref:t}),G().createElement("path",{d:"M56 78a28 28 0 0 1-10.075-54.125l1.008 2.613A25.2 25.2 0 0 0 56 75.2V78Z",opacity:".5"}),G().createElement("path",{d:"M45.716 23.957A28 28 0 1 1 28.207 46.6l2.78.34a25.2 25.2 0 1 0 15.758-20.38l-1.029-2.604Z"}),G().createElement("rect",{width:"10.08",height:"2.24",x:"51.24",y:"51.12",opacity:".5",rx:"1.12"}),G().createElement("rect",{width:"22.96",height:"2.24",x:"44.52",y:"46.64",opacity:".5",rx:"1.12"})))),$T=($e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e,{ref:t}),G().createElement("path",{d:"M17.9 15.2H13V2h-2v13.1H6.1L12 22l5.9-6.8z"})))),$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e,{ref:t}),G().createElement("path",{fillRule:"evenodd",d:"M12 4a1 1 0 0 1 1 1v11.586l4.293-4.293a1 1 0 0 1 1.414 1.414l-6 6a1 1 0 0 1-1.414 0l-6-6a1 1 0 1 1 1.414-1.414L11 16.586V5a1 1 0 0 1 1-1Z",clipRule:"evenodd"}))))),ZT=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e,{ref:t}),G().createElement("path",{d:"M2 12l6.9 6v-5H22v-2H8.9V6L2 12z"})))),UT=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e,{ref:t}),G().createElement("path",{d:"M21.8 12l-7-6v5H2v2h12.8v5l7-6z"})))),GT=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e,{ref:t}),G().createElement("path",{fillRule:"evenodd",d:"M12.293 5.293a1 1 0 0 1 1.414 0l6 6a1 1 0 0 1 0 1.414l-6 6a1 1 0 0 1-1.414-1.414L16.586 13H5a1 1 0 1 1 0-2h11.586l-4.293-4.293a1 1 0 0 1 0-1.414Z",clipRule:"evenodd"})))),qT=($e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e,{ref:t}),G().createElement("path",{d:"M13 22V9h5l-6-7-6.1 7h5v12.9H13v.1z"})))),$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e,{ref:t}),G().createElement("path",{fill:"#97022E",fillRule:"evenodd",d:"M18.71 5.293a1 1 0 0 1 0 1.414l-12 12a1 1 0 0 1-1.414-1.414l12-12a1 1 0 0 1 1.414 0Z",clipRule:"evenodd"}),G().createElement("path",{fill:"#97022E",fillRule:"evenodd",d:"M5.293 5.293a1 1 0 0 1 1.414 0l12 12a1 1 0 0 1-1.414 1.414l-12-12a1 1 0 0 1 0-1.414Z",clipRule:"evenodd"})))),$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e,{ref:t}),G().createElement("path",{fill:"#222",d:"M8.6 19.2c-.3 0-.5-.1-.7-.3l-5.6-5.6c-.4-.4-.4-1 0-1.4.4-.4 1-.4 1.4 0l4.9 4.9L20.3 5.1c.4-.4 1-.4 1.4 0 .4.4.4 1 0 1.4L9.3 18.9c-.2.2-.4.3-.7.3Z"}),G().createElement("path",{fill:"#219653",fillRule:"evenodd",d:"M8.6 16.8 20.3 5.1c.4-.4 1-.4 1.4 0 .4.4.4 1 0 1.4L9.3 18.9c-.2.2-.4.3-.7.3-.3 0-.5-.1-.7-.3l-5.6-5.6c-.4-.4-.4-1 0-1.4.4-.4 1-.4 1.4 0l4.9 4.9Z",clipRule:"evenodd"})))),$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 112 100"},e,{ref:t}),G().createElement("path",{fillRule:"evenodd",d:"M37.333 33.933H11.2v26.134h26.133V33.933Zm-13.066 19.6a6.533 6.533 0 1 0 0-13.066 6.533 6.533 0 0 0 0 13.066Zm44.8-19.6H42.933v26.134h26.134V33.933ZM56 53.533a6.533 6.533 0 1 0 0-13.066 6.533 6.533 0 0 0 0 13.066Zm44.8-19.6H74.667v26.134H100.8V33.933Zm-13.067 19.6a6.533 6.533 0 1 0 0-13.066 6.533 6.533 0 0 0 0 13.066Z",clipRule:"evenodd"}))))),KT=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 112 100"},e,{ref:t}),G().createElement("path",{fillRule:"evenodd",d:"M37.333 37.667a3.733 3.733 0 0 0-3.733-3.734H14.933a3.733 3.733 0 0 0-3.733 3.734v18.666a3.733 3.733 0 0 0 3.733 3.734H33.6a3.733 3.733 0 0 0 3.733-3.734V37.667ZM24.267 53.533a6.533 6.533 0 1 0 0-13.066 6.533 6.533 0 0 0 0 13.066Zm44.8-15.866a3.733 3.733 0 0 0-3.734-3.734H46.667a3.733 3.733 0 0 0-3.734 3.734v18.666a3.733 3.733 0 0 0 3.734 3.734h18.666a3.733 3.733 0 0 0 3.734-3.734V37.667ZM56 53.533a6.533 6.533 0 1 0 0-13.066 6.533 6.533 0 0 0 0 13.066Zm44.8-15.866a3.733 3.733 0 0 0-3.733-3.734H78.4a3.733 3.733 0 0 0-3.733 3.734v18.666a3.733 3.733 0 0 0 3.733 3.734h18.667a3.733 3.733 0 0 0 3.733-3.734V37.667ZM87.733 53.533a6.533 6.533 0 1 0 0-13.066 6.533 6.533 0 0 0 0 13.066Z",clipRule:"evenodd"})))),YT=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 112 100"},e,{ref:t}),G().createElement("path",{fillRule:"evenodd",d:"M24.267 60.067c7.216 0 13.066-5.85 13.066-13.067 0-7.217-5.85-13.067-13.066-13.067C17.05 33.933 11.2 39.783 11.2 47c0 7.217 5.85 13.067 13.067 13.067Zm0-6.534a6.533 6.533 0 1 0 0-13.066 6.533 6.533 0 0 0 0 13.066ZM56 60.067c7.217 0 13.067-5.85 13.067-13.067 0-7.217-5.85-13.067-13.067-13.067-7.217 0-13.067 5.85-13.067 13.067 0 7.217 5.85 13.067 13.067 13.067Zm0-6.534a6.533 6.533 0 1 0 0-13.066 6.533 6.533 0 0 0 0 13.066Zm31.733 6.534c7.217 0 13.067-5.85 13.067-13.067 0-7.217-5.85-13.067-13.067-13.067-7.216 0-13.066 5.85-13.066 13.067 0 7.217 5.85 13.067 13.066 13.067Zm0-6.534a6.533 6.533 0 1 0 0-13.066 6.533 6.533 0 0 0 0 13.066Z",clipRule:"evenodd"})))),XT=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({width:"112",height:"101",viewBox:"0 0 112 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("g",{clipPath:"url(#clip0_5_3567)"},G().createElement("path",{d:"M108.267 0.332031H3.73333C1.67147 0.332031 0 2.0035 0 4.06537V28.0927C0 28.0927 31.7035 37.6887 57.8122 37.6653C83.9209 37.6445 112 28.1212 112 28.1212V4.06536C112 2.0035 110.329 0.332031 108.267 0.332031Z",fill:"#D3D3D3"})),G().createElement("defs",null,G().createElement("clipPath",{id:"clip0_5_3567"},G().createElement("path",{d:"M0 4.06732C0 2.00545 1.67147 0.333984 3.73333 0.333984H108.267C110.329 0.333984 112 2.00545 112 4.06732V100.334H0V4.06732Z",fill:"white"})))))),QT=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({width:"112",height:"101",viewBox:"0 0 112 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("g",{clipPath:"url(#clip0_5_3569)"},G().createElement("path",{d:"M108.267 0.332031H3.73333C1.67147 0.332031 0 2.0035 0 4.06536V26.4654L71.8667 35.7987L96.3728 36.9385C104.883 37.3344 112 30.5411 112 22.0213V4.06536C112 2.0035 110.329 0.332031 108.267 0.332031Z",fill:"#D3D3D3"})),G().createElement("defs",null,G().createElement("clipPath",{id:"clip0_5_3569"},G().createElement("path",{d:"M0 4.06732C0 2.00545 1.67147 0.333984 3.73333 0.333984H108.267C110.329 0.333984 112 2.00545 112 4.06732V100.334H0V4.06732Z",fill:"white"})))))),JT=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({width:"112",height:"101",viewBox:"0 0 112 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("g",{clipPath:"url(#clip0_5_3571)"},G().createElement("path",{d:"M0 4.06536C0 2.0035 1.67147 0.332031 3.73333 0.332031H108.267C110.329 0.332031 112 2.0035 112 4.06536V37.6654C112 37.6654 84.4667 21.7241 56.4667 21.5913C28.4667 21.4584 0 37.6654 0 37.6654V4.06536Z",fill:"#D3D3D3"})),G().createElement("defs",null,G().createElement("clipPath",{id:"clip0_5_3571"},G().createElement("path",{d:"M0 4.06732C0 2.00545 1.67147 0.333984 3.73333 0.333984H108.267C110.329 0.333984 112 2.00545 112 4.06732V100.334H0V4.06732Z",fill:"white"})))))),eI=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({width:"112",height:"101",viewBox:"0 0 112 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("g",{clipPath:"url(#clip0_5_3573)"},G().createElement("path",{d:"M108.267 0.332031H3.73333C1.67147 0.332031 0 2.0035 0 4.06536V26.4654L103.79 36.8444C108.186 37.284 112 33.8322 112 29.4148V4.06536C112 2.0035 110.329 0.332031 108.267 0.332031Z",fill:"#D3D3D3"})),G().createElement("defs",null,G().createElement("clipPath",{id:"clip0_5_3573"},G().createElement("path",{d:"M0 4.06732C0 2.00545 1.67147 0.333984 3.73333 0.333984H108.267C110.329 0.333984 112 2.00545 112 4.06732V100.334H0V4.06732Z",fill:"white"})))))),tI=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({width:"112",height:"101",viewBox:"0 0 112 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("path",{d:"M0 4.06536C0 2.0035 1.67147 0.332031 3.73333 0.332031H108.267C110.329 0.332031 112 2.0035 112 4.06536V33.932C112 35.9939 110.329 37.6654 108.267 37.6654H3.73333C1.67147 37.6654 0 35.9939 0 33.932V4.06536Z",fill:"#D3D3D3"})))),rI=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({width:"112",height:"101",viewBox:"0 0 112 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("g",{clipPath:"url(#clip0_5_3577)"},G().createElement("path",{d:"M108.267 0.332031H3.73333C1.67147 0.332031 0 2.00351 0 4.06537V25.1772L29.2032 37.0179C30.2539 37.444 31.3879 37.6251 32.519 37.5476L98.9333 32.9987L112 22.732V4.06536C112 2.0035 110.329 0.332031 108.267 0.332031Z",fill:"#D3D3D3"})),G().createElement("defs",null,G().createElement("clipPath",{id:"clip0_5_3577"},G().createElement("path",{d:"M0 4.06732C0 2.00545 1.67147 0.333984 3.73333 0.333984H108.267C110.329 0.333984 112 2.00545 112 4.06732V100.334H0V4.06732Z",fill:"white"})))))),nI=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({width:"112",height:"101",viewBox:"0 0 112 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("g",{clipPath:"url(#clip0_5_3563)"},G().createElement("path",{d:"M108.267 0.332031H3.73333C1.67147 0.332031 0 2.0035 0 4.06536V22.732L112 37.6654V4.06536C112 2.0035 110.329 0.332031 108.267 0.332031Z",fill:"#D3D3D3"})),G().createElement("defs",null,G().createElement("clipPath",{id:"clip0_5_3563"},G().createElement("path",{d:"M0 4.06732C0 2.00545 1.67147 0.333984 3.73333 0.333984H108.267C110.329 0.333984 112 2.00545 112 4.06732V100.334H0V4.06732Z",fill:"white"})))))),aI=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({width:"112",height:"101",viewBox:"0 0 112 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("g",{clipPath:"url(#clip0_5_3565)"},G().createElement("path",{d:"M0 37.666L56 23.666L112 37.666V4.06601C112 2.00415 110.329 0.332685 108.267 0.332685H3.73333C1.67147 0.332685 0 2.00415 0 4.06602V37.666Z",fill:"#D3D3D3"})),G().createElement("defs",null,G().createElement("clipPath",{id:"clip0_5_3565"},G().createElement("path",{d:"M0 4.06732C0 2.00545 1.67147 0.333984 3.73333 0.333984H108.267C110.329 0.333984 112 2.00545 112 4.06732V100.334H0V4.06732Z",fill:"white"})))))),oI=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({width:"112",height:"101",viewBox:"0 0 112 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("g",{clipPath:"url(#clip0_5_3579)"},G().createElement("path",{d:"M0 4.06536C0 2.0035 1.67147 0.332031 3.73333 0.332031H108.267C110.329 0.332031 112 2.0035 112 4.06536V37.6654H0V4.06536Z",fill:"#D3D3D3"})),G().createElement("defs",null,G().createElement("clipPath",{id:"clip0_5_3579"},G().createElement("path",{d:"M0 4.06732C0 2.00545 1.67147 0.333984 3.73333 0.333984H108.267C110.329 0.333984 112 2.00545 112 4.06732V100.334H0V4.06732Z",fill:"white"})))))),iI=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 112 100"},e,{ref:t}),G().createElement("path",{fill:"#D3D3D3",d:"M0 3.733v31.428c5.787-2.788 10.948-7.643 21.84-2.788 12.507 5.576 22.96 3.082 32.48-2.347 8.773-5.003 15.493-2.201 19.973 0 16.24 10.417 27.067 7.83 37.707.933V3.733A3.733 3.733 0 0 0 108.267 0H3.733A3.733 3.733 0 0 0 0 3.733Z"})))),lI=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({width:"112",height:"101",viewBox:"0 0 112 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("g",{clipPath:"url(#clip0_5_3557)"},G().createElement("path",{d:"M108.267 0.332031H3.73333C1.67147 0.332031 0 2.0035 0 4.06536V17.0672V33.7201C3.52352 31.879 6.91973 34.3348 8.70086 35.2069C17.893 39.7076 24.0662 36.9916 27.0281 35.2069C33.2606 31.0103 40.1967 24.3218 58.6843 29.8527C73.6793 34.3386 82.5255 36.4219 96.8198 27.8267C104.04 23.4855 105.706 24.0643 112 25.8008V4.06536C112 2.0035 110.329 0.332031 108.267 0.332031Z",fill:"#D3D3D3"})),G().createElement("defs",null,G().createElement("clipPath",{id:"clip0_5_3557"},G().createElement("path",{d:"M0 4.06732C0 2.00545 1.67147 0.333984 3.73333 0.333984H108.267C110.329 0.333984 112 2.00545 112 4.06732V100.334H0V4.06732Z",fill:"white"})))))),sI=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 120 100"},e,{ref:t}),G().createElement("path",{fill:"#D3D3D3",d:"M0 25.913V5.052A5.052 5.052 0 0 1 5.052 0h109.896A5.052 5.052 0 0 1 120 5.052v20.872c-10.5-4.686-25.5-3.087-32.179 0C50.591 43.132 38.5 46.194 0 25.914Z"})))),cI=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({width:"112",height:"101",viewBox:"0 0 112 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("g",{clipPath:"url(#clip0_5_3561)"},G().createElement("path",{d:"M0 4.06601V37.3246C8.86667 31.7962 10.2667 35.4661 25.6667 37.5323C31.6072 38.3293 35.5311 35.4498 39.4351 31.9305C40.7843 30.7143 42.5677 30.0968 44.3818 30.1905C56.4399 30.8129 56.5093 28.3552 63.4667 24.2676C68.4537 21.3376 71.8667 21.3996 75.1333 22.8336C98.4667 32.1547 106.4 29.013 112 26.1449V4.06602C112 2.00415 110.329 0.332684 108.267 0.332684H3.73333C1.67147 0.332684 0 2.00415 0 4.06601Z",fill:"#D3D3D3"})),G().createElement("defs",null,G().createElement("clipPath",{id:"clip0_5_3561"},G().createElement("path",{d:"M0 4.06732C0 2.00545 1.67147 0.333984 3.73333 0.333984H108.267C110.329 0.333984 112 2.00545 112 4.06732V100.334H0V4.06732Z",fill:"white"})))))),uI=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({width:"112",height:"101",viewBox:"0 0 112 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("g",{clipPath:"url(#clip0_5_3661)"},G().createElement("path",{d:"M108.267 100.668H3.73333C1.67147 100.668 0 98.9965 0 96.9346V72.9073C0 72.9073 31.7035 63.3113 57.8122 63.3347C83.9209 63.3555 112 72.8788 112 72.8788V96.9346C112 98.9965 110.329 100.668 108.267 100.668Z",fill:"#D3D3D3"})),G().createElement("defs",null,G().createElement("clipPath",{id:"clip0_5_3661"},G().createElement("path",{d:"M0 96.9327C0 98.9945 1.67147 100.666 3.73333 100.666H108.267C110.329 100.666 112 98.9945 112 96.9327V0.666016H0V96.9327Z",fill:"white"})))))),dI=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({width:"112",height:"101",viewBox:"0 0 112 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("g",{clipPath:"url(#clip0_5_3663)"},G().createElement("path",{d:"M108.267 100.668H3.73333C1.67147 100.668 0 98.9965 0 96.9346V74.5346L71.8667 65.2013L96.3728 64.0615C104.883 63.6656 112 70.4589 112 78.9787V96.9346C112 98.9965 110.329 100.668 108.267 100.668Z",fill:"#D3D3D3"})),G().createElement("defs",null,G().createElement("clipPath",{id:"clip0_5_3663"},G().createElement("path",{d:"M0 96.9327C0 98.9945 1.67147 100.666 3.73333 100.666H108.267C110.329 100.666 112 98.9945 112 96.9327V0.666016H0V96.9327Z",fill:"white"})))))),pI=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({width:"112",height:"101",viewBox:"0 0 112 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("g",{clipPath:"url(#clip0_5_3665)"},G().createElement("path",{d:"M0 96.9346C0 98.9965 1.67147 100.668 3.73333 100.668H108.267C110.329 100.668 112 98.9965 112 96.9346V63.3346C112 63.3346 84.4667 79.2759 56.4667 79.4087C28.4667 79.5416 0 63.3346 0 63.3346V96.9346Z",fill:"#D3D3D3"})),G().createElement("defs",null,G().createElement("clipPath",{id:"clip0_5_3665"},G().createElement("path",{d:"M0 96.9327C0 98.9945 1.67147 100.666 3.73333 100.666H108.267C110.329 100.666 112 98.9945 112 96.9327V0.666016H0V96.9327Z",fill:"white"})))))),mI=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({width:"112",height:"101",viewBox:"0 0 112 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("g",{clipPath:"url(#clip0_5_3667)"},G().createElement("path",{d:"M108.267 100.668H3.73333C1.67147 100.668 0 98.9965 0 96.9346V74.5346L103.79 64.1556C108.186 63.716 112 67.1678 112 71.5852V96.9346C112 98.9965 110.329 100.668 108.267 100.668Z",fill:"#D3D3D3"})),G().createElement("defs",null,G().createElement("clipPath",{id:"clip0_5_3667"},G().createElement("path",{d:"M0 96.9327C0 98.9945 1.67147 100.666 3.73333 100.666H108.267C110.329 100.666 112 98.9945 112 96.9327V0.666016H0V96.9327Z",fill:"white"})))))),hI=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({width:"112",height:"101",viewBox:"0 0 112 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("g",{clipPath:"url(#clip0_5_3669)"},G().createElement("path",{d:"M0 96.9346C0 98.9965 1.67147 100.668 3.73333 100.668H108.267C110.329 100.668 112 98.9965 112 96.9346V67.068C112 65.0061 110.329 63.3346 108.267 63.3346H3.73333C1.67147 63.3346 0 65.0061 0 67.068V96.9346Z",fill:"#D3D3D3"})),G().createElement("defs",null,G().createElement("clipPath",{id:"clip0_5_3669"},G().createElement("path",{d:"M0 96.9327C0 98.9945 1.67147 100.666 3.73333 100.666H108.267C110.329 100.666 112 98.9945 112 96.9327V0.666016H0V96.9327Z",fill:"white"})))))),fI=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({width:"112",height:"101",viewBox:"0 0 112 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("g",{clipPath:"url(#clip0_5_3671)"},G().createElement("path",{d:"M108.267 100.668H3.73333C1.67147 100.668 0 98.9965 0 96.9346V75.8228L29.2032 63.9821C30.2539 63.556 31.3879 63.3749 32.519 63.4524L98.9333 68.0013L112 78.268V96.9346C112 98.9965 110.329 100.668 108.267 100.668Z",fill:"#D3D3D3"})),G().createElement("defs",null,G().createElement("clipPath",{id:"clip0_5_3671"},G().createElement("path",{d:"M0 96.9327C0 98.9945 1.67147 100.666 3.73333 100.666H108.267C110.329 100.666 112 98.9945 112 96.9327V0.666016H0V96.9327Z",fill:"white"})))))),vI=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({width:"112",height:"101",viewBox:"0 0 112 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("g",{clipPath:"url(#clip0_5_3657)"},G().createElement("path",{d:"M108.267 100.668H3.73333C1.67147 100.668 0 98.9965 0 96.9346V78.268L112 63.3346V96.9346C112 98.9965 110.329 100.668 108.267 100.668Z",fill:"#D3D3D3"})),G().createElement("defs",null,G().createElement("clipPath",{id:"clip0_5_3657"},G().createElement("path",{d:"M0 96.9327C0 98.9945 1.67147 100.666 3.73333 100.666H108.267C110.329 100.666 112 98.9945 112 96.9327V0.666016H0V96.9327Z",fill:"white"})))))),bI=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({width:"112",height:"101",viewBox:"0 0 112 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("g",{clipPath:"url(#clip0_5_3659)"},G().createElement("path",{d:"M0 63.334L56 77.334L112 63.334V96.934C112 98.9958 110.329 100.667 108.267 100.667H3.73333C1.67147 100.667 0 98.9958 0 96.934V63.334Z",fill:"#D3D3D3"})),G().createElement("defs",null,G().createElement("clipPath",{id:"clip0_5_3659"},G().createElement("path",{d:"M0 96.9327C0 98.9945 1.67147 100.666 3.73333 100.666H108.267C110.329 100.666 112 98.9945 112 96.9327V0.666016H0V96.9327Z",fill:"white"})))))),gI=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({width:"112",height:"101",viewBox:"0 0 112 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("g",{clipPath:"url(#clip0_5_3673)"},G().createElement("path",{d:"M0 96.9346C0 98.9965 1.67147 100.668 3.73333 100.668H108.267C110.329 100.668 112 98.9965 112 96.9346V63.3346H0V96.9346Z",fill:"#D3D3D3"})),G().createElement("defs",null,G().createElement("clipPath",{id:"clip0_5_3673"},G().createElement("path",{d:"M0 96.9327C0 98.9945 1.67147 100.666 3.73333 100.666H108.267C110.329 100.666 112 98.9945 112 96.9327V0.666016H0V96.9327Z",fill:"white"})))))),yI=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 112 100"},e,{ref:t}),G().createElement("g",{clipPath:"url(#clip0_5_3649)"},G().createElement("path",{d:"M0 96.934V65.1894C5.78667 68.0022 10.9479 72.9018 21.84 68.0022C34.3467 62.3764 44.8 64.8932 54.32 70.371C63.0933 75.4192 69.8133 72.5918 74.2933 70.371C90.5333 59.8596 101.36 62.4706 112 69.4289V96.934C112 98.9958 110.329 100.667 108.267 100.667H3.73333C1.67147 100.667 0 98.9958 0 96.934Z",fill:"#D3D3D3"})),G().createElement("defs",null,G().createElement("clipPath",{id:"clip0_5_3649"},G().createElement("path",{d:"M0 96.9327C0 98.9945 1.67147 100.666 3.73333 100.666H108.267C110.329 100.666 112 98.9945 112 96.9327V0.666016H0V96.9327Z",fill:"white"})))))),EI=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({width:"112",height:"101",viewBox:"0 0 112 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("g",{clipPath:"url(#clip0_5_3651)"},G().createElement("path",{d:"M108.267 100.668H3.73333C1.67147 100.668 0 98.9965 0 96.9346V83.9328V67.2799C3.52352 69.121 6.91973 66.6652 8.70086 65.7931C17.893 61.2924 24.0662 64.0084 27.0281 65.7931C33.2606 69.9897 40.1967 76.6782 58.6843 71.1473C73.6793 66.6614 82.5255 64.5781 96.8198 73.1733C104.04 77.5145 105.706 76.9357 112 75.1992V96.9346C112 98.9965 110.329 100.668 108.267 100.668Z",fill:"#D3D3D3"})),G().createElement("defs",null,G().createElement("clipPath",{id:"clip0_5_3651"},G().createElement("path",{d:"M0 96.9327C0 98.9945 1.67147 100.666 3.73333 100.666H108.267C110.329 100.666 112 98.9945 112 96.9327V0.666016H0V96.9327Z",fill:"white"})))))),kI=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 120 100"},e,{ref:t}),G().createElement("path",{d:"M0 76.4821V95.9531C0 98.5571 2.11091 100.668 4.71485 100.668H107.285C109.889 100.668 112 98.5571 112 95.9531V76.4721C102.2 80.8462 88.2 79.3532 81.9665 76.4721C47.2177 60.4115 35.9333 57.5539 0 76.4821Z",fill:"#D3D3D3"})))),wI=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({width:"112",height:"101",viewBox:"0 0 112 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("g",{clipPath:"url(#clip0_5_3655)"},G().createElement("path",{d:"M0 96.934V63.6754C8.86667 69.2038 10.2667 65.5339 25.6667 63.4677C31.6072 62.6707 35.5311 65.5502 39.4351 69.0695C40.7843 70.2857 42.5677 70.9032 44.3818 70.8095C56.4399 70.1871 56.5093 72.6448 63.4667 76.7324C68.4537 79.6624 71.8667 79.6004 75.1333 78.1664C98.4667 68.8453 106.4 71.987 112 74.8551V96.934C112 98.9958 110.329 100.667 108.267 100.667H3.73333C1.67147 100.667 0 98.9958 0 96.934Z",fill:"#D3D3D3"})),G().createElement("defs",null,G().createElement("clipPath",{id:"clip0_5_3655"},G().createElement("path",{d:"M0 96.9327C0 98.9945 1.67147 100.666 3.73333 100.666H108.267C110.329 100.666 112 98.9945 112 96.9327V0.666016H0V96.9327Z",fill:"white"})))))),xI=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 112 122",fill:"#E0E0E0 !important"},e,{ref:t}),G().createElement("rect",{width:"111",height:"121",x:".5",y:".5",fill:"#F4F4F4",rx:"1.5"}),G().createElement("rect",{width:"111",height:"121",x:".5",y:".5",stroke:"#E0E0E0",rx:"1.5"}),G().createElement("path",{fill:"#222",d:"M46.342 66h-1.65l-4.348-6.69a2.96 2.96 0 0 1-.273-.527h-.038c.034.194.05.611.05 1.25V66h-1.46v-9.102h1.759l4.202 6.531c.178.271.292.457.343.559h.025c-.042-.241-.063-.65-.063-1.225v-5.865h1.453V66Zm6.011.152c-1.311 0-2.363-.425-3.154-1.276-.787-.85-1.18-1.957-1.18-3.32 0-1.464.401-2.631 1.205-3.503.804-.872 1.896-1.308 3.276-1.308 1.278 0 2.306.423 3.084 1.27.783.846 1.175 1.953 1.175 3.32 0 1.485-.4 2.66-1.2 3.522-.8.864-1.868 1.295-3.206 1.295Zm.07-8.08c-.833 0-1.513.31-2.037.933-.52.622-.781 1.44-.781 2.456 0 1.012.254 1.826.762 2.444.508.618 1.172.927 1.993.927.872 0 1.56-.294 2.063-.882.503-.589.755-1.412.755-2.47 0-1.087-.245-1.927-.736-2.52-.487-.592-1.16-.888-2.019-.888ZM66.147 66h-1.65l-4.349-6.69a2.966 2.966 0 0 1-.273-.527h-.038c.034.194.051.611.051 1.25V66h-1.46v-9.102h1.759l4.202 6.531c.177.271.292.457.342.559h.026c-.043-.241-.064-.65-.064-1.225v-5.865h1.454V66Zm7.37 0h-5.11v-9.102h4.907v1.282h-3.396v2.577h3.129v1.276h-3.13v2.691h3.6V66Z"})))),_I=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 112 100",fill:"none"},e,{ref:t}),G().createElement("path",{fillRule:"evenodd",d:"M56 60.08c5.567 0 10.08-4.513 10.08-10.08S61.567 39.92 56 39.92 45.92 44.433 45.92 50 50.433 60.08 56 60.08Zm2.856-5.102a.56.56 0 0 0 .257.062.56.56 0 0 0 .348-.1.56.56 0 0 0 .224-.56l-.56-3.154 2.307-2.24a.56.56 0 0 0 .14-.56.56.56 0 0 0-.454-.38l-3.192-.465-1.422-2.867a.56.56 0 0 0-1.008 0l-1.406 2.872-3.192.465a.56.56 0 0 0-.453.38.56.56 0 0 0 .14.56l2.307 2.24-.56 3.154a.56.56 0 0 0 .812.593L56 53.483l2.856 1.495Z",clipRule:"evenodd"})))),PI=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 112 100",fill:"none"},e,{ref:t}),G().createElement("path",{d:"M58.856 54.978a.56.56 0 0 0 .257.062.56.56 0 0 0 .348-.1.56.56 0 0 0 .224-.56l-.56-3.154 2.307-2.24a.56.56 0 0 0 .14-.56.56.56 0 0 0-.454-.38l-3.192-.465-1.422-2.867a.56.56 0 0 0-1.008 0l-1.406 2.872-3.192.465a.56.56 0 0 0-.453.38.56.56 0 0 0 .14.56l2.307 2.24-.56 3.154a.56.56 0 0 0 .812.593L56 53.483l2.856 1.495Z"}),G().createElement("path",{fillRule:"evenodd",d:"M66.08 50c0 5.567-4.513 10.08-10.08 10.08S45.92 55.567 45.92 50 50.433 39.92 56 39.92 66.08 44.433 66.08 50Zm-.56 0a9.52 9.52 0 1 1-19.04 0 9.52 9.52 0 0 1 19.04 0Z",clipRule:"evenodd"})))),CI=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 112 100",fill:"none"},e,{ref:t}),G().createElement("path",{xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",d:"M65.8 40.2H46.2v19.6h19.6V40.2Zm-7.023 14.64c.077.04.163.06.25.06a.545.545 0 0 0 .338-.098.545.545 0 0 0 .218-.544l-.545-3.066 2.243-2.177a.544.544 0 0 0 .136-.545.544.544 0 0 0-.44-.37l-3.104-.452-1.383-2.787a.545.545 0 0 0-.98 0l-1.366 2.793-3.104.451a.545.545 0 0 0-.44.37.544.544 0 0 0 .135.545l2.243 2.178-.544 3.065a.543.543 0 0 0 .79.577L56 53.387l2.777 1.453Z",clipRule:"evenodd"})))),AI=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 112 100",fill:"none"},e,{ref:t}),G().createElement("path",{d:"M58.777 54.84c.077.04.163.06.25.06a.545.545 0 0 0 .338-.098.545.545 0 0 0 .218-.544l-.545-3.066 2.243-2.177a.544.544 0 0 0 .136-.545.544.544 0 0 0-.44-.37l-3.104-.452-1.383-2.787a.545.545 0 0 0-.98 0l-1.366 2.793-3.104.451a.545.545 0 0 0-.44.37.544.544 0 0 0 .135.545l2.243 2.178-.544 3.065a.543.543 0 0 0 .79.577L56 53.387l2.777 1.453Z"}),G().createElement("path",{fillRule:"evenodd",d:"M46.2 40.2h19.6v19.6H46.2V40.2Zm.545.545h18.51v18.51h-18.51v-18.51Z",clipRule:"evenodd"})))),SI=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 112 100",fill:"none"},e,{ref:t}),G().createElement("path",{xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",d:"M48.378 40.2a2.178 2.178 0 0 0-2.178 2.178v15.244c0 1.203.975 2.178 2.178 2.178h15.244a2.178 2.178 0 0 0 2.178-2.178V42.378a2.178 2.178 0 0 0-2.178-2.178H48.378Zm10.399 14.64c.077.04.163.06.25.06a.545.545 0 0 0 .338-.098.545.545 0 0 0 .218-.544l-.545-3.066 2.243-2.177a.544.544 0 0 0 .136-.545.544.544 0 0 0-.44-.37l-3.104-.452-1.383-2.787a.545.545 0 0 0-.98 0l-1.366 2.793-3.104.451a.545.545 0 0 0-.44.37.544.544 0 0 0 .135.545l2.243 2.178-.544 3.065a.543.543 0 0 0 .79.577L56 53.387l2.777 1.453Z",clipRule:"evenodd"})))),RI=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 112 100",fill:"none"},e,{ref:t}),G().createElement("path",{d:"M58.777 54.84c.077.04.163.06.25.06a.545.545 0 0 0 .338-.098.545.545 0 0 0 .218-.544l-.545-3.066 2.243-2.177a.544.544 0 0 0 .136-.545.544.544 0 0 0-.44-.37l-3.104-.452-1.383-2.787a.545.545 0 0 0-.98 0l-1.366 2.793-3.104.451a.545.545 0 0 0-.44.37.544.544 0 0 0 .135.545l2.243 2.178-.544 3.065a.543.543 0 0 0 .79.577L56 53.387l2.777 1.453Z"}),G().createElement("path",{fillRule:"evenodd",d:"M46.2 42.378c0-1.203.975-2.178 2.178-2.178h15.244c1.203 0 2.178.975 2.178 2.178v15.244a2.178 2.178 0 0 1-2.178 2.178H48.378a2.178 2.178 0 0 1-2.178-2.178V42.378Zm2.178-1.633h15.244c.903 0 1.634.73 1.634 1.633v15.244c0 .903-.731 1.634-1.634 1.634H48.378a1.633 1.633 0 0 1-1.633-1.634V42.378c0-.902.73-1.633 1.633-1.633Z",clipRule:"evenodd"})))),MI=($e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 112 122",fill:"#E0E0E0 !important"},e,{ref:t}),G().createElement("path",{d:"M21.2 8H2.8a.8.8 0 0 0-.8.8v6.4a.8.8 0 0 0 .8.8h18.4a.8.8 0 0 0 .8-.8V8.8a.8.8 0 0 0-.8-.8Zm-1.7 4.5h-15a.5.5 0 0 1 0-1h15a.5.5 0 0 1 0 1Z"})))),$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 112 122",fill:"#E0E0E0 !important"},e,{ref:t}),G().createElement("path",{d:"M19.5 11.5h-15a.5.5 0 0 0 0 1h15a.5.5 0 0 0 0-1Z"}),G().createElement("rect",{width:"19",height:"8",x:"2.5",y:"8",fill:"none",stroke:"currentColor",strokeMiterlimit:"10",rx:".8"})))),$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 112 100"},e,{ref:t}),G().createElement("path",{fillRule:"evenodd",d:"M31.465 38.314a.28.28 0 0 1 0 .396l-2.567 2.567a.28.28 0 0 1-.396 0l-1.167-1.167a.28.28 0 1 1 .396-.396l.969.969 2.369-2.37a.28.28 0 0 1 .396 0Z",clipRule:"evenodd"}),G().createElement("rect",{width:"47.6",height:"3.36",x:"37.8",y:"38.12",opacity:".5",rx:"1.68"}),G().createElement("path",{fillRule:"evenodd",d:"M31.465 48.394a.28.28 0 0 1 0 .396l-2.567 2.567a.28.28 0 0 1-.396 0l-1.167-1.167a.28.28 0 1 1 .396-.396l.969.969 2.369-2.369a.28.28 0 0 1 .396 0Z",clipRule:"evenodd"}),G().createElement("rect",{width:"47.6",height:"3.36",x:"37.8",y:"48.2",opacity:".5",rx:"1.68"}),G().createElement("path",{fillRule:"evenodd",d:"M31.465 58.474a.28.28 0 0 1 0 .396l-2.567 2.567a.28.28 0 0 1-.396 0l-1.167-1.167a.28.28 0 1 1 .396-.396l.969.969 2.369-2.369a.28.28 0 0 1 .396 0Z",clipRule:"evenodd"}),G().createElement("rect",{width:"47.6",height:"3.36",x:"37.8",y:"58.28",opacity:".5",rx:"1.68"}))))),TI=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 112 100"},e,{ref:t}),G().createElement("path",{d:"M31.165 39.193a.28.28 0 0 0-.396-.396l-1.406 1.406-.532-.531a.28.28 0 1 0-.396.396l.73.729a.28.28 0 0 0 .396 0l1.604-1.604Z"}),G().createElement("path",{fillRule:"evenodd",d:"M32.6 39.8a2.8 2.8 0 1 1-5.6 0 2.8 2.8 0 0 1 5.6 0Zm-.42 0a2.38 2.38 0 1 1-4.76 0 2.38 2.38 0 0 1 4.76 0Z",clipRule:"evenodd"}),G().createElement("rect",{width:"47.6",height:"3.36",x:"37.08",y:"38.12",opacity:".5",rx:"1.68"}),G().createElement("path",{d:"M31.165 49.273a.28.28 0 0 0-.396-.396l-1.406 1.406-.532-.531a.28.28 0 0 0-.396.396l.73.73a.28.28 0 0 0 .396 0l1.604-1.605Z"}),G().createElement("path",{fillRule:"evenodd",d:"M32.6 49.88a2.8 2.8 0 1 1-5.6 0 2.8 2.8 0 0 1 5.6 0Zm-.42 0a2.38 2.38 0 1 1-4.76 0 2.38 2.38 0 0 1 4.76 0Z",clipRule:"evenodd"}),G().createElement("rect",{width:"47.6",height:"3.36",x:"37.08",y:"48.2",opacity:".5",rx:"1.68"}),G().createElement("path",{d:"M31.165 59.353a.28.28 0 0 0-.396-.396l-1.406 1.406-.532-.531a.28.28 0 0 0-.396.396l.73.73a.28.28 0 0 0 .396 0l1.604-1.605Z"}),G().createElement("path",{fillRule:"evenodd",d:"M32.6 59.96a2.8 2.8 0 1 1-5.6 0 2.8 2.8 0 0 1 5.6 0Zm-.42 0a2.38 2.38 0 1 1-4.76 0 2.38 2.38 0 0 1 4.76 0Z",clipRule:"evenodd"}),G().createElement("rect",{width:"47.6",height:"3.36",x:"37.08",y:"58.28",opacity:".5",rx:"1.68"})))),II=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 112 100"},e,{ref:t}),G().createElement("path",{fillRule:"evenodd",d:"M29.8 42.6a2.8 2.8 0 1 0 0-5.6 2.8 2.8 0 0 0 0 5.6Zm1.365-3.407a.28.28 0 0 0-.396-.396l-1.406 1.406-.532-.531a.28.28 0 1 0-.396.396l.73.729a.28.28 0 0 0 .396 0l1.604-1.604Z",clipRule:"evenodd"}),G().createElement("rect",{width:"47.6",height:"3.36",x:"37.08",y:"38.12",opacity:".5",rx:"1.68"}),G().createElement("path",{fillRule:"evenodd",d:"M29.8 52.68a2.8 2.8 0 1 0 0-5.6 2.8 2.8 0 0 0 0 5.6Zm1.365-3.407a.28.28 0 0 0-.396-.396l-1.406 1.406-.532-.531a.28.28 0 1 0-.396.396l.73.73a.28.28 0 0 0 .396 0l1.604-1.605Z",clipRule:"evenodd"}),G().createElement("rect",{width:"47.6",height:"3.36",x:"37.08",y:"48.2",opacity:".5",rx:"1.68"}),G().createElement("path",{fillRule:"evenodd",d:"M29.8 62.76a2.8 2.8 0 1 0 0-5.6 2.8 2.8 0 0 0 0 5.6Zm1.365-3.407a.28.28 0 0 0-.396-.396l-1.406 1.406-.532-.531a.28.28 0 0 0-.396.396l.73.73a.28.28 0 0 0 .396 0l1.604-1.605Z",clipRule:"evenodd"}),G().createElement("rect",{width:"47.6",height:"3.36",x:"37.08",y:"58.28",opacity:".5",rx:"1.68"})))),OI=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 48 12",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("path",{d:"M0 6c0-.552.768-1 1.714-1h44.572C47.233 5 48 5.448 48 6s-.767 1-1.714 1H1.714C.768 7 0 6.552 0 6Z"})))),LI=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 48 20",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("path",{fillRule:"evenodd",d:"M3.429 0C1.535 0 0 1.473 0 3.29v13.42C0 18.527 1.535 20 3.429 20H44.57c1.895 0 3.43-1.473 3.43-3.29V3.29C48 1.472 46.465 0 44.571 0H3.43Zm4.21 9.868c-.432 0-.782.336-.782.75 0 .415.35.75.782.75h32.036c.432 0 .782-.335.782-.75 0-.414-.35-.75-.782-.75H7.64Z",clipRule:"evenodd"})))),DI=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 48 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("path",{fillRule:"evenodd",d:"M44.571 1.645H3.43c-.947 0-1.715.736-1.715 1.645v13.42c0 .909.768 1.645 1.715 1.645h41.14c.947 0 1.715-.736 1.715-1.645V3.29c0-.909-.768-1.645-1.715-1.645ZM3.43 0C1.535 0 0 1.473 0 3.29v13.42C0 18.527 1.535 20 3.429 20H44.57c1.895 0 3.43-1.473 3.43-3.29V3.29C48 1.473 46.465 0 44.571 0H3.43Z",clipRule:"evenodd"}),G().createElement("path",{d:"M7.2 10.25c0-.414.35-.75.782-.75h32.037c.431 0 .781.336.781.75s-.35.75-.781.75H7.982c-.432 0-.782-.336-.782-.75Z"}),G().createElement("path",{fillRule:"evenodd",d:"M40.019 11c.431 0 .781-.336.781-.75s-.35-.75-.781-.75H7.982c-.432 0-.782.336-.782.75s.35.75.782.75h32.037Z",clipRule:"evenodd"})))),BI=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 48 12",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("path",{d:"M0 4.5c0-.552.768-1 1.714-1h44.572c.947 0 1.714.448 1.714 1s-.767 1-1.714 1H1.714C.768 5.5 0 5.052 0 4.5ZM0 8c0-.276.384-.5.857-.5h46.286c.473 0 .857.224.857.5s-.384.5-.857.5H.857C.384 8.5 0 8.276 0 8Z"})))),zI=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("path",{d:"M11.977 22a9.936 9.936 0 0 1-3.804-.752 9.93 9.93 0 0 1-3.253-2.17c-.936-.937-1.666-2.031-2.169-3.255S1.995 13.309 2 11.986a9.964 9.964 0 0 1 2.295-6.324l-1.95-1.95a.999.999 0 1 1 1.414-1.414l2.589 2.589a1.786 1.786 0 0 1 .076.076l15.277 15.278a.999.999 0 1 1-1.414 1.414l-1.951-1.951A9.967 9.967 0 0 1 12.009 22h-.032zM5.717 7.084a7.953 7.953 0 0 0-1.091 1.847A7.936 7.936 0 0 0 4 11.994a7.923 7.923 0 0 0 .6 3.067 7.926 7.926 0 0 0 1.734 2.603 7.939 7.939 0 0 0 2.601 1.734c.977.402 1.992.585 3.068.602a7.942 7.942 0 0 0 4.912-1.718L5.717 7.084zm14.323 9.925a1 1 0 0 1-.892-1.449 7.923 7.923 0 0 0 .752-4.853 7.939 7.939 0 0 0-2.234-4.372 7.926 7.926 0 0 0-4.372-2.234 7.943 7.943 0 0 0-4.852.751.999.999 0 1 1-.9-1.786 9.933 9.933 0 0 1 6.068-.94 9.914 9.914 0 0 1 5.469 2.794 9.912 9.912 0 0 1 2.795 5.469 9.92 9.92 0 0 1-.939 6.068 1 1 0 0 1-.895.552z"})))),NI=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 20 20",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("path",{fillRule:"evenodd",d:"M2.155 2.988A1.667 1.667 0 0 1 3.333 2.5h13.334a1.666 1.666 0 0 1 1.666 1.667V12.5a1.667 1.667 0 0 1-1.666 1.667h-3.334v1.666h.834a.833.833 0 1 1 0 1.667H5.833a.833.833 0 0 1 0-1.667h.834v-1.666H3.333A1.667 1.667 0 0 1 1.667 12.5V4.167c0-.442.175-.866.488-1.179Zm6.178 11.179v1.666h3.334v-1.666H8.333Zm-5-1.667V4.167h13.334V12.5H3.333Z",clipRule:"evenodd"})))),VI=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 20 20",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("path",{fillRule:"evenodd",d:"M3.822 2.155A1.667 1.667 0 0 1 5 1.667h10a1.667 1.667 0 0 1 1.667 1.666v13.334A1.667 1.667 0 0 1 15 18.333H5a1.667 1.667 0 0 1-1.667-1.666V3.333c0-.442.176-.866.489-1.178ZM15 3.333H5v13.334h10V3.333Zm-6.178 9.655a1.667 1.667 0 1 1 2.357 2.358 1.667 1.667 0 0 1-2.357-2.358Z",clipRule:"evenodd"})))),FI=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("path",{fillRule:"evenodd",d:"M6.667 3.333a.833.833 0 0 0-.834.834v11.666a.833.833 0 0 0 .834.834h6.666a.833.833 0 0 0 .834-.834V4.167a.833.833 0 0 0-.834-.834h-1.666c0 .46-.373.834-.834.834H9.167a.833.833 0 0 1-.834-.834H6.667ZM4.899 2.4a2.5 2.5 0 0 1 1.768-.732h6.666a2.5 2.5 0 0 1 2.5 2.5v11.666a2.5 2.5 0 0 1-2.5 2.5H6.667a2.5 2.5 0 0 1-2.5-2.5V4.167a2.5 2.5 0 0 1 .732-1.768ZM10 13.333c.46 0 .833.373.833.834v.008a.833.833 0 0 1-1.666 0v-.008c0-.46.373-.834.833-.834Z",clipRule:"evenodd"})))),HI=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:"blockart-icon"},e,{ref:t}),G().createElement("path",{fillRule:"evenodd",d:"M17.5 6.5H14v-2h3.5a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H14v-2h3.5v-11Zm-7.5 11H6.5v-11H10v-2H6.5a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2H10v-2Z",clipRule:"evenodd"}),G().createElement("path",{d:"M11 3a1 1 0 1 1 2 0v18a1 1 0 1 1-2 0V3Zm3 12h2.5L14 11.042V15Zm-4.267-3.395.267.312V15H7.5l2.233-3.395Z"})))),jI=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 400 400",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("path",{d:"M34 30h332v340H34z",opacity:".1"}),G().createElement("path",{d:"M264.854 118H135.146C128.99 118 124 122.925 124 129s4.99 11 11.146 11h129.708c6.156 0 11.146-4.925 11.146-11s-4.99-11-11.146-11Z"}),G().createElement("path",{d:"M102 218a6 6 0 0 1 6-6h184a6 6 0 1 1 0 12H108a6 6 0 0 1-6-6Zm-32-50a6 6 0 0 1 6-6h248a6 6 0 1 1 0 12H76a6 6 0 0 1-6-6Zm0 25a6 6 0 0 1 6-6h248a6 6 0 1 1 0 12H76a6 6 0 0 1-6-6Z",opacity:".5"}),G().createElement("rect",{width:"98",height:"27",x:"151",y:"255",rx:"8"})))),WI=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 400 400",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("path",{fillRule:"evenodd",d:"M362 32H38a2 2 0 0 0-2 2v332a2 2 0 0 0 2 2h324a2 2 0 0 0 2-2V34a2 2 0 0 0-2-2ZM38 30a4 4 0 0 0-4 4v332a4 4 0 0 0 4 4h324a4 4 0 0 0 4-4V34a4 4 0 0 0-4-4H38Z",clipRule:"evenodd",opacity:".25"}),G().createElement("path",{d:"M264.854 118H135.146C128.99 118 124 122.925 124 129s4.99 11 11.146 11h129.708c6.156 0 11.146-4.925 11.146-11s-4.99-11-11.146-11Z"}),G().createElement("rect",{width:"196",height:"12",x:"102",y:"212",opacity:".5",rx:"6"}),G().createElement("rect",{width:"260",height:"12",x:"70",y:"162",opacity:".5",rx:"6"}),G().createElement("rect",{width:"260",height:"12",x:"70",y:"187",opacity:".5",rx:"6"}),G().createElement("rect",{width:"98",height:"27",x:"151",y:"255",rx:"8"})))),$I=($e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 81 70",xmlns:"http://www.w3.org/2000/svg"},e,{ref:t,fill:"none"}),G().createElement("path",{fill:"#4A7EEE",d:"M61.987 8.04 40.117 0 18.455 7.935c-2.766 1.335-5.19 2.137-5.19 4.773v13.14A50.523 50.523 0 0 0 20.4 51.984C24.441 58.695 30.693 65.606 40.342 70c8.854-2.943 15.464-10.791 19.504-17.506a50.504 50.504 0 0 0 7.136-26.132V14.544c-.016-3.762-1.962-5.598-4.995-6.503Z"}),G().createElement("path",{fill:"#fff",d:"M61.987 8.04 40.117 0 18.455 7.935c-2.766 1.335-5.19 2.137-5.19 4.773v13.14A50.523 50.523 0 0 0 20.4 51.984C24.441 58.695 30.693 65.606 40.342 70c8.854-2.943 15.464-10.791 19.504-17.506a50.504 50.504 0 0 0 7.136-26.132V14.544c-.016-3.762-1.962-5.598-4.995-6.503Z",opacity:".8"}),G().createElement("path",{fill:"#4A7EEE",d:"M53.471 41.281h-4.02V19.455a9.31 9.31 0 0 0-2.735-6.59 9.348 9.348 0 0 0-13.207 0 9.31 9.31 0 0 0-2.735 6.59V41.28h-4.02V19.455a13.31 13.31 0 0 1 3.838-9.562 13.362 13.362 0 0 1 9.52-3.979 13.384 13.384 0 0 1 9.52 3.979 13.332 13.332 0 0 1 3.84 9.562V41.28Z"}),G().createElement("path",{fill:"#000",d:"M53.471 41.281h-4.02V19.455a9.31 9.31 0 0 0-2.735-6.59 9.348 9.348 0 0 0-13.207 0 9.31 9.31 0 0 0-2.735 6.59V41.28h-4.02V19.455a13.31 13.31 0 0 1 3.838-9.562 13.362 13.362 0 0 1 9.52-3.979 13.384 13.384 0 0 1 9.52 3.979 13.332 13.332 0 0 1 3.84 9.562V41.28Z",opacity:".4"}),G().createElement("path",{fill:"#4A7EEE",d:"M56.247 31.568H23.978a1.867 1.867 0 0 0-1.869 1.865v19.323c0 1.03.837 1.865 1.869 1.865h32.269a1.867 1.867 0 0 0 1.868-1.865V33.433c0-1.03-.836-1.865-1.868-1.865Z"}),G().createElement("path",{fill:"#000",d:"M43.12 40.094a3 3 0 0 0-1.668-2.69 3.016 3.016 0 0 0-4.15 1.604 2.998 2.998 0 0 0 .585 3.11 3.01 3.01 0 0 0 1.403.865v4.494h1.643v-4.494a3 3 0 0 0 2.188-2.889Z",opacity:".5"}),G().createElement("path",{fill:"#FAFAFA",d:"M24.029 52.436c-.084 0-.148-3.852-.148-8.586 0-4.735.064-8.586.148-8.586.083 0 .151 3.851.151 8.586 0 4.734-.068 8.586-.151 8.586Zm13.727-8.494s-.141-.045-.354-.199a3.608 3.608 0 0 1-.775-.79 4.205 4.205 0 0 1 1.5-6.316 3.704 3.704 0 0 1 1.06-.357.968.968 0 0 1 .406-.022c0 .058-.57.112-1.351.565a4.179 4.179 0 0 0-2.046 2.691 4.166 4.166 0 0 0 .621 3.32c.282.395.596.765.94 1.108Z"}),G().createElement("path",{fill:"#4A7EEE",d:"M1.386 57.838a1.385 1.385 0 1 0 0-2.767 1.385 1.385 0 1 0 0 2.767Zm79.22-45.246a1.38 1.38 0 0 1-.857 1.276 1.39 1.39 0 0 1-1.889-1.01 1.381 1.381 0 0 1 1.36-1.653 1.389 1.389 0 0 1 1.282.856c.07.168.105.349.104.53ZM11.122 60.027a.353.353 0 0 1-.605.248.353.353 0 1 1 .605-.248Zm7.523-38.781a.353.353 0 0 1-.604.25.352.352 0 0 1 .25-.603.354.354 0 0 1 .354.353ZM73.64 40.097a.353.353 0 0 1-.606.249.352.352 0 0 1 .255-.602.351.351 0 0 1 .35.353Zm4.898-13.717a.352.352 0 0 1-.422.349.354.354 0 1 1 .422-.35Z"})))),$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e,{ref:t}),G().createElement("rect",{x:".5",y:".5",width:"19",height:"19",rx:"2.5",fill:"#27AE60",stroke:"#27AE60"}),G().createElement("path",{d:"m10 5 3 8H7l3-8Z",fill:"#EFEFEF"}),G().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m5 7 .714 6h8.572L15 7l-5 4.125L5 7Zm9.286 6.572H5.714V15h8.572v-1.428Z",fill:"#fff"})))),$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg",h:6,w:6},e,{ref:t}),G().createElement("path",{fillRule:"evenodd",d:"M2 6a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H3a1 1 0 0 1-1-1Zm5 6a1 1 0 0 1 1-1h13a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1Zm0 6a1 1 0 0 1 1-1h13a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1Zm-4-7a1 1 0 0 1 1 1v6a1 1 0 1 1-2 0v-6a1 1 0 0 1 1-1Z",clipRule:"evenodd"}))))),ZI=($e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg",h:6,w:6},e,{ref:t}),G().createElement("path",{d:"m4 7a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2zm16 8h-16v-6h16z",fill:"#2563eb"}),G().createElement("path",{d:"M18,12h0a.94.94,0,0,0-1-1H7a.94.94,0,0,0-1,1H6a.94.94,0,0,0,1,1H17A.94.94,0,0,0,18,12Z",fill:"#2563eb"})))),$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg",h:6,w:6},e,{ref:t}),G().createElement("path",{d:"M19.27 12.91H4.73a1.83 1.83 0 0 0-1.82 1.82v5.45A1.83 1.83 0 0 0 4.73 22h14.54a1.83 1.83 0 0 0 1.82-1.82v-5.45a1.83 1.83 0 0 0-1.82-1.82Zm0 7.27H4.73v-5.45h14.54Z"}),G().createElement("path",{d:"M7.45 18.36h9.1a.91.91 0 0 0 0-1.81h-9.1a.91.91 0 0 0 0 1.81ZM19.27 2H4.73a1.83 1.83 0 0 0-1.82 1.82v5.45a1.83 1.83 0 0 0 1.82 1.82h14.54a1.83 1.83 0 0 0 1.82-1.82V3.82A1.83 1.83 0 0 0 19.27 2Zm0 7.27H4.73V3.82h14.54Z"}),G().createElement("path",{d:"M7.45 7.45h9.1a.85.85 0 0 0 .9-.9.85.85 0 0 0-.9-.91h-9.1a.85.85 0 0 0-.9.91.85.85 0 0 0 .9.9Z"}))))),UI=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg",h:6,w:6},e,{ref:t}),G().createElement("path",{d:"M19.9 2.2H4.3c-1.2 0-2 .8-2 2v15.6c0 1.2.7 2.1 2 2.1h15.6c1.2 0 2-.8 2-2V4.3c-.1-1.3-.8-2.1-2-2.1zM4.3 19.8V4.2h15.6v15.6H4.3z"}),G().createElement("path",{d:"M10.1 14l-1-1-3 4h12l-5-7-3 4z"})))),GI=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg",h:6,w:6},e,{ref:t}),G().createElement("path",{d:"m17 19v-14a1 1 0 0 0-1-1 1 1 0 0 0-1 1v6h-6v-6a1 1 0 0 0-1-1 0.94 0.94 0 0 0-1 1v14a1 1 0 0 0 1 1 1 1 0 0 0 1-1v-6h6v6a1 1 0 0 0 1 1 0.94 0.94 0 0 0 1-1z",fill:"#2563eb"})))),qI=($e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg",h:6,w:6},e,{ref:t}),G().createElement("path",{fillRule:"evenodd",d:"M3 5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2h-4v-2h4V5H5v7h7.5v2H5a2 2 0 0 1-2-2V5Z",clipRule:"evenodd"}),G().createElement("path",{fillRule:"evenodd",d:"M12.046 9.848a.699.699 0 0 1 .786.124l7.25 6.897a.703.703 0 0 1 .158.793.696.696 0 0 1-.692.413l-3.638-.292-2.085 3.045a.696.696 0 0 1-.753.28.703.703 0 0 1-.52-.617l-.897-9.95a.699.699 0 0 1 .392-.693Zm1.168 2.417.556 6.164 1.215-1.774a.696.696 0 0 1 .63-.301l2.072.166-4.473-4.255Z",clipRule:"evenodd"}),G().createElement("path",{d:"M7 8.25c0 .45.333.75.833.75h8.334c.5 0 .833-.3.833-.75s-.333-.75-.833-.75H7.833c-.5 0-.833.375-.833.75Z"})))),$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg",h:6,w:6},e,{ref:t}),G().createElement("path",{fillRule:"evenodd",d:"M20 9.7H4a.3.3 0 0 0-.3.3v4a.3.3 0 0 0 .3.3h16a.3.3 0 0 0 .3-.3v-4a.3.3 0 0 0-.3-.3ZM4 8a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2H4Z",clipRule:"evenodd"}),G().createElement("path",{d:"M3 9h7v6H3V9Z"}))))),KI=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg",h:6,w:6},e,{ref:t}),G().createElement("path",{d:"M4 2a2 2 0 00-2 2v3a2 2 0 002 2h16a2 2 0 002-2V4a2 2 0 00-2-2zm16 5H4V4h16zM2 12v8a2 2 0 002 2h16a2 2 0 002-2v-8a2 2 0 00-2-2H4a2 2 0 00-2 2zm18 0v8H4v-8zm-9 5H9v-2h2v-2h2v2h2v2h-2v2h-2z",fill:"#2563eb"})))),YI=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg",h:6,w:6},e,{ref:t}),G().createElement("path",{d:"M21,2H3A1,1,0,0,0,2,3H2A.94.94,0,0,0,3,4H21a.94.94,0,0,0,1-1h0A.94.94,0,0,0,21,2Z",fill:"#2563eb"}),G().createElement("path",{d:"M2,21H2a.94.94,0,0,0,1,1H21a.94.94,0,0,0,1-1h0a.94.94,0,0,0-1-1H3A.94.94,0,0,0,2,21Z",fill:"#2563eb"}),G().createElement("path",{d:"M9,15V9A.94.94,0,0,0,8,8H8A1,1,0,0,0,7,9v6a.94.94,0,0,0,1,1H8A1,1,0,0,0,9,15Z",fill:"#2563eb"}),G().createElement("path",{d:"M17,15V9a.94.94,0,0,0-1-1h0a.94.94,0,0,0-1,1v6a.94.94,0,0,0,1,1h0A1.08,1.08,0,0,0,17,15Z",fill:"#2563eb"}),G().createElement("path",{d:"M13,17V7a.94.94,0,0,0-1-1h0a.94.94,0,0,0-1,1V17a.94.94,0,0,0,1,1h0A.94.94,0,0,0,13,17Z",fill:"#2563eb"})))),XI=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg",h:6,w:6},e,{ref:t}),G().createElement("path",{fill:"#2563EB",fillRule:"evenodd",d:"M6.81 14.425a4.077 4.077 0 0 1 2.882-1.194h4.616a4.077 4.077 0 0 1 4.076 4.077v1.538a1 1 0 0 1-2 0v-1.538a2.077 2.077 0 0 0-2.076-2.077H9.692a2.077 2.077 0 0 0-2.077 2.077v1.538a1 1 0 0 1-2 0v-1.538c0-1.082.43-2.119 1.194-2.883ZM12 6a2.077 2.077 0 1 0 0 4.154A2.077 2.077 0 0 0 12 6ZM7.923 8.077a4.077 4.077 0 1 1 8.154 0 4.077 4.077 0 0 1-8.154 0Zm10.801 5.903a1 1 0 0 1 1.218-.718A4.077 4.077 0 0 1 23 17.207v1.54a1 1 0 0 1-2 0v-1.539a2.077 2.077 0 0 0-1.558-2.009 1 1 0 0 1-.718-1.218Zm-2.308-9.228a1 1 0 0 1 1.217-.72 4.077 4.077 0 0 1 0 7.898 1 1 0 1 1-.496-1.937 2.077 2.077 0 0 0 0-4.024 1 1 0 0 1-.721-1.217ZM5.276 13.98a1 1 0 0 0-1.218-.718A4.078 4.078 0 0 0 1 17.207v1.54a1 1 0 0 0 2 0v-1.539A2.077 2.077 0 0 1 4.558 15.2a1 1 0 0 0 .718-1.218Zm2.308-9.228a1 1 0 0 0-1.217-.72 4.077 4.077 0 0 0 0 7.898 1 1 0 1 0 .496-1.937 2.077 2.077 0 0 1 0-4.024 1 1 0 0 0 .721-1.217Z",clipRule:"evenodd"})))),QI=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg",h:6,w:6},e,{ref:t}),G().createElement("path",{d:"M6 15c.9 0 1.7-.3 2.4-.9l6.3 3.6c-.1.3-.1.6-.1.9 0 1.9 1.6 3.5 3.5 3.6 1.9 0 3.5-1.6 3.6-3.5 0-1.9-1.6-3.5-3.5-3.6-.9 0-1.8.3-2.4.9l-6.3-3.6c.1-.2.1-.5.1-.8l6.1-3.5c1.4 1.3 3.6 1.2 4.9-.2 1.3-1.4 1.2-3.6-.2-4.9-1.4-1.3-3.6-1.2-4.9.2-.6.6-.9 1.5-.9 2.4 0 .3 0 .6.1.8L8.9 9.6c-1-1.6-3.2-2.1-4.8-1C2.5 9.7 2 11.8 3 13.4c.7 1 1.8 1.6 3 1.6Zm12 2c.8 0 1.5.7 1.5 1.5S18.8 20 18 20s-1.5-.7-1.5-1.5.6-1.5 1.5-1.5Zm0-13c.8 0 1.5.7 1.5 1.5S18.8 7 18 7s-1.5-.7-1.5-1.5S17.1 4 18 4ZM6 10c.8 0 1.5.7 1.5 1.5S6.8 13 6 13s-1.5-.7-1.5-1.5S5.1 10 6 10Z"})))),JI=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg",h:6,w:6},e,{ref:t}),G().createElement("path",{fill:"#2563EB",fillRule:"evenodd",d:"M6 10V4H4v16h16V10H6Zm16-2v14H2V2h6v6h14Z",clipRule:"evenodd"}),G().createElement("path",{fill:"#2563EB",fillRule:"evenodd",d:"M13.5 3.5h-3v2h3v-2ZM9 2v5h6V2H9Zm11.5 1.5h-3v2h3v-2ZM16 2v5h6V2h-6Z",clipRule:"evenodd"})))),eO=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg",h:6,w:6},e,{ref:t}),G().createElement("path",{d:"M20 4v16H4V4h16m0-2H4a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2zM7 18a1 1 0 0 1 0-2c1.66 0 2.856-2.177 4.124-4.482C12.616 8.805 14.159 6 17 6a1 1 0 0 1 0 2c-1.66 0-2.856 2.177-4.124 4.482C11.384 15.195 9.841 18 7 18z"})))),tO=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg",h:6,w:6},e,{ref:t}),G().createElement("path",{d:"M19.7 1.5H4.3c-1.2 0-2.2 1-2.2 2.2v12.9c0 1.2 1 2.2 2.2 2.2h3.9l3.8 3.7 3.8-3.7h3.9c1.2 0 2.2-1 2.2-2.2V3.7c0-1.2-1-2.2-2.2-2.2zm0 15.1h-4.9L12 19.4l-2.8-2.8H4.3V3.7h15.4v12.9z"}),G().createElement("circle",{cx:"7.5",cy:"10.1",r:"1.5"}),G().createElement("circle",{cx:"12",cy:"10.1",r:"1.5"}),G().createElement("circle",{cx:"16.5",cy:"10.1",r:"1.5"})))),rO=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg",h:6,w:6},e,{ref:t}),G().createElement("path",{d:"M11 3a1 1 0 1 1 2 0v18a1 1 0 1 1-2 0V3Z"}),G().createElement("path",{fillRule:"evenodd",d:"M16.037 7.397 15 6.517l.953-.789c.262-.436.74-.728 1.286-.728H20.5a1.5 1.5 0 0 1 0 3h-3.261c-.492 0-.929-.237-1.202-.603Zm0 11L15 17.517l1.025-.898A1.498 1.498 0 0 1 17.239 16H20.5a1.5 1.5 0 0 1 0 3h-3.261c-.492 0-.929-.237-1.202-.603ZM8 12.847l1-.83-.966-.811A1.499 1.499 0 0 0 6.76 10.5H3.5a1.5 1.5 0 0 0 0 3h3.261c.514 0 .968-.259 1.238-.653Z",clipRule:"evenodd"})))),nO=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg",h:6,w:6},e,{ref:t}),G().createElement("path",{d:"M16.8 9h-6.5c-.2 0-.3-.1-.3-.2V7.3c0-.2.1-.3.3-.3h6.5c.1 0 .2.1.2.3v1.5c0 .1-.1.2-.2.2zm-.8 3.8v-1.5c0-.1-.1-.3-.3-.3h-5.5c-.1 0-.3.1-.3.3v1.5c0 .1.1.3.3.3h5.5c.2-.1.3-.2.3-.3zm-2 4v-1.5c0-.1-.1-.3-.3-.3h-3.5c-.1 0-.3.1-.3.3v1.5c0 .1.1.3.3.3h3.5c.2-.1.3-.2.3-.3zm-5-8V7.3c0-.2-.1-.3-.2-.3H7.3c-.2 0-.3.1-.3.3v1.5c0 .1.1.2.3.2h1.5c.1 0 .2-.1.2-.2zm0 4v-1.5c0-.2-.1-.3-.2-.3H7.3c-.2 0-.3.1-.3.3v1.5c0 .1.1.2.3.2h1.5c.1 0 .2-.1.2-.2zm0 4v-1.5c0-.2-.1-.3-.2-.3H7.3c-.2 0-.3.1-.3.3v1.5c0 .1.1.2.3.2h1.5c.1 0 .2-.1.2-.2zm9 5.2H6c-1.7 0-3-1.3-3-3V5c0-1.7 1.3-3 3-3h12c1.7 0 3 1.3 3 3v14c0 1.7-1.3 3-3 3zM6 4c-.6 0-1 .4-1 1v14c0 .6.4 1 1 1h12c.6 0 1-.4 1-1V5c0-.6-.4-1-1-1H6z"})))),aO=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg",h:6,w:6},e,{ref:t}),G().createElement("path",{d:"M22 4V3c0-.6-.4-1-1-1H3c-.6 0-1 .4-1 1v18c0 .6.4 1 1 1h18c.6 0 1-.4 1-1V4zM4 4h16v16H4V4zm8 5.5a2 2 0 1 0 .001-3.999A2 2 0 0 0 12 9.5zm3 1H9c-.6 0-1 .4-1 1s.4 1 1 1h6c.6 0 1-.4 1-1s-.5-1-1-1zm-4 8h2c.6 0 1-.4 1-1s-.4-1-1-1h-2c-.6 0-1 .4-1 1 0 .5.4 1 1 1zm-5-4c0 .6.4 1 1 1h10c.6 0 1-.4 1-1s-.4-1-1-1H7c-.6 0-1 .5-1 1z"})))),oO=($e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg",h:6,w:6},e,{ref:t}),G().createElement("path",{d:"M2 6h20v12H2z",fill:"#2563eb"}),G().createElement("path",{fill:"#fff",d:"M4 8h2.91v8H4zM8.36 8h2.91v8H8.36zM12.73 8h2.91v8h-2.91zM17.09 8H20v8h-2.91z"})))),$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg",h:6,w:6},e,{ref:t}),G().createElement("path",{d:"m20.1 8.8.9-.9c.4-.4.4-1 0-1.4-.4-.4-1-.4-1.4 0l-1 1c-1-.6-2.3-1-3.6-1-3.9 0-7 3.1-7 7.1 0 3.7 3.2 6.9 6.9 6.9 3.9 0 7.1-3.1 7.1-7 0-1.8-.7-3.4-1.9-4.7zM15 18.5c-2.8 0-5-2.2-5-5s2.2-5 5-5 5 2.2 5 5-2.2 5-5 5zm0-8c.6 0 1 .4 1 1v2c0 .5-.4 1-1 1-.5 0-1-.4-1-1v-2c0-.6.4-1 1-1zm-1-7h2c.5 0 1 .4 1 1 0 .5-.4 1-1 1h-2c-.5 0-1-.4-1-1s.4-1 1-1zm-10 5h2c.5 0 1 .4 1 1 0 .5-.4 1-1 1H4c-.5 0-1-.4-1-1s.4-1 1-1zm0 8h2c.5 0 1 .4 1 1 0 .5-.4 1-1 1H4c-.5 0-1-.4-1-1s.4-1 1-1zm-1-4h2c.5 0 1 .4 1 1 0 .5-.4 1-1 1H3c-.5 0-1-.4-1-1s.4-1 1-1z"}))))),iO=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg",h:6,w:6},e,{ref:t}),G().createElement("path",{d:"M19.664 17.739V7.646l1.316 1.316a.575.575 0 0 0 .812-.811l-2.296-2.295a.573.573 0 0 0-.403-.169h-.005a.572.572 0 0 0-.406.169l-2.294 2.295a.573.573 0 1 0 .812.811l1.315-1.316v10.092a.574.574 0 0 0 1.149.001zm-15.64-.866a.58.58 0 0 1-.42-.16.527.527 0 0 1-.165-.396v-4.603l.128.201-.667.493a.502.502 0 0 1-.32.101.526.526 0 0 1-.383-.164.537.537 0 0 1-.165-.393c0-.195.094-.353.283-.475L3.63 10.6a.6.6 0 0 1 .206-.091.929.929 0 0 1 .214-.027.56.56 0 0 1 .42.16.548.548 0 0 1 .155.397v5.279c0 .158-.057.29-.169.396a.604.604 0 0 1-.432.159zm6.018-1.005a.496.496 0 0 1 .511.511.472.472 0 0 1-.146.352.502.502 0 0 1-.365.142H6.937a.493.493 0 0 1-.375-.146c-.091-.097-.137-.222-.137-.374s.055-.286.164-.401l1.991-2.129c.225-.242.403-.492.534-.748s.197-.478.197-.667c0-.304-.088-.549-.265-.735s-.411-.278-.703-.278a.86.86 0 0 0-.356.082 1.467 1.467 0 0 0-.352.228c-.113.098-.218.21-.315.338a.482.482 0 0 1-.219.183.547.547 0 0 1-.571-.113.459.459 0 0 1-.169-.352c0-.104.035-.204.105-.302a2.763 2.763 0 0 1 1.355-.972c.2-.064.396-.096.584-.096.408 0 .763.081 1.064.242s.534.39.699.685c.164.295.247.644.247 1.045 0 .335-.099.708-.297 1.119a4.647 4.647 0 0 1-.799 1.155l-1.233 1.315-.1-.083h2.056zm2.493-.283a.662.662 0 0 1 .393.137c.104.079.227.149.369.21.144.061.311.091.498.091.189 0 .367-.047.535-.142a1.138 1.138 0 0 0 .58-1.027c0-.23-.049-.423-.143-.575s-.219-.268-.375-.347a1.073 1.073 0 0 0-.496-.118c-.135 0-.246.012-.334.035-.088.025-.174.051-.256.078s-.178.041-.287.041a.389.389 0 0 1-.325-.146.546.546 0 0 1-.114-.346.51.51 0 0 1 .05-.229c.033-.067.083-.141.151-.22l1.607-1.708.246.21h-2.246a.496.496 0 0 1-.511-.511c0-.14.049-.257.146-.352a.502.502 0 0 1 .365-.142h2.795c.188 0 .33.052.424.155a.555.555 0 0 1 .143.393c0 .079-.021.157-.064.233s-.094.145-.154.206l-1.617 1.735-.246-.311c.066-.03.16-.058.277-.082a1.596 1.596 0 0 1 1.235.242c.264.186.469.426.611.721s.215.613.215.954c0 .451-.102.841-.303 1.169a1.966 1.966 0 0 1-.848.758c-.365.177-.793.266-1.279.266-.226 0-.447-.028-.667-.083a2.213 2.213 0 0 1-.566-.219.626.626 0 0 1-.27-.242.555.555 0 0 1-.068-.251c0-.14.05-.272.151-.397a.465.465 0 0 1 .378-.186z"})))),lO=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg",h:6,w:6},e,{ref:t}),G().createElement("path",{d:"M12 14c2.206 0 4-1.794 4-4s-1.794-4-4-4-4 1.794-4 4 1.794 4 4 4zm0-6c1.103 0 2 .897 2 2s-.897 2-2 2-2-.897-2-2 .897-2 2-2z"}),G().createElement("path",{d:"M11.42 21.814a.998.998 0 0 0 1.16 0C12.884 21.599 20.029 16.44 20 10c0-4.411-3.589-8-8-8S4 5.589 4 9.995c-.029 6.445 7.116 11.604 7.42 11.819zM12 4c3.309 0 6 2.691 6 6.005.021 4.438-4.388 8.423-6 9.73-1.611-1.308-6.021-5.294-6-9.735 0-3.309 2.691-6 6-6z"})))),sO=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg",h:6,w:6},e,{ref:t}),G().createElement("path",{fillRule:"evenodd",d:"M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18ZM1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12Z",clipRule:"evenodd"}),G().createElement("path",{fillRule:"evenodd",d:"M12 7a1 1 0 0 1 1 1v4a1 1 0 0 1-2 0V8a1 1 0 0 1 1-1Zm-1 9a1 1 0 0 1 1-1h.01a1 1 0 0 1 0 2H12a1 1 0 0 1-1-1Z",clipRule:"evenodd"})))),cO=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg",h:6,w:6},e,{ref:t}),G().createElement("path",{d:"M9.15 17h2.3v4.1a.9.9 0 00.9.9.9.9 0 00.9-.9v-17h2.8v17a.9.9 0 00.9.9h.1a.9.9 0 00.9-.9v-17h3.1a.9.9 0 00.9-.9V3a.9.9 0 00-.9-.9h-12a7.2 7.2 0 00-7 7.5 7.2 7.2 0 007.1 7.4zm-.1-12.9h2.3V15h-2.2a5.79 5.79 0 01-5.1-5.5 5.69 5.69 0 015-5.45z",fill:"#2563eb"})))),uO=($e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg",h:6,w:6},e,{ref:t}),G().createElement("path",{d:"M15 20.5H5c-1.654 0-3-1.346-3-3v-7c0-1.654 1.346-3 3-3h10c1.654 0 3 1.346 3 3v7c0 1.654-1.346 3-3 3zM5 9.5c-.551 0-1 .449-1 1v7c0 .552.449 1 1 1h10a1 1 0 0 0 1-1v-7c0-.551-.448-1-1-1H5zm17 5v-6c0-2.757-2.243-5-5-5H8.47a1 1 0 0 0 0 2H17c1.654 0 3 1.346 3 3v6a1 1 0 1 0 2 0z"})))),$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg",h:6,w:6},e,{ref:t}),G().createElement("path",{d:"M16.2 22H7.8c-1 0-1.8-.9-1.8-2V4c0-1.1.8-2 1.8-2h8.3c1 0 1.8.9 1.8 2v16c.1 1.1-.7 2-1.7 2zM8 20h8V4H8v16zm-3-3H4V7h1V5H3.7C2.7 5 2 5.7 2 6.7v10.7c0 .9.7 1.6 1.7 1.6H5v-2zm14 2h1.3c.9 0 1.7-.7 1.7-1.7V6.7c0-1-.7-1.7-1.7-1.7H19v2h1v10h-1v2z"}))))),dO=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg",h:6,w:6},e,{ref:t}),G().createElement("path",{xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",d:"M6.939 3.109a8 8 0 0 1 9.38 12.296l5.388 5.388a1 1 0 0 1-1.414 1.414l-5.388-5.387A8 8 0 1 1 6.94 3.109ZM10 4.5a6 6 0 1 0 0 12 6 6 0 0 0 0-12Z",clipRule:"evenodd"})))),pO=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg",h:6,w:6},e,{ref:t}),G().createElement("path",{xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",d:"M8.586 3.086A2 2 0 0 1 10 2.5h4a2 2 0 0 1 2 2v2h4a1 1 0 1 1 0 2h-.08L19 19.546a3 3 0 0 1-3 2.954H8a3 3 0 0 1-3-2.954L4.08 8.5H4a1 1 0 0 1 0-2h4v-2a2 2 0 0 1 .586-1.414ZM6.086 8.5l.91 10.917A1 1 0 0 1 7 19.5a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1 1 1 0 0 1 .003-.083l.91-10.917H6.087ZM14 6.5h-4v-2h4v2Zm-4 4a1 1 0 0 1 1 1v6a1 1 0 1 1-2 0v-6a1 1 0 0 1 1-1Zm4 0a1 1 0 0 1 1 1v6a1 1 0 1 1-2 0v-6a1 1 0 0 1 1-1Z",clipRule:"evenodd"})))),mO=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none"},e),G().createElement("path",{xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",d:"M6.228 8.5c1.63-2.365 4.61-3.523 7.515-2.778a7 7 0 1 1-8.685 7.689 1 1 0 0 0-1.983.26 9 9 0 1 0 11.166-9.886c-3.484-.894-7.074.35-9.241 3.02V4.5a1 1 0 0 0-2 0v5a1 1 0 0 0 1 1h.543a.93.93 0 0 0 .047 0H9a1 1 0 1 0 0-2H6.228Z",clipRule:"evenodd"})))),hO=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("path",{d:"M7.1 9H21c.5 0 1-.5 1-1s-.5-1-1-1H7.1C6.5 7 6 7.4 6 8s.5 1 1.1 1zM21 11H7.1c-.6 0-1.1.4-1.1 1s.5 1 1.1 1H21c.6 0 1.1-.4 1.1-1s-.6-1-1.1-1zM21 15H7.1c-.6 0-1.1.5-1.1 1 0 .6.5 1 1.1 1H21c.6 0 1.1-.4 1.1-1-.1-.5-.6-1-1.1-1zM3.3 7.6L3.1 7H3l-.1.1-.2.5h-.6c-.1 0-.1.1-.1.1v.1l.4.4-.1.7c0 .1 0 .1.1.1h.1l.5-.4.5.4h.1v-.1l-.1-.7.5-.4v-.1s0-.1-.1-.1h-.6zM3.3 11.6l-.2-.5c0-.1-.1-.1-.1-.1l-.1.1-.2.5h-.6c-.1 0-.1.1-.1.2v.1l.4.4-.1.6c0 .1 0 .1.1.1h.1l.5-.4.5.4h.1v-.1l-.2-.6.6-.5v-.1s0-.1-.1-.1h-.6zM3.3 15.6l-.2-.5c0-.1-.1-.1-.1-.1l-.1.1-.2.5h-.6c-.1.1-.1.1-.1.2v.1l.4.4-.1.6c0 .1 0 .1.1.1h.1l.5-.4.5.4h.1v-.1l-.2-.6.6-.5v-.1s0-.1-.1-.1h-.6z"}),G().createElement("path",{fillRule:"evenodd",d:"M12 7a1 1 0 0 1 1 1v4a1 1 0 0 1-2 0V8a1 1 0 0 1 1-1Zm-1 9a1 1 0 0 1 1-1h.01a1 1 0 0 1 0 2H12a1 1 0 0 1-1-1Z",clipRule:"evenodd"})))),fO=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("path",{d:"m6.516 14.323-1.49 6.452a.998.998 0 0 0 1.529 1.057L12 18.202l5.445 3.63a1.001 1.001 0 0 0 1.517-1.106l-1.829-6.4 4.536-4.082a1 1 0 0 0-.59-1.74l-5.701-.454-2.467-5.461a.998.998 0 0 0-1.822 0L8.622 8.05l-5.701.453a1 1 0 0 0-.619 1.713l4.214 4.107zm2.853-4.326a.998.998 0 0 0 .832-.586L12 5.43l1.799 3.981a.998.998 0 0 0 .832.586l3.972.315-3.271 2.944c-.284.256-.397.65-.293 1.018l1.253 4.385-3.736-2.491a.995.995 0 0 0-1.109 0l-3.904 2.603 1.05-4.546a1 1 0 0 0-.276-.94l-3.038-2.962 4.09-.326z"})))),vO=$e(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("path",{fillRule:"evenodd",d:"M3 5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2h-4v-2h4V5H5v7h7.5v2H5a2 2 0 0 1-2-2V5Z",clipRule:"evenodd"}),G().createElement("path",{fillRule:"evenodd",d:"M12.046 9.848a.699.699 0 0 1 .786.124l7.25 6.897a.703.703 0 0 1 .158.793.696.696 0 0 1-.692.413l-3.638-.292-2.085 3.045a.696.696 0 0 1-.753.28.703.703 0 0 1-.52-.617l-.897-9.95a.699.699 0 0 1 .392-.693Zm1.168 2.417.556 6.164 1.215-1.774a.696.696 0 0 1 .63-.301l2.072.166-4.473-4.255Z",clipRule:"evenodd"}),G().createElement("path",{d:"M7 8.25c0 .45.333.75.833.75h8.334c.5 0 .833-.3.833-.75s-.333-.75-.833-.75H7.833c-.5 0-.833.375-.833.75Z"})))),bO=({resetKey:e,saved:t,onReset:r,buttonProps:n})=>{const{attributesDefinition:a,clientId:o,attributes:i}=(0,Hv.useSelect)((e=>{var t;const{getSelectedBlock:r}=e("core/block-editor"),n=r(),{name:a,clientId:o,attributes:i}=null!=n?n:{name:null,clientId:null,attributes:null};return{attributesDefinition:a&&null!==(t=(0,$.getBlockType)(a)?.attributes)&&void 0!==t?t:{},clientId:o,attributes:i}}),[t]);let l=e.split(".");l.splice(1,0,"default");const s=l.join("."),c=Rv(a,s,void 0),u=Mv(c,t);return G().createElement(cf,(0,Ut.A)({variant:"icon",minW:4,width:4,height:4,"aria-label":(0,K.__)("Reset","button"),isDisabled:u,onClick:()=>{r?.(c,o,i)}},n),G().createElement(mO,{h:"3",w:"3"}))};var gO=e=>e?"":void 0,yO=e=>!!e||void 0,EO=(...e)=>e.filter(Boolean).join(" ");function kO(...e){return function(t){e.some((e=>(null==e||e(t),null==t?void 0:t.defaultPrevented)))}}function wO(e){const{orientation:t,vertical:r,horizontal:n}=e;return"vertical"===t?r:n}var xO={width:0,height:0},_O=e=>e||xO;function PO(e){return!!e.touches}function CO(e,t="page"){return PO(e)?function(e,t="page"){const r=e.touches[0]||e.changedTouches[0];return{x:r[`${t}X`],y:r[`${t}Y`]}}(e,t):function(e,t="page"){return{x:e[`${t}X`],y:e[`${t}Y`]}}(e,t)}function AO(e,t=!1){function r(t){e(t,{point:CO(t)})}const n=t?function(e){return t=>{const r=function(e){const t=function(e){var t;return null!=(t=e.view)?t:window}(e);return void 0!==t.PointerEvent&&e instanceof t.PointerEvent?!("mouse"!==e.pointerType):e instanceof t.MouseEvent}(t);(!r||r&&0===t.button)&&e(t)}}(r):r;return n}function SO(e,t,r,n){return function(e,t,r,n){return e.addEventListener(t,r,n),()=>{e.removeEventListener(t,r,n)}}(e,t,AO(r,"pointerdown"===t),n)}const RO=1/60*1e3,MO="undefined"!=typeof performance?()=>performance.now():()=>Date.now(),TO="undefined"!=typeof window?e=>window.requestAnimationFrame(e):e=>setTimeout((()=>e(MO())),RO);let IO=!0,OO=!1,LO=!1;const DO={delta:0,timestamp:0},BO=["read","update","preRender","render","postRender"],zO=BO.reduce(((e,t)=>(e[t]=function(e){let t=[],r=[],n=0,a=!1,o=!1;const i=new WeakSet,l={schedule:(e,o=!1,l=!1)=>{const s=l&&a,c=s?t:r;return o&&i.add(e),-1===c.indexOf(e)&&(c.push(e),s&&a&&(n=t.length)),e},cancel:e=>{const t=r.indexOf(e);-1!==t&&r.splice(t,1),i.delete(e)},process:e=>{if(a)o=!0;else{if(a=!0,[t,r]=[r,t],r.length=0,n=t.length,n)for(let r=0;r<n;r++){const n=t[r];n(e),i.has(n)&&(l.schedule(n),OO=!0)}a=!1,o&&(o=!1,l.process(e))}}};return l}(),e)),{}),NO=BO.reduce(((e,t)=>{const r=zO[t];return e[t]=(e,t=!1,n=!1)=>(OO||jO(),r.schedule(e,t,n)),e}),{}),VO=BO.reduce(((e,t)=>(e[t]=zO[t].cancel,e)),{}),FO=(BO.reduce(((e,t)=>(e[t]=()=>zO[t].process(DO),e)),{}),e=>zO[e].process(DO)),HO=e=>{OO=!1,DO.delta=IO?RO:Math.max(Math.min(e-DO.timestamp,40),1),DO.timestamp=e,LO=!0,BO.forEach(FO),LO=!1,OO&&(IO=!1,TO(HO))},jO=()=>{OO=!0,IO=!0,LO||TO(HO)},WO=()=>DO,$O=NO;var ZO=Object.defineProperty,UO=(e,t,r)=>(((e,t,r)=>{t in e?ZO(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r})(e,"symbol"!=typeof t?t+"":t,r),r),GO=class{constructor(e,t,r){var n;if(UO(this,"history",[]),UO(this,"startEvent",null),UO(this,"lastEvent",null),UO(this,"lastEventInfo",null),UO(this,"handlers",{}),UO(this,"removeListeners",(()=>{})),UO(this,"threshold",3),UO(this,"win"),UO(this,"updatePoint",(()=>{if(!this.lastEvent||!this.lastEventInfo)return;const e=KO(this.lastEventInfo,this.history),t=null!==this.startEvent,r=function(e,t){if("number"==typeof e&&"number"==typeof t)return QO(e,t);if(JO(e)&&JO(t)){const r=QO(e.x,t.x),n=QO(e.y,t.y);return Math.sqrt(r**2+n**2)}return 0}(e.offset,{x:0,y:0})>=this.threshold;if(!t&&!r)return;const{timestamp:n}=WO();this.history.push({...e.point,timestamp:n});const{onStart:a,onMove:o}=this.handlers;t||(null==a||a(this.lastEvent,e),this.startEvent=this.lastEvent),null==o||o(this.lastEvent,e)})),UO(this,"onPointerMove",((e,t)=>{this.lastEvent=e,this.lastEventInfo=t,$O.update(this.updatePoint,!0)})),UO(this,"onPointerUp",((e,t)=>{const r=KO(t,this.history),{onEnd:n,onSessionEnd:a}=this.handlers;null==a||a(e,r),this.end(),n&&this.startEvent&&(null==n||n(e,r))})),this.win=null!=(n=e.view)?n:window,function(e){return PO(e)&&e.touches.length>1}(e))return;this.handlers=t,r&&(this.threshold=r),e.stopPropagation(),e.preventDefault();const a={point:CO(e)},{timestamp:o}=WO();this.history=[{...a.point,timestamp:o}];const{onSessionStart:i}=t;null==i||i(e,KO(a,this.history)),this.removeListeners=function(...e){return t=>e.reduce(((e,t)=>t(e)),t)}(SO(this.win,"pointermove",this.onPointerMove),SO(this.win,"pointerup",this.onPointerUp),SO(this.win,"pointercancel",this.onPointerUp))}updateHandlers(e){this.handlers=e}end(){var e;null==(e=this.removeListeners)||e.call(this),VO.update(this.updatePoint)}};function qO(e,t){return{x:e.x-t.x,y:e.y-t.y}}function KO(e,t){return{point:e.point,delta:qO(e.point,t[t.length-1]),offset:qO(e.point,t[0]),velocity:XO(t,.1)}}var YO=e=>1e3*e;function XO(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,n=null;const a=e[e.length-1];for(;r>=0&&(n=e[r],!(a.timestamp-n.timestamp>YO(t)));)r--;if(!n)return{x:0,y:0};const o=(a.timestamp-n.timestamp)/1e3;if(0===o)return{x:0,y:0};const i={x:(a.x-n.x)/o,y:(a.y-n.y)/o};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}function QO(e,t){return Math.abs(e-t)}function JO(e){return"x"in e&&"y"in e}function eL(e){const t=(0,U.useRef)(null);return t.current=e,t}var tL=Boolean(null==globalThis?void 0:globalThis.document)?U.useLayoutEffect:U.useEffect;function rL({getNodes:e,observeMutation:t=!0}){const[r,n]=(0,U.useState)([]),[a,o]=(0,U.useState)(0);return tL((()=>{const r=e(),a=r.map(((e,t)=>function(e,t){if(!e)return void t(void 0);t({width:e.offsetWidth,height:e.offsetHeight});const r=new(e.ownerDocument.defaultView??window).ResizeObserver((r=>{if(!Array.isArray(r)||!r.length)return;const[n]=r;let a,o;if("borderBoxSize"in n){const e=n.borderBoxSize,t=Array.isArray(e)?e[0]:e;a=t.inlineSize,o=t.blockSize}else a=e.offsetWidth,o=e.offsetHeight;t({width:a,height:o})}));return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}(e,(e=>{n((r=>[...r.slice(0,t),e,...r.slice(t+1)]))}))));if(t){const e=r[0];a.push(function(e,t){var r,n;if(!e||!e.parentElement)return;const a=new(null!=(n=null==(r=e.ownerDocument)?void 0:r.defaultView)?n:window).MutationObserver((()=>{o((e=>e+1))}));return a.observe(e.parentElement,{childList:!0}),()=>{a.disconnect()}}(e))}return()=>{a.forEach((e=>{null==e||e()}))}}),[a]),r}function nL(e,t){let r=function(e){const t=parseFloat(e);return"number"!=typeof t||Number.isNaN(t)?0:t}(e);const n=10**(null!=t?t:10);return r=Math.round(r*n)/n,t?r.toFixed(t):r.toString()}function aL(e){if(!Number.isFinite(e))return 0;let t=1,r=0;for(;Math.round(e*t)/t!==e;)t*=10,r+=1;return r}function oL(e,t,r){return 100*(e-t)/(r-t)}function iL(e,t,r){return nL(Math.round((e-t)/r)*r+t,aL(r))}function lL(e,t,r){return null==e?e:(r<t&&console.warn("clamp: max cannot be less than min"),Math.min(Math.max(e,t),r))}function sL(e){const{orientation:t,vertical:r,horizontal:n}=e;return"vertical"===t?r:n}function cL(e,t){return t<e?e:e+(t-e)/2}var[uL,dL]=Ce({name:"SliderContext",hookName:"useSliderContext",providerName:"<Slider />"}),[pL,mL]=Ce({name:"SliderStylesContext",hookName:"useSliderStyles",providerName:"<Slider />"}),hL=$e(((e,t)=>{var r;const n={...e,orientation:null!=(r=null==e?void 0:e.orientation)?r:"horizontal"},a=fa("Slider",n),o=sa(n),{direction:i}=wr();o.direction=i;const{getInputProps:l,getRootProps:s,...c}=function(e){var t;const{min:r=0,max:n=100,onChange:a,value:o,defaultValue:i,isReversed:l,direction:s="ltr",orientation:c="horizontal",id:u,isDisabled:d,isReadOnly:p,onChangeStart:m,onChangeEnd:h,step:f=1,getAriaValueText:v,"aria-valuetext":b,"aria-label":g,"aria-labelledby":y,name:E,focusThumbOnChange:k=!0,...w}=e,x=Me(m),_=Me(h),P=Me(v),C=function(e){const{isReversed:t,direction:r,orientation:n}=e;return"ltr"===r||"vertical"===n?t:!t}({isReversed:l,direction:s,orientation:c}),[A,S]=Te({value:o,defaultValue:null!=i?i:cL(r,n),onChange:a}),[R,M]=(0,U.useState)(!1),[T,I]=(0,U.useState)(!1),O=!(d||p),L=(n-r)/10,D=f||(n-r)/100,B=lL(A,r,n),z=oL(C?n-B+r:B,r,n),N="vertical"===c,V=eL({min:r,max:n,step:f,isDisabled:d,value:B,isInteractive:O,isReversed:C,isVertical:N,eventSource:null,focusThumbOnChange:k,orientation:c}),F=(0,U.useRef)(null),H=(0,U.useRef)(null),j=(0,U.useRef)(null),W=(0,U.useId)(),$=null!=u?u:W,[Z,G]=[`slider-thumb-${$}`,`slider-track-${$}`],q=(0,U.useCallback)((e=>{var t,r;if(!F.current)return;const n=V.current;n.eventSource="pointer";const a=F.current.getBoundingClientRect(),{clientX:o,clientY:i}=null!=(r=null==(t=e.touches)?void 0:t[0])?r:e;let l=(N?a.bottom-i:o-a.left)/(N?a.height:a.width);C&&(l=1-l);let s=function(e,t,r){return(r-t)*e+t}(l,n.min,n.max);return n.step&&(s=parseFloat(iL(s,n.min,n.step))),s=lL(s,n.min,n.max),s}),[N,C,V]),K=(0,U.useCallback)((e=>{const t=V.current;t.isInteractive&&(e=lL(e=parseFloat(iL(e,t.min,D)),t.min,t.max),S(e))}),[D,S,V]),Y=(0,U.useMemo)((()=>({stepUp(e=D){K(C?B-e:B+e)},stepDown(e=D){K(C?B+e:B-e)},reset(){K(i||0)},stepTo(e){K(e)}})),[K,C,B,D,i]),X=(0,U.useCallback)((e=>{const t=V.current,r={ArrowRight:()=>Y.stepUp(),ArrowUp:()=>Y.stepUp(),ArrowLeft:()=>Y.stepDown(),ArrowDown:()=>Y.stepDown(),PageUp:()=>Y.stepUp(L),PageDown:()=>Y.stepDown(L),Home:()=>K(t.min),End:()=>K(t.max)}[e.key];r&&(e.preventDefault(),e.stopPropagation(),r(e),t.eventSource="keyboard")}),[Y,K,L,V]),Q=null!=(t=null==P?void 0:P(B))?t:b,J=function(e){const[t]=rL({observeMutation:!1,getNodes(){var t;return["object"==typeof(t=e)&&null!==t&&"current"in t?e.current:e]}});return t}(H),{getThumbStyle:ee,rootStyle:te,trackStyle:re,innerTrackStyle:ne}=(0,U.useMemo)((()=>{const e=V.current,t=null!=J?J:{width:0,height:0};return function(e){const{orientation:t,thumbPercents:r,thumbRects:n,isReversed:a}=e,o="vertical"===t?n.reduce(((e,t)=>_O(e).height>_O(t).height?e:t),xO):n.reduce(((e,t)=>_O(e).width>_O(t).width?e:t),xO),i={position:"relative",touchAction:"none",WebkitTapHighlightColor:"rgba(0,0,0,0)",userSelect:"none",outline:0,...wO({orientation:t,vertical:o?{paddingLeft:o.width/2,paddingRight:o.width/2}:{},horizontal:o?{paddingTop:o.height/2,paddingBottom:o.height/2}:{}})},l={position:"absolute",...wO({orientation:t,vertical:{left:"50%",transform:"translateX(-50%)",height:"100%"},horizontal:{top:"50%",transform:"translateY(-50%)",width:"100%"}})},s=1===r.length,c=[0,a?100-r[0]:r[0]],u=s?c:r;let d=u[0];!s&&a&&(d=100-d);const p=Math.abs(u[u.length-1]-u[0]);return{trackStyle:l,innerTrackStyle:{...l,...wO({orientation:t,vertical:a?{height:`${p}%`,top:`${d}%`}:{height:`${p}%`,bottom:`${d}%`},horizontal:a?{width:`${p}%`,right:`${d}%`}:{width:`${p}%`,left:`${d}%`}})},rootStyle:i,getThumbStyle:e=>{var a;const o=null!=(a=n[e])?a:xO;return{position:"absolute",userSelect:"none",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none",touchAction:"none",...wO({orientation:t,vertical:{bottom:`calc(${r[e]}% - ${o.height/2}px)`},horizontal:{left:`calc(${r[e]}% - ${o.width/2}px)`}})}}}}({isReversed:C,orientation:e.orientation,thumbRects:[t],thumbPercents:[z]})}),[C,J,z,V]),ae=(0,U.useCallback)((()=>{V.current.focusThumbOnChange&&setTimeout((()=>{var e;return null==(e=H.current)?void 0:e.focus()}))}),[V]);function oe(e){const t=q(e);null!=t&&t!==V.current.value&&S(t)}Gx((()=>{const e=V.current;ae(),"keyboard"===e.eventSource&&(null==_||_(e.value))}),[B,_]),function(e,t){const{onPan:r,onPanStart:n,onPanEnd:a,onPanSessionStart:o,onPanSessionEnd:i,threshold:l}=t,s=Boolean(r||n||a||o||i),c=(0,U.useRef)(null),u=eL({onSessionStart:o,onSessionEnd:i,onStart:n,onMove:r,onEnd(e,t){c.current=null,null==a||a(e,t)}});(0,U.useEffect)((()=>{var e;null==(e=c.current)||e.updateHandlers(u.current)})),(0,U.useEffect)((()=>{const t=e.current;if(t&&s)return SO(t,"pointerdown",(function(e){c.current=new GO(e,u.current,l)}))}),[e,s,u,l]),(0,U.useEffect)((()=>()=>{var e;null==(e=c.current)||e.end(),c.current=null}),[])}(j,{onPanSessionStart(e){const t=V.current;t.isInteractive&&(M(!0),ae(),oe(e),null==x||x(t.value))},onPanSessionEnd(){const e=V.current;e.isInteractive&&(M(!1),null==_||_(e.value))},onPan(e){V.current.isInteractive&&oe(e)}});const ie=(0,U.useCallback)(((e={},t=null)=>({...e,...w,ref:fe(t,j),tabIndex:-1,"aria-disabled":yO(d),"data-focused":gO(T),style:{...e.style,...te}})),[w,d,T,te]),le=(0,U.useCallback)(((e={},t=null)=>({...e,ref:fe(t,F),id:G,"data-disabled":gO(d),style:{...e.style,...re}})),[d,G,re]),se=(0,U.useCallback)(((e={},t=null)=>({...e,ref:t,style:{...e.style,...ne}})),[ne]),ce=(0,U.useCallback)(((e={},t=null)=>({...e,ref:fe(t,H),role:"slider",tabIndex:O?0:void 0,id:Z,"data-active":gO(R),"aria-valuetext":Q,"aria-valuemin":r,"aria-valuemax":n,"aria-valuenow":B,"aria-orientation":c,"aria-disabled":yO(d),"aria-readonly":yO(p),"aria-label":g,"aria-labelledby":g?void 0:y,style:{...e.style,...ee(0)},onKeyDown:kO(e.onKeyDown,X),onFocus:kO(e.onFocus,(()=>I(!0))),onBlur:kO(e.onBlur,(()=>I(!1)))})),[O,Z,R,Q,r,n,B,c,d,p,g,y,ee,X]),ue=(0,U.useCallback)(((e,t=null)=>{const a=!(e.value<r||e.value>n),o=B>=e.value,i=oL(e.value,r,n),l={position:"absolute",pointerEvents:"none",...sL({orientation:c,vertical:{bottom:C?100-i+"%":`${i}%`},horizontal:{left:C?100-i+"%":`${i}%`}})};return{...e,ref:t,role:"presentation","aria-hidden":!0,"data-disabled":gO(d),"data-invalid":gO(!a),"data-highlighted":gO(o),style:{...e.style,...l}}}),[d,C,n,r,c,B]),de=(0,U.useCallback)(((e={},t=null)=>({...e,ref:t,type:"hidden",value:B,name:E})),[E,B]);return{state:{value:B,isFocused:T,isDragging:R},actions:Y,getRootProps:ie,getTrackProps:le,getInnerTrackProps:se,getThumbProps:ce,getMarkerProps:ue,getInputProps:de}}(o),u=s(),d=l({},t);return(0,Ma.jsx)(uL,{value:c,children:(0,Ma.jsx)(pL,{value:a,children:(0,Ma.jsxs)(Ra.div,{...u,className:EO("chakra-slider",n.className),__css:a.container,children:[n.children,(0,Ma.jsx)("input",{...d})]})})})}));hL.displayName="Slider";var fL=$e(((e,t)=>{const{getThumbProps:r}=dL(),n=mL(),a=r(e,t);return(0,Ma.jsx)(Ra.div,{...a,className:EO("chakra-slider__thumb",e.className),__css:n.thumb})}));fL.displayName="SliderThumb";var vL=$e(((e,t)=>{const{getTrackProps:r}=dL(),n=mL(),a=r(e,t);return(0,Ma.jsx)(Ra.div,{...a,className:EO("chakra-slider__track",e.className),__css:n.track})}));vL.displayName="SliderTrack";var bL=$e(((e,t)=>{const{getInnerTrackProps:r}=dL(),n=mL(),a=r(e,t);return(0,Ma.jsx)(Ra.div,{...a,className:EO("chakra-slider__filled-track",e.className),__css:n.filledTrack})}));bL.displayName="SliderFilledTrack";var gL=$e(((e,t)=>{const{getMarkerProps:r}=dL(),n=mL(),a=r(e,t);return(0,Ma.jsx)(Ra.div,{...a,className:EO("chakra-slider__marker",e.className),__css:n.mark})}));gL.displayName="SliderMark";var[yL,EL]=Ce({name:"InputGroupStylesContext",errorMessage:"useInputGroupStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<InputGroup />\" "}),kL=$e((function(e,t){const r=fa("Input",e),{children:n,className:a,...o}=sa(e),i=ie("chakra-input__group",a),l={},s=Ie(n),c=r.field;s.forEach((e=>{var t,n;r&&(c&&"InputLeftElement"===e.type.id&&(l.paddingStart=null!=(t=c.height)?t:c.h),c&&"InputRightElement"===e.type.id&&(l.paddingEnd=null!=(n=c.height)?n:c.h),"InputRightAddon"===e.type.id&&(l.borderEndRadius=0),"InputLeftAddon"===e.type.id&&(l.borderStartRadius=0))}));const u=s.map((t=>{var r,n;const a=z_({size:(null==(r=t.props)?void 0:r.size)||e.size,variant:(null==(n=t.props)?void 0:n.variant)||e.variant});return"Input"!==t.type.id?(0,U.cloneElement)(t,a):(0,U.cloneElement)(t,Object.assign(a,l,t.props))}));return(0,Ma.jsx)(Ra.div,{className:i,ref:t,__css:{width:"100%",display:"flex",position:"relative",isolation:"isolate",...r.group},"data-group":!0,...o,children:(0,Ma.jsx)(yL,{value:r,children:u})})}));kL.displayName="InputGroup";var wL=e=>(0,Ma.jsx)(Xx,{viewBox:"0 0 24 24",...e,children:(0,Ma.jsx)("path",{fill:"currentColor",d:"M21,5H3C2.621,5,2.275,5.214,2.105,5.553C1.937,5.892,1.973,6.297,2.2,6.6l9,12 c0.188,0.252,0.485,0.4,0.8,0.4s0.611-0.148,0.8-0.4l9-12c0.228-0.303,0.264-0.708,0.095-1.047C21.725,5.214,21.379,5,21,5z"})}),xL=e=>(0,Ma.jsx)(Xx,{viewBox:"0 0 24 24",...e,children:(0,Ma.jsx)("path",{fill:"currentColor",d:"M12.8,5.4c-0.377-0.504-1.223-0.504-1.6,0l-9,12c-0.228,0.303-0.264,0.708-0.095,1.047 C2.275,18.786,2.621,19,3,19h18c0.379,0,0.725-0.214,0.895-0.553c0.169-0.339,0.133-0.744-0.095-1.047L12.8,5.4z"})});function _L(e,t,r,n){(0,U.useEffect)((()=>{var a;if(!e.current||!n)return;const o=null!=(a=e.current.ownerDocument.defaultView)?a:window,i=Array.isArray(t)?t:[t],l=new o.MutationObserver((e=>{for(const t of e)"attributes"===t.type&&t.attributeName&&i.includes(t.attributeName)&&r(t)}));return l.observe(e.current,{attributes:!0,attributeFilter:i}),()=>l.disconnect()}))}var PL=50,CL=300;function AL(e,t){const[r,n]=(0,U.useState)(!1),[a,o]=(0,U.useState)(null),[i,l]=(0,U.useState)(!0),s=(0,U.useRef)(null),c=()=>clearTimeout(s.current);!function(r,n){const o=Me((()=>{"increment"===a&&e(),"decrement"===a&&t()}));(0,U.useEffect)((()=>{let e=null;return null!==n&&(e=window.setInterval((()=>o()),n)),()=>{e&&window.clearInterval(e)}}),[n,o])}(0,r?PL:null);const u=(0,U.useCallback)((()=>{i&&e(),s.current=setTimeout((()=>{l(!1),n(!0),o("increment")}),CL)}),[e,i]),d=(0,U.useCallback)((()=>{i&&t(),s.current=setTimeout((()=>{l(!1),n(!0),o("decrement")}),CL)}),[t,i]),p=(0,U.useCallback)((()=>{l(!0),n(!1),c()}),[]);return(0,U.useEffect)((()=>()=>c()),[]),{up:u,down:d,stop:p,isSpinning:r}}function SL(e){return parseFloat(e.toString().replace(/[^\w.-]+/g,""))}function RL(e,t){return Math.max(aL(t),aL(e))}function ML(e,t,r){const n=SL(e);if(Number.isNaN(n))return;const a=RL(n,t);return nL(n,null!=r?r:a)}var TL=/^[Ee0-9+\-.]$/;function IL(e){return TL.test(e)}var[OL,LL]=Ce({name:"NumberInputStylesContext",errorMessage:"useNumberInputStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<NumberInput />\" "}),[DL,BL]=Ce({name:"NumberInputContext",errorMessage:"useNumberInputContext: `context` is undefined. Seems you forgot to wrap number-input's components within <NumberInput />"}),zL=$e((function(e,t){const r=fa("NumberInput",e),n=to(sa(e)),{htmlProps:a,...o}=function(e={}){const{focusInputOnChange:t=!0,clampValueOnBlur:r=!0,keepWithinRange:n=!0,min:a=Number.MIN_SAFE_INTEGER,max:o=Number.MAX_SAFE_INTEGER,step:i=1,isReadOnly:l,isDisabled:s,isRequired:c,isInvalid:u,pattern:d="[0-9]*(.[0-9]+)?",inputMode:p="decimal",allowMouseWheel:m,id:h,onChange:f,precision:v,name:b,"aria-describedby":g,"aria-label":y,"aria-labelledby":E,onFocus:k,onBlur:w,onInvalid:x,getAriaValueText:_,isValidCharacter:P,format:C,parse:A,...S}=e,R=Me(k),M=Me(w),T=Me(x),I=Me(null!=P?P:IL),O=Me(_),L=function(e={}){const{onChange:t,precision:r,defaultValue:n,value:a,step:o=1,min:i=Number.MIN_SAFE_INTEGER,max:l=Number.MAX_SAFE_INTEGER,keepWithinRange:s=!0}=e,c=Me(t),[u,d]=(0,U.useState)((()=>{var e;return null==n?"":null!=(e=ML(n,o,r))?e:""})),p=void 0!==a,m=p?a:u,h=RL(SL(m),o),f=null!=r?r:h,v=(0,U.useCallback)((e=>{e!==m&&(p||d(e.toString()),null==c||c(e.toString(),SL(e)))}),[c,p,m]),b=(0,U.useCallback)((e=>{let t=e;return s&&(t=lL(t,i,l)),nL(t,f)}),[f,s,l,i]),g=(0,U.useCallback)(((e=o)=>{let t;t=""===m?SL(e):SL(m)+e,t=b(t),v(t)}),[b,o,v,m]),y=(0,U.useCallback)(((e=o)=>{let t;t=""===m?SL(-e):SL(m)-e,t=b(t),v(t)}),[b,o,v,m]),E=(0,U.useCallback)((()=>{var e;let t;t=null==n?"":null!=(e=ML(n,o,r))?e:i,v(t)}),[n,r,o,v,i]),k=(0,U.useCallback)((e=>{var t;const r=null!=(t=ML(e,o,f))?t:i;v(r)}),[f,o,v,i]),w=SL(m);return{isOutOfRange:w>l||w<i,isAtMax:w===l,isAtMin:w===i,precision:f,value:m,valueAsNumber:w,update:v,reset:E,increment:g,decrement:y,clamp:b,cast:k,setValue:d}}(e),{update:D,increment:B,decrement:z}=L,[N,V]=(0,U.useState)(!1),F=!(l||s),H=(0,U.useRef)(null),j=(0,U.useRef)(null),W=(0,U.useRef)(null),$=(0,U.useRef)(null),Z=(0,U.useCallback)((e=>e.split("").filter(I).join("")),[I]),G=(0,U.useCallback)((e=>{var t;return null!=(t=null==A?void 0:A(e))?t:e}),[A]),q=(0,U.useCallback)((e=>{var t;return(null!=(t=null==C?void 0:C(e))?t:e).toString()}),[C]);Gx((()=>{(L.valueAsNumber>o||L.valueAsNumber<a)&&(null==T||T("rangeOverflow",q(L.value),L.valueAsNumber))}),[L.valueAsNumber,L.value,q,T]),tl((()=>{if(H.current&&H.current.value!=L.value){const e=G(H.current.value);L.setValue(Z(e))}}),[G,Z]);const K=(0,U.useCallback)(((e=i)=>{F&&B(e)}),[B,F,i]),Y=(0,U.useCallback)(((e=i)=>{F&&z(e)}),[z,F,i]),X=AL(K,Y);_L(W,"disabled",X.stop,X.isSpinning),_L($,"disabled",X.stop,X.isSpinning);const Q=(0,U.useCallback)((e=>{if(e.nativeEvent.isComposing)return;const t=G(e.currentTarget.value);D(Z(t)),j.current={start:e.currentTarget.selectionStart,end:e.currentTarget.selectionEnd}}),[D,Z,G]),J=(0,U.useCallback)((e=>{var t,r,n;null==R||R(e),j.current&&(e.target.selectionStart=null!=(r=j.current.start)?r:null==(t=e.currentTarget.value)?void 0:t.length,e.currentTarget.selectionEnd=null!=(n=j.current.end)?n:e.currentTarget.selectionStart)}),[R]),ee=(0,U.useCallback)((e=>{if(e.nativeEvent.isComposing)return;(function(e,t){if(null==e.key)return!0;const r=e.ctrlKey||e.altKey||e.metaKey;return!(1===e.key.length&&!r)||t(e.key)})(e,I)||e.preventDefault();const t=te(e)*i,r={ArrowUp:()=>K(t),ArrowDown:()=>Y(t),Home:()=>D(a),End:()=>D(o)}[e.key];r&&(e.preventDefault(),r(e))}),[I,i,K,Y,D,a,o]),te=e=>{let t=1;return(e.metaKey||e.ctrlKey)&&(t=.1),e.shiftKey&&(t=10),t},re=(0,U.useMemo)((()=>{const e=null==O?void 0:O(L.value);return null!=e?e:L.value.toString()||void 0}),[L.value,O]),ne=(0,U.useCallback)((()=>{let e=L.value;""!==L.value&&(/^[eE]/.test(L.value.toString())?L.setValue(""):(L.valueAsNumber<a&&(e=a),L.valueAsNumber>o&&(e=o),L.cast(e)))}),[L,o,a]),ae=(0,U.useCallback)((()=>{V(!1),r&&ne()}),[r,V,ne]),oe=(0,U.useCallback)((()=>{t&&requestAnimationFrame((()=>{var e;null==(e=H.current)||e.focus()}))}),[t]),ie=(0,U.useCallback)((e=>{e.preventDefault(),X.up(),oe()}),[oe,X]),le=(0,U.useCallback)((e=>{e.preventDefault(),X.down(),oe()}),[oe,X]);Gi((()=>H.current),"wheel",(e=>{var t,r;const n=(null!=(r=null==(t=H.current)?void 0:t.ownerDocument)?r:document).activeElement===H.current;if(!m||!n)return;e.preventDefault();const a=te(e)*i,o=Math.sign(e.deltaY);-1===o?K(a):1===o&&Y(a)}),{passive:!1});const se=(0,U.useCallback)(((e={},t=null)=>{const r=s||n&&L.isAtMax;return{...e,ref:fe(t,W),role:"button",tabIndex:-1,onPointerDown:me(e.onPointerDown,(e=>{0!==e.button||r||ie(e)})),onPointerLeave:me(e.onPointerLeave,X.stop),onPointerUp:me(e.onPointerUp,X.stop),disabled:r,"aria-disabled":pe(r)}}),[L.isAtMax,n,ie,X.stop,s]),ce=(0,U.useCallback)(((e={},t=null)=>{const r=s||n&&L.isAtMin;return{...e,ref:fe(t,$),role:"button",tabIndex:-1,onPointerDown:me(e.onPointerDown,(e=>{0!==e.button||r||le(e)})),onPointerLeave:me(e.onPointerLeave,X.stop),onPointerUp:me(e.onPointerUp,X.stop),disabled:r,"aria-disabled":pe(r)}}),[L.isAtMin,n,le,X.stop,s]),ue=(0,U.useCallback)(((e={},t=null)=>{var r,n,i,m;return{name:b,inputMode:p,type:"text",pattern:d,"aria-labelledby":E,"aria-label":y,"aria-describedby":g,id:h,disabled:s,...e,readOnly:null!=(r=e.readOnly)?r:l,"aria-readonly":null!=(n=e.readOnly)?n:l,"aria-required":null!=(i=e.required)?i:c,required:null!=(m=e.required)?m:c,ref:fe(H,t),value:q(L.value),role:"spinbutton","aria-valuemin":a,"aria-valuemax":o,"aria-valuenow":Number.isNaN(L.valueAsNumber)?void 0:L.valueAsNumber,"aria-invalid":pe(null!=u?u:L.isOutOfRange),"aria-valuetext":re,autoComplete:"off",autoCorrect:"off",onChange:me(e.onChange,Q),onKeyDown:me(e.onKeyDown,ee),onFocus:me(e.onFocus,J,(()=>V(!0))),onBlur:me(e.onBlur,M,ae)}}),[b,p,d,E,y,q,g,h,s,c,l,u,L.value,L.valueAsNumber,L.isOutOfRange,a,o,re,Q,ee,J,M,ae]);return{value:q(L.value),valueAsNumber:L.valueAsNumber,isFocused:N,isDisabled:s,isReadOnly:l,getIncrementButtonProps:se,getDecrementButtonProps:ce,getInputProps:ue,htmlProps:S}}(n),i=(0,U.useMemo)((()=>o),[o]);return(0,Ma.jsx)(DL,{value:i,children:(0,Ma.jsx)(OL,{value:r,children:(0,Ma.jsx)(Ra.div,{...a,ref:t,className:ie("chakra-numberinput",e.className),__css:{position:"relative",zIndex:0,...r.root}})})})}));zL.displayName="NumberInput";var NL=$e((function(e,t){const r=LL();return(0,Ma.jsx)(Ra.div,{"aria-hidden":!0,ref:t,...e,__css:{display:"flex",flexDirection:"column",position:"absolute",top:"0",insetEnd:"0px",margin:"1px",height:"calc(100% - 2px)",zIndex:1,...r.stepperGroup}})}));NL.displayName="NumberInputStepper";var VL=$e((function(e,t){const{getInputProps:r}=BL(),n=r(e,t),a=LL();return(0,Ma.jsx)(Ra.input,{...n,className:ie("chakra-numberinput__field",e.className),__css:{width:"100%",...a.field}})}));VL.displayName="NumberInputField";var FL=Ra("div",{baseStyle:{display:"flex",justifyContent:"center",alignItems:"center",flex:1,transitionProperty:"common",transitionDuration:"normal",userSelect:"none",cursor:"pointer",lineHeight:"normal"}}),HL=$e((function(e,t){var r;const n=LL(),{getDecrementButtonProps:a}=BL(),o=a(e,t);return(0,Ma.jsx)(FL,{...o,__css:n.stepper,children:null!=(r=e.children)?r:(0,Ma.jsx)(wL,{})})}));HL.displayName="NumberDecrementStepper";var jL=$e((function(e,t){var r;const{getIncrementButtonProps:n}=BL(),a=n(e,t),o=LL();return(0,Ma.jsx)(FL,{...a,__css:o.stepper,children:null!=(r=e.children)?r:(0,Ma.jsx)(xL,{})})}));jL.displayName="NumberIncrementStepper";var WL={left:{marginEnd:"-1px",borderEndRadius:0,borderEndColor:"transparent"},right:{marginStart:"-1px",borderStartRadius:0,borderStartColor:"transparent"}},$L=Ra("div",{baseStyle:{flex:"0 0 auto",width:"auto",display:"flex",alignItems:"center",whiteSpace:"nowrap"}}),ZL=$e((function(e,t){var r;const{placement:n="left",...a}=e,o=null!=(r=WL[n])?r:{},i=EL();return(0,Ma.jsx)($L,{ref:t,...a,__css:{...i.addon,...o}})}));ZL.displayName="InputAddon";var UL=$e((function(e,t){return(0,Ma.jsx)(ZL,{ref:t,placement:"left",...e,className:ie("chakra-input__left-addon",e.className)})}));UL.displayName="InputLeftAddon",UL.id="InputLeftAddon";var GL=$e((function(e,t){return(0,Ma.jsx)(ZL,{ref:t,placement:"right",...e,className:ie("chakra-input__right-addon",e.className)})}));function qL(e,t){var r;const n=e.target;return!(n&&!ee(n).contains(n))&&!(null==(r=t.current)?void 0:r.contains(n))}GL.displayName="InputRightAddon",GL.id="InputRightAddon";var KL={horizontal:{"> *:first-of-type:not(:last-of-type)":{borderEndRadius:0},"> *:not(:first-of-type):not(:last-of-type)":{borderRadius:0},"> *:not(:first-of-type):last-of-type":{borderStartRadius:0}},vertical:{"> *:first-of-type:not(:last-of-type)":{borderBottomRadius:0},"> *:not(:first-of-type):not(:last-of-type)":{borderRadius:0},"> *:not(:first-of-type):last-of-type":{borderTopRadius:0}}},YL={horizontal:e=>({"& > *:not(style) ~ *:not(style)":{marginStart:e}}),vertical:e=>({"& > *:not(style) ~ *:not(style)":{marginTop:e}})},XL=$e((function(e,t){const{size:r,colorScheme:n,variant:a,className:o,spacing:i="0.5rem",isAttached:l,isDisabled:s,orientation:c="horizontal",...u}=e,d=ie("chakra-button__group",o),p=(0,U.useMemo)((()=>({size:r,colorScheme:n,variant:a,isDisabled:s})),[r,n,a,s]);let m={display:"inline-flex",...l?KL[c]:YL[c](i)};const h="vertical"===c;return(0,Ma.jsx)(Qh,{value:p,children:(0,Ma.jsx)(Ra.div,{ref:t,role:"group",__css:m,className:d,"data-attached":l?"":void 0,"data-orientation":c,flexDir:h?"column":void 0,...u})})}));XL.displayName="ButtonGroup";var QL=$e(((e,t)=>{const{icon:r,children:n,isRound:a,"aria-label":o,...i}=e,l=r||n,s=(0,U.isValidElement)(l)?(0,U.cloneElement)(l,{"aria-hidden":!0,focusable:!1}):null;return(0,Ma.jsx)(cf,{padding:"0",borderRadius:a?"full":void 0,ref:t,"aria-label":o,...i,children:s})}));QL.displayName="IconButton";const JL={desktop:iT,tablet:lT,mobile:sT},eD=({buttonGroupProps:e})=>{const{device:t,setDevice:r}=ib(),{isOpen:n,onClose:a,onOpen:o}=G_(),i=G().useRef(null);return function(e){const{ref:t,handler:r,enabled:n=!0}=e,a=ne(r),o=(0,U.useRef)({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}).current;(0,U.useEffect)((()=>{if(!n)return;const e=e=>{qL(e,t)&&(o.isPointerDown=!0)},i=e=>{o.ignoreEmulatedMouseEvents?o.ignoreEmulatedMouseEvents=!1:o.isPointerDown&&r&&qL(e,t)&&(o.isPointerDown=!1,a(e))},l=e=>{o.ignoreEmulatedMouseEvents=!0,r&&o.isPointerDown&&qL(e,t)&&(o.isPointerDown=!1,a(e))},s=ee(t.current);return s.addEventListener("mousedown",e,!0),s.addEventListener("mouseup",i,!0),s.addEventListener("touchstart",e,!0),s.addEventListener("touchend",l,!0),()=>{s.removeEventListener("mousedown",e,!0),s.removeEventListener("mouseup",i,!0),s.removeEventListener("touchstart",e,!0),s.removeEventListener("touchend",l,!0)}}),[r,t,a,o,n])}({ref:i,handler:a}),G().createElement(Ba,{h:"6",w:"6",ref:i},G().createElement(XL,(0,Ut.A)({},e,{sx:{">*:not(style)~*:not(style)":{marginInlineStart:"0",marginTop:"0"}},orientation:"vertical",zIndex:n?1:void 0,position:"relative",translateY:"desktop"===t?"0%":"tablet"===t?"calc(calc(100% / 3) * -1)":"calc(calc(100% / 1.5) * -1)",transform:"translateY(var(--chakra-translate-y))",border:n?"1px":0,borderColor:"primary.500",borderRadius:"sm"}),Object.entries(Y).map((([e,i])=>{const l=JL[e];return G().createElement(Xh,{label:i,placement:"right",key:e},G().createElement(QL,{isActive:n&&t===e,onClick:()=>{t!==e?(r(e),a()):o()},h:6,w:6,minW:6,"aria-label":i,visibility:t===e||n?"visible":"hidden",opacity:t===e||n?"1":"0",pointerEvents:t===e||n?"auto":"none",bgColor:n?"white":"transparent",border:"0",color:"gray.500",_active:{bgColor:"primary.500",color:"white"},_hover:{color:"white",bgColor:"primary.500"},borderRadius:"0",outline:"none !important",icon:G().createElement(l,{fill:"currentColor",h:"5",w:"5"})}))}))))};function tD(e,t){var r;const n=e.target;return!(n&&!rD(n).contains(n))&&!(null==(r=t.current)?void 0:r.contains(n))}function rD(e){var t;return null!=(t=null==e?void 0:e.ownerDocument)?t:document}var[nD,aD,oD,iD]=Re(),[lD,sD]=Ce({strict:!1,name:"MenuContext"});function cD(e){var t;return null!=(t=null==e?void 0:e.ownerDocument)?t:document}function uD(e){return cD(e).activeElement===e}function dD(e={}){const{id:t,closeOnSelect:r=!0,closeOnBlur:n=!0,initialFocusRef:a,autoSelect:o=!0,isLazy:i,isOpen:l,defaultIsOpen:s,onClose:c,onOpen:u,placement:d="bottom-start",lazyBehavior:p="unmount",direction:m,computePositionOnMount:h=!1,...f}=e,v=(0,U.useRef)(null),b=(0,U.useRef)(null),g=oD(),y=(0,U.useCallback)((()=>{requestAnimationFrame((()=>{var e;null==(e=v.current)||e.focus({preventScroll:!1})}))}),[]),E=(0,U.useCallback)((()=>{const e=setTimeout((()=>{var e;if(a)null==(e=a.current)||e.focus();else{const e=g.firstEnabled();e&&R(e.index)}}));L.current.add(e)}),[g,a]),k=(0,U.useCallback)((()=>{const e=setTimeout((()=>{const e=g.lastEnabled();e&&R(e.index)}));L.current.add(e)}),[g]),w=(0,U.useCallback)((()=>{null==u||u(),o?E():y()}),[o,E,y,u]),{isOpen:x,onOpen:_,onClose:P,onToggle:C}=Ui({isOpen:l,defaultIsOpen:s,onClose:c,onOpen:w});!function(e){const{ref:t,handler:r,enabled:n=!0}=e,a=Me(r),o=(0,U.useRef)({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}).current;(0,U.useEffect)((()=>{if(!n)return;const e=e=>{tD(e,t)&&(o.isPointerDown=!0)},i=e=>{o.ignoreEmulatedMouseEvents?o.ignoreEmulatedMouseEvents=!1:o.isPointerDown&&r&&tD(e,t)&&(o.isPointerDown=!1,a(e))},l=e=>{o.ignoreEmulatedMouseEvents=!0,r&&o.isPointerDown&&tD(e,t)&&(o.isPointerDown=!1,a(e))},s=rD(t.current);return s.addEventListener("mousedown",e,!0),s.addEventListener("mouseup",i,!0),s.addEventListener("touchstart",e,!0),s.addEventListener("touchend",l,!0),()=>{s.removeEventListener("mousedown",e,!0),s.removeEventListener("mouseup",i,!0),s.removeEventListener("touchstart",e,!0),s.removeEventListener("touchend",l,!0)}}),[r,t,a,o,n])}({enabled:x&&n,ref:v,handler:e=>{var t;(null==(t=b.current)?void 0:t.contains(e.target))||P()}});const A=$i({...f,enabled:x||h,placement:d,direction:m}),[S,R]=(0,U.useState)(-1);Gx((()=>{x||R(-1)}),[x]),function(e,t){const{shouldFocus:r,visible:n,focusRef:a}=t,o=r&&!n;Gx((()=>{if(!o)return;if(function(e){const t=e.current;if(!t)return!1;const r=function(e){return co(e).activeElement}(t);return!!r&&!t.contains(r)&&!(!((n=r)&&so(n)&&mA(n))||dA(n));var n}(e))return;const t=(null==a?void 0:a.current)||e.current;let r;return t?(r=requestAnimationFrame((()=>{t.focus({preventScroll:!0})})),()=>{cancelAnimationFrame(r)}):void 0}),[o,e,a])}(v,{focusRef:b,visible:x,shouldFocus:!0});const M=function(e){const{isOpen:t,ref:r}=e,[n,a]=(0,U.useState)(t),[o,i]=(0,U.useState)(!1);return(0,U.useEffect)((()=>{o||(a(t),i(!0))}),[t,o,n]),Gi((()=>r.current),"animationend",(()=>{a(t)})),{present:!(!t&&!n),onComplete(){var e;const t=function(e){var t,r;return null!=(r=null==(t=co(e))?void 0:t.defaultView)?r:window}(r.current),n=new t.CustomEvent("animationend",{bubbles:!0});null==(e=r.current)||e.dispatchEvent(n)}}}({isOpen:x,ref:v}),[T,I]=function(e,...t){const r=(0,U.useId)(),n=e||r;return(0,U.useMemo)((()=>t.map((e=>`${e}-${n}`))),[n,t])}(t,"menu-button","menu-list"),O=(0,U.useCallback)((()=>{_(),y()}),[_,y]),L=(0,U.useRef)(new Set([]));(0,U.useEffect)((()=>{const e=L.current;return()=>{e.forEach((e=>clearTimeout(e))),e.clear()}}),[]);const D=(0,U.useCallback)((()=>{_(),E()}),[E,_]),B=(0,U.useCallback)((()=>{_(),k()}),[_,k]),z=(0,U.useCallback)((()=>{var e,t;const r=cD(v.current),n=null==(e=v.current)?void 0:e.contains(r.activeElement);if(!x||n)return;const a=null==(t=g.item(S))?void 0:t.node;null==a||a.focus({preventScroll:!0})}),[x,S,g]),N=(0,U.useRef)(null);return{openAndFocusMenu:O,openAndFocusFirstItem:D,openAndFocusLastItem:B,onTransitionEnd:z,unstable__animationState:M,descendants:g,popper:A,buttonId:T,menuId:I,forceUpdate:A.forceUpdate,orientation:"vertical",isOpen:x,onToggle:C,onOpen:_,onClose:P,menuRef:v,buttonRef:b,focusedIndex:S,closeOnSelect:r,closeOnBlur:n,autoSelect:o,setFocusedIndex:R,isLazy:i,lazyBehavior:p,initialFocusRef:a,rafId:N}}function pD(e){var t;return function(e){var t;if(!function(e){return null!=e&&"object"==typeof e&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}(e))return!1;return e instanceof(null!=(t=e.ownerDocument.defaultView)?t:window).HTMLElement}(e)&&!!(null==(t=null==e?void 0:e.getAttribute("role"))?void 0:t.startsWith("menuitem"))}var[mD,hD]=Ce({name:"MenuStylesContext",errorMessage:"useMenuStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<Menu />\" "}),fD=e=>{const{children:t}=e,r=fa("Menu",e),n=sa(e),{direction:a}=wr(),{descendants:o,...i}=dD({...n,direction:a}),l=(0,U.useMemo)((()=>i),[i]),{isOpen:s,onClose:c,forceUpdate:u}=l;return(0,Ma.jsx)(nD,{value:o,children:(0,Ma.jsx)(lD,{value:l,children:(0,Ma.jsx)(mD,{value:r,children:ce(t,{isOpen:s,onClose:c,forceUpdate:u})})})})};fD.displayName="Menu";var vD=$e(((e,t)=>{const r=hD();return(0,Ma.jsx)(Ra.button,{ref:t,...e,__css:{display:"inline-flex",appearance:"none",alignItems:"center",outline:0,...r.button}})})),bD=$e(((e,t)=>{const{children:r,as:n,...a}=e,o=function(e={},t=null){const r=sD(),{onToggle:n,popper:a,openAndFocusFirstItem:o,openAndFocusLastItem:i}=r,l=(0,U.useCallback)((e=>{const t=e.key,r={Enter:o,ArrowDown:o,ArrowUp:i}[t];r&&(e.preventDefault(),e.stopPropagation(),r(e))}),[o,i]);return{...e,ref:fe(r.buttonRef,t,a.referenceRef),id:r.buttonId,"data-active":de(r.isOpen),"aria-expanded":r.isOpen,"aria-haspopup":"menu","aria-controls":r.menuId,onClick:me(e.onClick,n),onKeyDown:me(e.onKeyDown,l)}}(a,t),i=n||vD;return(0,Ma.jsx)(i,{...o,className:ie("chakra-menu__menu-button",e.className),children:(0,Ma.jsx)(Ra.span,{__css:{pointerEvents:"none",flex:"1 1 auto",minW:0},children:e.children})})}));bD.displayName="MenuButton";var gD={enter:{visibility:"visible",opacity:1,scale:1,transition:{duration:.2,ease:[.4,0,.2,1]}},exit:{transitionEnd:{visibility:"hidden"},opacity:0,scale:.8,transition:{duration:.1,easings:"easeOut"}}},yD=Ra($h.div),ED=$e((function(e,t){var r,n;const{rootProps:a,motionProps:o,...i}=e,{isOpen:l,onTransitionEnd:s,unstable__animationState:c}=sD(),u=function(e={},t=null){const r=sD();if(!r)throw new Error("useMenuContext: context is undefined. Seems you forgot to wrap component within <Menu>");const{focusedIndex:n,setFocusedIndex:a,menuRef:o,isOpen:i,onClose:l,menuId:s,isLazy:c,lazyBehavior:u,unstable__animationState:d}=r,p=aD(),m=function(e={}){const{timeout:t=300,preventDefault:r=(()=>!0)}=e,[n,a]=(0,U.useState)([]),o=(0,U.useRef)(),i=()=>{o.current&&(clearTimeout(o.current),o.current=null)};return(0,U.useEffect)((()=>i),[]),function(e){return l=>{if("Backspace"===l.key){const e=[...n];return e.pop(),void a(e)}if(function(e){const{key:t}=e;return 1===t.length||t.length>1&&/[^a-zA-Z0-9]/.test(t)}(l)){const s=n.concat(l.key);r(l)&&(l.preventDefault(),l.stopPropagation()),a(s),e(s.join("")),i(),o.current=setTimeout((()=>{a([]),o.current=null}),t)}}}}({preventDefault:e=>" "!==e.key&&pD(e.target)}),h=(0,U.useCallback)((e=>{if(!e.currentTarget.contains(e.target))return;const t=e.key,r={Tab:e=>e.preventDefault(),Escape:l,ArrowDown:()=>{const e=p.nextEnabled(n);e&&a(e.index)},ArrowUp:()=>{const e=p.prevEnabled(n);e&&a(e.index)}},o=r[t];if(o)return e.preventDefault(),void o(e);const i=m((e=>{const t=function(e,t,r,n){if(null==t)return n;if(!n)return e.find((e=>r(e).toLowerCase().startsWith(t.toLowerCase())));const a=e.filter((e=>r(e).toLowerCase().startsWith(t.toLowerCase())));if(a.length>0){let t;return a.includes(n)?(t=a.indexOf(n)+1,t===a.length&&(t=0),a[t]):(t=e.indexOf(a[0]),e[t])}return n}(p.values(),e,(e=>{var t,r;return null!=(r=null==(t=null==e?void 0:e.node)?void 0:t.textContent)?r:""}),p.item(n));if(t){const e=p.indexOf(t.node);a(e)}}));pD(e.target)&&i(e)}),[p,n,m,l,a]),f=(0,U.useRef)(!1);i&&(f.current=!0);const v=Oe({wasSelected:f.current,enabled:c,mode:u,isSelected:d.present});return{...e,ref:fe(o,t),children:v?e.children:null,tabIndex:-1,role:"menu",id:s,style:{...e.style,transformOrigin:"var(--popper-transform-origin)"},"aria-orientation":"vertical",onKeyDown:me(e.onKeyDown,h)}}(i,t),d=function(e={}){const{popper:t,isOpen:r}=sD();return t.getPopperProps({...e,style:{visibility:r?"visible":"hidden",...e.style}})}(a),p=hD();return(0,Ma.jsx)(Ra.div,{...d,__css:{zIndex:null!=(n=e.zIndex)?n:null==(r=p.list)?void 0:r.zIndex},children:(0,Ma.jsx)(yD,{variants:gD,initial:!1,animate:l?"enter":"exit",__css:{outline:0,...p.list},...o,className:ie("chakra-menu__menu-list",u.className),...u,onUpdate:s,onAnimationComplete:he(c.onComplete,u.onAnimationComplete)})})}));ED.displayName="MenuList";var kD=$e(((e,t)=>{const r=hD();return(0,Ma.jsx)(Ra.span,{ref:t,...e,__css:r.command,className:"chakra-menu__command"})}));kD.displayName="MenuCommand";var wD=$e(((e,t)=>{const{type:r,...n}=e,a=hD(),o=n.as||r?null!=r?r:void 0:"button",i=(0,U.useMemo)((()=>({textDecoration:"none",color:"inherit",userSelect:"none",display:"flex",width:"100%",alignItems:"center",textAlign:"start",flex:"0 0 auto",outline:0,...a.item})),[a.item]);return(0,Ma.jsx)(Ra.button,{ref:t,type:o,...n,__css:i})})),xD=e=>{const{className:t,children:r,...n}=e,a=hD(),o=U.Children.only(r),i=(0,U.isValidElement)(o)?(0,U.cloneElement)(o,{focusable:"false","aria-hidden":!0,className:ie("chakra-menu__icon",o.props.className)}):null,l=ie("chakra-menu__icon-wrapper",t);return(0,Ma.jsx)(Ra.span,{className:l,...n,__css:a.icon,children:i})};xD.displayName="MenuIcon";var _D=$e(((e,t)=>{const{icon:r,iconSpacing:n="0.75rem",command:a,commandSpacing:o="0.75rem",children:i,...l}=e,s=function(e={},t=null){const{onMouseEnter:r,onMouseMove:n,onMouseLeave:a,onClick:o,onFocus:i,isDisabled:l,isFocusable:s,closeOnSelect:c,type:u,...d}=e,p=sD(),{setFocusedIndex:m,focusedIndex:h,closeOnSelect:f,onClose:v,menuRef:b,isOpen:g,menuId:y,rafId:E}=p,k=(0,U.useRef)(null),w=`${y}-menuitem-${(0,U.useId)()}`,{index:x,register:_}=iD({disabled:l&&!s}),P=(0,U.useCallback)((e=>{null==r||r(e),l||m(x)}),[m,x,l,r]),C=(0,U.useCallback)((e=>{null==n||n(e),k.current&&!uD(k.current)&&P(e)}),[P,n]),A=(0,U.useCallback)((e=>{null==a||a(e),l||m(-1)}),[m,l,a]),S=(0,U.useCallback)((e=>{null==o||o(e),pD(e.currentTarget)&&(null!=c?c:f)&&v()}),[v,o,f,c]),R=(0,U.useCallback)((e=>{null==i||i(e),m(x)}),[m,i,x]),M=x===h,T=l&&!s;Gx((()=>{if(g)return M&&!T&&k.current?(E.current&&cancelAnimationFrame(E.current),E.current=requestAnimationFrame((()=>{var e;null==(e=k.current)||e.focus({preventScroll:!0}),E.current=null}))):b.current&&!uD(b.current)&&b.current.focus({preventScroll:!0}),()=>{E.current&&cancelAnimationFrame(E.current)}}),[M,T,b,g]);const I=ge({onClick:S,onFocus:R,onMouseEnter:P,onMouseMove:C,onMouseLeave:A,ref:fe(_,k,t),isDisabled:l,isFocusable:s});return{...d,...I,type:null!=u?u:I.type,id:w,role:"menuitem",tabIndex:M?0:-1}}(l,t),c=r||a?(0,Ma.jsx)("span",{style:{pointerEvents:"none",flex:1},children:i}):i;return(0,Ma.jsxs)(wD,{...s,className:ie("chakra-menu__menuitem",s.className),children:[r&&(0,Ma.jsx)(xD,{fontSize:"0.8em",marginEnd:n,children:r}),c,a&&(0,Ma.jsx)(kD,{marginStart:o,children:a})]})}));_D.displayName="MenuItem";const PD=e=>{const{onChange:t,units:r,currentUnit:n}=e;return G().createElement(fD,{gutter:0,matchWidth:!0},G().createElement(bD,{as:cf,variant:"icon",fontSize:"13px",color:"primary.500",fontWeight:"normal",_active:{color:"white",backgroundColor:"primary.500",border:"1px",borderColor:"primary.500",borderTopRightRadius:"sm",borderTopLeftRadius:"sm"},h:"28px",w:"35px",py:"4px",borderRadius:"0",borderBottomLeftRadius:"none",borderBottomRightRadius:"none"},n),G().createElement(cl,null,G().createElement(ED,{py:"0",border:"1px",borderColor:"primary.500",borderRadius:"none",borderBottomLeftRadius:"sm",borderBottomRightRadius:"sm",minW:"35px",w:"35px",rootProps:{zIndex:9999999}},r.filter((e=>e!==n)).map((e=>G().createElement(_D,{key:e,onClick:()=>t(e),justifyContent:"center",_hover:{bgColor:"transparent"},fontSize:"13px",color:"primary.500",fontWeight:"normal",h:"28px",w:"35px",py:"4px",borderRadius:"none",bg:"transparent"},e))))))},CD="px",AD={min:0,max:100,step:1},SD={min:0,max:20,step:.01},RD={"%":AD,vh:AD,vw:AD,em:SD,rem:SD,px:{step:1}},MD=e=>{var t,r,n;const{label:a,value:o,responsive:i,resetAttributeKey:l,onChange:s,units:c,min:u=0,max:d=1e3,step:p=1,defaultUnit:m,forceShowUnit:h}=e,{device:f,setDevice:v}=ib(),b=G().useCallback((e=>i&&c?e?.[f]?.value:i&&!c?e?.[f]:!i&&c?e?.value:e),[f,i,c]),g=e=>{if(!i&&!c)return e;let t=o?Tv(o):{};return i&&c?(Sv(t,`${f}.value`,e),!o?.[f]?.unit&&Sv(t,[f,"unit"],null!=m?m:CD)):!i&&c?(Sv(t,"value",e),!o?.unit&&Sv(t,"unit",null!=m?m:CD)):i&&!c&&Sv(t,`${f}`,e),t},[y,E]=G().useState(b(o)),k=Qv(s);G().useEffect((()=>{E(b(o))}),[o]);const w=c&&null!==(t=null!==(r=i?o?.[f]?.unit:o?.unit)&&void 0!==r?r:m)&&void 0!==t?t:CD,x=null!==(n=RD[w])&&void 0!==n?n:{};c||delete x?.step;const _={min:u,max:d,step:p,...x};G().useEffect((()=>{E(b(o))}),[f]);const P=e.hiddenLabel?cS:pf;return G().createElement(Qa,null,G().createElement(Ua,{justify:"space-between",mb:"2"},G().createElement(Ua,null,G().createElement(P,null,a),i&&G().createElement(eD,{device:f,setDevice:v})),G().createElement(Ua,null,l&&G().createElement(bO,{saved:o,resetKey:l,onReset:e=>{s(e),E(b(e))}}))),G().createElement(Ua,{gap:4},G().createElement(hL,(0,Ut.A)({focusThumbOnChange:!1,value:y},_,{onChange:e=>{E(e),k(g(e))}}),G().createElement(vL,{bg:"#E0E0E0"},G().createElement(bL,{bgColor:"primary.500"})),G().createElement(fL,{bgColor:"primary.500"})),G().createElement(kL,{isolation:"auto",border:"1px",borderColor:"gray.200",borderRadius:"sm",maxW:"90px",px:"4px"},G().createElement(zL,(0,Ut.A)({},_,{value:y,onChange:(e,t)=>{const r=isNaN(t)?void 0:t;E(r),k(g(r))},flex:"1"}),G().createElement(VL,{fontSize:"xs",border:"none !important",_focus:{boxShadow:"none !important"}})),c?G().createElement(GL,{p:"0",bg:"white",borderRadius:"0",border:"0"},G().createElement(PD,{units:c,currentUnit:w,onChange:e=>{let t=o?Tv(o):{};i&&c?(t=Sv(t,[f,"unit"],e),s(t)):!i&&c&&(t=Sv(t,"unit",e),s(t))}})):h?G().createElement(GL,{p:"0",px:"1",fontSize:"xs",bg:"white",borderRadius:"0",border:"0"},null!=m?m:CD):null)))},TD={indicatorSeparator:()=>({display:"none"}),indicatorsContainer:e=>({...e,maxHeight:"40px"}),menuPortal:e=>({...e,zIndex:99999999999}),control:e=>({...e,border:"1px solid var(--chakra-colors-gray-400)"}),valueContainer:e=>({...e,padding:"0 8px"}),input:e=>({...e,margin:0,padding:0,":focus":{boxShadow:"none !important"}}),menuList:e=>({...e,maxHeight:"200px"}),menu:e=>({...e,zIndex:2})},ID=e=>{var t,r,n,a,o;const{value:i,onChange:l,resetAttributeKey:s}=e,c=kv.configs.performance["allow-only-selected-fonts"],u=e=>{l({...null!=i?i:{},...e,_className:void 0})},d=[{label:"Default",value:"Default",variants:["100","200","300","400","500","600","700","700","800","900"],family:"Default",defVariant:"400"},...kv.configs.performance["allowed-fonts"]],p=null!==(t=(c?d:kv.googleFonts)?.find((e=>{var t;return e.family===(null!==(t=i?.family)&&void 0!==t?t:"Default")}))?.variants?.map((e=>{if("regular"===e)return"400";const t=parseInt(e);return!isNaN(t)&&t.toString()}))?.filter(((e,t,r)=>!e||r.indexOf(e)===t)))&&void 0!==t?t:d[0].variants;return G().createElement(Ba,{sx:{"> *:not(:last-child)":{mb:4}}},G().createElement(Qa,{sx:{".blockart-react-select input":{boxShadow:"none !important"}}},G().createElement(pf,{mb:"2"},(0,K.__)("Font family","blockart")),G().createElement(GM,{className:"blockart-react-select",options:c?d:kv.googleFonts,isSearchable:!0,getOptionLabel:e=>e.family,getOptionValue:e=>e.family,value:(c?d:kv.googleFonts).find((e=>{var t;return e.family===(c&&i?.family&&!d.some((e=>e.family===i?.family))?"Default":null!==(t=i?.family)&&void 0!==t?t:"Default")})),onChange:e=>{(e=>{let t={family:e};const r=(c?d:kv.googleFonts)?.find((t=>t.family===e));if(r){var n;const e=r.variants.map((e=>"regular"==e?"400":parseInt(e).toString()));let a=null!==(n=i?.weight)&&void 0!==n?n:"400";a=Number.isSafeInteger(a)?a.toString():a,e.includes(a)||(e.includes("400")?t.weight="400":t.weight=e.includes("400")?"400":e[0])}u(t)})(e?.family)},theme:e=>({borderRadius:2,colors:{...e.colors,primary:"var(--wp-admin-theme-color)"},spacing:{controlHeight:40,baseUnit:3,menuGutter:3}}),styles:TD,components:{DropdownIndicator:e=>G().createElement(qR.DropdownIndicator,e,G().createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",fill:"#000",width:"22",height:"22",className:"components-panel__arrow","aria-hidden":"true",focusable:"false"},G().createElement("path",{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"})))}})),G().createElement(VV,{label:(0,K.__)("Weight","blockart"),onChange:e=>{u({weight:e})},value:(null!==(r=i?.weight)&&void 0!==r?r:"400").toString(),options:p?.map((e=>({label:e,value:e})))}),G().createElement(MD,{responsive:!0,value:i?.size,onChange:e=>{u({size:e})},min:0,max:500,units:["px","em","rem"],defaultUnit:"px",label:(0,K.__)("Font Size","blockart"),resetAttributeKey:s?`${s}.size`:void 0}),G().createElement(MD,{responsive:!0,value:i?.lineHeight,onChange:e=>{u({lineHeight:e})},min:0,max:100,units:["px","em","rem"],defaultUnit:"px",label:(0,K.__)("Line height","blockart"),resetAttributeKey:s?`${s}.lineHeight`:void 0}),G().createElement(MD,{responsive:!0,value:i?.letterSpacing,onChange:e=>{u({letterSpacing:e})},min:0,max:100,units:["px","em","rem"],defaultUnit:"px",label:(0,K.__)("Letter spacing","blockart"),resetAttributeKey:s?`${s}.letterSpacing`:void 0}),G().createElement(VV,{label:(0,K.__)("Style","blockart"),onChange:e=>u({fontStyle:e}),value:null!==(n=i?.fontStyle)&&void 0!==n?n:"default",options:[{label:(0,K.__)("Default","blockart"),value:"default"},{label:(0,K.__)("Italic","blockart"),value:"italic"},{label:(0,K.__)("Oblique","blockart"),value:"oblique"}]}),G().createElement(VV,{label:(0,K.__)("Decoration","blockart"),onChange:e=>u({decoration:e}),value:null!==(a=i?.decoration)&&void 0!==a?a:"default",options:[{label:(0,K.__)("Default","blockart"),value:"default"},{label:(0,K.__)("Overline","blockart"),value:"overline"},{label:(0,K.__)("Underline","blockart"),value:"underline"},{label:(0,K.__)("Line Through","blockart"),value:"line-through"}]}),G().createElement(VV,{label:(0,K.__)("Transformation","blockart"),onChange:e=>u({transform:e}),value:null!==(o=i?.transform)&&void 0!==o?o:"default",options:[{label:(0,K.__)("Default","blockart"),value:"default"},{label:(0,K.__)("Capitalize","blockart"),value:"capitalize"},{label:(0,K.__)("Uppercase","blockart"),value:"uppercase"},{label:(0,K.__)("Lowercase","blockart"),value:"lowercase"}]}))},OD=e=>{const{styles:t}=BN();return G().createElement(BV,{label:(0,K.__)("Typography","blockart"),closeOnFocusOutside:!0,popoverDivProps:{sx:{".components-popover__content":{minW:"280px"}}},trigger:e.value?._className?e=>G().createElement(Ba,{position:"relative"},G().createElement(BV.Trigger,e),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-5px",bg:"white",borderRadius:"full"})):void 0},G().createElement(Oa,{defaultIndex:e.value?._className?1:void 0},G().createElement(La,{position:"relative"},G().createElement(Da,{fontSize:"xs"},(0,K.__)("Default","blockart")),G().createElement(Da,{fontSize:"xs"},(0,K.__)("Global","blockart")),e.resetAttributeKey&&G().createElement(bO,{saved:e.value,resetKey:e.resetAttributeKey,onReset:t=>{e.onChange(t)},buttonProps:{position:"absolute",right:"10px",top:"50%",transform:"translateY(-50%)"}})),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(ID,e)),G().createElement(Fa,null,G().createElement(Y_,null,t.typographies.map((t=>G().createElement(X_,{border:`ba-typography-${t.id}`===e.value?._className?"1px":void 0,borderColor:"primary.500",mb:"0",px:"8px",py:"10px",key:t.id,onClick:()=>{var r;e.onChange({...null!==(r=e.value)&&void 0!==r?r:{},_className:`ba-typography-${t.id}`})},cursor:"pointer",borderRadius:"sm"},t.name))))))))},LD=()=>{const{styles:e,updateStyleByKey:t,removeStyleByKey:r}=BN(),[n,a]=G().useState(""),{isOpen:o,onOpen:i,onClose:l}=G_(),s=G().useRef(null);return G().createElement(Zv.Panel,null,G().createElement(Ba,{as:Zv.PanelBody,initialOpen:!1,title:(0,K.__)("Typography"),mb:"1px"},G().createElement(Y_,null,e.typographies.filter((e=>vS.includes(e.id))).map((e=>G().createElement(X_,{key:e.id,sx:{".chakra-form-control":{py:"12px"}},mb:"0"},G().createElement(BV,{label:e.name,closeOnFocusOutside:!0,popoverDivProps:{sx:{".components-popover__content":{minW:"254px",p:4}}},popoverProps:{offset:16}},G().createElement(ID,{value:e.value,onChange:r=>{t("typographies",{...e,value:r})}}))))),G().createElement(X_,{display:"flex",alignItems:"center",justifyContent:"space-between",py:"12px",mb:"0"},"Custom Typography"," ",G().createElement(cf,{variant:"icon",onClick:()=>t("typographies",{name:"",id:"",value:{}})},G().createElement("svg",{stroke:"currentColor",fill:"currentColor",strokeWidth:"0",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},G().createElement("path",{d:"M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32V224H48c-17.7 0-32 14.3-32 32s14.3 32 32 32H192V432c0 17.7 14.3 32 32 32s32-14.3 32-32V288H400c17.7 0 32-14.3 32-32s-14.3-32-32-32H256V80z"})))),e.typographies.filter((e=>!vS.includes(e.id))).map((e=>G().createElement(X_,{key:e.id,mb:"0",sx:{"> .chakra-form-control":{py:"12px"}}},G().createElement(BV,{label:()=>G().createElement(pS,{label:e.name,value:e.name,onChange:r=>t("typographies",{...e,name:r}),hiddenLabel:!0,border:"none",borderColor:"var(--chakra-colors-primary-500)!important",_focus:{border:"1px",borderColor:"var(--chakra-colors-primary-500)!important",outline:"none !important",boxShadow:"none !important",px:2},h:"28px",minH:"28px !important",px:"0"}),trigger:t=>G().createElement(Ua,null,G().createElement(cf,{onClick:()=>{a(e.id),i()},variant:"icon",sx:{svg:{color:"gray.400",w:"14px",h:"14px"}}},G().createElement("svg",{stroke:"currentColor",fill:"none",strokeWidth:"2",viewBox:"0 0 24 24","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg"},G().createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"}))),G().createElement(BV.Trigger,t)),closeOnFocusOutside:!0,popoverDivProps:{sx:{".components-popover__content":{minW:"254px",p:4}}},popoverProps:{offset:16}},G().createElement(ID,{value:e.value,onChange:r=>{t("typographies",{...e,value:r})}}))))))),G().createElement(JA,{isOpen:o,leastDestructiveRef:s,onClose:()=>{l(),a("")}},G().createElement(oS,null,G().createElement(eS,null,G().createElement(iS,{fontSize:"lg",fontWeight:"bold"},(0,K.sprintf)((0,K.__)("Delete typography #%s","blockart"),n)),G().createElement(lS,null,(0,K.__)("Are you sure? You cannot undo this action afterwards.","blockart")),G().createElement(sS,null,G().createElement(cf,{ref:s,variant:"outline",size:"sm",onClick:()=>{l(),a("")}},(0,K.__)("Cancel","blockart")),G().createElement(cf,{size:"sm",onClick:()=>{l(),r("typographies",n)},ml:3},(0,K.__)("Delete","blockart")))))))},DD=()=>{const[e,t]=(0,U.useState)(!1),r=G().useRef(null),n=(0,Hv.select)("core/interface").getActiveComplementaryArea("core/edit-post");return G().useEffect((()=>{r.current=document.querySelector(".interface-interface-skeleton__content")}),[]),G().useEffect((()=>{const r="blockart/blockart-plugin-sidebar"===n;if(r)return((e=!1)=>{const t=e?"add":"remove";document.body.classList[t]("ba-style-guide--open")})(e&&r),()=>{document.body?.classList.remove("ba-style-guide--open")};t(!1)}),[e,n]),G().createElement(V_.PluginSidebar,{name:"blockart-plugin-sidebar",title:(0,K.__)("Blockart","blockart"),icon:G().createElement("svg",{width:20,height:20,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:"blockart-sidebar-global-styles-button",style:{background:"#3858e9"}},G().createElement("path",{d:"M22 22H2V2h20zM3 21h18V3H3z",fill:"#fff"}),G().createElement("path",{d:"M13.46 10l-1.39-5-1.39 5zm.92 3H9.77l-1 4.46V19h6.4v-1.52z",fill:"#fff",fillRule:"evenodd"}))},G().createElement(g_,{theme:Z_,cssVarsRoot:".blockart"},G().createElement("div",{className:"blockart"},G().createElement(Ba,{px:"18px",py:"14px"},G().createElement(Qa,{display:"flex",justifyContent:"space-between",alignItems:"center",mb:"18px"},G().createElement(pf,{fontSize:"13px",fontWeight:"semibold"},(0,K.__)("Style Preview Guide","blockart")),G().createElement(B_,{isChecked:e,onChange:e=>{t(e.target.checked)}})),G().createElement(N_,{as:"span",fontSize:"12px",fontStyle:"italic",color:"gray.600"},(0,K.__)("Switch between the content area and style guide to preview your changes to global stiles","blockart"))),G().createElement(bS,null),G().createElement(LD,null),e&&r.current&&G().createElement(cl,{containerRef:r},G().createElement(wS,null)))))},BD=window.wp.domReady;var zD=r.n(BD);const ND={section:{label:(0,K.__)("Section","blockart"),icon:KI,blockName:"blockart/section"},heading:{label:(0,K.__)("Heading","blockart"),icon:GI,blockName:"blockart/heading"},paragraph:{label:(0,K.__)("Paragraph","blockart"),icon:cO,blockName:"blockart/paragraph"},button:{label:(0,K.__)("Button","blockart"),icon:ZI,blockName:"blockart/button"},image:{label:(0,K.__)("Image","blockart"),icon:UI,blockName:"blockart/image"},spacing:{label:(0,K.__)("Spacing","blockart"),icon:YI,blockName:"blockart/spacing"},socials:{label:(0,K.__)("Social Share","blockart"),icon:QI,blockName:"blockart/socials"},tabs:{label:(0,K.__)("Tabs","blockart"),icon:JI,blockName:"blockart/tabs"},toc:{label:(0,K.__)("Table of Contents","blockart"),icon:nO,blockName:"blockart/toc"},counter:{label:(0,K.__)("Counter","blockart"),icon:iO,blockName:"blockart/counter"},lottie:{label:(0,K.__)("Lottie Animation","blockart"),icon:eO,blockName:"blockart/lottie"},team:{label:(0,K.__)("Team","blockart"),icon:XI,blockName:"blockart/team"},countdown:{label:(0,K.__)("Countdown","blockart"),icon:oO,blockName:"blockart/countdown"},info:{label:(0,K.__)("Info Box","blockart"),icon:aO,blockName:"blockart/info"},blockquote:{label:(0,K.__)("Blockquote","blockart"),icon:$I,blockName:"blockart/blockquote"},timeline:{label:(0,K.__)("Timeline","blockart"),icon:rO,blockName:"blockart/timeline"},notice:{label:(0,K.__)("Notice","blockart"),icon:sO,blockName:"blockart/notice"},progress:{label:(0,K.__)("Progress","blockart"),icon:qI,blockName:"blockart/progress"},"call-to-action":{label:(0,K.__)("Call To Action","blockart"),icon:vO,blockName:"blockart/call-to-action"},slider:{label:(0,K.__)("Slider","blockart"),icon:uO,blockName:"blockart/slider"},map:{label:(0,K.__)("Google Maps","blockart"),icon:lO,blockName:"blockart/map"},testimonial:{label:(0,K.__)("Testimonial","blockart"),icon:tO,blockName:"blockart/testimonial"},"icon-list":{label:(0,K.__)("Icon List","blockart"),icon:hO,blockName:"blockart/icon-list"},icon:{label:(0,K.__)("Icon","blockart"),icon:fO,blockName:"blockart/icon"},modal:{label:(0,K.__)("Modal","blockart"),icon:tO,blockName:"blockart/modal"}},VD=e=>{const t=t=>G().createElement(g_,{theme:Z_,cssVarsRoot:".blockart"},G().createElement("div",{className:"blockart"},G().createElement(e,t)));return t.displayName="withChakraUIProvider",t};var FD=r(1773);const HD=e=>{const t=t=>G().createElement(FD.QueryClientProvider,{client:new FD.QueryClient({defaultOptions:{queries:{refetchOnWindowFocus:!1,cacheTime:1/0,refetchOnMount:!1,retry:!1}}})},G().createElement(e,t));return t.displayName="withQueryClientProvider",t},jD=window.wp.preferences,WD=["blockart/section","blockart/heading","blockart/paragraph"],$D=(0,Hv.createReduxStore)("blockart/preferences",{reducer:(e,t)=>e,actions:{updateInserters:e=>({registry:t})=>{t.dispatch(jD.store).set("blockart/preferences","inserters",e)},updateFavorites:e=>({registry:t})=>{t.dispatch(jD.store).set("blockart/preferences","favorites",e)}},selectors:{getInserters:(0,Hv.createRegistrySelector)((e=>()=>{var t;return null!==(t=e(jD.store).get("blockart/preferences","inserters"))&&void 0!==t?t:WD})),getFavorites:(0,Hv.createRegistrySelector)((e=>()=>{var t;return null!==(t=e(jD.store).get("blockart/preferences","favorites"))&&void 0!==t?t:[]}))}});function ZD(...e){return t=>e.forEach((e=>function(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}(e,t)))}function UD(...e){return U.useCallback(ZD(...e),e)}(0,Hv.register)($D);var GD=U.forwardRef(((e,t)=>{const{children:r,...n}=e,a=U.Children.toArray(r),o=a.find(YD);if(o){const e=o.props.children,r=a.map((t=>t===o?U.Children.count(e)>1?U.Children.only(null):U.isValidElement(e)?e.props.children:null:t));return(0,Ma.jsx)(qD,{...n,ref:t,children:U.isValidElement(e)?U.cloneElement(e,void 0,r):null})}return(0,Ma.jsx)(qD,{...n,ref:t,children:r})}));GD.displayName="Slot";var qD=U.forwardRef(((e,t)=>{const{children:r,...n}=e;if(U.isValidElement(r)){const e=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}(r);return U.cloneElement(r,{...XD(n,r.props),ref:t?ZD(t,e):e})}return U.Children.count(r)>1?U.Children.only(null):null}));qD.displayName="SlotClone";var KD=({children:e})=>(0,Ma.jsx)(Ma.Fragment,{children:e});function YD(e){return U.isValidElement(e)&&e.type===KD}function XD(e,t){const r={...t};for(const n in t){const a=e[n],o=t[n];/^on[A-Z]/.test(n)?a&&o?r[n]=(...e)=>{o(...e),a(...e)}:a&&(r[n]=a):"style"===n?r[n]={...a,...o}:"className"===n&&(r[n]=[a,o].filter(Boolean).join(" "))}return{...e,...r}}var QD=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce(((e,t)=>{const r=U.forwardRef(((e,r)=>{const{asChild:n,...a}=e,o=n?GD:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,Ma.jsx)(o,{...a,ref:r})}));return r.displayName=`Primitive.${t}`,{...e,[t]:r}}),{}),JD=Boolean(globalThis?.document)?U.useLayoutEffect:()=>{},eB=e=>{const{present:t,children:r}=e,n=function(e){const[t,r]=U.useState(),n=U.useRef({}),a=U.useRef(e),o=U.useRef("none"),i=e?"mounted":"unmounted",[l,s]=function(e,t){return U.useReducer(((e,r)=>t[e][r]??e),e)}(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return U.useEffect((()=>{const e=tB(n.current);o.current="mounted"===l?e:"none"}),[l]),JD((()=>{const t=n.current,r=a.current;if(r!==e){const n=o.current,i=tB(t);s(e?"MOUNT":"none"===i||"none"===t?.display?"UNMOUNT":r&&n!==i?"ANIMATION_OUT":"UNMOUNT"),a.current=e}}),[e,s]),JD((()=>{if(t){const e=e=>{const r=tB(n.current).includes(e.animationName);e.target===t&&r&&rl.flushSync((()=>s("ANIMATION_END")))},r=e=>{e.target===t&&(o.current=tB(n.current))};return t.addEventListener("animationstart",r),t.addEventListener("animationcancel",e),t.addEventListener("animationend",e),()=>{t.removeEventListener("animationstart",r),t.removeEventListener("animationcancel",e),t.removeEventListener("animationend",e)}}s("ANIMATION_END")}),[t,s]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:U.useCallback((e=>{e&&(n.current=getComputedStyle(e)),r(e)}),[])}}(t),a="function"==typeof r?r({present:n.isPresent}):U.Children.only(r),o=UD(n.ref,function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}(a));return"function"==typeof r||n.isPresent?U.cloneElement(a,{ref:o}):null};function tB(e){return e?.animationName||"none"}function rB(...e){const t=e[0];if(1===e.length)return t;const r=()=>{const r=e.map((e=>({useScope:e(),scopeName:e.scopeName})));return function(e){const n=r.reduce(((t,{useScope:r,scopeName:n})=>({...t,...r(e)[`__scope${n}`]})),{});return U.useMemo((()=>({[`__scope${t.scopeName}`]:n})),[n])}};return r.scopeName=t.scopeName,r}function nB(e){const t=U.useRef(e);return U.useEffect((()=>{t.current=e})),U.useMemo((()=>(...e)=>t.current?.(...e)),[])}eB.displayName="Presence";var aB=U.createContext(void 0);function oB(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}var iB="ScrollArea",[lB,sB]=function(e,t=[]){let r=[];const n=()=>{const t=r.map((e=>U.createContext(e)));return function(r){const n=r?.[e]||t;return U.useMemo((()=>({[`__scope${e}`]:{...r,[e]:n}})),[r,n])}};return n.scopeName=e,[function(t,n){const a=U.createContext(n),o=r.length;function i(t){const{scope:r,children:n,...i}=t,l=r?.[e][o]||a,s=U.useMemo((()=>i),Object.values(i));return(0,Ma.jsx)(l.Provider,{value:s,children:n})}return r=[...r,n],i.displayName=t+"Provider",[i,function(r,i){const l=i?.[e][o]||a,s=U.useContext(l);if(s)return s;if(void 0!==n)return n;throw new Error(`\`${r}\` must be used within \`${t}\``)}]},rB(n,...t)]}(iB),[cB,uB]=lB(iB),dB=U.forwardRef(((e,t)=>{const{__scopeScrollArea:r,type:n="hover",dir:a,scrollHideDelay:o=600,...i}=e,[l,s]=U.useState(null),[c,u]=U.useState(null),[d,p]=U.useState(null),[m,h]=U.useState(null),[f,v]=U.useState(null),[b,g]=U.useState(0),[y,E]=U.useState(0),[k,w]=U.useState(!1),[x,_]=U.useState(!1),P=UD(t,(e=>s(e))),C=function(e){const t=U.useContext(aB);return e||t||"ltr"}(a);return(0,Ma.jsx)(cB,{scope:r,type:n,dir:C,scrollHideDelay:o,scrollArea:l,viewport:c,onViewportChange:u,content:d,onContentChange:p,scrollbarX:m,onScrollbarXChange:h,scrollbarXEnabled:k,onScrollbarXEnabledChange:w,scrollbarY:f,onScrollbarYChange:v,scrollbarYEnabled:x,onScrollbarYEnabledChange:_,onCornerWidthChange:g,onCornerHeightChange:E,children:(0,Ma.jsx)(QD.div,{dir:C,...i,ref:P,style:{position:"relative","--radix-scroll-area-corner-width":b+"px","--radix-scroll-area-corner-height":y+"px",...e.style}})})}));dB.displayName=iB;var pB="ScrollAreaViewport",mB=U.forwardRef(((e,t)=>{const{__scopeScrollArea:r,children:n,nonce:a,...o}=e,i=uB(pB,r),l=UD(t,U.useRef(null),i.onViewportChange);return(0,Ma.jsxs)(Ma.Fragment,{children:[(0,Ma.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:a}),(0,Ma.jsx)(QD.div,{"data-radix-scroll-area-viewport":"",...o,ref:l,style:{overflowX:i.scrollbarXEnabled?"scroll":"hidden",overflowY:i.scrollbarYEnabled?"scroll":"hidden",...e.style},children:(0,Ma.jsx)("div",{ref:i.onContentChange,style:{minWidth:"100%",display:"table"},children:n})})]})}));mB.displayName=pB;var hB="ScrollAreaScrollbar",fB=U.forwardRef(((e,t)=>{const{forceMount:r,...n}=e,a=uB(hB,e.__scopeScrollArea),{onScrollbarXEnabledChange:o,onScrollbarYEnabledChange:i}=a,l="horizontal"===e.orientation;return U.useEffect((()=>(l?o(!0):i(!0),()=>{l?o(!1):i(!1)})),[l,o,i]),"hover"===a.type?(0,Ma.jsx)(vB,{...n,ref:t,forceMount:r}):"scroll"===a.type?(0,Ma.jsx)(bB,{...n,ref:t,forceMount:r}):"auto"===a.type?(0,Ma.jsx)(gB,{...n,ref:t,forceMount:r}):"always"===a.type?(0,Ma.jsx)(yB,{...n,ref:t}):null}));fB.displayName=hB;var vB=U.forwardRef(((e,t)=>{const{forceMount:r,...n}=e,a=uB(hB,e.__scopeScrollArea),[o,i]=U.useState(!1);return U.useEffect((()=>{const e=a.scrollArea;let t=0;if(e){const r=()=>{window.clearTimeout(t),i(!0)},n=()=>{t=window.setTimeout((()=>i(!1)),a.scrollHideDelay)};return e.addEventListener("pointerenter",r),e.addEventListener("pointerleave",n),()=>{window.clearTimeout(t),e.removeEventListener("pointerenter",r),e.removeEventListener("pointerleave",n)}}}),[a.scrollArea,a.scrollHideDelay]),(0,Ma.jsx)(eB,{present:r||o,children:(0,Ma.jsx)(gB,{"data-state":o?"visible":"hidden",...n,ref:t})})})),bB=U.forwardRef(((e,t)=>{const{forceMount:r,...n}=e,a=uB(hB,e.__scopeScrollArea),o="horizontal"===e.orientation,i=NB((()=>s("SCROLL_END")),100),[l,s]=(c={hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}},U.useReducer(((e,t)=>c[e][t]??e),"hidden"));var c;return U.useEffect((()=>{if("idle"===l){const e=window.setTimeout((()=>s("HIDE")),a.scrollHideDelay);return()=>window.clearTimeout(e)}}),[l,a.scrollHideDelay,s]),U.useEffect((()=>{const e=a.viewport,t=o?"scrollLeft":"scrollTop";if(e){let r=e[t];const n=()=>{const n=e[t];r!==n&&(s("SCROLL"),i()),r=n};return e.addEventListener("scroll",n),()=>e.removeEventListener("scroll",n)}}),[a.viewport,o,s,i]),(0,Ma.jsx)(eB,{present:r||"hidden"!==l,children:(0,Ma.jsx)(yB,{"data-state":"hidden"===l?"hidden":"visible",...n,ref:t,onPointerEnter:oB(e.onPointerEnter,(()=>s("POINTER_ENTER"))),onPointerLeave:oB(e.onPointerLeave,(()=>s("POINTER_LEAVE")))})})})),gB=U.forwardRef(((e,t)=>{const r=uB(hB,e.__scopeScrollArea),{forceMount:n,...a}=e,[o,i]=U.useState(!1),l="horizontal"===e.orientation,s=NB((()=>{if(r.viewport){const e=r.viewport.offsetWidth<r.viewport.scrollWidth,t=r.viewport.offsetHeight<r.viewport.scrollHeight;i(l?e:t)}}),10);return VB(r.viewport,s),VB(r.content,s),(0,Ma.jsx)(eB,{present:n||o,children:(0,Ma.jsx)(yB,{"data-state":o?"visible":"hidden",...a,ref:t})})})),yB=U.forwardRef(((e,t)=>{const{orientation:r="vertical",...n}=e,a=uB(hB,e.__scopeScrollArea),o=U.useRef(null),i=U.useRef(0),[l,s]=U.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),c=IB(l.viewport,l.content),u={...n,sizes:l,onSizesChange:s,hasThumb:Boolean(c>0&&c<1),onThumbChange:e=>o.current=e,onThumbPointerUp:()=>i.current=0,onThumbPointerDown:e=>i.current=e};function d(e,t){return function(e,t,r,n="ltr"){const a=OB(r),o=t||a/2,i=a-o,l=r.scrollbar.paddingStart+o,s=r.scrollbar.size-r.scrollbar.paddingEnd-i,c=r.content-r.viewport;return DB([l,s],"ltr"===n?[0,c]:[-1*c,0])(e)}(e,i.current,l,t)}return"horizontal"===r?(0,Ma.jsx)(EB,{...u,ref:t,onThumbPositionChange:()=>{if(a.viewport&&o.current){const e=LB(a.viewport.scrollLeft,l,a.dir);o.current.style.transform=`translate3d(${e}px, 0, 0)`}},onWheelScroll:e=>{a.viewport&&(a.viewport.scrollLeft=e)},onDragScroll:e=>{a.viewport&&(a.viewport.scrollLeft=d(e,a.dir))}}):"vertical"===r?(0,Ma.jsx)(kB,{...u,ref:t,onThumbPositionChange:()=>{if(a.viewport&&o.current){const e=LB(a.viewport.scrollTop,l);o.current.style.transform=`translate3d(0, ${e}px, 0)`}},onWheelScroll:e=>{a.viewport&&(a.viewport.scrollTop=e)},onDragScroll:e=>{a.viewport&&(a.viewport.scrollTop=d(e))}}):null})),EB=U.forwardRef(((e,t)=>{const{sizes:r,onSizesChange:n,...a}=e,o=uB(hB,e.__scopeScrollArea),[i,l]=U.useState(),s=U.useRef(null),c=UD(t,s,o.onScrollbarXChange);return U.useEffect((()=>{s.current&&l(getComputedStyle(s.current))}),[s]),(0,Ma.jsx)(_B,{"data-orientation":"horizontal",...a,ref:c,sizes:r,style:{bottom:0,left:"rtl"===o.dir?"var(--radix-scroll-area-corner-width)":0,right:"ltr"===o.dir?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":OB(r)+"px",...e.style},onThumbPointerDown:t=>e.onThumbPointerDown(t.x),onDragScroll:t=>e.onDragScroll(t.x),onWheelScroll:(t,r)=>{if(o.viewport){const n=o.viewport.scrollLeft+t.deltaX;e.onWheelScroll(n),BB(n,r)&&t.preventDefault()}},onResize:()=>{s.current&&o.viewport&&i&&n({content:o.viewport.scrollWidth,viewport:o.viewport.offsetWidth,scrollbar:{size:s.current.clientWidth,paddingStart:TB(i.paddingLeft),paddingEnd:TB(i.paddingRight)}})}})})),kB=U.forwardRef(((e,t)=>{const{sizes:r,onSizesChange:n,...a}=e,o=uB(hB,e.__scopeScrollArea),[i,l]=U.useState(),s=U.useRef(null),c=UD(t,s,o.onScrollbarYChange);return U.useEffect((()=>{s.current&&l(getComputedStyle(s.current))}),[s]),(0,Ma.jsx)(_B,{"data-orientation":"vertical",...a,ref:c,sizes:r,style:{top:0,right:"ltr"===o.dir?0:void 0,left:"rtl"===o.dir?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":OB(r)+"px",...e.style},onThumbPointerDown:t=>e.onThumbPointerDown(t.y),onDragScroll:t=>e.onDragScroll(t.y),onWheelScroll:(t,r)=>{if(o.viewport){const n=o.viewport.scrollTop+t.deltaY;e.onWheelScroll(n),BB(n,r)&&t.preventDefault()}},onResize:()=>{s.current&&o.viewport&&i&&n({content:o.viewport.scrollHeight,viewport:o.viewport.offsetHeight,scrollbar:{size:s.current.clientHeight,paddingStart:TB(i.paddingTop),paddingEnd:TB(i.paddingBottom)}})}})})),[wB,xB]=lB(hB),_B=U.forwardRef(((e,t)=>{const{__scopeScrollArea:r,sizes:n,hasThumb:a,onThumbChange:o,onThumbPointerUp:i,onThumbPointerDown:l,onThumbPositionChange:s,onDragScroll:c,onWheelScroll:u,onResize:d,...p}=e,m=uB(hB,r),[h,f]=U.useState(null),v=UD(t,(e=>f(e))),b=U.useRef(null),g=U.useRef(""),y=m.viewport,E=n.content-n.viewport,k=nB(u),w=nB(s),x=NB(d,10);function _(e){if(b.current){const t=e.clientX-b.current.left,r=e.clientY-b.current.top;c({x:t,y:r})}}return U.useEffect((()=>{const e=e=>{const t=e.target,r=h?.contains(t);r&&k(e,E)};return document.addEventListener("wheel",e,{passive:!1}),()=>document.removeEventListener("wheel",e,{passive:!1})}),[y,h,E,k]),U.useEffect(w,[n,w]),VB(h,x),VB(m.content,x),(0,Ma.jsx)(wB,{scope:r,scrollbar:h,hasThumb:a,onThumbChange:nB(o),onThumbPointerUp:nB(i),onThumbPositionChange:w,onThumbPointerDown:nB(l),children:(0,Ma.jsx)(QD.div,{...p,ref:v,style:{position:"absolute",...p.style},onPointerDown:oB(e.onPointerDown,(e=>{0===e.button&&(e.target.setPointerCapture(e.pointerId),b.current=h.getBoundingClientRect(),g.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",m.viewport&&(m.viewport.style.scrollBehavior="auto"),_(e))})),onPointerMove:oB(e.onPointerMove,_),onPointerUp:oB(e.onPointerUp,(e=>{const t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),document.body.style.webkitUserSelect=g.current,m.viewport&&(m.viewport.style.scrollBehavior=""),b.current=null}))})})})),PB="ScrollAreaThumb",CB=U.forwardRef(((e,t)=>{const{forceMount:r,...n}=e,a=xB(PB,e.__scopeScrollArea);return(0,Ma.jsx)(eB,{present:r||a.hasThumb,children:(0,Ma.jsx)(AB,{ref:t,...n})})})),AB=U.forwardRef(((e,t)=>{const{__scopeScrollArea:r,style:n,...a}=e,o=uB(PB,r),i=xB(PB,r),{onThumbPositionChange:l}=i,s=UD(t,(e=>i.onThumbChange(e))),c=U.useRef(),u=NB((()=>{c.current&&(c.current(),c.current=void 0)}),100);return U.useEffect((()=>{const e=o.viewport;if(e){const t=()=>{if(u(),!c.current){const t=zB(e,l);c.current=t,l()}};return l(),e.addEventListener("scroll",t),()=>e.removeEventListener("scroll",t)}}),[o.viewport,u,l]),(0,Ma.jsx)(QD.div,{"data-state":i.hasThumb?"visible":"hidden",...a,ref:s,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...n},onPointerDownCapture:oB(e.onPointerDownCapture,(e=>{const t=e.target.getBoundingClientRect(),r=e.clientX-t.left,n=e.clientY-t.top;i.onThumbPointerDown({x:r,y:n})})),onPointerUp:oB(e.onPointerUp,i.onThumbPointerUp)})}));CB.displayName=PB;var SB="ScrollAreaCorner",RB=U.forwardRef(((e,t)=>{const r=uB(SB,e.__scopeScrollArea),n=Boolean(r.scrollbarX&&r.scrollbarY);return"scroll"!==r.type&&n?(0,Ma.jsx)(MB,{...e,ref:t}):null}));RB.displayName=SB;var MB=U.forwardRef(((e,t)=>{const{__scopeScrollArea:r,...n}=e,a=uB(SB,r),[o,i]=U.useState(0),[l,s]=U.useState(0),c=Boolean(o&&l);return VB(a.scrollbarX,(()=>{const e=a.scrollbarX?.offsetHeight||0;a.onCornerHeightChange(e),s(e)})),VB(a.scrollbarY,(()=>{const e=a.scrollbarY?.offsetWidth||0;a.onCornerWidthChange(e),i(e)})),c?(0,Ma.jsx)(QD.div,{...n,ref:t,style:{width:o,height:l,position:"absolute",right:"ltr"===a.dir?0:void 0,left:"rtl"===a.dir?0:void 0,bottom:0,...e.style}}):null}));function TB(e){return e?parseInt(e,10):0}function IB(e,t){const r=e/t;return isNaN(r)?0:r}function OB(e){const t=IB(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,n=(e.scrollbar.size-r)*t;return Math.max(n,18)}function LB(e,t,r="ltr"){const n=OB(t),a=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,o=t.scrollbar.size-a,i=t.content-t.viewport,l=o-n,s=function(e,[t,r]){return Math.min(r,Math.max(t,e))}(e,"ltr"===r?[0,i]:[-1*i,0]);return DB([0,i],[0,l])(s)}function DB(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const n=(t[1]-t[0])/(e[1]-e[0]);return t[0]+n*(r-e[0])}}function BB(e,t){return e>0&&e<t}var zB=(e,t=(()=>{}))=>{let r={left:e.scrollLeft,top:e.scrollTop},n=0;return function a(){const o={left:e.scrollLeft,top:e.scrollTop},i=r.left!==o.left,l=r.top!==o.top;(i||l)&&t(),r=o,n=window.requestAnimationFrame(a)}(),()=>window.cancelAnimationFrame(n)};function NB(e,t){const r=nB(e),n=U.useRef(0);return U.useEffect((()=>()=>window.clearTimeout(n.current)),[]),U.useCallback((()=>{window.clearTimeout(n.current),n.current=window.setTimeout(r,t)}),[r,t])}function VB(e,t){const r=nB(t);JD((()=>{let t=0;if(e){const n=new ResizeObserver((()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(r)}));return n.observe(e),()=>{window.cancelAnimationFrame(t),n.unobserve(e)}}}),[e,r])}var FB=dB,HB=mB,jB=RB;const WB=$e((({className:e,children:t,scrollbarSize:r="8px",...n},a)=>U.createElement(Ba,(0,Ut.A)({as:FB,ref:a,position:"relative",overflow:"hidden"},n),U.createElement(Ba,{as:HB,h:"full",w:"full",borderRadius:"inherit"},t),U.createElement($B,{scrollbarSize:r}),U.createElement(jB,null))));WB.displayName=FB.displayName;const $B=$e((({className:e,orientation:t="vertical",scrollbarSize:r="8px",...n},a)=>U.createElement(Ba,(0,Ut.A)({as:fB,ref:a,orientation:t,display:"flex",userSelect:"none",h:"vertical"===t?"full":r,w:"vertical"===t?r:void 0,p:"1px",borderLeftWidth:"vertical"===t?"1px":void 0,borderLeftColor:"vertical"===t?"transparent":void 0,borderTopWidth:"horizontal"===t?"1px":void 0,borderTopColor:"horizontal"===t?"transparent":void 0,flexDirection:"vertical"===t?"column":void 0,sx:{touchAction:"none"},transitionProperty:"color, background-color, border-color, text-decoration-color, fill, stroke",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"150ms"},n),U.createElement(Ba,{as:CB,position:"relative",flex:1,borderRadius:"full",bgColor:"gray.200"}))));$B.displayName=fB.displayName;const ZB=VD((()=>{const e=(0,Hv.useSelect)((e=>e($D).getInserters()),[]),{updateInserters:t}=(0,Hv.useDispatch)("blockart/preferences");return G().createElement(WB,{h:"full"},G().createElement(kS,{gap:"12px",h:"calc(100% - 35px)",w:"auto",p:"20px"},Object.entries(ND).map((([r,{label:n,icon:a,blockName:o}])=>G().createElement(Qa,{key:r,display:"flex",justifyContent:"space-between",alignItems:"center"},G().createElement(pf,{display:"flex",alignItems:"center",gap:"2"},G().createElement(a,{w:"8",h:"8",fill:"primary.500"}),n),G().createElement(B_,{onChange:r=>{r.target.checked?t([...e,o]):t(e.filter((e=>e!==o)))},isChecked:e.includes(o)}))))))}));var UB=$e((function(e,t){const{ratio:r=4/3,children:n,className:a,...o}=e,i=U.Children.only(n),l=ie("chakra-aspect-ratio",a);return(0,Ma.jsx)(Ra.div,{ref:t,position:"relative",className:l,_before:{height:0,content:'""',display:"block",paddingBottom:$a(r,(e=>1/e*100+"%"))},__css:{"& > *:not(style)":{overflow:"hidden",position:"absolute",top:"0",right:"0",bottom:"0",left:"0",display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"},"& > img, & > video":{objectFit:"cover"}},...o,children:i})}));UB.displayName="AspectRatio";var GB=$e((function(e,t){const{htmlWidth:r,htmlHeight:n,alt:a,...o}=e;return(0,Ma.jsx)("img",{width:r,height:n,ref:t,alt:a,...o})}));function qB(e,t=[]){const r=Object.assign({},e);for(const e of t)e in r&&delete r[e];return r}GB.displayName="NativeImage";var KB=$e((function(e,t){const{fallbackSrc:r,fallback:n,src:a,srcSet:o,align:i,fit:l,loading:s,ignoreFallback:c,crossOrigin:u,fallbackStrategy:d="beforeLoadOrError",referrerPolicy:p,...m}=e,h=null!=s||c||!(void 0!==r||void 0!==n),f=function(e){const{loading:t,src:r,srcSet:n,onLoad:a,onError:o,crossOrigin:i,sizes:l,ignoreFallback:s}=e,[c,u]=(0,U.useState)("pending");(0,U.useEffect)((()=>{u(r?"loading":"pending")}),[r]);const d=(0,U.useRef)(),p=(0,U.useCallback)((()=>{if(!r)return;m();const e=new Image;e.src=r,i&&(e.crossOrigin=i),n&&(e.srcset=n),l&&(e.sizes=l),t&&(e.loading=t),e.onload=e=>{m(),u("loaded"),null==a||a(e)},e.onerror=e=>{m(),u("failed"),null==o||o(e)},d.current=e}),[r,i,n,l,a,o,t]),m=()=>{d.current&&(d.current.onload=null,d.current.onerror=null,d.current=null)};return tl((()=>{if(!s)return"loading"===c&&p(),()=>{m()}}),[c,p,s]),s?"loaded":c}({...e,crossOrigin:u,ignoreFallback:h}),v=((e,t)=>"loaded"!==e&&"beforeLoadOrError"===t||"failed"===e&&"onError"===t)(f,d),b={ref:t,objectFit:l,objectPosition:i,...h?m:qB(m,["onError","onLoad"])};return v?n||(0,Ma.jsx)(Ra.img,{as:GB,className:"chakra-image__placeholder",src:r,...b}):(0,Ma.jsx)(Ra.img,{as:GB,src:a,srcSet:o,crossOrigin:u,loading:s,referrerPolicy:p,className:"chakra-image",...b})}));KB.displayName="Image";var YB=$e((function(e,t){const r=ha("Heading",e),{className:n,...a}=sa(e);return(0,Ma.jsx)(Ra.h2,{ref:t,className:ie("chakra-heading",e.className),...a,__css:r})}));YB.displayName="Heading";var XB=Ra("div",{baseStyle:{boxShadow:"none",backgroundClip:"padding-box",cursor:"default",color:"transparent",pointerEvents:"none",userSelect:"none","&::before, &::after, *":{visibility:"hidden"}}}),QB=Pn("skeleton-start-color"),JB=Pn("skeleton-end-color"),ez=af({from:{opacity:0},to:{opacity:1}}),tz=af({from:{borderColor:QB.reference,background:QB.reference},to:{borderColor:JB.reference,background:JB.reference}}),rz=$e(((e,t)=>{const r={...e,fadeDuration:"number"==typeof e.fadeDuration?e.fadeDuration:.4,speed:"number"==typeof e.speed?e.speed:.8},n=ha("Skeleton",r),a=function(){const e=(0,U.useRef)(!0);return(0,U.useEffect)((()=>{e.current=!1}),[]),e.current}(),{startColor:o="",endColor:i="",isLoaded:l,fadeDuration:s,speed:c,className:u,fitContent:d,...p}=sa(r),[m,h]=function(e,t,r){const n=wr();return Pr("colors",t,void 0)(n)}(0,[o,i]),f=function(e){const t=(0,U.useRef)();return(0,U.useEffect)((()=>{t.current=e}),[e]),t.current}(l),v=ie("chakra-skeleton",u),b={...m&&{[QB.variable]:m},...h&&{[JB.variable]:h}};if(l){const e=a||f?"none":`${ez} ${s}s`;return(0,Ma.jsx)(Ra.div,{ref:t,className:v,__css:{animation:e},...p})}return(0,Ma.jsx)(XB,{ref:t,className:v,...p,__css:{width:d?"fit-content":void 0,...n,...b,_dark:{...n._dark,...b},animation:`${c}s linear infinite alternate ${tz}`}})}));rz.displayName="Skeleton";const nz=window.wp.notices,az=function e(t){function r(e,t,n){var a,o={};if(Array.isArray(e))return e.concat(t);for(a in e)o[n?a.toLowerCase():a]=e[a];for(a in t){var i=n?a.toLowerCase():a,l=t[a];o[i]=i in o&&"object"==typeof l?r(o[i],l,"headers"==i):l}return o}function n(e,n,a,o,i){var l="string"!=typeof e?(n=e).url:e,s={config:n},c=r(t,n),u={};o=o||c.data,(c.transformRequest||[]).map((function(e){o=e(o,c.headers)||o})),c.auth&&(u.authorization=c.auth),o&&"object"==typeof o&&"function"!=typeof o.append&&"function"!=typeof o.text&&(o=JSON.stringify(o),u["content-type"]="application/json");try{u[c.xsrfHeaderName]=decodeURIComponent(document.cookie.match(RegExp("(^|; )"+c.xsrfCookieName+"=([^;]*)"))[2])}catch(e){}return c.baseURL&&(l=l.replace(/^(?!.*\/\/)\/?/,c.baseURL+"/")),c.params&&(l+=(~l.indexOf("?")?"&":"?")+(c.paramsSerializer?c.paramsSerializer(c.params):new URLSearchParams(c.params))),(c.fetch||fetch)(l,{method:(a||c.method||"get").toUpperCase(),body:o,headers:r(c.headers,u,!0),credentials:c.withCredentials?"include":i}).then((function(e){for(var t in e)"function"!=typeof e[t]&&(s[t]=e[t]);return"stream"==c.responseType?(s.data=e.body,s):e[c.responseType||"text"]().then((function(e){s.data=e,s.data=JSON.parse(e)})).catch(Object).then((function(){return(c.validateStatus?c.validateStatus(e.status):e.ok)?s:Promise.reject(s)}))}))}return t=t||{},n.request=n,n.get=function(e,t){return n(e,t,"get")},n.delete=function(e,t){return n(e,t,"delete")},n.head=function(e,t){return n(e,t,"head")},n.options=function(e,t){return n(e,t,"options")},n.post=function(e,t,r){return n(e,r,"post",t)},n.put=function(e,t,r){return n(e,r,"put",t)},n.patch=function(e,t,r){return n(e,r,"patch",t)},n.all=Promise.all.bind(Promise),n.spread=function(e){return e.apply.bind(e,e)},n.CancelToken="function"==typeof AbortController?AbortController:Object,n.defaults=t,n.create=e,n}(),oz=window.wp.element;var iz=r(269);iz.domToReact,iz.htmlToDOM,iz.attributesToProps,iz.Comment,iz.Element,iz.ProcessingInstruction,iz.Text;const lz=iz,sz=JSON.parse('{"arrowDown":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M17.9 15.2H13V2h-2v13.1H6.1L12 22l5.9-6.8z\\" /></svg>","arrowLeft":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M2 12l6.9 6v-5H22v-2H8.9V6L2 12z\\" /></svg>","arrowRight":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M21.8 12l-7-6v5H2v2h12.8v5l7-6z\\" /></svg>","arrowUp":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M13 22V9h5l-6-7-6.1 7h5v12.9H13v.1z\\" /></svg>","textAlignLeft":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M3,19.94H21V22H3Zm0-4.45,12.28,0v2L3,17.47ZM3,10.9l17.81,0v2.22L3,13ZM3,2,21,2v2H3ZM3,6.51l12.27,0,0,2L3,8.47Z\\" /></svg>","textAlignRight":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M3,19.94H21V22H3Zm5.7-4.45,12.28,0v2l-12.28,0ZM3.13,10.9l17.81,0v2.22L3.13,13ZM3,2,21,2v2H3ZM8.71,6.51,21,6.56l0,2-12.26,0Z\\" /></svg>","textAlignCenter":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M3,19.94H21V22H3Zm3-4.45,12,0v2l-12,0ZM3,10.9l17.81,0v2.22L3,13ZM3,2,21,2v2H3ZM6,6.51l12,0,0,2-12,0Z\\" /></svg>","textAlignJustify":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M3,15.53H21V17.6H3ZM6,20l12,0v2L6,22ZM3,10.9l17.81,0v2.22L3,13ZM3,2,21,2v2H3ZM3,6.51l18,0,0,2-18,0Z\\" /></svg>","alignTop":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M20 7.5H4v13h16Zm-18-3h20m0 1H2v-2h20Z\\" /></svg>","alignMiddle":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M22 11h-4V2H6v9H2v2h4v9h12v-9h4v-2z\\" /></svg>","alignBottom":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M20 16.5H4v-13h16Zm-18 3h20m0-1H2v2h20Z\\" /></svg>","alignSpaceBetween":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M6 4v16h12V4ZM3 22V2m1 0v20H2V2Zm17 20V2m1 0v20h-2V2Z\\" /></svg>","alignSpaceAround":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M4 4H5.5V20H4V4ZM7 10L17 10V14L7 14V10ZM20 4H18.5V20H20V4Z\\" /></svg>","alignCenter":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><rect x=\\"11\\" y=\\"2\\" width=\\"2\\" height=\\"20\\" /><rect x=\\"3\\" y=\\"6\\" width=\\"18\\" height=\\"12\\" /></svg>","alignLeft":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><rect x=\\"3\\" y=\\"2\\" width=\\"2\\" height=\\"20\\" /><rect x=\\"7\\" y=\\"6\\" width=\\"14\\" height=\\"12\\" /></svg>","alignRight":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><rect x=\\"19\\" y=\\"2\\" width=\\"2\\" height=\\"20\\" /><rect x=\\"3\\" y=\\"6\\" width=\\"14\\" height=\\"12\\" /></svg>","alignStretch":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M5 9v6h14V9H5zm11-4.8H8v1.5h8V4.2zM8 19.8h8v-1.5H8v1.5z\\" /></svg>","chevronDown":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M20.5 6.2L12 14.7 3.5 6.2 2 7.8l10 10 9.9-10-1.4-1.6z\\" /></svg>","chevronLeft":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M16.3 2l-10 10.1 10 10 1.4-1.4-8.5-8.6 8.6-8.7L16.3 2z\\" /></svg>","chevronRight":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M6.6 3.4l8.7 8.6-8.7 8.7L8 22.1 18 12 8 2 6.6 3.4z\\" /></svg>","chevronUp":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M2 16.1l1.4 1.4L12 8.9l8.6 8.6 1.4-1.4-10-10-10 10z\\" /></svg>","questionMark":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M12 4C9.243 4 7 6.243 7 9h2c0-1.654 1.346-3 3-3s3 1.346 3 3c0 1.069-.454 1.465-1.481 2.255-.382.294-.813.626-1.226 1.038C10.981 13.604 10.995 14.897 11 15v2h2v-2.009c0-.024.023-.601.707-1.284.32-.32.682-.598 1.031-.867C15.798 12.024 17 11.1 17 9c0-2.757-2.243-5-5-5zm-1 14h2v2h-2z\\" /></svg>","removeO":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M5 20c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V8h2V6h-4V4c0-1.1-.9-2-2-2H9c-1.2 0-2 .9-2 2v2H3v2h2v12zM9 4h6v2H9V4zM7.9 8h9v12H7V8h.9z\\" /><path d=\\"M9.4 10.7h1.7v7H9.4v-7zm3.4 0h1.7v7h-1.7v-7z\\" /></svg>","toggleOff":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M8 9c-1.6 0-3 1.4-3 3s1.4 3 3 3 3-1.4 3-3-1.4-3-3-3z\\" /><path d=\\"M16 6H8c-3.3 0-6 2.7-6 6s2.7 6 6 6h8c3.3 0 6-2.7 6-6s-2.7-6-6-6zm0 10H8c-2.2 0-4-1.8-4-4s1.8-4 4-4h8c2.2 0 4 1.8 4 4s-1.8 4-4 4zm4-4h1-1z\\" /></svg>","toggleOn":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M16 6H8c-3.3 0-6 2.7-6 6s2.7 6 6 6h8c3.3 0 6-2.7 6-6s-2.7-6-6-6zm0 9c-1.6 0-3-1.4-3-3s1.4-3 3-3 3 1.4 3 3-1.4 3-3 3z\\" /></svg>","unLink":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M12,22.14a4.67,4.67,0,0,0,3.27-1.33,4.57,4.57,0,0,0,1.21-3.27l-.06-3.69H14.59l.06,3.69A2.63,2.63,0,0,1,12,20.33a2.54,2.54,0,0,1-2.53-2.79l.06-3.69-2-.06-.06,3.69A4.6,4.6,0,0,0,12,22.14ZM16.54,6.46a4.48,4.48,0,1,0-9,0l.06,3.69H9.53L9.47,6.46a2.59,2.59,0,1,1,5.17,0l-.06,3.69h1.9C16.54,10.09,16.54,6.46,16.54,6.46Z\\" /></svg>","chevronUpCircle":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M22 12c0 5.5-4.5 10-10 10S2 17.5 2 12 6.5 2 12 2s10 4.5 10 10zM2.5 12c0 5.3 4.3 9.5 9.5 9.5s9.5-4.3 9.5-9.5-4.2-9.5-9.5-9.5c-5.2 0-9.5 4.3-9.5 9.5z\\" fill=\\"#e2e8f0\\" /><path d=\\"M7.7 14.9l4.3-4.3 4.3 4.3.8-.8-5-5-5 5 .6.8z\\" fill=\\"#64748b\\" /></svg>","chevronDownCircle":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M12,22A10,10,0,1,1,22,12,10,10,0,0,1,12,22ZM12,2.49A9.51,9.51,0,1,0,21.51,12,9.53,9.53,0,0,0,12,2.49Z\\" fill=\\"#e2e8f0\\" /><path d=\\"M16.28,9.1,12,13.35,7.78,9.1,7,9.9l5,5L17,9.9Z\\" fill=\\"#64748b\\" /></svg>","cog":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M12 16c2.2 0 4-1.8 4-4s-1.8-4-4-4-4 1.8-4 4 1.8 4 4 4zm0-6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2z\\" /><path d=\\"M2.8 16.1l1 1.7c.5.9 1.8 1.3 2.7.7l.5-.3c.6.5 1.2.8 1.9 1.1v.7c0 1.1.9 2 2 2h2c1.1 0 2-.9 2-2v-.6c.7-.3 1.3-.7 1.9-1.1l.5.3c.9.5 2.2.2 2.7-.7l1-1.7c.6-1 .2-2.2-.7-2.7l-.5-.3c.1-.7.1-1.5 0-2.2l.5-.3c1-.6 1.3-1.8.7-2.7l-1-1.7c-.5-.9-1.8-1.3-2.7-.7l-.5.3c-.6-.5-1.2-.8-1.9-1.1V4c0-1.1-.9-2-2-2h-2C9.9 2 9 2.9 9 4v.6c-.7.3-1.3.7-1.9 1.1l-.5-.3c-.9-.5-2.2-.2-2.8.7l-1 1.7c-.6 1-.2 2.2.7 2.7l.5.3c-.1.7-.1 1.5 0 2.2l-.5.3c-.9.7-1.2 1.9-.7 2.8zm3.4-2.7c-.1-.5-.2-.9-.2-1.4 0-.5.1-.9.2-1.4.1-.4-.1-.9-.5-1.1l-1.1-.6 1-1.7 1.1.7c.4.1.9.1 1.2-.2.7-.7 1.5-1.2 2.4-1.4.4-.1.7-.5.7-1V4h2v1.3c0 .4.3.8.7 1 .9.3 1.7.8 2.4 1.4.3.3.8.3 1.2.1l1.1-.7 1 1.7-1.1.6c-.4.2-.6.7-.5 1.1.1.5.2.9.2 1.4 0 .5-.1.9-.2 1.4-.1.4.1.9.5 1.1l1.1.6-1 1.7-1.1-.7c-.4-.2-.9-.2-1.2.1-.7.6-1.5 1.1-2.4 1.4-.4.1-.7.5-.7 1v1.3h-2v-1.3c0-.4-.3-.8-.7-1-.9-.3-1.7-.8-2.4-1.4-.3-.1-.8-.1-1.2.1l-1.1.7-1-1.7 1.1-.7c.4-.2.6-.7.5-1.1z\\" /></svg>","color":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M19.9 14.7c-.1.1-2.2 2.2-2.2 3.8 0 1.6 1 2.6 2.2 2.7 1 0 2.2-1 2.2-2.7 0-1.6-2.1-3.7-2.2-3.8zM8.7 21.2c.4.4.9.6 1.5.6s1.1-.2 1.5-.6l7.5-7.5-.8-.8-8.3-8.3-2.3-2.5-1.5 1.4L8.8 6l-6.1 6.1c-.4.4-.6.9-.6 1.5s.2 1.1.6 1.5l6 6.1zm1.7-13.7l6 6-12.2.1 6.2-6.1z\\" /></svg>","desktop":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M20 2.6H4c-1.1 0-2 .9-2 2v11c0 1.1.9 2 2 2h7v2H8v2h8v-2h-3v-2h7c1.1 0 2-.9 2-2v-11c0-1.1-.9-2-2-2zm-16 11v-9h16v9H4z\\" /></svg>","gradient":"<svg id=\\"prefix__Layer_1\\" xmlns=\\"http://www.w3.org/2000/svg\\" x=\\"0\\" y=\\"0\\" viewBox=\\"0 0 24 24\\" xml:space=\\"preserve\\"><path class=\\"prefix__st0\\" d=\\"M3 2v20M22 3H2M22 21H2M21 2v20\\" stroke=\\"#000\\" stroke-width=\\"2\\" stroke-miterlimit=\\"10\\" /><path d=\\"M4 4v16h16C14 15 8 11 4 4z\\" fill-rule=\\"evenodd\\" clip-rule=\\"evenodd\\" /><path d=\\"M12.3 4H4c4 7 10 11 16 16V4h-7.7\\" fill-rule=\\"evenodd\\" clip-rule=\\"evenodd\\" fill=\\"#fff\\" /></svg>","image":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M19.9 2.2H4.3c-1.2 0-2 .8-2 2v15.6c0 1.2.7 2.1 2 2.1h15.6c1.2 0 2-.8 2-2V4.3c-.1-1.3-.8-2.1-2-2.1zM4.3 19.8V4.2h15.6v15.6H4.3z\\" /><path d=\\"M10.1 14l-1-1-3 4h12l-5-7-3 4z\\" /></svg>","link":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M3.6 20.3c1 1 2.4 1.6 3.8 1.6s2.7-.7 3.7-1.7l3-3.1-1.4-1.4-3 3.1c-1.3 1.3-3.3 1.3-4.6 0s-1.3-3.3 0-4.6l3.1-3-1.4-1.5-3.1 3c-2.1 2.2-2.2 5.5-.1 7.6zm16.7-9.2c2.1-2.1 2.2-5.4.1-7.5s-5.4-2-7.5.1l-3 3.1 1.4 1.4 3-3.1c1.3-1.3 3.3-1.3 4.6 0 1.3 1.3 1.3 3.3 0 4.6l-3.1 3 1.4 1.4c.1 0 3.1-3 3.1-3z\\" /><path d=\\"M8.7 16.6l-1.4-1.4 8.5-8.5 1.4 1.4-8.5 8.5z\\" /></svg>","lock":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M12,22.14a4.67,4.67,0,0,0,3.27-1.33,4.57,4.57,0,0,0,1.21-3.27l-.06-3.69H14.59l.06,3.69A2.63,2.63,0,0,1,12,20.33a2.54,2.54,0,0,1-2.53-2.79l.06-3.69-2-.06-.06,3.69A4.6,4.6,0,0,0,12,22.14ZM16.54,6.46a4.48,4.48,0,1,0-9,0l.06,3.69H9.53L9.47,6.46a2.59,2.59,0,1,1,5.17,0l-.06,3.69h1.9C16.54,10.09,16.54,6.46,16.54,6.46Z\\" /><path d=\\"M13,17.15H11V6.85h2Z\\" /></svg>","mobile":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M16.9 2h-10c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-10 18V4h10v16h-10z\\" /><circle cx=\\"11.9\\" cy=\\"18\\" r=\\"1\\" /></svg>","tablet":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M20 2H4c-1.1 0-2 .9-2 2v16c0 1.1.8 2 1.9 2h16c1.1 0 2-.9 2-2V4c.1-1.1-.8-2-1.9-2zM4 20V4h15.8v16H4z\\" /><circle cx=\\"12\\" cy=\\"18\\" r=\\"1\\" /></svg>","play":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M2.1 2v20L22 12 2.1 2z\\" /></svg>","reset":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M19.9 10.1c-.2-.5-.5-1-.8-1.5l-1.7 1.1c.5.7.8 1.5 1 2.3.2.9.2 1.8 0 2.6-.1.4-.2.8-.4 1.2-.2.4-.4.8-.6 1.1-.5.7-1.1 1.3-1.8 1.8s-1.5.8-2.3 1c-.9.2-1.8.2-2.6 0-1.3-.3-2.4-.9-3.3-1.8-.6-.4-1.1-1.1-1.4-1.9-.2-.4-.3-.8-.4-1.2-.3-1.3-.1-2.7.4-3.9.3-.8.8-1.5 1.4-2.1.6-.6 1.3-1.1 2-1.4.4-.2.8-.3 1.2-.4h.3v3l5-4-5-4v2.9c-.1.1-.4.1-.6.1-1.1.3-2.2.7-3.1 1.3C3.8 8.6 2.5 13 4.1 16.8c.4 1 1.1 1.9 1.8 2.7.8.8 1.7 1.4 2.7 1.8 1.6.7 3.4.8 5.1.5 2.8-.6 5.1-2.5 6.2-5.1.2-.5.4-1.1.5-1.6.2-1.1.2-2.3 0-3.4-.1-.5-.3-1.1-.5-1.6z\\" /></svg>","star":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M21.9 9.2c-.1-.4-.5-.6-.9-.7L15.3 8l-2.5-5.5c-.2-.5-.8-.7-1.3-.5-.2.1-.4.3-.5.5L8.6 8.1l-5.7.4c-.5 0-.9.5-.9 1.1 0 .2.1.5.3.6l4.2 4.1L5 20.8c-.1.5.2 1.1.7 1.2.3 0 .6 0 .9-.2l5.4-3.6 5.4 3.6c.5.3 1.1.2 1.4-.3.2-.2.2-.5.2-.8l-1.8-6.4 4.5-4.1c.3-.2.4-.6.2-1z\\" /></svg>","upload":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M11 15h2V9h3l-4-5-4 5h3v6z\\" /><path d=\\"M20 18H4v-7H2v7c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2v-7h-2v7z\\" /></svg>","pencil":"<svg viewBox=\\"0 0 24 24\\" xmlns=\\"http://www.w3.org/2000/svg\\"><path d=\\"M3 22H3.3L7.7 20.9L8.2 20.6L21.4 7.3C21.8 6.9 22 6.3 22 5.8C22 5.3 21.7 4.7 21.4 4.3L19.7 2.6C18.9 1.8 17.4 1.8 16.7 2.6L3.4 15.8C3.2 16 3.1 16.1 3.1 16.3L2.1 20.6C2 20.9 2.1 21.4 2.4 21.6C2.5 21.9 2.7 22 3 22ZM18.2 4.1L19.9 5.8L18.2 7.5L16.5 5.8L18.2 4.1ZM5.1 17.1L14.8 7.4L16.5 9.1L6.8 18.8L4.5 19.4L5.1 17.1Z\\" /></svg>","trash":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M5 20c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V8h2V6h-4V4c0-1.1-.9-2-2-2H9c-1.2 0-2 .9-2 2v2H3v2h2v12zM9 4h6v2H9V4zM7.9 8h9v12H7V8h.9z\\" /><path d=\\"M9.4 10.7h1.7v7H9.4v-7zm3.4 0h1.7v7h-1.7v-7z\\" /></svg>","filled":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M21.2 8H2.8a.8.8 0 0 0-.8.8v6.4a.8.8 0 0 0 .8.8h18.4a.8.8 0 0 0 .8-.8V8.8a.8.8 0 0 0-.8-.8Zm-1.7 4.5h-15a.5.5 0 0 1 0-1h15a.5.5 0 0 1 0 1Z\\"></path></svg>","outline":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M19.5 11.5h-15a.5.5 0 0 0 0 1h15a.5.5 0 0 0 0-1Z\\" /><rect width=\\"19\\" height=\\"8\\" x=\\"2.5\\" y=\\"8\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-miterlimit=\\"10\\" rx=\\".8\\" /></svg>","plain":"<svg viewBox=\\"0 0 24 24\\" xmlns=\\"http://www.w3.org/2000/svg\\"><path d=\\"M21 13H3a1 1 0 0 1-1-1 1 1 0 0 1 1-1h18a1 1 0 0 1 1 1 1 1 0 0 1-1 1Z\\" /></svg>","linkO":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\".5\\" d=\\"M2.26 14.28h19.48\\" /><path d=\\"M21 12H3a1 1 0 0 1-1-1 1 1 0 0 1 1-1h18a1 1 0 0 1 1 1 1 1 0 0 1-1 1Z\\" /></svg>","paste":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M20 11V5a2 2 0 00-2-2h-3a1 1 0 00-1-1H8a1 1 0 00-1 1H4a2 2 0 00-2 2v13a2 2 0 002 2h7a2 2 0 002 2h7a2 2 0 002-2v-7a2 2 0 00-2-2zm-9 2v5H4V5h3v2h8V5h3v6h-5a2 2 0 00-2 2zm2 7v-7h7v7z\\" /></svg>","copy":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M20 2H10a2 2 0 00-2 2v4H4a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4h4a2 2 0 002-2V4a2 2 0 00-2-2zM4 20V10h10v10zm16-6h-4v-4a2 2 0 00-2-2h-4V4h10z\\" /></svg>","iconList":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M7.1 9H21c.5 0 1-.5 1-1s-.5-1-1-1H7.1C6.5 7 6 7.4 6 8s.5 1 1.1 1zM21 11H7.1c-.6 0-1.1.4-1.1 1s.5 1 1.1 1H21c.6 0 1.1-.4 1.1-1s-.6-1-1.1-1zM21 15H7.1c-.6 0-1.1.5-1.1 1 0 .6.5 1 1.1 1H21c.6 0 1.1-.4 1.1-1-.1-.5-.6-1-1.1-1zM3.3 7.6L3.1 7H3l-.1.1-.2.5h-.6c-.1 0-.1.1-.1.1v.1l.4.4-.1.7c0 .1 0 .1.1.1h.1l.5-.4.5.4h.1v-.1l-.1-.7.5-.4v-.1s0-.1-.1-.1h-.6zM3.3 11.6l-.2-.5c0-.1-.1-.1-.1-.1l-.1.1-.2.5h-.6c-.1 0-.1.1-.1.2v.1l.4.4-.1.6c0 .1 0 .1.1.1h.1l.5-.4.5.4h.1v-.1l-.2-.6.6-.5v-.1s0-.1-.1-.1h-.6zM3.3 15.6l-.2-.5c0-.1-.1-.1-.1-.1l-.1.1-.2.5h-.6c-.1.1-.1.1-.1.2v.1l.4.4-.1.6c0 .1 0 .1.1.1h.1l.5-.4.5.4h.1v-.1l-.2-.6.6-.5v-.1s0-.1-.1-.1h-.6z\\" /></svg>","socialIcons":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M6 15c.9 0 1.7-.3 2.4-.9l6.3 3.6c-.1.3-.1.6-.1.9 0 1.9 1.6 3.5 3.5 3.6 1.9 0 3.5-1.6 3.6-3.5 0-1.9-1.6-3.5-3.5-3.6-.9 0-1.8.3-2.4.9l-6.3-3.6c.1-.2.1-.5.1-.8l6.1-3.5c1.4 1.3 3.6 1.2 4.9-.2s1.2-3.6-.2-4.9-3.6-1.2-4.9.2c-.6.6-.9 1.5-.9 2.4 0 .3 0 .6.1.8L8.9 9.6c-1-1.6-3.2-2.1-4.8-1S2 11.8 3 13.4c.7 1 1.8 1.6 3 1.6zm12 2c.8 0 1.5.7 1.5 1.5S18.8 20 18 20s-1.5-.7-1.5-1.5.6-1.5 1.5-1.5zm0-13c.8 0 1.5.7 1.5 1.5S18.8 7 18 7s-1.5-.7-1.5-1.5S17.1 4 18 4zM6 10c.8 0 1.5.7 1.5 1.5S6.8 13 6 13s-1.5-.7-1.5-1.5S5.1 10 6 10z\\" /></svg>","infoBox":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M22 4V3c0-.6-.4-1-1-1H3c-.6 0-1 .4-1 1v18c0 .6.4 1 1 1h18c.6 0 1-.4 1-1V4zM4 4h16v16H4V4z\\" /><circle cx=\\"12\\" cy=\\"7.5\\" r=\\"2\\" /><path d=\\"M15 10.5H9c-.6 0-1 .4-1 1s.4 1 1 1h6c.6 0 1-.4 1-1s-.5-1-1-1zM11 18.5h2c.6 0 1-.4 1-1s-.4-1-1-1h-2c-.6 0-1 .4-1 1 0 .5.4 1 1 1zM6 14.5c0 .6.4 1 1 1h10c.6 0 1-.4 1-1s-.4-1-1-1H7c-.6 0-1 .5-1 1z\\" /></svg>","button":"<svg viewBox=\\"0 0 24 24\\" xmlns=\\"http://www.w3.org/2000/svg\\"><path d=\\"m4 7a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2zm16 8h-16v-6h16z\\" fill=\\"#2563eb\\" /><path d=\\"M18,12h0a.94.94,0,0,0-1-1H7a.94.94,0,0,0-1,1H6a.94.94,0,0,0,1,1H17A.94.94,0,0,0,18,12Z\\" fill=\\"#2563eb\\" /></svg>","carousel":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M4 19.3h2c0 1.1.9 2.1 2 2.1h8c1.1 0 2-.9 2-2.1h2c1.1 0 2-.9 2-2.1V6.7c0-1.1-.9-2.1-2-2.1h-2c0-1.1-.9-2.1-2-2.1H8c-1.1 0-2 .9-2 2.1H4c-1.1.1-2 1-2 2.1v10.5c0 1.2.9 2.1 2 2.1zM20 6.5v11h-2v-11h2zM7.9 4h8v16H8L7.9 4zM4 6.5h2v11H4v-11z\\" /></svg>","divider":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M2 10.9h20v2H2v-2z\\" /></svg>","faq":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M12 6.4c-2 0-3.5 1.6-3.5 3.5h1.4c0-1.2 1-2.1 2.1-2.1s2.1 1 2.1 2.1c0 .8-.3 1-1 1.6-.3.2-.6.4-.9.7-.9.9-.9 1.8-.9 1.9v1.4h1.4v-1.4s0-.4.5-.9c.2-.2.5-.4.7-.6.7-.6 1.6-1.2 1.6-2.7 0-2-1.5-3.5-3.5-3.5zm-.7 9.9h1.4v1.4h-1.4v-1.4z\\" /><circle cx=\\"12\\" cy=\\"12\\" r=\\"9\\" fill=\\"none\\" stroke=\\"#2563eb\\" stroke-width=\\"2\\" stroke-miterlimit=\\"10\\" /></svg>","faqInner":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path fill-rule=\\"evenodd\\" d=\\"M20 5H4v14h16V5ZM4 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H4Z\\" clip-rule=\\"evenodd\\"/><path d=\\"M6 10a1 1 0 0 1 1-1h4a1 1 0 1 1 0 2H7a1 1 0 0 1-1-1Zm0 4a1 1 0 0 1 1-1h10a1 1 0 1 1 0 2H7a1 1 0 0 1-1-1Z\\"/></svg>","form":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M4 2c-1.1 0-2 .9-2 2v2c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2H4zm16 4H4V4h16v2zM2 10.9v5c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2v-5c0-1.1-.9-2-2-2H4c-1.1.1-2 1-2 2zM20 16H4v-5h16v5zM3 22h5c.6 0 1-.4 1-1s-.4-1-1-1H3c-.6 0-1 .4-1 1s.4 1 1 1z\\" /></svg>","map":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M12 14c2.206 0 4-1.794 4-4s-1.794-4-4-4-4 1.794-4 4 1.794 4 4 4zm0-6c1.103 0 2 .897 2 2s-.897 2-2 2-2-.897-2-2 .897-2 2-2z\\" /><path d=\\"M11.42 21.814a.998.998 0 0 0 1.16 0C12.884 21.599 20.029 16.44 20 10c0-4.411-3.589-8-8-8S4 5.589 4 9.995c-.029 6.445 7.116 11.604 7.42 11.819zM12 4c3.309 0 6 2.691 6 6.005.021 4.438-4.388 8.423-6 9.73-1.611-1.308-6.021-5.294-6-9.735 0-3.309 2.691-6 6-6z\\" /></svg>","heading":"<svg viewBox=\\"0 0 24 24\\" xmlns=\\"http://www.w3.org/2000/svg\\"><path d=\\"m17 19v-14a1 1 0 0 0-1-1 1 1 0 0 0-1 1v6h-6v-6a1 1 0 0 0-1-1 0.94 0.94 0 0 0-1 1v14a1 1 0 0 0 1 1 1 1 0 0 0 1-1v-6h6v6a1 1 0 0 0 1 1 0.94 0.94 0 0 0 1-1z\\" fill=\\"#2563eb\\" /></svg>","counter":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" xml:space=\\"preserve\\" viewBox=\\"0 0 24 24\\">\\n <path d=\\"M19.664 17.739V7.646l1.316 1.316a.575.575 0 0 0 .812-.811l-2.296-2.295a.573.573 0 0 0-.403-.169h-.005a.572.572 0 0 0-.406.169l-2.294 2.295a.573.573 0 1 0 .812.811l1.315-1.316v10.092a.574.574 0 0 0 1.149.001zm-15.64-.866a.58.58 0 0 1-.42-.16.527.527 0 0 1-.165-.396v-4.603l.128.201-.667.493a.502.502 0 0 1-.32.101.526.526 0 0 1-.383-.164.537.537 0 0 1-.165-.393c0-.195.094-.353.283-.475L3.63 10.6a.6.6 0 0 1 .206-.091.929.929 0 0 1 .214-.027.56.56 0 0 1 .42.16.548.548 0 0 1 .155.397v5.279c0 .158-.057.29-.169.396a.604.604 0 0 1-.432.159zm6.018-1.005a.496.496 0 0 1 .511.511.472.472 0 0 1-.146.352.502.502 0 0 1-.365.142H6.937a.493.493 0 0 1-.375-.146c-.091-.097-.137-.222-.137-.374s.055-.286.164-.401l1.991-2.129c.225-.242.403-.492.534-.748s.197-.478.197-.667c0-.304-.088-.549-.265-.735s-.411-.278-.703-.278a.86.86 0 0 0-.356.082 1.467 1.467 0 0 0-.352.228c-.113.098-.218.21-.315.338a.482.482 0 0 1-.219.183.547.547 0 0 1-.571-.113.459.459 0 0 1-.169-.352c0-.104.035-.204.105-.302a2.763 2.763 0 0 1 1.355-.972c.2-.064.396-.096.584-.096.408 0 .763.081 1.064.242s.534.39.699.685c.164.295.247.644.247 1.045 0 .335-.099.708-.297 1.119a4.647 4.647 0 0 1-.799 1.155l-1.233 1.315-.1-.083h2.056zm2.493-.283a.662.662 0 0 1 .393.137c.104.079.227.149.369.21.144.061.311.091.498.091.189 0 .367-.047.535-.142a1.138 1.138 0 0 0 .58-1.027c0-.23-.049-.423-.143-.575s-.219-.268-.375-.347a1.073 1.073 0 0 0-.496-.118c-.135 0-.246.012-.334.035-.088.025-.174.051-.256.078s-.178.041-.287.041a.389.389 0 0 1-.325-.146.546.546 0 0 1-.114-.346.51.51 0 0 1 .05-.229c.033-.067.083-.141.151-.22l1.607-1.708.246.21h-2.246a.496.496 0 0 1-.511-.511c0-.14.049-.257.146-.352a.502.502 0 0 1 .365-.142h2.795c.188 0 .33.052.424.155a.555.555 0 0 1 .143.393c0 .079-.021.157-.064.233s-.094.145-.154.206l-1.617 1.735-.246-.311c.066-.03.16-.058.277-.082a1.596 1.596 0 0 1 1.235.242c.264.186.469.426.611.721s.215.613.215.954c0 .451-.102.841-.303 1.169a1.966 1.966 0 0 1-.848.758c-.365.177-.793.266-1.279.266-.226 0-.447-.028-.667-.083a2.213 2.213 0 0 1-.566-.219.626.626 0 0 1-.27-.242.555.555 0 0 1-.068-.251c0-.14.05-.272.151-.397a.465.465 0 0 1 .378-.186z\\"/>\\n</svg>","slide":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" xml:space=\\"preserve\\" viewBox=\\"0 0 24 24\\">\\n <path d=\\"M15 20.5H5c-1.654 0-3-1.346-3-3v-7c0-1.654 1.346-3 3-3h10c1.654 0 3 1.346 3 3v7c0 1.654-1.346 3-3 3zM5 9.5c-.551 0-1 .449-1 1v7c0 .552.449 1 1 1h10a1 1 0 0 0 1-1v-7c0-.551-.448-1-1-1H5zm17 5v-6c0-2.757-2.243-5-5-5H8.47a1 1 0 0 0 0 2H17c1.654 0 3 1.346 3 3v6a1 1 0 1 0 2 0z\\"/>\\n</svg>","team":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" fill=\\"none\\" viewBox=\\"0 0 24 24\\">\\n <path fill=\\"#2563EB\\" fill-rule=\\"evenodd\\" d=\\"M6.81 14.425a4.077 4.077 0 0 1 2.882-1.194h4.616a4.077 4.077 0 0 1 4.076 4.077v1.538a1 1 0 0 1-2 0v-1.538a2.077 2.077 0 0 0-2.076-2.077H9.692a2.077 2.077 0 0 0-2.077 2.077v1.538a1 1 0 0 1-2 0v-1.538c0-1.082.43-2.119 1.194-2.883ZM12 6a2.077 2.077 0 1 0 0 4.154A2.077 2.077 0 0 0 12 6ZM7.923 8.077a4.077 4.077 0 1 1 8.154 0 4.077 4.077 0 0 1-8.154 0Zm10.801 5.903a1 1 0 0 1 1.218-.718A4.077 4.077 0 0 1 23 17.207v1.54a1 1 0 0 1-2 0v-1.539a2.077 2.077 0 0 0-1.558-2.009 1 1 0 0 1-.718-1.218Zm-2.308-9.228a1 1 0 0 1 1.217-.72 4.077 4.077 0 0 1 0 7.898 1 1 0 1 1-.496-1.937 2.077 2.077 0 0 0 0-4.024 1 1 0 0 1-.721-1.217ZM5.276 13.98a1 1 0 0 0-1.218-.718A4.078 4.078 0 0 0 1 17.207v1.54a1 1 0 0 0 2 0v-1.539A2.077 2.077 0 0 1 4.558 15.2a1 1 0 0 0 .718-1.218Zm2.308-9.228a1 1 0 0 0-1.217-.72 4.077 4.077 0 0 0 0 7.898 1 1 0 1 0 .496-1.937 2.077 2.077 0 0 1 0-4.024 1 1 0 0 0 .721-1.217Z\\" clip-rule=\\"evenodd\\"/>\\n</svg>","countdown":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" xml:space=\\"preserve\\" viewBox=\\"0 0 24 24\\">\\n <path d=\\"m20.1 8.8.9-.9c.4-.4.4-1 0-1.4-.4-.4-1-.4-1.4 0l-1 1c-1-.6-2.3-1-3.6-1-3.9 0-7 3.1-7 7.1 0 3.7 3.2 6.9 6.9 6.9 3.9 0 7.1-3.1 7.1-7 0-1.8-.7-3.4-1.9-4.7zM15 18.5c-2.8 0-5-2.2-5-5s2.2-5 5-5 5 2.2 5 5-2.2 5-5 5zm0-8c.6 0 1 .4 1 1v2c0 .5-.4 1-1 1-.5 0-1-.4-1-1v-2c0-.6.4-1 1-1zm-1-7h2c.5 0 1 .4 1 1 0 .5-.4 1-1 1h-2c-.5 0-1-.4-1-1s.4-1 1-1zm-10 5h2c.5 0 1 .4 1 1 0 .5-.4 1-1 1H4c-.5 0-1-.4-1-1s.4-1 1-1zm0 8h2c.5 0 1 .4 1 1 0 .5-.4 1-1 1H4c-.5 0-1-.4-1-1s.4-1 1-1zm-1-4h2c.5 0 1 .4 1 1 0 .5-.4 1-1 1H3c-.5 0-1-.4-1-1s.4-1 1-1z\\"/>\\n</svg>","slider":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" xml:space=\\"preserve\\" viewBox=\\"0 0 24 24\\">\\n <path d=\\"M16.2 22H7.8c-1 0-1.8-.9-1.8-2V4c0-1.1.8-2 1.8-2h8.3c1 0 1.8.9 1.8 2v16c.1 1.1-.7 2-1.7 2zM8 20h8V4H8v16zm-3-3H4V7h1V5H3.7C2.7 5 2 5.7 2 6.7v10.7c0 .9.7 1.6 1.7 1.6H5v-2zm14 2h1.3c.9 0 1.7-.7 1.7-1.7V6.7c0-1-.7-1.7-1.7-1.7H19v2h1v10h-1v2z\\"/>\\n</svg>","info":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" xml:space=\\"preserve\\" viewBox=\\"0 0 24 24\\">\\n <path d=\\"M22 4V3c0-.6-.4-1-1-1H3c-.6 0-1 .4-1 1v18c0 .6.4 1 1 1h18c.6 0 1-.4 1-1V4zM4 4h16v16H4V4zm8 5.5a2 2 0 1 0 .001-3.999A2 2 0 0 0 12 9.5zm3 1H9c-.6 0-1 .4-1 1s.4 1 1 1h6c.6 0 1-.4 1-1s-.5-1-1-1zm-4 8h2c.6 0 1-.4 1-1s-.4-1-1-1h-2c-.6 0-1 .4-1 1 0 .5.4 1 1 1zm-5-4c0 .6.4 1 1 1h10c.6 0 1-.4 1-1s-.4-1-1-1H7c-.6 0-1 .5-1 1z\\"/>\\n</svg>","icon":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"m6.516 14.323-1.49 6.452a.998.998 0 0 0 1.529 1.057L12 18.202l5.445 3.63a1.001 1.001 0 0 0 1.517-1.106l-1.829-6.4 4.536-4.082a1 1 0 0 0-.59-1.74l-5.701-.454-2.467-5.461a.998.998 0 0 0-1.822 0L8.622 8.05l-5.701.453a1 1 0 0 0-.619 1.713l4.214 4.107zm2.853-4.326a.998.998 0 0 0 .832-.586L12 5.43l1.799 3.981a.998.998 0 0 0 .832.586l3.972.315-3.271 2.944c-.284.256-.397.65-.293 1.018l1.253 4.385-3.736-2.491a.995.995 0 0 0-1.109 0l-3.904 2.603 1.05-4.546a1 1 0 0 0-.276-.94l-3.038-2.962 4.09-.326z\\" /></svg>","paragraph":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M9.15 17h2.3v4.1a.9.9 0 00.9.9.9.9 0 00.9-.9v-17h2.8v17a.9.9 0 00.9.9h.1a.9.9 0 00.9-.9v-17h3.1a.9.9 0 00.9-.9V3a.9.9 0 00-.9-.9h-12a7.2 7.2 0 00-7 7.5 7.2 7.2 0 007.1 7.4zm-.1-12.9h2.3V15h-2.2a5.79 5.79 0 01-5.1-5.5 5.69 5.69 0 015-5.45z\\" fill=\\"#2563eb\\" /></svg>","rating":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M22 8.8c-.1-.2-.2-.3-.5-.4l-3-.2-1.3-2.9c-.1-.3-.5-.4-.7-.3-.1.1-.2.1-.3.3l-1.3 2.9-3 .2c-.3 0-.5.3-.5.6 0 .1.1.2.2.3l2.2 2.2-.8 3.4c-.1.3.1.6.4.6.1 0 .3 0 .4-.1l2.9-1.9 2.9 1.9c.2.2.6.1.7-.1.1-.1.1-.3.1-.4l-1-3.4 2.4-2.2c.2-.1.2-.3.2-.5z\\" /><path d=\\"M12.6 9.2c-.1-.2-.2-.3-.5-.4l-3-.2-1.3-2.9c-.1-.3-.4-.4-.7-.3-.1.1-.2.1-.3.3L5.5 8.6l-3 .2c-.3 0-.5.3-.5.6 0 .1.1.2.2.3l2.2 2.2-.8 3.4c-.1.3.1.6.4.7.1 0 .3 0 .4-.1L7.3 14l2.9 1.9c.2.2.6.1.7-.1.1-.1.1-.3.1-.4L10 12l2.4-2.2c.2-.2.3-.4.2-.6z\\" /><path d=\\"M18.7 10c-.1-.3-.3-.5-.6-.5l-4-.3-1.7-3.9c-.2-.3-.6-.5-1-.3-.2.1-.3.2-.4.4L9.3 9.2l-4 .3c-.4 0-.7.4-.6.8 0 .2.1.3.2.5l3 2.9-1.1 4.6c-.1.3.1.7.5.7.2 0 .4 0 .6-.1l3.8-2.6 3.8 2.6c.3.2.8.1 1-.2.1-.2.1-.4.1-.6l-1.3-4.5 3.2-2.9c.2-.1.3-.4.2-.7z\\" stroke=\\"#fff\\" stroke-miterlimit=\\"10\\" /></svg>","section":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M4 2a2 2 0 00-2 2v3a2 2 0 002 2h16a2 2 0 002-2V4a2 2 0 00-2-2zm16 5H4V4h16zM2 12v8a2 2 0 002 2h16a2 2 0 002-2v-8a2 2 0 00-2-2H4a2 2 0 00-2 2zm18 0v8H4v-8zm-9 5H9v-2h2v-2h2v2h2v2h-2v2h-2z\\" fill=\\"#2563eb\\" /></svg>","spacing":"<svg viewBox=\\"0 0 24 24\\" xmlns=\\"http://www.w3.org/2000/svg\\"><path d=\\"M21,2H3A1,1,0,0,0,2,3H2A.94.94,0,0,0,3,4H21a.94.94,0,0,0,1-1h0A.94.94,0,0,0,21,2Z\\" fill=\\"#2563eb\\" /><path d=\\"M2,21H2a.94.94,0,0,0,1,1H21a.94.94,0,0,0,1-1h0a.94.94,0,0,0-1-1H3A.94.94,0,0,0,2,21Z\\" fill=\\"#2563eb\\" /><path d=\\"M9,15V9A.94.94,0,0,0,8,8H8A1,1,0,0,0,7,9v6a.94.94,0,0,0,1,1H8A1,1,0,0,0,9,15Z\\" fill=\\"#2563eb\\" /><path d=\\"M17,15V9a.94.94,0,0,0-1-1h0a.94.94,0,0,0-1,1v6a.94.94,0,0,0,1,1h0A1.08,1.08,0,0,0,17,15Z\\" fill=\\"#2563eb\\" /><path d=\\"M13,17V7a.94.94,0,0,0-1-1h0a.94.94,0,0,0-1,1V17a.94.94,0,0,0,1,1h0A.94.94,0,0,0,13,17Z\\" fill=\\"#2563eb\\" /></svg>","teams":"<svg xmlns=\\"http://www.w3.org/2000/svg\\"><path d=\\"M12 10c1.151 0 2-.848 2-2s-.849-2-2-2c-1.15 0-2 .848-2 2s.85 2 2 2zm0 1c-2.209 0-4 1.612-4 3.6v.386h8V14.6c0-1.988-1.791-3.6-4-3.6z\\" /><path d=\\"M19 2H5c-1.103 0-2 .897-2 2v13c0 1.103.897 2 2 2h4l3 3 3-3h4c1.103 0 2-.897 2-2V4c0-1.103-.897-2-2-2zm-5 15l-2 2-2-2H5V4h14l.002 13H14z\\" /></svg>","testimonial":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M19.7 1.5H4.3c-1.2 0-2.2 1-2.2 2.2v12.9c0 1.2 1 2.2 2.2 2.2h3.9l3.8 3.7 3.8-3.7h3.9c1.2 0 2.2-1 2.2-2.2V3.7c0-1.2-1-2.2-2.2-2.2zm0 15.1h-4.9L12 19.4l-2.8-2.8H4.3V3.7h15.4v12.9z\\" /><circle cx=\\"7.5\\" cy=\\"10.1\\" r=\\"1.5\\" /><circle cx=\\"12\\" cy=\\"10.1\\" r=\\"1.5\\" /><circle cx=\\"16.5\\" cy=\\"10.1\\" r=\\"1.5\\" /></svg>","video":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M8.8 8.8v6.5l6.4-3.2-6.4-3.3z\\" /><path d=\\"M21 18.3H3c-.6 0-1-.4-1-1V6.7c0-.6.4-1 1-1h18c.6 0 1 .4 1 1v10.6c0 .6-.5 1-1 1z\\" fill=\\"none\\" stroke=\\"#000\\" stroke-width=\\"2\\" stroke-miterlimit=\\"10\\" /></svg>","column":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M2 6h20v12H2z\\" fill=\\"#2563eb\\" /><path fill=\\"#fff\\" d=\\"M4 8h2.91v8H4zM8.36 8h2.91v8H8.36zM12.73 8h2.91v8h-2.91zM17.09 8H20v8h-2.91z\\" /></svg>","barsO":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M21.9 7.5h-6v-5H8v7H2v11.9h20l-.1-13.9zM4 11.4h4v7.9H4v-7.9zm6-.9v-6h4v14.9h-4v-8.9zm9.9 8.9h-4V9.5h4v9.9z\\" /></svg>","cartO":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M21.8 7.3c-.2-.3-.5-.4-.8-.4H7.3L6.2 4.2C5.8 3.4 5.1 3 4.4 3H2v2h2.3L9 16.3c.2.3.5.6 1 .6h8c.4 0 .8-.3 1-.6l2.9-8c.1-.3 0-.6-.1-1zm-4.5 7.6h-6.6L8.2 9h11.3l-2.2 5.9z\\" /><circle cx=\\"10.5\\" cy=\\"19.5\\" r=\\"1.5\\" /><circle cx=\\"17.4\\" cy=\\"19.5\\" r=\\"1.5\\" /></svg>","envelopeO":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M21.5 4.2h-19c-.3 0-.5.2-.5.4v14.7c0 .2.2.4.4.4h19c.2 0 .4-.2.4-.4V4.6c.2-.2 0-.4-.3-.4zm-1.5 2v.5l-8 6-8-6v-.5h16zM4 17.8V9.1l7.4 5.6c.2.2.4.2.6.2s.4-.1.6-.2L20 9.1v8.7H4z\\" /></svg>","eyeO":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M12 17.9c-4.2 0-7.9-2.1-9.9-5.5-.2-.3-.2-.6 0-.9C4.1 8.2 7.8 6 12 6s7.9 2.1 9.9 5.5c.2.3.2.6 0 .9-2 3.4-5.7 5.5-9.9 5.5zM3.9 12c1.6 2.6 4.8 4.2 8.1 4.2s6.4-1.6 8.1-4.2c-1.6-2.6-4.7-4.2-8.1-4.2S5.6 9.4 3.9 12zm8.1 3.3c-1.8 0-3.3-1.5-3.3-3.3s1.5-3.3 3.3-3.3 3.3 1.5 3.3 3.3-1.5 3.3-3.3 3.3zm0-4.9c-.9 0-1.6.8-1.6 1.6 0 .9.8 1.6 1.6 1.6s1.6-.8 1.6-1.6c0-.9-.7-1.6-1.6-1.6z\\" /></svg>","instagramO":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M12 8c-2.3 0-4 1.8-4 4 0 2.3 1.8 4 4 4 2.3 0 4-1.8 4-4 0-2.3-1.7-4-4-4zm0 6.6c-1.5 0-2.6-1.1-2.6-2.6s1.1-2.6 2.6-2.6 2.6 1.1 2.6 2.6-1.1 2.6-2.6 2.6z\\" /><circle cx=\\"16.2\\" cy=\\"7.8\\" r=\\"1\\" /><path d=\\"M21.4 5.5c-.5-1.3-1.6-2.4-2.9-2.9-.8-.3-1.6-.4-2.4-.4C15 2 14.7 2 12 2s-3 0-4.1.1c-.9 0-1.6.2-2.4.4-1.4.5-2.4 1.6-2.9 3-.3.7-.5 1.5-.5 2.3C2 8.9 2 9.3 2 12s0 3 .1 4.1c0 .9.2 1.6.4 2.4.5 1.3 1.6 2.4 2.9 2.9.8.3 1.6.4 2.4.5 1.2.1 1.5.1 4.2.1s3 0 4.1-.1c.9 0 1.6-.2 2.4-.4 1.3-.5 2.4-1.6 2.9-2.9.3-.8.4-1.6.4-2.4.1-1 .1-1.4.1-4.1s0-3-.1-4.1c.1-1-.1-1.8-.4-2.5zm-1.3 10.4c0 .6-.1 1.3-.3 1.9-.3.9-1 1.6-1.9 1.9-.6.3-1.2.3-1.8.3-1 .1-1.4.1-4.1.1s-2.9 0-4.1-.1c-.6 0-1.2-.1-1.8-.3-.9-.3-1.6-1-1.9-1.9-.3-.6-.3-1.2-.3-1.8-.1-1-.1-1.4-.1-4.1s0-2.9.1-4.1c0-.6.1-1.3.3-1.9.3-.9 1-1.6 1.9-1.9.6-.3 1.2-.3 1.8-.3h4.2c2.8 0 2.9 0 4.1.1.6 0 1.2.1 1.8.3.9.3 1.6 1 1.9 1.9.3.6.3 1.2.3 1.8.1 1 .1 1.4.1 4.1-.2 2.7-.2 3-.2 4z\\" /></svg>","mapMarkerO":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M12 13.7c1.9 0 3.5-1.6 3.5-3.5S13.9 6.8 12 6.8s-3.5 1.6-3.5 3.5 1.6 3.4 3.5 3.4zm0-5.2c1 0 1.7.8 1.7 1.7S13 12 12 12s-1.7-.8-1.7-1.7.7-1.8 1.7-1.8z\\" /><path d=\\"M11.4 21.9c.2.1.3.2.6.2s.4-.1.6-.2c.3-.2 7.5-5.4 7.4-11.9 0-4.5-3.6-8-8-8s-8 3.6-8 8c0 6.5 7.1 11.6 7.4 11.9zM12 4c3.3 0 6 2.7 6 6 0 4.5-4.4 8.5-6 9.8-1.7-1.3-6-5.3-6-9.8 0-3.3 2.7-6 6-6z\\" /></svg>","phoneO":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M21.9 17.9l-5.5-5.5-2.3 2.3c-.8-.3-2.2-.8-3-1.6s-1.4-2.3-1.6-3l2.3-2.3-5.7-5.7-3.4 3.4c-.5.5-.6 1-.6 1.5 0 1.5.4 6.5 4.4 10.5s9.1 4.4 10.5 4.4c.5 0 1-.2 1.5-.6l3.4-3.4zm-4.9 2c-1.3 0-5.6-.3-9.1-3.8S4.1 8.2 4.1 7l2.1-2.1 2.7 2.7-1.4 1.3c-.3.3-.3.6-.3 1 0 .1.6 2.9 2.3 4.6s4.5 2.3 4.6 2.3c.3.1.7 0 1-.3l1.3-1.3 2.7 2.7-2.1 2z\\" /></svg>","paperPlaneO":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M21.6 2.2c-.3-.2-.7-.3-1-.1l-18 8.4c-.4.2-.6.5-.6 1s.3.8.6 1L8.3 15v7l6.2-4.4 5.1 2.2c.2.1.3.1.4.1.2 0 .3-.1.5-.2.3-.2.5-.5.5-.9L22 3c0-.2-.2-.6-.4-.8zM19 17.3l-5.6-2.4 3.3-6.5-8.1 4.4-3-1.4 14.2-6.7-.8 12.6z\\" /></svg>","quoteLeft":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M3.6 6.3C5 4.8 7.2 4 10 4h1v2.8l-.8.2c-1.4.2-2.3.8-2.8 1.6-.4.4-.5 1-.5 1.4h3c.5 0 1 .4 1 1v7c0 1.1-.9 2-2 2H3c-.5 0-1-.4-1-1v-8s-.2-2.7 1.6-4.7zM20 20h-6c-.5 0-1-.4-1-1v-7.9c0-.1-.2-2.8 1.7-4.8C16.1 4.8 18.3 4 21.1 4h1v2.7l-.9.3c-1.4.3-2.3.8-2.9 1.6-.3.5-.4 1-.4 1.4h3c.5 0 1 .4 1 1v7c.1 1.1-.8 2-1.9 2z\\" /></svg>","quoteRight":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M20.3 17.7C22.2 15.6 22 13 22 13V5c0-.5-.4-1-1-1h-6c-1.1 0-2 .9-2 2v7c0 .5.4 1 1 1h3c0 .4-.1.9-.4 1.4-.5.8-1.5 1.3-2.9 1.7l-.7.1V20h1c2.8 0 4.9-.8 6.3-2.3zm-11 0C11.2 15.6 11 13 11 13V5c0-.5-.4-1-1-1H4c-1.1 0-2 .9-2 2v7c0 .5.4 1 1 1h3c0 .4-.1.9-.4 1.4-.5.8-1.5 1.3-2.9 1.7l-.7.1V20h1c2.8 0 4.9-.8 6.3-2.3z\\" /></svg>","recorderO":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M18 10c0-1.1-.9-2-2-2h-1.4l-2.4-4c-.3-.6-1-1-1.7-1H5v2h5.4l1.8 3H4c-1.1 0-2 .9-2 2v8.9c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3l4 2V11l-4 2v-3zm-2 8.9H4V10h12v8.9z\\" /><path d=\\"M7 15.1h6v2H7v-2z\\" /></svg>","searchMinus":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M6.8 9.3h7V11h-7V9.3z\\" /><path d=\\"M10.6 19.1c2 0 3.8-.7 5.2-1.8l4.7 4.7 1.5-1.5-4.7-4.7c1.1-1.5 1.8-3.3 1.8-5.2 0-4.7-3.8-8.5-8.5-8.5S2 5.9 2 10.6s3.9 8.5 8.6 8.5zm0-15c3.6 0 6.4 2.9 6.4 6.4S14.1 17 10.6 17s-6.4-3-6.4-6.5 2.9-6.4 6.4-6.4z\\" /></svg>","searchO":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M10.6 19.1c2 0 3.8-.7 5.2-1.8l4.7 4.7 1.5-1.5-4.7-4.7c1.1-1.5 1.8-3.3 1.8-5.2 0-4.7-3.8-8.6-8.6-8.6S2 5.8 2 10.6s3.8 8.5 8.6 8.5zm0-15c3.6 0 6.5 2.9 6.5 6.5s-3 6.4-6.5 6.4-6.4-3-6.4-6.5 2.9-6.4 6.4-6.4z\\" /></svg>","sendO":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M21.3 11L3.5 2.7c-.3-.2-.8-.1-1.1.2-.3.2-.5.6-.4 1L4 12l-2 8.1c-.1.4 0 .8.3 1 .2.2.4.3.7.3.2 0 .3 0 .4-.1l18-8.3c.3-.2.6-.5.6-1s-.4-.8-.7-1zM4.6 18.5l.8-3.5 6-3-6-3-.8-3.5L18.4 12 4.6 18.5z\\" /></svg>","thumbsUpO":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M19.7 8.5h-5.5l1.1-3.3c.2-.6.1-1.3-.3-1.8-.3-.5-1-.9-1.6-.9h-1.6c-.3 0-.6.2-.8.3L6.5 8.5H4c-1.1 0-2 .9-2 2v8.9c0 1.1.9 2 2 2h13.2c.9 0 1.6-.5 1.9-1.3l2.8-7.3c0-.1.1-.3.1-.3v-2c-.3-1.1-1.1-2-2.3-2zM4 10.5h2v8.9H4v-8.9zm15.7 1.8L17 19.4H7.9V9.8l4.4-5.3h1.1l-1.6 4.6c0 .4 0 .7.2.9.2.3.5.4.8.4h6.9v1.9z\\" /></svg>","timeO":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm0 18c-4.4 0-8-3.6-8-8s3.6-8 8-8 8 3.6 8 8-3.6 8-8 8z\\" /><path d=\\"M12 6H9.8v8.6H18v-2.2h-6V6z\\" /></svg>","userO":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M12 2C9.1 2 6.7 4.4 6.7 7.3S9 12.6 12 12.6s5.3-2.3 5.3-5.3S14.9 2 12 2zm0 8.4c-1.7 0-3.1-1.4-3.1-3.1s1.4-3.2 3.1-3.2 3.1 1.4 3.1 3.1-1.4 3.2-3.1 3.2zM21.5 22v-1c0-4.1-3.3-7.4-7.4-7.4H9.9c-4.1 0-7.4 3.3-7.4 7.4v1h2.1v-1c0-2.9 2.3-5.3 5.3-5.3h4.2c2.9 0 5.3 2.3 5.3 5.3v1h2.1z\\" /></svg>","youtubePlay":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M3.7 2v20l16.7-10L3.7 2z\\" /></svg>","bar":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M2 5h10v2H2V5zm0 6h20v2H2v-2zm10 6h10v2H12v-2z\\" /></svg>","behance":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M7.8 6c.6 0 1.2.1 1.6.2.5.1 1 .3 1.2.5.3.3.6.6.9 1 .2.4.3.9.3 1.4s-.2 1.1-.4 1.6c-.3.4-.7.8-1.2 1 .8.3 1.3.6 1.6 1.1.3.6.6 1.1.6 2 0 .6-.1 1.1-.3 1.6-.3.4-.6.9-1 1-.4.3-1 .5-1.4.7-.5.2-1 .2-1.6.2H2V6h5.8zm-.4 5c.5 0 1-.1 1.1-.3.3-.3.5-.6.5-1 0-.3-.1-.5-.2-.7 0-.3-.1-.4-.3-.5-.1-.2-.3-.3-.6-.3-.1-.1-.4-.1-.7-.1H4.8V11h2.6zm.2 5.2c.3 0 .5 0 .8-.1.3-.1.4-.2.7-.3.1-.1.3-.3.3-.5.1-.2.2-.5.2-.9 0-.7-.2-1-.5-1.3-.3-.3-.9-.4-1.4-.4H4.8v3.4l2.8.1c0-.1 0 0 0 0zm8.6 0c.3.3 1 .5 1.6.5.5 0 1-.1 1.2-.3.3-.3.6-.5.7-.8h2.2c-.3 1-.9 1.8-1.6 2.3-.8.5-1.6.7-2.6.7-.7 0-1.3-.1-1.9-.3s-1-.6-1.4-1c-.4-.4-.7-1-1-1.5-.3-.6-.3-1.2-.3-1.9s.1-1.2.3-1.8c.3-.6.5-1 1-1.5s1-.8 1.4-1c.6-.3 1.1-.3 1.8-.3.8 0 1.4.2 2 .4.6.3 1 .7 1.4 1.1.3.5.6 1 .8 1.6.3.6.3 1.2.3 1.9h-6.4c-.1.8.1 1.4.5 1.9zm2.7-4.7c-.3-.3-.8-.5-1.4-.5-.4 0-.8.1-1 .2-.3.2-.5.3-.6.5-.2.2-.3.4-.3.7-.1.3-.1.4-.1.6h3.9c.1-.7-.2-1.2-.5-1.5zM15 6.9h5v1.2h-5V6.9z\\" /></svg>","blogger":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M21.9 10.6c-.1-.3-.3-.7-.5-.9-.1 0-.6-.1-1.1-.1-.9 0-1-.1-1.3-.3-.4-.3-.6-.5-.6-1.3 0-1.5-.6-2.9-1.8-4.1-.9-.9-1.8-1.5-3-1.8-.3-.1-.9-.1-2.8-.2-3.2.1-3.8.1-4.9.5-1.8.9-3.2 2.5-3.7 4.6-.1.4-.1 1-.2 4.6 0 4.5 0 5.2.3 6.1.3.8.4 1.2 1 1.8 1 1.2 2.4 2.1 3.7 2.4.7.1 8.8.2 9.7 0 1.5-.2 2.6-.8 3.7-1.9.8-.8 1.2-1.7 1.6-2.8.1-.4.2-.7.2-3.5-.2-1.9-.2-2.8-.3-3.1zM7.6 7.7c.3-.3.4-.3 2.6-.3 2 0 2 0 2.4.2.4.2.6.5.6 1s-.2.7-.5 1c-.2.1-.3.2-2.3.2-1.2 0-2.1 0-2.3-.1-.8-.3-1.1-1.4-.5-2zm8.5 9l-.6.1H12c-3 0-3.9 0-4.1-.1-.3-.2-.6-.5-.7-.9 0-.3.2-.7.4-1 .3-.3.4-.3 4.4-.3s4 0 4.4.3c.5.6.4 1.6-.3 1.9z\\" /></svg>","check":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M7.7 16.8l-4.3-4.1L2 14.1l5.7 5.4L21.9 5.9l-1.5-1.4L7.7 16.8z\\" /></svg>","close":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M12 10.6L3.4 2 2 3.3l8.6 8.6L2 20.4l1.4 1.4 8.6-8.5 8.5 8.5 1.4-1.4-8.5-8.5L22 3.5l-1.4-1.3-8.6 8.4z\\" /></svg>","codeopen":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M21.6 8.6l-.3-.3-9.1-6c-.3-.2-.6-.2-.9 0l-9.1 6c0 .1-.1.2-.2.3v6.5c0 .2 0 .3.2.4.1.1.2.2.3.2l9.1 6c.1.1.3.2.4.2s.3-.1.4-.2l9.1-6 .3-.3c.1-.2.2-.3.2-.4V9c-.2-.1-.3-.3-.4-.4zm-8.9-4.1l6.9 4.6-3.2 2.1-3.7-2.5c-.1-.1 0-4.2 0-4.2zm-1.6 0v4.2l-3.7 2.5L4.3 9l6.8-4.5zm-7.5 6L6 12.1l-2.4 1.6v-3.2zm7.5 9.2l-6.9-4.6L7.4 13l3.7 2.5v4.2zm.8-5.6L8.8 12l3.1-2.1L15 12l-3.1 2.1zm.8 5.6v-4.3l3.7-2.5 3.2 2.2-6.9 4.6zm7.5-6l-2.4-1.6 2.4-1.6v3.2z\\" /></svg>","delicious":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M21.9 3.6c0-.1 0-.1-.1-.2 0-.1-.1-.2-.1-.3-.1-.1-.1-.2-.2-.3l-.3-.3-.1-.1c-.1 0-.1-.1-.2-.1s-.2-.1-.2-.1c-.1 0-.2-.1-.2-.1-.3-.1-.5-.1-.6-.1H4.1C3 2 2 3 2 4.1v15.7c0 .2 0 .4.1.5.1.3.3.7.5.9l.1.1c.3.2.6.4.9.5.2.2.4.2.5.2h15.7c1.2 0 2.1-1 2.1-2.1V4.1c.1-.1.1-.3 0-.5zm-1.3 16.3c0 .4-.3.7-.7.7H12V12H3.4V4.1c0-.4.3-.7.7-.7H12V12h8.6v7.9z\\" /></svg>","devianart":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M18 2h-3.5l-.3.3-1.7 3.3-.6.4H6v5h3.3l.3.3-3.5 7V22h3.5l.3-.3 1.7-3.3.5-.3H18V13h-3.3l-.3-.3 3.5-7C18 5.7 18 2 18 2z\\" /></svg>","dribble":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M20.7 6.9c-.9-1.6-2.1-2.8-3.6-3.6S13.8 2 12 2s-3.5.4-5 1.3c-1.5 1-2.7 2.2-3.6 3.6S2 10.2 2 12s.4 3.5 1.3 5 2.1 2.8 3.6 3.6c1.6.9 3.2 1.3 5 1.3s3.5-.4 5-1.3c1.6-.9 2.8-2.1 3.6-3.6s1.3-3.2 1.3-5-.3-3.5-1.1-5.1zM12 3.6c2 0 3.7.6 5.3 1.9-.9 1.2-2.3 2.2-4.1 3-1-1.8-2.1-3.4-3.2-4.6.6-.2 1.3-.3 2-.3zM5.5 6.8c.8-1 1.6-1.6 2.7-2.3 1.2 1.2 2.3 2.7 3.3 4.5-2 .6-4.1.9-6.3.9H3.8c.5-1.1 1-2.2 1.7-3.1zM3.7 12v-.4h1.1c2.7 0 5.1-.3 7.5-1.1.2.3.3.8.6 1.2-1.3.3-2.7 1-4.1 2.2s-2.4 2.3-3 3.6c-1.4-1.6-2.1-3.4-2.1-5.5zm8.3 8.3c-1.9 0-3.6-.6-5.1-1.7.6-1.2 1.6-2.3 2.8-3.4 1.2-1 2.5-1.7 3.7-2 .8 2.2 1.3 4.3 1.6 6.6-1 .3-2 .5-3 .5zm7-4c-.7 1-1.6 1.9-2.6 2.6-.3-2.1-.7-4.1-1.4-6.1 1-.1 1.7-.1 2.5-.1s1.6 0 2.7.1c0 1.3-.5 2.5-1.2 3.5zm-1.2-4.9c-1.1 0-2.3.1-3.2.2-.3-.7-.5-1.2-.7-1.6 2.1-.9 3.6-2 4.4-3.3 1.2 1.4 1.8 3 2 4.9-.8-.2-1.6-.2-2.5-.2z\\" /></svg>","facebook":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M13.7 13.3V22H9.6v-8.7H6.5V9.7h3.1V6.9c0-3.1 2-4.9 4.9-4.9 1.3 0 3 .3 3 .3v3h-1.7c-1.6 0-2 1-2 1.9v2.4h3.3l-.6 3.7h-2.8z\\" /></svg>","linkedin":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M6.6 4.9C6.6 6 5.6 7 4.3 7 3 6.9 2.1 6 2.1 4.9s1-2.1 2.3-2.1c1.3 0 2.2.9 2.2 2.1zM2.1 21h4.6V8.2H2.1V21zM17 7.9c-2.2 0-3.3 1.2-3.8 2.2V8.2H8.9C9 9.4 8.9 21 8.9 21h4.2v-7.1c0-.4 0-.8.2-1 .3-.8 1-1.6 2.2-1.6 1.6 0 2.2 1.1 2.2 2.9v6.9H22v-7.6c-.1-3.8-2.1-5.6-5-5.6z\\"\\n\\t\\t\\tfill-rule=\\"evenodd\\" clip-rule=\\"evenodd\\" /></svg>","medium":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M4.4 7.3c0-.3-.1-.5-.3-.7L2.3 4.4v-.3h5.8l4.5 9.8 3.9-9.8H22v.3L20.4 6c-.2.1-.2.3-.2.4v11.1c0 .2 0 .3.2.4l1.6 1.6v.3h-7.8v-.3l1.6-1.6c.2-.2.2-.2.2-.4v-9l-4.5 11.3h-.6L5.7 8.5v7.6c0 .3.1.6.3.9l2.1 2.5v.3H2v-.3L4.1 17c.3-.3.3-.5.3-.9V7.3z\\" /></svg>","minus":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M2 11h20v2H2v-2z\\" /></svg>","pinterest":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M11.9 2.1C6.4 2.1 2 6.5 2 12.1c0 4.3 2.6 7.8 6.3 9.3-.1-.8-.2-2 0-2.9.2-.8 1.1-4.9 1.1-4.9s-.3-.6-.3-1.5c0-1.4.8-2.4 1.8-2.4.9 0 1.3.6 1.3 1.4 0 .9-.5 2.2-.9 3.3-.3 1 .5 1.8 1.5 1.8 1.7 0 3.1-1.9 3.1-4.6 0-2.4-1.7-4.1-4.2-4.1-2.9 0-4.5 2.2-4.5 4.3 0 .9.3 1.7.8 2.3.1.1.1.2.1.3-.1.3-.3 1-.3 1.1-.1.2-.2.3-.3.2-1.2-.6-2-2.4-2-3.9 0-3.1 2.3-6.1 6.6-6.1 3.5 0 6.2 2.4 6.2 5.7 0 3.5-2.2 6.2-5.2 6.2-1 0-2-.5-2.3-1.1 0 0-.5 1.9-.6 2.3-.3.9-.9 2-1.2 2.6 1 .3 1.9.4 3 .4 5.6 0 10-4.4 10-10s-4.6-9.7-10.1-9.7\\" /></svg>","plus":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M22 11h-9.1V2h-2v9H2v2h9v9h2v-9h9v-2z\\" /></svg>","quora":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M12.5 17.5c-.7-1.4-1.5-2.7-3.1-2.7-.3 0-.6.1-.9.2L8 14c.7-.6 1.7-1 3.1-1 2.1 0 3.2 1 4.1 2.4.5-1.1.8-2.6.8-4.5 0-4.7-1.5-7.1-4.9-7.1s-4.8 2.4-4.8 7.1c0 4.6 1.5 7 4.8 7 .5-.2 1-.2 1.4-.4zm.9 1.7c-.7.2-1.5.3-2.3.3-4.5 0-8.8-3.6-8.8-8.7C2.3 5.6 6.7 2 11.1 2c4.5 0 8.9 3.6 8.9 8.8 0 3-1.4 5.3-3.3 6.8.6 1 1.3 1.6 2.2 1.6 1 0 1.4-.8 1.5-1.4h1.3c.1.8-.3 4.2-4 4.2-2.3 0-3.4-1.3-4.3-2.8z\\" /></svg>","reddit":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><circle cx=\\"10\\" cy=\\"12.9\\" r=\\".9\\" /><path d=\\"M13.8 15c-.5.3-1.2.5-1.8.5-.6 0-1.3-.2-1.8-.5-.1-.1-.2-.1-.3 0-.1.1-.1.3 0 .3.6.4 1.4.7 2.2.7s1.6-.2 2.2-.7c.1-.1.1-.3 0-.3-.2-.1-.4-.1-.5 0zm.2-3c-.5 0-.9.3-.9.9 0 .5.3.9.9.9h.1c.5 0 .9-.4.9-.9-.1-.5-.5-.9-1-.9z\\" /><path d=\\"M12 2C6.5 2 2 6.4 2 12c0 5.5 4.5 10 10 10s10-4.5 10-10c0-5.6-4.5-10-10-10zm5.8 11.3v.4c0 2.3-2.6 4.1-5.8 4.1S6.2 16 6.2 13.7v-.4c-.2-.1-.3-.2-.5-.3-.6-.5-.6-1.5-.1-2.1s1.5-.6 2.1-.1c1.1-.8 2.5-1.2 3.9-1.2l.8-3.5c0-.2.2-.3.3-.3l2.4.5c.3-.1.6-.3.9-.4.5-.1 1 .3 1.1.9.1.5-.3 1-.9 1.1-.5.1-1-.3-1.1-.9L13 6.6l-.6 3.1c1.4 0 2.7.4 3.8 1.2.3-.3.6-.4 1-.4.8 0 1.5.6 1.5 1.4 0 .6-.4 1.1-.9 1.4z\\" /></svg>","reply":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M10.5 10.9h6.2v7.2h2V10c0-.6-.5-1.1-1.1-1.1h-7.1v-3L5.4 10l5 4.1.1-3.2z\\" /></svg>","rss":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M22 22C22 11 13 2 2 2v2.7c9.6 0 17.3 7.7 17.3 17.3H22z\\" /><path d=\\"M12.7 22h2.7C15.3 14.6 9.4 8.7 2 8.7v2.7c5.9-.1 10.7 4.7 10.7 10.6z\\" /><circle cx=\\"4.7\\" cy=\\"19.3\\" r=\\"2.7\\" /></svg>","tumblr":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M14.3 22c-3 0-5.2-1.6-5.2-5.2v-5.9H6.4V7.7c3-.8 4.3-3.4 4.4-5.6h3.1v5.1h3.6v3.7h-3.6V16c0 1.6.8 2.1 2 2.1h1.7V22h-3.3z\\" /></svg>","twitch":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M4.4 2L3 5.5v14h4.8v1.6l2.7.9 2.5-2.5h3.9l5.2-5.2V2H4.4zm15.8 11.3l-2.9 3h-4.8L10 18.9v-2.5H6V3.9h14.3l-.1 9.4zm-3-6v5.2h-1.8V7.3h1.8zm-4.7 0v5.2h-1.8V7.3h1.8z\\" /></svg>","twitter":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M17.751 2h3.067l-6.7 8.472L22 22h-6.172l-4.833-6.992L5.464 22h-3.07l7.167-9.062L2 2h6.328l4.37 6.39L17.75 2Zm-1.076 17.97h1.7L7.404 3.923H5.58L16.675 19.97Z\\"/></svg>","vimeo":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M21 10.4c-2 4.3-7 10.3-10.1 10.3-3 0-3.5-6.5-5.1-10.9C5 7.7 4.5 8.2 3 9.2L2 8c2.3-2 4.5-4.3 5.9-4.4 1.6-.2 2.5 1 2.9 3.2.4 3 1.1 7.7 2.3 7.7.9 0 3.1-3.7 3.2-5 .2-1.9-1.4-2-2.9-1.4C15.7.8 25 2.1 21 10.4z\\" /></svg>","wordpress":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M19.9 7.7C20.6 9 21 10.4 21 12c0 3.3-1.8 6.2-4.4 7.7l2.8-7.9c.5-1.3.7-2.3.7-3.2-.2-.3-.2-.6-.2-.9m-6.7 0c.5 0 1-.1 1-.1.5-.1.4-.8-.1-.8 0 0-1.5.1-2.4.1-.9 0-2.3-.1-2.3-.1-.4 0-.5.8 0 .8 0 0 .4.1 1 .1l1.4 3.8-2 5.9-3.4-9.7c.5 0 1-.1 1-.1.6 0 .5-.7.1-.6H4.4C6.1 4.6 8.9 3 12 3c2.3 0 4.4.9 6.1 2.3H18c-.9 0-1.5.8-1.5 1.6s.5 1.4.9 2.1c.3.6.8 1.4.8 2.5 0 .8-.3 1.7-.7 2.9l-.9 3-3.4-9.7zM12 21c-.9 0-1.7-.1-2.5-.3l2.7-7.8 2.8 7.6c0 .1 0 .1.1.1-1 .2-2.1.4-3.1.4m-9-9c0-1.3.3-2.5.8-3.7L8.1 20C5 18.6 3 15.6 3 12m9-10C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2\\" /></svg>","yelp":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M19.6 17.3c-.1.8-1.7 2.9-2.5 3.2-.3.1-.5.1-.7-.1-.1-.1-.3-.3-2-3.2l-.5-.9c-.2-.3-.2-.7.1-1 .3-.3.6-.4 1-.3l1.3.4c3 1 3.1 1 3.2 1.1.1.2.2.5.1.8zm-6-4.5c-.2-.3-.2-.7 0-1l.9-1.1c1.8-2.5 1.9-2.6 2.1-2.7.2-.2.4-.2.7 0 .7.3 2.2 2.5 2.3 3.4 0 .3-.1.5-.3.7-.2.1-.3.2-3.7 1-.5.2-.9.2-1 .3-.4 0-.8-.2-1-.6zm-2.1-1.3c-.2.1-.7.2-1.3-.8 0 0-4.1-6.4-4.2-6.7-.1-.1 0-.3.2-.6.6-.6 3.9-1.6 4.8-1.4.3.1.5.3.5.5.1.3.4 6.3.5 7.7.2 1.1-.3 1.3-.5 1.3zm.6 6.6c0 3.1 0 3.2-.1 3.4-.1.3-.3.4-.6.4-.8.2-3.3-.8-3.8-1.4-.1-.2-.2-.3-.2-.4v-.3c.1-.2.2-.3 2.4-3l.7-.8c.3-.3.6-.3 1-.3.3.2.6.4.5.8v1.6zm-6.9-2c-.3 0-.4-.2-.6-.4-.1-.2-.2-.4-.2-.9-.1-1 0-2.7.3-3.2.2-.3.3-.3.6-.3.2 0 .3.1 3.6 1.4l1 .3c.3.1.5.4.5.9 0 .3-.3.7-.6.8l-1.3.4c-3 1-3.1 1-3.3 1z\\" /></svg>","buttons":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M19.27 12.91H4.73a1.83 1.83 0 0 0-1.82 1.82v5.45A1.83 1.83 0 0 0 4.73 22h14.54a1.83 1.83 0 0 0 1.82-1.82v-5.45a1.83 1.83 0 0 0-1.82-1.82Zm0 7.27H4.73v-5.45h14.54Z\\" /><path d=\\"M7.45 18.36h9.1a.91.91 0 0 0 0-1.81h-9.1a.91.91 0 0 0 0 1.81ZM19.27 2H4.73a1.83 1.83 0 0 0-1.82 1.82v5.45a1.83 1.83 0 0 0 1.82 1.82h14.54a1.83 1.83 0 0 0 1.82-1.82V3.82A1.83 1.83 0 0 0 19.27 2Zm0 7.27H4.73V3.82h14.54Z\\" /><path d=\\"M7.45 7.45h9.1a.85.85 0 0 0 .9-.9.85.85 0 0 0-.9-.91h-9.1a.85.85 0 0 0-.9.91.85.85 0 0 0 .9.9Z\\" /></svg>","weather":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M14.604 10.57c-.287-1.743-1.637-3.07-3.27-3.07-.513 0-.996.14-1.43.375C9.18 6.745 8.004 6 6.667 6c-2.209 0-4 2.016-4 4.5 0 .023.008.052.008.075C1.15 10.917 0 12.431 0 14.25 0 16.322 1.492 18 3.333 18H14c1.842 0 3.333-1.678 3.333-3.75 0-1.838-1.175-3.36-2.729-3.68zm9.059-.08c-2.934.624-5.625-1.888-5.625-5.193 0-1.903.912-3.656 2.395-4.599.23-.145.171-.534-.087-.585A5.455 5.455 0 0019.242 0c-3.246 0-5.88 2.869-6.017 6.464 1.113.558 2.008 1.584 2.454 2.892 1.546.67 2.667 2.222 2.925 4.069.213.023.417.07.634.07 1.862 0 3.566-.947 4.691-2.498.175-.225-.008-.563-.266-.506zm-8.476 9.108c-.316-.201-.724-.084-.908.282l-1.525 3c-.183.36-.07.815.25 1.022a.615.615 0 00.33.098.66.66 0 00.579-.38l1.524-3c.18-.36.071-.815-.25-1.022zm-4 0c-.316-.201-.724-.084-.908.282l-1.525 3c-.183.36-.07.815.25 1.022a.615.615 0 00.33.098.66.66 0 00.579-.38l1.524-3c.18-.36.071-.815-.25-1.022zm-4 0c-.316-.201-.724-.084-.908.282l-1.525 3c-.183.36-.07.815.25 1.022a.615.615 0 00.33.098.66.66 0 00.579-.38l1.524-3c.18-.36.071-.815-.25-1.022zm-4 0c-.316-.201-.724-.084-.908.282l-1.525 3c-.183.36-.07.815.25 1.022a.615.615 0 00.33.098.66.66 0 00.579-.38l1.524-3c.18-.36.071-.815-.25-1.022z\\"></path></svg>","postList":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M1.99 1.98h8.5v8.5h-8.5zm11.52 1.26h8.5v2h-8.5zm0 3.98h4.25v2h-4.25zM1.99 13.47h8.5v8.5h-8.5zm11.52 1.25h8.5v2h-8.5zm0 3.99h4.25v2h-4.25z\\" /></svg>","categoryList":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M2.03 2.06h9v9h-9zm0 10.94h9v9h-9zM13 2h9v9h-9z\\" /></svg>","gridModule":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M2.18 1.93h4.6v4.6h-4.6zm7.51.02h4.6v4.6h-4.6zm7.51-.02h4.6v4.6h-4.6zM2.18 9.69h4.6v4.6h-4.6zm7.51.02h4.6v4.6h-4.6zm7.51-.02h4.6v4.6h-4.6zm-15.02 7.7h4.6v4.6h-4.6zm7.51.03h4.6v4.6h-4.6zm7.51-.03h4.6v4.6h-4.6z\\" /></svg>","bannerPosts":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M1.97 1.98h8v20h-8zm10.97 0h3v20h-3zm6.04.01h3v9h-3zm0 10.99h3v9h-3z\\" /></svg>","featuredPosts":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M1.93 2.08h20v12h-20zm.05 14.91h20v2h-20zm0 3.06h10v2h-10z\\" /></svg>","tabPost":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M8.66 7.95V2.12H2v20h20V7.95H8.66z\\" /><path d=\\"M16.19 3.78h5v2.51h-5zm-5.86 0h5v2.51h-5z\\" /></svg>","featuredCategories":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M13.01 2h9v12h-9zm-10.99.06h9v12h-9zM2.03 16h9v2h-9zm10.98 0h9v2h-9zM2.03 19.98h5.46v2.07H2.03zm10.98 0h5.46v2.07h-5.46z\\" /></svg>","dateWeather":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path fill=\\"#690aa0\\" d=\\"M8 18.33a.51.51 0 0 0-.75.24L6 21.07a.66.66 0 0 0 .21.85.56.56 0 0 0 .27.08.53.53 0 0 0 .52-.32l1.27-2.5a.66.66 0 0 0-.27-.85Zm3.36 0a.52.52 0 0 0-.76.24l-1.26 2.5a.66.66 0 0 0 .2.85.57.57 0 0 0 .28.08.55.55 0 0 0 .48-.32l1.26-2.5a.67.67 0 0 0-.2-.85Zm-6.65 0a.51.51 0 0 0-.75.24l-1.27 2.5a.66.66 0 0 0 .21.85.51.51 0 0 0 .75-.24l1.27-2.5a.66.66 0 0 0-.21-.85Zm17.01-7.59c-2.44.52-4.67-1.57-4.67-4.33a4.54 4.54 0 0 1 2-3.83.28.28 0 0 0-.05-.49 4.78 4.78 0 0 0-.95-.09 5.31 5.31 0 0 0-5 5.39 4.17 4.17 0 0 1 2 2.41 4.31 4.31 0 0 1 2.43 3.39 4.6 4.6 0 0 0 .52.06 4.81 4.81 0 0 0 3.9-2.09.25.25 0 0 0-.18-.42Zm-7.04 7.59a.51.51 0 0 0-.75.24l-1.27 2.5a.66.66 0 0 0 .21.85.51.51 0 0 0 .75-.24l1.27-2.5a.66.66 0 0 0-.21-.85Zm-.48-7.52a2.89 2.89 0 0 0-2.72-2.56 2.54 2.54 0 0 0-1.19.31A3.22 3.22 0 0 0 7.6 7a3.56 3.56 0 0 0-3.32 3.75s0 0 0 .06a3.06 3.06 0 0 0-2.23 3.07A3 3 0 0 0 4.83 17h8.86a3 3 0 0 0 2.77-3.12 3 3 0 0 0-2.26-3.07Z\\" /></svg>","newsTicker":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path fill=\\"#690aa0\\" d=\\"M2 2v20h20V2Zm14 6.88-4.86 10.33a.39.39 0 0 1-.37.22h-.13a.4.4 0 0 1-.23-.17.36.36 0 0 1 0-.27l1.76-7.21-3.62.9H8.4a.4.4 0 0 1-.28-.1.34.34 0 0 1-.12-.36l1.8-7.36a.39.39 0 0 1 .2-.21.41.41 0 0 1 .25-.08h2.92a.38.38 0 0 1 .29.12.34.34 0 0 1 .12.26.41.41 0 0 1 0 .16L12 9.24l3.54-.87a.26.26 0 0 1 .11 0 .41.41 0 0 1 .3.13.33.33 0 0 1 .05.38Z\\" /></svg>","youtube":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M9.72892 15.7822L15.6706 12.7132L9.72892 9.60731V15.7822ZM12 5.2002C13.3749 5.2002 14.7007 5.22066 15.9775 5.26158C17.2624 5.29431 18.2035 5.33114 18.801 5.37206L19.6971 5.42117C19.7053 5.42117 19.7749 5.42935 19.9058 5.44572C20.0368 5.4539 20.1309 5.46618 20.1882 5.48254C20.2454 5.49073 20.3396 5.5071 20.4705 5.53165C20.6096 5.5562 20.7283 5.58894 20.8265 5.62986C20.9247 5.67078 21.0393 5.72397 21.1702 5.78945C21.3012 5.85492 21.428 5.93676 21.5508 6.03497C21.6736 6.12499 21.7922 6.23139 21.9068 6.35415C21.9559 6.40325 22.0173 6.481 22.091 6.58739C22.1728 6.6856 22.2915 6.92294 22.447 7.29941C22.6106 7.67588 22.7211 8.08917 22.7784 8.53929C22.8439 9.06307 22.893 9.62368 22.9257 10.2211C22.9667 10.8104 22.9912 11.2728 22.9994 11.6083V12.0994V13.7689C23.0076 14.9556 22.9339 16.1423 22.7784 17.329C22.7211 17.7791 22.6188 18.1883 22.4715 18.5566C22.3242 18.9167 22.1933 19.1663 22.0787 19.3054L21.9068 19.5141C21.7922 19.6369 21.6736 19.7474 21.5508 19.8456C21.428 19.9356 21.3012 20.0134 21.1702 20.0788C21.0393 20.1361 20.9247 20.1852 20.8265 20.2261C20.7283 20.2671 20.6096 20.2998 20.4705 20.3244C20.3396 20.3489 20.2414 20.3694 20.1759 20.3857C20.1186 20.3939 20.0245 20.4062 19.8935 20.4226C19.7708 20.4307 19.7053 20.4348 19.6971 20.4348C17.6429 20.5903 15.0772 20.6681 12 20.6681C10.3059 20.6517 8.83277 20.6272 7.5806 20.5944C6.33663 20.5535 5.51822 20.5208 5.12538 20.4962L4.52385 20.4471L4.08192 20.398C3.78729 20.3571 3.56223 20.3162 3.40673 20.2752C3.25942 20.2343 3.05072 20.1484 2.78065 20.0174C2.51876 19.8865 2.2896 19.7187 2.09319 19.5141C2.04408 19.465 1.97861 19.3914 1.89677 19.2932C1.82311 19.1868 1.70444 18.9453 1.54076 18.5689C1.38526 18.1924 1.27887 17.7791 1.22158 17.329C1.15611 16.8052 1.10291 16.2487 1.06199 15.6594C1.02926 15.062 1.0088 14.5955 1.00061 14.26V13.7689V12.0994C0.99243 10.9127 1.06609 9.72598 1.22158 8.53929C1.27887 8.08917 1.38117 7.68406 1.52849 7.32396C1.6758 6.95568 1.80674 6.70197 1.92132 6.56284L2.09319 6.35415C2.20776 6.23139 2.32643 6.12499 2.44919 6.03497C2.57195 5.93676 2.69881 5.85492 2.82975 5.78945C2.9607 5.72397 3.07527 5.67078 3.17348 5.62986C3.27169 5.58894 3.38627 5.5562 3.51721 5.53165C3.65634 5.5071 3.75455 5.49073 3.81184 5.48254C3.86913 5.46618 3.96325 5.4539 4.09419 5.44572C4.22514 5.42935 4.2947 5.42117 4.30288 5.42117C6.35709 5.27385 8.92279 5.2002 12 5.2002Z\\" /></svg>","comment":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M12 4c-5.19 0-9 3.33-9 7 0 1.756.84 3.401 2.308 4.671l.412.358-.46 3.223 3.456-1.728.367.098c.913.245 1.893.378 2.917.378 5.19 0 9-3.33 9-7s-3.81-7-9-7zM1 11c0-5.167 5.145-9 11-9s11 3.833 11 9-5.145 9-11 9c-1.06 0-2.087-.122-3.06-.352l-6.2 3.1.849-5.94C1.999 15.266 1 13.246 1 11z\\" /></svg>","calendar":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 14 14\\"><path d=\\"M1.892 12.929h10.214V5.5H1.892v7.429zm2.786-8.822v-2.09a.226.226 0 00-.066-.166.226.226 0 00-.166-.065H3.98a.226.226 0 00-.167.065.226.226 0 00-.065.167v2.09c0 .067.022.122.065.166.044.044.1.065.167.065h.465a.226.226 0 00.166-.065.226.226 0 00.066-.167zm5.571 0v-2.09a.226.226 0 00-.065-.166.226.226 0 00-.167-.065h-.464a.226.226 0 00-.167.065.226.226 0 00-.065.167v2.09c0 .067.021.122.065.166.043.044.099.065.167.065h.464a.226.226 0 00.167-.065.226.226 0 00.065-.167zm2.786-.464v9.286c0 .251-.092.469-.276.652a.892.892 0 01-.653.276H1.892a.892.892 0 01-.653-.275.892.892 0 01-.276-.653V3.643c0-.252.092-.47.276-.653a.892.892 0 01.653-.276h.929v-.696c0-.32.113-.593.34-.82.228-.227.501-.34.82-.34h.465c.319 0 .592.113.82.34.227.227.34.5.34.82v.696h2.786v-.696c0-.32.114-.593.34-.82.228-.227.501-.34.82-.34h.465c.32 0 .592.113.82.34.227.227.34.5.34.82v.696h.93c.25 0 .468.092.652.276a.892.892 0 01.276.653z\\" /></svg>","lightning":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 14 14\\"><path d=\\"M8.90179 4.33928C9.00893 4.45833 9.02976 4.58929 8.96429 4.73214L4.14286 15.0625C4.06548 15.2113 3.94048 15.2857 3.76786 15.2857C3.74405 15.2857 3.70238 15.2798 3.64286 15.2679C3.54167 15.2381 3.46429 15.1815 3.41071 15.0982C3.3631 15.0149 3.35119 14.9256 3.375 14.8304L5.13393 7.61607L1.50893 8.51786C1.48512 8.52381 1.4494 8.52679 1.40179 8.52679C1.29464 8.52679 1.20238 8.49405 1.125 8.42857C1.01786 8.33929 0.979167 8.22321 1.00893 8.08036L2.80357 0.714285C2.82738 0.630952 2.875 0.562499 2.94643 0.508928C3.01786 0.455357 3.10119 0.428571 3.19643 0.428571H6.125C6.2381 0.428571 6.33333 0.467261 6.41071 0.544642C6.4881 0.616071 6.52679 0.70238 6.52679 0.803571C6.52679 0.85119 6.5119 0.904761 6.48214 0.964285L4.95536 5.09821L8.49107 4.22321C8.53869 4.21131 8.57441 4.20536 8.59821 4.20536C8.71131 4.20536 8.8125 4.25 8.90179 4.33928Z\\" /></svg>","advertisement":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path fill=\\"#690aa0\\" d=\\"M7.77 6.81c-.12.48-.24 1.09-.37 1.56l-.5 1.71h1.77l-.5-1.71c-.17-.48-.29-1.08-.4-1.56Zm7.4-.02a3.42 3.42 0 0 0-.81.07v5.27a2.89 2.89 0 0 0 .62 0 2.49 2.49 0 0 0 2.7-2.82 2.3 2.3 0 0 0-2.51-2.52Z\\" /><path fill=\\"#690aa0\\" d=\\"M2 2v16h1.9l-.85 4 10.29-4H22V2Zm7.54 11.51-.61-2.07H6.64l-.57 2.07H4.2l2.44-8.06H9l2.47 8.06Zm8.74-1a5.69 5.69 0 0 1-3.69 1 15.22 15.22 0 0 1-2-.12V5.56A15.49 15.49 0 0 1 15 5.39a5.07 5.07 0 0 1 3.27.86 3.57 3.57 0 0 1 1.35 3 4.13 4.13 0 0 1-1.34 3.3Z\\" /></svg>","toc":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" xmlSpace=\\"preserve\\" viewBox=\\"0 0 24 24\\"><path d=\\"M16.8 9h-6.5c-.2 0-.3-.1-.3-.2V7.3c0-.2.1-.3.3-.3h6.5c.1 0 .2.1.2.3v1.5c0 .1-.1.2-.2.2zm-.8 3.8v-1.5c0-.1-.1-.3-.3-.3h-5.5c-.1 0-.3.1-.3.3v1.5c0 .1.1.3.3.3h5.5c.2-.1.3-.2.3-.3zm-2 4v-1.5c0-.1-.1-.3-.3-.3h-3.5c-.1 0-.3.1-.3.3v1.5c0 .1.1.3.3.3h3.5c.2-.1.3-.2.3-.3zm-5-8V7.3c0-.2-.1-.3-.2-.3H7.3c-.2 0-.3.1-.3.3v1.5c0 .1.1.2.3.2h1.5c.1 0 .2-.1.2-.2zm0 4v-1.5c0-.2-.1-.3-.2-.3H7.3c-.2 0-.3.1-.3.3v1.5c0 .1.1.2.3.2h1.5c.1 0 .2-.1.2-.2zm0 4v-1.5c0-.2-.1-.3-.2-.3H7.3c-.2 0-.3.1-.3.3v1.5c0 .1.1.2.3.2h1.5c.1 0 .2-.1.2-.2zm9 5.2H6c-1.7 0-3-1.3-3-3V5c0-1.7 1.3-3 3-3h12c1.7 0 3 1.3 3 3v14c0 1.7-1.3 3-3 3zM6 4c-.6 0-1 .4-1 1v14c0 .6.4 1 1 1h12c.6 0 1-.4 1-1V5c0-.6-.4-1-1-1H6z\\" /></svg>","info_box_icon_1":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 400 400\\">\\n <path fill-opacity=\\".1\\" d=\\"M34.621 29.86H365.38v340.28H34.62z\\"/>\\n <path d=\\"M200 64.02c-15.983 0-29.061 13.078-29.061 29.061 0 15.984 13.078 29.061 29.061 29.061s29.06-13.077 29.06-29.06c0-15.984-13.077-29.061-29.06-29.061Zm2.906 39.523c0 1.744-1.162 2.906-2.906 2.906-1.744 0-2.906-1.162-2.906-2.906V93.081c0-1.743 1.162-2.906 2.906-2.906 1.744 0 2.906 1.163 2.906 2.906v10.462ZM200 85.525c-1.744 0-2.906-1.162-2.906-2.906 0-1.743 1.162-2.906 2.906-2.906 1.744 0 2.906 1.163 2.906 2.906 0 1.744-1.162 2.906-2.906 2.906Z\\"/>\\n <rect width=\\"152.526\\" height=\\"22.37\\" x=\\"123.737\\" y=\\"172.055\\" rx=\\"11.185\\"/>\\n <rect width=\\"261.473\\" height=\\"11.185\\" x=\\"69.263\\" y=\\"220.572\\" rx=\\"5.592\\"/>\\n <rect width=\\"261.473\\" height=\\"11.185\\" x=\\"69.263\\" y=\\"244.831\\" rx=\\"5.592\\"/>\\n <rect width=\\"196.105\\" height=\\"11.185\\" x=\\"101.947\\" y=\\"269.089\\" rx=\\"5.592\\"/>\\n <rect width=\\"98.052\\" height=\\"27.962\\" x=\\"150.974\\" y=\\"313.829\\" rx=\\"8.716\\"/>\\n</svg>","info_box_icon_2":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 400 400\\">\\n <path fill-opacity=\\".1\\" d=\\"M199.743 53.82c21.815 0 39.5 17.685 39.5 39.5s-17.685 39.5-39.5 39.5-39.5-17.685-39.5-39.5c0-21.816 17.685-39.5 39.5-39.5z\\"/>\\n <path d=\\"M199.743 70.403c-12.604 0-22.917 10.313-22.917 22.917 0 12.604 10.313 22.917 22.917 22.917s22.917-10.313 22.917-22.917c0-12.604-10.313-22.917-22.917-22.917zm2.292 31.166c0 1.375-.917 2.292-2.292 2.292s-2.292-.917-2.292-2.292v-8.25c0-1.375.917-2.292 2.292-2.292s2.292.917 2.292 2.292v8.25zm-2.292-14.208c-1.375 0-2.292-.917-2.292-2.292s.917-2.292 2.292-2.292 2.292.917 2.292 2.292-.917 2.292-2.292 2.292zm-65.078 89.559h130.156c6.177 0 11.185 5.008 11.185 11.185 0 6.177-5.008 11.185-11.185 11.185H134.665c-6.177 0-11.185-5.008-11.185-11.185 0-6.177 5.008-11.185 11.185-11.185zm-60.066 48.517h250.288a5.592 5.592 0 1 1 0 11.184H74.599a5.592 5.592 0 0 1-5.592-5.592 5.591 5.591 0 0 1 5.592-5.592zm0 24.259h250.288a5.592 5.592 0 1 1 0 11.184H74.599a5.592 5.592 0 0 1-5.592-5.592 5.591 5.591 0 0 1 5.592-5.592zm32.685 24.259h184.92a5.592 5.592 0 1 1 0 11.184h-184.92a5.592 5.592 0 0 1-5.592-5.592 5.591 5.591 0 0 1 5.592-5.592zm52.149 44.739h80.621a8.716 8.716 0 0 1 8.716 8.716v10.531a8.716 8.716 0 0 1-8.716 8.716h-80.621a8.716 8.716 0 0 1-8.716-8.716V327.41a8.716 8.716 0 0 1 8.716-8.716z\\" class=\\"st1\\"/>\\n <path d=\\"M357.122 370.379H42.365c-4.411 0-8-3.589-8-8V38.099c0-4.411 3.589-8 8-8h314.757c4.411 0 8 3.589 8 8v324.28c0 4.411-3.589 8-8 8zM42.365 33.099c-2.757 0-5 2.243-5 5v324.28c0 2.757 2.243 5 5 5h314.757c2.757 0 5-2.243 5-5V38.099c0-2.757-2.243-5-5-5H42.365z\\" opacity=\\".25\\"/>\\n</svg>","info_box_icon_3":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 400 400\\">\\n <path fill-opacity=\\".25\\" d=\\"M56.195 128.844h50.332v50.332H56.195z\\"/>\\n <path d=\\"M81.361 139.03c-8.239 0-14.98 6.741-14.98 14.98s6.741 14.979 14.98 14.979 14.98-6.74 14.98-14.979c0-8.239-6.741-14.98-14.98-14.98zm1.498 20.372c0 .899-.599 1.498-1.498 1.498s-1.498-.599-1.498-1.498v-5.392c0-.899.599-1.498 1.498-1.498s1.498.599 1.498 1.498v5.392zm-1.498-9.287c-.899 0-1.498-.599-1.498-1.498s.599-1.498 1.498-1.498 1.498.599 1.498 1.498-.599 1.498-1.498 1.498zm-17.976 51.472h165.376a7.19 7.19 0 1 1 0 14.38H63.385a7.19 7.19 0 1 1 0-14.38zm-3.595 31.189h280.42a3.595 3.595 0 1 1 0 7.19H59.79a3.596 3.596 0 0 1 0-7.19zm0 15.595h280.42a3.595 3.595 0 1 1 0 7.19H59.79a3.596 3.596 0 0 1 0-7.19zm0 15.594h118.876a3.595 3.595 0 1 1 0 7.19H59.79a3.596 3.596 0 0 1 0-7.19z\\" class=\\"st1\\"/>\\n <path d=\\"M365.376 292.727H34.625V107.273h330.751v185.454zm-327.157-3.596H361.78V110.868H38.219v178.263z\\" opacity=\\".25\\"/>\\n</svg>","info_box_icon_4":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 400 400\\">\\n <path fill-opacity=\\".25\\" d=\\"M92.634 161.39c21.324 0 38.611 17.287 38.611 38.611 0 21.324-17.287 38.611-38.611 38.611-21.324 0-38.611-17.287-38.611-38.611.001-21.325 17.287-38.611 38.611-38.611z\\"/>\\n <path d=\\"M92.634 178.55c-11.798 0-21.45 9.652-21.45 21.45 0 11.797 9.653 21.45 21.45 21.45 11.797 0 21.45-9.653 21.45-21.45.001-11.798-9.652-21.45-21.45-21.45zm2.145 29.172c0 1.287-.858 2.145-2.145 2.145s-2.145-.858-2.145-2.145V200c0-1.287.858-2.145 2.145-2.145s2.145.858 2.145 2.145v7.722zm-2.145-13.298c-1.287 0-2.145-.858-2.145-2.145 0-1.288.858-2.145 2.145-2.145s2.145.857 2.145 2.145c0 1.286-.858 2.145-2.145 2.145zm65.05-25.421H307.15a6.382 6.382 0 0 1 0 12.764H157.684a6.383 6.383 0 0 1 0-12.764zm-3.191 27.806h188.292a3.191 3.191 0 0 1 0 6.382H154.493a3.192 3.192 0 0 1 0-6.382zm0 13.904h188.292a3.191 3.191 0 0 1 0 6.382H154.493a3.191 3.191 0 0 1 0-6.382zm0 13.903h107.391a3.191 3.191 0 0 1 0 6.382H154.493a3.191 3.191 0 0 1 0-6.382z\\" class=\\"st1\\"/>\\n <path d=\\"M359.267 257.916H40.734a6.022 6.022 0 0 1-6.015-6.016V148.099a6.021 6.021 0 0 1 6.015-6.015h318.533a6.022 6.022 0 0 1 6.015 6.015V251.9a6.023 6.023 0 0 1-6.015 6.016zM40.734 145.302a2.8 2.8 0 0 0-2.797 2.797V251.9a2.802 2.802 0 0 0 2.797 2.799h318.533a2.802 2.802 0 0 0 2.798-2.799V148.099a2.8 2.8 0 0 0-2.798-2.797H40.734z\\" opacity=\\".25\\"/>\\n</svg>","info_box_icon_5":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 400 400\\">\\n <path d=\\"M153.586 176.366h92.827a7.976 7.976 0 0 1 7.977 7.977 7.976 7.976 0 0 1-7.977 7.977h-92.827a7.976 7.976 0 0 1-7.977-7.977 7.976 7.976 0 0 1 7.977-7.977zm-42.839 34.603h178.505a3.99 3.99 0 0 1 0 7.978H110.747a3.99 3.99 0 0 1-3.989-3.989 3.99 3.99 0 0 1 3.989-3.989zm0 17.301h178.505a3.99 3.99 0 0 1 0 7.978H110.747a3.99 3.99 0 0 1-3.989-3.989 3.99 3.99 0 0 1 3.989-3.989zm23.31 17.301h131.884a3.99 3.99 0 0 1 0 7.978H134.057a3.99 3.99 0 0 1-3.989-3.989 3.99 3.99 0 0 1 3.989-3.989zm37.193 31.908h57.499a6.216 6.216 0 0 1 6.216 6.216v7.511a6.216 6.216 0 0 1-6.216 6.216H171.25a6.216 6.216 0 0 1-6.216-6.216v-7.511a6.216 6.216 0 0 1 6.216-6.216zm28.751-191.52c-14.625 0-26.591 11.966-26.591 26.59s11.966 26.59 26.591 26.59c14.624 0 26.59-11.966 26.59-26.59s-11.966-26.59-26.59-26.59zm2.659 36.163c0 1.596-1.064 2.659-2.659 2.659-1.596 0-2.659-1.063-2.659-2.659v-9.572c0-1.596 1.063-2.659 2.659-2.659 1.595 0 2.659 1.064 2.659 2.659v9.572zm-2.659-16.486c-1.596 0-2.659-1.064-2.659-2.659s1.063-2.659 2.659-2.659c1.595 0 2.659 1.064 2.659 2.659s-1.064 2.659-2.659 2.659z\\" class=\\"st0\\"/>\\n <path d=\\"M357.035 112.55H239.887c0-21.993-17.893-39.885-39.886-39.885-21.993 0-39.885 17.893-39.885 39.885H42.965c-4.411 0-8 3.589-8 8v200.78c0 4.411 3.589 8 8 8h314.07c4.411 0 7.999-3.589 7.999-8V120.55c0-4.411-3.588-8-7.999-8zM200.001 76.652c19.794 0 35.897 16.104 35.897 35.897 0 .631-.018 1.258-.049 1.88-.981 18.923-16.685 34.017-35.848 34.017-19.16 0-34.861-15.089-35.847-34.008a35.895 35.895 0 0 1-.05-1.89c0-19.792 16.104-35.896 35.897-35.896zM361.046 321.33a4.016 4.016 0 0 1-4.011 4.012H42.965a4.017 4.017 0 0 1-4.012-4.012V120.55c0-2.212 1.8-4.012 4.012-4.012h117.35c2.008 20.127 19.039 35.897 39.685 35.897 20.647 0 37.678-15.77 39.686-35.897h117.348c2.212 0 4.011 1.8 4.011 4.012v200.78z\\" opacity=\\".25\\"/>\\n</svg>","info_box_icon_6":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 400 400\\">\\n <path d=\\"M63.657 203.854h165.002a7.174 7.174 0 0 1 0 14.348H63.657a7.174 7.174 0 0 1 0-14.348zm-3.587 31.119h279.786a3.587 3.587 0 0 1 0 7.174H60.07a3.587 3.587 0 0 1 0-7.174zm0 15.56h279.786a3.587 3.587 0 0 1 0 7.174H60.07a3.587 3.587 0 0 1 0-7.174zm0 15.559h118.607a3.587 3.587 0 0 1 0 7.174H60.07a3.587 3.587 0 0 1 0-7.174zm32.283-147.129c-13.152 0-23.913 10.761-23.913 23.913s10.761 23.913 23.913 23.913c13.152 0 23.913-10.761 23.913-23.913s-10.761-23.913-23.913-23.913zm2.391 32.522c0 1.434-.957 2.391-2.391 2.391-1.435 0-2.391-.956-2.391-2.391v-8.609c0-1.435.957-2.392 2.391-2.392 1.435 0 2.391.956 2.391 2.392v8.609zm-2.391-14.826c-1.435 0-2.391-.957-2.391-2.392s.957-2.392 2.391-2.392c1.435 0 2.391.956 2.391 2.392 0 1.434-.957 2.392-2.391 2.392z\\" class=\\"st0\\"/>\\n <path d=\\"M357.791 139.289H128.223V114.18a7.182 7.182 0 0 0-7.174-7.174H63.657a7.182 7.182 0 0 0-7.174 7.174v25.109H42.135a7.182 7.182 0 0 0-7.174 7.174v141.151c0 3.955 3.218 7.174 7.174 7.174h315.656c3.955 0 7.174-3.219 7.174-7.174V146.463c0-3.956-3.219-7.174-7.174-7.174zM63.657 110.592h57.392a3.59 3.59 0 0 1 3.587 3.587v57.391a3.59 3.59 0 0 1-3.587 3.587H63.657a3.59 3.59 0 0 1-3.587-3.587v-57.39a3.592 3.592 0 0 1 3.587-3.588zm297.72 177.022a3.59 3.59 0 0 1-3.586 3.586H42.135a3.59 3.59 0 0 1-3.587-3.586V146.463a3.59 3.59 0 0 1 3.587-3.587h14.349v28.695a7.182 7.182 0 0 0 7.174 7.174h57.392a7.182 7.182 0 0 0 7.174-7.174v-28.695h229.568a3.59 3.59 0 0 1 3.586 3.587v141.151z\\" opacity=\\".25\\"/>\\n</svg>","top_separator_icon_1":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 120 100\\">\\n <path d=\\"M116 0H4a4 4 0 0 0-4 4v25.744S33.968 40.025 61.942 40C89.915 39.978 120 29.774 120 29.774V4a4 4 0 0 0-4-4Z\\"/>\\n</svg>","top_separator_icon_2":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 120 100\\">\\n <path d=\\"M116 0H4a4 4 0 0 0-4 4v24l77 10 26.257 1.221C112.375 39.645 120 32.367 120 23.24V4a4 4 0 0 0-4-4Z\\"/>\\n</svg>","top_separator_icon_3":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 120 100\\">\\n <path d=\\"M0 4a4 4 0 0 1 4-4h112a4 4 0 0 1 4 4v36S90.5 22.92 60.5 22.778C30.5 22.635 0 40 0 40V4Z\\"/>\\n</svg>","top_separator_icon_4":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 120 100\\">\\n <path d=\\"M116 0H4a4 4 0 0 0-4 4v24l111.204 11.12c4.709.471 8.796-3.227 8.796-7.96V4a4 4 0 0 0-4-4Z\\"/>\\n</svg>","top_separator_icon_5":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 120 100\\">\\n <path d=\\"M0 4a4 4 0 0 1 4-4h112a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4V4Z\\"/>\\n</svg>","top_separator_icon_6":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 120 100\\">\\n <path d=\\"M116 0H4a4 4 0 0 0-4 4v22.62l31.29 12.686c1.125.457 2.34.65 3.552.568L106 35l14-11V4a4 4 0 0 0-4-4Z\\"/>\\n</svg>","top_separator_icon_7":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 120 100\\">\\n <path d=\\"M116 0H4a4 4 0 0 0-4 4v20l120 16V4a4 4 0 0 0-4-4Z\\"/>\\n</svg>","top_separator_icon_8":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 120 100\\">\\n <path d=\\"m0 40 60-15 60 15V4a4 4 0 0 0-4-4H4a4 4 0 0 0-4 4v36Z\\"/>\\n</svg>","top_separator_icon_9":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 120 100\\">\\n <path d=\\"M0 4a4 4 0 0 1 4-4h112a4 4 0 0 1 4 4v36H0V4Z\\"/>\\n</svg>","top_separator_icon_10":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 120 100\\">\\n <path d=\\"M0 4v34.012c6.2-3.014 11.73-8.263 23.4-3.014C36.8 41.026 48 38.33 58.2 32.46c9.4-5.408 16.6-2.38 21.4 0 17.4 11.263 29 8.465 40.4 1.01V4a4 4 0 0 0-4-4H4a4 4 0 0 0-4 4Z\\"/>\\n</svg>","top_separator_icon_11":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 120 100\\">\\n <path d=\\"M116 0H4a4 4 0 0 0-4 4v31.773c3.775-1.973 7.414.659 9.322 1.593 9.85 4.822 16.463 1.912 19.637 0 6.677-4.496 14.109-11.663 33.917-5.737 16.066 4.807 25.544 7.039 40.86-2.17 7.735-4.652 9.52-4.032 16.264-2.171V4a4 4 0 0 0-4-4Z\\"/>\\n</svg>","top_separator_icon_12":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 120 100\\">\\n <path d=\\"M0 25.913V5.052A5.052 5.052 0 0 1 5.052 0h109.896A5.052 5.052 0 0 1 120 5.052v20.872c-10.5-4.686-25.5-3.087-32.179 0C50.591 43.132 38.5 46.194 0 25.914Z\\"/>\\n</svg>","top_separator_icon_13":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 120 100\\">\\n <path d=\\"M0 4v35.634c9.5-5.923 11-1.991 27.5.223 6.365.854 10.569-2.231 14.752-6.002a7.345 7.345 0 0 1 5.3-1.864c12.92.666 12.994-1.967 20.448-6.346 5.343-3.14 9-3.073 12.5-1.537 25 9.987 33.5 6.62 39.5 3.548V4a4 4 0 0 0-4-4H4a4 4 0 0 0-4 4Z\\"/>\\n</svg>","top_separator_1":"<svg width=\\"24\\" height=\\"24\\" xmlns=\\"http://www.w3.org/2000/svg\\" preserveAspectRatio=\\"none\\" viewBox=\\"0 0 1600 200\\" type=\\"frontendIcon\\" class=\\"blockart-icon\\" aria-hidden=\\"true\\">\\n <path d=\\"M1600 0H0v77.455S452.906 200.307 825.888 200C1198.87 199.726 1600 74.336 1600 74.336V0Z\\"></path>\\n</svg>","top_separator_2":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" className=\\\\\\"blockart-icon\\\\\\" preserveAspectRatio=\\"none\\" viewBox=\\"0 0 1600 200\\">\\n <path d=\\"M1600 0H0v57.582L1026.67 182.93l365.53 15.984C1505.47 203.866 1600 113.375 1600 0Z\\"/>\\n</svg>","top_separator_3":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" className=\\\\\\"blockart-icon\\\\\\" preserveAspectRatio=\\"none\\" viewBox=\\"0 0 1600 200\\">\\n <path d=\\"M0 0h1600v199.769S1203 43.202 803 41.452 0 200 0 200V0Z\\"/>\\n</svg>","top_separator_4":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" className=\\\\\\"blockart-icon\\\\\\" preserveAspectRatio=\\"none\\" viewBox=\\"0 0 1600 200\\">\\n <path d=\\"M0 0h1600v146.667c0 29.455-23.88 53.333-53.33 53.333H53.333C23.878 200 0 176.122 0 146.667V0Z\\"/>\\n</svg>","top_separator_5":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" className=\\\\\\"blockart-icon\\\\\\" preserveAspectRatio=\\"none\\" viewBox=\\"0 0 1600 200\\">\\n <path d=\\"M0 0h1600v146.667c0 29.455-23.88 53.333-53.33 53.333H53.333C23.878 200 0 176.122 0 146.667V0Z\\"/>\\n</svg>","top_separator_6":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" className=\\\\\\"blockart-icon\\\\\\" preserveAspectRatio=\\"none\\" viewBox=\\"0 0 1600 200\\">\\n <path d=\\"M1600 0H0v34.923L418.49 192.88a106.674 106.674 0 0 0 44.455 6.656l950.385-60.598L1600 2.405V0Z\\"/>\\n</svg>","top_separator_7":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" className=\\\\\\"blockart-icon\\\\\\" preserveAspectRatio=\\"none\\" viewBox=\\"0 0 1600 200\\">\\n <path d=\\"M1600 0H0v65.5L1600 200V0Z\\"/>\\n</svg>","top_separator_8":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" className=\\\\\\"blockart-icon\\\\\\" preserveAspectRatio=\\"none\\" viewBox=\\"0 0 1600 200\\">\\n <path d=\\"M0 200 805 48l795 152V0H0v200Z\\"/>\\n</svg>","top_separator_9":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" className=\\\\\\"blockart-icon\\\\\\" preserveAspectRatio=\\"none\\" viewBox=\\"0 0 1600 200\\">\\n <path d=\\"M0 0h1600v200H0z\\"/>\\n</svg>","top_separator_10":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" className=\\\\\\"blockart-icon\\\\\\" preserveAspectRatio=\\"none\\" viewBox=\\"0 0 1600 200\\">\\n <path d=\\"M0 0v175.755c82.667-37.118 155.399-101.941 311-37.287 178.667 74.238 328 41.026 464-31.258 125.333-66.615 221.333-29.305 285.33 0 232 138.707 387.67 104.103 539.67 12.282V0H0Z\\"/>\\n</svg>","top_separator_11":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" className=\\\\\\"blockart-icon\\\\\\" preserveAspectRatio=\\"none\\" viewBox=\\"0 0 1600 200\\">\\n <path d=\\"M1600 0H0v147.774c50.336-24.373 98.853 8.137 124.298 19.681 131.317 59.579 219.504 23.626 261.818 0 89.036-55.552 188.123-144.093 452.231-70.878 214.213 59.385 340.593 86.962 544.793-26.818 103.14-57.469 126.94-49.58 216.86-26.593V0Z\\"/>\\n</svg>","top_separator_12":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" className=\\\\\\"blockart-icon\\\\\\" preserveAspectRatio=\\"none\\" viewBox=\\"0 0 1600 200\\">\\n <path d=\\"M0 27.408V0h1600v27.54c-149-28.04-318.11-11.844-429.05 0C674 80.595 682 387.628 0 27.408Z\\"/>\\n</svg>","top_separator_13":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" className=\\\\\\"blockart-icon\\\\\\" preserveAspectRatio=\\"none\\" viewBox=\\"0 0 1600 200\\">\\n <path d=\\"M0 0v195.789c126.667-72.448 146.667-24.355 366.667 2.722 90.955 11.194 114.349-43.063 195.571-84.48 16.822-8.578 35.981-11.488 54.851-10.8 182.337 6.649 174.318-.809 275.911-55.564 91.301-49.207 196.04-13.71 236.24-.089l.26.09c337.77 114.464 390.5 39.199 470.5 1.614V0H0Z\\"/>\\n</svg>","bottom_separator_icon_1":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 120 100\\">\\n <path d=\\"M116 100H4a4 4 0 0 1-4-4V70.257S33.968 59.975 61.942 60C89.915 60.022 120 70.226 120 70.226V96a4 4 0 0 1-4 4Z\\"/>\\n</svg>","bottom_separator_icon_2":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 120 100\\">\\n <path d=\\"M116 100H4a4 4 0 0 1-4-4V72l77-10 26.257-1.221C112.375 60.355 120 67.633 120 76.76V96a4 4 0 0 1-4 4Z\\"/>\\n</svg>","bottom_separator_icon_3":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 120 100\\">\\n <path d=\\"M0 96a4 4 0 0 0 4 4h112a4 4 0 0 0 4-4V60S90.5 77.08 60.5 77.222C30.5 77.365 0 60 0 60v36Z\\"/>\\n</svg>","bottom_separator_icon_4":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 120 100\\">\\n <path d=\\"M116 100H4a4 4 0 0 1-4-4V72l111.204-11.12c4.709-.471 8.796 3.227 8.796 7.96V96a4 4 0 0 1-4 4Z\\"/>\\n</svg>","bottom_separator_icon_5":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 120 100\\">\\n <path d=\\"M0 96a4 4 0 0 0 4 4h112a4 4 0 0 0 4-4V64a4 4 0 0 0-4-4H4a4 4 0 0 0-4 4v32Z\\"/>\\n</svg>","bottom_separator_icon_6":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 120 100\\">\\n <path d=\\"M116 100H4a4 4 0 0 1-4-4V73.38l31.29-12.686a7.998 7.998 0 0 1 3.552-.568L106 65l14 11v20a4 4 0 0 1-4 4Z\\"/>\\n</svg>","bottom_separator_icon_7":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 120 100\\">\\n <path d=\\"M116 100H4a4 4 0 0 1-4-4V76l120-16v36a4 4 0 0 1-4 4Z\\"/>\\n</svg>","bottom_separator_icon_8":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 120 100\\">\\n <path d=\\"m0 60 60 15 60-15v36a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4V60Z\\"/>\\n</svg>","bottom_separator_icon_9":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 120 100\\">\\n <path d=\\"M0 96a4 4 0 0 0 4 4h112a4 4 0 0 0 4-4V60H0v36Z\\"/>\\n</svg>","bottom_separator_icon_10":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 120 100\\">\\n <path d=\\"M0 96V61.988c6.2 3.014 11.73 8.263 23.4 3.014C36.8 58.974 48 61.67 58.2 67.54c9.4 5.408 16.6 2.38 21.4 0 17.4-11.263 29-8.465 40.4-1.01V96a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4Z\\"/>\\n</svg>","bottom_separator_icon_11":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 120 100\\">\\n <path d=\\"M116 100H4a4 4 0 0 1-4-4V64.227c3.775 1.973 7.414-.659 9.322-1.593 9.85-4.822 16.463-1.912 19.637 0 6.677 4.496 14.109 11.663 33.917 5.737 16.066-4.807 25.544-7.039 40.86 2.17 7.735 4.652 9.52 4.032 16.264 2.171V96a4 4 0 0 1-4 4Z\\"/>\\n</svg>","bottom_separator_icon_12":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 120 100\\">\\n <path d=\\"M0 74.087v20.861A5.052 5.052 0 0 0 5.052 100h109.896A5.052 5.052 0 0 0 120 94.948V74.076c-10.5 4.686-25.5 3.087-32.179 0C50.591 56.868 38.5 53.806 0 74.086Z\\"/>\\n</svg>","bottom_separator_icon_13":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 120 100\\">\\n <path d=\\"M0 96V60.366c9.5 5.923 11 1.991 27.5-.223 6.365-.854 10.569 2.231 14.752 6.002a7.345 7.345 0 0 0 5.3 1.865c12.92-.667 12.994 1.966 20.448 6.345 5.343 3.14 9 3.073 12.5 1.537 25-9.987 33.5-6.62 39.5-3.548V96a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4Z\\"/>\\n</svg>","bottom_separator_1":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" className=\\\\\\"blockart-icon\\\\\\" preserveAspectRatio=\\"none\\" viewBox=\\"0 0 1600 200\\">\\n <path d=\\"M1600 200H0v-77.455S452.906-.307 825.888.001C1198.87.274 1600 125.664 1600 125.664V200Z\\"/>\\n</svg>","bottom_separator_2":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" className=\\\\\\"blockart-icon\\\\\\" preserveAspectRatio=\\"none\\" viewBox=\\"0 0 1600 200\\">\\n <path d=\\"M1600 200H0v-57.582L1026.67 17.07 1392.2 1.086C1505.47-3.866 1600 86.625 1600 200Z\\"/>\\n</svg>","bottom_separator_3":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" className=\\\\\\"blockart-icon\\\\\\" preserveAspectRatio=\\"none\\" viewBox=\\"0 0 1600 200\\">\\n <path d=\\"M0 200h1600V.23s-397 156.568-797 158.318S0 0 0 0v200Z\\"/>\\n</svg>","bottom_separator_4":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" className=\\\\\\"blockart-icon\\\\\\" preserveAspectRatio=\\"none\\" viewBox=\\"0 0 1600 200\\">\\n <path d=\\"M0 200h1600V53.333C1600 23.878 1576.12 0 1546.67 0H53.333C23.878 0 0 23.878 0 53.333V200Z\\"/>\\n</svg>","bottom_separator_5":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" className=\\\\\\"blockart-icon\\\\\\" preserveAspectRatio=\\"none\\" viewBox=\\"0 0 1600 200\\">\\n <path d=\\"M1600 200H0v-65.433L1483.8 1.427c62.42-5.602 116.2 43.566 116.2 106.239V200Z\\"/>\\n</svg>","bottom_separator_6":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" className=\\\\\\"blockart-icon\\\\\\" preserveAspectRatio=\\"none\\" viewBox=\\"0 0 1600 200\\">\\n <path d=\\"M1600 200H0v-34.923L418.49 7.119A106.667 106.667 0 0 1 462.945.463l950.385 60.598L1600 197.595V200Z\\"/>\\n</svg>","bottom_separator_7":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" className=\\\\\\"blockart-icon\\\\\\" preserveAspectRatio=\\"none\\" viewBox=\\"0 0 1600 200\\">\\n <path d=\\"M1600 200H0v-65.5L1600 0v200Z\\"/>\\n</svg>","bottom_separator_8":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" className=\\\\\\"blockart-icon\\\\\\" preserveAspectRatio=\\"none\\" viewBox=\\"0 0 1600 200\\">\\n <path d=\\"m0 0 805 152L1600 0v200H0V0Z\\"/>\\n</svg>","bottom_separator_9":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" className=\\\\\\"blockart-icon\\\\\\" preserveAspectRatio=\\"none\\" viewBox=\\"0 0 1600 200\\">\\n <path d=\\"M0 200h1600V0H0z\\"/>\\n</svg>","bottom_separator_10":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" className=\\\\\\"blockart-icon\\\\\\" preserveAspectRatio=\\"none\\" viewBox=\\"0 0 1600 200\\">\\n <path d=\\"M0 199.933V24.193c82.667 37.037 155.399 101.72 311 37.205 178.667-74.078 328-40.937 464 31.19 125.333 66.471 221.333 29.242 285.33 0C1292.33-45.818 1448-11.287 1600 80.335v119.599s-1600 .151-1600 0Z\\"/>\\n</svg>","bottom_separator_11":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" className=\\\\\\"blockart-icon\\\\\\" preserveAspectRatio=\\"none\\" viewBox=\\"0 0 1600 200\\">\\n <path d=\\"M1600 200H0V52.226C50.336 76.6 98.853 44.09 124.298 32.545c131.317-59.579 219.504-23.626 261.818 0 89.036 55.552 188.123 144.093 452.231 70.877 214.213-59.384 340.593-86.96 544.793 26.819 103.14 57.469 126.94 49.58 216.86 26.593V200Z\\"/>\\n</svg>","bottom_separator_12":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" className=\\\\\\"blockart-icon\\\\\\" preserveAspectRatio=\\"none\\" viewBox=\\"0 0 1600 200\\">\\n <path d=\\"M0 172.592V200l1600-.5v-35.326c-149 28.04-318.11 20.13-429.05 8.286C674 119.405 682-187.628 0 172.592Z\\"/>\\n</svg>","bottom_separator_13":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" className=\\\\\\"blockart-icon\\\\\\" preserveAspectRatio=\\"none\\" viewBox=\\"0 0 1600 200\\">\\n <path d=\\"M0 200V4.224c126.667 72.444 146.667 24.354 366.667-2.721 90.955-11.194 114.349 43.06 195.572 84.474 16.821 8.577 35.98 11.487 54.848 10.799 182.339-6.649 174.32.809 275.913 55.56 91.301 49.204 196.04 13.71 236.24.089l.26-.089c337.77-114.457 390.5-39.197 470.5-1.615v48.286L0 200Z\\"/>\\n</svg>","social_share":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M6 15c.9 0 1.7-.3 2.4-.9l6.3 3.6c-.1.3-.1.6-.1.9 0 1.9 1.6 3.5 3.5 3.6 1.9 0 3.5-1.6 3.6-3.5 0-1.9-1.6-3.5-3.5-3.6-.9 0-1.8.3-2.4.9l-6.3-3.6c.1-.2.1-.5.1-.8l6.1-3.5c1.4 1.3 3.6 1.2 4.9-.2 1.3-1.4 1.2-3.6-.2-4.9-1.4-1.3-3.6-1.2-4.9.2-.6.6-.9 1.5-.9 2.4 0 .3 0 .6.1.8L8.9 9.6c-1-1.6-3.2-2.1-4.8-1C2.5 9.7 2 11.8 3 13.4c.7 1 1.8 1.6 3 1.6Zm12 2c.8 0 1.5.7 1.5 1.5S18.8 20 18 20s-1.5-.7-1.5-1.5.6-1.5 1.5-1.5Zm0-13c.8 0 1.5.7 1.5 1.5S18.8 7 18 7s-1.5-.7-1.5-1.5S17.1 4 18 4ZM6 10c.8 0 1.5.7 1.5 1.5S6.8 13 6 13s-1.5-.7-1.5-1.5S5.1 10 6 10Z\\"/></svg>","social_preset_1":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 120 100\\"><path fillRule=\\"evenodd\\" d=\\"M40 40a4 4 0 0 0-4-4H16a4 4 0 0 0-4 4v20a4 4 0 0 0 4 4h20a4 4 0 0 0 4-4V40ZM26 57a7 7 0 1 0 0-14 7 7 0 0 0 0 14Zm48-17a4 4 0 0 0-4-4H50a4 4 0 0 0-4 4v20a4 4 0 0 0 4 4h20a4 4 0 0 0 4-4V40ZM60 57a7 7 0 1 0 0-14 7 7 0 0 0 0 14Zm48-17a4 4 0 0 0-4-4H84a4 4 0 0 0-4 4v20a4 4 0 0 0 4 4h20a4 4 0 0 0 4-4V40ZM94 57a7 7 0 1 0 0-14 7 7 0 0 0 0 14Z\\" clipRule=\\"evenodd\\" /></svg>","social_preset_2":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 120 100\\"><path fillRule=\\"evenodd\\" d=\\"M26 64c7.732 0 14-6.268 14-14s-6.268-14-14-14-14 6.268-14 14 6.268 14 14 14Zm0-7a7 7 0 1 0 0-14 7 7 0 0 0 0 14Zm34 7c7.732 0 14-6.268 14-14s-6.268-14-14-14-14 6.268-14 14 6.268 14 14 14Zm0-7a7 7 0 1 0 0-14 7 7 0 0 0 0 14Zm34 7c7.732 0 14-6.268 14-14s-6.268-14-14-14-14 6.268-14 14 6.268 14 14 14Zm0-7a7 7 0 1 0 0-14 7 7 0 0 0 0 14Z\\" clipRule=\\"evenodd\\" /></svg>","social_preset_3":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 120 100\\"><path fillRule=\\"evenodd\\" d=\\"M40 36H12v28h28V36ZM26 57a7 7 0 1 0 0-14 7 7 0 0 0 0 14Zm48-21H46v28h28V36ZM60 57a7 7 0 1 0 0-14 7 7 0 0 0 0 14Zm48-21H80v28h28V36ZM94 57a7 7 0 1 0 0-14 7 7 0 0 0 0 14Z\\" clipRule=\\"evenodd\\" /></svg>","whatsapp":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" xml:space=\\"preserve\\" viewBox=\\"0 0 24 24\\"><path d=\\"M12 2C6.477 2 2 6.477 2 12c0 1.876.527 3.625 1.426 5.125L2.09 22l4.979-1.307A9.938 9.938 0 0 0 12 22c5.523 0 10-4.477 10-10S17.523 2 12 2zM8.577 7.335c.162 0 .329-.001.474.007.178.004.372.017.558.428.221.488.702 1.713.763 1.838.062.124.105.27.02.433-.082.167-.124.268-.244.415-.124.143-.26.321-.373.43-.124.124-.252.26-.109.508.143.248.641 1.059 1.377 1.714.946.845 1.744 1.105 1.992 1.229.248.124.392.105.535-.062.148-.162.619-.72.786-.968.163-.248.328-.205.553-.124.228.082 1.446.681 1.694.806s.411.186.474.286c.064.104.064.6-.142 1.178s-1.217 1.136-1.67 1.175c-.457.042-.884.206-2.974-.617-2.52-.992-4.109-3.574-4.233-3.74-.123-.163-1.008-1.343-1.008-2.559 0-1.221.64-1.819.864-2.067a.91.91 0 0 1 .663-.31z\\"/></svg>","telegram":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" xml:space=\\"preserve\\" viewBox=\\"0 0 24 24\\"><path d=\\"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm3.45 14.076c.184-.564 1.046-6.189 1.152-7.297.032-.336-.074-.559-.282-.658-.251-.121-.623-.061-1.055.095-.592.213-8.163 3.428-8.6 3.614-.415.176-.807.368-.807.647 0 .196.116.306.436.42a33.41 33.41 0 0 0 1.667.51c.477.132 1.02.017 1.324-.172.323-.2 4.046-2.692 4.313-2.91.267-.218.48.061.262.28-.218.218-2.774 2.699-3.111 3.042-.409.417-.119.849.156 1.022.313.197 2.568 1.71 2.907 1.952.34.243.684.353.999.353s.482-.416.639-.898z\\"/></svg>","stumbleUpon":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" xml:space=\\"preserve\\" viewBox=\\"0 0 24 24\\"><path d=\\"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm0 7.083a.418.418 0 0 0-.417.417v4.167a2.92 2.92 0 0 1-2.917 2.917 2.92 2.92 0 0 1-2.917-2.917v-2.083h2.5v2.083a.417.417 0 0 0 .834 0V9.5c0-1.608 1.309-2.917 2.917-2.917s2.917 1.309 2.917 2.917v1.042l-1.25.625-1.25-.625V9.5A.418.418 0 0 0 12 9.083zm6.25 4.584a2.92 2.92 0 0 1-2.917 2.917 2.92 2.92 0 0 1-2.917-2.917v-1.875l1.25.625 1.25-.625v1.875a.417.417 0 0 0 .834 0v-2.5h2.5v2.5z\\"/></svg>","skype":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" xml:space=\\"preserve\\" viewBox=\\"0 0 24 24\\"><path d=\\"M21.142 13.215c.053-.398.089-.802.089-1.215A9.231 9.231 0 0 0 12 2.769c-.412 0-.816.036-1.215.089A5.738 5.738 0 0 0 7.769 2 5.77 5.77 0 0 0 2 7.769c0 1.107.318 2.138.858 3.016A9.204 9.204 0 0 0 2.769 12 9.231 9.231 0 0 0 12 21.231c.412 0 .816-.036 1.215-.089.878.54 1.909.858 3.016.858A5.77 5.77 0 0 0 22 16.231a5.738 5.738 0 0 0-.858-3.016zm-9.027 4.17c-2.997 0-4.718-1.571-4.718-3.112 0-.786.823-1.038 1.152-1.038.761 0 1.014.621 1.152.905.773 1.589 1.516 1.38 2.248 1.449.647.061 2.165-.225 2.165-1.334 0-.106.167-.828-1.144-1.185-.838-.229-2.315-.51-3.53-.978-1.143-.44-1.814-1.346-1.814-2.514 0-.584.299-2.963 4.347-2.963 2.702 0 4.142 1.384 4.142 2.602 0 .28-.107.527-.322.749a1.177 1.177 0 0 1-1.482.124c-.167-.107-.305-.329-.469-.618-.197-.362-.521-1.062-2.016-1.062-1.45 0-1.852.692-1.852.98 0 .969 1.85 1.173 2.347 1.302 1.814.468 4.282.898 4.282 3.343-.001 2.807-2.922 3.35-4.488 3.35z\\"/></svg>","pocket":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" xml:space=\\"preserve\\" viewBox=\\"0 0 24 24\\"><path d=\\"M16.312 9.331a.932.932 0 0 1 0 1.32l-3.632 3.631a.93.93 0 0 1-.669.273.928.928 0 0 1-.692-.273l-3.631-3.631a.933.933 0 0 1 1.32-1.32L12 12.322l2.992-2.992a.934.934 0 0 1 1.32.001zM22 4.5v15a2.5 2.5 0 0 1-2.5 2.5h-15A2.5 2.5 0 0 1 2 19.5v-15A2.5 2.5 0 0 1 4.5 2h15A2.5 2.5 0 0 1 22 4.5zm-2.969 2.831c0-1.027-.827-1.86-1.846-1.86H6.814a1.854 1.854 0 0 0-1.846 1.86v5.152c0 .096.007.19.021.281a4.094 4.094 0 0 0-.021.416c0 2.953 3.148 5.348 7.031 5.348 3.883 0 7.031-2.395 7.031-5.348 0-.14-.008-.279-.021-.416.014-.092.021-.186.021-.281V7.331z\\"/></svg>","googlePlus":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" xml:space=\\"preserve\\" viewBox=\\"0 0 24 24\\"><path d=\\"M8.429 5.571C4.877 5.571 2 8.448 2 12s2.877 6.429 6.429 6.429 6.429-2.877 6.429-6.429c0-.441-.047-.871-.134-1.286l-.033-.142H8.429v2.143h4.286c-.34 2.026-2.162 3.571-4.286 3.571-2.366 0-4.286-1.92-4.286-4.286s1.92-4.286 4.286-4.286c1.071 0 2.048.396 2.801 1.046l1.535-1.504a6.404 6.404 0 0 0-4.336-1.685zm10 2.858v2.143h-2.143V12h2.143v2.143h1.429V12H22v-1.429h-2.143V8.429h-1.428z\\"/></svg>","buffer":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" xml:space=\\"preserve\\" viewBox=\\"0 0 24 24\\"><path d=\\"m2.358 7.236 8.809 4.254c.229.109.536.167.838.167.302 0 .609-.057.838-.167l8.809-4.254c.463-.224.463-.588 0-.812L12.843 2.17c-.229-.109-.536-.167-.838-.167s-.609.057-.838.167L2.358 6.424c-.463.224-.463.588 0 .812zm19.294 4.358s-1.609-.776-1.822-.88-.271-.099-.495.005c-.224.104-6.497 3.134-6.497 3.134-.234.11-.536.167-.838.167-.302 0-.609-.057-.838-.167 0 0-6.107-2.947-6.393-3.087-.312-.151-.401-.151-.682-.016l-1.739.838c-.463.224-.463.588 0 .812l8.809 4.254c.229.109.536.167.838.167.302 0 .609-.057.838-.167l8.809-4.254c.474-.218.474-.582.01-.806zm0 5.17s-1.609-.776-1.822-.88-.271-.099-.495.005c-.224.104-6.492 3.139-6.492 3.139-.234.109-.536.167-.838.167s-.609-.057-.838-.167c0 0-6.107-2.947-6.393-3.087-.312-.151-.401-.151-.682-.016l-1.739.838c-.463.224-.463.588 0 .812l8.809 4.254c.229.115.536.167.838.167s.609-.057.838-.167l8.809-4.254c.469-.223.469-.587.005-.811z\\"/></svg>","tabs":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" fill=\\"none\\" viewBox=\\"0 0 24 24\\"><path fill=\\"#2563EB\\" fillRule=\\"evenodd\\" d=\\"M6 10V4H4v16h16V10H6Zm16-2v14H2V2h6v6h14Z\\" clipRule=\\"evenodd\\" /><path fill=\\"#2563EB\\" fillRule=\\"evenodd\\" d=\\"M13.5 3.5h-3v2h3v-2ZM9 2v5h6V2H9Zm11.5 1.5h-3v2h3v-2ZM16 2v5h6V2h-6Z\\" clipRule=\\"evenodd\\" /></svg>","progress":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path fill-rule=\\"evenodd\\" d=\\"M20 9.7H4a.3.3 0 0 0-.3.3v4a.3.3 0 0 0 .3.3h16a.3.3 0 0 0 .3-.3v-4a.3.3 0 0 0-.3-.3ZM4 8a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2H4Z\\" clip-rule=\\"evenodd\\"/><path d=\\"M3 9h7v6H3V9Z\\"/></svg>","call_to_action":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path fill-rule=\\"evenodd\\" d=\\"M3 5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2h-4v-2h4V5H5v7h7.5v2H5a2 2 0 0 1-2-2V5Z\\" clip-rule=\\"evenodd\\"/><path fill-rule=\\"evenodd\\" d=\\"M12.046 9.848a.699.699 0 0 1 .786.124l7.25 6.897a.703.703 0 0 1 .158.793.696.696 0 0 1-.692.413l-3.638-.292-2.085 3.045a.696.696 0 0 1-.753.28.703.703 0 0 1-.52-.617l-.897-9.95a.699.699 0 0 1 .392-.693Zm1.168 2.417.556 6.164 1.215-1.774a.696.696 0 0 1 .63-.301l2.072.166-4.473-4.255Z\\" clip-rule=\\"evenodd\\"/><path d=\\"M7 8.25c0 .45.333.75.833.75h8.334c.5 0 .833-.3.833-.75s-.333-.75-.833-.75H7.833c-.5 0-.833.375-.833.75Z\\"/></svg>","tab_design_1":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 400 400\\"><path d=\\"M209.824 119.198a5 5 0 0 0-5-5h-40a5 5 0 0 0 0 10h40a5 5 0 0 0 5-5zm60.865 0a5 5 0 0 0-5-5h-40a5 5 0 0 0 0 10h40a5 5 0 0 0 5-5zM306 285.802H94c-5.514 0-10-4.486-10-10V157.883c0-5.514 4.486-10 10-10h212c5.514 0 10 4.486 10 10v117.919c0 5.514-4.486 10-10 10zM94 151.883c-3.309 0-6 2.691-6 6v117.919c0 3.309 2.691 6 6 6h212c3.309 0 6-2.691 6-6V157.883c0-3.309-2.691-6-6-6H94zm215-14.865H91a.978.978 0 0 1 0-1.956h218a.978.978 0 0 1 0 1.956z\\" opacity=\\".25\\"/><path d=\\"M148.96 119.198a5 5 0 0 0-5-5h-40a5 5 0 0 0 0 10h40a5 5 0 0 0 5-5zm147.08 99.645H103.96a5 5 0 0 1 0-10h192.08a5 5 0 0 1 0 10zm0-26H103.96a5 5 0 0 1 0-10h192.08a5 5 0 0 1 0 10zm-77.723 52H103.96a5 5 0 0 1 0-10h114.357a5 5 0 0 1 0 10zM152.96 137.04h-62a1 1 0 0 1 0-2h62a1 1 0 0 1 0 2z\\"/></svg>","tab_design_2":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 400 400\\"><path d=\\"M317.641 272H163.459c-2.753 0-4.909-2.636-4.909-6V134c0-3.364 2.156-6 4.909-6h154.182c2.753 0 4.909 2.636 4.909 6v132c0 3.365-2.156 6-4.909 6zM163.459 132c-.234 0-.909.688-.909 2v132c0 1.313.675 2 .909 2h154.182c.233 0 .909-.688.909-2V134c0-1.313-.676-2-.909-2H163.459zm-36.009 34.449a5 5 0 0 0-5-5h-40a5 5 0 0 0 0 10h40a5 5 0 0 0 5-5zm0 23.873a5 5 0 0 0-5-5h-40a5 5 0 0 0 0 10h40a5 5 0 0 0 5-5zm13.6 77.839v-138a1 1 0 0 0-2 0v138a1 1 0 0 0 2 0z\\" opacity=\\".25\\"/><path d=\\"M288.55 166.707h-100a5 5 0 0 1 0-10h100a5 5 0 0 1 0 10zm0 25.293h-100a5 5 0 0 1 0-10h100a5 5 0 0 1 0 10zm-40 25.293h-60a5 5 0 0 1 0-10h60a5 5 0 0 1 0 10zm-121.1-74.718a5 5 0 0 0-5-5h-40a5 5 0 0 0 0 10h40a5 5 0 0 0 5-5zm13.6 10.586v-23a1 1 0 0 0-2 0v23a1 1 0 0 0 2 0z\\"/></svg>","tab_design_3":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 400 400\\"><path d=\\"M115 191h170a5 5 0 0 1 0 10H115a4.998 4.998 0 0 1-3.536-8.536A4.998 4.998 0 0 1 115 191zm0 26h110a4.999 4.999 0 1 1 0 10H115a5.001 5.001 0 0 1 0-10zm36.636-88.54a5 5 0 0 0-5-5h-40a5 5 0 0 0 0 10h40a5 5 0 0 0 5-5z\\"/><path d=\\"M306 291H94c-4.411 0-8-3.589-8-8V119c0-5.514 4.486-10 10-10h61.272c5.514 0 10 4.486 10 10v24H306c4.411 0 8 3.589 8 8v132c0 4.411-3.589 8-8 8zM96 113c-3.309 0-6 2.691-6 6v164c0 2.206 1.794 4 4 4h212c2.206 0 4-1.794 4-4V151c0-2.206-1.794-4-4-4H165.272a2 2 0 0 1-2-2v-26c0-3.309-2.691-6-6-6H96zm129.798 15.46a5 5 0 0 0-5-5h-40a5 5 0 0 0 0 10h40a5 5 0 0 0 5-5zm74.162 0a5 5 0 0 0-5-5h-40a5 5 0 0 0 0 10h40a5 5 0 0 0 5-5z\\" opacity=\\".25\\"/></svg>","tab_design_4":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 400 400\\"><path d=\\"M145.071 147.49a5 5 0 0 0-5-5h-40a5 5 0 0 0 0 10h40a5 5 0 0 0 5-5zM296.04 203h-120a5 5 0 0 1 0-10h120a5 5 0 0 1 0 10zm0-26h-120a5 5 0 0 1 0-10h120a5 5 0 0 1 0 10zm-50 52h-70a5 5 0 0 1 0-10h70a5 5 0 0 1 0 10z\\"/><path d=\\"M145.071 180.625a5 5 0 0 0-5-5h-40a5 5 0 0 0 0 10h40a5 5 0 0 0 5-5zm0 33.135a5 5 0 0 0-5-5h-40a5 5 0 0 0 0 10h40a5 5 0 0 0 5-5zM306 268.96H166.48c-5.514 0-10-4.486-10-10v-94.52H94c-5.514 0-10-4.486-10-10v-13.4c0-5.514 4.486-10 10-10h212c5.514 0 10 4.486 10 10v117.92c0 5.514-4.486 10-10 10zM94 135.04c-3.309 0-6 2.691-6 6v13.4c0 3.309 2.691 6 6 6h64.48a2 2 0 0 1 2 2v96.52c0 3.309 2.691 6 6 6H306c3.309 0 6-2.691 6-6V141.04c0-3.309-2.691-6-6-6H94z\\" opacity=\\".25\\"/></svg>","tab_design_5":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 400 400\\"><path d=\\"M115 201.818h170a5 5 0 0 1 0 10H115a5 5 0 0 1 0-10zm0-28h170a5 5 0 0 1 0 10H115a5 5 0 0 1 0-10zm0 54h110a5 5 0 0 1 0 10H115a5 5 0 0 1 0-10zm25-91.635H96c-5.514 0-10-4.486-10-10v-12c0-5.514 4.486-10 10-10h44c5.514 0 10 4.486 10 10v12c0 5.514-4.486 10-10 10zm-44-28c-3.309 0-6 2.691-6 6v12c0 3.309 2.691 6 6 6h44c3.309 0 6-2.691 6-6v-12c0-3.309-2.691-6-6-6H96zm39.86 12c0-1.972-1.6-3.572-3.572-3.572h-28.576a3.573 3.573 0 0 0 0 7.144h28.576c1.973 0 3.572-1.6 3.572-3.572z\\"/><path d=\\"M306 293.818H94c-4.411 0-8-3.589-8-8v-132c0-4.411 3.589-8 8-8h212c4.411 0 8 3.589 8 8v132c0 4.411-3.589 8-8 8zm-212-144c-2.206 0-4 1.794-4 4v132c0 2.206 1.794 4 4 4h212c2.206 0 4-1.794 4-4v-132c0-2.206-1.794-4-4-4H94zm117.2-13.635h-44c-5.514 0-10-4.486-10-10v-12c0-5.514 4.486-10 10-10h44c5.514 0 10 4.486 10 10v12c0 5.514-4.486 10-10 10zm-44-28c-3.309 0-6 2.691-6 6v12c0 3.309 2.691 6 6 6h44c3.309 0 6-2.691 6-6v-12c0-3.309-2.691-6-6-6h-44zm39.86 12c0-1.972-1.6-3.572-3.572-3.572h-28.576a3.573 3.573 0 0 0 0 7.144h28.576c1.973 0 3.572-1.6 3.572-3.572zm76.58 16h-44c-5.514 0-10-4.486-10-10v-12c0-5.514 4.486-10 10-10h44c5.514 0 10 4.486 10 10v12c0 5.514-4.487 10-10 10zm-44-28c-3.309 0-6 2.691-6 6v12c0 3.309 2.691 6 6 6h44c3.309 0 6-2.691 6-6v-12c0-3.309-2.691-6-6-6h-44zm39.86 12c0-1.972-1.6-3.572-3.572-3.572h-28.576a3.573 3.573 0 0 0 0 7.144h28.576c1.973 0 3.572-1.6 3.572-3.572z\\" opacity=\\".25\\"/></svg>","tab_design_6":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 400 400\\"><path d=\\"M178.141 182.89H298.69c1.958 0 3.546 2.239 3.546 5s-1.588 5-3.546 5H178.141c-1.958 0-3.546-2.239-3.546-5s1.588-5 3.546-5zm0-28H298.69c1.958 0 3.546 2.239 3.546 5s-1.588 5-3.546 5H178.141c-1.958 0-3.546-2.239-3.546-5s1.588-5 3.546-5zm-.188 54h73.883c1.854 0 3.358 2.239 3.358 5s-1.504 5-3.358 5h-73.883c-1.854 0-3.358-2.239-3.358-5s1.504-5 3.358-5zm-52.368-50.28h-44c-5.514 0-10-4.486-10-10v-12c0-5.514 4.486-10 10-10h44c5.514 0 10 4.486 10 10v12c0 5.514-4.486 10-10 10zm-44-28c-3.309 0-6 2.691-6 6v12c0 3.309 2.691 6 6 6h44c3.309 0 6-2.691 6-6v-12c0-3.309-2.691-6-6-6h-44zm39.86 12c0-1.972-1.6-3.572-3.572-3.572H89.297a3.573 3.573 0 0 0 0 7.144h28.576c1.973 0 3.572-1.6 3.572-3.572z\\"/><path d=\\"M125.585 202.11h-44c-5.514 0-10-4.486-10-10v-12c0-5.514 4.486-10 10-10h44c5.514 0 10 4.486 10 10v12c0 5.514-4.486 10-10 10zm-44-28c-3.309 0-6 2.691-6 6v12c0 3.309 2.691 6 6 6h44c3.309 0 6-2.691 6-6v-12c0-3.309-2.691-6-6-6h-44zm39.86 12c0-1.972-1.6-3.572-3.572-3.572H89.297a3.573 3.573 0 0 0 0 7.144h28.576c1.973 0 3.572-1.6 3.572-3.572zm4.14 59.5h-44c-5.514 0-10-4.486-10-10v-12c0-5.514 4.486-10 10-10h44c5.514 0 10 4.486 10 10v12c0 5.514-4.486 10-10 10zm-44-28c-3.309 0-6 2.691-6 6v12c0 3.309 2.691 6 6 6h44c3.309 0 6-2.691 6-6v-12c0-3.309-2.691-6-6-6h-44zm39.86 12c0-1.972-1.6-3.572-3.572-3.572H89.297a3.573 3.573 0 0 0 0 7.144h28.576c1.973 0 3.572-1.6 3.572-3.572zm198.97 45.78h-164c-5.514 0-10-4.486-10-10v-129c0-5.514 4.486-10 10-10h164c5.514 0 10 4.486 10 10v129c0 5.513-4.486 10-10 10zm-164-145c-3.309 0-6 2.691-6 6v129c0 3.309 2.691 6 6 6h164c3.309 0 6-2.691 6-6v-129c0-3.309-2.691-6-6-6h-164z\\" opacity=\\".25\\"/></svg>","blob_1":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 600 534\\"><path fill-rule=\\"evenodd\\" d=\\"M301.282.005C426.161-.59 559.898 50.248 594.185 170.132c31.926 111.632-73.705 198.709-167.979 266.674-93.027 67.065-206.344 134.824-302.736 72.675C14.005 438.903-26 295.739 16.875 172.888 57.251 57.201 178.573.591 301.282.005Z\\" clip-rule=\\"evenodd\\"/></svg>","blob_2":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 600 577\\"><path fill-rule=\\"evenodd\\" d=\\"M293.207 8.473c93.93-7.321 202.639-27.757 265.255 42.519 64.533 72.427 40.007 181.296 18.356 275.787-21.633 94.414-46.921 203.154-136.577 240.171-86.884 35.873-174.273-32.36-256.501-77.876-73.476-40.671-154.505-80.811-176.439-161.773-22.755-83.991 9.824-173.819 67.958-238.647 54.332-60.588 136.736-73.852 217.948-80.181Z\\" clip-rule=\\"evenodd\\"/></svg>","blob_3":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 600 640\\"><path d=\\"M404.693 564.39C141.225 719.067 6.397 636.425.208 316.464-5.98-3.496 125.753-80.836 395.41 84.448c269.656 165.284 272.751 325.264 9.283 479.942Z\\"/></svg>","blob_4":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 600 495\\"><path fill-rule=\\"evenodd\\" d=\\"M293.681 63.095c55.358 4.899 110.557-50.227 160.556-25.963 50.336 24.427 57.288 91.723 80.171 142.783 26.256 58.585 77.38 114.365 63.13 176.964-14.428 63.383-71.872 116.206-134.122 134.905-57.352 17.227-109.951-40.194-169.735-43.634-53.927-3.103-104.781 41.701-156.113 24.883C78.846 453.794 17.781 412.639 2.512 352.756c-15.201-59.62 42.792-110.636 61.21-169.342C82.43 123.789 55.698 35.731 111.064 6.762c57.86-30.273 117.571 50.577 182.617 56.333Z\\" clip-rule=\\"evenodd\\"/></svg>","mask_circle":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 600 600\\"><circle cx=\\"300\\" cy=\\"300\\" r=\\"300\\"/></svg>","mask_diamond":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 600 600\\"><path d=\\"m300.825 600.352-300-297.419L300.663.352l300.162 302.713-300 297.287Z\\"/></svg>","mask_hexagon":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 600 651\\"><path d=\\"M0 175.5v300l300 175 300-175v-300L300 .5 0 175.5Z\\"/></svg>","mask_rounded":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 600 600\\"><rect width=\\"600\\" height=\\"600\\" rx=\\"100\\"/></svg>","lottie":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M20 4v16H4V4h16m0-2H4a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2zM7 18a1 1 0 0 1 0-2c1.66 0 2.856-2.177 4.124-4.482C12.616 8.805 14.159 6 17 6a1 1 0 0 1 0 2c-1.66 0-2.856 2.177-4.124 4.482C11.384 15.195 9.841 18 7 18z\\"/></svg>","countdown_preset":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 400 400\\"><path fill-rule=\\"evenodd\\" d=\\"M78.221 187.907c1.23-2.05 3.138-3.657 5.529-3.657 2.39 0 4.299 1.607 5.529 3.657 1.248 2.08 1.971 4.856 1.971 7.843 0 2.986-.723 5.763-1.971 7.843-1.23 2.05-3.138 3.657-5.529 3.657-2.39 0-4.299-1.607-5.529-3.657-1.248-2.08-1.971-4.857-1.971-7.843 0-2.987.723-5.763 1.971-7.843Zm2.573 1.544c-.924 1.539-1.544 3.763-1.544 6.299 0 2.536.62 4.76 1.544 6.299.941 1.57 2.033 2.201 2.956 2.201s2.015-.631 2.956-2.201c.924-1.539 1.544-3.763 1.544-6.299 0-2.536-.62-4.76-1.544-6.299-.941-1.57-2.033-2.201-2.956-2.201s-2.015.631-2.956 2.201Zm15.427-1.544c1.23-2.05 3.138-3.657 5.529-3.657s4.299 1.607 5.529 3.657c1.248 2.08 1.971 4.856 1.971 7.843 0 2.986-.723 5.763-1.971 7.843-1.23 2.05-3.138 3.657-5.529 3.657-2.39 0-4.299-1.607-5.529-3.657-1.248-2.08-1.971-4.857-1.971-7.843 0-2.987.723-5.763 1.971-7.843Zm2.573 1.544c-.924 1.539-1.544 3.763-1.544 6.299 0 2.536.62 4.76 1.544 6.299.941 1.57 2.033 2.201 2.956 2.201s2.015-.631 2.956-2.201c.924-1.539 1.544-3.763 1.544-6.299 0-2.536-.62-4.76-1.544-6.299-.941-1.57-2.033-2.201-2.956-2.201s-2.015.631-2.956 2.201Z\\" clip-rule=\\"evenodd\\"/><path d=\\"M78.75 211.75a2 2 0 1 0 0 4h28a2 2 0 1 0 0-4h-28Zm45-19a3 3 0 1 1-6 0 3 3 0 0 1 6 0Zm-3 17a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z\\"/><path fill-rule=\\"evenodd\\" d=\\"M149.721 187.907c1.23-2.05 3.138-3.657 5.529-3.657s4.299 1.607 5.529 3.657c1.248 2.08 1.971 4.856 1.971 7.843 0 2.986-.723 5.763-1.971 7.843-1.23 2.05-3.138 3.657-5.529 3.657s-4.299-1.607-5.529-3.657c-1.248-2.08-1.971-4.857-1.971-7.843 0-2.987.723-5.763 1.971-7.843Zm2.573 1.544c-.924 1.539-1.544 3.763-1.544 6.299 0 2.536.62 4.76 1.544 6.299.941 1.57 2.033 2.201 2.956 2.201s2.015-.631 2.956-2.201c.924-1.539 1.544-3.763 1.544-6.299 0-2.536-.62-4.76-1.544-6.299-.941-1.57-2.033-2.201-2.956-2.201s-2.015.631-2.956 2.201Zm15.427-1.544c1.23-2.05 3.138-3.657 5.529-3.657s4.299 1.607 5.529 3.657c1.248 2.08 1.971 4.856 1.971 7.843 0 2.986-.723 5.763-1.971 7.843-1.23 2.05-3.138 3.657-5.529 3.657s-4.299-1.607-5.529-3.657c-1.248-2.08-1.971-4.857-1.971-7.843 0-2.987.723-5.763 1.971-7.843Zm2.573 1.544c-.924 1.539-1.544 3.763-1.544 6.299 0 2.536.62 4.76 1.544 6.299.941 1.57 2.033 2.201 2.956 2.201s2.015-.631 2.956-2.201c.924-1.539 1.544-3.763 1.544-6.299 0-2.536-.62-4.76-1.544-6.299-.941-1.57-2.033-2.201-2.956-2.201s-2.015.631-2.956 2.201Z\\" clip-rule=\\"evenodd\\"/><path d=\\"M150.25 211.75a2 2 0 1 0 0 4h28a2 2 0 1 0 0-4h-28Zm45-19a3 3 0 1 1-6 0 3 3 0 0 1 6 0Zm-3 17a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z\\"/><path fill-rule=\\"evenodd\\" d=\\"M221.221 187.907c1.23-2.05 3.138-3.657 5.529-3.657s4.299 1.607 5.529 3.657c1.248 2.08 1.971 4.856 1.971 7.843 0 2.986-.723 5.763-1.971 7.843-1.23 2.05-3.138 3.657-5.529 3.657s-4.299-1.607-5.529-3.657c-1.248-2.08-1.971-4.857-1.971-7.843 0-2.987.723-5.763 1.971-7.843Zm2.573 1.544c-.924 1.539-1.544 3.763-1.544 6.299 0 2.536.62 4.76 1.544 6.299.941 1.57 2.033 2.201 2.956 2.201s2.015-.631 2.956-2.201c.924-1.539 1.544-3.763 1.544-6.299 0-2.536-.62-4.76-1.544-6.299-.941-1.57-2.033-2.201-2.956-2.201s-2.015.631-2.956 2.201Zm15.427-1.544c1.23-2.05 3.138-3.657 5.529-3.657s4.299 1.607 5.529 3.657c1.248 2.08 1.971 4.856 1.971 7.843 0 2.986-.723 5.763-1.971 7.843-1.23 2.05-3.138 3.657-5.529 3.657s-4.299-1.607-5.529-3.657c-1.248-2.08-1.971-4.857-1.971-7.843 0-2.987.723-5.763 1.971-7.843Zm2.573 1.544c-.924 1.539-1.544 3.763-1.544 6.299 0 2.536.62 4.76 1.544 6.299.941 1.57 2.033 2.201 2.956 2.201s2.015-.631 2.956-2.201c.924-1.539 1.544-3.763 1.544-6.299 0-2.536-.62-4.76-1.544-6.299-.941-1.57-2.033-2.201-2.956-2.201s-2.015.631-2.956 2.201Z\\" clip-rule=\\"evenodd\\"/><path d=\\"M221.75 211.75a2 2 0 1 0 0 4h28a2 2 0 1 0 0-4h-28Zm45-19a3 3 0 1 1-6 0 3 3 0 0 1 6 0Zm-3 17a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z\\"/><path fill-rule=\\"evenodd\\" d=\\"M295.294 189.451c-.924 1.539-1.544 3.763-1.544 6.299 0 2.536.62 4.76 1.544 6.299.941 1.57 2.033 2.201 2.956 2.201s2.015-.631 2.956-2.201c.924-1.539 1.544-3.763 1.544-6.299 0-2.536-.62-4.76-1.544-6.299-.941-1.57-2.033-2.201-2.956-2.201s-2.015.631-2.956 2.201Zm-2.573-1.544c1.23-2.05 3.138-3.657 5.529-3.657s4.299 1.607 5.529 3.657c1.248 2.08 1.971 4.856 1.971 7.843 0 2.986-.723 5.763-1.971 7.843-1.23 2.05-3.138 3.657-5.529 3.657s-4.299-1.607-5.529-3.657c-1.248-2.08-1.971-4.857-1.971-7.843 0-2.987.723-5.763 1.971-7.843Zm20.573 1.544c-.924 1.539-1.544 3.763-1.544 6.299 0 2.536.62 4.76 1.544 6.299.941 1.57 2.033 2.201 2.956 2.201s2.015-.631 2.956-2.201c.924-1.539 1.544-3.763 1.544-6.299 0-2.536-.62-4.76-1.544-6.299-.941-1.57-2.033-2.201-2.956-2.201s-2.015.631-2.956 2.201Zm-2.573-1.544c1.23-2.05 3.138-3.657 5.529-3.657s4.299 1.607 5.529 3.657c1.248 2.08 1.971 4.856 1.971 7.843 0 2.986-.723 5.763-1.971 7.843-1.23 2.05-3.138 3.657-5.529 3.657s-4.299-1.607-5.529-3.657c-1.248-2.08-1.971-4.857-1.971-7.843 0-2.987.723-5.763 1.971-7.843Z\\" clip-rule=\\"evenodd\\"/><path d=\\"M291.25 213.75a2 2 0 0 1 2-2h28a2 2 0 1 1 0 4h-28a2 2 0 0 1-2-2Z\\"/></svg>","countdown_preset1":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 400 400\\"><path d=\\"M59.044 189.701C58.12 191.24 57.5 193.464 57.5 196c0 2.536.62 4.76 1.544 6.299.941 1.57 2.033 2.201 2.956 2.201s2.015-.631 2.956-2.201c.924-1.539 1.544-3.763 1.544-6.299 0-2.536-.62-4.76-1.544-6.299-.941-1.57-2.033-2.201-2.956-2.201s-2.015.631-2.956 2.201Zm18 0C76.12 191.24 75.5 193.464 75.5 196c0 2.536.62 4.76 1.544 6.299.941 1.57 2.033 2.201 2.956 2.201s2.015-.631 2.956-2.201c.924-1.539 1.544-3.763 1.544-6.299 0-2.536-.62-4.76-1.544-6.299-.941-1.57-2.033-2.201-2.956-2.201s-2.015.631-2.956 2.201Z\\"/><path fill-rule=\\"evenodd\\" d=\\"M71 235c19.33 0 35-15.67 35-35s-15.67-35-35-35-35 15.67-35 35 15.67 35 35 35Zm-14.529-46.843c1.23-2.05 3.138-3.657 5.529-3.657 2.39 0 4.299 1.607 5.529 3.657 1.248 2.08 1.971 4.856 1.971 7.843 0 2.986-.723 5.763-1.971 7.843-1.23 2.05-3.138 3.657-5.529 3.657-2.39 0-4.299-1.607-5.529-3.657-1.248-2.08-1.971-4.857-1.971-7.843 0-2.987.723-5.763 1.971-7.843Zm18 0c1.23-2.05 3.138-3.657 5.529-3.657 2.39 0 4.299 1.607 5.529 3.657 1.248 2.08 1.971 4.856 1.971 7.843 0 2.986-.723 5.763-1.971 7.843-1.23 2.05-3.138 3.657-5.529 3.657-2.39 0-4.299-1.607-5.529-3.657-1.248-2.08-1.971-4.857-1.971-7.843 0-2.987.723-5.763 1.971-7.843ZM57 212a2 2 0 1 0 0 4h28a2 2 0 1 0 0-4H57Z\\" clip-rule=\\"evenodd\\"/><path d=\\"M145.044 189.701c-.924 1.539-1.544 3.763-1.544 6.299 0 2.536.62 4.76 1.544 6.299.941 1.57 2.033 2.201 2.956 2.201s2.015-.631 2.956-2.201c.924-1.539 1.544-3.763 1.544-6.299 0-2.536-.62-4.76-1.544-6.299-.941-1.57-2.033-2.201-2.956-2.201s-2.015.631-2.956 2.201Zm18 0c-.924 1.539-1.544 3.763-1.544 6.299 0 2.536.62 4.76 1.544 6.299.941 1.57 2.033 2.201 2.956 2.201s2.015-.631 2.956-2.201c.924-1.539 1.544-3.763 1.544-6.299 0-2.536-.62-4.76-1.544-6.299-.941-1.57-2.033-2.201-2.956-2.201s-2.015.631-2.956 2.201Z\\"/><path fill-rule=\\"evenodd\\" d=\\"M157 235c19.33 0 35-15.67 35-35s-15.67-35-35-35-35 15.67-35 35 15.67 35 35 35Zm-14.529-46.843c1.23-2.05 3.138-3.657 5.529-3.657s4.299 1.607 5.529 3.657c1.248 2.08 1.971 4.856 1.971 7.843 0 2.986-.723 5.763-1.971 7.843-1.23 2.05-3.138 3.657-5.529 3.657s-4.299-1.607-5.529-3.657c-1.248-2.08-1.971-4.857-1.971-7.843 0-2.987.723-5.763 1.971-7.843Zm18 0c1.23-2.05 3.138-3.657 5.529-3.657s4.299 1.607 5.529 3.657c1.248 2.08 1.971 4.856 1.971 7.843 0 2.986-.723 5.763-1.971 7.843-1.23 2.05-3.138 3.657-5.529 3.657s-4.299-1.607-5.529-3.657c-1.248-2.08-1.971-4.857-1.971-7.843 0-2.987.723-5.763 1.971-7.843ZM143 212a2 2 0 1 0 0 4h28a2 2 0 1 0 0-4h-28Z\\" clip-rule=\\"evenodd\\"/><path d=\\"M231.044 189.701c-.924 1.539-1.544 3.763-1.544 6.299 0 2.536.62 4.76 1.544 6.299.941 1.57 2.033 2.201 2.956 2.201s2.015-.631 2.956-2.201c.924-1.539 1.544-3.763 1.544-6.299 0-2.536-.62-4.76-1.544-6.299-.941-1.57-2.033-2.201-2.956-2.201s-2.015.631-2.956 2.201Zm18 0c-.924 1.539-1.544 3.763-1.544 6.299 0 2.536.62 4.76 1.544 6.299.941 1.57 2.033 2.201 2.956 2.201s2.015-.631 2.956-2.201c.924-1.539 1.544-3.763 1.544-6.299 0-2.536-.62-4.76-1.544-6.299-.941-1.57-2.033-2.201-2.956-2.201s-2.015.631-2.956 2.201Z\\"/><path fill-rule=\\"evenodd\\" d=\\"M243 235c19.33 0 35-15.67 35-35s-15.67-35-35-35-35 15.67-35 35 15.67 35 35 35Zm-14.529-46.843c1.23-2.05 3.138-3.657 5.529-3.657s4.299 1.607 5.529 3.657c1.248 2.08 1.971 4.856 1.971 7.843 0 2.986-.723 5.763-1.971 7.843-1.23 2.05-3.138 3.657-5.529 3.657s-4.299-1.607-5.529-3.657c-1.248-2.08-1.971-4.857-1.971-7.843 0-2.987.723-5.763 1.971-7.843Zm18 0c1.23-2.05 3.138-3.657 5.529-3.657s4.299 1.607 5.529 3.657c1.248 2.08 1.971 4.856 1.971 7.843 0 2.986-.723 5.763-1.971 7.843-1.23 2.05-3.138 3.657-5.529 3.657s-4.299-1.607-5.529-3.657c-1.248-2.08-1.971-4.857-1.971-7.843 0-2.987.723-5.763 1.971-7.843ZM229 212a2 2 0 1 0 0 4h28a2 2 0 1 0 0-4h-28Z\\" clip-rule=\\"evenodd\\"/><path d=\\"M317.044 189.701c-.924 1.539-1.544 3.763-1.544 6.299 0 2.536.62 4.76 1.544 6.299.941 1.57 2.033 2.201 2.956 2.201s2.015-.631 2.956-2.201c.924-1.539 1.544-3.763 1.544-6.299 0-2.536-.62-4.76-1.544-6.299-.941-1.57-2.033-2.201-2.956-2.201s-2.015.631-2.956 2.201Zm18 0c-.924 1.539-1.544 3.763-1.544 6.299 0 2.536.62 4.76 1.544 6.299.941 1.57 2.033 2.201 2.956 2.201s2.015-.631 2.956-2.201c.924-1.539 1.544-3.763 1.544-6.299 0-2.536-.62-4.76-1.544-6.299-.941-1.57-2.033-2.201-2.956-2.201s-2.015.631-2.956 2.201Z\\"/><path fill-rule=\\"evenodd\\" d=\\"M329 235c19.33 0 35-15.67 35-35s-15.67-35-35-35-35 15.67-35 35 15.67 35 35 35Zm-14.529-46.843c1.23-2.05 3.138-3.657 5.529-3.657s4.299 1.607 5.529 3.657c1.248 2.08 1.971 4.856 1.971 7.843 0 2.986-.723 5.763-1.971 7.843-1.23 2.05-3.138 3.657-5.529 3.657s-4.299-1.607-5.529-3.657c-1.248-2.08-1.971-4.857-1.971-7.843 0-2.987.723-5.763 1.971-7.843Zm18 0c1.23-2.05 3.138-3.657 5.529-3.657s4.299 1.607 5.529 3.657c1.248 2.08 1.971 4.856 1.971 7.843 0 2.986-.723 5.763-1.971 7.843-1.23 2.05-3.138 3.657-5.529 3.657s-4.299-1.607-5.529-3.657c-1.248-2.08-1.971-4.857-1.971-7.843 0-2.987.723-5.763 1.971-7.843ZM315 212a2 2 0 1 0 0 4h28a2 2 0 1 0 0-4h-28Z\\" clip-rule=\\"evenodd\\"/></svg>","countdown_preset2":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 400 400\\"><path fill-rule=\\"evenodd\\" d=\\"M104 200c0 18.225-14.775 33-33 33s-33-14.775-33-33 14.775-33 33-33 33 14.775 33 33Zm2 0c0 19.33-15.67 35-35 35s-35-15.67-35-35 15.67-35 35-35 35 15.67 35 35Zm-48.5-4c0-2.536.62-4.76 1.544-6.299.941-1.57 2.033-2.201 2.956-2.201s2.015.631 2.956 2.201c.924 1.539 1.544 3.763 1.544 6.299 0 2.536-.62 4.76-1.544 6.299-.941 1.57-2.033 2.201-2.956 2.201s-2.015-.631-2.956-2.201C58.12 200.76 57.5 198.536 57.5 196Zm4.5-11.5c-2.39 0-4.299 1.607-5.529 3.657-1.248 2.08-1.971 4.856-1.971 7.843s.723 5.763 1.971 7.843c1.23 2.05 3.138 3.657 5.529 3.657 2.39 0 4.299-1.607 5.529-3.657 1.248-2.08 1.971-4.856 1.971-7.843s-.723-5.763-1.971-7.843c-1.23-2.05-3.138-3.657-5.529-3.657ZM75.5 196c0-2.536.62-4.76 1.544-6.299.941-1.57 2.033-2.201 2.956-2.201s2.015.631 2.956 2.201c.924 1.539 1.544 3.763 1.544 6.299 0 2.536-.62 4.76-1.544 6.299-.941 1.57-2.033 2.201-2.956 2.201s-2.015-.631-2.956-2.201C76.12 200.76 75.5 198.536 75.5 196Zm4.5-11.5c-2.39 0-4.299 1.607-5.529 3.657-1.248 2.08-1.971 4.856-1.971 7.843s.723 5.763 1.971 7.843c1.23 2.05 3.138 3.657 5.529 3.657 2.39 0 4.299-1.607 5.529-3.657 1.248-2.08 1.971-4.856 1.971-7.843s-.723-5.763-1.971-7.843c-1.23-2.05-3.138-3.657-5.529-3.657ZM55 214a2 2 0 0 1 2-2h28a2 2 0 0 1 0 4H57a2 2 0 0 1-2-2Z\\" clip-rule=\\"evenodd\\"/><circle cx=\\"114\\" cy=\\"193\\" r=\\"3\\"/><circle cx=\\"114\\" cy=\\"207\\" r=\\"3\\"/><path fill-rule=\\"evenodd\\" d=\\"M190 200c0 18.225-14.775 33-33 33s-33-14.775-33-33 14.775-33 33-33 33 14.775 33 33Zm2 0c0 19.33-15.67 35-35 35s-35-15.67-35-35 15.67-35 35-35 35 15.67 35 35Zm-48.5-4c0-2.536.62-4.76 1.544-6.299.941-1.57 2.033-2.201 2.956-2.201s2.015.631 2.956 2.201c.924 1.539 1.544 3.763 1.544 6.299 0 2.536-.62 4.76-1.544 6.299-.941 1.57-2.033 2.201-2.956 2.201s-2.015-.631-2.956-2.201c-.924-1.539-1.544-3.763-1.544-6.299Zm4.5-11.5c-2.391 0-4.299 1.607-5.529 3.657-1.248 2.08-1.971 4.856-1.971 7.843s.723 5.763 1.971 7.843c1.23 2.05 3.138 3.657 5.529 3.657s4.299-1.607 5.529-3.657c1.248-2.08 1.971-4.856 1.971-7.843s-.723-5.763-1.971-7.843c-1.23-2.05-3.138-3.657-5.529-3.657Zm13.5 11.5c0-2.536.62-4.76 1.544-6.299.941-1.57 2.033-2.201 2.956-2.201s2.015.631 2.956 2.201c.924 1.539 1.544 3.763 1.544 6.299 0 2.536-.62 4.76-1.544 6.299-.941 1.57-2.033 2.201-2.956 2.201s-2.015-.631-2.956-2.201c-.924-1.539-1.544-3.763-1.544-6.299Zm4.5-11.5c-2.391 0-4.299 1.607-5.529 3.657-1.248 2.08-1.971 4.856-1.971 7.843s.723 5.763 1.971 7.843c1.23 2.05 3.138 3.657 5.529 3.657s4.299-1.607 5.529-3.657c1.248-2.08 1.971-4.856 1.971-7.843s-.723-5.763-1.971-7.843c-1.23-2.05-3.138-3.657-5.529-3.657ZM141 214a2 2 0 0 1 2-2h28a2 2 0 0 1 0 4h-28a2 2 0 0 1-2-2Z\\" clip-rule=\\"evenodd\\"/><circle cx=\\"200\\" cy=\\"193\\" r=\\"3\\"/><circle cx=\\"200\\" cy=\\"207\\" r=\\"3\\"/><path fill-rule=\\"evenodd\\" d=\\"M276 200c0 18.225-14.775 33-33 33s-33-14.775-33-33 14.775-33 33-33 33 14.775 33 33Zm2 0c0 19.33-15.67 35-35 35s-35-15.67-35-35 15.67-35 35-35 35 15.67 35 35Zm-48.5-4c0-2.536.62-4.76 1.544-6.299.941-1.57 2.033-2.201 2.956-2.201s2.015.631 2.956 2.201c.924 1.539 1.544 3.763 1.544 6.299 0 2.536-.62 4.76-1.544 6.299-.941 1.57-2.033 2.201-2.956 2.201s-2.015-.631-2.956-2.201c-.924-1.539-1.544-3.763-1.544-6.299Zm4.5-11.5c-2.391 0-4.299 1.607-5.529 3.657-1.248 2.08-1.971 4.856-1.971 7.843s.723 5.763 1.971 7.843c1.23 2.05 3.138 3.657 5.529 3.657s4.299-1.607 5.529-3.657c1.248-2.08 1.971-4.856 1.971-7.843s-.723-5.763-1.971-7.843c-1.23-2.05-3.138-3.657-5.529-3.657Zm13.5 11.5c0-2.536.62-4.76 1.544-6.299.941-1.57 2.033-2.201 2.956-2.201s2.015.631 2.956 2.201c.924 1.539 1.544 3.763 1.544 6.299 0 2.536-.62 4.76-1.544 6.299-.941 1.57-2.033 2.201-2.956 2.201s-2.015-.631-2.956-2.201c-.924-1.539-1.544-3.763-1.544-6.299Zm4.5-11.5c-2.391 0-4.299 1.607-5.529 3.657-1.248 2.08-1.971 4.856-1.971 7.843s.723 5.763 1.971 7.843c1.23 2.05 3.138 3.657 5.529 3.657s4.299-1.607 5.529-3.657c1.248-2.08 1.971-4.856 1.971-7.843s-.723-5.763-1.971-7.843c-1.23-2.05-3.138-3.657-5.529-3.657ZM227 214a2 2 0 0 1 2-2h28a2 2 0 0 1 0 4h-28a2 2 0 0 1-2-2Z\\" clip-rule=\\"evenodd\\"/><circle cx=\\"286\\" cy=\\"193\\" r=\\"3\\"/><circle cx=\\"286\\" cy=\\"207\\" r=\\"3\\"/><path fill-rule=\\"evenodd\\" d=\\"M362 200c0 18.225-14.775 33-33 33s-33-14.775-33-33 14.775-33 33-33 33 14.775 33 33Zm2 0c0 19.33-15.67 35-35 35s-35-15.67-35-35 15.67-35 35-35 35 15.67 35 35Zm-48.5-4c0-2.536.62-4.76 1.544-6.299.941-1.57 2.033-2.201 2.956-2.201s2.015.631 2.956 2.201c.924 1.539 1.544 3.763 1.544 6.299 0 2.536-.62 4.76-1.544 6.299-.941 1.57-2.033 2.201-2.956 2.201s-2.015-.631-2.956-2.201c-.924-1.539-1.544-3.763-1.544-6.299Zm4.5-11.5c-2.391 0-4.299 1.607-5.529 3.657-1.248 2.08-1.971 4.856-1.971 7.843s.723 5.763 1.971 7.843c1.23 2.05 3.138 3.657 5.529 3.657s4.299-1.607 5.529-3.657c1.248-2.08 1.971-4.856 1.971-7.843s-.723-5.763-1.971-7.843c-1.23-2.05-3.138-3.657-5.529-3.657Zm13.5 11.5c0-2.536.62-4.76 1.544-6.299.941-1.57 2.033-2.201 2.956-2.201s2.015.631 2.956 2.201c.924 1.539 1.544 3.763 1.544 6.299 0 2.536-.62 4.76-1.544 6.299-.941 1.57-2.033 2.201-2.956 2.201s-2.015-.631-2.956-2.201c-.924-1.539-1.544-3.763-1.544-6.299Zm4.5-11.5c-2.391 0-4.299 1.607-5.529 3.657-1.248 2.08-1.971 4.856-1.971 7.843s.723 5.763 1.971 7.843c1.23 2.05 3.138 3.657 5.529 3.657s4.299-1.607 5.529-3.657c1.248-2.08 1.971-4.856 1.971-7.843s-.723-5.763-1.971-7.843c-1.23-2.05-3.138-3.657-5.529-3.657ZM313 214a2 2 0 0 1 2-2h28a2 2 0 0 1 0 4h-28a2 2 0 0 1-2-2Z\\" clip-rule=\\"evenodd\\"/></svg>","countdown_preset3":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 400 400\\"><path fill-rule=\\"evenodd\\" d=\\"M106 165H36v70h70v-70Zm-46.956 24.7c-.924 1.54-1.544 3.763-1.544 6.3 0 2.536.62 4.76 1.544 6.299.941 1.569 2.033 2.201 2.956 2.201s2.015-.632 2.956-2.201c.924-1.539 1.544-3.763 1.544-6.299 0-2.537-.62-4.76-1.544-6.3-.941-1.569-2.033-2.2-2.956-2.2s-2.015.631-2.956 2.2Zm-2.573-1.543c1.23-2.05 3.138-3.657 5.529-3.657 2.39 0 4.299 1.607 5.529 3.657 1.248 2.08 1.971 4.856 1.971 7.843 0 2.986-.723 5.763-1.971 7.843-1.23 2.05-3.138 3.657-5.529 3.657-2.39 0-4.299-1.607-5.529-3.657-1.248-2.08-1.971-4.857-1.971-7.843 0-2.987.723-5.763 1.971-7.843Zm20.573 1.543c-.924 1.54-1.544 3.763-1.544 6.3 0 2.536.62 4.76 1.544 6.299.941 1.569 2.033 2.201 2.956 2.201s2.015-.632 2.956-2.201c.924-1.539 1.544-3.763 1.544-6.299 0-2.537-.62-4.76-1.544-6.3-.941-1.569-2.033-2.2-2.956-2.2s-2.015.631-2.956 2.2Zm-2.573-1.543c1.23-2.05 3.138-3.657 5.529-3.657 2.39 0 4.299 1.607 5.529 3.657 1.248 2.08 1.971 4.856 1.971 7.843 0 2.986-.723 5.763-1.971 7.843-1.23 2.05-3.138 3.657-5.529 3.657-2.39 0-4.299-1.607-5.529-3.657-1.248-2.08-1.971-4.857-1.971-7.843 0-2.987.723-5.763 1.971-7.843ZM57 212a2 2 0 1 0 0 4h28a2 2 0 0 0 0-4H57Zm135-47h-70v70h70v-70Zm-46.956 24.7c-.924 1.54-1.544 3.763-1.544 6.3 0 2.536.62 4.76 1.544 6.299.941 1.569 2.033 2.201 2.956 2.201s2.015-.632 2.956-2.201c.924-1.539 1.544-3.763 1.544-6.299 0-2.537-.62-4.76-1.544-6.3-.941-1.569-2.033-2.2-2.956-2.2s-2.015.631-2.956 2.2Zm-2.573-1.543c1.23-2.05 3.138-3.657 5.529-3.657s4.299 1.607 5.529 3.657c1.248 2.08 1.971 4.856 1.971 7.843 0 2.986-.723 5.763-1.971 7.843-1.23 2.05-3.138 3.657-5.529 3.657s-4.299-1.607-5.529-3.657c-1.248-2.08-1.971-4.857-1.971-7.843 0-2.987.723-5.763 1.971-7.843Zm20.573 1.543c-.924 1.54-1.544 3.763-1.544 6.3 0 2.536.62 4.76 1.544 6.299.941 1.569 2.033 2.201 2.956 2.201s2.015-.632 2.956-2.201c.924-1.539 1.544-3.763 1.544-6.299 0-2.537-.62-4.76-1.544-6.3-.941-1.569-2.033-2.2-2.956-2.2s-2.015.631-2.956 2.2Zm-2.573-1.543c1.23-2.05 3.138-3.657 5.529-3.657s4.299 1.607 5.529 3.657c1.248 2.08 1.971 4.856 1.971 7.843 0 2.986-.723 5.763-1.971 7.843-1.23 2.05-3.138 3.657-5.529 3.657s-4.299-1.607-5.529-3.657c-1.248-2.08-1.971-4.857-1.971-7.843 0-2.987.723-5.763 1.971-7.843ZM143 212a2 2 0 1 0 0 4h28a2 2 0 0 0 0-4h-28Zm135-47h-70v70h70v-70Zm-46.956 24.7c-.924 1.54-1.544 3.763-1.544 6.3 0 2.536.62 4.76 1.544 6.299.941 1.569 2.033 2.201 2.956 2.201s2.015-.632 2.956-2.201c.924-1.539 1.544-3.763 1.544-6.299 0-2.537-.62-4.76-1.544-6.3-.941-1.569-2.033-2.2-2.956-2.2s-2.015.631-2.956 2.2Zm-2.573-1.543c1.23-2.05 3.138-3.657 5.529-3.657s4.299 1.607 5.529 3.657c1.248 2.08 1.971 4.856 1.971 7.843 0 2.986-.723 5.763-1.971 7.843-1.23 2.05-3.138 3.657-5.529 3.657s-4.299-1.607-5.529-3.657c-1.248-2.08-1.971-4.857-1.971-7.843 0-2.987.723-5.763 1.971-7.843Zm20.573 1.543c-.924 1.54-1.544 3.763-1.544 6.3 0 2.536.62 4.76 1.544 6.299.941 1.569 2.033 2.201 2.956 2.201s2.015-.632 2.956-2.201c.924-1.539 1.544-3.763 1.544-6.299 0-2.537-.62-4.76-1.544-6.3-.941-1.569-2.033-2.2-2.956-2.2s-2.015.631-2.956 2.2Zm-2.573-1.543c1.23-2.05 3.138-3.657 5.529-3.657s4.299 1.607 5.529 3.657c1.248 2.08 1.971 4.856 1.971 7.843 0 2.986-.723 5.763-1.971 7.843-1.23 2.05-3.138 3.657-5.529 3.657s-4.299-1.607-5.529-3.657c-1.248-2.08-1.971-4.857-1.971-7.843 0-2.987.723-5.763 1.971-7.843ZM229 212a2 2 0 1 0 0 4h28a2 2 0 0 0 0-4h-28Zm135-47h-70v70h70v-70Zm-46.956 24.7c-.924 1.54-1.544 3.763-1.544 6.3 0 2.536.62 4.76 1.544 6.299.941 1.569 2.033 2.201 2.956 2.201s2.015-.632 2.956-2.201c.924-1.539 1.544-3.763 1.544-6.299 0-2.537-.62-4.76-1.544-6.3-.941-1.569-2.033-2.2-2.956-2.2s-2.015.631-2.956 2.2Zm-2.573-1.543c1.23-2.05 3.138-3.657 5.529-3.657s4.299 1.607 5.529 3.657c1.248 2.08 1.971 4.856 1.971 7.843 0 2.986-.723 5.763-1.971 7.843-1.23 2.05-3.138 3.657-5.529 3.657s-4.299-1.607-5.529-3.657c-1.248-2.08-1.971-4.857-1.971-7.843 0-2.987.723-5.763 1.971-7.843Zm20.573 1.543c-.924 1.54-1.544 3.763-1.544 6.3 0 2.536.62 4.76 1.544 6.299.941 1.569 2.033 2.201 2.956 2.201s2.015-.632 2.956-2.201c.924-1.539 1.544-3.763 1.544-6.299 0-2.537-.62-4.76-1.544-6.3-.941-1.569-2.033-2.2-2.956-2.2s-2.015.631-2.956 2.2Zm-2.573-1.543c1.23-2.05 3.138-3.657 5.529-3.657s4.299 1.607 5.529 3.657c1.248 2.08 1.971 4.856 1.971 7.843 0 2.986-.723 5.763-1.971 7.843-1.23 2.05-3.138 3.657-5.529 3.657s-4.299-1.607-5.529-3.657c-1.248-2.08-1.971-4.857-1.971-7.843 0-2.987.723-5.763 1.971-7.843ZM315 212a2 2 0 1 0 0 4h28a2 2 0 0 0 0-4h-28Z\\" clip-rule=\\"evenodd\\"/></svg>","countdown_preset4":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 400 400\\"><path fill-rule=\\"evenodd\\" d=\\"M49.5 188.5c-2.39 0-4.299 1.607-5.529 3.657C42.723 194.237 42 197.013 42 200c0 2.986.723 5.763 1.971 7.843 1.23 2.05 3.138 3.657 5.529 3.657 2.39 0 4.299-1.607 5.529-3.657C56.277 205.763 57 202.986 57 200c0-2.987-.723-5.763-1.971-7.843-1.23-2.05-3.138-3.657-5.529-3.657ZM45 200c0-2.536.62-4.76 1.544-6.299.941-1.57 2.033-2.201 2.956-2.201s2.015.631 2.956 2.201C53.38 195.24 54 197.464 54 200c0 2.536-.62 4.76-1.544 6.299-.941 1.57-2.033 2.201-2.956 2.201s-2.015-.631-2.956-2.201C45.62 204.76 45 202.536 45 200Zm23.5-11.5c-2.39 0-4.299 1.607-5.529 3.657C61.723 194.237 61 197.013 61 200c0 2.986.723 5.763 1.971 7.843 1.23 2.05 3.138 3.657 5.529 3.657 2.39 0 4.299-1.607 5.529-3.657C75.277 205.763 76 202.986 76 200c0-2.987-.723-5.763-1.971-7.843-1.23-2.05-3.138-3.657-5.529-3.657ZM64 200c0-2.536.62-4.76 1.544-6.299.941-1.57 2.033-2.201 2.956-2.201s2.015.631 2.956 2.201C72.38 195.24 73 197.464 73 200c0 2.536-.62 4.76-1.544 6.299-.941 1.57-2.033 2.201-2.956 2.201s-2.015-.631-2.956-2.201C64.62 204.76 64 202.536 64 200Z\\" clip-rule=\\"evenodd\\"/><path d=\\"M82 198a2 2 0 1 0 0 4h16a2 2 0 0 0 0-4H82Z\\"/><path fill-rule=\\"evenodd\\" d=\\"M44 165a8 8 0 0 0-8 8v54a8 8 0 0 0 8 8h54a8 8 0 0 0 8-8v-54a8 8 0 0 0-8-8H44Zm54 2H44a6 6 0 0 0-6 6v54a6 6 0 0 0 6 6h54a6 6 0 0 0 6-6v-54a6 6 0 0 0-6-6Zm37.5 21.5c-2.391 0-4.299 1.607-5.529 3.657-1.248 2.08-1.971 4.856-1.971 7.843 0 2.986.723 5.763 1.971 7.843 1.23 2.05 3.138 3.657 5.529 3.657s4.299-1.607 5.529-3.657c1.248-2.08 1.971-4.857 1.971-7.843 0-2.987-.723-5.763-1.971-7.843-1.23-2.05-3.138-3.657-5.529-3.657ZM131 200c0-2.536.62-4.76 1.544-6.299.941-1.57 2.033-2.201 2.956-2.201s2.015.631 2.956 2.201C139.38 195.24 140 197.464 140 200c0 2.536-.62 4.76-1.544 6.299-.941 1.57-2.033 2.201-2.956 2.201s-2.015-.631-2.956-2.201C131.62 204.76 131 202.536 131 200Zm23.5-11.5c-2.391 0-4.299 1.607-5.529 3.657-1.248 2.08-1.971 4.856-1.971 7.843 0 2.986.723 5.763 1.971 7.843 1.23 2.05 3.138 3.657 5.529 3.657s4.299-1.607 5.529-3.657c1.248-2.08 1.971-4.857 1.971-7.843 0-2.987-.723-5.763-1.971-7.843-1.23-2.05-3.138-3.657-5.529-3.657ZM150 200c0-2.536.62-4.76 1.544-6.299.941-1.57 2.033-2.201 2.956-2.201s2.015.631 2.956 2.201C158.38 195.24 159 197.464 159 200c0 2.536-.62 4.76-1.544 6.299-.941 1.57-2.033 2.201-2.956 2.201s-2.015-.631-2.956-2.201C150.62 204.76 150 202.536 150 200Z\\" clip-rule=\\"evenodd\\"/><path d=\\"M168 198a2 2 0 1 0 0 4h16a2 2 0 0 0 0-4h-16Z\\"/><path fill-rule=\\"evenodd\\" d=\\"M130 165a8 8 0 0 0-8 8v54a8 8 0 0 0 8 8h54a8 8 0 0 0 8-8v-54a8 8 0 0 0-8-8h-54Zm54 2h-54a6 6 0 0 0-6 6v54a6 6 0 0 0 6 6h54a6 6 0 0 0 6-6v-54a6 6 0 0 0-6-6Zm31.971 25.157c1.23-2.05 3.138-3.657 5.529-3.657s4.299 1.607 5.529 3.657c1.248 2.08 1.971 4.856 1.971 7.843 0 2.986-.723 5.763-1.971 7.843-1.23 2.05-3.138 3.657-5.529 3.657s-4.299-1.607-5.529-3.657c-1.248-2.08-1.971-4.857-1.971-7.843 0-2.987.723-5.763 1.971-7.843Zm2.573 1.544C217.62 195.24 217 197.464 217 200c0 2.536.62 4.76 1.544 6.299.941 1.57 2.033 2.201 2.956 2.201s2.015-.631 2.956-2.201C225.38 204.76 226 202.536 226 200c0-2.536-.62-4.76-1.544-6.299-.941-1.57-2.033-2.201-2.956-2.201s-2.015.631-2.956 2.201Zm16.427-1.544c1.23-2.05 3.138-3.657 5.529-3.657s4.299 1.607 5.529 3.657c1.248 2.08 1.971 4.856 1.971 7.843 0 2.986-.723 5.763-1.971 7.843-1.23 2.05-3.138 3.657-5.529 3.657s-4.299-1.607-5.529-3.657c-1.248-2.08-1.971-4.857-1.971-7.843 0-2.987.723-5.763 1.971-7.843Zm2.573 1.544C236.62 195.24 236 197.464 236 200c0 2.536.62 4.76 1.544 6.299.941 1.57 2.033 2.201 2.956 2.201s2.015-.631 2.956-2.201C244.38 204.76 245 202.536 245 200c0-2.536-.62-4.76-1.544-6.299-.941-1.57-2.033-2.201-2.956-2.201s-2.015.631-2.956 2.201Z\\" clip-rule=\\"evenodd\\"/><path d=\\"M252 200a2 2 0 0 1 2-2h16a2 2 0 1 1 0 4h-16a2 2 0 0 1-2-2Z\\"/><path fill-rule=\\"evenodd\\" d=\\"M208 173a8 8 0 0 1 8-8h54a8 8 0 0 1 8 8v54a8 8 0 0 1-8 8h-54a8 8 0 0 1-8-8v-54Zm8-6h54a6 6 0 0 1 6 6v54a6 6 0 0 1-6 6h-54a6 6 0 0 1-6-6v-54a6 6 0 0 1 6-6Zm91.5 21.5c-2.391 0-4.299 1.607-5.529 3.657-1.248 2.08-1.971 4.856-1.971 7.843 0 2.986.723 5.763 1.971 7.843 1.23 2.05 3.138 3.657 5.529 3.657s4.299-1.607 5.529-3.657c1.248-2.08 1.971-4.857 1.971-7.843 0-2.987-.723-5.763-1.971-7.843-1.23-2.05-3.138-3.657-5.529-3.657ZM303 200c0-2.536.62-4.76 1.544-6.299.941-1.57 2.033-2.201 2.956-2.201s2.015.631 2.956 2.201C311.38 195.24 312 197.464 312 200c0 2.536-.62 4.76-1.544 6.299-.941 1.57-2.033 2.201-2.956 2.201s-2.015-.631-2.956-2.201C303.62 204.76 303 202.536 303 200Zm23.5-11.5c-2.391 0-4.299 1.607-5.529 3.657-1.248 2.08-1.971 4.856-1.971 7.843 0 2.986.723 5.763 1.971 7.843 1.23 2.05 3.138 3.657 5.529 3.657s4.299-1.607 5.529-3.657c1.248-2.08 1.971-4.857 1.971-7.843 0-2.987-.723-5.763-1.971-7.843-1.23-2.05-3.138-3.657-5.529-3.657ZM322 200c0-2.536.62-4.76 1.544-6.299.941-1.57 2.033-2.201 2.956-2.201s2.015.631 2.956 2.201C330.38 195.24 331 197.464 331 200c0 2.536-.62 4.76-1.544 6.299-.941 1.57-2.033 2.201-2.956 2.201s-2.015-.631-2.956-2.201C322.62 204.76 322 202.536 322 200Z\\" clip-rule=\\"evenodd\\"/><path d=\\"M340 198a2 2 0 1 0 0 4h16a2 2 0 0 0 0-4h-16Z\\"/><path fill-rule=\\"evenodd\\" d=\\"M302 165a8 8 0 0 0-8 8v54a8 8 0 0 0 8 8h54a8 8 0 0 0 8-8v-54a8 8 0 0 0-8-8h-54Zm54 2h-54a6 6 0 0 0-6 6v54a6 6 0 0 0 6 6h54a6 6 0 0 0 6-6v-54a6 6 0 0 0-6-6Z\\" clip-rule=\\"evenodd\\"/></svg>","countdown_preset5":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 400 400\\"><path fill-rule=\\"evenodd\\" d=\\"M44.454 192.079c1.22-2.006 3.11-3.579 5.48-3.579 2.37 0 4.262 1.573 5.482 3.579 1.237 2.036 1.954 4.753 1.954 7.676s-.717 5.64-1.954 7.676c-1.22 2.006-3.111 3.579-5.481 3.579-2.37 0-4.262-1.573-5.481-3.579-1.237-2.036-1.954-4.753-1.954-7.676s.717-5.64 1.954-7.676Zm2.55 1.511c-.916 1.507-1.53 3.683-1.53 6.165s.614 4.659 1.53 6.165c.934 1.536 2.016 2.154 2.93 2.154.916 0 1.998-.618 2.931-2.154.916-1.506 1.53-3.683 1.53-6.165s-.614-4.658-1.53-6.165c-.933-1.536-2.015-2.154-2.93-2.154s-1.998.618-2.93 2.154Zm15.293-1.511c1.22-2.006 3.111-3.579 5.481-3.579 2.37 0 4.262 1.573 5.481 3.579 1.237 2.036 1.954 4.753 1.954 7.676s-.717 5.64-1.954 7.676c-1.22 2.006-3.11 3.579-5.48 3.579-2.37 0-4.262-1.573-5.481-3.579-1.238-2.036-1.955-4.753-1.955-7.676s.717-5.64 1.954-7.676Zm2.55 1.511c-.915 1.507-1.53 3.683-1.53 6.165s.615 4.659 1.53 6.165c.934 1.536 2.016 2.154 2.931 2.154s1.998-.618 2.931-2.154c.916-1.506 1.53-3.683 1.53-6.165s-.614-4.658-1.53-6.165c-.933-1.536-2.016-2.154-2.93-2.154-.916 0-1.998.618-2.931 2.154Z\\" clip-rule=\\"evenodd\\"/><path d=\\"M81.656 207.585c-1.094 0-1.982.876-1.982 1.957 0 1.082.888 1.958 1.982 1.958h15.861c1.095 0 1.983-.876 1.983-1.958 0-1.081-.888-1.957-1.983-1.957h-15.86Z\\"/><path fill-rule=\\"evenodd\\" d=\\"M130.454 192.079c1.219-2.006 3.111-3.579 5.481-3.579 2.37 0 4.261 1.573 5.481 3.579 1.237 2.036 1.954 4.753 1.954 7.676s-.717 5.64-1.954 7.676c-1.22 2.006-3.111 3.579-5.481 3.579-2.37 0-4.262-1.573-5.481-3.579-1.237-2.036-1.954-4.753-1.954-7.676s.717-5.64 1.954-7.676Zm2.55 1.511c-.916 1.507-1.53 3.683-1.53 6.165s.614 4.659 1.53 6.165c.933 1.536 2.016 2.154 2.931 2.154s1.997-.618 2.93-2.154c.916-1.506 1.531-3.683 1.531-6.165s-.615-4.658-1.531-6.165c-.933-1.536-2.015-2.154-2.93-2.154s-1.998.618-2.931 2.154Zm15.293-1.511c1.22-2.006 3.111-3.579 5.481-3.579 2.37 0 4.262 1.573 5.481 3.579 1.237 2.036 1.954 4.753 1.954 7.676s-.717 5.64-1.954 7.676c-1.219 2.006-3.111 3.579-5.481 3.579-2.37 0-4.261-1.573-5.481-3.579-1.237-2.036-1.954-4.753-1.954-7.676s.717-5.64 1.954-7.676Zm2.551 1.511c-.916 1.507-1.531 3.683-1.531 6.165s.615 4.659 1.531 6.165c.933 1.536 2.015 2.154 2.93 2.154s1.998-.618 2.931-2.154c.916-1.506 1.53-3.683 1.53-6.165s-.614-4.658-1.53-6.165c-.933-1.536-2.016-2.154-2.931-2.154s-1.997.618-2.93 2.154Z\\" clip-rule=\\"evenodd\\"/><path d=\\"M167.657 207.585c-1.095 0-1.983.876-1.983 1.957 0 1.082.888 1.958 1.983 1.958h15.86c1.095 0 1.983-.876 1.983-1.958 0-1.081-.888-1.957-1.983-1.957h-15.86Z\\"/><path fill-rule=\\"evenodd\\" d=\\"M221.935 188.5c-2.37 0-4.262 1.573-5.481 3.579-1.237 2.036-1.954 4.753-1.954 7.676s.717 5.64 1.954 7.676c1.219 2.006 3.111 3.579 5.481 3.579 2.37 0 4.261-1.573 5.481-3.579 1.237-2.036 1.954-4.753 1.954-7.676s-.717-5.64-1.954-7.676c-1.22-2.006-3.111-3.579-5.481-3.579Zm-4.461 11.255c0-2.482.614-4.658 1.53-6.165.933-1.536 2.016-2.154 2.931-2.154s1.997.618 2.93 2.154c.916 1.507 1.531 3.683 1.531 6.165s-.615 4.659-1.531 6.165c-.933 1.536-2.015 2.154-2.93 2.154s-1.998-.618-2.931-2.154c-.916-1.506-1.53-3.683-1.53-6.165Zm22.304-11.255c-2.37 0-4.261 1.573-5.481 3.579-1.237 2.036-1.954 4.753-1.954 7.676s.717 5.64 1.954 7.676c1.22 2.006 3.111 3.579 5.481 3.579 2.37 0 4.262-1.573 5.481-3.579 1.237-2.036 1.954-4.753 1.954-7.676s-.717-5.64-1.954-7.676c-1.219-2.006-3.111-3.579-5.481-3.579Zm-4.461 11.255c0-2.482.615-4.658 1.531-6.165.933-1.536 2.015-2.154 2.93-2.154s1.998.618 2.931 2.154c.916 1.507 1.53 3.683 1.53 6.165s-.614 4.659-1.53 6.165c-.933 1.536-2.016 2.154-2.931 2.154s-1.997-.618-2.93-2.154c-.916-1.506-1.531-3.683-1.531-6.165Z\\" clip-rule=\\"evenodd\\"/><path d=\\"M251.674 209.542c0-1.081.888-1.957 1.983-1.957h15.86c1.095 0 1.983.876 1.983 1.957 0 1.082-.888 1.958-1.983 1.958h-15.86c-1.095 0-1.983-.876-1.983-1.958Z\\"/><path fill-rule=\\"evenodd\\" d=\\"M302.454 192.079c1.219-2.006 3.111-3.579 5.481-3.579 2.37 0 4.261 1.573 5.481 3.579 1.237 2.036 1.954 4.753 1.954 7.676s-.717 5.64-1.954 7.676c-1.22 2.006-3.111 3.579-5.481 3.579-2.37 0-4.262-1.573-5.481-3.579-1.237-2.036-1.954-4.753-1.954-7.676s.717-5.64 1.954-7.676Zm2.55 1.511c-.916 1.507-1.53 3.683-1.53 6.165s.614 4.659 1.53 6.165c.934 1.536 2.016 2.154 2.931 2.154s1.997-.618 2.93-2.154c.916-1.506 1.531-3.683 1.531-6.165s-.615-4.658-1.531-6.165c-.933-1.536-2.015-2.154-2.93-2.154s-1.997.618-2.931 2.154Zm15.293-1.511c1.22-2.006 3.111-3.579 5.481-3.579 2.37 0 4.262 1.573 5.481 3.579 1.237 2.036 1.954 4.753 1.954 7.676s-.717 5.64-1.954 7.676c-1.219 2.006-3.111 3.579-5.481 3.579-2.37 0-4.261-1.573-5.481-3.579-1.237-2.036-1.954-4.753-1.954-7.676s.717-5.64 1.954-7.676Zm2.551 1.511c-.916 1.507-1.531 3.683-1.531 6.165s.615 4.659 1.531 6.165c.933 1.536 2.015 2.154 2.93 2.154s1.998-.618 2.931-2.154c.916-1.506 1.53-3.683 1.53-6.165s-.614-4.658-1.53-6.165c-.933-1.536-2.016-2.154-2.931-2.154s-1.997.618-2.93 2.154Z\\" clip-rule=\\"evenodd\\"/><path d=\\"M339.657 207.585c-1.095 0-1.983.876-1.983 1.957 0 1.082.888 1.958 1.983 1.958h15.86c1.095 0 1.983-.876 1.983-1.958 0-1.081-.888-1.957-1.983-1.957h-15.86Z\\"/></svg>","blockquote":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path fill-rule=\\"evenodd\\" d=\\"M2 6a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H3a1 1 0 0 1-1-1Zm5 6a1 1 0 0 1 1-1h13a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1Zm0 6a1 1 0 0 1 1-1h13a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1Zm-4-7a1 1 0 0 1 1 1v6a1 1 0 1 1-2 0v-6a1 1 0 0 1 1-1Z\\" clip-rule=\\"evenodd\\"/></svg>","timeline":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path d=\\"M11 3a1 1 0 1 1 2 0v18a1 1 0 1 1-2 0V3Z\\"/><path fill-rule=\\"evenodd\\" d=\\"M16.037 7.397 15 6.517l.953-.789c.262-.436.74-.728 1.286-.728H20.5a1.5 1.5 0 0 1 0 3h-3.261c-.492 0-.929-.237-1.202-.603Zm0 11L15 17.517l1.025-.898A1.498 1.498 0 0 1 17.239 16H20.5a1.5 1.5 0 0 1 0 3h-3.261c-.492 0-.929-.237-1.202-.603ZM8 12.847l1-.83-.966-.811A1.499 1.499 0 0 0 6.76 10.5H3.5a1.5 1.5 0 0 0 0 3h3.261c.514 0 .968-.259 1.238-.653Z\\" clip-rule=\\"evenodd\\"/></svg>","notice":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\"><path fill-rule=\\"evenodd\\" d=\\"M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18ZM1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12Z\\" clip-rule=\\"evenodd\\"/><path fill-rule=\\"evenodd\\" d=\\"M12 7a1 1 0 0 1 1 1v4a1 1 0 0 1-2 0V8a1 1 0 0 1 1-1Zm-1 9a1 1 0 0 1 1-1h.01a1 1 0 0 1 0 2H12a1 1 0 0 1-1-1Z\\" clip-rule=\\"evenodd\\"/></svg>","progress_bar_1":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 400 400\\"><rect width=\\"82\\" height=\\"8\\" x=\\"70\\" y=\\"178\\" opacity=\\".5\\" rx=\\"4\\"/><rect width=\\"36\\" height=\\"8\\" x=\\"294\\" y=\\"178\\" opacity=\\".5\\" rx=\\"4\\"/><rect width=\\"121\\" height=\\"27\\" x=\\"70\\" y=\\"194\\" rx=\\"6\\"/><rect width=\\"260\\" height=\\"27\\" x=\\"70\\" y=\\"194\\" opacity=\\".5\\" rx=\\"6\\"/></svg>","progress_bar_2":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 400 400\\"><path d=\\"M200 300a100 100 0 0 1-35.98-193.303l3.598 9.33A90.002 90.002 0 0 0 200 290v10Z\\" opacity=\\".5\\"/><path d=\\"M163.272 106.989a99.997 99.997 0 0 1 116.678 32.944 100.006 100.006 0 0 1 20.048 60.76 100.006 100.006 0 0 1-74.162 95.912 99.997 99.997 0 0 1-112.138-46.087 100.009 100.009 0 0 1-12.959-62.656l9.926 1.213a90.003 90.003 0 0 0 112.588 97.869 89.999 89.999 0 1 0-56.308-170.654l-3.673-9.301Z\\"/><rect width=\\"36\\" height=\\"8\\" x=\\"183\\" y=\\"204\\" opacity=\\".5\\" rx=\\"4\\"/><rect width=\\"82\\" height=\\"8\\" x=\\"159\\" y=\\"188\\" opacity=\\".5\\" rx=\\"4\\"/></svg>","cta_1":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 400 400\\"><path d=\\"M34 30h332v340H34z\\" opacity=\\".1\\"/><path d=\\"M264.854 130H135.146C128.99 130 124 134.925 124 141s4.99 11 11.146 11h129.708c6.156 0 11.146-4.925 11.146-11s-4.99-11-11.146-11Z\\"/><rect width=\\"196\\" height=\\"12\\" x=\\"102\\" y=\\"199\\" opacity=\\".5\\" rx=\\"6\\"/><rect width=\\"260\\" height=\\"12\\" x=\\"70\\" y=\\"174\\" opacity=\\".5\\" rx=\\"6\\"/><rect width=\\"98\\" height=\\"27\\" x=\\"151\\" y=\\"243\\" rx=\\"8\\"/></svg>","cta_2":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 400 400\\"><path fill-rule=\\"evenodd\\" d=\\"M362 32H38a2 2 0 0 0-2 2v332a2 2 0 0 0 2 2h324a2 2 0 0 0 2-2V34a2 2 0 0 0-2-2ZM38 30a4 4 0 0 0-4 4v332a4 4 0 0 0 4 4h324a4 4 0 0 0 4-4V34a4 4 0 0 0-4-4H38Z\\" clip-rule=\\"evenodd\\" opacity=\\".1\\"/><path d=\\"M264.854 130H135.146C128.99 130 124 134.925 124 141s4.99 11 11.146 11h129.708c6.156 0 11.146-4.925 11.146-11s-4.99-11-11.146-11Z\\"/><rect width=\\"196\\" height=\\"12\\" x=\\"102\\" y=\\"199\\" opacity=\\".5\\" rx=\\"6\\"/><rect width=\\"260\\" height=\\"12\\" x=\\"70\\" y=\\"174\\" opacity=\\".5\\" rx=\\"6\\"/><rect width=\\"98\\" height=\\"27\\" x=\\"151\\" y=\\"243\\" rx=\\"8\\"/></svg>","cta_3":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 400 400\\"><rect width=\\"96\\" height=\\"12\\" x=\\"66\\" y=\\"169\\" rx=\\"6\\"/><path d=\\"M66 200a6 6 0 0 1 6-6h148a6 6 0 1 1 0 12H72a6 6 0 0 1-6-6Zm0 25a6 6 0 0 1 6-6h148a6 6 0 1 1 0 12H72a6 6 0 0 1-6-6Z\\" opacity=\\".5\\"/><rect width=\\"67\\" height=\\"27\\" x=\\"267\\" y=\\"187\\" rx=\\"6\\"/></svg>","cta_4":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 400 400\\"><rect width=\\"67\\" height=\\"27\\" x=\\"66\\" y=\\"187\\" rx=\\"6\\"/><rect width=\\"96\\" height=\\"12\\" x=\\"174\\" y=\\"169\\" rx=\\"6\\"/><rect width=\\"160\\" height=\\"12\\" x=\\"174\\" y=\\"194\\" opacity=\\".5\\" rx=\\"6\\"/><rect width=\\"160\\" height=\\"12\\" x=\\"174\\" y=\\"219\\" opacity=\\".5\\" rx=\\"6\\"/></svg>","iconlist_preset1":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 400 400\\"><path fill-rule=\\"evenodd\\" d=\\"M112.374 158.693a1 1 0 0 1 0 1.414l-9.167 9.167a1.002 1.002 0 0 1-1.414 0l-4.167-4.167a1 1 0 1 1 1.415-1.414l3.459 3.459 8.46-8.459a.999.999 0 0 1 1.414 0Z\\" clip-rule=\\"evenodd\\"/><rect width=\\"170\\" height=\\"12\\" x=\\"135\\" y=\\"158\\" opacity=\\".5\\" rx=\\"6\\"/><path fill-rule=\\"evenodd\\" d=\\"M112.374 194.693a1 1 0 0 1 0 1.414l-9.167 9.167a1.002 1.002 0 0 1-1.414 0l-4.167-4.167a1 1 0 1 1 1.415-1.414l3.459 3.459 8.46-8.459a.999.999 0 0 1 1.414 0Z\\" clip-rule=\\"evenodd\\"/><rect width=\\"170\\" height=\\"12\\" x=\\"135\\" y=\\"194\\" opacity=\\".5\\" rx=\\"6\\"/><path fill-rule=\\"evenodd\\" d=\\"M112.374 230.693a1 1 0 0 1 0 1.414l-9.167 9.167a1.002 1.002 0 0 1-1.414 0l-4.167-4.167a1 1 0 1 1 1.415-1.414l3.459 3.459 8.46-8.459a.999.999 0 0 1 1.414 0Z\\" clip-rule=\\"evenodd\\"/><rect width=\\"170\\" height=\\"12\\" x=\\"135\\" y=\\"230\\" opacity=\\".5\\" rx=\\"6\\"/></svg>","iconlist_preset2":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 400 400\\"><path d=\\"M111.874 161.832a1 1 0 0 0-1.414-1.415l-5.022 5.022-1.897-1.897a1.002 1.002 0 0 0-1.415 0 1.002 1.002 0 0 0 0 1.415l2.604 2.604a1.004 1.004 0 0 0 1.415 0l5.729-5.729Z\\"/><path fill-rule=\\"evenodd\\" d=\\"M117 164c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10 10 4.477 10 10Zm-1.5 0a8.5 8.5 0 1 1-17.001-.001A8.5 8.5 0 0 1 115.5 164Z\\" clip-rule=\\"evenodd\\"/><rect width=\\"170\\" height=\\"12\\" x=\\"133\\" y=\\"158\\" opacity=\\".5\\" rx=\\"6\\"/><path d=\\"M111.874 197.832a1 1 0 0 0-1.414-1.415l-5.022 5.022-1.897-1.897a1.002 1.002 0 0 0-1.415 0 1.002 1.002 0 0 0 0 1.415l2.604 2.604a1.004 1.004 0 0 0 1.415 0l5.729-5.729Z\\"/><path fill-rule=\\"evenodd\\" d=\\"M117 200c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10 10 4.477 10 10Zm-1.5 0a8.5 8.5 0 1 1-17.001-.001A8.5 8.5 0 0 1 115.5 200Z\\" clip-rule=\\"evenodd\\"/><rect width=\\"170\\" height=\\"12\\" x=\\"133\\" y=\\"194\\" opacity=\\".5\\" rx=\\"6\\"/><path d=\\"M111.874 233.832a1 1 0 0 0-1.414-1.415l-5.022 5.022-1.897-1.897a1.002 1.002 0 0 0-1.415 0 1.002 1.002 0 0 0 0 1.415l2.604 2.604a1.004 1.004 0 0 0 1.415 0l5.729-5.729Z\\"/><path fill-rule=\\"evenodd\\" d=\\"M117 236c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10 10 4.477 10 10Zm-1.5 0a8.5 8.5 0 1 1-17.001-.001A8.5 8.5 0 0 1 115.5 236Z\\" clip-rule=\\"evenodd\\"/><rect width=\\"170\\" height=\\"12\\" x=\\"133\\" y=\\"230\\" opacity=\\".5\\" rx=\\"6\\"/></svg>","iconlist_preset3":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 400 400\\"><path fill-rule=\\"evenodd\\" d=\\"M107 174c5.523 0 10-4.477 10-10s-4.477-10-10-10-10 4.477-10 10 4.477 10 10 10Zm4.874-12.168a1 1 0 0 0-1.414-1.415l-5.022 5.023-1.897-1.898a1.002 1.002 0 0 0-1.415 0 1.002 1.002 0 0 0 0 1.415l2.604 2.604a1.004 1.004 0 0 0 1.415 0l5.729-5.729Z\\" clip-rule=\\"evenodd\\"/><rect width=\\"170\\" height=\\"12\\" x=\\"133\\" y=\\"158\\" opacity=\\".5\\" rx=\\"6\\"/><path fill-rule=\\"evenodd\\" d=\\"M107 210c5.523 0 10-4.477 10-10s-4.477-10-10-10-10 4.477-10 10 4.477 10 10 10Zm4.874-12.168a1 1 0 0 0-1.414-1.415l-5.022 5.023-1.897-1.898a1.002 1.002 0 0 0-1.415 0 1.002 1.002 0 0 0 0 1.415l2.604 2.604a1.004 1.004 0 0 0 1.415 0l5.729-5.729Z\\" clip-rule=\\"evenodd\\"/><rect width=\\"170\\" height=\\"12\\" x=\\"133\\" y=\\"194\\" opacity=\\".5\\" rx=\\"6\\"/><path fill-rule=\\"evenodd\\" d=\\"M107 246c5.523 0 10-4.477 10-10s-4.477-10-10-10-10 4.477-10 10 4.477 10 10 10Zm4.874-12.168a1 1 0 0 0-1.414-1.415l-5.022 5.023-1.897-1.898a1.002 1.002 0 0 0-1.415 0 1.002 1.002 0 0 0 0 1.415l2.604 2.604a1.004 1.004 0 0 0 1.415 0l5.729-5.729Z\\" clip-rule=\\"evenodd\\"/><rect width=\\"170\\" height=\\"12\\" x=\\"133\\" y=\\"230\\" opacity=\\".5\\" rx=\\"6\\"/></svg>","icon_default":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 56 56\\"><path d=\\"M40.973 49a2.333 2.333 0 0 1-1.074-.257L28 42.513l-11.9 6.23a2.333 2.333 0 0 1-3.383-2.473l2.333-13.137L5.436 23.8a2.333 2.333 0 0 1-.583-2.333 2.334 2.334 0 0 1 1.89-1.587l13.3-1.937 5.856-11.97a2.334 2.334 0 0 1 4.2 0l5.927 11.947 13.3 1.937a2.333 2.333 0 0 1 1.89 1.586 2.333 2.333 0 0 1-.583 2.334l-9.614 9.333 2.334 13.137a2.333 2.333 0 0 1-.934 2.333 2.333 2.333 0 0 1-1.446.42Z\\"/></svg>","icon_preset1":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 400 400\\"><path fill-rule=\\"evenodd\\" d=\\"M200 236c19.882 0 36-16.118 36-36s-16.118-36-36-36-36 16.118-36 36 16.118 36 36 36Zm10.2-18.22a2 2 0 0 0 .92.22c.441.02.877-.106 1.24-.36a2.004 2.004 0 0 0 .8-2l-2-11.26 8.24-8a2 2 0 0 0 .5-2 2.006 2.006 0 0 0-1.62-1.36l-11.4-1.66-5.08-10.24a2.009 2.009 0 0 0-.738-.823 2.007 2.007 0 0 0-2.125 0 2 2 0 0 0-.737.823l-5.02 10.26-11.4 1.66a2.003 2.003 0 0 0-1.62 1.36 1.99 1.99 0 0 0 .5 2l8.24 8-2 11.26a1.998 1.998 0 0 0 2.9 2.12l10.2-5.34 10.2 5.34Z\\" clip-rule=\\"evenodd\\"/></svg>","icon_preset2":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 400 400\\"><path d=\\"M210.2 217.78a2 2 0 0 0 .92.22c.441.02.877-.106 1.24-.36a2.004 2.004 0 0 0 .8-2l-2-11.26 8.24-8a2 2 0 0 0 .5-2 2.006 2.006 0 0 0-1.62-1.36l-11.4-1.66-5.08-10.24a2.009 2.009 0 0 0-.738-.823 2.007 2.007 0 0 0-2.125 0 2 2 0 0 0-.737.823l-5.02 10.26-11.4 1.66a2.003 2.003 0 0 0-1.62 1.36 1.99 1.99 0 0 0 .5 2l8.24 8-2 11.26a1.998 1.998 0 0 0 2.9 2.12l10.2-5.34 10.2 5.34Z\\"/><path fill-rule=\\"evenodd\\" d=\\"M236 200c0 19.882-16.118 36-36 36s-36-16.118-36-36 16.118-36 36-36 36 16.118 36 36Zm-2 0c0 18.778-15.222 34-34 34s-34-15.222-34-34 15.222-34 34-34 34 15.222 34 34Z\\" clip-rule=\\"evenodd\\"/></svg>","icon_preset3":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 400 400\\"><path fill-rule=\\"evenodd\\" d=\\"M235 165h-70v70h70v-70Zm-25.084 52.286c.277.142.584.215.895.214a1.94 1.94 0 0 0 1.205-.35 1.941 1.941 0 0 0 .778-1.945l-1.944-10.947 8.011-7.778a1.946 1.946 0 0 0 .486-1.944 1.936 1.936 0 0 0-.599-.886 1.937 1.937 0 0 0-.976-.436l-11.084-1.614-4.938-9.956a1.953 1.953 0 0 0-1.75-1.097 1.942 1.942 0 0 0-1.75 1.097l-4.881 9.975-11.083 1.614a1.94 1.94 0 0 0-1.575 1.322 1.949 1.949 0 0 0 .486 1.945l8.011 7.778-1.945 10.947a1.948 1.948 0 0 0 1.772 2.279c.363.027.726-.049 1.048-.218l9.917-5.192 9.916 5.192Z\\" clip-rule=\\"evenodd\\"/></svg>","icon_preset4":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 400 400\\"><path d=\\"M209.916 217.286c.277.142.584.215.895.214a1.94 1.94 0 0 0 1.205-.35 1.941 1.941 0 0 0 .778-1.945l-1.944-10.947 8.011-7.778a1.946 1.946 0 0 0 .486-1.944 1.936 1.936 0 0 0-.599-.886 1.937 1.937 0 0 0-.976-.436l-11.084-1.614-4.938-9.956a1.953 1.953 0 0 0-1.75-1.097 1.942 1.942 0 0 0-1.75 1.097l-4.881 9.975-11.083 1.614a1.94 1.94 0 0 0-1.575 1.322 1.949 1.949 0 0 0 .486 1.945l8.011 7.778-1.945 10.947a1.948 1.948 0 0 0 1.772 2.279c.363.027.726-.049 1.048-.218l9.917-5.192 9.916 5.192Z\\"/><path fill-rule=\\"evenodd\\" d=\\"M165 165h70v70h-70v-70Zm1.944 1.944h66.112v66.112h-66.112v-66.112Z\\" clip-rule=\\"evenodd\\"/></svg>","icon_preset5":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 400 400\\"><path fill-rule=\\"evenodd\\" d=\\"M172.778 165a7.778 7.778 0 0 0-7.778 7.778v54.444a7.778 7.778 0 0 0 7.778 7.778h54.444a7.778 7.778 0 0 0 7.778-7.778v-54.444a7.778 7.778 0 0 0-7.778-7.778h-54.444Zm37.138 52.286c.277.142.584.215.895.214a1.94 1.94 0 0 0 1.205-.35 1.941 1.941 0 0 0 .778-1.945l-1.944-10.947 8.011-7.778a1.946 1.946 0 0 0 .486-1.944 1.936 1.936 0 0 0-.599-.886 1.937 1.937 0 0 0-.976-.436l-11.084-1.614-4.938-9.956a1.953 1.953 0 0 0-1.75-1.097 1.942 1.942 0 0 0-1.75 1.097l-4.881 9.975-11.083 1.614a1.94 1.94 0 0 0-1.575 1.322 1.949 1.949 0 0 0 .486 1.945l8.011 7.778-1.945 10.947a1.948 1.948 0 0 0 1.772 2.279c.363.027.726-.049 1.048-.218l9.917-5.192 9.916 5.192Z\\" clip-rule=\\"evenodd\\"/></svg>","icon_preset6":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 400 400\\"><path d=\\"M209.916 217.286c.277.142.584.215.895.214a1.94 1.94 0 0 0 1.205-.35 1.941 1.941 0 0 0 .778-1.945l-1.944-10.947 8.011-7.778a1.946 1.946 0 0 0 .486-1.944 1.936 1.936 0 0 0-.599-.886 1.937 1.937 0 0 0-.976-.436l-11.084-1.614-4.938-9.956a1.953 1.953 0 0 0-1.75-1.097 1.942 1.942 0 0 0-1.75 1.097l-4.881 9.975-11.083 1.614a1.94 1.94 0 0 0-1.575 1.322 1.949 1.949 0 0 0 .486 1.945l8.011 7.778-1.945 10.947a1.948 1.948 0 0 0 1.772 2.279c.363.027.726-.049 1.048-.218l9.917-5.192 9.916 5.192Z\\"/><path fill-rule=\\"evenodd\\" d=\\"M165 172.778a7.778 7.778 0 0 1 7.778-7.778h54.444a7.778 7.778 0 0 1 7.778 7.778v54.444a7.778 7.778 0 0 1-7.778 7.778h-54.444a7.778 7.778 0 0 1-7.778-7.778v-54.444Zm7.778-5.834h54.444a5.834 5.834 0 0 1 5.834 5.834v54.444a5.834 5.834 0 0 1-5.834 5.834h-54.444a5.834 5.834 0 0 1-5.834-5.834v-54.444a5.834 5.834 0 0 1 5.834-5.834Z\\" clip-rule=\\"evenodd\\"/></svg>","priceList":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" fill=\\"none\\" viewBox=\\"0 0 24 24\\"><path fill=\\"#2563EB\\" d=\\"M8 17a1 1 0 0 1 1-1h6a1 1 0 1 1 0 2H9a1 1 0 0 1-1-1Zm-4 4a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H5a1 1 0 0 1-1-1Z\\" /><path fill=\\"#2563EB\\" fillRule=\\"evenodd\\" d=\\"M8.688 4.795a2.41 2.41 0 0 1 1.705-.706h4.821a.804.804 0 1 1 0 1.607h-4.821a.804.804 0 0 0 0 1.608h3.214a2.41 2.41 0 1 1 0 4.821H8.786a.804.804 0 0 1 0-1.607h4.821a.804.804 0 1 0 0-1.607h-3.214a2.41 2.41 0 0 1-1.705-4.116Z\\" clipRule=\\"evenodd\\" /><path fill=\\"#2563EB\\" fillRule=\\"evenodd\\" d=\\"M12 2.482c.444 0 .803.36.803.804v9.643a.804.804 0 0 1-1.607 0V3.286c0-.444.36-.804.804-.804Z\\" clipRule=\\"evenodd\\" /></svg>","price_preset_1":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 400 400\\"><path d=\\"M34 30h332v340H34z\\" opacity=\\".1\\"/><path d=\\"M264.854 118H135.146C128.99 118 124 122.925 124 129s4.99 11 11.146 11h129.708c6.156 0 11.146-4.925 11.146-11s-4.99-11-11.146-11Z\\"/><path d=\\"M102 218a6 6 0 0 1 6-6h184a6 6 0 1 1 0 12H108a6 6 0 0 1-6-6Zm-32-50a6 6 0 0 1 6-6h248a6 6 0 1 1 0 12H76a6 6 0 0 1-6-6Zm0 25a6 6 0 0 1 6-6h248a6 6 0 1 1 0 12H76a6 6 0 0 1-6-6Z\\" opacity=\\".5\\"/><rect width=\\"98\\" height=\\"27\\" x=\\"151\\" y=\\"255\\" rx=\\"8\\"/></svg>","price_preset_2":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 400 400\\"><path fill-rule=\\"evenodd\\" d=\\"M362 32H38a2 2 0 0 0-2 2v332a2 2 0 0 0 2 2h324a2 2 0 0 0 2-2V34a2 2 0 0 0-2-2ZM38 30a4 4 0 0 0-4 4v332a4 4 0 0 0 4 4h324a4 4 0 0 0 4-4V34a4 4 0 0 0-4-4H38Z\\" clip-rule=\\"evenodd\\" opacity=\\".25\\"/><path d=\\"M264.854 118H135.146C128.99 118 124 122.925 124 129s4.99 11 11.146 11h129.708c6.156 0 11.146-4.925 11.146-11s-4.99-11-11.146-11Z\\"/><rect width=\\"196\\" height=\\"12\\" x=\\"102\\" y=\\"212\\" opacity=\\".5\\" rx=\\"6\\"/><rect width=\\"260\\" height=\\"12\\" x=\\"70\\" y=\\"162\\" opacity=\\".5\\" rx=\\"6\\"/><rect width=\\"260\\" height=\\"12\\" x=\\"70\\" y=\\"187\\" opacity=\\".5\\" rx=\\"6\\"/><rect width=\\"98\\" height=\\"27\\" x=\\"151\\" y=\\"255\\" rx=\\"8\\"/></svg>","modal":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" fill=\\"none\\" viewBox=\\"0 0 24 24\\"><path fill=\\"#2563EB\\" d=\\"M7.2 13.8a.84.84 0 0 1 .84-.84h7.92a.84.84 0 0 1 0 1.68H8.04a.84.84 0 0 1-.84-.84ZM7.2 17.16a.84.84 0 0 1 .84-.84h7.92a.84.84 0 0 1 0 1.68H8.04a.84.84 0 0 1-.84-.84ZM17.885 10.05a.72.72 0 0 0 0-1.02l-.949-.948.949-.949a.72.72 0 1 0-1.018-1.018l-.95.949-.948-.95a.72.72 0 1 0-1.018 1.02l.949.948-.95.949a.72.72 0 1 0 1.019 1.018l.949-.949.949.95a.72.72 0 0 0 1.018 0Z\\"/><path fill=\\"#2563EB\\" fill-rule=\\"evenodd\\" d=\\"M1.92 4.8A2.88 2.88 0 0 1 4.8 1.92h14.4a2.88 2.88 0 0 1 2.88 2.88v14.4a2.88 2.88 0 0 1-2.88 2.88H4.8a2.88 2.88 0 0 1-2.88-2.88V4.8Zm2.88-.878h14.4c.485 0 .878.393.878.878v14.4a.878.878 0 0 1-.878.878H4.8a.878.878 0 0 1-.878-.878V4.8c0-.485.393-.878.878-.878Z\\" clip-rule=\\"evenodd\\"/></svg>","imageGallery":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" fill=\\"none\\" viewBox=\\"0 0 24 24\\"><path fill=\\"#2563EB\\" fill-rule=\\"evenodd\\" d=\\"M20 9H9v11h11V9ZM9 7a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h11a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2H9Z\\" clip-rule=\\"evenodd\\"/><path fill=\\"#2563EB\\" fill-rule=\\"evenodd\\" d=\\"M2 5a3 3 0 0 1 3-3h12.118A2.882 2.882 0 0 1 20 4.882V6h-2V4.882A.882.882 0 0 0 17.118 4H5a1 1 0 0 0-1 1v12.222c0 .43.348.778.778.778H6v2H4.778A2.778 2.778 0 0 1 2 17.222V5Z\\" clip-rule=\\"evenodd\\"/><path fill=\\"#2563EB\\" d=\\"m12.977 15.474-.744-.869L10 18h9l-3.79-6-2.233 3.474Z\\"/></svg>"}'),cz=e=>{const{name:t,className:r="",size:n=24,...a}=e;if(!t)return null;const o=t.split("-").map(((e,t)=>0===t?e:Pv(e))).join("");if(!sz[o])return null;const i={width:n,height:n,...lz(sz[o])?.props,className:Cv("blockart-icon",r),...a};return(0,oz.createElement)(Zv.SVG,i)},uz=({imageUrl:e,label:t,count:r,action:n,type:a,id:o})=>{const{createSuccessNotice:i,createErrorNotice:l}=(0,Hv.useDispatch)(nz.store),{mutate:s,isLoading:c}=(0,FD.useMutation)((async e=>{try{var t;const r=await az.get(`https://wpblockart.com/wp-json/blockart-library/v1/content?id=${e}`),n=await IN(null!==(t=r?.data)&&void 0!==t?t:""),a=(0,$.parse)(n,{__unstableSkipMigrationLogs:!0});return wp.data.dispatch("core/block-editor").insertBlocks(a),e}catch{throw Error("Failed to import")}}),{onSuccess(){i((0,K.__)("Import success!","blockart"),{type:"snackbar"})},onError(){l((0,K.__)("Import failed!","blockart"),{type:"snackbar"})}});return G().createElement(Ba,{w:"full",border:"1px",borderColor:"gray.200",borderRadius:"sm",cursor:"pointer",_hover:{borderColor:"primary.500"},onClick:"cat"===a?n:void 0},G().createElement(UB,{ratio:4/3,m:"4px 4px 0 4px"},G().createElement(KB,{src:e})),G().createElement(Ua,{justify:"space-between",py:"3",px:"4"},G().createElement(YB,{m:"0",fontSize:"11px",fontWeight:"semibold",as:"h3",size:"md"},t),"cat"===a?G().createElement(N_,{as:"span",color:"primary.500",fontSize:"11px",fontWeight:"semibold"},r):G().createElement(cf,{onClick:o?()=>s(o):void 0,fontSize:"x-small",size:"xs",isLoading:c},(0,K.__)("Import","blockart"))))},dz=VD(HD((()=>{const e=(0,FD.useQuery)(["library-data"],(()=>sb()({path:"/blockart/v1/library-data",method:"GET"}))),[t,r]=G().useState(),n=G().useRef(null);return G().createElement(WB,{h:"full"},G().createElement(Ba,{h:"calc(100% - 35px)",w:"auto",p:"20px"},G().createElement(YB,{as:"h3",fontSize:"13px",fontWeight:"semibold",m:"0",alignSelf:"start",mb:"6",cursor:"pointer",onClick:()=>r(void 0)},G().createElement(Ua,{justify:"space-between"},G().createElement(Ba,null,t?(0,K.__)("Go back","blockart"):(0,K.__)("Template","blockart")),G().createElement(cf,{variant:"link",justifyContent:"flex-end",onClick:()=>{document.querySelector(".blockart-library-sidebar")?.remove()},sx:{svg:{fill:"#222222",w:"14px",h:"14px"}}},G().createElement(cz,{type:"controlIcon",name:"close",size:13})))),G().createElement(kS,{gap:"4",w:"calc(100% + 20px)",h:"calc(100%)",overflowY:"auto",sx:{"&::-webkit-scrollbar":{width:"4px",backgroundColor:"white"},"&::-webkit-scrollbar-thumb":{backgroundColor:"gray.300",borderRadius:"8px"}},pr:"20px",mr:"-20px",ref:n},e.isLoading||e.isRefetching?Array.from({length:5}).map(((e,t)=>G().createElement(Ba,{key:t,w:"full",border:"1px",borderColor:"gray.200",borderRadius:"sm",p:"4px"},G().createElement(rz,{h:"170px",w:"full"}),G().createElement(Ua,{justify:"space-between",py:"3",px:"4"},G().createElement(rz,{w:"50px",h:"14px"}),G().createElement(rz,{w:"14px",h:"14px"}))))):e.data?.categorized_sections?t?e.data.categorized_sections[t].items.map((e=>G().createElement(uz,{key:e.ID,label:e.post_title,imageUrl:e.post_thumbnail,action:()=>r(void 0),type:"section",id:e.ID}))):Object.values(e.data.categorized_sections).map((e=>G().createElement(uz,{key:e.slug,label:e.name,imageUrl:e.items[0].post_thumbnail,action:()=>r(e.slug),count:e.count,type:"cat"}))):null)))}))),pz=VD((({renderer:e})=>{const[t,r]=G().useState(!1),[n,a]=G().useState(!1),o=(0,Hv.useSelect)((e=>e($D).getInserters()),[]),{insertBlock:i}=(0,Hv.useDispatch)("core/block-editor"),l=e=>{const t=document.querySelector(".blockart-shortcut-sidebar");if(t)return document.querySelector(`.${e}`)?(document.querySelector(`.${e}`)?.remove(),!1):(t.insertAdjacentHTML("afterend",`<div class="${e}"></div>`),document.querySelector(`.${e}`))};return G().createElement(Ba,{w:"60px",bgColor:"white",border:"1px solid",h:"full",borderColor:"gray.200"},G().createElement(Za,{h:"calc(100% - 60px)"},G().createElement(Za,{alignItems:"center"},G().createElement(cf,{isActive:t,onClick:()=>{const t=l("blockart-library-sidebar");r(!!t),t&&e(dz,t)},variant:"icon",sx:{svg:{w:6,h:6}},my:"3"},G().createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},G().createElement("path",{d:"M3.33337 10L10 13.3333L16.6667 10M3.33337 13.3333L10 16.6667L16.6667 13.3333M10 3.33334L3.33337 6.66668L10 10L16.6667 6.66668L10 3.33334Z",stroke:"#222222",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})))),G().createElement(Ra.hr,{mx:"auto",w:"80%",bg:"gray.400",h:"1px",borderRadius:"base"}),G().createElement(WB,{h:"full"},G().createElement(Za,{alignItems:"center"},o.map((e=>{var t;const r=null!==(t=Object.values(ND).find((t=>t.blockName===e)))&&void 0!==t?t:null;return r?G().createElement(Xh,{key:e,label:r.label,placement:"top",hasArrow:!0,closeOnClick:!1},G().createElement(cf,{onClick:()=>i((0,$.createBlock)(e)),variant:"icon",sx:{svg:{w:6,h:6,fill:"primary.500"}},my:"3"},G().createElement(r.icon,null))):null}))))),G().createElement(Ba,{h:"60px",w:"60px",display:"flex",alignItems:"center",justifyContent:"center"},G().createElement(cf,{isActive:n,variant:"icon",bgColor:"primary.500",sx:{svg:{w:6,h:6}},onClick:()=>{const t=l("blockart-inserters-sidebar");a(!!t),t&&e(ZB,t)},_active:{}},G().createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},G().createElement("path",{d:"M11.25 12.75V18H12.75V12.75H18V11.25H12.75V6H11.25V11.25H6V12.75H11.25Z",fill:"white"})))))})),{createRoot:mz,render:hz}=wp.element,fz=(e,t)=>{mz?mz(t).render(G().createElement(e,null)):hz(G().createElement(e,null),t)},vz=(e,t=[])=>{for(const r of e)r.name.startsWith("blockart/")&&(t.push(r),r.innerBlocks&&r.innerBlocks.length>0&&vz(r.innerBlocks,t));return t};var bz=$e(((e,t)=>{const{onClick:r,className:n,...a}=e,{onClose:o}=CP(),i=ie("chakra-modal__close-btn",n),l=_P();return(0,Ma.jsx)(c_,{ref:t,__css:l.closeButton,className:i,onClick:me(r,(e=>{e.stopPropagation(),o()})),...a})}));function gz(e,t){var r;const n=function(e){var t,r;const n=le(e)?e:{fallback:null!=e?e:"base"},a=wr().__breakpoints.details.map((({minMaxQuery:e,breakpoint:t})=>({breakpoint:t,query:e.replace("@media screen and ","")}))),o=a.map((e=>e.breakpoint===n.fallback)),i=function(e,t={}){const{ssr:r=!0,fallback:n}=t,{getWindow:a}=function({defer:e}={}){const[,t]=(0,U.useReducer)((e=>e+1),0);return tl((()=>{e&&t()}),[e]),(0,U.useContext)(Ab)}(),o=Array.isArray(e)?e:[e];let i=Array.isArray(n)?n:[n];i=i.filter((e=>null!=e));const[l,s]=(0,U.useState)((()=>o.map(((e,t)=>({media:e,matches:r?!!i[t]:a().matchMedia(e).matches})))));return(0,U.useEffect)((()=>{const e=a();s(o.map((t=>({media:t,matches:e.matchMedia(t).matches}))));const t=o.map((t=>e.matchMedia(t))),r=e=>{s((t=>t.slice().map((t=>t.media===e.media?{...t,matches:e.matches}:t))))};return t.forEach((e=>{"function"==typeof e.addListener?e.addListener(r):e.addEventListener("change",r)})),()=>{t.forEach((e=>{"function"==typeof e.removeListener?e.removeListener(r):e.removeEventListener("change",r)}))}}),[a]),l.map((e=>e.matches))}(a.map((e=>e.query)),{fallback:o,ssr:n.ssr});return null!=(r=null==(t=a[i.findIndex((e=>1==e))])?void 0:t.breakpoint)?r:n.fallback}(le(t)?t:{fallback:null!=t?t:"base"}),a=wr();if(!n)return;const o=Array.from((null==(r=a.__breakpoints)?void 0:r.keys)||[]),i=Array.isArray(e)?Object.fromEntries(Object.entries(function(e,t=Wa){const r={};return e.forEach(((e,n)=>{const a=t[n];null!=e&&(r[a]=e)})),r}(e,o)).map((([e,t])=>[e,t]))):e;return function(e,t,r=Wa){let n=Object.keys(e).indexOf(t);if(-1!==n)return e[t];let a=r.indexOf(t);for(;a>=0;){const t=r[a];if(e.hasOwnProperty(t)){n=a;break}a-=1}return-1!==n?e[r[n]]:void 0}(i,n,o)}bz.displayName="ModalCloseButton";var yz=3,Ez=e=>{const{noOfLines:t=yz,spacing:r="0.5rem",skeletonHeight:n="0.5rem",className:a,startColor:o,endColor:i,isLoaded:l,fadeDuration:s,speed:c,variant:u,size:d,colorScheme:p,children:m,...h}=e,f=gz("number"==typeof t?[t]:t)||yz,v=Array(f).fill(1).map(((e,t)=>t+1)),b=e=>f>1&&e===v.length?"80%":"100%",g=ie("chakra-skeleton__group",a);return(0,Ma.jsx)(Ra.div,{className:g,...h,children:v.map(((e,t)=>{if(l&&t>0)return null;const a=l?null:{mb:e===v.length?"0":r,width:b(e),height:n};return(0,Ma.jsx)(rz,{startColor:o,endColor:i,isLoaded:l,fadeDuration:s,speed:c,variant:u,size:d,colorScheme:p,...a,children:0===t?m:void 0},v.length.toString()+e)}))})};Ez.displayName="SkeletonText";const kz=G().forwardRef(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 18 18",xmlns:"https://www.w3.org/2000/svg",ref:t},e),G().createElement("path",{fillRule:"evenodd",d:"M8.25 3.25a5 5 0 1 0 0 10 5 5 0 0 0 0-10Zm-7 5a7 7 0 1 1 14 0 7 7 0 0 1-14 0Z",clipRule:"evenodd"}),G().createElement("path",{fillRule:"evenodd",d:"M11.78 11.78a1 1 0 0 1 1.415 0l3.262 3.263a1 1 0 0 1-1.414 1.414l-3.263-3.262a1 1 0 0 1 0-1.415Z",clipRule:"evenodd"})))),wz=G().forwardRef(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg",ref:t},e),G().createElement("path",{fillRule:"evenodd",d:"M12 9.738a2.262 2.262 0 1 0 0 4.524 2.262 2.262 0 0 0 0-4.524ZM8.833 12a3.167 3.167 0 1 1 6.334 0 3.167 3.167 0 0 1-6.334 0Z",clipRule:"evenodd"}),G().createElement("path",{fillRule:"evenodd",d:"M12 3.405a1.192 1.192 0 0 0-1.193 1.192v.143a1.81 1.81 0 0 1-1.096 1.656.452.452 0 0 1-.154.036 1.81 1.81 0 0 1-1.904-.4l-.003-.003-.05-.05a1.194 1.194 0 1 0-1.688 1.688l.053.053a1.81 1.81 0 0 1 .368 1.983 1.81 1.81 0 0 1-1.651 1.171h-.085a1.192 1.192 0 1 0 0 2.385h.142a1.81 1.81 0 0 1 1.655 1.095 1.81 1.81 0 0 1-.363 1.994l-.003.003-.05.05a1.194 1.194 0 1 0 1.688 1.688l.053-.053a1.81 1.81 0 0 1 1.983-.368 1.81 1.81 0 0 1 1.171 1.651v.084a1.192 1.192 0 1 0 2.385 0v-.143a1.81 1.81 0 0 1 1.095-1.655 1.809 1.809 0 0 1 1.994.363l.003.003.05.05a1.194 1.194 0 1 0 1.688-1.688l-.053-.053a1.81 1.81 0 0 1-.363-1.994 1.81 1.81 0 0 1 1.655-1.094h.076a1.192 1.192 0 1 0 0-2.386h-.143a1.81 1.81 0 0 1-1.656-1.096.453.453 0 0 1-.036-.154 1.81 1.81 0 0 1 .4-1.904l.003-.003.05-.05a1.193 1.193 0 1 0-1.688-1.688l-.053.053a1.81 1.81 0 0 1-1.994.363 1.81 1.81 0 0 1-1.094-1.655v-.076A1.192 1.192 0 0 0 12 3.405Zm-1.483-.29a2.097 2.097 0 0 1 3.58 1.482v.073a.905.905 0 0 0 .549.828l.004.002a.905.905 0 0 0 .997-.18l.047-.047A2.098 2.098 0 1 1 18.66 8.24l-.047.048a.905.905 0 0 0-.18.996c.02.045.033.093.037.142a.904.904 0 0 0 .793.477h.139a2.098 2.098 0 0 1 0 4.194h-.073a.905.905 0 0 0-.828.549l-.002.004a.905.905 0 0 0 .18.997l.047.047a2.097 2.097 0 0 1-1.483 3.582 2.097 2.097 0 0 1-1.484-.615l-.048-.047a.906.906 0 0 0-.996-.18l-.004.003a.905.905 0 0 0-.549.827v.139a2.098 2.098 0 0 1-4.195 0v-.069a.905.905 0 0 0-.618-.834.906.906 0 0 0-.997.18l-.001.001-.046.046a2.097 2.097 0 0 1-3.423-.68 2.098 2.098 0 0 1 .456-2.287l.047-.048a.905.905 0 0 0 .18-.996l-.003-.004a.905.905 0 0 0-.827-.549h-.139a2.098 2.098 0 0 1 0-4.195h.069A.905.905 0 0 0 5.5 9.35a.905.905 0 0 0-.18-.997l-.047-.047A2.098 2.098 0 1 1 8.24 5.34l.048.047a.905.905 0 0 0 .996.18.453.453 0 0 1 .142-.037.905.905 0 0 0 .477-.793v-.139c0-.556.22-1.09.614-1.483Z",clipRule:"evenodd"})))),xz=G().forwardRef(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("path",{fillRule:"evenodd",d:"M16.425 9.576a.6.6 0 0 1 0 .848l-4 4a.6.6 0 0 1-.849-.848l4-4a.6.6 0 0 1 .849 0Z",clipRule:"evenodd"}),G().createElement("path",{fillRule:"evenodd",d:"M12 4.6a9.4 9.4 0 0 0-8.14 14.1.6.6 0 0 1-1.04.6 10.6 10.6 0 1 1 18.36 0 .6.6 0 0 1-1.04-.6A9.4 9.4 0 0 0 12 4.6Z",clipRule:"evenodd"})))),_z=G().forwardRef(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("path",{fillRule:"evenodd",d:"M11.998 2.4H12a9.6 9.6 0 0 1 9.6 9.6.6.6 0 1 1-1.2 0 8.4 8.4 0 0 0-8.398-8.4A9.15 9.15 0 0 0 5.68 6.168L3.425 8.425a.6.6 0 0 1-.849-.849L4.843 5.31a10.35 10.35 0 0 1 7.155-2.91Z",clipRule:"evenodd"}),G().createElement("path",{fillRule:"evenodd",d:"M3 2.4a.6.6 0 0 1 .6.6v4.4H8a.6.6 0 0 1 0 1.2H3a.6.6 0 0 1-.6-.6V3a.6.6 0 0 1 .6-.6Zm0 9a.6.6 0 0 1 .6.6 8.4 8.4 0 0 0 8.4 8.4 9.15 9.15 0 0 0 6.32-2.567l2.256-2.257a.6.6 0 0 1 .849.849l-2.268 2.267a10.35 10.35 0 0 1-7.154 2.908H12A9.6 9.6 0 0 1 2.4 12a.6.6 0 0 1 .6-.6Z",clipRule:"evenodd"}),G().createElement("path",{fillRule:"evenodd",d:"M15.4 16a.6.6 0 0 1 .6-.6h5a.6.6 0 0 1 .6.6v5a.6.6 0 1 1-1.2 0v-4.4H16a.6.6 0 0 1-.6-.6Z",clipRule:"evenodd"})))),Pz=G().forwardRef(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 30 28",fill:"none",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("path",{d:"M17.295 19.794a.498.498 0 0 1-.354-.146l-4.706-4.706a.5.5 0 1 1 .707-.707l3.854 3.854V4a.5.5 0 1 1 1 0v14.085l3.85-3.85a.5.5 0 0 1 .708.707l-4.68 4.678a.5.5 0 0 1-.379.174ZM6.325 3.675a.499.499 0 0 1 .734-.028l4.706 4.706a.5.5 0 1 1-.707.707L7.204 5.206v14.09a.5.5 0 1 1-1 0V5.21l-3.85 3.85a.5.5 0 0 1-.708-.707l4.68-4.678Z"})))),Cz=G().forwardRef(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("path",{d:"M7.5 22c-.3 0-.5-.1-.7-.3-.4-.4-.4-1 0-1.4l8.3-8.3-8.3-8.3c-.4-.4-.4-1 0-1.4s1-.4 1.4 0l9 9c.4.4.4 1 0 1.4l-9 9c-.2.2-.4.3-.7.3z"})))),Az=G().forwardRef(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 18 18",fill:"none",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"m6.75 13.5 4.5-4.5-4.5-4.5"})))),Sz=G().forwardRef(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg",strokeWidth:"0"},e,{ref:t}),G().createElement("path",{d:"M12 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zM6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"})))),Rz=G().forwardRef(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 38 36",xmlns:"https://www.w3.org/2000/svg",fill:"none"},e,{ref:t}),G().createElement("path",{fill:"#2563EB",fillRule:"evenodd",d:"M0 36h38V0H0v36Zm35.946-2.057H2.054V2.057h33.892v31.886Zm-16.611-28.8 2.548 8.561-5.108.023 2.56-8.584Zm-4.232 14.242h8.475l1.508 7.662.14 2.782H13.222l.105-2.816 1.777-7.628Z",clipRule:"evenodd"})))),Mz=G().forwardRef(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg",fill:"none"},e,{ref:t}),G().createElement("path",{fillRule:"evenodd",d:"M12 24c6.627 0 12-5.373 12-12S18.627 0 12 0 0 5.373 0 12s5.373 12 12 12Zm1.646-7.646a.5.5 0 1 0 .707-.707L10.707 12l3.646-3.646a.5.5 0 1 0-.707-.708l-4 4a.503.503 0 0 0-.146.392c.01.115.059.228.146.316l4 4Z",clipRule:"evenodd"})))),Tz=G().forwardRef(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 16 16",xmlns:"https://www.w3.org/2000/svg",strokeWidth:"0"},e,{ref:t}),G().createElement("path",{d:"M8 1.332a6.667 6.667 0 1 0 0 13.333A6.667 6.667 0 0 0 8 1.332Zm0 10.333a.667.667 0 1 1 0-1.333.667.667 0 0 1 0 1.333Zm.16-2.433a.793.793 0 0 1-.214.033.675.675 0 1 1-.206-1.333c.433-.147 1.333-.627 1.333-1.167a1.133 1.133 0 0 0-2.2-.38A.667.667 0 0 1 5.62 6a2.467 2.467 0 0 1 4.793.82c0 1.613-2.02 2.333-2.253 2.413Z"})))),Iz=G().forwardRef(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("path",{d:"M19.27 12.91H4.73a1.83 1.83 0 0 0-1.82 1.82v5.45A1.83 1.83 0 0 0 4.73 22h14.54a1.83 1.83 0 0 0 1.82-1.82v-5.45a1.83 1.83 0 0 0-1.82-1.82Zm0 7.27H4.73v-5.45h14.54Z"}),G().createElement("path",{d:"M7.45 18.36h9.1a.91.91 0 0 0 0-1.81h-9.1a.91.91 0 0 0 0 1.81ZM19.27 2H4.73a1.83 1.83 0 0 0-1.82 1.82v5.45a1.83 1.83 0 0 0 1.82 1.82h14.54a1.83 1.83 0 0 0 1.82-1.82V3.82A1.83 1.83 0 0 0 19.27 2Zm0 7.27H4.73V3.82h14.54Z"}),G().createElement("path",{d:"M7.45 7.45h9.1a.85.85 0 0 0 .9-.9.85.85 0 0 0-.9-.91h-9.1a.85.85 0 0 0-.9.91.85.85 0 0 0 .9.9Z"})))),Oz=G().forwardRef(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("path",{fillRule:"evenodd",d:"M12 15.6a2.4 2.4 0 1 0 0 4.8 2.4 2.4 0 0 0 0-4.8ZM8.4 18a3.6 3.6 0 1 1 7.2 0 3.6 3.6 0 0 1-7.2 0ZM6 3.6a2.4 2.4 0 1 0 0 4.8 2.4 2.4 0 0 0 0-4.8ZM2.4 6a3.6 3.6 0 1 1 7.2 0 3.6 3.6 0 0 1-7.2 0ZM18 3.6a2.4 2.4 0 1 0 0 4.8 2.4 2.4 0 0 0 0-4.8ZM14.4 6a3.6 3.6 0 1 1 7.2 0 3.6 3.6 0 0 1-7.2 0Z",clipRule:"evenodd"}),G().createElement("path",{fillRule:"evenodd",d:"M6 8.4a.6.6 0 0 1 .6.6v1A1.4 1.4 0 0 0 8 11.4h8a1.4 1.4 0 0 0 1.4-1.4V9a.6.6 0 1 1 1.2 0v1a2.6 2.6 0 0 1-2.6 2.6H8A2.6 2.6 0 0 1 5.4 10V9a.6.6 0 0 1 .6-.6Z",clipRule:"evenodd"}),G().createElement("path",{fillRule:"evenodd",d:"M12 11.4a.6.6 0 0 1 .6.6v3a.6.6 0 1 1-1.2 0v-3a.6.6 0 0 1 .6-.6Z",clipRule:"evenodd"})))),Lz=G().forwardRef(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg",xmlSpace:"preserve"},e,{ref:t}),G().createElement("path",{d:"m20.1 8.8.9-.9c.4-.4.4-1 0-1.4-.4-.4-1-.4-1.4 0l-1 1c-1-.6-2.3-1-3.6-1-3.9 0-7 3.1-7 7.1 0 3.7 3.2 6.9 6.9 6.9 3.9 0 7.1-3.1 7.1-7 0-1.8-.7-3.4-1.9-4.7zM15 18.5c-2.8 0-5-2.2-5-5s2.2-5 5-5 5 2.2 5 5-2.2 5-5 5zm0-8c.6 0 1 .4 1 1v2c0 .5-.4 1-1 1-.5 0-1-.4-1-1v-2c0-.6.4-1 1-1zm-1-7h2c.5 0 1 .4 1 1 0 .5-.4 1-1 1h-2c-.5 0-1-.4-1-1s.4-1 1-1zm-10 5h2c.5 0 1 .4 1 1 0 .5-.4 1-1 1H4c-.5 0-1-.4-1-1s.4-1 1-1zm0 8h2c.5 0 1 .4 1 1 0 .5-.4 1-1 1H4c-.5 0-1-.4-1-1s.4-1 1-1zm-1-4h2c.5 0 1 .4 1 1 0 .5-.4 1-1 1H3c-.5 0-1-.4-1-1s.4-1 1-1z"})))),Dz=G().forwardRef(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg",xmlSpace:"preserve"},e,{ref:t}),G().createElement("path",{d:"M19.664 17.739V7.646l1.316 1.316a.575.575 0 0 0 .812-.811l-2.296-2.295a.573.573 0 0 0-.403-.169h-.005a.572.572 0 0 0-.406.169l-2.294 2.295a.573.573 0 1 0 .812.811l1.315-1.316v10.092a.574.574 0 0 0 1.149.001zm-15.64-.866a.58.58 0 0 1-.42-.16.527.527 0 0 1-.165-.396v-4.603l.128.201-.667.493a.502.502 0 0 1-.32.101.526.526 0 0 1-.383-.164.537.537 0 0 1-.165-.393c0-.195.094-.353.283-.475L3.63 10.6a.6.6 0 0 1 .206-.091.929.929 0 0 1 .214-.027.56.56 0 0 1 .42.16.548.548 0 0 1 .155.397v5.279c0 .158-.057.29-.169.396a.604.604 0 0 1-.432.159zm6.018-1.005a.496.496 0 0 1 .511.511.472.472 0 0 1-.146.352.502.502 0 0 1-.365.142H6.937a.493.493 0 0 1-.375-.146c-.091-.097-.137-.222-.137-.374s.055-.286.164-.401l1.991-2.129c.225-.242.403-.492.534-.748s.197-.478.197-.667c0-.304-.088-.549-.265-.735s-.411-.278-.703-.278a.86.86 0 0 0-.356.082 1.467 1.467 0 0 0-.352.228c-.113.098-.218.21-.315.338a.482.482 0 0 1-.219.183.547.547 0 0 1-.571-.113.459.459 0 0 1-.169-.352c0-.104.035-.204.105-.302a2.763 2.763 0 0 1 1.355-.972c.2-.064.396-.096.584-.096.408 0 .763.081 1.064.242s.534.39.699.685c.164.295.247.644.247 1.045 0 .335-.099.708-.297 1.119a4.647 4.647 0 0 1-.799 1.155l-1.233 1.315-.1-.083h2.056zm2.493-.283a.662.662 0 0 1 .393.137c.104.079.227.149.369.21.144.061.311.091.498.091.189 0 .367-.047.535-.142a1.138 1.138 0 0 0 .58-1.027c0-.23-.049-.423-.143-.575s-.219-.268-.375-.347a1.073 1.073 0 0 0-.496-.118c-.135 0-.246.012-.334.035-.088.025-.174.051-.256.078s-.178.041-.287.041a.389.389 0 0 1-.325-.146.546.546 0 0 1-.114-.346.51.51 0 0 1 .05-.229c.033-.067.083-.141.151-.22l1.607-1.708.246.21h-2.246a.496.496 0 0 1-.511-.511c0-.14.049-.257.146-.352a.502.502 0 0 1 .365-.142h2.795c.188 0 .33.052.424.155a.555.555 0 0 1 .143.393c0 .079-.021.157-.064.233s-.094.145-.154.206l-1.617 1.735-.246-.311c.066-.03.16-.058.277-.082a1.596 1.596 0 0 1 1.235.242c.264.186.469.426.611.721s.215.613.215.954c0 .451-.102.841-.303 1.169a1.966 1.966 0 0 1-.848.758c-.365.177-.793.266-1.279.266-.226 0-.447-.028-.667-.083a2.213 2.213 0 0 1-.566-.219.626.626 0 0 1-.27-.242.555.555 0 0 1-.068-.251c0-.14.05-.272.151-.397a.465.465 0 0 1 .378-.186z"})))),Bz=G().forwardRef(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("path",{d:"M17 19V5a1 1 0 0 0-1-1 1 1 0 0 0-1 1v6H9V5a1 1 0 0 0-1-1 .94.94 0 0 0-1 1v14a1 1 0 0 0 1 1 1 1 0 0 0 1-1v-6h6v6a1 1 0 0 0 1 1 .94.94 0 0 0 1-1z"})))),zz=G().forwardRef(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("path",{d:"M9.15 17h2.3v4.1a.9.9 0 0 0 .9.9.9.9 0 0 0 .9-.9v-17h2.8v17a.9.9 0 0 0 .9.9h.1a.9.9 0 0 0 .9-.9v-17h3.1a.9.9 0 0 0 .9-.9V3a.9.9 0 0 0-.9-.9h-12a7.2 7.2 0 0 0-7 7.5 7.2 7.2 0 0 0 7.1 7.4zm-.1-12.9h2.3V15h-2.2a5.79 5.79 0 0 1-5.1-5.5 5.69 5.69 0 0 1 5-5.45z"})))),Nz=G().forwardRef(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("path",{d:"M4 2a2 2 0 0 0-2 2v3a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2zm16 5H4V4h16zM2 12v8a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-8a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2zm18 0v8H4v-8zm-9 5H9v-2h2v-2h2v2h2v2h-2v2h-2z"})))),Vz=G().forwardRef(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("path",{d:"M21 2H3a1 1 0 0 0-1 1 .94.94 0 0 0 1 1h18a.94.94 0 0 0 1-1 .94.94 0 0 0-1-1ZM2 21a.94.94 0 0 0 1 1h18a.94.94 0 0 0 1-1 .94.94 0 0 0-1-1H3a.94.94 0 0 0-1 1Zm7-6V9a.94.94 0 0 0-1-1 1 1 0 0 0-1 1v6a.94.94 0 0 0 1 1 1 1 0 0 0 1-1Zm8 0V9a.94.94 0 0 0-1-1 .94.94 0 0 0-1 1v6a.94.94 0 0 0 1 1 1.08 1.08 0 0 0 1-1Zm-4 2V7a.94.94 0 0 0-1-1 .94.94 0 0 0-1 1v10a.94.94 0 0 0 1 1 .94.94 0 0 0 1-1Z"})))),Fz=G().forwardRef(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("path",{fillRule:"evenodd",d:"M6 10V4H4v16h16V10H6Zm16-2v14H2V2h6v6h14Z",clipRule:"evenodd"}),G().createElement("path",{fillRule:"evenodd",d:"M13.5 3.5h-3v2h3v-2ZM9 2v5h6V2H9Zm11.5 1.5h-3v2h3v-2ZM16 2v5h6V2h-6Z",clipRule:"evenodd"})))),Hz=G().forwardRef(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("path",{d:"M20 4v16H4V4h16m0-2H4a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2zM7 18a1 1 0 0 1 0-2c1.66 0 2.856-2.177 4.124-4.482C12.616 8.805 14.159 6 17 6a1 1 0 0 1 0 2c-1.66 0-2.856 2.177-4.124 4.482C11.384 15.195 9.841 18 7 18z"})))),jz=G().forwardRef(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("path",{d:"M22 4V3c0-.6-.4-1-1-1H3c-.6 0-1 .4-1 1v18c0 .6.4 1 1 1h18c.6 0 1-.4 1-1V4zM4 4h16v16H4V4zm8 5.5a2 2 0 1 0 .001-3.999A2 2 0 0 0 12 9.5zm3 1H9c-.6 0-1 .4-1 1s.4 1 1 1h6c.6 0 1-.4 1-1s-.5-1-1-1zm-4 8h2c.6 0 1-.4 1-1s-.4-1-1-1h-2c-.6 0-1 .4-1 1 0 .5.4 1 1 1zm-5-4c0 .6.4 1 1 1h10c.6 0 1-.4 1-1s-.4-1-1-1H7c-.6 0-1 .5-1 1z"})))),Wz=G().forwardRef(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("path",{d:"M19.9 2.2H4.3c-1.2 0-2 .8-2 2v15.6c0 1.2.7 2.1 2 2.1h15.6c1.2 0 2-.8 2-2V4.3c-.1-1.3-.8-2.1-2-2.1zM4.3 19.8V4.2h15.6v15.6H4.3z"}),G().createElement("path",{d:"m10.1 14-1-1-3 4h12l-5-7-3 4z"})))),$z=G().forwardRef(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("path",{d:"M16.8 9h-6.5c-.2 0-.3-.1-.3-.2V7.3c0-.2.1-.3.3-.3h6.5c.1 0 .2.1.2.3v1.5c0 .1-.1.2-.2.2zm-.8 3.8v-1.5c0-.1-.1-.3-.3-.3h-5.5c-.1 0-.3.1-.3.3v1.5c0 .1.1.3.3.3h5.5c.2-.1.3-.2.3-.3zm-2 4v-1.5c0-.1-.1-.3-.3-.3h-3.5c-.1 0-.3.1-.3.3v1.5c0 .1.1.3.3.3h3.5c.2-.1.3-.2.3-.3zm-5-8V7.3c0-.2-.1-.3-.2-.3H7.3c-.2 0-.3.1-.3.3v1.5c0 .1.1.2.3.2h1.5c.1 0 .2-.1.2-.2zm0 4v-1.5c0-.2-.1-.3-.2-.3H7.3c-.2 0-.3.1-.3.3v1.5c0 .1.1.2.3.2h1.5c.1 0 .2-.1.2-.2zm0 4v-1.5c0-.2-.1-.3-.2-.3H7.3c-.2 0-.3.1-.3.3v1.5c0 .1.1.2.3.2h1.5c.1 0 .2-.1.2-.2zm9 5.2H6c-1.7 0-3-1.3-3-3V5c0-1.7 1.3-3 3-3h12c1.7 0 3 1.3 3 3v14c0 1.7-1.3 3-3 3zM6 4c-.6 0-1 .4-1 1v14c0 .6.4 1 1 1h12c.6 0 1-.4 1-1V5c0-.6-.4-1-1-1H6z"})))),Zz=G().forwardRef(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("path",{d:"M6 15c.9 0 1.7-.3 2.4-.9l6.3 3.6c-.1.3-.1.6-.1.9 0 1.9 1.6 3.5 3.5 3.6 1.9 0 3.5-1.6 3.6-3.5 0-1.9-1.6-3.5-3.5-3.6-.9 0-1.8.3-2.4.9l-6.3-3.6c.1-.2.1-.5.1-.8l6.1-3.5c1.4 1.3 3.6 1.2 4.9-.2 1.3-1.4 1.2-3.6-.2-4.9-1.4-1.3-3.6-1.2-4.9.2-.6.6-.9 1.5-.9 2.4 0 .3 0 .6.1.8L8.9 9.6c-1-1.6-3.2-2.1-4.8-1C2.5 9.7 2 11.8 3 13.4c.7 1 1.8 1.6 3 1.6Zm12 2c.8 0 1.5.7 1.5 1.5S18.8 20 18 20s-1.5-.7-1.5-1.5.6-1.5 1.5-1.5Zm0-13c.8 0 1.5.7 1.5 1.5S18.8 7 18 7s-1.5-.7-1.5-1.5S17.1 4 18 4ZM6 10c.8 0 1.5.7 1.5 1.5S6.8 13 6 13s-1.5-.7-1.5-1.5S5.1 10 6 10Z"})))),Uz=G().forwardRef(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("path",{fillRule:"evenodd",d:"M6.81 14.425a4.077 4.077 0 0 1 2.882-1.194h4.616a4.077 4.077 0 0 1 4.076 4.077v1.538a1 1 0 0 1-2 0v-1.538a2.077 2.077 0 0 0-2.076-2.077H9.692a2.077 2.077 0 0 0-2.077 2.077v1.538a1 1 0 0 1-2 0v-1.538c0-1.082.43-2.119 1.194-2.883ZM12 6a2.077 2.077 0 1 0 0 4.154A2.077 2.077 0 0 0 12 6ZM7.923 8.077a4.077 4.077 0 1 1 8.154 0 4.077 4.077 0 0 1-8.154 0Zm10.801 5.903a1 1 0 0 1 1.218-.718A4.077 4.077 0 0 1 23 17.207v1.54a1 1 0 0 1-2 0v-1.539a2.077 2.077 0 0 0-1.558-2.009 1 1 0 0 1-.718-1.218Zm-2.308-9.228a1 1 0 0 1 1.217-.72 4.077 4.077 0 0 1 0 7.898 1 1 0 1 1-.496-1.937 2.077 2.077 0 0 0 0-4.024 1 1 0 0 1-.721-1.217ZM5.276 13.98a1 1 0 0 0-1.218-.718A4.078 4.078 0 0 0 1 17.207v1.54a1 1 0 0 0 2 0v-1.539A2.077 2.077 0 0 1 4.558 15.2a1 1 0 0 0 .718-1.218Zm2.308-9.228a1 1 0 0 0-1.217-.72 4.077 4.077 0 0 0 0 7.898 1 1 0 1 0 .496-1.937 2.077 2.077 0 0 1 0-4.024 1 1 0 0 0 .721-1.217Z",clipRule:"evenodd"})))),Gz=G().forwardRef(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("path",{d:"M11.402 2h1.196c.084.03.17.052.259.067a9.92 9.92 0 0 1 8.745 7.282c.181.67.266 1.368.398 2.053v1.196c-.03.084-.052.17-.067.259a9.923 9.923 0 0 1-7.282 8.745c-.672.18-1.368.266-2.053.398h-1.196a1.511 1.511 0 0 0-.259-.067 9.934 9.934 0 0 1-8.824-7.589c-.14-.574-.215-1.164-.319-1.746v-1.196c.03-.084.052-.17.067-.259A9.931 9.931 0 0 1 9.656 2.32c.575-.14 1.164-.215 1.746-.319Zm-8.545 9.986c-.01 4.965 4.045 9.071 8.88 9.17 5.1.104 9.271-3.97 9.41-8.883.145-5.13-3.99-9.295-8.905-9.422-5.103-.134-9.418 4.028-9.385 9.136Z"}),G().createElement("path",{d:"M7.258 10.008c1.115.015 1.963.892 1.952 2.024-.011 1.124-.883 1.97-2.013 1.96a1.971 1.971 0 0 1-1.978-2.042c.021-1.11.91-1.957 2.039-1.942Zm1.154 2.005c.006-.697-.498-1.206-1.196-1.207-.68 0-1.182.486-1.195 1.163-.015.697.478 1.216 1.172 1.226.694.01 1.213-.488 1.219-1.182Zm5.58-.011a1.992 1.992 0 1 1-1.98-1.992 1.955 1.955 0 0 1 1.98 1.992Zm-.797 0c0-.696-.508-1.2-1.204-1.195a1.155 1.155 0 0 0-1.185 1.174c-.01.697.491 1.21 1.184 1.215.694.005 1.204-.5 1.204-1.195l.001.001Zm3.585-1.994a1.957 1.957 0 0 1 1.993 1.983c0 1.144-.868 2.01-2.014 2.002a1.992 1.992 0 0 1 .021-3.984Zm-.006 3.187c.697 0 1.203-.5 1.201-1.195a1.155 1.155 0 0 0-1.168-1.191c-.697-.012-1.213.486-1.22 1.178-.008.693.493 1.205 1.187 1.208Z"})))),qz=G().forwardRef(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 12 12",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("path",{fillRule:"evenodd",d:"M2.5 4a.5.5 0 0 0-.5.5V10a.5.5 0 0 0 .5.5H8a.5.5 0 0 0 .5-.5V7a.5.5 0 0 1 1 0v3A1.5 1.5 0 0 1 8 11.5H2.5A1.5 1.5 0 0 1 1 10V4.5A1.5 1.5 0 0 1 2.5 3h3a.5.5 0 0 1 0 1h-3ZM7 2a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-1 0V2.5H7.5A.5.5 0 0 1 7 2Z",clipRule:"evenodd"}),G().createElement("path",{fillRule:"evenodd",d:"M10.854 1.646a.5.5 0 0 1 0 .708l-5.5 5.5a.5.5 0 1 1-.708-.708l5.5-5.5a.5.5 0 0 1 .708 0Z",clipRule:"evenodd"})))),Kz=G().forwardRef(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 12 12",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("path",{fillRule:"evenodd",d:"M1.94 1.44A1.5 1.5 0 0 1 3 1h4.25a.5.5 0 0 1 .354.146l2.75 2.75a.5.5 0 0 1 .146.354v6.25A1.5 1.5 0 0 1 9 12H3a1.5 1.5 0 0 1-1.5-1.5v-8c0-.398.158-.78.44-1.06ZM3 2a.5.5 0 0 0-.5.5v8a.5.5 0 0 0 .5.5h6a.5.5 0 0 0 .5-.5V4.457L7.043 2H3Z",clipRule:"evenodd"}),G().createElement("path",{fillRule:"evenodd",d:"M7 1a.5.5 0 0 1 .5.5V4H10a.5.5 0 0 1 0 1H7a.5.5 0 0 1-.5-.5v-3A.5.5 0 0 1 7 1Z",clipRule:"evenodd"})))),Yz=G().forwardRef(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 20 20",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("path",{fillRule:"evenodd",d:"M3.292 1.624A2.417 2.417 0 0 1 5 .916h7.083a.75.75 0 0 1 .53.22l4.584 4.583c.14.14.22.331.22.53v10.417A2.417 2.417 0 0 1 15 19.083H5a2.417 2.417 0 0 1-2.417-2.417V3.333c0-.641.255-1.256.708-1.71ZM5 2.416a.917.917 0 0 0-.917.917v13.333a.917.917 0 0 0 .917.917h10a.917.917 0 0 0 .916-.917V6.56l-4.144-4.144H5.001Z",clipRule:"evenodd"}),G().createElement("path",{fillRule:"evenodd",d:"M11.666.916a.75.75 0 0 1 .75.75v4.25h4.25a.75.75 0 0 1 0 1.5h-5a.75.75 0 0 1-.75-.75v-5a.75.75 0 0 1 .75-.75Zm-5.75 9.917a.75.75 0 0 1 .75-.75h6.667a.75.75 0 0 1 0 1.5H6.666a.75.75 0 0 1-.75-.75Zm0 3.333a.75.75 0 0 1 .75-.75h6.667a.75.75 0 0 1 0 1.5H6.666a.75.75 0 0 1-.75-.75Zm0-6.666a.75.75 0 0 1 .75-.75h1.667a.75.75 0 1 1 0 1.5H6.666a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"})))),Xz=G().forwardRef(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 20 20",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("path",{fillRule:"evenodd",d:"M4.167 3.25a.917.917 0 0 0-.917.917v11.666c0 .507.41.917.917.917h11.666c.507 0 .917-.41.917-.917V4.167a.917.917 0 0 0-.917-.917H4.167Zm-2.417.917A2.417 2.417 0 0 1 4.167 1.75h11.666a2.417 2.417 0 0 1 2.417 2.417v11.666a2.417 2.417 0 0 1-2.417 2.417H4.167a2.417 2.417 0 0 1-2.417-2.417V4.167Z",clipRule:"evenodd"}),G().createElement("path",{fillRule:"evenodd",d:"M7.146 6.005a.75.75 0 0 1 .77.037l5 3.333a.75.75 0 0 1 0 1.248l-5 3.334a.75.75 0 0 1-1.166-.624V6.666a.75.75 0 0 1 .396-.661ZM8.25 8.067v3.864L11.148 10 8.25 8.067Z",clipRule:"evenodd"})))),Qz=G().forwardRef(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 20 20",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("path",{fillRule:"evenodd",d:"M10 .917a.75.75 0 0 1 .672.418l2.4 4.864 5.37.784a.75.75 0 0 1 .414 1.28l-3.884 3.783.917 5.344a.75.75 0 0 1-1.089.79L10 15.657l-4.802 2.525a.75.75 0 0 1-1.088-.79l.917-5.345-3.884-3.783a.75.75 0 0 1 .415-1.28L6.926 6.2l2.4-4.864A.75.75 0 0 1 10 .917Zm0 2.444L8.096 7.216a.75.75 0 0 1-.564.41l-4.256.622 3.079 2.998a.75.75 0 0 1 .216.664l-.726 4.236 3.804-2.001a.75.75 0 0 1 .698 0l3.805 2-.726-4.235a.75.75 0 0 1 .216-.664l3.078-2.998-4.255-.622a.75.75 0 0 1-.564-.41L9.999 3.36Z",clipRule:"evenodd"})))),Jz=G().forwardRef(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 20 20",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("path",{fillRule:"evenodd",d:"M5.934 2.601a5.75 5.75 0 0 1 9.816 4.066c0 1.262-.483 2.551-1.483 3.46-.608.61-.907 1.064-1.032 1.687a.75.75 0 1 1-1.47-.294c.207-1.04.738-1.75 1.455-2.467a.726.726 0 0 1 .028-.027c.656-.59 1.002-1.461 1.002-2.359a4.25 4.25 0 0 0-8.5 0c0 .687.12 1.477 1.03 2.386.626.626 1.246 1.42 1.455 2.467a.75.75 0 1 1-1.47.294c-.125-.62-.504-1.159-1.045-1.7-1.257-1.257-1.47-2.467-1.47-3.447a5.75 5.75 0 0 1 1.684-4.066ZM6.75 15a.75.75 0 0 1 .75-.75h5a.75.75 0 0 1 0 1.5h-5a.75.75 0 0 1-.75-.75Zm.833 3.333a.75.75 0 0 1 .75-.75h3.334a.75.75 0 0 1 0 1.5H8.333a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"})))),eN=G().forwardRef(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 32 32",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("path",{fillRule:"evenodd",d:"M5.333 3.666c-.914 0-1.667.753-1.667 1.667v12.252l3.627-3.626A1 1 0 0 1 8 13.666h8A1.666 1.666 0 0 0 17.666 12V5.333A1.667 1.667 0 0 0 16 3.666H5.333ZM1.666 5.333a3.675 3.675 0 0 1 3.667-3.667H16a3.667 3.667 0 0 1 3.666 3.667V12A3.667 3.667 0 0 1 16 15.666H8.414l-5.04 5.04A1 1 0 0 1 1.666 20V5.333Z",clipRule:"evenodd"}),G().createElement("path",{fillRule:"evenodd",d:"M23 12a1 1 0 0 1 1-1h2.667a3.667 3.667 0 0 1 3.666 3.667v14.666a1 1 0 0 1-1.707.708L23.586 25H16a3.667 3.667 0 0 1-3.667-3.668V20a1 1 0 1 1 2 0v1.333A1.667 1.667 0 0 0 16 23h8a1 1 0 0 1 .707.293l3.626 3.626V14.667A1.667 1.667 0 0 0 26.667 13H24a1 1 0 0 1-1-1Z",clipRule:"evenodd"})))),tN=G().forwardRef(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 40 40",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("path",{fill:"#475BB2",d:"M0 3.636A3.636 3.636 0 0 1 3.636 0h32.728A3.636 3.636 0 0 1 40 3.636v32.728A3.636 3.636 0 0 1 36.364 40H3.636A3.636 3.636 0 0 1 0 36.364V3.636Z"}),G().createElement("path",{fill:"#fff",d:"M28.99 10.623c-1.45.852-2.813 1.96-4.006 3.154-1.194 1.193-2.301 2.556-3.154 3.92a27.715 27.715 0 0 1 1.534 3.665c.767-1.62 1.705-3.068 2.898-4.347v4.602a6.29 6.29 0 0 1-4.602 6.052h-.17c-.171-2.216-.682-4.347-1.45-6.393a21.151 21.151 0 0 0-5.028-7.5c-1.193-1.193-2.557-2.215-4.006-3.153l-.34-.17v11.08c0 4.516 3.238 8.437 7.755 9.204h.085c1.023.17 2.046.17 2.983 0h.086c4.517-.767 7.755-4.688 7.755-9.205v-11.08l-.34.171Zm-15.256 10.91v-4.518c2.642 2.983 4.261 6.648 4.602 10.568a6.29 6.29 0 0 1-4.602-6.05Zm6.221-12.444a2.292 2.292 0 0 0-2.3 2.301 2.292 2.292 0 0 0 2.3 2.301 2.292 2.292 0 0 0 2.301-2.3 2.292 2.292 0 0 0-2.3-2.302Z"})))),rN=G().forwardRef(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 40 40",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("rect",{width:"40",height:"40",fill:"#8D42CE",rx:"3.636"}),G().createElement("path",{fill:"#fff",d:"M19.781 26.7h-7.025V13.797l7.025 4.387V26.7Zm7.01 0h-7.01v-8.517l7.01-4.387V26.7Z"}),G().createElement("path",{fill:"#fff",d:"M30.077 30.576h-21V9.5h21v21.076Zm-20.05-.95h19.115V10.45H10.027v19.176Z"})))),nN=G().forwardRef(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 40 40",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("rect",{width:"40",height:"40",fill:"#7545BB",rx:"3.636"}),G().createElement("path",{fill:"#fff",d:"M26.72 11h-4.31l1.32 2.224h4.309L26.72 11Zm2.71 4.447h-4.308l1.39 2.224h4.308l-1.39-2.224Zm-.069 11.119h-16.4l6.88-11.258 2.849 4.587h-2.85l-1.32 2.223h8.13l-6.81-10.98L9 28.79h21.751l-1.39-2.223Z"})))),aN=G().forwardRef(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 20 20",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("path",{fillRule:"evenodd",d:"M10 3.25A6.75 6.75 0 0 0 3.25 10v.917H5a2.417 2.417 0 0 1 2.417 2.416v2.5A2.417 2.417 0 0 1 5 18.25h-.833a2.417 2.417 0 0 1-2.417-2.417V10a8.25 8.25 0 1 1 16.5 0v5.833a2.417 2.417 0 0 1-2.417 2.417H15a2.417 2.417 0 0 1-2.417-2.417v-2.5A2.416 2.416 0 0 1 15 10.917h1.75V10A6.75 6.75 0 0 0 10 3.25Zm6.75 9.167H15a.916.916 0 0 0-.917.916v2.5a.917.917 0 0 0 .917.917h.833a.917.917 0 0 0 .917-.917v-3.416Zm-13.5 0v3.416a.917.917 0 0 0 .917.917H5a.917.917 0 0 0 .917-.917v-2.5A.916.916 0 0 0 5 12.417H3.25Z",clipRule:"evenodd"})))),oN=G().forwardRef(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 40 40",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("rect",{width:"40",height:"40",fill:"#E9E3FD",rx:"3.636"}),G().createElement("path",{fill:"#787DFF",d:"m14.163 11.898 3.851 4.281c.607.64.946 1.489.946 2.37v10.009l-4.8-3.353.003-13.307Z",opacity:".3"}),G().createElement("path",{fill:"#787DFF",d:"m11.173 11.3 6.346 4.519a3.373 3.373 0 0 1 1.438 2.559V28.55l-7.785-4.102.001-13.148Z",opacity:".5"}),G().createElement("path",{fill:"#787DFF",d:"m18.96 28.656-7.014-2.245A3.48 3.48 0 0 1 9.5 23.305V12.953l7.62 2.943a2.831 2.831 0 0 1 1.835 2.452v.16l.005 10.148Z"}),G().createElement("path",{fill:"#FD739C",d:"m25.837 11.898-3.851 4.281a3.444 3.444 0 0 0-.946 2.364v10.008l4.8-3.353-.003-13.3Z",opacity:".3"}),G().createElement("path",{fill:"#FD739C",d:"m28.828 11.3-6.346 4.519a3.374 3.374 0 0 0-1.438 2.559V28.55l7.785-4.102-.001-13.148Z",opacity:".5"}),G().createElement("path",{fill:"#FD739C",d:"m21.04 28.656 7.013-2.245c1.373-.44 2.377-1.667 2.447-3.106V12.953l-7.617 2.943a2.832 2.832 0 0 0-1.836 2.452v.16l-.007 10.148Z"})))),iN=G().forwardRef(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("path",{xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",d:"M2 6a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H3a1 1 0 0 1-1-1Zm5 6a1 1 0 0 1 1-1h13a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1Zm0 6a1 1 0 0 1 1-1h13a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1Zm-4-7a1 1 0 0 1 1 1v6a1 1 0 1 1-2 0v-6a1 1 0 0 1 1-1Z",clipRule:"evenodd"})))),lN=G().forwardRef(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("path",{d:"M11 3a1 1 0 1 1 2 0v18a1 1 0 1 1-2 0V3Z"}),G().createElement("path",{fillRule:"evenodd",d:"M16.037 7.397 15 6.517l.953-.789c.262-.436.74-.728 1.286-.728H20.5a1.5 1.5 0 0 1 0 3h-3.261c-.492 0-.929-.237-1.202-.603Zm0 11L15 17.517l1.025-.898A1.498 1.498 0 0 1 17.239 16H20.5a1.5 1.5 0 0 1 0 3h-3.261c-.492 0-.929-.237-1.202-.603ZM8 12.847l1-.83-.966-.811A1.499 1.499 0 0 0 6.76 10.5H3.5a1.5 1.5 0 0 0 0 3h3.261c.514 0 .968-.259 1.238-.653Z",clipRule:"evenodd"})))),sN=G().forwardRef(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("path",{fillRule:"evenodd",d:"M20 9.7H4a.3.3 0 0 0-.3.3v4a.3.3 0 0 0 .3.3h16a.3.3 0 0 0 .3-.3v-4a.3.3 0 0 0-.3-.3ZM4 8a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2H4Z",clipRule:"evenodd"}),G().createElement("path",{d:"M3 9h7v6H3V9Z"})))),cN=G().forwardRef(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("path",{fillRule:"evenodd",d:"M3 5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2h-4v-2h4V5H5v7h7.5v2H5a2 2 0 0 1-2-2V5Z",clipRule:"evenodd"}),G().createElement("path",{fillRule:"evenodd",d:"M12.046 9.848a.699.699 0 0 1 .786.124l7.25 6.897a.703.703 0 0 1 .158.793.696.696 0 0 1-.692.413l-3.638-.292-2.085 3.045a.696.696 0 0 1-.753.28.703.703 0 0 1-.52-.617l-.897-9.95a.699.699 0 0 1 .392-.693Zm1.168 2.417.556 6.164 1.215-1.774a.696.696 0 0 1 .63-.301l2.072.166-4.473-4.255Z",clipRule:"evenodd"}),G().createElement("path",{d:"M7 8.25c0 .45.333.75.833.75h8.334c.5 0 .833-.3.833-.75s-.333-.75-.833-.75H7.833c-.5 0-.833.375-.833.75Z"})))),uN=G().forwardRef(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("path",{d:"M16.2 22H7.8c-1 0-1.8-.9-1.8-2V4c0-1.1.8-2 1.8-2h8.3c1 0 1.8.9 1.8 2v16c.1 1.1-.7 2-1.7 2zM8 20h8V4H8v16zm-3-3H4V7h1V5H3.7C2.7 5 2 5.7 2 6.7v10.7c0 .9.7 1.6 1.7 1.6H5v-2zm14 2h1.3c.9 0 1.7-.7 1.7-1.7V6.7c0-1-.7-1.7-1.7-1.7H19v2h1v10h-1v2z"})))),dN=G().forwardRef(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("path",{d:"M12 14c2.206 0 4-1.794 4-4s-1.794-4-4-4-4 1.794-4 4 1.794 4 4 4Zm0-6c1.103 0 2 .897 2 2s-.897 2-2 2-2-.897-2-2 .897-2 2-2Z"}),G().createElement("path",{d:"M11.42 21.814a.998.998 0 0 0 1.16 0C12.884 21.599 20.029 16.44 20 10c0-4.411-3.589-8-8-8S4 5.589 4 9.995c-.029 6.445 7.116 11.604 7.42 11.819ZM12 4c3.309 0 6 2.691 6 6.005.021 4.438-4.388 8.423-6 9.73-1.611-1.308-6.021-5.294-6-9.735 0-3.309 2.691-6 6-6Z"})))),pN=G().forwardRef(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("path",{d:"M20.2 1.5H4.8c-1.2 0-2.2 1-2.2 2.2v12.9c0 1.2 1 2.2 2.2 2.2h3.9l3.8 3.7 3.8-3.7h3.9c1.2 0 2.2-1 2.2-2.2V3.7c0-1.2-1-2.2-2.2-2.2Zm0 15.1h-4.9l-2.8 2.8-2.8-2.8H4.8V3.7h15.4v12.9Z"}),G().createElement("path",{d:"M8 11.6a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm4.5 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm4.5 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"})))),mN=G().forwardRef(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("path",{fill:"#2563EB",fillRule:"evenodd",d:"M20 9H9v11h11V9ZM9 7a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h11a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2H9Z",clipRule:"evenodd"}),G().createElement("path",{fill:"#2563EB",fillRule:"evenodd",d:"M2 5a3 3 0 0 1 3-3h12.118A2.882 2.882 0 0 1 20 4.882V6h-2V4.882A.882.882 0 0 0 17.118 4H5a1 1 0 0 0-1 1v12.222c0 .43.348.778.778.778H6v2H4.778A2.778 2.778 0 0 1 2 17.222V5Z",clipRule:"evenodd"}),G().createElement("path",{fill:"#2563EB",d:"m12.977 15.474-.744-.869L10 18h9l-3.79-6-2.233 3.474Z"})))),hN=G().forwardRef(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("path",{fill:"#2563EB",d:"M8 17a1 1 0 0 1 1-1h6a1 1 0 1 1 0 2H9a1 1 0 0 1-1-1Zm-4 4a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H5a1 1 0 0 1-1-1Z"}),G().createElement("path",{fill:"#2563EB",fillRule:"evenodd",d:"M8.688 4.795a2.41 2.41 0 0 1 1.705-.706h4.821a.804.804 0 1 1 0 1.607h-4.821a.804.804 0 0 0 0 1.608h3.214a2.41 2.41 0 1 1 0 4.821H8.786a.804.804 0 0 1 0-1.607h4.821a.804.804 0 1 0 0-1.607h-3.214a2.41 2.41 0 0 1-1.705-4.116Z",clipRule:"evenodd"}),G().createElement("path",{fill:"#2563EB",fillRule:"evenodd",d:"M12 2.482c.444 0 .803.36.803.804v9.643a.804.804 0 0 1-1.607 0V3.286c0-.444.36-.804.804-.804Z",clipRule:"evenodd"})))),fN=G().forwardRef(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("path",{d:"M12 6.4c-2 0-3.5 1.6-3.5 3.5h1.4c0-1.2 1-2.1 2.1-2.1s2.1 1 2.1 2.1c0 .8-.3 1-1 1.6-.3.2-.6.4-.9.7-.9.9-.9 1.8-.9 1.9v1.4h1.4v-1.4s0-.4.5-.9c.2-.2.5-.4.7-.6.7-.6 1.6-1.2 1.6-2.7 0-2-1.5-3.5-3.5-3.5zm-.7 9.9h1.4v1.4h-1.4v-1.4z"}),G().createElement("circle",{cx:"12",cy:"12",r:"9",fill:"none",stroke:"#2563eb",strokeWidth:"2",strokeMiterlimit:"10"})))),vN=G().forwardRef(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("path",{fillRule:"evenodd",d:"M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18ZM1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12Z",clipRule:"evenodd"}),G().createElement("path",{fillRule:"evenodd",d:"M12 7a1 1 0 0 1 1 1v4a1 1 0 0 1-2 0V8a1 1 0 0 1 1-1Zm-1 9a1 1 0 0 1 1-1h.01a1 1 0 0 1 0 2H12a1 1 0 0 1-1-1Z",clipRule:"evenodd"})))),bN=G().forwardRef(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("path",{d:"M7.1 9H21c.5 0 1-.5 1-1s-.5-1-1-1H7.1C6.5 7 6 7.4 6 8s.5 1 1.1 1zM21 11H7.1c-.6 0-1.1.4-1.1 1s.5 1 1.1 1H21c.6 0 1.1-.4 1.1-1s-.6-1-1.1-1zM21 15H7.1c-.6 0-1.1.5-1.1 1 0 .6.5 1 1.1 1H21c.6 0 1.1-.4 1.1-1-.1-.5-.6-1-1.1-1zM3.3 7.6L3.1 7H3l-.1.1-.2.5h-.6c-.1 0-.1.1-.1.1v.1l.4.4-.1.7c0 .1 0 .1.1.1h.1l.5-.4.5.4h.1v-.1l-.1-.7.5-.4v-.1s0-.1-.1-.1h-.6zM3.3 11.6l-.2-.5c0-.1-.1-.1-.1-.1l-.1.1-.2.5h-.6c-.1 0-.1.1-.1.2v.1l.4.4-.1.6c0 .1 0 .1.1.1h.1l.5-.4.5.4h.1v-.1l-.2-.6.6-.5v-.1s0-.1-.1-.1h-.6zM3.3 15.6l-.2-.5c0-.1-.1-.1-.1-.1l-.1.1-.2.5h-.6c-.1.1-.1.1-.1.2v.1l.4.4-.1.6c0 .1 0 .1.1.1h.1l.5-.4.5.4h.1v-.1l-.2-.6.6-.5v-.1s0-.1-.1-.1h-.6z"}),G().createElement("path",{fillRule:"evenodd",d:"M12 7a1 1 0 0 1 1 1v4a1 1 0 0 1-2 0V8a1 1 0 0 1 1-1Zm-1 9a1 1 0 0 1 1-1h.01a1 1 0 0 1 0 2H12a1 1 0 0 1-1-1Z",clipRule:"evenodd"})))),gN=G().forwardRef(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e,{ref:t}),G().createElement("path",{d:"m6.516 14.323-1.49 6.452a.998.998 0 0 0 1.529 1.057L12 18.202l5.445 3.63a1.001 1.001 0 0 0 1.517-1.106l-1.829-6.4 4.536-4.082a1 1 0 0 0-.59-1.74l-5.701-.454-2.467-5.461a.998.998 0 0 0-1.822 0L8.622 8.05l-5.701.453a1 1 0 0 0-.619 1.713l4.214 4.107zm2.853-4.326a.998.998 0 0 0 .832-.586L12 5.43l1.799 3.981a.998.998 0 0 0 .832.586l3.972.315-3.271 2.944c-.284.256-.397.65-.293 1.018l1.253 4.385-3.736-2.491a.995.995 0 0 0-1.109 0l-3.904 2.603 1.05-4.546a1 1 0 0 0-.276-.94l-3.038-2.962 4.09-.326z"})))),yN=G().forwardRef(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({viewBox:"0 0 42 42",xmlns:"https://www.w3.org/2000/svg"},e,{fill:"none",ref:t}),G().createElement("rect",{width:"41",height:"41",x:".5",y:".5",fill:"#fff",rx:"19.5"}),G().createElement("rect",{width:"41",height:"41",x:".5",y:".5",stroke:"#DDD",rx:"19.5"}),G().createElement("g",{clipPath:"url(#a)"},G().createElement("path",{fill:"#fff",d:"M22.394 19.247c-1.098-4.806-.549-9.232 1.176-11.163a1.054 1.054 0 0 0-.502.242l-6.584 5.768-2.23 1.959a6.76 6.76 0 0 0-.497.816c-.66 1.276-1.39 2.887-1.157 4.451.336 2.276 2.13 4.059 3.91 5.049.275.153.56.285.855.395l2.372.359 8.4 1.645.126-.024c-2.38-.995-4.777-4.713-5.87-9.497Z"}),G().createElement("path",{stroke:"#E2E2E2",strokeMiterlimit:"10",strokeWidth:".068",d:"m30.987 28.236-2.726.509c-2.38-.991-4.775-4.713-5.868-9.497-1.098-4.806-.549-9.23 1.176-11.162l2.069-.38 5.349 20.53Z"}),G().createElement("path",{fill:"#E2E2E2",d:"m13.812 23.726 9.819-.648 4.63 5.644-11.227-2.053s-3.132-.806-3.222-2.943Z"}),G().createElement("path",{fill:"#2E5DAD",d:"M30.078 28.938a2.933 2.933 0 0 1-1.817-.193c-2.38-.991-4.775-4.713-5.868-9.497-1.098-4.806-.549-9.23 1.176-11.162.398-.47.932-.802 1.526-.952 2.868-.668 6.308 3.674 7.685 9.69 1.377 6.017.168 11.444-2.702 12.114Z"}),G().createElement("path",{stroke:"#fff",strokeMiterlimit:"10",strokeWidth:".068",d:"M22.394 19.247c-1.098-4.806-.549-9.232 1.176-11.163l-.284.052-6.802 5.958-2.23 1.959a6.76 6.76 0 0 0-.497.816c-.66 1.276-1.39 2.887-1.157 4.451.336 2.276 2.13 4.059 3.91 5.049.275.153.56.285.855.395l.631.013 1.744.341 8.4 1.646.127-.024c-2.385-.99-4.78-4.709-5.873-9.493Z"}),G().createElement("path",{fill:"#CBDEFA",d:"M30.415 27.887c-.979.228-2.078-.456-3.101-1.776-.728-.935-1.419-2.19-2.003-3.663a23.67 23.67 0 0 1-1.069-3.465 24.559 24.559 0 0 1-.485-2.906 18.492 18.492 0 0 1-.056-3.417c.206-2.421.983-4.122 2.225-4.413 2.17-.505 4.932 3.48 6.171 8.904 1.24 5.423.486 10.23-1.683 10.736Z"}),G().createElement("path",{fill:"#B8C9E4",d:"M28.982 25.042c-.492.741-1.243.984-1.668 1.066-1.249-1.606-2.388-4.15-3.068-7.132-.535-2.315-.694-4.519-.541-6.323.419-.416 1.069-.686 1.136-.686 1.71 0 3.448 2.567 4.31 6.341.657 2.889.549 5.507-.169 6.734Z"}),G().createElement("path",{fill:"#fff",d:"m27.94 20.402-2.63 2.045a23.67 23.67 0 0 1-1.07-3.464 24.559 24.559 0 0 1-.485-2.907l3.116-.104v.018l1.056 4.376.013.036Z"}),G().createElement("path",{fill:"#2E5DAD",d:"m14.253 16.08-4.918 2.161s-3.207 1.513-1.71 6.915c0 0 1.817 4.539 5.132 3.134l4.32-1.641S9.87 23.21 14.252 16.08Z"}),G().createElement("path",{fill:"#CEDAF7",d:"M27.71 20.494c.522-.122.716-1.23.432-2.473-.284-1.244-.939-2.153-1.462-2.031-.523.122-.716 1.23-.432 2.473.284 1.244.938 2.153 1.461 2.031Z"}),G().createElement("path",{stroke:"#2E5DAD",strokeMiterlimit:"10",strokeWidth:".137",d:"M22.914 19.214c-1.098-4.806.856-11.237.856-11.237-.253.07-.49.19-.7.35l-6.584 5.767-2.232 1.96c-.185.26-.35.532-.497.815-.66 1.276-1.39 2.887-1.157 4.452.336 2.275 2.13 4.058 3.91 5.048.275.154.56.286.855.396l2.372.358 8.272 1.621c.19.003.382-.005.572-.022-2.379-.99-4.574-4.725-5.667-9.508Z"}),G().createElement("path",{fill:"#3C5385",d:"m8.053 26.008 5.757-2.281s1.727 2.51 3.224 2.942l-4.672 1.762s-2.599 1.021-4.31-2.424Z"}),G().createElement("path",{fill:"#C9DDFB",d:"m12.361 28.432 2 6.109c.125.381.206.821.778.784a1.36 1.36 0 0 1 .278.011l.107.017a.86.86 0 0 1 .673.53c.148.371.252.864-.126 1.051l.346-.027c.227-.017.441-.11.61-.265l.513-.466a.799.799 0 0 0 .25-.735 2.522 2.522 0 0 0-.067-.282.698.698 0 0 0-.582-.494 9.618 9.618 0 0 0-.573-.046.637.637 0 0 1-.578-.448l-.997-3.115-1.969-2.928-.663.304Z"}),G().createElement("path",{fill:"#2E5DAD",d:"m15.638 30.794-.033.1-.014.044-1.604.432-.934-3.188 2.002-.756v.007l.577 1.713a2.62 2.62 0 0 1 .006 1.648Z"}),G().createElement("path",{fill:"#3E5589",d:"m15.644 30.792-.034.108-1.57.416c.21-.634.228-1.317.054-1.961l-.374-1.389 1.337-.54.576 1.712c.183.535.186 1.116.011 1.654Z"})),G().createElement("defs",null,G().createElement("clipPath",{id:"a"},G().createElement("path",{fill:"#fff",d:"M7 7h27v30H7z"})))))),EN=G().forwardRef(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:"blockart-icon"},e,{ref:t}),G().createElement("path",{fillRule:"evenodd",d:"M17.5 6.5H14v-2h3.5a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H14v-2h3.5v-11Zm-7.5 11H6.5v-11H10v-2H6.5a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2H10v-2Z",clipRule:"evenodd"}),G().createElement("path",{d:"M11 3a1 1 0 1 1 2 0v18a1 1 0 1 1-2 0V3Zm3 12h2.5L14 11.042V15Zm-4.267-3.395.267.312V15H7.5l2.233-3.395Z"}))));G().forwardRef(((e,t)=>G().createElement(Ra.svg,(0,Ut.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:"blockart-icon"},e,{ref:t}),G().createElement("path",{d:"M11 3a1 1 0 1 1 2 0v18a1 1 0 1 1-2 0V3Z"}),G().createElement("path",{fillRule:"evenodd",d:"M7.5 7H4v10h3.5V7ZM4 5a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h3.5a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2H4Zm16 2h-3.5v10H20V7Zm-3.5-2a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2H20a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-3.5Z",clipRule:"evenodd"})))).displayName="SplitContent",Az.displayName="ArrowRight",fN.displayName="Faq",yN.displayName="Megaphone",vN.displayName="Notice",hN.displayName="PriceList",pN.displayName="Testimonial",dN.displayName="Map",uN.displayName="Slider",cN.displayName="CTA",sN.displayName="Progress",lN.displayName="Timeline",iN.displayName="Blockquote",aN.displayName="Headphones",nN.displayName="EVF",rN.displayName="MagazineBlocks",oN.displayName="Masteriyo",tN.displayName="UR",eN.displayName="Chat",Jz.displayName="Bulb",Qz.displayName="Star",Xz.displayName="Video",Yz.displayName="DocsLines",Kz.displayName="Docs",qz.displayName="ExternalLink",Gz.displayName="CirclesInsideCircle",Sz.displayName="DotsHorizontal",kz.displayName="Search",wz.displayName="Cog",xz.displayName="Meter",_z.displayName="ArrowsRepeat",Pz.displayName="ArrowsUpDown",Cz.displayName="Links",Rz.displayName="Logo",Mz.displayName="ArrowRightFill",Tz.displayName="QuestionCircleFill",Iz.displayName="Buttons",Lz.displayName="Countdown",Dz.displayName="Counter",Bz.displayName="Heading",zz.displayName="Paragraph",Nz.displayName="Section",Vz.displayName="Spacing",Fz.displayName="Tabs",Hz.displayName="Lottie",jz.displayName="InfoBox",Wz.displayName="Image",$z.displayName="TableOfContents",Zz.displayName="SocialShare",Uz.displayName="Team",Oz.displayName="ThreeCircleNodes",mN.displayName="ImageGallery",bN.displayName="IconList",gN.displayName="Icon",EN.displayName="ImageComparisonIcon";const kN=e=>{const t=(0,Hv.useSelect)((e=>e($D).getFavorites()),[]),{updateFavorites:r}=(0,Hv.useDispatch)("blockart/preferences"),{createSuccessNotice:n,createErrorNotice:a}=(0,Hv.useDispatch)(nz.store),{mutate:o,isLoading:i}=(0,FD.useMutation)((async e=>{try{var t;const r=await az.get(`https://wpblockart.com/wp-json/blockart-library/v1/content?id=${e}`),n=await IN(null!==(t=r?.data)&&void 0!==t?t:""),a=(0,$.parse)(n,{__unstableSkipMigrationLogs:!0});return wp.data.dispatch("core/block-editor").insertBlocks(a),e}catch{throw Error("Failed to import")}}),{onSuccess(){n((0,K.__)("Import success!","blockart"),{type:"snackbar"}),e.onClose()},onError(){a((0,K.__)("Import failed!","blockart"),{type:"snackbar"}),e.onClose()}}),{isOpen:l,onOpen:s,onClose:c}=G_({id:`ba-${e.id}`});return e.isStarter?G().createElement(Ba,{borderRadius:"sm",bgColor:"white",border:"1px",borderColor:"gray.200",onClick:e.onClick,cursor:"pointer"},G().createElement(Ba,{p:"12px",position:"relative"},G().createElement(KB,{src:e.imageUrl,w:"full"})),G().createElement(Ua,{justify:"space-between",p:"12px"},G().createElement(N_,{as:"span"},e.title))):G().createElement(Ba,{borderRadius:"sm",bgColor:"white",key:e.id,onClick:e.onClick,border:"1px",borderColor:"gray.200",onMouseEnter:s,onMouseLeave:c},G().createElement(Ba,{p:"12px",position:"relative"},G().createElement(KB,{src:e.imageUrl,w:"full"}),G().createElement(Ba,{position:"absolute",top:0,left:0,h:"full",w:"full",bgColor:"rgba(0, 0, 0, 0.30)",zIndex:1,display:"grid",placeItems:"center",visibility:l||i?"visible":"hidden",pointerEvents:l||i?"auto":"none",opacity:l||i?1:0,transition:"opacity 0.2s ease-in-out"},G().createElement(cf,{isLoading:i,fontSize:"x-small",onClick:()=>o(e.id),size:"xs",leftIcon:G().createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 15 15",fill:"none"},G().createElement("path",{d:"M11.6096 11.1684C11.4783 11.1691 11.3505 11.1258 11.2466 11.0455C11.1427 10.9652 11.0686 10.8525 11.0361 10.7253C11.0036 10.598 11.0146 10.4636 11.0673 10.3433C11.12 10.223 11.2114 10.1238 11.327 10.0614C11.7495 9.82988 12.0629 9.44025 12.1985 8.97797C12.2689 8.74937 12.2922 8.50884 12.2669 8.27098C12.2416 8.03312 12.1682 7.80288 12.0513 7.59421C11.8958 7.30669 11.6653 7.0667 11.3844 6.89976C11.1034 6.73282 10.7824 6.64519 10.4555 6.64619H9.86669C9.73297 6.65042 9.6018 6.60899 9.49477 6.52872C9.38774 6.44845 9.31123 6.33412 9.27786 6.20456C9.17209 5.78861 8.98529 5.39761 8.72815 5.05398C8.47101 4.71034 8.14859 4.42083 7.77936 4.20203C7.41013 3.98323 7.00135 3.83943 6.57645 3.7789C6.15155 3.71836 5.71888 3.74226 5.30324 3.84923C4.88728 3.95499 4.49628 4.1418 4.15265 4.39894C3.80902 4.65608 3.5195 4.9785 3.3007 5.34773C3.0819 5.71696 2.93811 6.12574 2.87757 6.55064C2.81703 6.97554 2.84093 7.40821 2.94791 7.82385C3.07996 8.32159 3.32361 8.78272 3.66039 9.17228C3.76332 9.28947 3.81555 9.44271 3.80562 9.59837C3.79568 9.75403 3.72439 9.89938 3.6074 10.0025C3.49021 10.1055 3.33697 10.1577 3.18131 10.1478C3.02565 10.1378 2.8803 10.0665 2.77714 9.94954C2.31568 9.4227 1.98306 8.79577 1.80557 8.11827C1.47998 7.00209 1.60523 5.80272 2.15442 4.77789C2.70361 3.75307 3.63291 2.98457 4.74262 2.63755C5.85232 2.29052 7.05388 2.39266 8.08909 2.92202C9.1243 3.45138 9.91054 4.3657 10.2789 5.46852H10.4555C11.12 5.4702 11.7651 5.69263 12.2893 6.10086C12.8136 6.50908 13.1874 7.07996 13.3518 7.72374C13.5163 8.36752 13.4622 9.04771 13.198 9.65739C12.9338 10.2671 12.4745 10.7717 11.8923 11.0919C11.806 11.1408 11.7088 11.1671 11.6096 11.1684ZM9.91968 9.49025C9.80936 9.38058 9.66012 9.31902 9.50456 9.31902C9.34899 9.31902 9.19975 9.38058 9.08943 9.49025L8.15319 10.4442V7.5C8.15319 7.34383 8.09115 7.19406 7.98072 7.08363C7.87029 6.9732 7.72052 6.91116 7.56435 6.91116C7.40819 6.91116 7.25841 6.9732 7.14799 7.08363C7.03756 7.19406 6.97552 7.34383 6.97552 7.5V10.4442L6.05694 9.49025C6.00192 9.43568 5.93667 9.3925 5.86493 9.3632C5.79319 9.33389 5.71636 9.31904 5.63887 9.31949C5.56138 9.31904 5.48456 9.33389 5.41281 9.3632C5.34107 9.3925 5.27582 9.43568 5.2208 9.49025C5.16483 9.54421 5.1201 9.60871 5.08919 9.68005C5.05828 9.75138 5.04181 9.82813 5.04071 9.90587C5.03962 9.9836 5.05393 10.0608 5.08281 10.133C5.1117 10.2051 5.1546 10.2709 5.20902 10.3264L7.14039 12.2519C7.19465 12.3048 7.25864 12.3468 7.32882 12.3755C7.40011 12.4075 7.47737 12.4241 7.55552 12.4241C7.63367 12.4241 7.71093 12.4075 7.78222 12.3755C7.85241 12.3468 7.91639 12.3048 7.97065 12.2519L9.91968 10.3264C9.97487 10.2717 10.0187 10.2065 10.0486 10.1348C10.0785 10.063 10.0939 9.98605 10.0939 9.90832C10.0939 9.83059 10.0785 9.75362 10.0486 9.68187C10.0187 9.61011 9.97487 9.54499 9.91968 9.49025Z",fill:"white"}))},(0,K.__)("Import","blockart")))),G().createElement(Ua,{justify:"space-between",p:"12px"},G().createElement(N_,{as:"span"},e.title),G().createElement(cf,{variant:"icon",sx:{svg:{fill:t.includes(`${e.slug}`)?"primary.500":"#fff",stroke:t.includes(`${e.slug}`)?"primary.500":"gray.400"}},onClick:()=>{r(t.includes(`${e.slug}`)?t.filter((t=>t!==`${e.slug}`)):[...t,`${e.slug}`])}},G().createElement("svg",{stroke:"currentColor",fill:"none",strokeWidth:"2",viewBox:"0 0 24 24",strokeLinecap:"round",strokeLinejoin:"round",height:"16px",width:"16px",xmlns:"http://www.w3.org/2000/svg"},G().createElement("path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z"})))))},wN=VD((({label:e,...t})=>{const{isOpen:r,onOpen:n,onClose:a}=G_();return G().createElement(G().Fragment,null,G().createElement(cf,(0,Ut.A)({onClick:n,size:"sm",fontSize:"13px",leftIcon:G().createElement("svg",{width:20,height:20,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},G().createElement("path",{d:"M22 22H2V2h20zM3 21h18V3H3z",fill:"#fff"}),G().createElement("path",{d:"M13.46 10l-1.39-5-1.39 5zm.92 3H9.77l-1 4.46V19h6.4v-1.52z",fill:"#fff",fillRule:"evenodd"}))},t),e||(0,K.__)("BlockArt Library","blockart")),G().createElement(CN,{isOpen:r,onClose:a}))})),xN={px:"20px",py:"12px",w:"full",variant:"ghost",justifyContent:"space-between",color:"gray.800",_active:{bg:"primary.100",color:"primary.500"},fontSize:"13px"},_N={variant:"unstyled",fontSize:"13px",fontWeight:"semibold",h:"full",px:"30px",borderRadius:"none",_active:{borderBottom:"2px",borderColor:"primary.500"}},PN=HD((({isOpen:e,onClose:t})=>{var r;const{reset:n,templates:a,contentType:o,selectedCategory:i,searchQuery:l,selectedStarterPack:s,setSelectedStarterPack:c,setSearchQuery:u,setContentType:d,setSelectedCategory:p,categorizedData:m,libraryDataQuery:h,currentTemplates:f}=(()=>{var e,t;const r=(0,FD.useQuery)(["library-data"],(()=>sb()({path:"/blockart/v1/library-data",method:"GET"}))),[n,a]=G().useState("sections"),[o,i]=G().useState(""),[l,s]=G().useState(""),[c,u]=G().useState(),d=Xv(l,400),p=Object.values(null!==(e=r.data?.["sections"===n?"categorized_sections":"categorized_templates"])&&void 0!==e?e:{}).map((e=>{const t=e.items.filter((e=>!d||e.post_title.toLowerCase().includes(d.toLowerCase()))).flatMap((e=>e.children.length&&"templates"===n?e.children:e));return{...e,items:t,count:t.length}}));let m=Object.values(p)?.reduce(((e,t)=>[...e,...t.items]),[]);const h=(0,Hv.useSelect)((e=>e($D).getFavorites()),[]);var f;"favorites"==n&&(m=Object.values(null!==(f=r.data)&&void 0!==f?f:{}).reduce(((e,t)=>(e=[...e,...Object.values(t).reduce(((e,t)=>(e=[...e,...t.items.filter((e=>e.children.length)).flatMap((e=>e.children)),...t.items.filter((e=>!e.children.length))],e)),[])],e)),[]).filter((e=>(!d||e.post_title.toLowerCase().includes(d.toLowerCase()))&&-1!==h.findIndex((t=>t===e.slug)))));const v=c&&"starter-packs"===n?null!==(t=m.find((e=>e.ID===c))?.children)&&void 0!==t?t:[]:m;return{reset:()=>{i(""),s(""),u(void 0)},templates:m,currentTemplates:v,contentType:n,setContentType:a,selectedCategory:o,setSelectedCategory:i,searchQuery:l,debouncedSearchQuery:d,setSearchQuery:s,selectedStarterPack:c,setSelectedStarterPack:u,categorizedData:p,libraryDataQuery:r}})(),v=(0,FD.useMutation)((()=>sb()({path:"blockart/v1/library-data?refresh=true"})));return G().createElement(AP,{isOpen:e,onClose:t,isCentered:!0,motionPreset:"none"},G().createElement(oS,null),G().createElement(QA,{maxW:"full",borderRadius:"none",h:"calc(100vh)"},G().createElement(iS,{minH:"60px",p:"0",display:"flex",alignItems:"center",borderBottom:"1px",borderColor:"gray.200"},G().createElement(Ba,{w:"22%",flexShrink:0,h:"full",px:"4",py:"3"},G().createElement("svg",{width:"37",height:"36",viewBox:"0 0 37 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},G().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 35.5H37V0.5H0V35.5ZM35 33.5H1.99997V2.5H35V33.5ZM18.8259 5.5L21.3072 13.8234L16.3332 13.8453L18.8259 5.5ZM14.7056 19.3469H22.9576L24.4259 26.7953L24.5625 29.5H12.873L12.9755 26.7625L14.7056 19.3469Z",fill:"#2563EB"}))),G().createElement(Ua,{h:"full"},G().createElement(cf,(0,Ut.A)({isActive:"sections"===o,onClick:()=>{d("sections"),n()}},_N),"Sections"),G().createElement(cf,(0,Ut.A)({isActive:"starter-packs"===o,onClick:()=>{d("starter-packs"),n()}},_N),"Starter Packs"),G().createElement(cf,(0,Ut.A)({isActive:"templates"===o,onClick:()=>{d("templates"),n()}},_N),"Templates"),G().createElement(cf,(0,Ut.A)({isActive:"favorites"===o,onClick:()=>{d("favorites"),n()},display:"flex",alignItems:"center",leftIcon:G().createElement("svg",{stroke:"currentColor",fill:"none",strokeWidth:"2",viewBox:"0 0 24 24",strokeLinecap:"round",strokeLinejoin:"round",height:"14px",width:"14px",xmlns:"http://www.w3.org/2000/svg"},G().createElement("path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z"}))},_N),"Favorites"))),G().createElement(cf,{onClick:()=>{v.mutate()},padding:"0",bgColor:"transparent",position:"absolute",top:"14px",right:"45px",width:"18px",height:"18px",borderRight:"1px",borderColor:"gray.200",borderStyle:"solid",_hover:{bgColor:"transparent"}},G().createElement(_z,{height:"4",width:"4"})),G().createElement(bz,null),G().createElement(lS,{p:"0",h:"calc(100% - 60px)"},G().createElement(Ua,{h:"full"},G().createElement(Ba,{w:"22%",borderRight:"1px",borderColor:"gray.200",p:"20px",flexShrink:0,h:"full"},G().createElement(kL,null,G().createElement(uS,{onChange:e=>u(e.target.value),value:l,borderRight:"0",borderTopLeftRadius:"sm",borderBottomLeftRadius:"sm"}),G().createElement(GL,{bg:"white",borderTopRightRadius:"sm",borderBottomRightRadius:"sm"},G().createElement(dO,{h:"18px",w:"18px",fill:"gray.400"}))),G().createElement(YB,{as:"h3",fontSize:"13px",fontWeight:"semibold",m:"0",mt:"8",mb:"4"},"Categories"),G().createElement(WB,{h:"calc(100% - 110px)",w:"calc(100% + 20px)",pr:"4"},G().createElement(kS,{alignItems:"start",gap:"0"},G().createElement(cf,(0,Ut.A)({},xN,{isActive:!i,onClick:()=>p("")}),(0,K.sprintf)((0,K.__)("All %s","blockart"),"sections"===o?(0,K.__)("Sections","blockart"):"starter-packs"===o?(0,K.__)("Starter Packs","blockart"):"favorites"===o?(0,K.__)("Favorites","blockart"):(0,K.__)("Templates","blockart")),G().createElement(N_,{as:"span"},v.isLoading?0:a.length)),v.isLoading?null:G().createElement(G().Fragment,null,"favorites"!==o?Object.values(m).map((e=>G().createElement(cf,(0,Ut.A)({isActive:e.slug===i,key:e.slug},xN,{onClick:()=>p(e.slug)}),e.name,G().createElement(N_,{as:"span"},e.count)))):null)))),G().createElement(Ba,{h:"full",w:"full",p:"8"},G().createElement(Ua,{w:"full",mb:"32px !important"},"starter-packs"===o&&s?G().createElement(cf,{variant:"link",onClick:()=>c(void 0),size:"xs"},(0,K.__)("Go back","blockart")):G().createElement(N_,{as:"span",fontWeight:"600"},"sections"===o?(0,K.__)("Sections","blockart"):"starter-packs"===o?(0,K.__)("Starter Packs","blockart"):"favorites"===o?(0,K.__)("Favorites","blockart"):(0,K.__)("Templates","blockart"))),G().createElement(WB,{h:"calc(100% - 25px)",mr:"-32px"},h.isLoading||v.isLoading||!h.isSuccess?h.isLoading||v.isLoading?G().createElement(yS,{gridTemplateColumns:"repeat(auto-fill, minmax(290px, 1fr))",gridGap:"27px",pr:"8"},Array.from({length:20}).map(((e,t)=>G().createElement(Za,{key:t,p:"12px",borderRadius:"4px",border:"1px solid",borderColor:"gray.100",bgColor:"white"},G().createElement(rz,{w:"full",h:"200px"}),G().createElement(Ua,{justify:"space-between"},G().createElement(Ez,{noOfLines:1,width:"80px"}),G().createElement(rz,{h:"14px",w:"14px",m:"14px",borderRadius:"full"})))))):h.isError?G().createElement(a_,{status:"error"},G().createElement(l_,null,null!==(r=h.error?.message)&&void 0!==r?r:(0,K.__)("Something went wrong","blockart"))):null:f?.length?G().createElement(ES,{h:"full",columns:[1,2,3],spacing:"27px",gridAutoRows:"min-content",pr:"8",alignItems:"start",mr:"-32px"},f.map((e=>i&&!e.category.some((e=>e.slug===i))?null:G().createElement(kN,{id:e.ID,imageUrl:e.post_thumbnail,key:e.ID,onClose:t,isStarter:!s&&"starter-packs"===o,onClick:"starter-packs"!==o||s?void 0:()=>{c(e.ID)},title:e.post_title,slug:e.slug,type:o})))):l||"favorites"!==o?G().createElement(Ba,null,G().createElement(kS,{w:"full",h:"400px",borderRadius:"4px",display:"flex",justifyContent:"center",alignItems:"center"},G().createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 81 80",width:"80px",height:"80px"},G().createElement("g",{fill:"#D3D3D3",clipPath:"url(#a)"},G().createElement("path",{d:"M78.19 77.713a4.997 4.997 0 0 1-7.063 0l-16.025-16.03 7.062-7.063L78.19 70.67a4.996 4.996 0 0 1 0 7.043Z"}),G().createElement("path",{d:"M10.645 10.17a34.678 34.678 0 1 0 49.067 49.017 34.678 34.678 0 0 0-49.068-49.018Zm47.064 47.064a31.86 31.86 0 1 1-45.056-45.057A31.86 31.86 0 0 1 57.71 57.234Z"})),G().createElement("defs",null,G().createElement("clipPath",{id:"a"},G().createElement("path",{fill:"#fff",d:"M.5 0h80v80H.5z"})))),G().createElement(Ba,null,G().createElement(N_,{fontSize:"20px",fontWeight:"600",mt:"16px",textAlign:"center",color:"#383838"},(0,K.__)("Sorry, no result found ","blockart")),G().createElement(N_,{fontSize:"14px",fontWeight:"600",mt:"4px",textAlign:"center",color:"#7A7A7A"},(0,K.__)("Please try another search","blockart"))))):G().createElement(Ba,null,G().createElement(kS,{w:"full",h:"400px",borderRadius:"4px",display:"flex",justifyContent:"center",alignItems:"center"},G().createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 81 80",width:"80px",height:"80px"},G().createElement("circle",{cx:"40.5",cy:"40",r:"40",fill:"#F4F4F4"}),G().createElement("path",{fill:"#D3D3D3",d:"M57.143 37.61C55.32 47.337 40.75 55.746 40.75 55.746s-14.57-8.41-16.393-18.138c-1.796-9.586 3.488-14.592 8.949-14.592a8.038 8.038 0 0 1 4.224.886 8.37 8.37 0 0 1 3.22 2.965 8.37 8.37 0 0 1 3.22-2.965 8.038 8.038 0 0 1 4.224-.886c5.461 0 10.745 5.006 8.949 14.592Z"})),G().createElement(Ba,null,G().createElement(N_,{fontSize:"20px",fontWeight:"600",mt:"16px",textAlign:"center",color:"#383838"},(0,K.__)("Collect your Favourites ","blockart")))))))))))})),CN=HD(PN),{v4:AN}=r(6008),SN=()=>{const{getBlocks:e}=(0,Hv.select)("core/block-editor");return e().length>0},RN=e=>e.reduce(((e,t)=>{if(!t.isValid&&t.name.includes("blockart")&&e.push(t),t.innerBlocks.length>0){const r=RN(t.innerBlocks);r.length>0&&(e=e.concat(r))}return e}),[]);class MN{constructor(e){this._styles=e,this._colors=[],this._typographies=[],this._typographiesTablet=[],this._typographiesMobile=[],this._fonts={},this._css="",this._editorCanvas=window["editor-canvas"]?.document}process(){this._processColors(),this._processTypographies(),this._makeStyle(),this._editorCanvas&&this._makeStyle(this._editorCanvas)}_processColors(){if(this._styles.colors.length)for(const e of this._styles.colors)e.value&&this._colors.push(`--ba-colors-${e.id}: ${e.value};`)}_processTypographies(){if(this._styles.typographies.length)for(const e of this._styles.typographies){if(!e.value)continue;let t="";const{family:r,weight:n=400,size:a,lineHeight:o,transform:i,letterSpacing:l,fontStyle:s,decoration:c}=e.value;r&&"Default"!==r&&(this._fonts[r]||(this._fonts[r]=[]),this._fonts[r].includes(n)||this._fonts[r].push(n),this._typographies.push(`--ba-font-families-${e.id}: ${r};`),t+=`font-family: var(--ba-font-families-${e.id}) !important;`),n&&(t+=`font-weight: var(--ba-font-weights-${e.id}) !important;`,this._typographies.push(`--ba-font-weights-${e.id}: ${n};`)),i&&"default"!==i&&(t+=`text-transform: var(--ba-font-transforms-${e.id}) !important;`,this._typographies.push(`--ba-font-transforms-${e.id}: ${i};`)),c&&"default"!==c&&(t+=`text-decoration: var(--ba-font-decorations-${e.id}) !important;`,this._typographies.push(`--ba-font-decorations-${e.id}: ${c};`)),s&&"default"!==s&&(this._typographies.push(`--ba-font-styles-${e.id}: ${s};`),t+=`font-style: var(--ba-font-styles-${e.id}) !important;`),a&&(this._processResponsiveTypography(a,`--ba-font-sizes-${e.id}`),t+=`font-size: var(--ba-font-sizes-${e.id}) !important;`),l&&(this._processResponsiveTypography(l,`--ba-font-letter-spacings-${e.id}`),t+=`letter-spacing: var(--ba-font-letter-spacings-${e.id}) !important;`),o&&(this._processResponsiveTypography(o,`--ba-font-line-heights-${e.id}`),t+=`line-height: var(--ba-font-line-heights-${e.id}) !important;`),t&&(this._css=this._css+`.ba-typography-${e.id} {${t}}`)}}_processResponsiveTypography(e,t){var r,n,a;e?.desktop?.value&&this._typographies.push(`${t}: ${e.desktop.value}${null!==(r=e.desktop?.unit)&&void 0!==r?r:"px"};`),e?.tablet?.value&&this._typographiesTablet.push(`${t}: ${e.tablet.value}${null!==(n=e.tablet?.unit)&&void 0!==n?n:"px"};`),e?.mobile?.value&&this._typographiesMobile.push(`${t}: ${e.mobile.value}${null!==(a=e.mobile?.unit)&&void 0!==a?a:"px"};`)}_makeStyle(e=document){const t=e.querySelector("#blockart-global-styles-css");let r=`:root {${this._colors.concat(this._typographies).join("\n")}}`;this._typographiesTablet&&(r+=`\n@media (max-width: 779px) { :root { ${this._typographiesTablet.join("\n")} } }`),this._typographiesMobile&&(r+=`\n@media (max-width: 359px) { :root { ${this._typographiesMobile.join("\n")} } }`),this._css&&(r+=`\n${this._css}`),this._fonts&&(r=Object.entries(this._fonts).map((([e,t])=>{const r=t.join(",");return`@import url('https://fonts.googleapis.com/css2?family=${e.replace(/\s/g,"+")}:wght@${r}&display=swap');`})).join("\n")+"\n"+r),t?t.innerHTML=r:e.head.appendChild(Object.assign(e.createElement("style"),{id:"blockart-global-styles-css",innerHTML:r}))}}const TN=/\b((https?|ftp|file):\/\/|(www|ftp)\.)[-A-Z0-9+&@#\/%?=~_|$!:,.;]*[A-Z0-9+&@#\/%=~_|$]/gi,IN=async(e="")=>{const t=[...e.matchAll(TN)].map((e=>{var t;return null!==(t=e.at(0))&&void 0!==t?t:""})).filter(((e,t,r)=>r.indexOf(e)===t)).filter((e=>/\.(jpg|jpeg|png|webp|avif|gif|svg)$/.test(e)));if(!t.length)return e;const r=t.map((e=>sb()({path:"/blockart/v1/image-import",method:"POST",data:{url:e}}))),n=await Promise.allSettled(r);for(const t of n)if("fulfilled"===t.status){const{sourceURL:r,url:n}=t.value;n&&(e=e.replaceAll(r,n))}return e},ON=["background","hoverBackground","background1","background2","hoverBackground1","hoverBackground2"];ob("global-styles",((e,t)=>{t(e),new MN(e).process(),Mv(e,kv.configs["global-styles"])||((e,t)=>{let r,n;return async function(...t){return n||r?(n&&await n,r&&(clearTimeout(r),r=void 0),new Promise(((a,o)=>{r=setTimeout((()=>{n=e(...t).then(a).catch(o).finally((()=>{n=void 0,r=void 0}))}),2500)}))):new Promise(((r,a)=>{n=e(...t).then(r).catch(a).finally((()=>{n=void 0}))}))}})(sb())({path:"blockart/v1/settings",method:"POST",data:{"global-styles":JSON.stringify({...e,_modified:(new Date).toISOString()})}}).catch((()=>{}))})),ob("blockart-device",((e,t)=>{t(e),setTimeout((()=>{void 0!==window["editor-canvas"]&&new MN(tb("global-styles",void 0).value).process()}),700)}));const LN=["primary","secondary","text","accent"];let DN={colors:kv.configs["global-styles"].colors.filter((e=>!LN.includes(e.id))).length,typographies:kv.configs["global-styles"].typographies.filter((e=>!LN.includes(e.id))).length};const BN=()=>{const[e,t]=nb("global-styles",kv.configs["global-styles"]);return{styles:e,setStyles:t,updateStyleByKey:(r,n)=>{let a=Tv(e),o=(a?.[r]||[]).findIndex((e=>e.id===n.id));if(-1!==o)a=Sv(a,[r,o],n);else{var i;const t=(t=>{DN[t]++;const r="typographies"===t?"custom-typography":"custom-color";let n=`${r}-${DN[t]}`,a=r.replaceAll("-"," ");for(;(e?.[t]||[]).find((e=>e.id===n));)DN[t]++,n=`${r}-${DN[t]}`;return{id:n,name:`${a}#${DN[t]}`}})(r);a=Sv(a,[r,null!==(i=a?.[r].length)&&void 0!==i?i:0],{...n,...t})}return t(a),a},removeStyleByKey:(r,n)=>{const a=Tv(e),o=e?.[r]?.findIndex((e=>e.id===n));return void 0===o||-1===o?e:(a?.[r].splice(o,1),t(a),a)}}},zN={minH:"32px",h:"20px",p:"6px",fontSize:"13px",borderRadius:"none",textAlign:"center",borderColor:"gray.400",m:0,"&:focus,&:hover":{boxShadow:"none",borderColor:"gray.400"}},NN={".react-colorful":{w:"254px",gap:"16px"},".react-colorful__saturation":{borderRadius:"none"},".react-colorful__alpha, .react-colorful__hue":{h:"8px",borderRadius:"8px"},".react-colorful__pointer":{h:"14px",w:"14px"},".react-colorful__alpha, .react-colorful__alpha-pointer":{bgSize:"3%"},".chakra-select":{background:"none",border:"0",fontSize:"13px",color:"black",h:"23px",p:"0","&:focus":{boxShadow:"none",color:"black"},"&:hover":{color:"black"}}},VN=({color:e,onChange:t})=>{const r=(0,U.useRef)(null),n=(0,U.useRef)(e);return(0,U.useEffect)((()=>{n.current!==e&&r.current&&(r.current.value=e,n.current=e)}),[e]),G().createElement(kL,{sx:{".chakra-input":{...zN}}},G().createElement(UL,{p:"0",h:"32px",pl:"10px",bg:"transparent",borderColor:"gray.400",borderRight:"0",borderTopLeftRadius:"2px",borderBottomLeftRadius:"2px"},G().createElement(Ba,{w:"20px",borderRadius:"base",h:"20px",bg:e})),G().createElement(uS,{ref:r,minH:"32px",borderLeft:"0 !important",maxLength:9,defaultValue:e,onChange:e=>{const r=e.target.value;Hf(r).isValid()&&t(r)}}))},FN={sx:{".chakra-numberinput__field":zN}},HN=({color:e,onChange:t})=>{const r=(r,n)=>{t({...e,[n]:r})};return G().createElement(Ua,{gap:"0"},G().createElement(zL,(0,Ut.A)({min:0},FN,{max:359,value:e?.h,onChange:(e,t)=>r(t,"h")}),G().createElement(VL,null)),G().createElement(zL,(0,Ut.A)({min:0},FN,{max:100,value:e?.s,onChange:(e,t)=>r(t,"s")}),G().createElement(VL,{borderLeft:"none !important",borderRight:"none !important"})),G().createElement(zL,(0,Ut.A)({min:0},FN,{max:100,value:e?.l,onChange:(e,t)=>r(t,"l")}),G().createElement(VL,null)),G().createElement(kL,{sx:{".chakra-numberinput__field":{textAlign:"right !important"}}},G().createElement(zL,(0,Ut.A)({value:100*e?.a,min:0,max:100,step:1},FN,{onChange:(e,t)=>r(t/100,"a")}),G().createElement(VL,{borderLeft:"none !important",borderRight:"none !important",pr:"0 !important"})),G().createElement(GL,{height:"32px",bg:"transparent",flex:"unset",p:"0",px:"2px",pr:"6px",borderTopRightRadius:"2px",borderBottomRightRadius:"2px",fontSize:"12px",borderColor:"gray.400"},"%")))},jN={sx:{".chakra-numberinput__field":zN}},WN=({color:e,onChange:t})=>{const r=(r,n)=>{t({...e,[n]:r})};return G().createElement(Ua,{gap:"0"},G().createElement(zL,(0,Ut.A)({min:0},jN,{max:255,value:e?.r,onChange:(e,t)=>r(t,"r")}),G().createElement(VL,null)),G().createElement(zL,(0,Ut.A)({min:0},jN,{max:255,value:e?.g,onChange:(e,t)=>r(t,"g")}),G().createElement(VL,{borderLeft:"none !important",borderRight:"none !important"})),G().createElement(zL,(0,Ut.A)({min:0},jN,{max:255,value:e?.b,onChange:(e,t)=>r(t,"b")}),G().createElement(VL,null)),G().createElement(kL,{sx:{".chakra-numberinput__field":{textAlign:"right !important"}}},G().createElement(zL,(0,Ut.A)({value:100*e?.a,min:0,max:100,step:1},jN,{onChange:(e,t)=>r(t/100,"a")}),G().createElement(VL,{borderLeft:"none !important",borderRight:"none !important",pr:"0 !important"})),G().createElement(GL,{height:"32px",bg:"transparent",flex:"unset",p:"0",px:"2px",pr:"6px",borderTopRightRadius:"2px",borderBottomRightRadius:"2px",fontSize:"12px",borderColor:"gray.400"},"%")))},$N=(e,t)=>{var r;return"hex"===(t=null!==(r=t)&&void 0!==r?r:"hex")?e.hex:"rgb"===t?Hf(e.rgb).toRgbString():"hsl"===t?Hf(e.hsl).toHslString():e.hex},ZN=e=>{const t=Hf(e);return{hex:t.toHex(),rgb:t.toRgb(),hsl:t.toHsl()}},UN=({onChange:e,value:t="#000000",showGlobalPalette:r=!0})=>{const[n,a]=(0,U.useState)(ZN(t)),[o,i]=(0,U.useState)((()=>{var e;return null!==(e=Bf(t))&&void 0!==e?e:"hex"})),{onCopy:l,hasCopied:s}=function(e,t={}){const[r,n]=(0,U.useState)(!1),[a,o]=(0,U.useState)(e);(0,U.useEffect)((()=>o(e)),[e]);const{timeout:i=1500,...l}="number"==typeof t?{timeout:t}:t,s=(0,U.useCallback)((()=>{const e=Ha(a,l);n(e)}),[a,l]);return(0,U.useEffect)((()=>{let e=null;return r&&(e=window.setTimeout((()=>{n(!1)}),i)),()=>{e&&window.clearTimeout(e)}}),[i,r]),{value:a,setValue:o,onCopy:s,hasCopied:r}}($N(n,o)),c=(0,U.useRef)(),u=Qv(e),{styles:d}=BN(),p=e=>{const t=Hf(e);a((()=>{const r={hex:"string"==typeof e?e:t.toHex(),rgb:t.toRgb(),hsl:t.toHsl()};return u($N(r,o)),r}))};return G().useEffect((()=>{var e;a(ZN(t)),i(null!==(e=Bf(t))&&void 0!==e?e:"hex")}),[t]),G().createElement(Ba,{ref:c,sx:NN},G().createElement(gv,{color:n.hex,onChange:e=>{p(e)}}),G().createElement(Ua,{gap:"8px",mt:"16px",maxW:"254px"},G().createElement(ro,{defaultValue:o,onChange:e=>{const t=e.target.value;i(t)},w:"40px",iconSize:"16px",sx:{"+ .chakra-select__icon-wrapper":{w:"14px",right:"0"}}},G().createElement("option",{value:"hex"},(0,K.__)("Hex","blockart")),G().createElement("option",{value:"rgb"},(0,K.__)("RGB","blockart")),G().createElement("option",{value:"hsl"},(0,K.__)("HSL","blockart"))),G().createElement(Ba,{flex:"hex"===o?"0":"1",mr:"hex"===o?"auto":void 0,minW:"hex"===o?"120px":void 0},"hex"===o?G().createElement(VN,{color:n.hex,onChange:e=>p(e)}):"hsl"===o?G().createElement(HN,{color:n.hsl,onChange:e=>p(e)}):G().createElement(WN,{color:n.rgb,onChange:e=>p(e)})),G().createElement(Xh,{label:s?(0,K.__)("Copied","blockart"):(0,K.__)("Copy","blockart"),placement:"top",portalProps:{containerRef:c},closeOnClick:!1,hasArrow:!0},G().createElement(cf,{variant:"icon",onClick:l},G().createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true",focusable:"false"},G().createElement("path",{d:"M20.2 8v11c0 .7-.6 1.2-1.2 1.2H6v1.5h13c1.5 0 2.7-1.2 2.7-2.8V8zM18 16.4V4.6c0-.9-.7-1.6-1.6-1.6H4.6C3.7 3 3 3.7 3 4.6v11.8c0 .9.7 1.6 1.6 1.6h11.8c.9 0 1.6-.7 1.6-1.6zm-13.5 0V4.6c0-.1.1-.1.1-.1h11.8c.1 0 .1.1.1.1v11.8c0 .1-.1.1-.1.1H4.6l-.1-.1z"}))))),r&&G().createElement(df,{flexWrap:"wrap",gap:"2",mt:"4"},G().createElement(pf,{w:"full",mb:"2"},(0,K.__)("Global Colors","blockart")),d.colors.map((r=>G().createElement(Xh,{key:r.id,label:r.name,placement:"top",hasArrow:!0},G().createElement(Ba,{w:"20px",h:"20px",borderRadius:"full",border:"1px",borderColor:"gray.200",bgColor:r.value,onClick:()=>e(`var(--ba-colors-${r.id})`)},t===`var(--ba-colors-${r.id})`&&G().createElement(Ra.svg,{stroke:"currentColor",fill:"white",strokeWidth:"0",viewBox:"0 0 512 512",height:"18px",width:"18px",xmlns:"http://www.w3.org/2000/svg"},G().createElement("path",{d:"M186.301 339.893L96 249.461l-32 30.507L186.301 402 448 140.506 416 110z"}))))))))},GN="linear-gradient(135deg, rgba(6, 147, 227, 1) 0%, rgb(155, 81, 224) 100%)",qN={type:"angular",value:"90"},KN={top:0,"top right":45,"right top":45,right:90,"right bottom":135,"bottom right":135,bottom:180,"bottom left":225,"left bottom":225,left:270,"top left":315,"left top":315},YN=0;var XN,QN=r(4337);function JN({type:e,value:t,length:r}){return`${function({type:e,value:t}){return"literal"===e?t:"hex"===e?`#${t}`:`${e}(${t.join(",")})`}({type:e,value:t})} ${function(e){if(!e)return"";const{value:t,type:r}=e;return`${t}${r}`}(r)}`}function eV({type:e,orientation:t,colorStops:r}){const n=function(e){if(!Array.isArray(e)&&e&&"angular"===e.type)return`${e.value}deg`}(t);return`${e}(${[n,...r.sort(((e,t)=>{const r=e=>void 0===e?.length?.value?0:parseInt(e.length.value);return r(e)-r(t)})).map(JN)].filter(Boolean).join(",")})`}function tV(e){return void 0===e.length||"%"!==e.length.type}function rV(e){let t,r=!!e;const n=null!=e?e:GN;try{t=QN.parse(n)[0]}catch(e){t=QN.parse(GN)[0],r=!1}if(Array.isArray(t.orientation)||"directional"!==t.orientation?.type||(t.orientation={type:"angular",value:KN[t.orientation.value].toString()}),t.colorStops.some(tV)){const{colorStops:e}=t,r=100/(e.length-1);e.forEach(((e,t)=>{e.length={value:""+r*t,type:"%"}}))}return{gradientAST:t,hasGradient:r}}function nV(e,t){return{...e,colorStops:t.map((({position:e,color:t})=>{const{r,g:n,b:a,a:o}=Hf(t).toRgb();return{length:{type:"%",value:e?.toString()},type:o<1?"rgba":"rgb",value:o<1?[`${r}`,`${n}`,`${a}`,`${o}`]:[`${r}`,`${n}`,`${a}`]}}))}}function aV(e){switch(e.type){case"hex":return`#${e.value}`;case"literal":return e.value;case"rgb":case"rgba":return`${e.type}(${e.value.join(",")})`;default:return"transparent"}}function oV(e){return Math.max(0,Math.min(100,e))}function iV(e,t,r){const n=e.slice();return n[t]=r,n}function lV(e,t,r){return function(e,t,r,n=YN){const a=e[t].position,o=Math.min(a,r),i=Math.max(a,r);return e.some((({position:e},a)=>a!==t&&(Math.abs(e-r)<n||o<e&&e<i)))}(e,t,r)?e:iV(e,t,{...e[t],position:r})}function sV(e,t,r){const n=e.findIndex((e=>e.position===t));return function(e,t,r){return iV(e,t,{...e[t],color:r})}(e,n,r)}function cV(e,t){if(!t)return;const{x:r,width:n}=t.getBoundingClientRect(),a=e-r;return Math.round(oV(100*a/n))}function uV({position:e,color:t,...r}){const n=`components-custom-gradient-picker__control-point-button-description-${U_()}`;return G().createElement(Ra.button,(0,Ut.A)({"aria-label":(0,K.sprintf)((0,K.__)("Gradient control point at position %1$s%% with color code %2$s.","blockart"),e,t),"aria-describedby":n,borderRadius:"50%",p:"0",boxShadow:"0 2px 4px rgba(0,0,0,.2)",border:"2px",borderColor:"white",h:"14px",w:"14px",position:"absolute",display:"flex",top:"-3px",zIndex:"2",transform:"translateX(-50%)",style:{left:`${e}%`,backgroundColor:t}},r),G().createElement(cS,{id:n},(0,K.__)("Use your left or right arrow keys or drag and drop with the mouse to change the gradient position. Press the button to change the color or remove the control point.","blockart")))}function dV({gradientPickerDomRef:e,ignoreMarkerPosition:t,value:r,onChange:n,onStartControlPointChange:a,onStopControlPointChange:o,setActiveControlPoint:i}){const l=(0,U.useRef)(),s=t=>{if(void 0===l.current||null===e.current)return;const a=cV(t.clientX,e.current),{initialPosition:o,index:s,significantMoveHappened:c}=l.current;!c&&Math.abs(o-a)>=5&&(l.current.significantMoveHappened=!0);const u=lV(r,s,a);n(u),i(a)},c=()=>{window&&window.removeEventListener&&l.current&&l.current.listenersActivated&&(window.removeEventListener("mousemove",s),window.removeEventListener("mouseup",c),o(),l.current.listenersActivated=!1)},u=(0,U.useRef)();return u.current=c,(0,U.useEffect)((()=>()=>{u.current?.()}),[]),G().createElement(G().Fragment,null,r.map(((e,u)=>{const d=e?.position;return t!==d&&G().createElement(uV,{key:u,onClick:()=>{l.current&&l.current.significantMoveHappened||(a(),i(d))},onMouseDown:()=>{window&&window.addEventListener&&(l.current={initialPosition:d,index:u,significantMoveHappened:!1,listenersActivated:!0},a(),window.addEventListener("mousemove",s),window.addEventListener("mouseup",c))},onKeyDown:t=>{"ArrowLeft"===t.code?(t.stopPropagation(),n(lV(r,u,oV(e.position-10)))):"ArrowRight"===t.code&&(t.stopPropagation(),n(lV(r,u,oV(e.position+10))))},position:e.position,color:e.color,onDoubleClick:()=>{if(l.current&&l.current.significantMoveHappened||r.length<=2)return;const e=function(e,t){return e.filter(((e,r)=>r!==t))}(r,u),t=e.reduce(((e,t)=>Math.abs(t.position-d)<Math.abs(e-d)?t.position:e),e[0].position);n(e),i(t),o()}})})))}XN=[function(e,t){var r={white:"#ffffff",bisque:"#ffe4c4",blue:"#0000ff",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",antiquewhite:"#faebd7",aqua:"#00ffff",azure:"#f0ffff",whitesmoke:"#f5f5f5",papayawhip:"#ffefd5",plum:"#dda0dd",blanchedalmond:"#ffebcd",black:"#000000",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",cornsilk:"#fff8dc",cornflowerblue:"#6495ed",burlywood:"#deb887",aquamarine:"#7fffd4",beige:"#f5f5dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkkhaki:"#bdb76b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",peachpuff:"#ffdab9",darkmagenta:"#8b008b",darkred:"#8b0000",darkorchid:"#9932cc",darkorange:"#ff8c00",darkslateblue:"#483d8b",gray:"#808080",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",deeppink:"#ff1493",deepskyblue:"#00bfff",wheat:"#f5deb3",firebrick:"#b22222",floralwhite:"#fffaf0",ghostwhite:"#f8f8ff",darkviolet:"#9400d3",magenta:"#ff00ff",green:"#008000",dodgerblue:"#1e90ff",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",blueviolet:"#8a2be2",forestgreen:"#228b22",lawngreen:"#7cfc00",indianred:"#cd5c5c",indigo:"#4b0082",fuchsia:"#ff00ff",brown:"#a52a2a",maroon:"#800000",mediumblue:"#0000cd",lightcoral:"#f08080",darkturquoise:"#00ced1",lightcyan:"#e0ffff",ivory:"#fffff0",lightyellow:"#ffffe0",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",linen:"#faf0e6",mediumaquamarine:"#66cdaa",lemonchiffon:"#fffacd",lime:"#00ff00",khaki:"#f0e68c",mediumseagreen:"#3cb371",limegreen:"#32cd32",mediumspringgreen:"#00fa9a",lightskyblue:"#87cefa",lightblue:"#add8e6",midnightblue:"#191970",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",mintcream:"#f5fffa",lightslategray:"#778899",lightslategrey:"#778899",navajowhite:"#ffdead",navy:"#000080",mediumvioletred:"#c71585",powderblue:"#b0e0e6",palegoldenrod:"#eee8aa",oldlace:"#fdf5e6",paleturquoise:"#afeeee",mediumturquoise:"#48d1cc",mediumorchid:"#ba55d3",rebeccapurple:"#663399",lightsteelblue:"#b0c4de",mediumslateblue:"#7b68ee",thistle:"#d8bfd8",tan:"#d2b48c",orchid:"#da70d6",mediumpurple:"#9370db",purple:"#800080",pink:"#ffc0cb",skyblue:"#87ceeb",springgreen:"#00ff7f",palegreen:"#98fb98",red:"#ff0000",yellow:"#ffff00",slateblue:"#6a5acd",lavenderblush:"#fff0f5",peru:"#cd853f",palevioletred:"#db7093",violet:"#ee82ee",teal:"#008080",slategray:"#708090",slategrey:"#708090",aliceblue:"#f0f8ff",darkseagreen:"#8fbc8f",darkolivegreen:"#556b2f",greenyellow:"#adff2f",seagreen:"#2e8b57",seashell:"#fff5ee",tomato:"#ff6347",silver:"#c0c0c0",sienna:"#a0522d",lavender:"#e6e6fa",lightgreen:"#90ee90",orange:"#ffa500",orangered:"#ff4500",steelblue:"#4682b4",royalblue:"#4169e1",turquoise:"#40e0d0",yellowgreen:"#9acd32",salmon:"#fa8072",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",darksalmon:"#e9967a",lightgoldenrodyellow:"#fafad2",snow:"#fffafa",lightgrey:"#d3d3d3",lightgray:"#d3d3d3",dimgray:"#696969",dimgrey:"#696969",olivedrab:"#6b8e23",olive:"#808000"},n={};for(var a in r)n[r[a]]=a;var o={};e.prototype.toName=function(t){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var a,i,l=n[this.toHex()];if(l)return l;if(null==t?void 0:t.closest){var s=this.toRgb(),c=1/0,u="black";if(!o.length)for(var d in r)o[d]=new e(r[d]).toRgb();for(var p in r){var m=(a=s,i=o[p],Math.pow(a.r-i.r,2)+Math.pow(a.g-i.g,2)+Math.pow(a.b-i.b,2));m<c&&(c=m,u=p)}return u}},t.string.push([function(t){var n=t.toLowerCase(),a="transparent"===n?"#0000":r[n];return a?new e(a).toRgb():null},"name"])}],XN.forEach((function(e){jf.indexOf(e)<0&&(e(Ff,Of),jf.push(e))})),dV.InsertPoint=function({value:e,onChange:t,insertPosition:r,setActiveControlPoint:n}){return G().createElement(Ra.button,{onClick:()=>{const a=function(e,t,r){const n=e.findIndex((e=>e.position>t)),a={color:r,position:t},o=e.slice();return o.splice(n-1,0,a),o}(e,r,Hf("#000").toRgbString());t(a),n(r)},style:null!==r?{left:`${r}%`,transform:"translateX( -50% )"}:void 0,h:"14px",w:"14px",position:"absolute",display:"flex",minW:"14px",borderRadius:"50%",p:"2px",color:"#1e1e1e",top:"-3px",zIndex:"2",border:"2px",borderColor:"white",boxShadow:"0 2px 4px rgba(0,0,0,.2)",bgColor:"white"})};const pV=dV,mV=(e,t)=>{switch(t.type){case"MOVE_INSERTER":if("IDLE"===e.id||"MOVING_INSERTER"===e.id)return{id:"MOVING_INSERTER",insertPosition:t.insertPosition};break;case"STOP_INSERTER_MOVE":if("MOVING_INSERTER"===e.id)return{id:"IDLE"};break;case"OPEN_INSERTER":if("MOVING_INSERTER"===e.id)return{id:"INSERTING_CONTROL_POINT",insertPosition:e.insertPosition};break;case"CLOSE_INSERTER":if("INSERTING_CONTROL_POINT"===e.id)return{id:"IDLE"};break;case"START_CONTROL_CHANGE":if("IDLE"===e.id)return{id:"MOVING_CONTROL_POINT"};break;case"STOP_CONTROL_CHANGE":if("MOVING_CONTROL_POINT"===e.id)return{id:"IDLE"}}return e},hV={id:"IDLE"},fV=({background:e,controlPoints:t,onChange:r,activeControlPoint:n,setActiveControlPoint:a})=>{const o=(0,U.useRef)(null),[i,l]=(0,U.useReducer)(mV,hV),s=e=>{if(!o.current)return;const r=cV(e.clientX,o.current);t.some((({position:e})=>Math.abs(r-e)<10))?"MOVING_INSERTER"===i.id&&l({type:"STOP_INSERTER_MOVE"}):l({type:"MOVE_INSERTER",insertPosition:r})},c="MOVING_INSERTER"===i.id,u="INSERTING_CONTROL_POINT"===i.id;return G().createElement(Ra.div,{onMouseEnter:s,onMouseMove:s,onMouseLeave:()=>{"MOVING_INSERTER"===i.id?l({type:"STOP_INSERTER_MOVE"}):"INSERTING_CONTROL_POINT"===i.id&&l({type:"CLOSE_INSERTER"})},position:"relative",zIndex:1,height:"8px",w:"full",borderRadius:"8px"},G().createElement(Ra.div,{bg:e,position:"absolute",inset:"0",borderRadius:"8px"}),G().createElement(Ra.div,{ref:o,position:"relative",w:"calc(100% - 10px)",mx:"auto"},(c||u)&&G().createElement(pV.InsertPoint,{insertPosition:i.insertPosition,value:t,onChange:r,setActiveControlPoint:a}),G().createElement(pV,{gradientPickerDomRef:o,ignoreMarkerPosition:u?i.insertPosition:void 0,value:t,onChange:r,onStartControlPointChange:()=>{l({type:"START_CONTROL_CHANGE"})},onStopControlPointChange:()=>{l({type:"STOP_CONTROL_CHANGE"})},activeControlPoint:n,setActiveControlPoint:a})))},vV=e=>{var t;const[r,n]=G().useState((()=>rV(e?.value).gradientAST)),a=eV({type:"linear-gradient",orientation:qN,colorStops:r.colorStops}),o=r.colorStops.map((e=>({color:aV(e),position:parseInt(e.length.value)}))),[i,l]=G().useState(o[0].position),s=Qv(e.onChange);(0,U.useEffect)((()=>{n(rV(e.value).gradientAST)}),[e.value]);return G().createElement(Za,{w:"254px",gap:"16px"},G().createElement(fV,{background:a,controlPoints:o,onChange:e=>{n(nV(r,e)),s(eV(nV(r,e)))},activeControlPoint:i,setActiveControlPoint:l}),G().createElement(df,{justifyContent:"space-between"},G().createElement(Qa,{w:"125px",sx:{".chakra-select":{h:"28px",minH:"28px",bg:"none",borderRadius:"2px",borderColor:"var(--chakra-colors-gray-400) !important",boxShadow:"none !important"}}},G().createElement(pf,null,(0,K.__)("Type","blockart")),G().createElement(ro,{value:r.type,onChange:e=>{(e=>{"linear-gradient"===e&&n((e=>{const t={...e,orientation:r.orientation?void 0:qN,type:"linear-gradient"};return s(eV(t)),t})),"radial-gradient"===e&&n((e=>{const t={...e,type:"radial-gradient",orientation:void 0};return s(eV(t)),t}))})(e.target.value)}},G().createElement("option",{value:"linear-gradient"},(0,K.__)("Linear","blockart")),G().createElement("option",{value:"radial-gradient"},(0,K.__)("Radial","blockart")))),"linear-gradient"===r.type&&G().createElement(Qa,{w:"50px",sx:{".chakra-numberinput__field":{minH:"28px",h:"28px",borderRadius:"2px",borderRight:"none",borderColor:"var(--chakra-colors-gray-400) !important",fontSize:"13px",boxShadow:"none !important",outline:"none !important",pr:"0"}}},G().createElement(pf,null,(0,K.__)("Angle","blockart")),G().createElement(kL,null,G().createElement(zL,{value:null!==(t=r.orientation?.value)&&void 0!==t?t:180,onChange:(e,t)=>(e=>{n((t=>{const r={...t,orientation:{type:"angular",value:`${e}`}};return s(eV(r)),r}))})(isFinite(t)?t:0)},G().createElement(VL,null)),G().createElement(GL,{p:"0",h:"28px",borderRadius:"2px",bg:"transparent",border:"1px",borderColor:"gray.400",pr:"8px",pl:"3px"},"°")))),o.map((e=>{if(e.position===i)return G().createElement(UN,{showGlobalPalette:!1,key:e.position,value:e.color,onChange:e=>{n(nV(r,sV(o,i,e))),s(eV(nV(r,sV(o,i,e))))}})})))},bV={"left top":"0% 0%","left center":"0% 50%","left bottom":"0% 100%","center top":"50% 0%","center center":"50% 50%","center bottom":"50% 100%","right top":"100% 0%","right center":"100% 50%","right bottom":"100% 100%"},gV=["default","contain","cover","fill"],yV={borderRadius:"2px",border:"1px",borderColor:"gray.400",".chakra-input__right-addon":{backgroundColor:"transparent",border:"none",borderRadius:"none",fontSize:"13px",color:"primary.500"},".chakra-numberinput__field":{border:"none !important",boxShadow:"none !important",fontSize:"13px"}},EV={".chakra-select":{background:"none"}},kV=e=>`${(100*e.x).toFixed(2)}% ${(100*e.y).toFixed(2)}%`,wV=({value:e,unit:t})=>`${e}${t}`,xV=e=>{if(!e)return;const t=e.match(/(\d+(?:\.\d*)?)\s*([a-z%]+)/i);return t?{value:parseFloat(t[1]),unit:t[2]}:void 0},_V=({value:e,openMediaFrame:t,onChange:r})=>{var n;const{device:a,setDevice:o}=ib(),i=(e=>{"default"===e&&(e="center center"),bV[e]&&(e=bV[e]);const t=e.replaceAll("%","").split(" ");return{x:parseFloat(t[0])/100,y:parseFloat(t[1])/100}})(null!==(n=e?.position?.[a])&&void 0!==n?n:"default"),l=(t,n)=>{var o;isFinite(t)&&(t=Math.max(0,Math.min(100,t)),r({position:{...null!==(o=e?.position)&&void 0!==o?o:{},[a]:kV({...i,[n]:t/100})}}))},s=e?.size?.[a]&&!gV.includes(e.size[a]);return G().createElement(Za,{gap:"8px"},G().createElement(Ba,null,G().createElement(Ba,{position:"relative",sx:{".focal-point-picker__controls":{display:"none !important"},".components-base-control__field":{marginBottom:"0"},...EV}},G().createElement(Zv.FocalPointPicker,{url:e?.image?.url,value:i,onChange:t=>{var n;r({position:{...null!==(n=e?.position)&&void 0!==n?n:{},[a]:kV(t)}})}}),G().createElement(cf,{variant:"icon",position:"absolute",bottom:"45px",right:"5px",onClick:()=>r({image:void 0})},"D"),G().createElement(N_,{as:"span",display:"block",py:"2",textAlign:"center",onClick:t,mx:"-4",borderBottom:"1px",borderColor:"gray.200"},(0,K.__)("Change Image","blockart"))),G().createElement(Ua,{gap:"8px",mt:"4"},G().createElement(Qa,null,G().createElement(Ua,{mb:"2"},G().createElement(pf,{m:"0"},(0,K.__)("Right","blockart")),G().createElement(eD,{device:a,setDevice:o})),G().createElement(kL,{sx:yV},G().createElement(zL,{min:0,max:100,step:1,value:(100*i.x).toFixed(0),onChange:(e,t)=>{l(t,"x")}},G().createElement(VL,null)),G().createElement(GL,null,"%"))),G().createElement(Qa,null,G().createElement(Ua,{mb:"2"},G().createElement(pf,{m:"0"},(0,K.__)("Left","blockart")),G().createElement(eD,{device:a,setDevice:o})),G().createElement(kL,{sx:yV},G().createElement(zL,{min:0,max:100,step:1,value:(100*i.y).toFixed(0),onChange:(e,t)=>{l(t,"y")}},G().createElement(VL,null)),G().createElement(GL,null,"%"))))),G().createElement(Qa,null,G().createElement(Ua,{mb:"2"},G().createElement(pf,{m:"0"},(0,K.__)("Size","blockart")),G().createElement(eD,{device:a,setDevice:o})),G().createElement(ro,{value:s?"custom":e?.size?.[a],onChange:t=>{var n;r({size:{...null!==(n=e?.size)&&void 0!==n?n:{},[a]:t.target.value}})}},G().createElement("option",{value:"default"},(0,K.__)("Default","blockart")),G().createElement("option",{value:"contain"},(0,K.__)("Contain","blockart")),G().createElement("option",{value:"cover"},(0,K.__)("Cover","blockart")),G().createElement("option",{value:"fill"},(0,K.__)("Auto","blockart")),G().createElement("option",{value:"custom"},(0,K.__)("Custom","blockart"))),s&&G().createElement(MD,{hiddenLabel:!0,value:xV(e?.size?.[a]),onChange:t=>{var n;r({size:{...null!==(n=e?.size)&&void 0!==n?n:{},[a]:wV(t)}})},units:["%","px","em","rem"],defaultUnit:"%",label:(0,K.__)("Custom Size","blockart")})),G().createElement(Qa,null,G().createElement(Ua,{mb:"2"},G().createElement(pf,{m:"0"},(0,K.__)("Repeat","blockart")),G().createElement(eD,{device:a,setDevice:o})),G().createElement(ro,{value:e?.repeat?.[a],onChange:t=>{var n;r({repeat:{...null!==(n=e?.repeat)&&void 0!==n?n:{},[a]:t.target.value}})}},G().createElement("option",{value:"default"},(0,K.__)("Default","blockart")),G().createElement("option",{value:"no-repeat"},(0,K.__)("No Repeat","blockart")),G().createElement("option",{value:"repeat"},(0,K.__)("Repeat","blockart")),G().createElement("option",{value:"repeat-y"},(0,K.__)("Repeat Vertically","blockart")),G().createElement("option",{value:"repeat-x"},(0,K.__)("Repeat Horizontally","blockart")))),G().createElement(Qa,null,G().createElement(pf,{mb:"2"},(0,K.__)("Attachment","blockart")),G().createElement(ro,{value:e?.attachment,onChange:e=>{r({attachment:e.target.value})}},G().createElement("option",{value:"default"},(0,K.__)("Default","blockart")),G().createElement("option",{value:"scroll"},(0,K.__)("Scroll","blockart")),G().createElement("option",{value:"fixed"},(0,K.__)("Fixed","blockart")))))},PV=({openMediaFrame:e})=>G().createElement(Ba,{onClick:e,mx:"-4"},G().createElement(Ba,{minH:"152px",bg:"gray.100"}),G().createElement(N_,{as:"span",textAlign:"center",py:"2",display:"block",borderBottom:"1px",borderColor:"gray.200"},(0,K.__)("Choose Image","blockart"))),CV=({value:e,...t})=>{const[r,n]=G().useState(e),a=Qv(t.onChange);(0,U.useEffect)((()=>{n(e)}),[e]);const o=e=>{n((t=>{const r={...t,...e};return a(r),r}))};return G().createElement(Ba,null,G().createElement(q.MediaUpload,{onSelect:e=>{if(!e?.url)return;const{url:t,id:r,height:n,width:a}=e;o({image:{url:t,id:r,height:n,width:a}})},allowedTypes:["image"],value:r?.image?.id,render:({open:e})=>G().createElement(Ba,{w:"254px"},r?.image?.url?G().createElement(_V,{value:r,openMediaFrame:e,onChange:o}):G().createElement(PV,{openMediaFrame:e}))}))},AV=["color","gradient","image"],SV={borderBottom:"0",p:"0",outline:"none",w:"22px",h:"22px",border:"1px",borderColor:"transparent",borderRadius:"base",_active:{border:"1px",borderColor:"primary.500"},svg:{h:"20px",w:"20px"}},RV=({value:e,onChange:t,types:r=AV})=>{var n;const[a,o]=function(e){const{value:t,defaultValue:r,onChange:n,shouldUpdate:a=((e,t)=>e!==t)}=e,o=ne(n),i=ne(a),[l,s]=(0,U.useState)(r),c=void 0!==t,u=c?t:l,d=(0,U.useCallback)((e=>{const t=ae(e,u);i(u,t)&&(c||s(t),o(t))}),[c,o,u,i]);return[u,d]}({value:AV.indexOf(null!==(n=e?.type)&&void 0!==n?n:"color"),onChange(r){t({...null!=e?e:{},type:AV[r]})}});return G().createElement(Oa,{index:a,onChange:o,size:"sm"},G().createElement(La,{borderBottom:"0",gap:"8px",mb:"4"},r.includes("color")&&G().createElement(Da,SV,G().createElement("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},G().createElement("rect",{x:"0.5",y:"0.5",width:"19",height:"19",rx:"3.5",fill:"#DBDBDB",stroke:"#F4F4F4"}))),r.includes("gradient")&&G().createElement(Da,SV,G().createElement(Ba,{p:"4px"},G().createElement(Ba,{width:"18px",height:"18px",borderRadius:"2px",bg:"linear-gradient(180deg, #222 0%, #CDCDCD 100%)"}))),r.includes("image")&&G().createElement(Da,SV,G().createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},G().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 4C5.46957 4 4.96086 4.21071 4.58579 4.58579C4.21071 4.96086 4 5.46957 4 6V13.5858L7.29289 10.2929L7.30661 10.2794C7.92076 9.68845 8.67726 9.33025 9.5 9.33025C10.3227 9.33025 11.0792 9.68845 11.6934 10.2794L11.7071 10.2929L14 12.5858L14.2929 12.2929L14.3066 12.2794C14.9208 11.6884 15.6773 11.3302 16.5 11.3302C17.3227 11.3302 18.0792 11.6884 18.6934 12.2794L18.7071 12.2929L20 13.5858V6C20 5.46957 19.7893 4.96086 19.4142 4.58579C19.0391 4.21071 18.5304 4 18 4H6ZM22 15.999V6C22 4.93913 21.5786 3.92172 20.8284 3.17157C20.0783 2.42143 19.0609 2 18 2H6C4.93913 2 3.92172 2.42143 3.17157 3.17157C2.42143 3.92172 2 4.93913 2 6V15.9998C2 15.9997 2 15.9999 2 15.9998V18C2 19.0609 2.42143 20.0783 3.17157 20.8284C3.92172 21.5786 4.93913 22 6 22H18C19.0609 22 20.0783 21.5786 20.8284 20.8284C21.5786 20.0783 22 19.0609 22 18V16.001C22 16.0003 22 15.9997 22 15.999ZM20 16.4142L17.3003 13.7146C16.989 13.4174 16.7118 13.3302 16.5 13.3302C16.2882 13.3302 16.011 13.4174 15.6997 13.7146L15.4142 14L16.7071 15.2929C17.0976 15.6834 17.0976 16.3166 16.7071 16.7071C16.3166 17.0976 15.6834 17.0976 15.2929 16.7071L10.3003 11.7146C9.98904 11.4174 9.71184 11.3302 9.5 11.3302C9.28816 11.3302 9.01096 11.4174 8.69965 11.7146L4 16.4142V18C4 18.5304 4.21071 19.0391 4.58579 19.4142C4.96086 19.7893 5.46957 20 6 20H18C18.5304 20 19.0391 19.7893 19.4142 19.4142C19.7893 19.0391 20 18.5304 20 18V16.4142ZM14 8C14 7.44772 14.4477 7 15 7H15.01C15.5623 7 16.01 7.44772 16.01 8C16.01 8.55228 15.5623 9 15.01 9H15C14.4477 9 14 8.55228 14 8Z",fill:"#383838"})))),G().createElement(Va,null,r.includes("color")&&G().createElement(Fa,{p:"0"},G().createElement(UN,{onChange:r=>{t({...null!=e?e:{},color:r})},value:e?.color})),r.includes("gradient")&&G().createElement(Fa,{p:"0"},G().createElement(vV,{onChange:r=>{t({...null!=e?e:{},gradient:r})},value:e?.gradient})),r.includes("image")&&G().createElement(Fa,{p:"0"},G().createElement(CV,{onChange:r=>{t({...null!=e?e:{},image:r})},value:e?.image}))))},MV={none:hT,solid:cT,double:pT,dashed:dT,dotted:uT,groove:mT},TV=[{label:(0,K.__)("None","blockart"),value:"none"},{label:(0,K.__)("Solid","blockart"),value:"solid"},{label:(0,K.__)("Double","blockart"),value:"double"},{label:(0,K.__)("Dashed","blockart"),value:"dashed"},{label:(0,K.__)("Dotted","blockart"),value:"dotted"},{label:(0,K.__)("Groove","blockart"),value:"groove"}],IV="none",OV=({onChange:e,value:t,resetAttributeKey:r})=>{var n;const a=null!==(n=t?.type)&&void 0!==n?n:IV,o=MV[a],i=r=>{e?.({...null!=t?t:{},...r})};return G().createElement(Ba,{mb:"4"},G().createElement(Ua,{p:"8px 0",justify:"space-between"},G().createElement(pf,null,(0,K.__)("Type","blockart")),G().createElement(fD,{gutter:0,matchWidth:!0},G().createElement(bD,{bg:"gray.100",px:"6",py:"1",color:"gray.600",_active:{bgColor:"primary.500",color:"white"}},G().createElement(o,{w:"10"})),G().createElement(cl,null,G().createElement(ED,{borderRadius:"none",borderBottomLeftRadius:"sm",borderBottomRightRadius:"sm",w:"88px",minW:"88px",p:"0"},TV.filter((e=>{var r;return e.value!==(null!==(r=t?.type)&&void 0!==r?r:IV)})).map((e=>{const t=MV[e.value];return G().createElement(_D,{px:"6",py:"3",key:e.value,onClick:()=>i({type:e.value}),color:"gray.600",_hover:{bgColor:"primary.500",color:"white"}},G().createElement(t,{w:"10"}))})))))),t?.type&&"none"!==t.type&&G().createElement(Ba,{mb:"2",mt:"2"},G().createElement(BV,{label:(0,K.__)("Color","blockart"),popoverDivProps:{pt:"4"},closeOnFocusOutside:!0,trigger:n=>{const a=()=>G().createElement(BV.Trigger,n,G().createElement(fS,{items:[{color:t?.color,id:"color"}]}));return r?G().createElement(Ua,null,G().createElement(bO,{resetKey:r,saved:t?.color,onReset:r=>{e?.({...null!=t?t:{},color:r})}}),G().createElement(a,null)):G().createElement(a,null)}},G().createElement(UN,{onChange:e=>i({color:e}),value:t?.color})),G().createElement(Ba,{mt:"2"},G().createElement($V,{label:(0,K.__)("Size","blockart"),responsive:!0,units:["px","rem","em"],defaultUnit:"px",min:0,onChange:e=>i({size:e}),resetAttributeKey:r?`${r}.size`:void 0,value:t?.size}))),G().createElement($V,{label:(0,K.__)("Radius","blockart"),value:t?.radius,responsive:!0,units:["px","em","%"],defaultUnit:"px",min:0,onChange:e=>i({radius:e}),resetAttributeKey:r?`${r}.radius`:void 0}))},LV=G().createContext({isChildren:!1}),DV=e=>{const{onToggle:t,isOpen:r,children:n}=e,a=G().Children.map(n,(t=>G().isValidElement(t)?G().cloneElement(t,e):t));return G().createElement(cf,{onClick:t,variant:"icon"},n?a:G().createElement(Ba,{w:"6",h:"6",display:"flex",justifyContent:"center",alignItems:"center",bgColor:"gray.100",borderRadius:"sm",sx:{svg:{fill:"#909090",w:"5",h:"5"}},border:r?"1px":void 0,borderColor:"primary.500"},G().createElement(vT,null)))},BV=e=>{var t;const r=`popover-drawer-${U_()}`,n=G().useContext(LV),[a,o]=nb("PopoverDrawers",{}),i=G_({id:r,onClose(){o({...a,[r]:!1})},onOpen(){o(n?.isChildren?{...a,[r]:!0}:{...Object.keys(null!=a?a:{}).reduce(((e,t)=>(e[t]=!1,e)),{}),[r]:!0})},isOpen:null!==(t=a?.[r])&&void 0!==t&&t}),{isOpen:l,onClose:s}=i;return G().createElement(G().Fragment,null,G().createElement(Qa,{display:"flex",alignItems:"center",justifyContent:"space-between",onClick:e=>e.stopPropagation(),className:e.className},G().createElement(pf,{onClick:e=>e.stopPropagation()},"string"==typeof e.label?e.label:e.label({})),e.trigger?e.trigger(i):G().createElement(DV,i)),l&&G().createElement(Ba,(0,Ut.A)({className:"blockart-popover-drawer",variant:"unstyled",animate:!1,placement:"left-start",as:Zv.Popover,focusOnMount:!0,onFocusOutside:!!e.closeOnFocusOutside&&s},e.popoverProps,e.popoverDivProps),G().createElement(LV.Provider,{value:{isChildren:!0}},e.children)))};BV.Trigger=DV;const zV=BV,NV={indicatorSeparator:()=>({display:"none"}),indicatorsContainer:e=>({...e,maxHeight:"28px"}),menuPortal:e=>({...e,zIndex:99999999999}),control:e=>({...e,border:"1px solid #e2e8f0"}),valueContainer:e=>({...e,padding:"0 6px"}),input:e=>({...e,margin:0,padding:0}),menuList:e=>({...e,maxHeight:"200px"})},VV=({label:e,responsive:t,options:r,isMulti:n,hasSearch:a,placeholder:o,value:i,onChange:l})=>{const{device:s}=ib(),c=n&&t?r.filter((e=>i?.[s]?.includes(e.value))):n&&!t?r.filter((e=>i?.includes(e.value))):!n&&t?r.find((e=>e.value===i?.[s])):r.find((e=>e.value===i));return G().createElement(Qa,null,G().createElement(Ua,{mb:"2"},G().createElement(pf,null,e),t&&G().createElement(eD,null)),n||a?G().createElement(GM,{isSearchable:a,isMulti:n,styles:NV,theme:e=>({...e,borderRadius:2,colors:{...e.colors,primary:"var(--chakra-colors-primary-500)"},spacing:{controlHeight:30,baseUnit:3,menuGutter:3},minWidth:"100%"}),options:r,menuPortalTarget:document.body,placeholder:o,controlShouldRenderValue:!0,components:{DropdownIndicator:e=>G().createElement(qR.DropdownIndicator,e,G().createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",fill:"#000",width:"18",height:"18",className:"components-panel__arrow","aria-hidden":"true",focusable:"false"},G().createElement("path",{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"}))),LoadingIndicator:()=>G().createElement(lf,null)},value:c,onChange:e=>{let r;r=t&&n?Sv(null!=i?i:{},s,e.map((e=>e.value))):t&&!n?Sv(null!=i?i:{},s,e.value):!t&&n?e.map((e=>e.value)):e,l(r)}}):G().createElement(ro,{minHeight:"100%",value:t?i?.[s]:i,onChange:e=>{const r=e.target.value;l(t?Sv(null!=i?i:{},s,r):r)},placeholder:o},r.map((e=>G().createElement("option",{key:e.value,value:e.value},e.label)))))},FV=({value:e,onChange:t,resetAttributeKey:r})=>{var n;const a=r=>{t({...null!=e?e:{},...r})};return G().createElement(zV,{label:(0,K.__)("Box Shadow","blockart"),className:"blockart-box-shadow-popover",trigger:t=>G().createElement(Ua,{minH:"24px"},e?.enable&&G().createElement(zV.Trigger,t),G().createElement(B_,{isChecked:!!e?.enable,onChange:e=>a({enable:e.target.checked})})),closeOnFocusOutside:!0,popoverProps:{offset:16}},G().createElement(Ba,{minW:"280px"},G().createElement(Ua,{justify:"space-between",borderBottom:"1px",borderColor:"gray.200",px:"4",mx:"-16px"},G().createElement(N_,null,(0,K.__)("Box Shadow","blockart")),r&&G().createElement(bO,{saved:e,resetKey:r,onReset:e=>{t({...null!=e?e:{},enable:!0})}})),G().createElement(Ba,{mt:"4",sx:{">div:not(:last-child)":{mb:"2"}}},G().createElement(zV,{label:(0,K.__)("Color","blockart"),closeOnFocusOutside:!0,trigger:t=>G().createElement(zV.Trigger,t,G().createElement(fS,{items:[{id:"color",color:e?.color}]})),popoverDivProps:{sx:{".components-popover__content":{p:3}}}},G().createElement(UN,{value:e?.color,onChange:e=>a({color:e})})),G().createElement(MD,{min:-100,max:100,label:(0,K.__)("Horizontal-X","blockart"),onChange:e=>a({horizontalX:e}),value:e?.horizontalX,resetAttributeKey:r?`${r}.horizontalX`:void 0}),G().createElement(MD,{min:-100,max:100,label:(0,K.__)("Vertical-Y","blockart"),onChange:e=>a({verticalY:e}),value:e?.verticalY,resetAttributeKey:r?`${r}.verticalY`:void 0}),G().createElement(MD,{min:0,max:100,label:(0,K.__)("Blur","blockart"),onChange:e=>a({blur:e}),value:e?.blur,resetAttributeKey:r?`${r}.blur`:void 0}),G().createElement(MD,{min:-100,max:100,label:(0,K.__)("Spread","blockart"),onChange:e=>a({spread:e}),value:e?.spread,resetAttributeKey:r?`${r}.spread`:void 0}),G().createElement(VV,{options:[{label:(0,K.__)("Outset","blockart"),value:"outset"},{label:(0,K.__)("Inset","blockart"),value:"inset"}],value:null!==(n=e?.position)&&void 0!==n?n:"outset",onChange:e=>a({position:e}),label:(0,K.__)("Position","blockart")}))))},HV=["top","right","bottom","left"],jV={top:{borderTopColor:"primary.500"},bottom:{borderBottomColor:"primary.500"},right:{borderRightColor:"primary.500"},left:{borderLeftColor:"primary.500"}},WV={top:{borderRight:"0",borderBottom:"0",left:0,top:0,borderBottomLeftRadius:0,borderTopRightRadius:0},right:{right:"0",top:0,borderLeft:0,borderBottom:0,borderBottomRightRadius:0,borderTopLeftRadius:0},bottom:{right:0,bottom:0,borderLeft:0,borderTop:0,borderTopRightRadius:0,borderBottomLeftRadius:0},left:{left:0,bottom:0,borderRight:0,borderTop:0,borderTopLeftRadius:0,borderBottomRightRadius:0}},$V=e=>{var t;const{value:r,onChange:n,label:a,units:o=["px","rem","em"],min:i=-1/0,max:l=1/0,step:s=.01,defaultUnit:c="px",type:u="",responsive:d,resetAttributeKey:p,isRadius:m}=e,h=U_(),{device:f,setDevice:v}=ib(),b=null!==(t=d?r?.[f]?.unit:r?.unit)&&void 0!==t?t:c,g=d?r?.[f]:r,y=["%","vh","vw"].includes(b)?{min:"margin"===u?-100:0,max:100,step:s}:["em","rem"].includes(b)?{min:"margin"===u?-20:0,max:20,step:s}:"px"===b?{min:"margin"===u?-l:0,max:l,step:1}:{min:i,max:l,step:s},E=Math.max(...Object.values(((e,t)=>{const r=Tv(e);return["unit","lock"].forEach((e=>{delete r[e]})),r})(null!=g?g:{})).filter((e=>"number"==typeof e&&isFinite(e)))),k=(e,t)=>{const a=r?Tv(r):{};if("all"===e)for(const e of HV)Sv(a,d?[f,e]:e,t);else Sv(a,d?[f,e]:e,t);Rv(a,d?[f,"unit"]:"unit")||Sv(a,d?[f,"unit"]:"unit",b),n(a)};return G().createElement(Qa,null,G().createElement(Ua,{justify:"space-between",mb:1},G().createElement(Ua,null,G().createElement(pf,null,a),d&&G().createElement(eD,{device:f,setDevice:v})),p&&G().createElement(bO,{resetKey:p,saved:r,onReset:e=>{n(e)}})),G().createElement(Ua,null,g?.lock?G().createElement(zL,(0,Ut.A)({},y,{onChange:(e,t)=>k("all",isFinite(t)?t:void 0),value:isFinite(E)?E:void 0}),G().createElement(VL,{borderColor:"var(--chakra-colors-gray-200) !important",_focus:{boxShadow:"none !important"},fontSize:"xs"})):G().createElement(Ua,null,HV.map((e=>{var t;return G().createElement(zL,(0,Ut.A)({key:`${h}${e}`},y,{border:"1px",borderColor:"gray.200",p:"2px",borderRadius:"base",position:"relative",value:null!==(t=g?.[e])&&void 0!==t?t:void 0,onChange:(t,r)=>k(e,isFinite(r)?r:void 0),sx:m?void 0:{...jV[e]}}),G().createElement(VL,{border:"none !important",_focus:{boxShadow:"none !important"},zIndex:"1",minHeight:"35px",height:"35px",p:"0 !important",textAlign:"center",fontSize:"xs"}),m&&G().createElement(Ba,{w:"50%",h:"50%",position:"absolute",borderRadius:"base",border:"1px",borderColor:"primary.500",sx:{...WV[e]}}))}))),G().createElement(Ua,{py:"6px",px:"4px",border:"1px",borderColor:"gray.200",borderRadius:"base",gap:"0"},G().createElement(QL,{isActive:g?.lock,onClick:()=>(()=>{const e=r?Tv(r):{};if(!g?.lock&&isFinite(E))for(const t of HV)Sv(e,d?[f,t]:t,E);Sv(e,d?[f,"lock"]:"lock",!g?.lock),n(e)})(),"aria-label":(0,K.__)("Lock / Unlock","blockart"),bgColor:"transparent",_hover:{bgColor:"transparent"},h:"28px",w:"33px",_active:{bgColor:"transparent"},icon:g?.lock?G().createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},G().createElement("path",{d:"M15.8333 9.16675H4.16667C3.24619 9.16675 2.5 9.91294 2.5 10.8334V16.6667C2.5 17.5872 3.24619 18.3334 4.16667 18.3334H15.8333C16.7538 18.3334 17.5 17.5872 17.5 16.6667V10.8334C17.5 9.91294 16.7538 9.16675 15.8333 9.16675Z",stroke:"#1D4ED8",strokeLinecap:"round",strokeLinejoin:"round"}),G().createElement("path",{d:"M5.83203 9.16675V5.83341C5.83203 4.72835 6.27102 3.66854 7.05242 2.88714C7.83382 2.10573 8.89363 1.66675 9.9987 1.66675C11.1038 1.66675 12.1636 2.10573 12.945 2.88714C13.7264 3.66854 14.1654 4.72835 14.1654 5.83341V9.16675",stroke:"#1D4ED8",strokeLinecap:"round",strokeLinejoin:"round"})):G().createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},G().createElement("path",{d:"M15.8333 9.16675H4.16667C3.24619 9.16675 2.5 9.91294 2.5 10.8334V16.6667C2.5 17.5872 3.24619 18.3334 4.16667 18.3334H15.8333C16.7538 18.3334 17.5 17.5872 17.5 16.6667V10.8334C17.5 9.91294 16.7538 9.16675 15.8333 9.16675Z",stroke:"#374151",strokeLinecap:"round",strokeLinejoin:"round"}),G().createElement("path",{d:"M5.83203 9.16675V5.83341C5.83203 4.72835 6.27102 3.66854 7.05242 2.88714C7.83382 2.10573 8.89363 1.66675 9.9987 1.66675C11.1038 1.66675 12.1636 2.10573 12.945 2.88714C13.7264 3.66854 14.1654 4.72835 14.1654 5.83341",stroke:"#374151",strokeLinecap:"round",strokeLinejoin:"round"}))}),G().createElement(PD,{units:o,currentUnit:b,onChange:e=>k("unit",e)}))))};var ZV={exit:{height:{duration:.2,ease:J_.ease},opacity:{duration:.3,ease:J_.ease}},enter:{height:{duration:.3,ease:J_.ease},opacity:{duration:.4,ease:J_.ease}}},UV={exit:({animateOpacity:e,startingHeight:t,transition:r,transitionEnd:n,delay:a})=>{var o,i;return{...e&&{opacity:(i=t,null!=i&&parseInt(i.toString(),10)>0?1:0)},height:t,transitionEnd:null==n?void 0:n.exit,transition:null!=(o=null==r?void 0:r.exit)?o:rP(ZV.exit,a)}},enter:({animateOpacity:e,endingHeight:t,transition:r,transitionEnd:n,delay:a})=>{var o;return{...e&&{opacity:1},height:t,transitionEnd:null==n?void 0:n.enter,transition:null!=(o=null==r?void 0:r.enter)?o:tP(ZV.enter,a)}}},GV=(0,U.forwardRef)(((e,t)=>{const{in:r,unmountOnExit:n,animateOpacity:a=!0,startingHeight:o=0,endingHeight:i="auto",style:l,className:s,transition:c,transitionEnd:u,...d}=e,[p,m]=(0,U.useState)(!1);(0,U.useEffect)((()=>{const e=setTimeout((()=>{m(!0)}));return()=>clearTimeout(e)}),[]),se({condition:Number(o)>0&&!!n,message:"startingHeight and unmountOnExit are mutually exclusive. You can't use them together"});const h=parseFloat(o.toString())>0,f={startingHeight:o,endingHeight:i,animateOpacity:a,transition:p?c:{enter:{duration:0}},transitionEnd:{enter:null==u?void 0:u.enter,exit:n?null==u?void 0:u.exit:{...null==u?void 0:u.exit,display:h?"block":"none"}}},v=!n||r,b=r||n?"enter":"exit";return(0,Ma.jsx)(Kh,{initial:!1,custom:f,children:v&&(0,Ma.jsx)($h.div,{ref:t,...d,className:ie("chakra-collapse",s),style:{overflow:"hidden",display:"block",...l},custom:f,variants:UV,initial:!!n&&"exit",animate:b,exit:"exit"})})}));GV.displayName="Collapse";var qV=Ra("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",top:"0",zIndex:2}}),KV=$e((function(e,t){var r,n;const{placement:a="left",...o}=e,i=EL(),l=i.field,s="left"===a?"insetStart":"insetEnd",c={[s]:"0",width:null!=(r=null==l?void 0:l.height)?r:null==l?void 0:l.h,height:null!=(n=null==l?void 0:l.height)?n:null==l?void 0:l.h,fontSize:null==l?void 0:l.fontSize,...i.element};return(0,Ma.jsx)(qV,{ref:t,__css:c,...o})}));KV.id="InputElement",KV.displayName="InputElement";var YV=$e((function(e,t){const{className:r,...n}=e,a=ie("chakra-input__left-element",r);return(0,Ma.jsx)(KV,{ref:t,placement:"left",className:a,...n})}));YV.id="InputLeftElement",YV.displayName="InputLeftElement";var XV=$e((function(e,t){const{className:r,...n}=e,a=ie("chakra-input__right-element",r);return(0,Ma.jsx)(KV,{ref:t,placement:"right",className:a,...n})}));XV.id="InputRightElement",XV.displayName="InputRightElement";var QV,JV,eF,tF=r(2736),rF=function(e,t){return rF=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},rF(e,t)},nF=function(){return nF=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},nF.apply(this,arguments)};!function(e){e.AUTO="auto",e.START="start",e.CENTER="center",e.END="end"}(QV||(QV={})),function(e){e.HORIZONTAL="horizontal",e.VERTICAL="vertical"}(JV||(JV={})),function(e){e.OBSERVED="observed",e.REQUESTED="requested"}(eF||(eF={}));var aF,oF,iF,lF,sF,cF=((aF={})[JV.VERTICAL]="scrollTop",aF[JV.HORIZONTAL]="scrollLeft",aF),uF=((oF={})[JV.VERTICAL]="height",oF[JV.HORIZONTAL]="width",oF),dF=((iF={})[JV.VERTICAL]="top",iF[JV.HORIZONTAL]="left",iF),pF=((lF={})[JV.VERTICAL]="marginTop",lF[JV.HORIZONTAL]="marginLeft",lF),mF=((sF={})[JV.VERTICAL]="marginBottom",sF[JV.HORIZONTAL]="marginRight",sF),hF=function(){function e(e){var t=e.itemCount,r=e.itemSizeGetter,n=e.estimatedItemSize;this.itemSizeGetter=r,this.itemCount=t,this.estimatedItemSize=n,this.itemSizeAndPositionData={},this.lastMeasuredIndex=-1}return e.prototype.updateConfig=function(e){var t=e.itemCount,r=e.itemSizeGetter,n=e.estimatedItemSize;null!=t&&(this.itemCount=t),null!=n&&(this.estimatedItemSize=n),null!=r&&(this.itemSizeGetter=r)},e.prototype.getLastMeasuredIndex=function(){return this.lastMeasuredIndex},e.prototype.getSizeAndPositionForIndex=function(e){if(e<0||e>=this.itemCount)throw Error("Requested index "+e+" is outside of range 0.."+this.itemCount);if(e>this.lastMeasuredIndex){for(var t=this.getSizeAndPositionOfLastMeasuredItem(),r=t.offset+t.size,n=this.lastMeasuredIndex+1;n<=e;n++){var a=this.itemSizeGetter(n);if(null==a||isNaN(a))throw Error("Invalid size returned for index "+n+" of value "+a);this.itemSizeAndPositionData[n]={offset:r,size:a},r+=a}this.lastMeasuredIndex=e}return this.itemSizeAndPositionData[e]},e.prototype.getSizeAndPositionOfLastMeasuredItem=function(){return this.lastMeasuredIndex>=0?this.itemSizeAndPositionData[this.lastMeasuredIndex]:{offset:0,size:0}},e.prototype.getTotalSize=function(){var e=this.getSizeAndPositionOfLastMeasuredItem();return e.offset+e.size+(this.itemCount-this.lastMeasuredIndex-1)*this.estimatedItemSize},e.prototype.getUpdatedOffsetForIndex=function(e){var t=e.align,r=void 0===t?QV.START:t,n=e.containerSize,a=e.currentOffset,o=e.targetIndex;if(n<=0)return 0;var i,l=this.getSizeAndPositionForIndex(o),s=l.offset,c=s-n+l.size;switch(r){case QV.END:i=c;break;case QV.CENTER:i=s-(n-l.size)/2;break;case QV.START:i=s;break;default:i=Math.max(c,Math.min(s,a))}var u=this.getTotalSize();return Math.max(0,Math.min(u-n,i))},e.prototype.getVisibleRange=function(e){var t=e.containerSize,r=e.offset,n=e.overscanCount;if(0===this.getTotalSize())return{};var a=r+t,o=this.findNearestItem(r);if(void 0===o)throw Error("Invalid offset "+r+" specified");var i=this.getSizeAndPositionForIndex(o);r=i.offset+i.size;for(var l=o;r<a&&l<this.itemCount-1;)l++,r+=this.getSizeAndPositionForIndex(l).size;return n&&(o=Math.max(0,o-n),l=Math.min(l+n,this.itemCount-1)),{start:o,stop:l}},e.prototype.resetItem=function(e){this.lastMeasuredIndex=Math.min(this.lastMeasuredIndex,e-1)},e.prototype.findNearestItem=function(e){if(isNaN(e))throw Error("Invalid offset "+e+" specified");e=Math.max(0,e);var t=this.getSizeAndPositionOfLastMeasuredItem(),r=Math.max(0,this.lastMeasuredIndex);return t.offset>=e?this.binarySearch({high:r,low:0,offset:e}):this.exponentialSearch({index:r,offset:e})},e.prototype.binarySearch=function(e){for(var t=e.low,r=e.high,n=e.offset,a=0,o=0;t<=r;){if(a=t+Math.floor((r-t)/2),(o=this.getSizeAndPositionForIndex(a).offset)===n)return a;o<n?t=a+1:o>n&&(r=a-1)}return t>0?t-1:0},e.prototype.exponentialSearch=function(e){for(var t=e.index,r=e.offset,n=1;t<this.itemCount&&this.getSizeAndPositionForIndex(t).offset<r;)t+=n,n*=2;return this.binarySearch({high:Math.min(t,this.itemCount-1),low:Math.floor(t/2),offset:r})},e}(),fF={overflow:"auto",willChange:"transform",WebkitOverflowScrolling:"touch"},vF={position:"relative",width:"100%",minHeight:"100%"},bF={position:"absolute",top:0,left:0,width:"100%"},gF=nF({},bF,{position:"sticky"}),yF=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.itemSizeGetter=function(e){return function(r){return t.getSize(r,e)}},t.sizeAndPositionManager=new hF({itemCount:t.props.itemCount,itemSizeGetter:t.itemSizeGetter(t.props.itemSize),estimatedItemSize:t.getEstimatedItemSize()}),t.state={offset:t.props.scrollOffset||null!=t.props.scrollToIndex&&t.getOffsetForIndex(t.props.scrollToIndex)||0,scrollChangeReason:eF.REQUESTED},t.styleCache={},t.getRef=function(e){t.rootNode=e},t.handleScroll=function(e){var r=t.props.onScroll,n=t.getNodeOffset();n<0||t.state.offset===n||e.target!==t.rootNode||(t.setState({offset:n,scrollChangeReason:eF.OBSERVED}),"function"==typeof r&&r(n,e))},t}return function(e,t){function r(){this.constructor=e}rF(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}(t,e),t.prototype.componentDidMount=function(){var e=this.props,t=e.scrollOffset,r=e.scrollToIndex;this.rootNode.addEventListener("scroll",this.handleScroll,{passive:!0}),null!=t?this.scrollTo(t):null!=r&&this.scrollTo(this.getOffsetForIndex(r))},t.prototype.componentWillReceiveProps=function(e){var t=this.props,r=t.estimatedItemSize,n=t.itemCount,a=t.itemSize,o=t.scrollOffset,i=t.scrollToAlignment,l=t.scrollToIndex,s=e.scrollToIndex!==l||e.scrollToAlignment!==i,c=e.itemCount!==n||e.itemSize!==a||e.estimatedItemSize!==r;e.itemSize!==a&&this.sizeAndPositionManager.updateConfig({itemSizeGetter:this.itemSizeGetter(e.itemSize)}),e.itemCount===n&&e.estimatedItemSize===r||this.sizeAndPositionManager.updateConfig({itemCount:e.itemCount,estimatedItemSize:this.getEstimatedItemSize(e)}),c&&this.recomputeSizes(),e.scrollOffset!==o?this.setState({offset:e.scrollOffset||0,scrollChangeReason:eF.REQUESTED}):"number"==typeof e.scrollToIndex&&(s||c)&&this.setState({offset:this.getOffsetForIndex(e.scrollToIndex,e.scrollToAlignment,e.itemCount),scrollChangeReason:eF.REQUESTED})},t.prototype.componentDidUpdate=function(e,t){var r=this.state,n=r.offset,a=r.scrollChangeReason;t.offset!==n&&a===eF.REQUESTED&&this.scrollTo(n)},t.prototype.componentWillUnmount=function(){this.rootNode.removeEventListener("scroll",this.handleScroll)},t.prototype.scrollTo=function(e){var t=this.props.scrollDirection,r=void 0===t?JV.VERTICAL:t;this.rootNode[cF[r]]=e},t.prototype.getOffsetForIndex=function(e,t,r){void 0===t&&(t=this.props.scrollToAlignment),void 0===r&&(r=this.props.itemCount);var n=this.props.scrollDirection,a=void 0===n?JV.VERTICAL:n;return(e<0||e>=r)&&(e=0),this.sizeAndPositionManager.getUpdatedOffsetForIndex({align:t,containerSize:this.props[uF[a]],currentOffset:this.state&&this.state.offset||0,targetIndex:e})},t.prototype.recomputeSizes=function(e){void 0===e&&(e=0),this.styleCache={},this.sizeAndPositionManager.resetItem(e)},t.prototype.render=function(){var e,t=this,r=this.props,n=(r.estimatedItemSize,r.height),a=r.overscanCount,o=void 0===a?3:a,i=r.renderItem,l=(r.itemCount,r.itemSize,r.onItemsRendered),s=(r.onScroll,r.scrollDirection),c=void 0===s?JV.VERTICAL:s,u=(r.scrollOffset,r.scrollToIndex,r.scrollToAlignment,r.stickyIndices),d=r.style,p=r.width,m=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&(r[n[a]]=e[n[a]])}return r}(r,["estimatedItemSize","height","overscanCount","renderItem","itemCount","itemSize","onItemsRendered","onScroll","scrollDirection","scrollOffset","scrollToIndex","scrollToAlignment","stickyIndices","style","width"]),h=this.state.offset,f=this.sizeAndPositionManager.getVisibleRange({containerSize:this.props[uF[c]]||0,offset:h,overscanCount:o}),v=f.start,b=f.stop,g=[],y=nF({},fF,d,{height:n,width:p}),E=nF({},vF,((e={})[uF[c]]=this.sizeAndPositionManager.getTotalSize(),e));if(null!=u&&0!==u.length&&(u.forEach((function(e){return g.push(i({index:e,style:t.getStyle(e,!0)}))})),c===JV.HORIZONTAL&&(E.display="flex")),void 0!==v&&void 0!==b){for(var k=v;k<=b;k++)null!=u&&u.includes(k)||g.push(i({index:k,style:this.getStyle(k,!1)}));"function"==typeof l&&l({startIndex:v,stopIndex:b})}return(0,U.createElement)("div",nF({ref:this.getRef},m,{style:y}),(0,U.createElement)("div",{style:E},g))},t.prototype.getNodeOffset=function(){var e=this.props.scrollDirection,t=void 0===e?JV.VERTICAL:e;return this.rootNode[cF[t]]},t.prototype.getEstimatedItemSize=function(e){return void 0===e&&(e=this.props),e.estimatedItemSize||"number"==typeof e.itemSize&&e.itemSize||50},t.prototype.getSize=function(e,t){return"function"==typeof t?t(e):Array.isArray(t)?t[e]:t},t.prototype.getStyle=function(e,t){var r=this.styleCache[e];if(r)return r;var n,a,o=this.props.scrollDirection,i=void 0===o?JV.VERTICAL:o,l=this.sizeAndPositionManager.getSizeAndPositionForIndex(e),s=l.size,c=l.offset;return this.styleCache[e]=t?nF({},gF,((n={})[uF[i]]=s,n[pF[i]]=c,n[mF[i]]=-(c+s),n.zIndex=1,n)):nF({},bF,((a={})[uF[i]]=s,a[dF[i]]=c,a))},t.defaultProps={overscanCount:3,scrollDirection:JV.VERTICAL,width:"100%"},t.propTypes={estimatedItemSize:tF.number,height:(0,tF.oneOfType)([tF.number,tF.string]).isRequired,itemCount:tF.number.isRequired,itemSize:(0,tF.oneOfType)([tF.number,tF.array,tF.func]).isRequired,onScroll:tF.func,onItemsRendered:tF.func,overscanCount:tF.number,renderItem:tF.func.isRequired,scrollOffset:tF.number,scrollToIndex:tF.number,scrollToAlignment:(0,tF.oneOf)([QV.AUTO,QV.START,QV.CENTER,QV.END]),scrollDirection:(0,tF.oneOf)([JV.HORIZONTAL,JV.VERTICAL]),stickyIndices:(0,tF.arrayOf)(tF.number),style:tF.object,width:(0,tF.oneOfType)([tF.number,tF.string])},t}(U.PureComponent);const EF=yF,kF=({icon:e,onSelectIcon:t,isSelected:r})=>G().createElement(cf,{isActive:!!r,key:e.id,display:"flex",flexDir:"column",variant:"unstyled",flex:1,height:"full",gap:"4",border:"1px",borderColor:"gray.100",borderRadius:"base",_hover:{color:"primary.500",bgColor:"primary.100"},_active:{color:"primary.500",borderColor:"primary.500",bgColor:"primary.100"},onClick:()=>t?.(e.id)},G().createElement(Ba,{as:"span",sx:{svg:{w:6,h:6,fill:"currentColor"}},dangerouslySetInnerHTML:{__html:e.svg}}),G().createElement(N_,{as:"span",fontSize:"xs",fontWeight:"normal",w:"full",overflow:"hidden",textOverflow:"ellipsis",px:"4"},e.label)),wF=({icons:e,style:t,onSelectIcon:r,selectedIcon:n})=>G().createElement(yS,{style:t,gridTemplateColumns:"repeat(6, 1fr)",gridGap:"4",pb:4},1===e.length&&""===e[0].id?G().createElement(a_,{status:"info",gridColumn:"1/-1"},G().createElement(l_,null,e[0].label)):e.map(((e,t)=>G().createElement(kF,{key:`${e.id}${t}`,icon:e,onSelectIcon:r,isSelected:e.id===n}))));let xF=[],_F=[],PF=[],CF=kv.icons.blockart;const AF=(e,t,r)=>{t===r.style&&e.push(r)};for(const e of kv.icons["font-awesome"])AF(PF,"brands",e),AF(xF,"solid",e),AF(_F,"regular",e);const SF=[...CF,...kv.icons["font-awesome"]],RF=e=>{var t;const r=SF.find((t=>t.id===e.previewIcon));return G().createElement(Ba,{h:"28",bg:"url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' fill-opacity='.1'%3E%3Cpath d='M200 0h200v200H200zM0 200h200v200H0z'/%3E%3C/svg%3E\")",onClick:e.openModal,bgSize:"25px 25px",bgPos:"50%",role:"button",tabIndex:0,position:"relative",display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden",border:"1px",borderColor:"gray.200",borderRadius:"2px",_hover:{".blockart-icon-text":{transform:"translateY(0%)"}}},e.previewIcon?G().createElement(G().Fragment,null,G().createElement(Ba,{as:"span",sx:{svg:{w:16,h:16,fill:"gray.600"}},dangerouslySetInnerHTML:{__html:null!==(t=r?.svg)&&void 0!==t?t:""}}),G().createElement(QL,{variant:"unstyled",position:"absolute",top:"0",right:"0",h:"6",minW:"6","aria-label":(0,K.__)("Remove icon","blockart"),icon:G().createElement(pO,{w:"4",h:"4",fill:"gray.600"}),onClick:t=>{t.stopPropagation(),e?.onRemoveIcon()}}),G().createElement(Ba,{as:"span",color:"gray.700",position:"absolute",bottom:"0",left:"0",right:"0",bg:"white",textAlign:"center",transform:"translateY(+100%)",className:"blockart-icon-text",transition:"transform .2s ease-in-out"},(0,K.__)("Change Icon","blockart"))):G().createElement(cf,{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",variant:"outline",colorScheme:"primary",borderRadius:"base",size:"sm",fontWeight:"normal",bgColor:"white"},(0,K.__)("Choose Icon","blockart")))},MF=[{label:(0,K.__)("All Icons","blockart"),value:"any"},{label:(0,K.__)("BlockArt","blockart"),value:"blockart"},{label:(0,K.__)("Font Awesome - Regular","blockart"),value:"regular"},{label:(0,K.__)("Font Awesome - Solid","blockart"),value:"solid"},{label:(0,K.__)("Font Awesome - Brands","blockart"),value:"brands"}],TF=({variant:e,onVariantSelect:t})=>G().createElement(Za,{w:"25%",flexShrink:0,flexDir:"column",alignItems:"start",gap:"0",pt:"8",height:"full",overflowY:"auto"},MF.map((({label:r,value:n})=>G().createElement(cf,{isActive:n===e,variant:"unstyled",key:r,minH:"40px",fontSize:"sm",fontWeight:"normal",onClick:()=>t(n),_hover:{color:"primary.400",position:"relative",bgColor:"primary.100"},w:"full",textAlign:"left",pr:"4",pl:"8",py:"3",borderRadius:"none",_active:{color:"primary.500",position:"relative",bgColor:"primary.100","&:after":{content:'""',width:"2px",position:"absolute",left:0,top:0,height:"full",bgColor:"primary.500 !important"}}},r)))),IF=e=>{const t=U_(),{isOpen:r,onOpen:n,onClose:a}=G_({id:`icon-picker-modal-${t}`}),[o,i]=G().useState("any"),[l,s]=G().useState(""),c=Xv(l),[u,d]=G().useState(e.value),p=G().useRef(),{icons:m,initialIndex:h}=G().useMemo((()=>{let t="blockart"===o?CF:"solid"===o?xF:"regular"===o?_F:"brands"===o?PF:SF;t=t.filter((({label:e})=>!c||e.toLowerCase().includes(c.toLowerCase()))),t.length||t.push({label:(0,K.__)("No icons found","blockart"),svg:"",id:""});const r=Array.from({length:Math.ceil(t.length/6)},((e,r)=>t.slice(6*r,6*r+6)));return{icons:r,initialIndex:r.findIndex((t=>t.find((t=>t.id===e.value))))}}),[o,c,e.value]);return G().useEffect((()=>(r?document.body.classList.add("modal-open"):document.body.classList.remove("modal-open"),()=>{document.body.classList.remove("modal-open")})),[r]),G().createElement(Qa,null,G().createElement(RF,{openModal:()=>{n()},onRemoveIcon:()=>{e?.onChange(void 0),d(void 0)},previewIcon:e.value}),G().createElement(AP,{isOpen:r,onClose:()=>{a(),i("any"),s(""),d(e.value)},isCentered:!0,motionPreset:"none"},G().createElement(oS,null),G().createElement(QA,{maxW:["container.lg","container.xl"],h:"calc(100vh - 100px)"},G().createElement(iS,{borderBottom:"1px solid",borderColor:"gray.200"},(0,K.__)("Icon Library","blockart")),G().createElement(bz,null),G().createElement(lS,{h:"calc(100% - 134px)",p:"0",zIndex:99999999},G().createElement(Ua,{align:"start",h:"full",gap:"0",w:"full"},G().createElement(TF,{variant:o,onVariantSelect:e=>{i(e),p.current?.scrollTo(0)}}),G().createElement(Ba,{h:"full",borderLeft:"1px",borderColor:"gray.200",px:"8",pt:"8",w:"full"},G().createElement(Ba,{h:"full"},G().createElement(kL,null,G().createElement(uS,{borderRadius:"base",fontSize:"sm",fontWeight:"normal",onChange:e=>s(e.target.value),placeholder:(0,K.__)("Filter by name...")}),G().createElement(XV,{pointerEvents:"none"},G().createElement(dO,{w:"4",h:"4",fill:"gray.400"}))),G().createElement(Ba,{mt:"6",h:"calc(100% - 64px)"},G().createElement(EF,{ref:p,height:"100%",itemCount:m.length,itemSize:100,style:{paddingRight:"1rem"},scrollOffset:-1!==h?100*h:void 0,renderItem:({index:e,style:t})=>G().createElement(wF,{key:e,icons:m[e],style:t,onSelectIcon:d,selectedIcon:u})})))))),G().createElement(sS,{borderTop:"1px solid",borderColor:"gray.200"},G().createElement(cf,{isDisabled:!u,colorScheme:"primary",borderRadius:"base",size:"sm",fontWeight:"normal",onClick:()=>{a(),e.onChange?.(u),i("any"),s("")}},(0,K.__)("Insert","blockart"))))))},OF=e=>{var t;return G().createElement(Qa,{display:"flex",justifyContent:"space-between",alignItems:"center",mb:"4"},G().createElement(pf,null,null!==(t=e?.label)&&void 0!==t?t:(0,K.__)("Enable Icon","blockart")),G().createElement(B_,{isChecked:e.isChecked,onChange:t=>e.onSwitchToggle(t.target.checked)}))},LF=e=>G().createElement(Ba,null,e.hasToggle&&G().createElement(OF,{isChecked:e.value?.enable,onSwitchToggle:t=>e.onChange({icon:e.value?.icon,enable:t}),label:e.label}),G().createElement(Ba,{as:GV,in:!e.hasToggle||!!e.value?.enable},G().createElement(IF,{onChange:t=>{e.hasToggle?e.onChange({enable:!0,icon:t}):e.onChange(t)},value:e.hasToggle?e.value?.icon:e.value}))),DF=e=>{const{label:t,value:r,onChange:n,numberFieldProps:a,...o}=e,[i,l]=G().useState(r),s=Qv(n);return G().createElement(Qa,null,G().createElement(pf,{mb:"2"},t),G().createElement(zL,(0,Ut.A)({},o,{value:i,onChange:(e,t)=>{const r=isFinite(t)?t:void 0;s(r),l(r)}}),G().createElement(VL,(0,Ut.A)({},dS,a))))},BF=r.p+"f7346e9b478a5ef6043bcfd5a5e04922.png",zF=e=>{const{onChange:t,type:r="image",value:n,label:a}=e,o=n?.url?(0,K.__)("Replace","blockart")+" "+("image"===r?"Image":"Video"):(0,K.__)("Choose","blockart")+" "+("image"===r?"Image":"Video");return G().createElement(Ba,{mx:"-15px"},G().createElement(Ba,{mx:"15px"},G().createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24px",height:"24px"},G().createElement("path",{fillRule:"evenodd",d:"M6 4a2 2 0 0 0-2 2v7.586l3.293-3.293.014-.014c.614-.59 1.37-.949 2.193-.949s1.58.358 2.193.95l.014.013L14 12.586l.293-.293.014-.014c.614-.59 1.37-.949 2.193-.949s1.58.358 2.193.95l.014.013L20 13.586V6a2 2 0 0 0-2-2H6Zm16 11.999V6a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v12a4 4 0 0 0 4 4h12a4 4 0 0 0 4-4v-2.001Zm-2 .415-2.7-2.7c-.311-.297-.588-.384-.8-.384-.212 0-.489.087-.8.385l-.286.285 1.293 1.293a1 1 0 0 1-1.414 1.414L10.3 11.715c-.311-.298-.588-.385-.8-.385-.212 0-.489.087-.8.385l-4.7 4.7V18a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-1.586ZM14 8a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H15a1 1 0 0 1-1-1Z",clipRule:"evenodd"}))),G().createElement(Ba,null,G().createElement(q.MediaUploadCheck,null,G().createElement(q.MediaUpload,{onSelect:e=>{if(!e?.url)return;const{url:r,id:n,height:a,width:o,alt:i}=e;t?.({url:r,id:n,height:a,width:o,alt:i})},allowedTypes:[r],title:"Upload Image",value:n?.id,render:({open:e})=>G().createElement(G().Fragment,null,G().createElement(Ba,{onClick:e,onKeyDown:t=>"Enter"===t.key&&e(),role:"button",tabIndex:0,title:o},G().createElement(KB,{src:n?.url||BF,alt:(0,K.__)("blockart preview image","blockart")})),G().createElement(Ua,{display:"flex",justifyContent:"space-between",borderBottom:"1px solid #E0E0E0",p:"8px"},G().createElement(Ba,{onClick:e},G().createElement("span",null,o)),n&&G().createElement(Ba,{onClick:()=>t?.("")},G().createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",height:20,fill:"#1a202c"},G().createElement("path",{d:"M5 20c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V8h2V6h-4V4c0-1.1-.9-2-2-2H9c-1.2 0-2 .9-2 2v2H3v2h2v12zM9 4h6v2H9V4zM7.9 8h9v12H7V8h.9z"}),G().createElement("path",{d:"M9.4 10.7h1.7v7H9.4v-7zm3.4 0h1.7v7h-1.7v-7z"})))))}))))},NF=e=>{const{value:t,onChange:r,resetAttributeKey:n}=e,a=(e,n)=>{const a={[e]:n};r({...t,...a})};return G().createElement("div",{className:"blockart-control blockart-border"},G().createElement("div",{className:"blockart-control-body blockart-border-body"},G().createElement(VV,{label:(0,K.__)("Position","blockart"),onChange:e=>a("position",e),value:t?.position,options:[{label:(0,K.__)("None","blockart"),value:"none"},{label:(0,K.__)("Static","blockart"),value:"static"},{label:(0,K.__)("Relative","blockart"),value:"relative"},{label:(0,K.__)("Absolute","blockart"),value:"absolute"},{label:(0,K.__)("Fixed","blockart"),value:"fixed"},{label:(0,K.__)("Sticky","blockart"),value:"sticky"}]}),"none"!==t?.position&&G().createElement(G().Fragment,null,G().createElement(MD,{min:-100,max:100,label:(0,K.__)("Top","blockart"),value:t?.top,onChange:e=>a("top",e),step:1,resetAttributeKey:n,units:void 0,responsive:void 0,defaultUnit:"px",forceShowUnit:!0}),G().createElement(MD,{min:-100,max:100,label:(0,K.__)("Right","blockart"),value:t?.right,onChange:e=>a("right",e),step:1,resetAttributeKey:n,defaultUnit:"px",forceShowUnit:!0}),G().createElement(MD,{min:-100,max:100,label:(0,K.__)("Bottom","blockart"),value:t?.bottom,onChange:e=>a("bottom",e),step:1,resetAttributeKey:n,defaultUnit:"px",forceShowUnit:!0}),G().createElement(MD,{min:-100,max:100,label:(0,K.__)("Left","blockart"),value:t?.left,onChange:e=>a("left",e),step:1,resetAttributeKey:n,defaultUnit:"px",forceShowUnit:!0}))))},VF=$e(((e,t)=>G().createElement(XL,(0,Ut.A)({ref:t,w:"full",justifyContent:"space-between"},e)))),FF=$e(((e,t)=>G().createElement(cf,(0,Ut.A)({ref:t,variant:"icon",minH:"10",h:"auto",m:"0 !important",w:"full",px:"4",color:"gray.500",fontSize:"xs",_active:{bgColor:"primary.500",color:"white"}},e)))),HF=({onChange:e,value:t,children:r,groupProps:n,responsive:a,label:o,resetAttributeKey:i})=>{const{device:l,setDevice:s}=ib();if(!r)throw new Error("Children required");return G().createElement(Qa,null,G().createElement(Ua,{align:"center",justify:"space-between",mb:"2"},G().createElement(Ua,{align:"center"},G().createElement(pf,null,o),a&&G().createElement(eD,{device:l,setDevice:s})),i&&G().createElement(bO,{resetKey:i,saved:t,onReset:t=>{e(t)}})),G().createElement(VF,(0,Ut.A)({p:"4px",border:"1px",borderRadius:"sm",borderColor:"#E0E0E0"},n),G().Children.map(r,(r=>G().cloneElement(r,{onClick:()=>{e(a?{...null!=t?t:{},[l]:t?.[l]===r?.props?.value?void 0:r?.props?.value}:t===r?.props?.value?void 0:r?.props?.value)},isActive:a?t?.[l]===r?.props?.value:t===r?.props?.value})))))},jF=e=>{const{checked:t,onChange:r,label:n,...a}=e;return G().createElement(Qa,{display:"inline-block"},G().createElement(Ua,{justify:"space-between"},G().createElement(pf,null,n),G().createElement(B_,(0,Ut.A)({_focus:{boxShadow:"none"},size:"sm",isChecked:t,onChange:e=>r(e.target.checked)},a))))},WF=({value:e,label:t=(0,K.__)("URL","blockart"),onChange:r,newTab:n=!1,noFollow:a=!1,...o})=>{var i,l,s;const c=(t,n)=>{const a="newTab"===t||"noFollow"===t?{[t]:!e?.[t]}:{[t]:n};r?.({...null!=e?e:{},...a})};return G().createElement(Qa,null,G().createElement(pf,null,t),G().createElement(Zv.BaseControl,null,G().createElement(q.URLInput,(0,Ut.A)({value:null!==(i=e?.url)&&void 0!==i?i:"",onChange:e=>c("url",e),autoFocus:!1,disableSuggestions:!0},o))),n&&G().createElement(jF,{checked:null!==(l=e?.newTab)&&void 0!==l&&l,onChange:()=>c("newTab"),label:(0,K.__)("Open Link in a New Tab","blockart")}),a&&G().createElement(jF,{checked:null!==(s=e?.noFollow)&&void 0!==s&&s,onChange:()=>c("noFollow"),label:(0,K.__)("Nofollow Link","blockart")}))};var[$F,ZF]=Ce({name:"AccordionStylesContext",hookName:"useAccordionStyles",providerName:"<Accordion />"}),[UF,GF]=Ce({name:"AccordionItemContext",hookName:"useAccordionItemContext",providerName:"<AccordionItem />"}),[qF,KF,YF,XF]=Re();var[QF,JF]=Ce({name:"AccordionContext",hookName:"useAccordionContext",providerName:"Accordion"});var eH=$e((function(e,t){const{children:r,className:n}=e,{htmlProps:a,...o}=function(e){const{isDisabled:t,isFocusable:r,id:n,...a}=e,{getAccordionItemProps:o,setFocusedIndex:i}=JF(),l=(0,U.useRef)(null),s=(0,U.useId)(),c=null!=n?n:s,u=`accordion-button-${c}`,d=`accordion-panel-${c}`;!function(e){se({condition:!(!e.isFocusable||e.isDisabled),message:"Using only 'isFocusable', this prop is reserved for situations where you pass 'isDisabled' but you still want the element to receive focus (A11y). Either remove it or pass 'isDisabled' as well.\n "})}(e);const{register:p,index:m,descendants:h}=XF({disabled:t&&!r}),{isOpen:f,onChange:v}=o(-1===m?null:m);!function(e){se({condition:e.isOpen&&!!e.isDisabled,message:"Cannot open a disabled accordion item"})}({isOpen:f,isDisabled:t});const b=(0,U.useCallback)((()=>{null==v||v(!f),i(m)}),[m,i,f,v]),g=(0,U.useCallback)((e=>{const t={ArrowDown:()=>{const e=h.nextEnabled(m);null==e||e.node.focus()},ArrowUp:()=>{const e=h.prevEnabled(m);null==e||e.node.focus()},Home:()=>{const e=h.firstEnabled();null==e||e.node.focus()},End:()=>{const e=h.lastEnabled();null==e||e.node.focus()}},r=t[e.key];r&&(e.preventDefault(),r(e))}),[h,m]),y=(0,U.useCallback)((()=>{i(m)}),[i,m]),E=(0,U.useCallback)((function(e={},r=null){return{...e,type:"button",ref:fe(p,l,r),id:u,disabled:!!t,"aria-expanded":!!f,"aria-controls":d,onClick:me(e.onClick,b),onFocus:me(e.onFocus,y),onKeyDown:me(e.onKeyDown,g)}}),[u,t,f,b,y,g,d,p]),k=(0,U.useCallback)((function(e={},t=null){return{...e,ref:t,role:"region",id:d,"aria-labelledby":u,hidden:!f}}),[u,f,d]);return{isOpen:f,isDisabled:t,isFocusable:r,onOpen:()=>{null==v||v(!0)},onClose:()=>{null==v||v(!1)},getButtonProps:E,getPanelProps:k,htmlProps:a}}(e),i={...ZF().container,overflowAnchor:"none"},l=(0,U.useMemo)((()=>o),[o]);return(0,Ma.jsx)(UF,{value:l,children:(0,Ma.jsx)(Ra.div,{ref:t,...a,className:ie("chakra-accordion__item",n),__css:i,children:"function"==typeof r?r({isExpanded:!!o.isOpen,isDisabled:!!o.isDisabled}):r})})}));eH.displayName="AccordionItem";var tH=$e((function(e,t){const{getButtonProps:r}=GF(),n=r(e,t),a={display:"flex",alignItems:"center",width:"100%",outline:0,...ZF().button};return(0,Ma.jsx)(Ra.button,{...n,className:ie("chakra-accordion__button",e.className),__css:a})}));function rH(e){const{isOpen:t,isDisabled:r}=GF(),{reduceMotion:n}=JF(),a=ie("chakra-accordion__icon",e.className),o={opacity:r?.4:1,transform:t?"rotate(-180deg)":void 0,transition:n?void 0:"transform 0.2s",transformOrigin:"center",...ZF().icon};return(0,Ma.jsx)(Xx,{viewBox:"0 0 24 24","aria-hidden":!0,className:a,__css:o,...e,children:(0,Ma.jsx)("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})})}tH.displayName="AccordionButton",rH.displayName="AccordionIcon";var nH=$e((function(e,t){const{className:r,motionProps:n,...a}=e,{reduceMotion:o}=JF(),{getPanelProps:i,isOpen:l}=GF(),s=i(a,t),c=ie("chakra-accordion__panel",r),u=ZF();o||delete s.hidden;const d=(0,Ma.jsx)(Ra.div,{...s,__css:u.panel,className:c});return o?d:(0,Ma.jsx)(GV,{in:l,...n,children:d})}));nH.displayName="AccordionPanel";var aH=$e((function({children:e,reduceMotion:t,...r},n){const a=fa("Accordion",r),o=sa(r),{htmlProps:i,descendants:l,...s}=function(e){const{onChange:t,defaultIndex:r,index:n,allowMultiple:a,allowToggle:o,...i}=e;!function(e){const t=e.index||e.defaultIndex,r=null!=t&&!Array.isArray(t)&&e.allowMultiple;se({condition:!!r,message:`If 'allowMultiple' is passed, then 'index' or 'defaultIndex' must be an array. You passed: ${typeof t},`})}(e),function(e){se({condition:!(!e.allowMultiple||!e.allowToggle),message:"If 'allowMultiple' is passed, 'allowToggle' will be ignored. Either remove 'allowToggle' or 'allowMultiple' depending on whether you want multiple accordions visible or not"})}(e);const l=YF(),[s,c]=(0,U.useState)(-1);(0,U.useEffect)((()=>()=>{c(-1)}),[]);const[u,d]=Te({value:n,defaultValue:()=>a?null!=r?r:[]:null!=r?r:-1,onChange:t});return{index:u,setIndex:d,htmlProps:i,getAccordionItemProps:e=>{let t=!1;return null!==e&&(t=Array.isArray(u)?u.includes(e):u===e),{isOpen:t,onChange:t=>{if(null!==e)if(a&&Array.isArray(u)){const r=t?u.concat(e):u.filter((t=>t!==e));d(r)}else t?d(e):o&&d(-1)}}},focusedIndex:s,setFocusedIndex:c,descendants:l}}(o),c=(0,U.useMemo)((()=>({...s,reduceMotion:!!t})),[s,t]);return(0,Ma.jsx)(qF,{value:l,children:(0,Ma.jsx)(QF,{value:c,children:(0,Ma.jsx)($F,{value:a,children:(0,Ma.jsx)(Ra.div,{ref:n,...i,className:ie("chakra-accordion",r.className),__css:a.root,children:e})})})})}));aH.displayName="Accordion";const oH=["general","style","advanced"],{Slot:iH,Fill:lH}=(0,Zv.createSlotFill)("BlockArtGeneralInspectorTab"),{Slot:sH,Fill:cH}=(0,Zv.createSlotFill)("BlockArtStyleInspectorTab"),{Slot:uH,Fill:dH}=(0,Zv.createSlotFill)("BlockArtAdvancedInspectorTab"),pH=G().createContext(""),mH=e=>{const{isSelected:t,name:r}=(0,q.useBlockEditContext)(),[n]=nb(`inspector-tab-${r}`,"general");return t&&"general"===n?G().createElement(lH,null,G().createElement(pH.Provider,{value:"general"},G().createElement(aH,{allowToggle:!0,defaultIndex:0},e.children))):null},hH=e=>{const{isSelected:t,name:r}=(0,q.useBlockEditContext)(),[n]=nb(`inspector-tab-${r}`,"general");return t&&"style"===n?G().createElement(cH,null,G().createElement(pH.Provider,{value:"style"},G().createElement(aH,{allowToggle:!0,defaultIndex:0},e.children))):null},fH=e=>{const{isSelected:t,name:r}=(0,q.useBlockEditContext)(),[n]=nb(`inspector-tab-${r}`,"general");return t&&"advanced"===n?G().createElement(dH,null,G().createElement(pH.Provider,{value:"advanced"},G().createElement(aH,{allowToggle:!0,defaultIndex:0},e.children))):null},vH=VD((()=>{const{name:e}=(0,q.useBlockEditContext)(),[t,r]=nb(`inspector-tab-${e}`,"general"),n=oH.indexOf(t),a=G().useRef(null),o=e=>{const t=-1===e?document.querySelector("[data-ba-tab]"):a.current?.closest(".components-panel");if(t)return-1===e?(t.removeAttribute("data-ba-tab"),void t.closest(".edit-post-sidebar, .edit-widgets-sidebar, .interface-complementary-area")?.classList.remove("blockart-inspector--open")):void setTimeout((()=>{t&&(t.setAttribute("data-ba-tab",oH[e]),t.closest(".edit-post-sidebar, .edit-widgets-sidebar, .interface-complementary-area")?.classList.add("blockart-inspector--open"))}),1)};return G().useEffect((()=>(o(n),()=>{o(-1)})),[]),G().createElement(Ba,{ref:a},G().createElement(Ua,{position:"sticky",top:"-4px",zIndex:"1",bgColor:"white",flexWrap:"nowrap",gap:"6px",sx:{".chakra-button":{display:"flex",padding:"12px 20px",flexDirection:"column",position:"relative",h:"auto",gap:"1",svg:{h:"6",w:"6"},flex:1,span:{fontSize:"sm",fontWeight:"medium"},"&[data-active]":{color:"primary.500",svg:{fill:"primary.500"}},"&[data-active]:after":{content:'""',position:"absolute",h:"2px",left:"0",right:"0",bottom:"0",bgColor:"primary.500"}}},borderBottom:"1px",borderTop:"1px",borderColor:"gray.200",mb:"2px"},G().createElement(cf,{isActive:"general"===t,variant:"unstyled",onClick:()=>{r("general"),o(0)}},G().createElement(gT,null),G().createElement(N_,{as:"span"},(0,K.__)("General","blockart"))),G().createElement(cf,{isActive:"style"===t,variant:"unstyled",onClick:()=>{r("style"),o(1)}},G().createElement(yT,null),G().createElement(N_,{as:"span"},(0,K.__)("Style","blockart"))),G().createElement(cf,{isActive:"advanced"===t,variant:"unstyled",onClick:()=>{r("advanced"),o(2)}},G().createElement(bT,null),G().createElement(N_,{as:"span"},(0,K.__)("Advanced","blockart")))),G().createElement(iH,null),G().createElement(sH,null),G().createElement(uH,null))})),bH=()=>G().createElement(q.InspectorControls,null,G().createElement(vH,null)),gH=e=>{const{title:t,initialOpen:r}=e,{name:n}=(0,q.useBlockEditContext)(),a=G().useContext(pH),o=t,i=`inspector-panel-${n}-${a}-panel`,[l,s]=nb(i,void 0);return G().useEffect((()=>{r&&!l&&s(o)}),[]),G().createElement(G().Fragment,null,G().createElement(eH,null,G().createElement(tH,{sx:{color:"#1e1e1e",fontWeight:"500",height:"auto",outline:"none",padding:"16px",position:"relative",textAlign:"left",fontSize:"13px"}},G().createElement(Ba,{as:"span",flex:"1",textAlign:"left"},t),G().createElement(rH,null)),G().createElement(nH,{sx:{"> *:not(:last-child)":{mb:4}}},e.children)))},yH=e=>{const{blockMargin:t,blockPadding:r,blockZIndex:n,cssID:a,setAttributes:o,blockHTML:i,className:l,hasZIndex:s=!0,hascssID:c=!0,hasblockHTML:u=!0}=e;return G().createElement(G().Fragment,null,G().createElement(gH,{title:(0,K.__)("Spacing","blockart"),initialOpen:!0},G().createElement($V,{value:t,responsive:!0,label:(0,K.__)("Block Margin","blockart"),defaultUnit:"px",units:["px","rem","em","%"],onChange:e=>o({blockMargin:e}),type:"margin",resetAttributeKey:"blockMargin"}),G().createElement($V,{value:r,responsive:!0,label:(0,K.__)("Block Padding","blockart"),defaultUnit:"px",units:["px","rem","em","%"],onChange:e=>o({blockPadding:e}),resetAttributeKey:"blockPadding"})),s&&G().createElement(gH,{title:(0,K.__)("Z-index","blockart")},G().createElement(MD,{label:(0,K.__)("Z-Index","blockart"),value:n,min:0,max:1e4,step:1,onChange:e=>o({blockZIndex:e}),resetAttributeKey:"blockZIndex"})),G().createElement(q.InspectorAdvancedControls,null,u&&G().createElement(VV,{label:(0,K.__)("Block HTML","blockart"),value:i,onChange:e=>o({blockHTML:e}),options:J}),c&&G().createElement(pS,{onChange:e=>o({cssID:e}),label:(0,K.__)("CSS ID","blockart"),value:null!=a?a:"",style:{marginBottom:"16px"}}),G().createElement(pS,{value:l,label:(0,K.__)("Additional CSS Class(Es)","blockart"),onChange:e=>o({className:e}),style:{marginBottom:"16px"}})))},EH=e=>{const{hideOnDesktop:t,hideOnTablet:r,hideOnMobile:n,setAttributes:a,hasColReverse:o=!1,colReverseOnTablet:i,colReverseOnMobile:l}=e;return G().createElement(gH,{title:(0,K.__)("Responsive condition","blockart")},o&&G().createElement(G().Fragment,null,G().createElement(jF,{size:"sm",checked:i||!1,onChange:()=>a({colReverseOnTablet:!i}),label:(0,K.__)("Column Reverse on Tablet","blockart")}),G().createElement(jF,{size:"sm",checked:l||!1,onChange:()=>a({colReverseOnMobile:!l}),label:(0,K.__)("Column Reverse on Mobile","blockart")})),G().createElement(jF,{size:"sm",checked:t||!1,onChange:()=>a({hideOnDesktop:!t}),label:(0,K.__)("Hide on Desktop","blockart")}),G().createElement(jF,{size:"sm",checked:r||!1,onChange:()=>a({hideOnTablet:!r}),label:(0,K.__)("Hide on Tablet","blockart")}),G().createElement(jF,{size:"sm",checked:n||!1,onChange:()=>a({hideOnMobile:!n}),label:(0,K.__)("Hide on Mobile","blockart")}))},kH=({tagName:e,htmlAttrs:t,children:r})=>(0,U.createElement)(e,t,r),wH=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","name":"blockart/blockquote","title":"Blockquote","description":"Customize typography and style blockquotes with multiple setting options.","keywords":["blockquote","text"],"category":"blockart","textdomain":"blockart","supports":{"className":false,"customClassName":false},"example":{"attributes":{}},"attributes":{"clientId":{"type":"string"},"expiryDate":{"type":"string"},"layoutStyle":{"type":"string","default":"border"},"quoteMarkSize":{"type":"object","default":{"desktop":{"value":35,"unit":"px"}},"style":[{"selector":"{{WRAPPER}} blockquote svg { width: {{VALUE}};height: {{VALUE}} }"}]},"quote":{"type":"string","default":"Before you marry a person, you should first make them use a computer with slow Internet to see who they really are."},"border":{"type":"object","default":{"border":1,"radius":{"desktop":{"lock":true}},"size":{"desktop":{"lock":false,"top":0,"right":0,"bottom":0,"left":10}},"type":"solid","color":"#2563eb"},"style":[{"condition":[{"key":"layoutStyle","relation":"==","value":"border"}],"selector":"{{WRAPPER}} .blockart-blockquote-main"}]},"author":{"type":"string","default":"Will Ferrell"},"alignment":{"type":"object","style":[{"selector":".blockart-blockquote{{WRAPPER}} {text-align: {{VALUE}}; }"}]},"authorAlignment":{"type":"object","style":[{"selector":".blockart-blockquote{{WRAPPER}} .blockart-blockquote-author {text-align: {{VALUE}}; }"}]},"quoteTypography":{"type":"object","default":{"typography":1,"fontStyle":"italic","size":{"desktop":{"value":20,"unit":"px"}}},"style":[{"selector":"{{WRAPPER}} .blockart-blockquote-quote"}]},"authorTypography":{"type":"object","default":{"typography":1,"size":{"desktop":{"value":14,"unit":"px"}}},"style":[{"selector":"{{WRAPPER}} .blockart-blockquote-author"}]},"color":{"type":"string","style":[{"selector":".blockart-blockquote{{WRAPPER}} {color: {{VALUE}}; }"}]},"quoteMarkColor":{"type":"string","default":"#2563eb","style":[{"selector":"{{WRAPPER}} blockquote svg {fill: {{VALUE}}; }"}]},"background":{"type":"object","default":{"background":1,"color":"#d8eefb"},"style":[{"selector":".blockart-blockquote{{WRAPPER}}"}]},"hoverBackground":{"type":"object","default":{"background":1},"style":[{"selector":".blockart-blockquote{{WRAPPER}}:hover"}]},"quoteMargin":{"type":"object","default":{"dimension":1,"desktop":{"lock":false,"top":0,"bottom":20,"left":10,"right":0}},"style":[{"selector":"{{WRAPPER}} blockquote { margin: {{VALUE}}; }"}]},"authorMargin":{"type":"object","default":{"dimension":1,"desktop":{"lock":false,"top":0,"bottom":0,"left":10,"right":0}},"style":[{"selector":"{{WRAPPER}} .blockart-blockquote-author { margin: {{VALUE}}; }"}]},"blockMargin":{"type":"object","default":{"dimension":1,"desktop":{"lock":false,"top":20,"bottom":20}},"style":[{"selector":"{{WRAPPER}} { margin: {{VALUE}}; }"}]},"blockPadding":{"type":"object","default":{"dimension":1,"desktop":{"lock":false,"top":50,"right":20,"bottom":50,"left":20}},"style":[{"selector":".blockart-blockquote{{WRAPPER}} { padding: {{VALUE}}; }"}]},"blockZIndex":{"type":"number","style":[{"selector":"{{WRAPPER}} { z-index: {{VALUE}}; }"}]},"cssID":{"type":"string"},"animation":{"type":"string"},"interaction":{"type":"object"},"position":{"type":"object"},"hideOnDesktop":{"type":"boolean","style":[{"selector":"@media (min-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnTablet":{"type":"boolean","style":[{"selector":"@media (min-width:48em) and (max-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} { display: none; } }"}]},"colReverseOnTablet":{"type":"boolean","style":[{"selector":"@media (max-width:62em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"colReverseOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"blockCSS":{"type":"string"},"className":{"type":"string"}},"style":"blockart-blocks","editorScript":"blockart-blocks","editorStyle":"blockart-blocks-editor"}'),xH=e=>{const{attributes:{color:t,background:r,hoverBackground:n,alignment:a,quoteTypography:o,authorTypography:i,blockMargin:l,blockPadding:s,hideOnDesktop:c,hideOnTablet:u,hideOnMobile:d,layoutStyle:p,quoteMargin:m,authorMargin:h,quoteMarkSize:f,quoteMarkColor:v,border:b,authorAlignment:g,blockZIndex:y,cssID:E,className:k},setAttributes:w}=e;return G().createElement(G().Fragment,null,G().createElement(bH,null),G().createElement(mH,null,G().createElement(gH,{title:(0,K.__)("Layout","blockart"),initialOpen:!0},G().createElement(VV,{onChange:e=>w({layoutStyle:e}),value:p,label:(0,K.__)("Style","blockart"),options:[{label:(0,K.__)("Border","blockart"),value:"border"},{label:(0,K.__)("Quote","blockart"),value:"quote"}]}))),G().createElement(hH,null,G().createElement(gH,{title:(0,K.__)("Properties","blockart"),initialOpen:!0},G().createElement(HF,{value:a,onChange:e=>{w({alignment:e})},label:(0,K.__)("Text Alignment","blockart"),responsive:!0,resetAttributeKey:"alignment",groupProps:{sx:{".chakra-button":{minH:"32px","&[data-active]":{svg:{fill:"#fff !important"}}}}}},G().createElement(FF,{value:"left"},G().createElement(qM,null)),G().createElement(FF,{value:"center"},G().createElement(YM,null)),G().createElement(FF,{value:"right"},G().createElement(KM,null)),G().createElement(FF,{value:"justify"},G().createElement(XM,null)))),G().createElement(gH,{title:(0,K.__)("Layout","blockart")},G().createElement(VV,{onChange:e=>w({layoutStyle:e}),value:p,label:(0,K.__)("Style","blockart"),options:[{label:(0,K.__)("Border","blockart"),value:"border"},{label:(0,K.__)("Quote","blockart"),value:"quote"}]}),"border"===p?G().createElement(OV,{value:b,onChange:e=>{w({border:e})},resetAttributeKey:"border"}):G().createElement($V,{label:(0,K.__)("Quote Mark Size","blockart"),step:1,onChange:e=>w({quoteMarkSize:e}),min:0,max:100,defaultUnit:"px",value:f,responsive:!0,units:["px","em","%"],resetAttributeKey:"quoteMarkSize"})),G().createElement(gH,{title:(0,K.__)("Quote","blockart")},G().createElement(OD,{value:o,onChange:e=>w({quoteTypography:e})}),G().createElement($V,{value:m||{},responsive:!0,label:(0,K.__)("Quote ","blockart"),defaultUnit:"px",units:["px","rem","em","%"],onChange:e=>w({quoteMargin:e}),type:"quoteMargin"})),G().createElement(gH,{title:(0,K.__)("Author","blockart")},G().createElement(HF,{value:g,onChange:e=>{w({authorAlignment:e})},label:(0,K.__)("Alignment","blockart"),responsive:!0,resetAttributeKey:"authorAlignment",groupProps:{sx:{".chakra-button":{minH:"32px",svg:{w:6,h:6},"&[data-active]":{svg:{fill:"#fff !important"}}}}}},G().createElement(FF,{value:"left"},G().createElement(qM,null)),G().createElement(FF,{value:"center"},G().createElement(YM,null)),G().createElement(FF,{value:"right"},G().createElement(KM,null))),G().createElement(OD,{value:i,onChange:e=>w({authorTypography:e})}),G().createElement($V,{value:h||{},responsive:!0,label:(0,K.__)("Margin","blockart"),defaultUnit:"px",units:["px","rem","em","%"],onChange:e=>w({authorMargin:e}),type:"authorMargin"})),G().createElement(gH,{title:(0,K.__)("Color","blockart")},G().createElement(BV,{label:(0,K.__)("Text Color","blockart"),trigger:e=>{const r=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:t,id:"color"}]}));return Iv(t)?G().createElement(Ba,{position:"relative"},G().createElement(r,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-10px",bg:"white",borderRadius:"full"})):G().createElement(r,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:t,resetKey:"color",onReset:e=>{w({color:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:t,onChange:e=>w({color:e})}))))),"quote"==p&&G().createElement(BV,{label:(0,K.__)("Quote Color","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:v,id:"quoteMarkColor"}]}));return Iv(v)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-10px",bg:"white",borderRadius:"full"})):G().createElement(t,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:v,resetKey:"quoteMarkColor",onReset:e=>{w({quoteMarkColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:v,onChange:e=>w({quoteMarkColor:e})})))))),G().createElement(gH,{title:(0,K.__)("Background","blockart")},G().createElement(BV,{label:(0,K.__)("Type","blockart")},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart")),G().createElement(Da,null,(0,K.__)("Hover","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:r,resetKey:"background",onReset:e=>{w({background:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(RV,{value:r,onChange:e=>w({background:e})})),G().createElement(Fa,null,G().createElement(bO,{saved:n,resetKey:"hoverBackground",onReset:e=>{w({hoverBackground:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(RV,{value:n,onChange:e=>w({hoverBackground:e})}))))))),G().createElement(fH,null,G().createElement(yH,{blockMargin:l,setAttributes:w,blockPadding:s,blockZIndex:y,cssID:E,className:k,hasblockHTML:!1}),G().createElement(EH,{hideOnDesktop:c,hideOnTablet:u,hideOnMobile:d,setAttributes:w})))},_H=wH.name,PH={...wH,icon:G().createElement(cz,{type:"blockIcon",name:"blockquote",size:24}),edit:e=>{const{attributes:{quote:t,author:r,cssID:n,className:a,layoutStyle:o,quoteTypography:i,authorTypography:l},setAttributes:s}=e,{clientId:c}=jv(e),{device:u}=ib(),{CopyPasterStyleBlockControl:d}=Yv(),{Style:p}=Fv({blockName:"blockquote",clientId:c,attributes:e.attributes,device:u});return G().createElement(G().Fragment,null,G().createElement(xH,{attributes:e.attributes,setAttributes:s}),G().createElement(d,{withBlockControls:!0}),G().createElement(p,null),G().createElement("div",{id:n||null,className:Cv(`blockart-blockquote blockart-blockquote-${c} layout-${o}`,a)},G().createElement("div",{className:"blockart-blockquote-main"},G().createElement("blockquote",null,"quote"===o&&G().createElement(cz,{type:"blockIcon",name:"quoteLeft",size:24}),G().createElement(q.RichText,{tagName:"div",className:Cv("blockart-blockquote-quote",i?._className),placeholder:(0,K.__)("This is Blockquote.","blockart"),value:t,onChange:e=>{s({quote:e})}})),G().createElement(q.RichText,{tagName:"p",className:Cv("blockart-blockquote-author",l?._className),placeholder:(0,K.__)("Quote Author","blockart"),value:r,onChange:e=>{s({author:e})}}))))},save:e=>{const{attributes:{cssID:t,clientId:r,className:n,quote:a,author:o,layoutStyle:i,quoteTypography:l,authorTypography:s}}=e;return q.RichText.isEmpty(a)||q.RichText.isEmpty(o)?null:G().createElement("div",{id:t||null,className:Cv(`blockart-blockquote blockart-frontend blockart-blockquote-${r} layout-${i}`,n)},G().createElement("div",{className:"blockart-blockquote-main"},G().createElement("blockquote",null,"quote"===i&&G().createElement(cz,{type:"frontendIcon",name:"quoteLeft",size:24}),G().createElement("div",{className:Cv("blockart-blockquote-quote",l?._className)},G().createElement(q.RichText.Content,{value:a}))),G().createElement("p",{className:Cv("blockart-blockquote-author",s?._className)},G().createElement(q.RichText.Content,{value:o}))))}},CH=JSON.parse('{"apiVersion":2,"$schema":"https://schemas.wp.org/trunk/block.json","name":"blockart/button-inner","title":"Button","description":"Redirect users to your important pages or websites by clicking button.","keywords":["button","icon"],"category":"blockart","textdomain":"blockart","parent":["blockart/button"],"supports":{"className":false,"customClassName":false,"reusable":false},"example":{"attributes":{}},"attributes":{"clientId":{"type":"string"},"width":{"type":"object","style":[{"selector":"{{WRAPPER}} { flex-basis: {{VALUE}}%; width: {{VALUE}}%; }"}]},"alignment":{"type":"string","style":[{"selector":"{{WRAPPER}} { text-align: {{VALUE}}; }"}]},"blockHTML":{"type":"string","default":"div"},"link":{"type":"object"},"text":{"type":"string"},"style":{"type":"string","default":"filled"},"buttonHover":{"type":"string","default":"none"},"buttonAnimation":{"type":"string","default":"none"},"size":{"type":"string","default":"large"},"padding":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"condition":[{"key":"size","relation":"==","value":"custom"},{"key":"style","relation":"!=","value":"plain"},{"key":"style","relation":"!=","value":"link"}],"selector":"{{WRAPPER}} .blockart-button-link.is-custom { padding: {{VALUE}}; }"}]},"typography":{"type":"object","default":{"typography":1},"style":[{"selector":"{{WRAPPER}} .blockart-button-link"}]},"icon":{"type":"object","default":{"enable":false,"icon":""}},"iconPosition":{"type":"string","default":"right"},"iconSize":{"type":"object","style":[{"condition":[{"key":"icon","relation":"!=","value":""}],"selector":"{{WRAPPER}} .blockart-button-icon .blockart-icon { width: {{VALUE}}; height: auto; }"}]},"iconGap":{"type":"object","style":[{"condition":[{"key":"icon","relation":"!=","value":""},{"key":"iconPosition","relation":"==","value":"left"}],"selector":"{{WRAPPER}} .blockart-button-icon { margin-right: {{VALUE}}; }"},{"condition":[{"key":"icon","relation":"!=","value":""},{"key":"iconPosition","relation":"==","value":"right"}],"selector":"{{WRAPPER}} .blockart-button-icon { margin-left: {{VALUE}}; }"}]},"color1":{"type":"string","default":"#fff","style":[{"condition":[{"key":"style","relation":"==","value":"filled"}],"selector":"{{WRAPPER}} .blockart-button-link { color: {{VALUE}}; }{{WRAPPER}} .blockart-button-icon .blockart-icon { fill: {{VALUE}}; }"}]},"color2":{"type":"string","default":"#2563EB","style":[{"condition":[{"key":"style","relation":"!=","value":"filled"}],"selector":"{{WRAPPER}} .blockart-button-link{ color: {{VALUE}}; }{{WRAPPER}} .blockart-button-icon .blockart-icon { fill: {{VALUE}}; }"}]},"hoverColor1":{"type":"string","default":"","style":[{"condition":[{"key":"style","relation":"==","value":"filled"}],"selector":"{{WRAPPER}} .blockart-button-link:hover { color: {{VALUE}} }{{WRAPPER}} .blockart-button-link:hover .blockart-button-icon .blockart-icon { fill: {{VALUE}} }{{WRAPPER}} .blockart-button-link:focus { color: {{VALUE}} }{{WRAPPER}} .blockart-button-link:focus .blockart-button-icon .blockart-icon { fill: {{VALUE}} }{{WRAPPER}} .blockart-button-link:active { color: {{VALUE}} }{{WRAPPER}} .blockart-button-link:active .blockart-button-icon .blockart-icon { fill: {{VALUE}} }"}]},"hoverColor2":{"type":"string","default":"","style":[{"condition":[{"key":"style","relation":"!=","value":"filled"}],"selector":"{{WRAPPER}} .blockart-button-link:hover { color: {{VALUE}} }{{WRAPPER}} .blockart-button-link:hover .blockart-button-icon .blockart-icon { fill: {{VALUE}} }{{WRAPPER}} .blockart-button-link:focus { color: {{VALUE}} }{{WRAPPER}} .blockart-button-link:focus .blockart-button-icon .blockart-icon { fill: {{VALUE}} }{{WRAPPER}} .blockart-button-link:active { color: {{VALUE}} }{{WRAPPER}} .blockart-button-link:active .blockart-button-icon .blockart-icon { fill: {{VALUE}} }"}]},"background1":{"type":"object","default":{"background":1,"type":"color","color":"#2563eb"},"style":[{"condition":[{"key":"style","relation":"==","value":"filled"}],"selector":"{{WRAPPER}} .blockart-button-link"}]},"background2":{"type":"object","default":{"background":1},"style":[{"condition":[{"key":"style","relation":"==","value":"outline"}],"selector":"{{WRAPPER}} .blockart-button-link.is-style-outline"}]},"hoverBackground1":{"type":"object","default":{"background":1},"style":[{"condition":[{"key":"style","relation":"==","value":"filled"}],"selector":"{{WRAPPER}} .blockart-button-link:hover, {{WRAPPER}} .blockart-button-link:focus, {{WRAPPER}} .blockart-button-link:active"}]},"hoverBackground2":{"type":"object","default":{"background":1},"style":[{"condition":[{"key":"style","relation":"==","value":"outline"}],"selector":"{{WRAPPER}} .blockart-button-link.is-style-outline:hover, {{WRAPPER}} .blockart-button-link.is-style-outline:focus, {{WRAPPER}} .blockart-button-link.is-style-outline:active"}]},"border1":{"type":"object","default":{"border":1,"radius":{"desktop":{"lock":true}},"size":{"desktop":{"lock":true}}},"style":[{"condition":[{"key":"style","relation":"==","value":"filled"}],"selector":"{{WRAPPER}} .blockart-button-link"}]},"hoverBorder1":{"type":"object","default":{"border":1,"radius":{"desktop":{"lock":true}},"size":{"desktop":{"lock":true}}},"style":[{"condition":[{"key":"style","relation":"==","value":"filled"}],"selector":"{{WRAPPER}} .blockart-button-link:hover, {{WRAPPER}} .blockart-button-link:focus, {{WRAPPER}} .blockart-button-link:active"}]},"border2":{"type":"object","default":{"border":1,"color":"#2563EB","type":"solid","radius":{"desktop":{"top":2,"right":2,"bottom":2,"left":2,"unit":"px","lock":true}},"size":{"desktop":{"top":1,"right":1,"bottom":1,"left":1,"unit":"px","lock":true}}},"style":[{"condition":[{"key":"style","relation":"==","value":"outline"}],"selector":"{{WRAPPER}} .blockart-button-link"}]},"hoverBorder2":{"type":"object","default":{"border":1,"radius":{"desktop":{"lock":true}},"size":{"desktop":{"lock":true}}},"style":[{"condition":[{"key":"style","relation":"==","value":"outline"}],"selector":"{{WRAPPER}} .blockart-button-link:hover, {{WRAPPER}} .blockart-button-link:focus, {{WRAPPER}} .blockart-button-link:active"}]},"positionProperty":{"type":"object","default":{"positionProperty":1,"position":"none"},"style":[{"selector":"{{WRAPPER}}"}]},"boxShadow":{"type":"object","default":{"boxShadow":1},"style":[{"selector":"{{WRAPPER}} .blockart-button-link"}]},"boxShadowHover":{"type":"object","default":{"boxShadow":1},"style":[{"selector":"{{WRAPPER}} .blockart-button-link:hover, {{WRAPPER}} .blockart-button-link:focus, {{WRAPPER}} .blockart-button-link:active"}]},"blockMargin":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { margin: {{VALUE}}; }"}]},"blockPadding":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { padding: {{VALUE}}; }"}]},"blockZIndex":{"type":"number","style":[{"selector":"{{WRAPPER}} { z-index: {{VALUE}}; }"}]},"blockOpacity":{"type":"number","style":[{"selector":"{{WRAPPER}} { opacity: {{VALUE}}; }"}]},"cssID":{"type":"string"},"animation":{"type":"string"},"interaction":{"type":"object"},"position":{"type":"object"},"hideOnDesktop":{"type":"boolean","style":[{"selector":"@media (min-width:62em) { {{WRAPPER}} { display: none !important; } }"}]},"hideOnTablet":{"type":"boolean","style":[{"selector":"@media (min-width:48em) and (max-width:62em) { {{WRAPPER}} { display: none !important; } }"}]},"hideOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} { display: none !important; } }"}]},"colReverseOnTablet":{"type":"boolean","style":[{"selector":"@media (max-width:62em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"colReverseOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"blockCSS":{"type":"string"},"className":{"type":"string"}},"style":"blockart-blocks","editorScript":"blockart-blocks","editorStyle":"blockart-blocks-editor","viewScript":"blockart-frontend-common"}');var AH=r(7500),SH=r.n(AH);const RH={clientId:{type:"string"},link:{type:"object"},text:{type:"string"},style:{type:"string",default:"filled"},size:{type:"string",default:"large"},padding:{type:"object",default:{dimension:1,desktop:{lock:!0}},style:[{condition:[{key:"size",relation:"==",value:"custom"},{key:"style",relation:"!=",value:"plain"},{key:"style",relation:"!=",value:"link"}],selector:"{{WRAPPER}} .blockart-button-link.is-custom { padding: {{VALUE}}; }"}]},typography:{type:"object",default:{typography:1},style:[{selector:"{{WRAPPER}} .blockart-button-link"}]},icon:{type:"object",default:{enable:!1,icon:""}},iconPosition:{type:"string",default:"right"},iconSize:{type:"object",style:[{condition:[{key:"icon",relation:"!=",value:""}],selector:"{{WRAPPER}} .blockart-button-icon .blockart-icon { width: {{VALUE}}; height: auto; }"}]},iconGap:{type:"object",style:[{condition:[{key:"icon",relation:"!=",value:""},{key:"iconPosition",relation:"==",value:"left"}],selector:"{{WRAPPER}} .blockart-button-icon { margin-right: {{VALUE}}; }"},{condition:[{key:"icon",relation:"!=",value:""},{key:"iconPosition",relation:"==",value:"right"}],selector:"{{WRAPPER}} .blockart-button-icon { margin-left: {{VALUE}}; }"}]},color1:{type:"string",default:"#fff",style:[{condition:[{key:"style",relation:"==",value:"filled"}],selector:"{{WRAPPER}} .blockart-button-link { color: {{VALUE}}; }{{WRAPPER}} .blockart-button-icon .blockart-icon { fill: {{VALUE}}; }"}]},color2:{type:"string",default:"#2563EB",style:[{condition:[{key:"style",relation:"!=",value:"filled"}],selector:"{{WRAPPER}} .blockart-button-link{ color: {{VALUE}}; }{{WRAPPER}} .blockart-button-icon .blockart-icon { fill: {{VALUE}}; }"}]},hoverColor1:{type:"string",default:"",style:[{condition:[{key:"style",relation:"==",value:"filled"}],selector:"{{WRAPPER}} .blockart-button-link:hover { color: {{VALUE}} }{{WRAPPER}} .blockart-button-link:hover .blockart-button-icon .blockart-icon { fill: {{VALUE}} }{{WRAPPER}} .blockart-button-link:focus { color: {{VALUE}} }{{WRAPPER}} .blockart-button-link:focus .blockart-button-icon .blockart-icon { fill: {{VALUE}} }{{WRAPPER}} .blockart-button-link:active { color: {{VALUE}} }{{WRAPPER}} .blockart-button-link:active .blockart-button-icon .blockart-icon { fill: {{VALUE}} }"}]},hoverColor2:{type:"string",default:"",style:[{condition:[{key:"style",relation:"!=",value:"filled"}],selector:"{{WRAPPER}} .blockart-button-link:hover { color: {{VALUE}} }{{WRAPPER}} .blockart-button-link:hover .blockart-button-icon .blockart-icon { fill: {{VALUE}} }{{WRAPPER}} .blockart-button-link:focus { color: {{VALUE}} }{{WRAPPER}} .blockart-button-link:focus .blockart-button-icon .blockart-icon { fill: {{VALUE}} }{{WRAPPER}} .blockart-button-link:active { color: {{VALUE}} }{{WRAPPER}} .blockart-button-link:active .blockart-button-icon .blockart-icon { fill: {{VALUE}} }"}]},background1:{type:"object",default:{background:1,type:"color",color:"#2563eb"},style:[{condition:[{key:"style",relation:"==",value:"filled"}],selector:"{{WRAPPER}} .blockart-button-link"}]},background2:{type:"object",default:{background:1},style:[{condition:[{key:"style",relation:"==",value:"outline"}],selector:"{{WRAPPER}} .blockart-button-link.is-style-outline"}]},hoverBackground1:{type:"object",default:{background:1},style:[{condition:[{key:"style",relation:"==",value:"filled"}],selector:"{{WRAPPER}} .blockart-button-link:hover, {{WRAPPER}} .blockart-button-link:focus, {{WRAPPER}} .blockart-button-link:active"}]},hoverBackground2:{type:"object",default:{background:1},style:[{condition:[{key:"style",relation:"==",value:"outline"}],selector:"{{WRAPPER}} .blockart-button-link.is-style-outline:hover, {{WRAPPER}} .blockart-button-link.is-style-outline:focus, {{WRAPPER}} .blockart-button-link.is-style-outline:active"}]},border1:{type:"object",default:{border:1,radius:{desktop:{lock:!0}},size:{desktop:{lock:!0}}},style:[{condition:[{key:"style",relation:"==",value:"filled"}],selector:"{{WRAPPER}} .blockart-button-link"}]},hoverBorder1:{type:"object",default:{border:1,radius:{desktop:{lock:!0}},size:{desktop:{lock:!0}}},style:[{condition:[{key:"style",relation:"==",value:"filled"}],selector:"{{WRAPPER}} .blockart-button-link:hover, {{WRAPPER}} .blockart-button-link:focus, {{WRAPPER}} .blockart-button-link:active"}]},border2:{type:"object",default:{border:1,color:"#2563EB",type:"solid",radius:{desktop:{top:2,right:2,bottom:2,left:2,unit:"px",lock:!0}},size:{desktop:{top:1,right:1,bottom:1,left:1,unit:"px",lock:!0}}},style:[{condition:[{key:"style",relation:"==",value:"outline"}],selector:"{{WRAPPER}} .blockart-button-link"}]},hoverBorder2:{type:"object",default:{border:1,radius:{desktop:{lock:!0}},size:{desktop:{lock:!0}}},style:[{condition:[{key:"style",relation:"==",value:"outline"}],selector:"{{WRAPPER}} .blockart-button-link:hover, {{WRAPPER}} .blockart-button-link:focus, {{WRAPPER}} .blockart-button-link:active"}]},boxShadow:{type:"object",default:{boxShadow:1},style:[{selector:"{{WRAPPER}} .blockart-button-link"}]},boxShadowHover:{type:"object",default:{boxShadow:1},style:[{selector:"{{WRAPPER}} .blockart-button-link:hover, {{WRAPPER}} .blockart-button-link:focus, {{WRAPPER}} .blockart-button-link:active"}]},...X},MH={attributes:{...RH,alignment:{type:"object"}},supports:{className:!1,align:!1,color:{background:!1,gradient:!1,text:!1}},save:e=>{const{attributes:{clientId:t,text:r,className:n,cssID:a,link:o,size:i,style:l,icon:s,iconPosition:c,blockHTML:u,buttonAnimation:d}}=e,p=null!=u?u:"div";return G().createElement(p,{id:null!=a?a:void 0,className:SH()(`blockart-button blockart-button-${t} `,n),"data-aos":d&&"none"!==d?d:void 0},G().createElement(kH,{tagName:"a",htmlAttrs:{className:SH()("blockart-button-link",i&&`is-${i}`,l&&`is-style-${l}`),href:o&&o.url?o.url:null,target:o&&o.newTab?"_blank":null,rel:o&&o.newTab?"noopener":null}},s&&""!==s.icon&&s.enable&&"left"===c&&G().createElement("span",{className:"blockart-button-icon"},G().createElement(cz,{name:s.icon})),G().createElement(q.RichText.Content,{value:r}),s&&""!==s.icon&&s.enable&&"right"===c&&G().createElement("span",{className:"blockart-button-icon"},G().createElement(cz,{name:s.icon}))))}},TH=MH,IH={attributes:{...RH,alignment:{type:"object"}},supports:{className:!1,align:!1,color:{background:!1,gradient:!1,text:!1}},save:e=>{const{attributes:{clientId:t,text:r,className:n,cssID:a,link:o,size:i,style:l,icon:s,iconPosition:c,blockHTML:u,buttonAnimation:d}}=e,p=null!=u?u:"div";return G().createElement(p,{id:null!=a?a:void 0,className:SH()(`blockart-button blockart-button-${t} `,n),"data-aos":d&&"none"!==d?d:void 0},G().createElement(kH,{tagName:"a",htmlAttrs:{className:SH()("blockart-button-link",i&&`is-${i}`,l&&`is-style-${l}`),href:o&&o.url?o.url:null,target:o&&o.newTab?"_blank":null,rel:o&&o.newTab?"noopener":null}},s&&""!==s.icon&&s.enable&&"left"===c&&G().createElement("span",{className:"blockart-button-icon"},G().createElement(cz,{type:"frontendIcon",name:s.icon})),G().createElement(q.RichText.Content,{value:r}),s&&""!==s.icon&&s.enable&&"right"===c&&G().createElement("span",{className:"blockart-button-icon"},G().createElement(cz,{type:"frontendIcon",name:s.icon}))))}},OH=[TH,IH],LH=e=>{var t,r;const{name:n,className:a="",size:o=24,...i}=e;if(!n)return null;const l=n.split("-").map(((e,t)=>0===t?e:Pv(e))).join(""),s=null!==(t=null!==(r=kv.icons.all?.[l])&&void 0!==r?r:kv.icons.all?.[n])&&void 0!==t?t:null;if(!s)return null;const c={width:o,height:o,...lz(s?.svg)?.props,className:Cv("blockart-icon",a),...i};return(0,oz.createElement)(Zv.SVG,c)},DH=e=>{const{attributes:{clientId:t,link:r,style:n,size:a,padding:o,typography:i,icon:l,iconPosition:s,iconGap:c,iconSize:u,color1:d,color2:p,background1:m,background2:h,hoverBackground1:f,hoverBackground2:v,border1:b,hoverBorder1:g,border2:y,hoverBorder2:E,boxShadow:k,boxShadowHover:w,blockMargin:x,blockPadding:_,blockZIndex:P,cssID:C,hideOnDesktop:A,hideOnTablet:S,hideOnMobile:R,className:M,width:T,buttonAnimation:I,positionProperty:O,blockHTML:L,hoverColor1:D,hoverColor2:B},setAttributes:z}=e;return G().createElement(G().Fragment,null,G().createElement(bH,null),G().createElement(mH,null,G().createElement(gH,{title:(0,K.__)("Layout","blockart"),initialOpen:!0},G().createElement(WF,{label:(0,K.__)("URL","blockart"),onChange:e=>z({link:e}),value:r,placeholder:"https://",newTab:!0,noFollow:!0}),G().createElement(MD,{label:(0,K.__)("Width","blockart"),value:T,onChange:e=>z({width:e}),min:25,max:100,step:5,forceShowUnit:!0,resetAttributeKey:"width",responsive:!0,defaultUnit:"%"}),G().createElement(HF,{value:n,onChange:e=>{z({style:e})},label:(0,K.__)("Type","blockart"),resetAttributeKey:"style",groupProps:{sx:{".chakra-button":{minH:"32px",svg:{w:6,h:6}},svg:{fill:"#909090 !important",width:"40px !important"},".chakra-button[data-active] svg, .chakra-button:active svg":{fill:"#ffffff !important"}}}},G().createElement(FF,{value:"filled",title:"Filled"},G().createElement(LI,null)),G().createElement(FF,{value:"outline",title:"Outline"},G().createElement(DI,null)),G().createElement(FF,{value:"plain",title:"Plain"},G().createElement(OI,null)),G().createElement(FF,{value:"link",title:"Link"},G().createElement(BI,null))),("filled"===n||"outline"===n)&&G().createElement(G().Fragment,null,G().createElement(Ba,{my:"18px"},G().createElement(HF,{value:a,onChange:e=>{z({size:e})},label:(0,K.__)("Size","blockart"),resetAttributeKey:"size",groupProps:{sx:{".chakra-button":{minH:"32px",svg:{w:6,h:6}}}}},G().createElement(FF,{value:"small"},"Small"),G().createElement(FF,{value:"medium"},"Medium"),G().createElement(FF,{value:"large"},"Large"),G().createElement(FF,{value:"custom"},"Custom"))),a&&"custom"===a&&G().createElement($V,{value:o||{},responsive:!0,label:(0,K.__)("Padding","blockart"),defaultUnit:"px",units:["px","rem","em","%"],onChange:e=>z({padding:e}),type:"padding"}))),G().createElement(gH,{title:(0,K.__)("Icons","blockart")},G().createElement(G().Fragment,null,G().createElement(LF,{hasToggle:!0,value:l||{},onChange:e=>z({icon:e})}),l?.enable&&G().createElement(G().Fragment,null,G().createElement(HF,{value:s,onChange:e=>{z({iconPosition:e})},label:(0,K.__)("Position","blockart"),resetAttributeKey:"iconPosition",groupProps:{sx:{".chakra-button":{minH:"32px",svg:{w:6,h:6},"&[data-active]":{svg:{fill:"#fff !important"}}}}}},G().createElement(FF,{value:"left"},(0,K.__)("Before Text","blockart")),G().createElement(FF,{value:"right"},(0,K.__)("After Text","blockart"))),G().createElement(MD,{resetAttributeKey:"iconSize",label:(0,K.__)("Size","blockart"),min:0,max:50,value:u,onChange:e=>z({iconSize:e}),responsive:!0,units:["px","em","%"]}),G().createElement(MD,{resetAttributeKey:"iconGap",label:(0,K.__)("Gap","blockart"),min:0,max:60,value:c,onChange:e=>z({iconGap:e}),responsive:!0,units:["px","em","%"]}))))),G().createElement(hH,null,G().createElement(gH,{title:(0,K.__)("Text","blockart"),initialOpen:!0},G().createElement(OD,{onChange:e=>z({typography:e}),value:i,resetAttributeKey:"typography"}),G().createElement(BV,{label:(0,K.__)("Text Color","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:"filled"===n?d:p,id:"color"},{color:"filled"===n?D:B,id:"color"}]}));return Iv(d)||Iv(p)||Iv(D)||Iv(B)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-10px",bg:"white",borderRadius:"full"})):G().createElement(t,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart")),G().createElement(Da,null,(0,K.__)("Hover","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:"filled"===n?d:p,resetKey:"filled"===n?"color1":"color2",onReset:e=>{z("filled"===n?{color1:e}:{color2:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{onChange:e=>z("filled"===n?{color1:e}:{color2:e}),label:(0,K.__)("Color","blockart"),value:"filled"===n?d:p,resetKey:"filled"===n?"color1":"color2"})),G().createElement(Fa,null,G().createElement(bO,{saved:"filled"===n?D:B,resetKey:"filled"===n?"hoverColor1":"hoverColor2",onReset:e=>{z("filled"===n?{hoverColor1:e}:{hoverColor2:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{onChange:e=>z("filled"===n?{hoverColor1:e}:{hoverColor2:e}),label:(0,K.__)("Color","blockart"),value:"filled"===n?D:B,resetKey:"filled"===n?"hoverColor1":"hoverColor2"})))))),G().createElement(gH,{title:(0,K.__)("Background","blockart")},G().createElement(BV,{label:(0,K.__)("Type","blockart")},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart")),G().createElement(Da,null,(0,K.__)("Hover","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:"filled"===n?m:h,resetKey:"filled"===n?"background1":"background2",onReset:e=>{z("filled"===n?{background1:e}:{background2:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(RV,{value:"filled"===n?m:h,onChange:e=>{z("filled"===n?{background1:e}:{background2:e})}})),G().createElement(Fa,null,G().createElement(bO,{saved:"filled"===n?f:v,resetKey:"filled"===n?"hoverBackground1":"hoverBackground2",onReset:e=>{z("filled"===n?{hoverBackground1:e}:{hoverBackground2:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(RV,{value:"filled"===n?f:v,onChange:e=>{z("filled"===n?{hoverBackground1:e}:{hoverBackground2:e})}})))))),G().createElement(gH,{title:(0,K.__)("Border","blockart")},G().createElement(Oa,{variant:"border"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart")),G().createElement(Da,null,(0,K.__)("Hover","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(OV,{resetAttributeKey:"filled"===n?"border1":"border2",value:"filled"===n?b:y,onChange:e=>z("filled"===n?{border1:e}:{border2:e})}),G().createElement(FV,{resetAttributeKey:"boxShadow",value:k,onChange:e=>z({boxShadow:e})})),G().createElement(Fa,null,G().createElement(OV,{resetAttributeKey:"filled"===n?"hoverBorder1":"hoverBorder2",value:"filled"===n?g:E,onChange:e=>z("filled"===n?{hoverBorder1:e}:{hoverBorder2:e})}),G().createElement(FV,{resetAttributeKey:"boxShadowHover",value:w,onChange:e=>z({boxShadowHover:e})})))))),G().createElement(fH,null,G().createElement(gH,{title:(0,K.__)("Animation","blockart"),initialOpen:!0},G().createElement(VV,{label:(0,K.__)("Effects","blockart"),onChange:e=>{z({buttonAnimation:e})},options:Q,value:I})),G().createElement(gH,{title:(0,K.__)("Position","blockart")},G().createElement(NF,{resetAttributeKey:"positionProperty",value:O,onChange:e=>z({positionProperty:e})})),G().createElement(yH,{blockMargin:x,setAttributes:z,blockPadding:_,blockZIndex:P,cssID:C,className:M,hasblockHTML:!1}),G().createElement(EH,{hideOnDesktop:A,hideOnTablet:S,hideOnMobile:R,setAttributes:z})))},BH=e=>{let t="";if(!e?.position||"none"===e.position)return t;t+=`position: ${e.position};`;for(const n of["top","right","bottom","left"]){var r;const a=null!==(r=e?.[n])&&void 0!==r?r:void 0;_v(a)||(t+=`${n}: ${a}px;`)}return t},zH=CH.name,NH={...CH,icon:G().createElement(cz,{type:"blockIcon",name:"button",size:24}),edit:e=>{const{attributes:{text:t,style:r,size:n,icon:a,iconPosition:o,width:i,cssID:l,className:s,buttonAnimation:c,positionProperty:u,typography:d},setAttributes:p,clientId:m}=e,{clientId:h}=jv(e),{device:f}=ib(),{CopyPasterStyleBlockControl:v}=Yv(),{Style:b}=Fv({blockName:"button",clientId:h,attributes:e.attributes,device:f}),{Animation:g}=(e=>{const{id:t,type:r}=e;return(0,U.useEffect)((()=>(Ev().init(),()=>{Ev().refreshHard()})),[]),{Animation:(0,U.useMemo)((()=>{const e=e=>G().createElement("div",{className:Cv("blockart-animation",e.className),"data-aos":r,"data-aos-id":t,"data-aos-once":!0},e.children);return e.displayName="BlockArtAnimation",e}),[t,r])}})({id:h,type:c}),y=(0,q.useBlockProps)({className:Cv(`blockart-button blockart-button-${h}`,s)}),E=BH(u),k=(0,Hv.useSelect)((t=>{const{getBlockRootClientId:r}=t("core/block-editor");return r(e.clientId)}),[e.clientId]),w=t=>{const{getBlockIndex:r,getBlocks:n}=(0,Hv.select)("core/block-editor"),{replaceInnerBlocks:a}=(0,Hv.dispatch)("core/block-editor"),o=r(e.clientId,k),i=[...n(k)];"delete"===t?i.splice(o,1):i.splice(o+1,0,(0,$.createBlock)("blockart/button-inner")),a(k,i,!1)},x=i?.[f];return G().createElement(G().Fragment,null,G().createElement(DH,{attributes:e.attributes,setAttributes:p}),G().createElement(q.BlockControls,{group:"block"},G().createElement(Zv.ToolbarGroup,null,G().createElement(Zv.Button,{label:(0,K.__)("Add button","blockart"),onClick:()=>w("add"),icon:"plus"}),G().createElement(Zv.Button,{label:(0,K.__)("Delete button","blockart"),onClick:()=>w("delete"),icon:"trash"}))),G().createElement(v,{withBlockControls:!0}),G().createElement(b,null),E&&G().createElement("style",null,`[data-block="${m}"] { ${E} }`),x&&G().createElement("style",null,`[data-aos-id="${h}"] { width: ${x}%;}`),G().createElement(g,null,G().createElement("div",(0,Ut.A)({},y,{id:l}),G().createElement("div",{className:Cv("blockart-button-link",n&&("filled"===r||"outline"===r)&&`is-${n}`,r&&`is-style-${r}`,d?._className)},a&&""!==a.icon&&a.enable&&"left"===o&&G().createElement("span",{className:"blockart-button-icon"},G().createElement(LH,{name:a.icon})),G().createElement(q.RichText,{value:t,placeholder:(0,K.__)("Text Here…","blockart"),onChange:e=>{p({text:e})},allowedFormats:["core/bold","core/italic"]}),a&&""!==a.icon&&a.enable&&"right"===o&&G().createElement("span",{className:"blockart-button-icon"},G().createElement(LH,{name:a.icon}))))))},save:e=>{const{attributes:{clientId:t,text:r,className:n,cssID:a,link:o,size:i,style:l,icon:s,iconPosition:c,blockHTML:u,buttonAnimation:d,typography:p}}=e,m=null!=u?u:"div";return G().createElement(m,{id:null!=a?a:void 0,className:Cv(`blockart-button blockart-button-${t} `,n),"data-aos":d&&"none"!==d?d:void 0},G().createElement(kH,{tagName:"a",htmlAttrs:{className:Cv("blockart-button-link",i&&`is-${i}`,l&&`is-style-${l}`,p?._className),href:o&&o.url?o.url:null,target:o&&o.newTab?"_blank":null,rel:o&&o.newTab?"noopener":null}},s&&""!==s.icon&&s.enable&&"left"===c&&G().createElement("span",{className:"blockart-button-icon"},G().createElement(LH,{name:s.icon})),G().createElement(q.RichText.Content,{value:r}),s&&""!==s.icon&&s.enable&&"right"===c&&G().createElement("span",{className:"blockart-button-icon"},G().createElement(LH,{name:s.icon}))))},deprecated:OH},VH=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","name":"blockart/button","title":"Buttons","description":"Redirect users to your important pages or websites by clicking button.","keywords":["button","icon"],"category":"blockart","textdomain":"blockart","supports":{"className":false,"customClassName":false,"html":false},"example":{"attributes":{}},"attributes":{"clientId":{"type":"string"},"justification":{"type":"object"},"orientation":{"type":"object"},"alignment":{"type":"object"},"flexWrap":{"type":"boolean","default":true},"rowGap":{"type":"object","default":{"desktop":{"value":8,"unit":"px"}},"style":[{"selector":"{{WRAPPER}} { row-gap: {{VALUE}}; }"}]},"columnGap":{"type":"object","default":{"desktop":{"value":8,"unit":"px"}},"style":[{"selector":"{{WRAPPER}} { column-gap: {{VALUE}}; }"}]},"positionProperty":{"type":"object","default":{"positionProperty":1,"position":"none"},"style":[{"selector":"{{WRAPPER}}"}]},"blockMargin":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { margin: {{VALUE}}; }"}]},"blockPadding":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { padding: {{VALUE}}; }"}]},"blockHTML":{"type":"string","default":"div"},"blockZIndex":{"type":"number","style":[{"selector":"{{WRAPPER}} { z-index: {{VALUE}}; }"}]},"blockOpacity":{"type":"number","style":[{"selector":"{{WRAPPER}} { opacity: {{VALUE}}; }"}]},"cssID":{"type":"string"},"animation":{"type":"string"},"interaction":{"type":"object"},"position":{"type":"object"},"hideOnDesktop":{"type":"boolean","style":[{"selector":"@media (min-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnTablet":{"type":"boolean","style":[{"selector":"@media (min-width:48em) and (max-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} { display: none; } }"}]},"colReverseOnTablet":{"type":"boolean","style":[{"selector":"@media (max-width:62em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"colReverseOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"blockCSS":{"type":"string"},"className":{"type":"string"}},"style":"blockart-blocks","editorScript":"blockart-blocks","editorStyle":"blockart-blocks-editor","viewScript":"blockart-frontend-common"}'),FH={attributes:{...RH,alignment:{type:"object"}},supports:{className:!1,align:!1,color:{background:!1,gradient:!1,text:!1}},save:e=>{const{attributes:{clientId:t,text:r,className:n,cssID:a,link:o,size:i,style:l,icon:s,iconPosition:c}}=e,u=SH()("blockart-button-link",i&&`is-${i}`,l&&`is-style-${l}`);return G().createElement("div",{id:a||null,className:(0,Z.applyFilters)("blockart.button.classnames",SH()(`blockart-button blockart-button-${t} `,n))},G().createElement(kH,{tagName:"a",htmlAttrs:{className:u,href:o&&o.url?o.url:null,target:o&&o.newTab?"_blank":null,rel:o&&o.newTab?"noopener":null}},s&&""!==s.icon&&s.enable&&"left"===c&&G().createElement("span",{className:"blockart-button-icon"},G().createElement(cz,{type:"frontendIcon",name:s.icon,role:"img"})),G().createElement(q.RichText.Content,{value:r}),s&&""!==s.icon&&s.enable&&"right"===c&&G().createElement("span",{className:"blockart-button-icon"},G().createElement(cz,{type:"frontendIcon",name:s.icon,role:"img"}))))},migrate:e=>{var t;const r=[(0,$.createBlock)("blockart/button-inner",{...e})];return[{justification:null!==(t=e?.alignment)&&void 0!==t?t:{desktop:"left"},flexWrap:!0,orientation:{desktop:"horizontal"}},r]}},HH=FH,jH={attributes:{...RH,alignment:{type:"object"}},supports:{className:!1,align:!1,color:{background:!1,gradient:!1,text:!1}},save:e=>{const{attributes:{clientId:t,text:r,className:n,cssID:a,link:o,size:i,style:l,icon:s,iconPosition:c}}=e,u=SH()("blockart-button-link",i&&`is-${i}`,l&&`is-style-${l}`);return G().createElement("div",{id:a||null,className:SH()(`blockart-button blockart-button-${t} `,n)},G().createElement(kH,{tagName:"a",htmlAttrs:{className:u,href:o&&o.url?o.url:null,target:o&&o.newTab?"_blank":null,rel:o&&o.newTab?"noopener":null}},s&&""!==s.icon&&s.enable&&"left"===c&&G().createElement("span",{className:"blockart-button-icon"},G().createElement(cz,{type:"frontendIcon",name:s.icon})),G().createElement(q.RichText.Content,{value:r}),s&&""!==s.icon&&s.enable&&"right"===c&&G().createElement("span",{className:"blockart-button-icon"},G().createElement(cz,{type:"frontendIcon",name:s.icon}))))},migrate:e=>{var t;const r=[(0,$.createBlock)("blockart/button-inner",{...e})];return[{justification:null!==(t=e?.alignment)&&void 0!==t?t:{desktop:"left"},flexWrap:!0,orientation:{desktop:"horizontal"}},r]}},WH=jH,$H={attributes:{clientId:{type:"string"},justification:{type:"string"},verticalAlignment:{type:"string"},orientation:{type:"string",default:"horizontal"},flexWrap:{type:"boolean",default:!0},flexGap:{type:"object",default:{value:8,unit:"px"},style:[{selector:"{{WRAPPER}} { gap: {{VALUE}}; }"}]},positionProperty:{type:"object",default:{positionProperty:1},style:[{selector:"{{WRAPPER}}"}]},...X},supports:{className:!1,customClassName:!1,html:!1},migrate:e=>{const t={};return e.justification&&("string"==typeof e.justification?t.justification={desktop:e.justification}:t.justification=e.justification),e.orientation&&("string"==typeof e.orientation?t.orientation={desktop:e.orientation}:t.orientation=e.orientation),{...e,...t}},save:({attributes:{clientId:e,className:t,justification:r,verticalAlignment:n,orientation:a,flexWrap:o}})=>{const i=SH()(`blockart-buttons blockart-buttons-${e}`,{[`is-justification-${r}`]:!!r,[`is-vertical-alignment-${n}`]:!!n&&"horizontal"===a,[`is-${a}`]:!!a,"is-wrap":o},t);return G().createElement("div",{className:i},G().createElement(q.InnerBlocks.Content,null))}},ZH=[HH,WH,$H],UH=e=>{const{attributes:{orientation:t,justification:r,rowGap:n,columnGap:a,flexWrap:o,blockMargin:i,blockPadding:l,blockZIndex:s,cssID:c,hideOnDesktop:u,hideOnTablet:d,hideOnMobile:p,className:m,alignment:h},setAttributes:f}=e;return G().createElement(G().Fragment,null,G().createElement(bH,null),G().createElement(mH,null,G().createElement(gH,{title:(0,K.__)("Layout","blockart"),initialOpen:!0},G().createElement(HF,{value:t,onChange:e=>{f({orientation:e})},label:(0,K.__)("Orientation","blockart"),responsive:!0,resetAttributeKey:"orientation",groupProps:{sx:{".chakra-button":{minH:"32px",svg:{w:6,h:6},"&[data-active]":{svg:{fill:"#fff !important"}}}}}},G().createElement(FF,{leftIcon:G().createElement(GT,null),value:"horizontal"}),G().createElement(FF,{leftIcon:G().createElement($T,null),value:"vertical"})),G().createElement(Ba,{my:"18px"},G().createElement(jF,{checked:null!=o&&o,label:(0,K.__)("Wrap to multiple lines","blockart"),onChange:()=>f({flexWrap:!o})})),G().createElement(MD,{label:(0,K.__)("Row Gap","blockart"),value:n,onChange:e=>f({rowGap:e}),min:0,max:100,step:1,units:["px","em","rem","%"],responsive:!0,resetAttributeKey:"rowGap"}),G().createElement(MD,{label:(0,K.__)("Column Gap","blockart"),value:a,onChange:e=>f({columnGap:e}),min:0,max:100,step:1,units:["px","em","rem","%"],responsive:!0,resetAttributeKey:"columnGap"}))),G().createElement(hH,null,G().createElement(gH,{title:(0,K.__)("Properties","blockart"),initialOpen:!0},G().createElement(HF,{value:r,onChange:e=>{f({justification:e})},label:(0,K.__)("Justification","blockart"),responsive:!0,groupProps:{sx:{".chakra-button":{minH:"32px","&[data-active]":{svg:{fill:"#fff !important"}}}}}},G().createElement(FF,{value:"left"},G().createElement(aT,null)),G().createElement(FF,{value:"center"},G().createElement(nT,null)),G().createElement(FF,{value:"right"},G().createElement(oT,null)),G().createElement(FF,{value:"space-between"},G().createElement(tT,null)),G().createElement(FF,{value:"space-around"},G().createElement(rT,null))),G().createElement(Ba,{mt:"18px"},G().createElement(HF,{value:h,onChange:e=>{f({alignment:e})},label:(0,K.__)("Alignment","blockart"),responsive:!0,groupProps:{sx:{".chakra-button":{minH:"32px",svg:{w:6,h:6},"&[data-active]":{svg:{fill:"#fff !important"}}}}}},G().createElement(FF,{value:"top"},G().createElement(QM,null)),G().createElement(FF,{value:"center"},G().createElement(JM,null)),G().createElement(FF,{value:"bottom"},G().createElement(eT,null)),G().createElement(FF,{value:"stretch"},G().createElement(rT,null)))))),G().createElement(fH,null,G().createElement(yH,{blockMargin:i,setAttributes:f,blockPadding:l,blockZIndex:s,cssID:c,className:m,hasblockHTML:!1}),G().createElement(EH,{hideOnDesktop:u,hideOnTablet:d,hideOnMobile:p,setAttributes:f})))},GH=e=>{const{orientation:t,justification:r,alignment:n}=e;let a={};for(const e in Y){const o="tablet"===e?"-md":"mobile"===e?"-sm":"",i=t?.[e],l=r?.[e],s=n?.[e];i&&(a?.[e]||(a[e]={}),a[e][`is-${i}${o}`]=!0),l&&(a?.[e]||(a[e]={}),a[e][`justify-${l}${o}`]=!0),s&&(a?.[e]||(a[e]={}),a[e][`align-${s}${o}`]=!0)}return a},qH="blockart/button-inner",KH=VH.name,YH={...VH,icon:G().createElement(cz,{type:"blockIcon",name:"buttons",size:24}),edit:e=>{var t,r,n,a,o,i;const{attributes:{orientation:l,justification:s,flexWrap:c,cssID:u,className:d,alignment:p,positionProperty:m},setAttributes:h,clientId:f}=e,{clientId:v}=jv(e),{device:b}=ib(),{CopyPasterStyleBlockControl:g}=Yv(),{Style:y}=Fv({blockName:"buttons",clientId:v,attributes:e.attributes,device:b}),E=GH({orientation:l,justification:s,alignment:p}),k=(0,q.useInnerBlocksProps)({id:u,className:Cv(`blockart-buttons blockart-buttons-${v}`,{"is-wrap":c,..."mobile"===b?null!==(t=null!==(r=null!==(n=E?.mobile)&&void 0!==n?n:E?.tablet)&&void 0!==r?r:E?.desktop)&&void 0!==t?t:{}:"tablet"===b?null!==(a=null!==(o=E?.tablet)&&void 0!==o?o:E?.desktop)&&void 0!==a?a:{}:null!==(i=E?.desktop)&&void 0!==i?i:{}},d)},{allowedBlocks:[qH],template:[[qH]],templateLock:!1,templateInsertUpdatesSelection:!0,renderAppender:q.InnerBlocks.DefaultBlockAppender}),w=BH(m);return G().createElement(G().Fragment,null,G().createElement(UH,{attributes:e.attributes,setAttributes:h}),G().createElement(q.BlockControls,{group:"block"},G().createElement(Zv.ToolbarGroup,null,G().createElement(Zv.Button,{label:(0,K.__)("Add Button","blockart"),onClick:()=>{const{getBlocks:t}=(0,Hv.select)("core/block-editor"),{replaceInnerBlocks:r}=(0,Hv.dispatch)("core/block-editor"),n=[...t(e.clientId)];n.push((0,$.createBlock)("blockart/button-inner")),r(e.clientId,n,!1)},icon:"plus"}))),G().createElement(g,{withBlockControls:!0}),G().createElement(y,null),w&&G().createElement("style",null,`.wp-block[data-block="${f}"] { ${w} }`),G().createElement("div",k))},save:e=>{const{attributes:{clientId:t,className:r,flexWrap:n,orientation:a,justification:o,alignment:i,blockHTML:l}}=e,s=GH({alignment:i,orientation:a,justification:o}),c=q.useInnerBlocksProps.save({className:Cv(`blockart-buttons blockart-buttons-${t}`,{"is-wrap":n},...Object.values(s),r)}),u=null!=l?l:"div";return G().createElement(u,c)},deprecated:ZH},XH=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","name":"blockart/call-to-action","title":"Call to Action","description":"Create desired action on your site","keywords":["call to action","cta"],"category":"blockart","textdomain":"blockart","supports":{"className":false,"customClassName":false},"example":{"attributes":{}},"attributes":{"clientId":{"type":"string"},"layout":{"type":"string","default":"layout-1"},"titleEnable":{"type":"boolean","default":true},"titleColor":{"type":"string","style":[{"selector":"{{WRAPPER}} .blockart-title { color: {{VALUE}} }"}]},"titleTypography":{"type":"object","default":{"typography":1},"style":[{"selector":"{{WRAPPER}} .blockart-title"}]},"textEnable":{"type":"boolean","default":true},"buttonEnable":{"type":"boolean","default":true},"textColor":{"type":"string","style":[{"selector":"{{WRAPPER}} .blockart-text { color: {{VALUE}} }"}]},"textTypography":{"type":"object","default":{"typography":1},"style":[{"selector":"{{WRAPPER}} .blockart-text"}]},"markup":{"type":"string","default":"h2"},"link":{"type":"object"},"title":{"type":"string","default":"Call to Action"},"textButton":{"type":"string","default":"Button"},"text":{"type":"string","default":"Description for this block. Use this space to describing your block. Any text will do. Description to this block. You can use this space for describing your block."},"buttonColor":{"type":"string","default":"#FFFFFF","style":[{"selector":"{{WRAPPER}} .blockart-button-wrapper .blockart-button {color: {{VALUE}}; }"}]},"buttonBackground":{"type":"object","default":{"background":1,"type":"color","color":"#2563eb"},"style":[{"selector":"{{WRAPPER}} .blockart-button-wrapper .blockart-button"}]},"buttonTypography":{"type":"object","default":{"typography":1,"weight":400},"style":[{"selector":"{{WRAPPER}} .blockart-button-wrapper .blockart-button"}]},"buttonBorderEnable":{"type":"boolean","default":true},"buttonBorder":{"type":"object","default":{"border":1,"radius":{"desktop":{"lock":true}},"size":{"desktop":{"lock":true}}},"style":[{"selector":"{{WRAPPER}} .blockart-button-wrapper .blockart-button"}]},"background":{"type":"object","default":{"background":1},"style":[{"selector":"{{WRAPPER}}.blockart-call-to-action"}]},"alignment":{"type":"object","style":[{"selector":"{{WRAPPER}} {text-align: {{VALUE}}; } {{WRAPPER}}.blockart-call-to-action .blockart-content-wrapper {text-align: {{VALUE}}; }"}]},"size":{"type":"string"},"border":{"type":"object","default":{"border":1,"radius":{"desktop":{"lock":true}},"size":{"desktop":{"lock":true}}},"style":[{"selector":"{{WRAPPER}}"}]},"hoverBorder":{"type":"object","default":{"border":1,"radius":{"desktop":{"lock":true}},"size":{"desktop":{"lock":true}}},"style":[{"selector":"{{WRAPPER}}:hover"}]},"boxShadow":{"type":"object","default":{"boxShadow":1},"style":[{"selector":"{{WRAPPER}}"}]},"boxShadowHover":{"type":"object","default":{"boxShadow":1},"style":[{"selector":"{{WRAPPER}}:hover"}]},"blockMargin":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { margin: {{VALUE}}; }"}]},"blockPadding":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}}.blockart-call-to-action { padding: {{VALUE}}; }"}]},"blockZIndex":{"type":"number","style":[{"selector":"{{WRAPPER}} { z-index: {{VALUE}}; }"}]},"cssID":{"type":"string"},"animation":{"type":"string"},"interaction":{"type":"object"},"position":{"type":"object"},"hideOnDesktop":{"type":"boolean","style":[{"selector":"@media (min-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnTablet":{"type":"boolean","style":[{"selector":"@media (min-width:48em) and (max-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} { display: none; } }"}]},"colReverseOnTablet":{"type":"boolean","style":[{"selector":"@media (max-width:62em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"colReverseOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"blockCSS":{"type":"string"},"className":{"type":"string"},"highlightColor":{"type":"string","default":"#fff","style":[{"selector":".blockart-heading{{WRAPPER}} > .blockart-highlight { color: {{VALUE}} }"}]},"icon":{"type":"object","default":{"enable":false,"icon":""}},"iconPosition":{"type":"string","default":"right"},"iconSize":{"type":"object","style":[{"condition":[{"key":"icon","relation":"!=","value":""}],"selector":"{{WRAPPER}} .blockart-button-icon .blockart-icon { width: {{VALUE}}; height: auto; }"}]},"iconGap":{"type":"object","style":[{"condition":[{"key":"icon","relation":"!=","value":""},{"key":"iconPosition","relation":"==","value":"left"}],"selector":"{{WRAPPER}} .blockart-button-icon { margin-right: {{VALUE}}; }"},{"condition":[{"key":"icon","relation":"!=","value":""},{"key":"iconPosition","relation":"==","value":"right"}],"selector":"{{WRAPPER}} .blockart-button-icon { margin-left: {{VALUE}}; }"}]}},"style":"blockart-blocks","editorScript":"blockart-blocks","editorStyle":"blockart-blocks-editor"}'),QH=[{label:(0,K.__)("Heading 1","blockart"),value:"h1"},{label:(0,K.__)("Heading 2","blockart"),value:"h2"},{label:(0,K.__)("Heading 3","blockart"),value:"h3"},{label:(0,K.__)("Heading 4","blockart"),value:"h4"},{label:(0,K.__)("Heading 5","blockart"),value:"h5"},{label:(0,K.__)("Heading 6","blockart"),value:"h6"},{label:(0,K.__)("Paragraph","blockart"),value:"p"},{label:(0,K.__)("Div","blockart"),value:"div"}],JH={h1:"M9 5h2v10H9v-4H5v4H3V5h2v4h4V5zm6.6 0c-.6.9-1.5 1.7-2.6 2v1h2v7h2V5h-1.4z",h2:"M7 5h2v10H7v-4H3v4H1V5h2v4h4V5zm8 8c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6V15h8v-2H15z",h3:"M12.1 12.2c.4.3.8.5 1.2.7.4.2.9.3 1.4.3.5 0 1-.1 1.4-.3.3-.1.5-.5.5-.8 0-.2 0-.4-.1-.6-.1-.2-.3-.3-.5-.4-.3-.1-.7-.2-1-.3-.5-.1-1-.1-1.5-.1V9.1c.7.1 1.5-.1 2.2-.4.4-.2.6-.5.6-.9 0-.3-.1-.6-.4-.8-.3-.2-.7-.3-1.1-.3-.4 0-.8.1-1.1.3-.4.2-.7.4-1.1.6l-1.2-1.4c.5-.4 1.1-.7 1.6-.9.5-.2 1.2-.3 1.8-.3.5 0 1 .1 1.6.2.4.1.8.3 1.2.5.3.2.6.5.8.8.2.3.3.7.3 1.1 0 .5-.2.9-.5 1.3-.4.4-.9.7-1.5.9v.1c.6.1 1.2.4 1.6.8.4.4.7.9.7 1.5 0 .4-.1.8-.3 1.2-.2.4-.5.7-.9.9-.4.3-.9.4-1.3.5-.5.1-1 .2-1.6.2-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1l1.1-1.4zM7 9H3V5H1v10h2v-4h4v4h2V5H7v4z",h4:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm10-2h-1v2h-2v-2h-5v-2l4-6h3v6h1v2zm-3-2V7l-2.8 4H16z",h5:"M12.1 12.2c.4.3.7.5 1.1.7.4.2.9.3 1.3.3.5 0 1-.1 1.4-.4.4-.3.6-.7.6-1.1 0-.4-.2-.9-.6-1.1-.4-.3-.9-.4-1.4-.4H14c-.1 0-.3 0-.4.1l-.4.1-.5.2-1-.6.3-5h6.4v1.9h-4.3L14 8.8c.2-.1.5-.1.7-.2.2 0 .5-.1.7-.1.5 0 .9.1 1.4.2.4.1.8.3 1.1.6.3.2.6.6.8.9.2.4.3.9.3 1.4 0 .5-.1 1-.3 1.4-.2.4-.5.8-.9 1.1-.4.3-.8.5-1.3.7-.5.2-1 .3-1.5.3-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1-.1-.1 1-1.5 1-1.5zM9 15H7v-4H3v4H1V5h2v4h4V5h2v10z",h6:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm8.6-7.5c-.2-.2-.5-.4-.8-.5-.6-.2-1.3-.2-1.9 0-.3.1-.6.3-.8.5l-.6.9c-.2.5-.2.9-.2 1.4.4-.3.8-.6 1.2-.8.4-.2.8-.3 1.3-.3.4 0 .8 0 1.2.2.4.1.7.3 1 .6.3.3.5.6.7.9.2.4.3.8.3 1.3s-.1.9-.3 1.4c-.2.4-.5.7-.8 1-.4.3-.8.5-1.2.6-1 .3-2 .3-3 0-.5-.2-1-.5-1.4-.9-.4-.4-.8-.9-1-1.5-.2-.6-.3-1.3-.3-2.1s.1-1.6.4-2.3c.2-.6.6-1.2 1-1.6.4-.4.9-.7 1.4-.9.6-.3 1.1-.4 1.7-.4.7 0 1.4.1 2 .3.5.2 1 .5 1.4.8 0 .1-1.3 1.4-1.3 1.4zm-2.4 5.8c.2 0 .4 0 .6-.1.2 0 .4-.1.5-.2.1-.1.3-.3.4-.5.1-.2.1-.5.1-.7 0-.4-.1-.8-.4-1.1-.3-.2-.7-.3-1.1-.3-.3 0-.7.1-1 .2-.4.2-.7.4-1 .7 0 .3.1.7.3 1 .1.2.3.4.4.6.2.1.3.3.5.3.2.1.5.2.7.1z",p:"M7.411 18V6.005h3.887c1.474 0 2.429.067 2.881.184.687.185 1.257.57 1.726 1.173.452.603.687 1.374.687 2.329 0 .737-.135 1.357-.403 1.86-.268.502-.603.904-1.021 1.189-.403.284-.821.469-1.257.57-.57.117-1.407.167-2.496.167H9.823V18H7.411zm2.412-9.968v3.401h1.324c.955 0 1.591-.05 1.926-.184.319-.118.57-.319.754-.587.185-.268.268-.57.268-.938 0-.435-.117-.787-.385-1.072a1.607 1.607 0 00-.972-.536c-.284-.05-.87-.084-1.742-.084H9.823z",div:"M6.969 6.005h4.423c1.005 0 1.759.084 2.295.235.703.2 1.306.57 1.809 1.105.503.52.871 1.173 1.14 1.944.267.754.385 1.708.385 2.83 0 .99-.118 1.844-.369 2.547-.302.871-.72 1.592-1.273 2.128-.419.402-.989.72-1.709.955-.536.167-1.24.251-2.144.251H6.969V6.005zm2.43 2.027v7.94h1.808c.67 0 1.156-.033 1.458-.1.402-.1.72-.268.972-.502.268-.235.485-.62.636-1.156.168-.536.251-1.273.251-2.195 0-.938-.083-1.641-.25-2.144-.152-.486-.386-.888-.688-1.156-.285-.285-.67-.469-1.122-.57-.335-.067-.989-.117-1.977-.117H9.398z"},ej=({level:e})=>JH.hasOwnProperty(e)?G().createElement("svg",{width:"24",height:"24",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},G().createElement("path",{d:JH[e]})):null,tj=e=>{const{onClose:t,isOpen:r,onToggle:n}=G_(),a=G().useRef(document.querySelector(".interface-interface-skeleton__content"));return G().createElement(Qa,{className:"blockart-sidebar-drawer-component"},G().createElement(Ua,{justify:"space-between"},G().createElement(pf,null,e.label),G().createElement(cf,{variant:"icon",onClick:n},G().createElement(Ba,{w:"5",h:"5",display:"flex",justifyContent:"center",alignItems:"center",bgColor:"gray.100",borderRadius:"sm",sx:{svg:{fill:"gray.400",w:"4",h:"4"}},border:r?"1px":void 0,borderColor:"primary.500"},G().createElement(vT,null)))),G().createElement(cl,{containerRef:a},r&&G().createElement(G().Fragment,null,G().createElement(Ba,{pos:"absolute",top:"0",bottom:"0",right:"0",w:"280px",zIndex:2,background:"white",height:"max-content"},G().createElement(Ba,{position:"fixed",background:"white",borderLeft:"1px solid",borderTop:"1px solid",borderBottom:"1px solid",borderColor:"#E0E0E0",backdropBlur:12.5,width:"280px"},G().createElement(Ua,{justify:"flex-end"},G().createElement(cf,{variant:"link",pos:"relative",top:"0",bottom:"0",right:"0",p:"10px",onClick:t},G().createElement(cz,{type:"controlIcon",name:"close",size:15}))),e.children),G().createElement(Ba,{onClick:t,pos:"absolute",zIndex:"1",top:0,left:0,right:0,bottom:0,p:"12px 18px"})))))},rj=e=>{const{attributes:{markup:t,background:r,link:n,alignment:a,border:o,hoverBorder:i,boxShadow:l,boxShadowHover:s,blockPadding:c,blockZIndex:u,cssID:d,hideOnDesktop:p,hideOnTablet:m,hideOnMobile:h,className:f,titleTypography:v,titleColor:b,titleEnable:g,textTypography:y,textColor:E,textEnable:k,buttonBackground:w,buttonTypography:x,buttonBorder:_,buttonColor:P,buttonEnable:C,layout:A,blockMargin:S,buttonBorderEnable:R},setAttributes:M}=e;return G().createElement(G().Fragment,null,G().createElement(bH,null),G().createElement(mH,null,G().createElement(gH,{title:(0,K.__)("Design","blockart"),initialOpen:!0},G().createElement(tj,{label:(0,K.__)("Preset","blockart")},G().createElement(Ba,{borderTop:"1px solid #E0E0E0"},G().createElement(HF,{responsive:!1,value:A,onChange:e=>M({layout:e}),label:(0,K.__)("Preset","blockart"),groupProps:mS},[{label:(0,K.__)("Layout 1","blockart"),value:"layout-1",icon:IT},{label:(0,K.__)("Layout 2","blockart"),value:"layout-2",icon:OT},{label:(0,K.__)("Layout 3","blockart"),value:"layout-3",icon:LT},{label:(0,K.__)("Layout 4","blockart"),value:"layout-4",icon:DT}].map((e=>G().createElement(FF,{key:e.value,value:e.value},G().createElement(e.icon,null),e.label))))))),G().createElement(gH,{title:(0,K.__)("Title","blockart")},G().createElement(jF,{checked:g,onChange:()=>M({titleEnable:!g}),label:(0,K.__)("Enable","blockart")}),g&&G().createElement(G().Fragment,null,G().createElement(VV,{options:QH,onChange:e=>M({markup:e}),value:t,label:(0,K.__)("HTML Markup","blockart")}))),G().createElement(gH,{title:(0,K.__)("Description","blockart")},G().createElement(jF,{checked:k,onChange:()=>M({textEnable:!k}),label:(0,K.__)("Enable","blockart")})),G().createElement(gH,{title:(0,K.__)("Button","blockart")},G().createElement(jF,{label:(0,K.__)("Enable","blockart"),checked:C||!1,onChange:()=>M({buttonEnable:!C})}),C&&G().createElement(G().Fragment,null,G().createElement(WF,{label:(0,K.__)("URL","blockart"),onChange:e=>M({link:e}),value:n,placeholder:"https://",newTab:!0})))),G().createElement(hH,null,G().createElement(gH,{title:(0,K.__)("Properties","blockart"),initialOpen:!0},G().createElement(HF,{value:a,onChange:e=>{M({alignment:e})},label:(0,K.__)("Text Alignment","blockart"),responsive:!0,resetAttributeKey:"alignment",groupProps:{sx:{".chakra-button":{minH:"32px","&[data-active]":{svg:{fill:"#fff !important"}}}}}},G().createElement(FF,{value:"left"},G().createElement(qM,null)),G().createElement(FF,{value:"center"},G().createElement(YM,null)),G().createElement(FF,{value:"right"},G().createElement(KM,null)))),G().createElement(gH,{title:(0,K.__)("Background","blockart")},G().createElement(BV,{label:(0,K.__)("Type","blockart")},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:r,resetKey:"background",onReset:e=>{M({background:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(RV,{value:r,onChange:e=>M({background:e})})))))),G().createElement(gH,{title:(0,K.__)("Title","blockart")},G().createElement(BV,{label:(0,K.__)("Text Color","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:b,id:"titleColor"}]}));return Iv(b)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-5px",bg:"white",borderRadius:"full"})):G().createElement(t,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:b,resetKey:"titleColor",onReset:e=>{M({titleColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:b,onChange:e=>M({titleColor:e})}))))),G().createElement(OD,{value:v,onChange:e=>M({titleTypography:e}),resetAttributeKey:"titleTypography"})),G().createElement(gH,{title:(0,K.__)("Description","blockart")},G().createElement(BV,{label:(0,K.__)("Text Color","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:E,id:"textColor"}]}));return Iv(E)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-5px",bg:"white",borderRadius:"full"})):G().createElement(t,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:E,resetKey:"textColor",onReset:e=>{M({textColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:E,onChange:e=>M({textColor:e})}))))),G().createElement(OD,{value:y,onChange:e=>M({textTypography:e}),resetAttributeKey:"textTypography"})),G().createElement(gH,{title:(0,K.__)("Button","blockart")},G().createElement(BV,{label:(0,K.__)("Text Color","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:P,id:"buttonColor"}]}));return Iv(P)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-5px",bg:"white",borderRadius:"full"})):G().createElement(t,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:P,resetKey:"buttonColor",onReset:e=>{M({buttonColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:P,onChange:e=>M({buttonColor:e})}))))),G().createElement(BV,{label:(0,K.__)("Background","blockart")},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:w,resetKey:"buttonBackground",onReset:e=>{M({buttonBackground:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(RV,{value:w,onChange:e=>M({buttonBackground:e})}))))),G().createElement(OD,{value:x,onChange:e=>M({buttonTypography:e}),resetAttributeKey:"buttonTypography"}),G().createElement(jF,{onChange:()=>M({buttonBorderEnable:!R}),checked:R||!1,label:(0,K.__)("Border","blockart")}),R&&G().createElement(OV,{value:_,onChange:e=>M({buttonBorder:e}),resetAttributeKey:"buttonBorder"})),G().createElement(gH,{title:(0,K.__)("Border","blockart")},G().createElement(Oa,{variant:"border"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart")),G().createElement(Da,null,(0,K.__)("Hover","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(OV,{value:o,onChange:e=>{M({border:e})},resetAttributeKey:"border"}),G().createElement(FV,{resetAttributeKey:"boxShadow",value:l,onChange:e=>M({boxShadow:e})})),G().createElement(Fa,null,G().createElement(OV,{value:i,onChange:e=>{M({hoverBorder:e})},resetAttributeKey:"hoverBorder"}),G().createElement(FV,{resetAttributeKey:"boxShadowHover",value:s,onChange:e=>M({boxShadowHover:e})})))))),G().createElement(fH,null,G().createElement(yH,{blockMargin:S,setAttributes:M,blockPadding:c,blockZIndex:u,cssID:d,className:f,hasblockHTML:!1}),G().createElement(EH,{hideOnDesktop:p,hideOnTablet:m,hideOnMobile:h,setAttributes:M})))},nj=XH.name,aj={...XH,icon:G().createElement(cz,{type:"blockIcon",name:"call_to_action",size:24}),edit:e=>{const{attributes:{markup:t,title:r,className:n,text:a,textButton:o,buttonEnable:i,textEnable:l,titleEnable:s,layout:c,titleTypography:u,textTypography:d,buttonTypography:p},setAttributes:m}=e,{clientId:h}=jv(e),{device:f}=ib(),{CopyPasterStyleBlockControl:v}=Yv(),{Style:b}=Fv({blockName:"call-to-action",clientId:h,attributes:e.attributes,device:f});return G().createElement(G().Fragment,null,G().createElement(rj,{attributes:e.attributes,setAttributes:e.setAttributes}),G().createElement(q.BlockControls,{group:"block"},G().createElement(Zv.ToolbarDropdownMenu,{icon:G().createElement(ej,{level:t}),label:(0,K.__)("Change heading level","blockart"),controls:QH.map((({value:e,label:r})=>{{const n=e===t;return{icon:G().createElement(ej,{level:e,isPressed:n}),title:r,isActive:n,onClick(){m({markup:e})},role:"menuitemradio"}}}))})),G().createElement(v,{withBlockControls:!0}),G().createElement(b,null),G().createElement("div",{className:Cv(`blockart-call-to-action blockart-call-to-action-${h}`,`is-style-${c}`,n)},G().createElement("div",{className:"blockart-content-wrapper"},s&&G().createElement(q.RichText,{className:Cv("blockart-title",u?._className),tagName:t,placeholder:(0,K.__)("Call To Action","blockart"),value:r,onChange:e=>{m({title:e})}}),l&&G().createElement(q.RichText,{className:Cv("blockart-text",d?._className),tagName:"p",placeholder:(0,K.__)("Description for this block. Use this space for describing your block. Any text will do. Description for this block. You can use this space for describing your block.","blockart"),value:a,onChange:e=>{m({text:e})}})),i&&G().createElement("div",{className:"blockart-button-wrapper"},G().createElement(q.RichText,{className:Cv("blockart-button",p?._className),value:o,placeholder:(0,K.__)("Text Here…","blockart"),onChange:e=>{m({textButton:e})},allowedFormats:["core/bold","core/italic"]}))))},save:e=>{const{attributes:{markup:t,text:r,className:n,textButton:a,title:o,clientId:i,link:l,buttonEnable:s,textEnable:c,titleEnable:u,layout:d,titleTypography:p,textTypography:m,buttonTypography:h}}=e;return G().createElement("div",{className:Cv(`blockart-call-to-action blockart-call-to-action-${i}`,`is-style-${d}`,n)},G().createElement("div",{className:"blockart-content-wrapper"},u&&G().createElement(q.RichText.Content,{className:Cv("blockart-title",p?._className),tagName:t,value:o}),c&&G().createElement(q.RichText.Content,{className:Cv("blockart-text",m?._className),tagName:"p",value:r})),s&&G().createElement("div",{className:"blockart-button-wrapper"},G().createElement(kH,{tagName:"a",htmlAttrs:{className:Cv("blockart-button",h?._className),href:l&&l.url?l.url:null,target:l&&l.newTab?"_blank":null,rel:l&&l.newTab?"noopener":null}},G().createElement(q.RichText.Content,{className:"blockart-button-text",value:a}))))}},oj=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","textdomain":"blockart","title":"Column","description":"An advanced single column within section block.","parent":["blockart/section"],"category":"blockart","name":"blockart/column","supports":{"className":false,"customClassName":false,"inserter":false,"reusable":false,"html":false},"example":{"attributes":{}},"attributes":{"clientId":{"type":"string","default":""},"justification":{"type":"object"},"orientation":{"type":"object"},"enableFlex":{"type":"boolean"},"alignment":{"type":"object"},"rowGap":{"type":"object","default":{"desktop":{"value":8,"unit":"px"}},"style":[{"selector":"{{WRAPPER}} .blockart-column-inner { row-gap: {{VALUE}}; }"}]},"columnGap":{"type":"object","default":{"desktop":{"value":8,"unit":"px"}},"style":[{"selector":"{{WRAPPER}} .blockart-column-inner { column-gap: {{VALUE}}; }"}]},"colWidth":{"type":"object","default":{"desktop":50,"tablet":100,"mobile":100},"style":[{"selector":"{{WRAPPER}} { width: {{VALUE}}%; }"}]},"background":{"type":"object","default":{"background":1},"style":[{"selector":"{{WRAPPER}} > .blockart-column-inner"}]},"hoverBackground":{"type":"object","default":{"background":1},"style":[{"selector":"{{WRAPPER}}:hover > .blockart-column-inner"}]},"opacity":{"type":"string","default":1,"style":[{"selector":"{{WRAPPER}} > .blockart-overlay { opacity: {{VALUE}}; }"}]},"overlay":{"type":"boolean","default":false},"overlayBackground":{"type":"object","default":{"background":1,"color":"rgba(37, 99, 235,0.3)"},"style":[{"condition":[{"key":"overlay","relation":"==","value":true}],"selector":"{{WRAPPER}} > .blockart-overlay"}]},"blurEffect":{"type":"object","style":[{"selector":"{{WRAPPER}} > .blockart-column-inner { backdrop-filter: blur({{VALUE}}px); }"}]},"border":{"type":"object","default":{"border":1,"radius":{"desktop":{"lock":true}},"size":{"desktop":{"lock":true}}},"style":[{"selector":"{{WRAPPER}} > .blockart-column-inner"}]},"borderHover":{"type":"object","default":{"border":1,"radius":{"desktop":{"lock":true}},"size":{"desktop":{"lock":true}}},"style":[{"selector":"{{WRAPPER}}:hover > .blockart-column-inner"}]},"boxShadow":{"type":"object","default":{"boxShadow":1},"style":[{"selector":"{{WRAPPER}} > .blockart-column-inner"}]},"boxShadowHover":{"type":"object","default":{"boxShadow":1},"style":[{"selector":"{{WRAPPER}}:hover > .blockart-column-inner"}]},"blockMargin":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { margin: {{VALUE}}; }"}]},"blockPadding":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} > .blockart-column-inner { padding: {{VALUE}}; }"}]},"blockZIndex":{"type":"number","style":[{"selector":"{{WRAPPER}} { z-index: {{VALUE}}; }"}]},"cssID":{"type":"string"},"animation":{"type":"string"},"interaction":{"type":"object"},"position":{"type":"object"},"hideOnDesktop":{"type":"boolean","style":[{"selector":"@media (min-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnTablet":{"type":"boolean","style":[{"selector":"@media (min-width:48em) and (max-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} { display: none; } }"}]},"colReverseOnTablet":{"type":"boolean","style":[{"selector":"@media (max-width:62em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"colReverseOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"blockCSS":{"type":"string"},"className":{"type":"string"}},"style":"blockart-blocks","editorScript":"blockart-blocks","editorStyle":"blockart-blocks-editor"}'),ij=[{save:e=>{const{attributes:{clientId:t,className:r,cssID:n}}=e;return G().createElement("div",{id:null!=n?n:void 0,className:SH()(`blockart-column blockart-column-${t}`,r)},G().createElement("div",{className:"blockart-column-inner"},G().createElement(q.InnerBlocks.Content,null)))}}],lj=e=>{const{orientation:t,justification:r,alignment:n}=e;let a={};for(const e in Y){const o="tablet"===e?"-md":"mobile"===e?"-sm":"",i=t?.[e],l=r?.[e],s=n?.[e];i&&(a?.[e]||(a[e]={}),a[e][`is-${i}${o}`]=!0),l&&(a?.[e]||(a[e]={}),a[e][`justify-${l}${o}`]=!0),s&&(a?.[e]||(a[e]={}),a[e][`align-${s}${o}`]=!0)}return a},sj=e=>{const{attributes:{colWidth:t,background:r,opacity:n,hoverBackground:a,overlay:o,overlayBackground:i,blurEffect:l,border:s,borderHover:c,boxShadow:u,boxShadowHover:d,blockMargin:p,blockPadding:m,blockZIndex:h,hideOnDesktop:f,hideOnTablet:v,hideOnMobile:b,cssID:g,className:y,justification:E,orientation:k,alignment:w,columnGap:x,rowGap:_,enableFlex:P},setAttributes:C}=e;return G().createElement(G().Fragment,null,G().createElement(bH,null),G().createElement(mH,null,G().createElement(gH,{title:(0,K.__)("Layout","blockart"),initialOpen:!0},G().createElement(MD,{label:(0,K.__)("Width","blockart"),onChange:e=>C({colWidth:e}),value:t,min:0,max:100,step:1,defaultUnit:"%",forceShowUnit:!0,responsive:!0}),G().createElement(jF,{checked:P,onChange:()=>C({enableFlex:!P}),label:(0,K.__)("Enable Flex","blockart")}),P&&G().createElement(G().Fragment,null,G().createElement(HF,{value:k,onChange:e=>{C({orientation:e})},label:(0,K.__)("Orientation","blockart"),responsive:!0,resetAttributeKey:"orientation",groupProps:{sx:{".chakra-button":{minH:"32px",svg:{w:6,h:6},"&[data-active]":{svg:{fill:"#fff !important"}}}}}},G().createElement(FF,{leftIcon:G().createElement(GT,null),value:"horizontal"}),G().createElement(FF,{leftIcon:G().createElement($T,null),value:"vertical"})),G().createElement(MD,{label:(0,K.__)("Row Gap","blockart"),value:_,onChange:e=>C({rowGap:e}),min:0,max:100,step:1,units:["px","em","rem","%"],responsive:!0,resetAttributeKey:"rowGap"}),G().createElement(MD,{label:(0,K.__)("Column Gap","blockart"),value:x,onChange:e=>C({columnGap:e}),min:0,max:100,step:1,units:["px","em","rem","%"],responsive:!0,resetAttributeKey:"columnGap"})))),G().createElement(hH,null,G().createElement(gH,{title:(0,K.__)("Properties","blockart"),initialOpen:!0},G().createElement(HF,{value:E,onChange:e=>{C({justification:e})},label:(0,K.__)("Justification","blockart"),responsive:!0,groupProps:{sx:{".chakra-button":{minH:"32px","&[data-active]":{svg:{fill:"#fff !important"}}}}}},G().createElement(FF,{value:"left"},G().createElement(aT,null)),G().createElement(FF,{value:"center"},G().createElement(nT,null)),G().createElement(FF,{value:"right"},G().createElement(oT,null))),G().createElement(Ba,{mt:"18px"},G().createElement(HF,{value:w,onChange:e=>{C({alignment:e})},label:(0,K.__)("Alignment","blockart"),responsive:!0,groupProps:{sx:{".chakra-button":{minH:"32px",svg:{w:6,h:6},"&[data-active]":{svg:{fill:"#fff !important"}}}}}},G().createElement(FF,{value:"top"},G().createElement(QM,null)),G().createElement(FF,{value:"center"},G().createElement(JM,null)),G().createElement(FF,{value:"bottom"},G().createElement(eT,null)),G().createElement(FF,{value:"stretch"},G().createElement(rT,null))))),G().createElement(gH,{title:(0,K.__)("Background","blockart")},G().createElement(BV,{label:(0,K.__)("Type","blockart")},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart")),G().createElement(Da,null,(0,K.__)("Hover","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:r,resetKey:"background",onReset:e=>{C({background:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(RV,{value:r,onChange:e=>C({background:e})})),G().createElement(Fa,null,G().createElement(bO,{saved:a,resetKey:"hoverBackground",onReset:e=>{C({hoverBackground:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(RV,{value:a,onChange:e=>C({hoverBackground:e})})))))),G().createElement(gH,{title:(0,K.__)("Overlay","blockart")},G().createElement(jF,{checked:o,onChange:()=>C({overlay:!o}),label:(0,K.__)("Enable","blockart")}),o&&G().createElement(G().Fragment,null,G().createElement(BV,{label:(0,K.__)("Type","blockart")},G().createElement(Ba,{padding:4},G().createElement(bO,{saved:i,resetKey:"overlayBackground",onReset:e=>{C({overlayBackground:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(RV,{value:i,onChange:e=>C({overlayBackground:e})}))),G().createElement(MD,{onChange:e=>C({opacity:e}),label:(0,K.__)("Background Opacity","blockart"),step:.1,min:0,max:1,value:n,resetAttributeKey:"opacity"}),G().createElement(MD,{onChange:e=>C({blurEffect:e}),label:(0,K.__)("Blur Effect","blockart"),step:1,min:0,max:10,value:l,resetAttributeKey:"blurEffect"}))),G().createElement(gH,{title:(0,K.__)("Border","blockart")},G().createElement(Oa,{variant:"border"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart")),G().createElement(Da,null,(0,K.__)("Hover","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(OV,{value:s,onChange:e=>{C({border:e})},resetAttributeKey:"border"}),G().createElement(FV,{resetAttributeKey:"boxShadow",value:u,onChange:e=>C({boxShadow:e})})),G().createElement(Fa,null,G().createElement(OV,{value:c,onChange:e=>{C({borderHover:e})},resetAttributeKey:"borderHover"}),G().createElement(FV,{resetAttributeKey:"boxShadowHover",value:d,onChange:e=>C({boxShadowHover:e})})))))),G().createElement(fH,null,G().createElement(yH,{blockMargin:p,setAttributes:C,blockPadding:m,blockZIndex:h,cssID:g,className:y,hasblockHTML:!1}),G().createElement(EH,{hideOnDesktop:f,hideOnTablet:v,hideOnMobile:b,setAttributes:C})))},cj=oj.name,uj={...oj,icon:G().createElement(cz,{type:"blockIcon",name:"column",size:24}),edit:e=>{var t,r,n,a,o,i;const{attributes:{colWidth:l,cssID:s,className:c,orientation:u,justification:d,alignment:p,enableFlex:m,overlay:h},setAttributes:f}=e,{clientId:v}=jv(e),{device:b}=ib(),{CopyPasterStyleBlockControl:g}=Yv(),{Style:y}=Fv({blockName:"column",clientId:v,attributes:e.attributes,device:b}),E=lj({orientation:u,justification:d,alignment:p}),k=(0,Z.applyFilters)("blockart.column.classnames",Cv(`blockart-column blockart-column-${v}`,c)),{columnsIds:w,hasChildBlocks:x,rootClientId:_}=(0,Hv.useSelect)((t=>{const{getBlockOrder:r,getBlockRootClientId:n,getPreviousBlockClientId:a,getNextBlockClientId:o}=t("core/block-editor"),i=n(e.clientId);return{hasChildBlocks:r(e.clientId).length>0,rootClientId:null!=i?i:void 0,columnsIds:r(null!=i?i:void 0),nextBlockClientId:o(e.clientId),prevBlockClientId:a(e.clientId)}}),[e.clientId]),P=t=>{const{getBlockIndex:r,getBlocks:n}=(0,Hv.select)("core/block-editor"),{replaceInnerBlocks:a}=(0,Hv.dispatch)("core/block-editor"),o=r(e.clientId,_),i=[...n(_)];"delete"===t?i.splice(o,1):i.splice(o+1,0,(0,$.createBlock)("blockart/column")),a(_,i,!1)},C=(0,q.useInnerBlocksProps)({className:Cv("blockart-column-inner",{..."mobile"===b?null!==(t=null!==(r=null!==(n=E?.mobile)&&void 0!==n?n:E?.tablet)&&void 0!==r?r:E?.desktop)&&void 0!==t?t:{}:"tablet"===b?null!==(a=null!==(o=E?.tablet)&&void 0!==o?o:E?.desktop)&&void 0!==a?a:{}:null!==(i=E?.desktop)&&void 0!==i?i:{}},{"is-flex":m},c)},{templateLock:!1,renderAppender:x?void 0:q.InnerBlocks.ButtonBlockAppender});return G().createElement(G().Fragment,null,G().createElement(sj,{attributes:e.attributes,setAttributes:f}),G().createElement(q.BlockControls,null,G().createElement(Zv.ToolbarGroup,null,G().createElement(Zv.Button,{label:(0,K.__)("Add Column","blockart"),onClick:()=>P("add"),icon:"plus"}),w.length>1&&G().createElement(Zv.Button,{label:(0,K.__)("Delete Column","blockart"),onClick:()=>P("delete"),icon:"trash"}))),G().createElement(g,{withBlockControls:!0}),G().createElement(y,null),G().createElement("style",null,`#block-${e.clientId} { width: ${l[b]}%; }`),G().createElement("div",{id:s||null,className:k},h&&G().createElement("div",{className:"blockart-overlay"}),G().createElement("div",C)))},save:e=>{const{attributes:{clientId:t,className:r,cssID:n,orientation:a,justification:o,alignment:i,enableFlex:l}}=e,s=lj({orientation:a,justification:o,alignment:i});return G().createElement("div",{id:null!=n?n:void 0,className:Cv(`blockart-column blockart-column-${t}`,r)},G().createElement("div",{className:Cv("blockart-column-inner",...Object.values(s),{"is-flex":l})},G().createElement(q.InnerBlocks.Content,null)))},deprecated:ij},dj=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","name":"blockart/countdown","title":"Countdown","description":"Countdown.","keywords":["count","countdown"],"category":"blockart","textdomain":"blockart","supports":{"className":false,"customClassName":false},"example":{"attributes":{}},"attributes":{"clientId":{"type":"string"},"time":{"type":"string"},"date":{"type":"object"},"daysLabel":{"type":"string","default":"Days"},"minutesLabel":{"type":"string","default":"Minutes"},"hoursLabel":{"type":"string","default":"Hours"},"secondsLabel":{"type":"string","default":"Seconds"},"textToggle":{"type":"boolean","default":true},"typographyToggle":{"type":"boolean","default":false},"layout":{"type":"string","default":"default"},"boxBorderEnable":{"type":"boolean","default":false},"separatorRight":{"type":"string","style":[{"selector":"{{WRAPPER}}.blockart-countdown .blockart-countdown-items .blockart-countdown-number::after { right: {{VALUE}}; }"}]},"separatorType":{"type":"string","style":[{"selector":"{{WRAPPER}}.blockart-countdown .blockart-countdown-items .blockart-countdown-number::after {content: \'{{VALUE}}\'; }"}]},"separatorColor":{"type":"string","style":[{"selector":"{{WRAPPER}} .blockart-countdown-number::after {color: {{VALUE}}; }"}]},"digitColor":{"type":"string","style":[{"selector":"{{WRAPPER}} .blockart-countdown-number {color: {{VALUE}}; }"}]},"digitGap":{"type":"object","style":[{"selector":"{{WRAPPER}} {gap: {{VALUE}}; }"}]},"boxPadding":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}}.blockart-countdown .blockart-countdown-items {padding: {{VALUE}}; }"}]},"digitTypography":{"type":"object","default":{"typography":1},"style":[{"selector":"{{WRAPPER}} .blockart-countdown-number"}]},"labelColor":{"type":"string","style":[{"selector":"{{WRAPPER}} .blockart-countdown-label {color: {{VALUE}}; }"}]},"alignment":{"type":"object","default":{"desktop":"center"},"style":[{"selector":"{{WRAPPER}} {justify-content: {{VALUE}}; }"}]},"labelTypography":{"type":"object","default":{"typography":1},"style":[{"selector":"{{WRAPPER}} .blockart-countdown-label"}]},"blockBorder":{"type":"object","default":{"border":1,"radius":{"desktop":{"lock":true}},"size":{"desktop":{"lock":true}}},"style":[{"selector":"{{WRAPPER}}"}]},"boxBorder":{"type":"object","default":{"border":1,"radius":{"desktop":{"lock":true}},"size":{"desktop":{"lock":true}}},"style":[{"selector":"{{WRAPPER}}.blockart-countdown .blockart-countdown-items"}]},"boxBackground":{"type":"object","default":{"background":1},"style":[{"selector":"{{WRAPPER}} .blockart-countdown-items"}]},"margin":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":".blockart-paragraph{{WRAPPER}} { margin: {{VALUE}}; }"}]},"blockMargin":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { margin: {{VALUE}}; }"}]},"blockPadding":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { padding: {{VALUE}}; }"}]},"blockZIndex":{"type":"number","style":[{"selector":"{{WRAPPER}} { z-index: {{VALUE}}; }"}]},"cssID":{"type":"string"},"animation":{"type":"string"},"interaction":{"type":"object"},"position":{"type":"object"},"hideOnDesktop":{"type":"boolean","style":[{"selector":"@media (min-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnTablet":{"type":"boolean","style":[{"selector":"@media (min-width:48em) and (max-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} { display: none; } }"}]},"colReverseOnTablet":{"type":"boolean","style":[{"selector":"@media (max-width:62em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"colReverseOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"blockCSS":{"type":"string"},"className":{"type":"string"}},"style":"blockart-blocks","editorScript":"blockart-blocks","editorStyle":"blockart-blocks-editor","viewScript":"blockart-frontend-countdown"}'),pj=window.wp.date,mj=({clientId:e,className:t,layout:r,digitTypography:n,labelTypography:a,textToggle:o,hoursLabel:i,minutesLabel:l,secondsLabel:s,date:c,daysLabel:u})=>{const{days:d,hours:p,minutes:m,seconds:h}=(e=>{const t=new Date,r=null!=e?e:t.getTime(),[n,a]=(0,U.useState)(Math.floor(r-t.getTime()));return(0,U.useEffect)((()=>{if(!e)return;const t=setInterval((()=>{const r=(new Date).getTime(),n=e-r;n<=0&&clearInterval(t),a(n>0?n:0)}),1e3);return()=>clearInterval(t)}),[e,n]),{days:Math.floor(n/864e5).toString().padStart(2,"0"),hours:Math.floor(n%864e5/36e5).toString().padStart(2,"0"),minutes:Math.floor(n%36e5/6e4).toString().padStart(2,"0"),seconds:Math.floor(n%6e4/1e3).toString().padStart(2,"0")}})(c?.timestamp);return G().createElement("div",{className:Cv("blockart-countdown",`blockart-countdown-${e}`,`is-style-${r}`,t)},G().createElement("div",{className:"blockart-countdown-items blockart-countdown-item-days"},G().createElement("span",{id:"days",className:Cv("blockart-countdown-number",n?._className)},d),o&&G().createElement("span",{className:Cv("blockart-countdown-label",a?._className)},u)),G().createElement("div",{className:"blockart-countdown-items blockart-countdown-item-hours"},G().createElement("span",{id:"hours",className:Cv("blockart-countdown-number",n?._className)},p),o&&G().createElement("span",{className:Cv("blockart-countdown-label",a?._className)},i)),G().createElement("div",{className:"blockart-countdown-items blockart-countdown-item-minutes"},G().createElement("span",{id:"minutes",className:Cv("blockart-countdown-number",n?._className)},m),o&&G().createElement("span",{className:Cv("blockart-countdown-label",a?._className)},l)),G().createElement("div",{className:"blockart-countdown-items blockart-countdown-item-second"},G().createElement("span",{id:"seconds",className:Cv("blockart-countdown-number",n?._className)},h),o&&G().createElement("span",{className:Cv("blockart-countdown-label",a?._className)},s)))},hj=(e,t)=>{if(!e)return(new Date).getTime();const r=(new Date).getTimezoneOffset()/60*-1;if(Number(t)===r)return new Date(e).getTime();const n=r-Number(t),a=new Date(e);return new Date(a.getTime()+60*n*60*1e3).getTime()},fj=e=>{const{attributes:{blockZIndex:t,blockPadding:r,cssID:n,hideOnDesktop:a,hideOnTablet:o,hideOnMobile:i,className:l,daysLabel:s,hoursLabel:c,minutesLabel:u,secondsLabel:d,date:p,separatorType:m,separatorColor:h,digitColor:f,digitTypography:v,digitGap:b,alignment:g,labelColor:y,labelTypography:E,textToggle:k,blockBorder:w,separatorRight:x,layout:_,boxPadding:P,boxBackground:C,boxBorder:A,boxBorderEnable:S,blockMargin:R},setAttributes:M}=e,T=(0,pj.getSettings)();return G().createElement(G().Fragment,null,G().createElement(bH,null),G().createElement(mH,null,G().createElement(gH,{title:(0,K.__)("Date and Time","blockart"),initialOpen:!0},G().createElement("p",{style:{marginBottom:10}},(0,K.__)("Set date based on site timezone","blockart")),G().createElement(Zv.DateTimePicker,{currentDate:p?.expiryDate,onChange:e=>{var t,r,n;M({date:{expiryDate:e,timestamp:hj(e,null!==(t=T?.timezone?.offset)&&void 0!==t?t:0),timezone:null!==(r=T?.timezone?.string)&&void 0!==r?r:"",timezoneOffset:null!==(n=T?.timezone?.offset)&&void 0!==n?n:0}})},is12Hour:/a(?!\\)/i.test(T.formats.time.toLowerCase().replace(/\\\\/g,"").split("").reverse().join(""))})),G().createElement(gH,{title:(0,K.__)("Design","blockart")},G().createElement(tj,{label:(0,K.__)("Preset","blockart")},G().createElement(Ba,{borderTop:"1px solid #E0E0E0"},G().createElement(HF,{responsive:!1,value:_,onChange:e=>M({layout:e}),label:(0,K.__)("Preset","blockart"),groupProps:mS},[{label:(0,K.__)("Default","blockart"),value:"default",icon:HT},{label:(0,K.__)("Layout 1","blockart"),value:"layout-1",icon:BT},{label:(0,K.__)("Layout 2","blockart"),value:"layout-2",icon:zT},{label:(0,K.__)("Layout 3","blockart"),value:"layout-3",icon:NT},{label:(0,K.__)("Layout 4","blockart"),value:"layout-4",icon:VT},{label:(0,K.__)("Layout 5","blockart"),value:"layout-5",icon:FT}].map((e=>G().createElement(FF,{key:e.value,value:e.value},G().createElement(e.icon,null),e.label))))))),G().createElement(gH,{title:(0,K.__)("Label","blockart")},G().createElement(jF,{checked:k,onChange:()=>M({textToggle:!k}),label:(0,K.__)("Enable","blockart")}),k&&G().createElement(G().Fragment,null,G().createElement(pS,{label:(0,K.__)("Days Label","blockart"),type:"text",value:s,onChange:e=>M({daysLabel:e})}),G().createElement(pS,{label:(0,K.__)("Hours Label","blockart"),type:"text",value:c,onChange:e=>M({hoursLabel:e})}),G().createElement(pS,{label:(0,K.__)("Minutes Label","blockart"),type:"text",value:u,onChange:e=>M({minutesLabel:e})}),G().createElement(pS,{label:(0,K.__)("Seconds Label","blockart"),type:"text",value:d,onChange:e=>M({secondsLabel:e})})))),G().createElement(hH,null,G().createElement(gH,{title:(0,K.__)("Properties","blockart"),initialOpen:!0},G().createElement(HF,{value:g,onChange:e=>{M({alignment:e})},label:(0,K.__)("Alignment","blockart"),responsive:!0,resetAttributeKey:"alignment",groupProps:{sx:{".chakra-button":{minH:"32px","&[data-active]":{svg:{fill:"#fff !important"}}}}}},G().createElement(FF,{value:"start"},G().createElement(aT,null)),G().createElement(FF,{value:"center"},G().createElement(nT,null)),G().createElement(FF,{value:"end"},G().createElement(oT,null)))),G().createElement(gH,{title:(0,K.__)("Label","blockart")},G().createElement(BV,{label:(0,K.__)("Text Color","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:y,id:"labelColor"}]}));return Iv(y)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-5px",bg:"white",borderRadius:"full"})):G().createElement(t,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:y,resetKey:"labelColor",onReset:e=>{M({labelColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:y,onChange:e=>M({labelColor:e})}))))),G().createElement(OD,{value:E,onChange:e=>M({labelTypography:e}),resetAttributeKey:"labelTypography"})),G().createElement(gH,{title:(0,K.__)("Digit","blockart")},G().createElement(BV,{label:(0,K.__)("Text Color","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:f,id:"digitColor"}]}));return Iv(f)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-5px",bg:"white",borderRadius:"full"})):G().createElement(t,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:f,resetKey:"digitColor",onReset:e=>{M({digitColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:f,onChange:e=>M({digitColor:e})}))))),G().createElement(OD,{value:v,onChange:e=>M({digitTypography:e}),resetAttributeKey:"digitTypography"})),G().createElement(gH,{title:(0,K.__)("Separator","blockart")},G().createElement(VV,{label:(0,K.__)("Type","blockart"),onChange:e=>M({separatorType:e}),value:m,options:[{label:(0,K.__)("None","blockart"),value:""},{label:(0,K.__)("Colon","blockart"),value:":"},{label:(0,K.__)("Line","blockart"),value:"|"},{label:(0,K.__)("Slash","blockart"),value:"/"}]}),""!==m&&G().createElement(G().Fragment,null,G().createElement(BV,{label:(0,K.__)("Color","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:h,id:"separatorColor"}]}));return Iv(h)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-5px",bg:"white",borderRadius:"full"})):G().createElement(t,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:h,resetKey:"separatorColor",onReset:e=>{M({separatorColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:h,onChange:e=>M({separatorColor:e})}))))),G().createElement(MD,{resetAttributeKey:"separatorRight",label:(0,K.__)("Separator Right","blockart"),min:-100,max:100,value:x,onChange:e=>M({separatorRight:e}),responsive:!0,units:["px","em","%"]}))),G().createElement(gH,{title:(0,K.__)("Box","blockart")},G().createElement(BV,{label:(0,K.__)("Background","blockart")},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:C,resetKey:"boxBackground",onReset:e=>{M({boxBackground:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(RV,{value:C,onChange:e=>M({boxBackground:e})}))))),G().createElement(Ba,{pt:"1px"},G().createElement(MD,{resetAttributeKey:"digitGap",label:(0,K.__)("Gap","blockart"),min:0,max:100,value:b,onChange:e=>M({digitGap:e}),responsive:!0,units:["px","em","%"]})),G().createElement($V,{value:P,responsive:!0,label:(0,K.__)("Padding","blockart"),defaultUnit:"px",units:["px","rem","em","%"],onChange:e=>M({boxPadding:e}),type:"padding",resetAttributeKey:"boxPadding"}),G().createElement(jF,{checked:S,onChange:()=>M({boxBorderEnable:!S}),label:(0,K.__)("Border","blockart")}),S&&G().createElement(OV,{resetAttributeKey:"boxBorder",value:A,onChange:e=>M({boxBorder:e})})),G().createElement(gH,{title:(0,K.__)("Border","blockart")},G().createElement(OV,{resetAttributeKey:"blockBorder",value:w,onChange:e=>M({blockBorder:e})}))),G().createElement(fH,null,G().createElement(yH,{blockMargin:R,setAttributes:M,blockPadding:r,blockZIndex:t,cssID:n,className:l,hasblockHTML:!1}),G().createElement(EH,{hideOnDesktop:a,hideOnTablet:o,hideOnMobile:i,setAttributes:M})))},vj=dj.name,bj={...dj,icon:G().createElement(cz,{type:"blockIcon",name:"countdown",size:24}),edit:e=>{const{attributes:{text:t,cssID:r,className:n,date:a,daysLabel:o,hoursLabel:i,minutesLabel:l,secondsLabel:s,textToggle:c,layout:u,digitTypography:d,labelTypography:p},setAttributes:m}=e,{clientId:h}=jv(e),{device:f}=ib(),{CopyPasterStyleBlockControl:v}=Yv(),{Style:b}=Fv({blockName:"countdown",clientId:h,attributes:e.attributes,device:f});let g=(0,pj.getSettings)();return(0,U.useEffect)((()=>{if(!a){var e,t,r;const n=new Date,a=(new Date).setDate(n.getDate()+3);m({date:{expiryDate:a,timestamp:hj(a,null!==(e=g?.timezone?.offset)&&void 0!==e?e:0),timezone:null!==(t=g?.timezone?.string)&&void 0!==t?t:"",timezoneOffset:null!==(r=g?.timezone?.offset)&&void 0!==r?r:0}})}}),[]),G().createElement(G().Fragment,null,G().createElement(fj,{attributes:e.attributes,setAttributes:m}),G().createElement(v,{withBlockControls:!0}),G().createElement(b,null),G().createElement(mj,{clientId:h,daysLabel:o,hoursLabel:i,minutesLabel:l,secondsLabel:s,date:a,layout:u,digitTypography:d,labelTypography:p,textToggle:c,className:n}))},save:e=>{const{attributes:{cssID:t,clientId:r,className:n,text:a,textToggle:o,daysLabel:i,hoursLabel:l,minutesLabel:s,secondsLabel:c,layout:u,digitTypography:d,labelTypography:p}}=e;return G().createElement("div",{className:Cv("blockart-countdown",`blockart-countdown-${r}`,`is-style-${u}`,n),id:t},G().createElement("div",{className:"blockart-countdown-items blockart-countdown-item-days"},G().createElement("span",{className:Cv("blockart-countdown-number","blockart-countdown-number-days",d?._className)},"{{DAYS}}"),o&&G().createElement("span",{className:Cv("blockart-countdown-label",p?._className)},i)),G().createElement("div",{className:"blockart-countdown-items blockart-countdown-item-hours"},G().createElement("span",{className:Cv("blockart-countdown-number","blockart-countdown-number-hours",d?._className)},"{{HOURS}}"),o&&G().createElement("span",{className:Cv("blockart-countdown-label",p?._className)},l)),G().createElement("div",{className:"blockart-countdown-items blockart-countdown-item-minutes"},G().createElement("span",{className:Cv("blockart-countdown-number","blockart-countdown-number-minutes",d?._className)},"{{MINUTES}}"),o&&G().createElement("span",{className:Cv("blockart-countdown-label",p?._className)},s)),G().createElement("div",{className:"blockart-countdown-items blockart-countdown-item-second"},G().createElement("span",{className:Cv("blockart-countdown-number","blockart-countdown-number-seconds",d?._className)},"{{SECONDS}}"),o&&G().createElement("span",{className:Cv("blockart-countdown-label",p?._className)},c)))}},gj=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","name":"blockart/counter","title":"Counter","description":"Create counter on different Style.","keywords":["counter"],"category":"blockart","textdomain":"blockart","supports":{"className":false,"customClassName":false},"example":{"attributes":{}},"attributes":{"clientId":{"type":"string"},"markup":{"type":"string","default":"h2"},"contentMarkup":{"type":"string","default":"p"},"text":{"type":"string"},"startNumber":{"type":"number","default":0},"endNumber":{"type":"number","default":100},"numberDecimals":{"type":"number","default":0},"numberPrefix":{"type":"string"},"numberSuffix":{"type":"string","default":"%"},"animationDuration":{"type":"number","default":2},"numberSeparator":{"type":"string","default":","},"textColor":{"type":"string","style":[{"selector":"{{WRAPPER}} .blockart-counter-content .blockart-counter-text {color: {{VALUE}}; }"}]},"iconColor":{"type":"string","style":[{"selector":"{{WRAPPER}} .blockart-counter-icon .blockart-icon {fill: {{VALUE}}; }"}]},"background":{"type":"object","default":{"background":1},"style":[{"selector":"{{WRAPPER}}"}]},"alignment":{"type":"object","style":[{"selector":"{{WRAPPER}} .blockart-counter-container {text-align: {{VALUE}}; }"}]},"typography":{"type":"object","default":{"typography":1,"weight":400},"style":[{"selector":"{{WRAPPER}} .blockart-counter-content .blockart-counter-text"}]},"border":{"type":"object","default":{"border":1,"radius":{"desktop":{"lock":true}},"size":{"desktop":{"lock":true}}},"style":[{"selector":"{{WRAPPER}}"}]},"hoverBorder":{"type":"object","default":{"border":1,"radius":{"desktop":{"lock":true}},"size":{"desktop":{"lock":true}}},"style":[{"selector":"{{WRAPPER}}:hover"}]},"margin":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} .blockart-counter-wrapper { margin: {{VALUE}}; }"}]},"blockMargin":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { margin: {{VALUE}}; }"}]},"blockPadding":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { padding: {{VALUE}}; }"}]},"blockZIndex":{"type":"number","style":[{"selector":"{{WRAPPER}} { z-index: {{VALUE}}; }"}]},"cssID":{"type":"string"},"animation":{"type":"string"},"interaction":{"type":"object"},"position":{"type":"object"},"hideOnDesktop":{"type":"boolean","style":[{"selector":"@media (min-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnTablet":{"type":"boolean","style":[{"selector":"@media (min-width:48em) and (max-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} { display: none; } }"}]},"colReverseOnTablet":{"type":"boolean","style":[{"selector":"@media (max-width:62em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"colReverseOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"blockCSS":{"type":"string"},"className":{"type":"string"},"numberColor":{"type":"string","style":[{"selector":"{{WRAPPER}} .blockart-counter-number { color: {{VALUE}} } {{WRAPPER}} #countup { color: {{VALUE}} }"}]},"numberTypography":{"type":"object","default":{"typography":1},"style":[{"selector":"{{WRAPPER}} .blockart-counter-number, {{WRAPPER}} #countup"}]},"icon":{"type":"object","default":{"enable":true,"icon":"star"}},"iconSize":{"type":"number","style":[{"selector":"{{WRAPPER}} .blockart-counter-icon .blockart-icon { width: {{VALUE}}px; height: auto; }"}]}},"style":"blockart-blocks","editorScript":"blockart-blocks","editorStyle":"blockart-blocks-editor","viewScript":"blockart-frontend-counter"}');var yj=function(){return yj=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},yj.apply(this,arguments)},Ej=function(){function e(e,t,r){var n=this;this.endVal=t,this.options=r,this.version="2.8.0",this.defaults={startVal:0,decimalPlaces:0,duration:2,useEasing:!0,useGrouping:!0,useIndianSeparators:!1,smartEasingThreshold:999,smartEasingAmount:333,separator:",",decimal:".",prefix:"",suffix:"",enableScrollSpy:!1,scrollSpyDelay:200,scrollSpyOnce:!1},this.finalEndVal=null,this.useEasing=!0,this.countDown=!1,this.error="",this.startVal=0,this.paused=!0,this.once=!1,this.count=function(e){n.startTime||(n.startTime=e);var t=e-n.startTime;n.remaining=n.duration-t,n.useEasing?n.countDown?n.frameVal=n.startVal-n.easingFn(t,0,n.startVal-n.endVal,n.duration):n.frameVal=n.easingFn(t,n.startVal,n.endVal-n.startVal,n.duration):n.frameVal=n.startVal+(n.endVal-n.startVal)*(t/n.duration);var r=n.countDown?n.frameVal<n.endVal:n.frameVal>n.endVal;n.frameVal=r?n.endVal:n.frameVal,n.frameVal=Number(n.frameVal.toFixed(n.options.decimalPlaces)),n.printValue(n.frameVal),t<n.duration?n.rAF=requestAnimationFrame(n.count):null!==n.finalEndVal?n.update(n.finalEndVal):n.options.onCompleteCallback&&n.options.onCompleteCallback()},this.formatNumber=function(e){var t,r,a,o,i=e<0?"-":"";t=Math.abs(e).toFixed(n.options.decimalPlaces);var l=(t+="").split(".");if(r=l[0],a=l.length>1?n.options.decimal+l[1]:"",n.options.useGrouping){o="";for(var s=3,c=0,u=0,d=r.length;u<d;++u)n.options.useIndianSeparators&&4===u&&(s=2,c=1),0!==u&&c%s==0&&(o=n.options.separator+o),c++,o=r[d-u-1]+o;r=o}return n.options.numerals&&n.options.numerals.length&&(r=r.replace(/[0-9]/g,(function(e){return n.options.numerals[+e]})),a=a.replace(/[0-9]/g,(function(e){return n.options.numerals[+e]}))),i+n.options.prefix+r+a+n.options.suffix},this.easeOutExpo=function(e,t,r,n){return r*(1-Math.pow(2,-10*e/n))*1024/1023+t},this.options=yj(yj({},this.defaults),r),this.formattingFn=this.options.formattingFn?this.options.formattingFn:this.formatNumber,this.easingFn=this.options.easingFn?this.options.easingFn:this.easeOutExpo,this.startVal=this.validateValue(this.options.startVal),this.frameVal=this.startVal,this.endVal=this.validateValue(t),this.options.decimalPlaces=Math.max(this.options.decimalPlaces),this.resetDuration(),this.options.separator=String(this.options.separator),this.useEasing=this.options.useEasing,""===this.options.separator&&(this.options.useGrouping=!1),this.el="string"==typeof e?document.getElementById(e):e,this.el?this.printValue(this.startVal):this.error="[CountUp] target is null or undefined","undefined"!=typeof window&&this.options.enableScrollSpy&&(this.error?console.error(this.error,e):(window.onScrollFns=window.onScrollFns||[],window.onScrollFns.push((function(){return n.handleScroll(n)})),window.onscroll=function(){window.onScrollFns.forEach((function(e){return e()}))},this.handleScroll(this)))}return e.prototype.handleScroll=function(e){if(e&&window&&!e.once){var t=window.innerHeight+window.scrollY,r=e.el.getBoundingClientRect(),n=r.top+window.pageYOffset,a=r.top+r.height+window.pageYOffset;a<t&&a>window.scrollY&&e.paused?(e.paused=!1,setTimeout((function(){return e.start()}),e.options.scrollSpyDelay),e.options.scrollSpyOnce&&(e.once=!0)):(window.scrollY>a||n>t)&&!e.paused&&e.reset()}},e.prototype.determineDirectionAndSmartEasing=function(){var e=this.finalEndVal?this.finalEndVal:this.endVal;this.countDown=this.startVal>e;var t=e-this.startVal;if(Math.abs(t)>this.options.smartEasingThreshold&&this.options.useEasing){this.finalEndVal=e;var r=this.countDown?1:-1;this.endVal=e+r*this.options.smartEasingAmount,this.duration=this.duration/2}else this.endVal=e,this.finalEndVal=null;null!==this.finalEndVal?this.useEasing=!1:this.useEasing=this.options.useEasing},e.prototype.start=function(e){this.error||(this.options.onStartCallback&&this.options.onStartCallback(),e&&(this.options.onCompleteCallback=e),this.duration>0?(this.determineDirectionAndSmartEasing(),this.paused=!1,this.rAF=requestAnimationFrame(this.count)):this.printValue(this.endVal))},e.prototype.pauseResume=function(){this.paused?(this.startTime=null,this.duration=this.remaining,this.startVal=this.frameVal,this.determineDirectionAndSmartEasing(),this.rAF=requestAnimationFrame(this.count)):cancelAnimationFrame(this.rAF),this.paused=!this.paused},e.prototype.reset=function(){cancelAnimationFrame(this.rAF),this.paused=!0,this.resetDuration(),this.startVal=this.validateValue(this.options.startVal),this.frameVal=this.startVal,this.printValue(this.startVal)},e.prototype.update=function(e){cancelAnimationFrame(this.rAF),this.startTime=null,this.endVal=this.validateValue(e),this.endVal!==this.frameVal&&(this.startVal=this.frameVal,null==this.finalEndVal&&this.resetDuration(),this.finalEndVal=null,this.determineDirectionAndSmartEasing(),this.rAF=requestAnimationFrame(this.count))},e.prototype.printValue=function(e){var t;if(this.el){var r=this.formattingFn(e);(null===(t=this.options.plugin)||void 0===t?void 0:t.render)?this.options.plugin.render(this.el,r):"INPUT"===this.el.tagName?this.el.value=r:"text"===this.el.tagName||"tspan"===this.el.tagName?this.el.textContent=r:this.el.innerHTML=r}},e.prototype.ensureNumber=function(e){return"number"==typeof e&&!isNaN(e)},e.prototype.validateValue=function(e){var t=Number(e);return this.ensureNumber(t)?t:(this.error="[CountUp] invalid start or end value: ".concat(e),null)},e.prototype.resetDuration=function(){this.startTime=null,this.duration=1e3*Number(this.options.duration),this.remaining=this.duration},e}();const kj=[{label:(0,K.__)("Heading 1","blockart"),value:"h1"},{label:(0,K.__)("Heading 2","blockart"),value:"h2"},{label:(0,K.__)("Heading 3","blockart"),value:"h3"},{label:(0,K.__)("Heading 4","blockart"),value:"h4"},{label:(0,K.__)("Heading 5","blockart"),value:"h5"},{label:(0,K.__)("Heading 6","blockart"),value:"h6"},{label:(0,K.__)("Paragraph","blockart"),value:"p"},{label:(0,K.__)("Div","blockart"),value:"div"}],wj={h1:"M9 5h2v10H9v-4H5v4H3V5h2v4h4V5zm6.6 0c-.6.9-1.5 1.7-2.6 2v1h2v7h2V5h-1.4z",h2:"M7 5h2v10H7v-4H3v4H1V5h2v4h4V5zm8 8c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6V15h8v-2H15z",h3:"M12.1 12.2c.4.3.8.5 1.2.7.4.2.9.3 1.4.3.5 0 1-.1 1.4-.3.3-.1.5-.5.5-.8 0-.2 0-.4-.1-.6-.1-.2-.3-.3-.5-.4-.3-.1-.7-.2-1-.3-.5-.1-1-.1-1.5-.1V9.1c.7.1 1.5-.1 2.2-.4.4-.2.6-.5.6-.9 0-.3-.1-.6-.4-.8-.3-.2-.7-.3-1.1-.3-.4 0-.8.1-1.1.3-.4.2-.7.4-1.1.6l-1.2-1.4c.5-.4 1.1-.7 1.6-.9.5-.2 1.2-.3 1.8-.3.5 0 1 .1 1.6.2.4.1.8.3 1.2.5.3.2.6.5.8.8.2.3.3.7.3 1.1 0 .5-.2.9-.5 1.3-.4.4-.9.7-1.5.9v.1c.6.1 1.2.4 1.6.8.4.4.7.9.7 1.5 0 .4-.1.8-.3 1.2-.2.4-.5.7-.9.9-.4.3-.9.4-1.3.5-.5.1-1 .2-1.6.2-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1l1.1-1.4zM7 9H3V5H1v10h2v-4h4v4h2V5H7v4z",h4:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm10-2h-1v2h-2v-2h-5v-2l4-6h3v6h1v2zm-3-2V7l-2.8 4H16z",h5:"M12.1 12.2c.4.3.7.5 1.1.7.4.2.9.3 1.3.3.5 0 1-.1 1.4-.4.4-.3.6-.7.6-1.1 0-.4-.2-.9-.6-1.1-.4-.3-.9-.4-1.4-.4H14c-.1 0-.3 0-.4.1l-.4.1-.5.2-1-.6.3-5h6.4v1.9h-4.3L14 8.8c.2-.1.5-.1.7-.2.2 0 .5-.1.7-.1.5 0 .9.1 1.4.2.4.1.8.3 1.1.6.3.2.6.6.8.9.2.4.3.9.3 1.4 0 .5-.1 1-.3 1.4-.2.4-.5.8-.9 1.1-.4.3-.8.5-1.3.7-.5.2-1 .3-1.5.3-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1-.1-.1 1-1.5 1-1.5zM9 15H7v-4H3v4H1V5h2v4h4V5h2v10z",h6:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm8.6-7.5c-.2-.2-.5-.4-.8-.5-.6-.2-1.3-.2-1.9 0-.3.1-.6.3-.8.5l-.6.9c-.2.5-.2.9-.2 1.4.4-.3.8-.6 1.2-.8.4-.2.8-.3 1.3-.3.4 0 .8 0 1.2.2.4.1.7.3 1 .6.3.3.5.6.7.9.2.4.3.8.3 1.3s-.1.9-.3 1.4c-.2.4-.5.7-.8 1-.4.3-.8.5-1.2.6-1 .3-2 .3-3 0-.5-.2-1-.5-1.4-.9-.4-.4-.8-.9-1-1.5-.2-.6-.3-1.3-.3-2.1s.1-1.6.4-2.3c.2-.6.6-1.2 1-1.6.4-.4.9-.7 1.4-.9.6-.3 1.1-.4 1.7-.4.7 0 1.4.1 2 .3.5.2 1 .5 1.4.8 0 .1-1.3 1.4-1.3 1.4zm-2.4 5.8c.2 0 .4 0 .6-.1.2 0 .4-.1.5-.2.1-.1.3-.3.4-.5.1-.2.1-.5.1-.7 0-.4-.1-.8-.4-1.1-.3-.2-.7-.3-1.1-.3-.3 0-.7.1-1 .2-.4.2-.7.4-1 .7 0 .3.1.7.3 1 .1.2.3.4.4.6.2.1.3.3.5.3.2.1.5.2.7.1z",p:"M7.411 18V6.005h3.887c1.474 0 2.429.067 2.881.184.687.185 1.257.57 1.726 1.173.452.603.687 1.374.687 2.329 0 .737-.135 1.357-.403 1.86-.268.502-.603.904-1.021 1.189-.403.284-.821.469-1.257.57-.57.117-1.407.167-2.496.167H9.823V18H7.411zm2.412-9.968v3.401h1.324c.955 0 1.591-.05 1.926-.184.319-.118.57-.319.754-.587.185-.268.268-.57.268-.938 0-.435-.117-.787-.385-1.072a1.607 1.607 0 00-.972-.536c-.284-.05-.87-.084-1.742-.084H9.823z",div:"M6.969 6.005h4.423c1.005 0 1.759.084 2.295.235.703.2 1.306.57 1.809 1.105.503.52.871 1.173 1.14 1.944.267.754.385 1.708.385 2.83 0 .99-.118 1.844-.369 2.547-.302.871-.72 1.592-1.273 2.128-.419.402-.989.72-1.709.955-.536.167-1.24.251-2.144.251H6.969V6.005zm2.43 2.027v7.94h1.808c.67 0 1.156-.033 1.458-.1.402-.1.72-.268.972-.502.268-.235.485-.62.636-1.156.168-.536.251-1.273.251-2.195 0-.938-.083-1.641-.25-2.144-.152-.486-.386-.888-.688-1.156-.285-.285-.67-.469-1.122-.57-.335-.067-.989-.117-1.977-.117H9.398z"},xj=({level:e})=>wj.hasOwnProperty(e)?G().createElement("svg",{width:"24",height:"24",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},G().createElement("path",{d:wj[e]})):null,_j=e=>{const{attributes:{markup:t,textColor:r,margin:n,background:a,alignment:o,typography:i,border:l,blockPadding:s,hideOnDesktop:c,hideOnTablet:u,hideOnMobile:d,className:p,numberColor:m,icon:h,iconSize:f,startNumber:v,endNumber:b,animationDuration:g,numberSeparator:y,numberDecimals:E,numberPrefix:k,numberSuffix:w,hoverBorder:x,numberTypography:_,cssID:P,contentMarkup:C,iconColor:A,blockMargin:S,blockZIndex:R},setAttributes:M}=e;return G().createElement(G().Fragment,null,G().createElement(bH,null),G().createElement(mH,null,G().createElement(gH,{title:(0,K.__)("Layout","blockart"),initialOpen:!0},G().createElement(DF,{label:(0,K.__)("Start Number","blockart"),value:v,onChange:e=>M({startNumber:e})}),G().createElement(DF,{label:(0,K.__)("End Number","blockart"),value:b,onChange:e=>M({endNumber:e})}),G().createElement(MD,{label:"Decimal Places",value:E,onChange:e=>M({numberDecimals:e}),min:0,max:10,step:1}),G().createElement(pS,{label:(0,K.__)("Number Prefix","blockart"),type:"text",value:k,onChange:e=>M({numberPrefix:e})}),G().createElement(pS,{label:(0,K.__)("Number Suffix","blockart"),type:"text",value:w,onChange:e=>M({numberSuffix:e})}),G().createElement(DF,{label:(0,K.__)("Animation Duration (Sec)","blockart"),value:g,onChange:e=>M({animationDuration:e})}),G().createElement(VV,{label:(0,K.__)("Thousand Separator","blockart"),onChange:e=>{M({numberSeparator:e})},value:y,options:[{label:(0,K.__)("None","blockart"),value:""},{label:(0,K.__)("Comma","blockart"),value:","},{label:(0,K.__)("Dot","blockart"),value:"."},{label:(0,K.__)("White space","blockart"),value:" "},{label:(0,K.__)("Apostrophe","blockart"),value:"'"}]})),G().createElement(gH,{title:(0,K.__)("Icon","blockart")},G().createElement(LF,{hasToggle:!0,value:h,onChange:e=>M({icon:e})})),G().createElement(gH,{title:(0,K.__)("Number","blockart")},G().createElement(VV,{options:kj,onChange:e=>M({markup:e}),value:t,label:(0,K.__)("HTML Markup","blockart")})),G().createElement(gH,{title:(0,K.__)("Text","blockart")},G().createElement(VV,{options:kj,onChange:e=>M({contentMarkup:e}),value:C,label:(0,K.__)("Text Markup","blockart")}))),G().createElement(hH,null,G().createElement(gH,{title:(0,K.__)("Properties","blockart"),initialOpen:!0},G().createElement(HF,{value:o,onChange:e=>{M({alignment:e})},label:(0,K.__)("Text Alignment","blockart"),responsive:!0,resetAttributeKey:"alignment",groupProps:{sx:{".chakra-button":{minH:"32px","&[data-active]":{svg:{fill:"#fff !important"}}}}}},G().createElement(FF,{value:"left"},G().createElement(qM,null)),G().createElement(FF,{value:"center"},G().createElement(YM,null)),G().createElement(FF,{value:"right"},G().createElement(KM,null)))),h.enable&&G().createElement(gH,{title:(0,K.__)("Icon","blockart")},G().createElement(G().Fragment,null,G().createElement(BV,{label:(0,K.__)("Icon Color","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:A,id:"iconColor"}]}));return Iv(A)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-5px",bg:"white",borderRadius:"full"})):G().createElement(t,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:A,resetKey:"iconColor",onReset:e=>{M({iconColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:A,onChange:e=>M({iconColor:e})}))))),G().createElement(MD,{resetAttributeKey:"iconSize",label:(0,K.__)("Size","blockart"),min:0,max:100,value:f,onChange:e=>M({iconSize:e}),defaultUnit:"px",forceShowUnit:!0}))),G().createElement(gH,{title:(0,K.__)("Number","blockart")},G().createElement(BV,{label:(0,K.__)("Color","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:m,id:"numberColor"}]}));return Iv(m)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-5px",bg:"white",borderRadius:"full"})):G().createElement(t,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:m,resetKey:"numberColor",onReset:e=>{M({numberColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:m,onChange:e=>M({numberColor:e})}))))),G().createElement(OD,{onChange:e=>M({numberTypography:e}),value:_}),G().createElement($V,{value:n,responsive:!0,label:(0,K.__)("Margin","blockart"),defaultUnit:"px",units:["px","rem","em","%"],onChange:e=>M({margin:e}),type:"margin",resetAttributeKey:"margin"})),G().createElement(gH,{title:(0,K.__)("Text","blockart")},G().createElement(BV,{label:(0,K.__)("Text Color","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:r,id:"textColor"}]}));return Iv(r)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-5px",bg:"white",borderRadius:"full"})):G().createElement(t,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:r,resetKey:"textColor",onReset:e=>{M({textColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:r,onChange:e=>M({textColor:e})}))))),G().createElement(OD,{onChange:e=>M({typography:e}),value:i})),G().createElement(gH,{title:(0,K.__)("Background","blockart")},G().createElement(BV,{label:(0,K.__)("Type","blockart")},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:a,resetKey:"background",onReset:e=>{M({background:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(RV,{value:a,onChange:e=>M({background:e})})))))),G().createElement(gH,{title:(0,K.__)("Border","blockart")},G().createElement(Oa,{variant:"border"},G().createElement(La,null,G().createElement(Da,null,"Normal"),G().createElement(Da,null,"Hover")),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(OV,{value:l,onChange:e=>{M({border:e})},resetAttributeKey:"border"})),G().createElement(Fa,null,G().createElement(OV,{value:x,onChange:e=>{M({hoverBorder:e})},resetAttributeKey:"hoverBorder"})))))),G().createElement(fH,null,G().createElement(yH,{blockMargin:S,setAttributes:M,blockPadding:s,blockZIndex:R,cssID:P,className:p,hasblockHTML:!1}),G().createElement(EH,{hideOnDesktop:c,hideOnTablet:u,hideOnMobile:d,setAttributes:M})))},Pj=e=>{const{icon:t,clientId:r,markup:n,contentMarkup:a,text:o,startNumber:i,typography:l,numberTypography:s,setAttributes:c}=e;return G().createElement("div",{className:"blockart-counter-container"},t?.enable&&G().createElement("div",{className:"blockart-counter-icon"},G().createElement(LH,{style:{display:"unset"},name:t?.icon})),G().createElement("div",{className:"blockart-counter-wrapper"},G().createElement(kH,{tagName:n,htmlAttrs:{className:Cv("blockart-counter-number",s?.__className),id:r}},i)),G().createElement("div",{className:"blockart-counter-content"},G().createElement(q.RichText,{className:Cv("blockart-counter-text",l?.__className),tagName:a,placeholder:(0,K.__)("Add Your Title Here…","blockart"),value:o,onChange:e=>{c({text:e})}})))},Cj=gj.name,Aj={...gj,icon:G().createElement(cz,{type:"blockIcon",name:"counter",size:24}),edit:e=>{const{attributes:{markup:t,text:r,className:n,icon:a,startNumber:o,endNumber:i,animationDuration:l,numberSeparator:s,numberDecimals:c,numberPrefix:u,numberSuffix:d,contentMarkup:p,typography:m,numberTypography:h},setAttributes:f}=e,{clientId:v}=jv(e),{device:b}=ib(),{CopyPasterStyleBlockControl:g}=Yv(),{Style:y}=Fv({blockName:"counter",clientId:v,attributes:e.attributes,device:b}),E=(0,U.useRef)();return(0,U.useEffect)((()=>{E.current&&E.current.reset(),E.current=new Ej(v,i,{startVal:o,duration:l,decimalPlaces:c,separator:s,prefix:null!=u?u:"",suffix:null!=d?d:""}),E.current.start()}),[v,i,o,l,c,s,u,d]),G().createElement(G().Fragment,null,G().createElement(_j,{attributes:e.attributes,setAttributes:f}),G().createElement(q.BlockControls,{group:"block"},G().createElement(Zv.ToolbarDropdownMenu,{icon:G().createElement(xj,{level:t}),label:(0,K.__)("Change heading level","blockart"),controls:kj.map((({value:e,label:r})=>{{const n=e===t;return{icon:G().createElement(xj,{level:e,isPressed:n}),title:r,isActive:n,onClick(){f({markup:e})},role:"menuitemradio"}}}))})),G().createElement(g,{withBlockControls:!0}),G().createElement(y,null),G().createElement("div",{className:Cv(`blockart-counter blockart-counter-${v}`,n)},G().createElement(Pj,{markup:t,text:r,contentMarkup:p,setAttributes:f,icon:a,clientId:v,startNumber:o,typography:m,numberTypography:h})))},save:e=>{const{attributes:{clientId:t,markup:r,text:n,className:a,icon:o,startNumber:i,contentMarkup:l,endNumber:s,animationDuration:c,numberPrefix:u,numberSuffix:d,numberSeparator:p,numberDecimals:m,typography:h,numberTypography:f}}=e;return G().createElement(G().Fragment,null,G().createElement("div",{className:Cv(`blockart-counter blockart-counter-${t}`,a),"data-start":i,"data-end":s,"data-decimal":m,"data-separator":p,"data-animation":c},G().createElement("div",{className:"blockart-counter-container"},o?.enable&&G().createElement("div",{className:"blockart-counter-icon"},G().createElement(LH,{name:o.icon})),G().createElement("div",{className:"blockart-counter-wrapper"},G().createElement(kH,{tagName:r,htmlAttrs:{id:"countup"}},u,G().createElement("span",{className:Cv("blockart-counter-number",f?.__className)},i),d)),G().createElement("div",{className:"blockart-counter-content"},G().createElement(q.RichText.Content,{className:Cv("blockart-counter-text",h?.__className),tagName:l,value:n})))))}},Sj=JSON.parse('{"apiVersion":2,"$schema":"https://schemas.wp.org/trunk/block.json","name":"blockart/faq-inner","title":"FAQ Child","keywords":["faq"],"category":"blockart","textdomain":"blockart","parent":["blockart/faq"],"supports":{"className":false,"customClassName":false,"reusable":false},"example":{"attributes":{}},"attributes":{"clientId":{"type":"string"},"question":{"type":"string"},"answer":{"type":"string"},"isFocused":{"type":"boolean"},"collapseIcon":{"type":"string","default":"close"},"expandIcon":{"type":"string","default":"plus"},"iconPosition":{"type":"string","default":"right"},"width":{"type":"object","style":[{"selector":"{{WRAPPER}} { flex-basis: {{VALUE}}%; width: {{VALUE}}%; }"}]},"alignment":{"type":"string","style":[{"selector":"{{WRAPPER}} { text-align: {{VALUE}}; }"}]},"blockHTML":{"type":"string","default":"div"},"link":{"type":"object"},"text":{"type":"string"},"style":{"type":"string","default":"filled"},"faqHover":{"type":"string","default":"none"},"faqAnimation":{"type":"string","default":"none"},"size":{"type":"string","default":"large"},"padding":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"condition":[{"key":"size","relation":"==","value":"custom"},{"key":"style","relation":"!=","value":"plain"},{"key":"style","relation":"!=","value":"link"}],"selector":"{{WRAPPER}} .blockart-faq-link.is-custom { padding: {{VALUE}}; }"}]},"typography":{"type":"object","default":{"typography":1},"style":[{"selector":"{{WRAPPER}} .blockart-faq-link"}]},"color1":{"type":"string","default":"#fff","style":[{"condition":[{"key":"style","relation":"==","value":"filled"}],"selector":"{{WRAPPER}} .blockart-faq-link { color: {{VALUE}}; }{{WRAPPER}} .blockart-faq-icon .blockart-icon { fill: {{VALUE}}; }"}]},"color2":{"type":"string","default":"#2563EB","style":[{"condition":[{"key":"style","relation":"!=","value":"filled"}],"selector":"{{WRAPPER}} .blockart-faq-link{ color: {{VALUE}}; }{{WRAPPER}} .blockart-faq-icon .blockart-icon { fill: {{VALUE}}; }"}]},"hoverColor1":{"type":"string","default":"","style":[{"condition":[{"key":"style","relation":"==","value":"filled"}],"selector":"{{WRAPPER}} .blockart-faq-link:hover { color: {{VALUE}} }{{WRAPPER}} .blockart-faq-link:hover .blockart-faq-icon .blockart-icon { fill: {{VALUE}} }{{WRAPPER}} .blockart-faq-link:focus { color: {{VALUE}} }{{WRAPPER}} .blockart-faq-link:focus .blockart-faq-icon .blockart-icon { fill: {{VALUE}} }{{WRAPPER}} .blockart-faq-link:active { color: {{VALUE}} }{{WRAPPER}} .blockart-faq-link:active .blockart-faq-icon .blockart-icon { fill: {{VALUE}} }"}]},"hoverColor2":{"type":"string","default":"","style":[{"condition":[{"key":"style","relation":"!=","value":"filled"}],"selector":"{{WRAPPER}} .blockart-faq-link:hover { color: {{VALUE}} }{{WRAPPER}} .blockart-faq-link:hover .blockart-faq-icon .blockart-icon { fill: {{VALUE}} }{{WRAPPER}} .blockart-faq-link:focus { color: {{VALUE}} }{{WRAPPER}} .blockart-faq-link:focus .blockart-faq-icon .blockart-icon { fill: {{VALUE}} }{{WRAPPER}} .blockart-faq-link:active { color: {{VALUE}} }{{WRAPPER}} .blockart-faq-link:active .blockart-faq-icon .blockart-icon { fill: {{VALUE}} }"}]},"background1":{"type":"object","default":{"background":1,"type":"color","color":"#2563eb"},"style":[{"condition":[{"key":"style","relation":"==","value":"filled"}],"selector":"{{WRAPPER}} .blockart-faq-link"}]},"background2":{"type":"object","default":{"background":1},"style":[{"condition":[{"key":"style","relation":"==","value":"outline"}],"selector":"{{WRAPPER}} .blockart-faq-link.is-style-outline"}]},"hoverBackground1":{"type":"object","default":{"background":1},"style":[{"condition":[{"key":"style","relation":"==","value":"filled"}],"selector":"{{WRAPPER}} .blockart-faq-link:hover, {{WRAPPER}} .blockart-faq-link:focus, {{WRAPPER}} .blockart-faq-link:active"}]},"hoverBackground2":{"type":"object","default":{"background":1},"style":[{"condition":[{"key":"style","relation":"==","value":"outline"}],"selector":"{{WRAPPER}} .blockart-faq-link.is-style-outline:hover, {{WRAPPER}} .blockart-faq-link.is-style-outline:focus, {{WRAPPER}} .blockart-faq-link.is-style-outline:active"}]},"border1":{"type":"object","default":{"border":1,"radius":{"desktop":{"lock":true}},"size":{"desktop":{"lock":true}}},"style":[{"condition":[{"key":"style","relation":"==","value":"filled"}],"selector":"{{WRAPPER}} .blockart-faq-link"}]},"hoverBorder1":{"type":"object","default":{"border":1,"radius":{"desktop":{"lock":true}},"size":{"desktop":{"lock":true}}},"style":[{"condition":[{"key":"style","relation":"==","value":"filled"}],"selector":"{{WRAPPER}} .blockart-faq-link:hover, {{WRAPPER}} .blockart-faq-link:focus, {{WRAPPER}} .blockart-faq-link:active"}]},"border2":{"type":"object","default":{"border":1,"color":"#2563EB","type":"solid","radius":{"desktop":{"top":2,"right":2,"bottom":2,"left":2,"unit":"px","lock":true}},"size":{"desktop":{"top":1,"right":1,"bottom":1,"left":1,"unit":"px","lock":true}}},"style":[{"condition":[{"key":"style","relation":"==","value":"outline"}],"selector":"{{WRAPPER}} .blockart-faq-link"}]},"hoverBorder2":{"type":"object","default":{"border":1,"radius":{"desktop":{"lock":true}},"size":{"desktop":{"lock":true}}},"style":[{"condition":[{"key":"style","relation":"==","value":"outline"}],"selector":"{{WRAPPER}} .blockart-faq-link:hover, {{WRAPPER}} .blockart-faq-link:focus, {{WRAPPER}} .blockart-faq-link:active"}]},"positionProperty":{"type":"object","default":{"positionProperty":1,"position":"none"},"style":[{"selector":"{{WRAPPER}}"}]},"boxShadow":{"type":"object","default":{"boxShadow":1},"style":[{"selector":"{{WRAPPER}} .blockart-faq-link"}]},"boxShadowHover":{"type":"object","default":{"boxShadow":1},"style":[{"selector":"{{WRAPPER}} .blockart-faq-link:hover, {{WRAPPER}} .blockart-faq-link:focus, {{WRAPPER}} .blockart-faq-link:active"}]},"blockMargin":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { margin: {{VALUE}}; }"}]},"blockPadding":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { padding: {{VALUE}}; }"}]},"blockZIndex":{"type":"number","style":[{"selector":"{{WRAPPER}} { z-index: {{VALUE}}; }"}]},"blockOpacity":{"type":"number","style":[{"selector":"{{WRAPPER}} { opacity: {{VALUE}}; }"}]},"cssID":{"type":"string"},"animation":{"type":"string"},"interaction":{"type":"object"},"position":{"type":"object"},"hideOnDesktop":{"type":"boolean","style":[{"selector":"@media (min-width:62em) { {{WRAPPER}} { display: none !important; } }"}]},"hideOnTablet":{"type":"boolean","style":[{"selector":"@media (min-width:48em) and (max-width:62em) { {{WRAPPER}} { display: none !important; } }"}]},"hideOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} { display: none !important; } }"}]},"colReverseOnTablet":{"type":"boolean","style":[{"selector":"@media (max-width:62em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"colReverseOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"blockCSS":{"type":"string"},"className":{"type":"string"}},"style":"blockart-blocks","editorScript":"blockart-blocks","editorStyle":"blockart-blocks-editor","viewScript":"blockart-frontend-faq"}'),Rj=Sj.name,Mj={...Sj,icon:G().createElement(cz,{type:"blockIcon",name:"faqInner",size:24}),edit:e=>{const{attributes:{style:t,size:r,cssID:n,className:a,width:o,faqHover:i,positionProperty:l,question:s,answer:c,isFocused:u},setAttributes:d,clientId:p}=e,{clientId:m}=jv(e),{device:h}=ib(),{CopyPasterStyleBlockControl:f}=Yv(),{Style:v}=Fv({blockName:"faq-inner",clientId:m,attributes:e.attributes,device:h}),{updateBlockAttributes:b}=(0,Hv.dispatch)("core/block-editor"),{rootClientId:g,rootBlockAttributes:y,rootFirstChildClientId:E}=(0,Hv.useSelect)((t=>{const{getBlockRootClientId:r,getBlockAttributes:n,getBlocks:a}=t("core/block-editor"),o=r(e.clientId),i=a(o),l=i.length?i[0].clientId:null;return{rootClientId:null!=o?o:void 0,rootBlockAttributes:n(o),rootFirstChildClientId:l}}),[e.clientId]),k=Cv(r&&("filled"===t||"outline"===t)&&`is-${r}`,t&&`is-style-${t}`,i&&`is-hover-${i}`),w=(0,q.useBlockProps)({className:Cv(`blockart-faq-inner blockart-faq-inner-${m}`,a)}),x=(e=>{let t="";if(!e?.position||"none"===e.position)return t;t+=`position: ${e.position};`;for(const n of["top","right","bottom","left"]){var r;const a=null!==(r=e?.[n])&&void 0!==r?r:void 0;_v(a)||(t+=`${n}: ${a}px;`)}return t})(l);function _(){u||b(g,{focusedChildClientId:m}),d({isFocused:!u})}d({collapseIcon:y?.collapseIcon,expandIcon:y?.expandIcon,iconPosition:y?.iconPosition}),(0,U.useEffect)((()=>{y?.collapseOthers&&y.focusedChildClientId!==m&&d({isFocused:!1})}),[y?.focusedChildClientId]);const P=E==e.clientId;(0,U.useEffect)((()=>{d(y?.expandFirst&&P?{isFocused:!0}:{isFocused:!1})}),[]);const C=t=>{const{getBlockIndex:r,getBlocks:n}=(0,Hv.select)("core/block-editor"),{replaceInnerBlocks:a}=(0,Hv.dispatch)("core/block-editor"),o=r(e.clientId,g),i=[...n(g)];"delete"===t?i.splice(o,1):i.splice(o+1,0,(0,$.createBlock)("blockart/faq-inner")),a(g,i,!1)};return G().createElement(G().Fragment,null,G().createElement(q.InspectorControls,null,G().createElement("p",{className:"notice notice-success",style:{padding:"10px"}}," ","Please click on the parent block to set styling options.")),G().createElement(q.BlockControls,{group:"block"},G().createElement(Zv.ToolbarGroup,null,G().createElement(Zv.Button,{label:(0,K.__)("Add button","blockart"),onClick:()=>C("add"),icon:"plus"}),G().createElement(Zv.Button,{label:(0,K.__)("Delete button","blockart"),onClick:()=>C("delete"),icon:"trash"}))),G().createElement(f,{withBlockControls:!0}),G().createElement(G().Fragment,null,G().createElement(v,null),x&&G().createElement("style",null,`[data-block="${p}"] { ${x} }`),G().createElement("div",w,G().createElement("div",{className:k},G().createElement("div",{className:Cv("blockart-control",u?"blockart-faq-focused":"")},G().createElement("div",{className:"blockart-faq-title-wrapper"},"left"===y?.iconPosition&&G().createElement(LH,{name:u?y?.collapseIcon:y?.expandIcon,size:24,onClick:_}),G().createElement(q.RichText,{tagName:"div",placeholder:(0,K.__)("What is FAQ?","blockart"),value:s,onChange:e=>d({question:e}),className:"blockart-faq-question",multiline:!1,allowedFormats:["core/bold","core/italic"]}),"right"===y?.iconPosition&&G().createElement(LH,{name:u?y?.collapseIcon:y?.expandIcon,size:24,onClick:_})),u&&G().createElement("div",{className:"blockart-faq-content"},G().createElement(q.RichText,{value:c,tagName:"p",className:"blockart-faq-answer",placeholder:(0,K.__)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum sit amet tincidunt diam. Praesent sed aliquam est, non sagittis erat. Quisque non hendrerit dolor.","blockart"),onChange:e=>d({answer:e}),allowedFormats:["core/bold","core/italic"]})))))))},save:e=>{const{attributes:{question:t,answer:r,collapseIcon:n,expandIcon:a,iconPosition:o}}=e;return G().createElement("div",{className:Cv("blockart-control")},G().createElement("div",{className:"blockart-faq-title-wrapper"},"left"===o&&G().createElement(G().Fragment,null,G().createElement(LH,{name:a,size:24,className:"blockart-faq-expand-icon"}),G().createElement(LH,{name:n,size:24,className:"blockart-faq-collapse-icon"})),G().createElement("div",{className:"blockart-faq-question"},G().createElement(q.RichText.Content,{value:t})),"right"===o&&G().createElement(G().Fragment,null,G().createElement(LH,{name:a,size:24,className:"blockart-faq-expand-icon"}),G().createElement(LH,{name:n,size:24,className:"blockart-faq-collapse-icon"}))),G().createElement("div",{className:"blockart-faq-content"},G().createElement(q.RichText.Content,{value:r})))}},Tj=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","name":"blockart/faq","title":"FAQ","description":"Display Frequently Asked Questions as an accordion.","keywords":["faq","accordion","question"],"category":"blockart","textdomain":"blockart","supports":{"className":false,"customClassName":false,"html":false},"example":{"attributes":{}},"attributes":{"clientId":{"type":"string"},"focusedChildClientId":{"type":"string"},"answerTypography":{"type":"object","default":{"typography":1},"style":[{"selector":".blockart-faq-answer"}]},"questionTypography":{"type":"object","default":{"typography":1},"style":[{"selector":".blockart-faq-question"}]},"justification":{"type":"object"},"orientation":{"type":"object"},"questionAlignment":{"type":"object","style":[{"selector":".blockart-faq-question { text-align: {{VALUE}}; }"}]},"answerAlignment":{"type":"object","style":[{"selector":".blockart-faq-answer { text-align: {{VALUE}}; }"}]},"flexWrap":{"type":"boolean","default":true},"expandFirst":{"type":"boolean","default":true},"collapseOthers":{"type":"boolean","default":true},"enableSchema":{"type":"boolean","default":true},"itemsSeparator":{"type":"boolean","default":true},"collapseIcon":{"type":"string","default":"close"},"expandIcon":{"type":"string","default":"plus"},"iconPosition":{"type":"string","default":"right"},"iconSize":{"type":"object","default":{"desktop":{"value":14,"unit":"px"}},"style":[{"selector":".blockart-faq-title-wrapper svg { height: {{VALUE}}; width: {{VALUE}}; }"}]},"iconGap":{"type":"object","default":{"desktop":{"value":12,"unit":"px"}},"style":[{"selector":".blockart-faq-title-wrapper svg { margin: auto {{VALUE}}; }"}]},"questionPadding":{"type":"object","default":{"dimension":1,"desktop":{"lock":false,"unit":"px","left":10,"right":10,"top":10,"bottom":10}},"style":[{"selector":".blockart-faq-title-wrapper { padding: {{VALUE}}; }"}]},"answerPadding":{"type":"object","default":{"dimension":1,"desktop":{"lock":false,"unit":"px","left":10,"right":10,"top":0,"bottom":10}},"style":[{"selector":".blockart-faq-content { padding: {{VALUE}}; }"}]},"itemsSeparatorWidth":{"type":"object","default":{"desktop":{"value":1,"unit":"px"}},"style":[{"selector":"{{WRAPPER}} .blockart-control { border-bottom: {{VALUE}} solid; }"}]},"itemsSeparatorColor1":{"type":"string","default":"#cccccc","style":[{"condition":[{"key":"style","relation":"==","value":"filled"}],"selector":"{{WRAPPER}} .blockart-control { border-color: {{VALUE}} !important; }"}]},"itemsSeparatorColor2":{"type":"string","default":"#cccccc","style":[{"condition":[{"key":"style","relation":"!=","value":"filled"}],"selector":"{{WRAPPER}} .blockart-control { border-color: {{VALUE}} !important; }"}]},"questionColor1":{"type":"string","default":"#000000","style":[{"condition":[{"key":"style","relation":"==","value":"filled"}],"selector":"{{WRAPPER}} .blockart-faq-title-wrapper .blockart-faq-question { color: {{VALUE}}; } {{WRAPPER}} .blockart-icon{ fill: {{VALUE}}; }"}]},"questionColor2":{"type":"string","default":"#000000","style":[{"condition":[{"key":"style","relation":"!=","value":"filled"}],"selector":"{{WRAPPER}} .blockart-faq-title-wrapper .blockart-faq-question { color: {{VALUE}}; } {{WRAPPER}} .blockart-icon { fill: {{VALUE}}; }"}]},"questionBackground1":{"type":"string","default":"#fff","style":[{"condition":[{"key":"style","relation":"==","value":"filled"}],"selector":"{{WRAPPER}} .blockart-faq-title-wrapper { background: {{VALUE}}; }"}]},"questionBackground2":{"type":"string","default":"#fff","style":[{"condition":[{"key":"style","relation":"!=","value":"filled"}],"selector":"{{WRAPPER}} .blockart-faq-title-wrapper { background: {{VALUE}}; }"}]},"answerColor1":{"type":"string","default":"#000","style":[{"condition":[{"key":"style","relation":"==","value":"filled"}],"selector":"{{WRAPPER}} .blockart-faq-content p { color: {{VALUE}}; }"}]},"answerColor2":{"type":"string","default":"#000","style":[{"condition":[{"key":"style","relation":"!=","value":"filled"}],"selector":"{{WRAPPER}} .blockart-faq-content p { color: {{VALUE}}; }"}]},"answerBackground1":{"type":"string","default":"#fff","style":[{"condition":[{"key":"style","relation":"==","value":"filled"}],"selector":"{{WRAPPER}} .blockart-faq-content { background: {{VALUE}}; }"}]},"answerBackground2":{"type":"string","default":"#fff","style":[{"condition":[{"key":"style","relation":"!=","value":"filled"}],"selector":"{{WRAPPER}} .blockart-faq-content { background: {{VALUE}}; }"}]},"flexGap":{"type":"object","default":{"desktop":{"value":8,"unit":"px"}},"style":[{"selector":"{{WRAPPER}} { gap: {{VALUE}}; }"}]},"positionProperty":{"type":"object","default":{"positionProperty":1,"position":"none"},"style":[{"selector":"{{WRAPPER}}"}]},"blockMargin":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { margin: {{VALUE}}; }"}]},"blockPadding":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { padding: {{VALUE}}; }"}]},"blockHTML":{"type":"string","default":"div"},"blockZIndex":{"type":"number","style":[{"selector":"{{WRAPPER}} { z-index: {{VALUE}}; }"}]},"blockOpacity":{"type":"number","style":[{"selector":"{{WRAPPER}} { opacity: {{VALUE}}; }"}]},"cssID":{"type":"string"},"animation":{"type":"string"},"interaction":{"type":"object"},"position":{"type":"object"},"hideOnDesktop":{"type":"boolean","style":[{"selector":"@media (min-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnTablet":{"type":"boolean","style":[{"selector":"@media (min-width:48em) and (max-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} { display: none; } }"}]},"colReverseOnTablet":{"type":"boolean","style":[{"selector":"@media (max-width:62em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"colReverseOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"blockCSS":{"type":"string"},"className":{"type":"string"}},"style":"blockart-blocks","editorScript":"blockart-blocks","editorStyle":"blockart-blocks-editor","viewScript":["blockart-frontend-faq"]}'),Ij=e=>{const{attributes:{orientation:t,justification:r,flexGap:n,flexWrap:a,blockMargin:o,blockHTML:i,blockPadding:l,blockZIndex:s,blockOpacity:c,cssID:u,hideOnDesktop:d,hideOnTablet:p,hideOnMobile:m,className:h,alignment:f,positionProperty:v,answerTypography:b,questionTypography:g,collapseOthers:y,expandFirst:E,enableSchema:k,questionAlignment:w,answerAlignment:x,iconPosition:_,iconSize:P,iconGap:C,expandIcon:A,collapseIcon:S,questionPadding:R,answerPadding:M,itemsSeparatorWidth:T,itemsSeparatorColor1:I,itemsSeparatorColor2:O,questionColor1:L,questionColor2:D,questionBackground1:B,questionBackground2:z,answerColor1:N,answerColor2:V,answerBackground1:F,answerBackground2:H,clientId:j},setAttributes:W}=e,$=Object.keys(Y).reduce(((e,t)=>{var r;const a=n?.[t]?.value,o=null!==(r=n?.[t]?.unit)&&void 0!==r?r:"px";return a&&(e[t]=`.blockart-faq-${j} .block-editor-block-list__layout{ gap: ${a+o} }`),e}),{});return G().createElement(G().Fragment,null,G().createElement(bH,null),G().createElement(mH,null,G().createElement(gH,{title:(0,K.__)("General","blockart"),initialOpen:!0},G().createElement(jF,{checked:null!=E&&E,label:(0,K.__)("Expand first Item","blockart"),onChange:()=>W({expandFirst:!E})}),G().createElement(jF,{checked:null!=y&&y,label:(0,K.__)("Collapse other items","blockart"),onChange:()=>W({collapseOthers:!y})}),G().createElement(jF,{checked:null!=k&&k,label:(0,K.__)("Add FAQ Schema","blockart"),onChange:()=>W({enableSchema:!k})})),G().createElement(gH,{title:(0,K.__)("Icon","blockart")},G().createElement(LF,{value:A||{},onChange:e=>W({expandIcon:e}),hasToggle:!1}),G().createElement(LF,{value:S||{},onChange:e=>W({collapseIcon:e}),hasToggle:!1}),G().createElement(HF,{value:_,onChange:e=>{W({iconPosition:e})},label:(0,K.__)("Position","blockart"),resetAttributeKey:"iconPosition",groupProps:{sx:{".chakra-button":{minH:"32px","&[data-active]":{svg:{fill:"#fff !important"}}}}}},G().createElement(FF,{value:"left"},G().createElement(qM,null)),G().createElement(FF,{value:"right"},G().createElement(KM,null))),G().createElement(MD,{resetAttributeKey:"iconSize",label:(0,K.__)("Size","blockart"),min:0,max:50,value:P,onChange:e=>W({iconSize:e}),responsive:!0,units:["px","em","%"]}),G().createElement(MD,{resetAttributeKey:"iconGap",label:(0,K.__)("Gap","blockart"),min:0,max:60,value:C,onChange:e=>W({iconGap:e}),responsive:!0,units:["px","em","%"]})),G().createElement(gH,{title:(0,K.__)("Separator","blockart")},G().createElement(G().Fragment,null,G().createElement(MD,{resetAttributeKey:"itemsSeparatorWidth",label:(0,K.__)("Thickness","blockart"),min:0,max:5,value:T,onChange:e=>W({itemsSeparatorWidth:e}),responsive:!0,units:["px","em","%"]}),G().createElement(BV,{label:(0,K.__)("Color","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:"filled"===$?[{color:I,id:"itemsSeparatorColor1"}]:[{color:O,id:"itemsSeparatorColor2"}]}));return Iv("filled"===$?I:O)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-10px",bg:"white",borderRadius:"full"})):G().createElement(t,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative",size:"sm"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:I,resetKey:"color",onReset:e=>{W("filled"===$?{itemsSeparatorColor1:e}:{itemsSeparatorColor2:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:"filled"===$?I:O,onChange:e=>W("filled"===$?{itemsSeparatorColor1:e}:{itemsSeparatorColor2:e})})))))))),G().createElement(hH,null,G().createElement(gH,{title:(0,K.__)("Question","blockart")},G().createElement(BV,{label:(0,K.__)("Color","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:"filled"===$?[{color:L,id:"questionColor1"}]:[{color:D,id:"questionColor2"}]}));return Iv("filled"===$?L:D)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-10px",bg:"white",borderRadius:"full"})):G().createElement(t,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative",size:"sm"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:L,resetKey:"color",onReset:e=>{W("filled"===$?{questionColor1:e}:{questionColor2:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:"filled"===$?L:D,onChange:e=>W("filled"===$?{questionColor1:e}:{questionColor2:e})}))))),G().createElement(BV,{label:(0,K.__)("Background","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:"filled"===$?[{color:B,id:"questionBackground1"}]:[{color:z,id:"questionBackground2"}]}));return Iv("filled"===$?B:z)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-10px",bg:"white",borderRadius:"full"})):G().createElement(t,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative",size:"sm"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:B,resetKey:"color",onReset:e=>{W("filled"===$?{questionBackground1:e}:{questionBackground2:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:"filled"===$?B:z,onChange:e=>W("filled"===$?{questionBackground1:e}:{questionBackground2:e})}))))),G().createElement(OD,{value:g,onChange:e=>W({questionTypography:e})}),G().createElement(HF,{value:w,onChange:e=>{W({questionAlignment:e})},label:(0,K.__)("Alignment","blockart"),responsive:!0,resetAttributeKey:"questionAlignment",groupProps:{sx:{".chakra-button":{minH:"32px","&[data-active]":{svg:{fill:"#fff !important"}}}}}},G().createElement(FF,{value:"left"},G().createElement(qM,null)),G().createElement(FF,{value:"center"},G().createElement(YM,null)),G().createElement(FF,{value:"right"},G().createElement(KM,null)),G().createElement(FF,{value:"justify"},G().createElement(XM,null))),G().createElement($V,{value:R||{},responsive:!0,label:(0,K.__)("Padding","blockart"),defaultUnit:"px",units:["px","rem","em","%"],onChange:e=>W({questionPadding:e}),type:"questionPadding",resetAttributeKey:"questionPadding"})),G().createElement(gH,{title:(0,K.__)("Answer","blockart")},G().createElement(BV,{label:(0,K.__)("Color","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:"filled"===$?[{color:N,id:"answerColor1"}]:[{color:V,id:"answerColor2"}]}));return Iv("filled"===$?N:V)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-10px",bg:"white",borderRadius:"full"})):G().createElement(t,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative",size:"sm"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:N,resetKey:"color",onReset:e=>{W("filled"===$?{answerColor1:e}:{answerColor2:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:"filled"===$?N:V,onChange:e=>W("filled"===$?{answerColor1:e}:{answerColor2:e})}))))),G().createElement(BV,{label:(0,K.__)("Background","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:"filled"===$?[{color:F,id:"answerBackground1"}]:[{color:H,id:"answerBackground2"}]}));return Iv("filled"===$?F:H)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-10px",bg:"white",borderRadius:"full"})):G().createElement(t,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative",size:"sm"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:F,resetKey:"color",onReset:e=>{W("filled"===$?{answerBackground1:e}:{answerBackground2:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:"filled"===$?F:H,onChange:e=>W("filled"===$?{answerBackground1:e}:{answerBackground2:e})}))))),G().createElement(OD,{value:b,onChange:e=>W({answerTypography:e})}),G().createElement(HF,{value:x,onChange:e=>{W({answerAlignment:e})},label:(0,K.__)("Alignment","blockart"),responsive:!0,resetAttributeKey:"answerAlignment",groupProps:{sx:{".chakra-button":{minH:"32px","&[data-active]":{svg:{fill:"#fff !important"}}}}}},G().createElement(FF,{value:"left"},G().createElement(qM,null)),G().createElement(FF,{value:"center"},G().createElement(YM,null)),G().createElement(FF,{value:"right"},G().createElement(KM,null)),G().createElement(FF,{value:"justify"},G().createElement(XM,null))),G().createElement($V,{value:M||{},responsive:!0,label:(0,K.__)("Padding","blockart"),defaultUnit:"px",units:["px","rem","em","%"],onChange:e=>W({answerPadding:e}),type:"answerPadding",resetAttributeKey:"answerPadding"}))),G().createElement(fH,null,G().createElement(yH,{blockMargin:o,setAttributes:W,blockPadding:l}),G().createElement(EH,{hideOnDesktop:d,hideOnTablet:p,hideOnMobile:m,setAttributes:W})))},Oj=e=>{const{orientation:t,justification:r,alignment:n}=e;let a={};for(const e in Y){const o="tablet"===e?"-md":"mobile"===e?"-sm":"",i=t?.[e],l=r?.[e],s=n?.[e];i&&(a?.[e]||(a[e]={}),a[e][`is-${i}${o}`]=!0),l&&(a?.[e]||(a[e]={}),a[e][`justify-${l}${o}`]=!0),s&&(a?.[e]||(a[e]={}),a[e][`align-${s}${o}`]=!0)}return a},Lj="blockart/faq-inner",Dj=Tj.name,Bj={...Tj,icon:G().createElement(cz,{type:"blockIcon",name:"faq",size:24}),edit:e=>{var t,r,n,a,o,i,l,s,c,u;const{attributes:{orientation:d,justification:p,flexGap:m,flexWrap:h,blockMargin:f,blockHTML:v,blockPadding:b,blockZIndex:g,blockOpacity:y,cssID:E,hideOnDesktop:k,hideOnTablet:w,hideOnMobile:x,className:_,alignment:P,positionProperty:C,answerTypography:A,questionTypography:S,collapseOthers:R,expandFirst:M,enableSchema:T,questionAlignment:I,answerAlignment:O,iconPosition:L,iconSize:D,iconGap:B,expandIcon:z,collapseIcon:N,questionPadding:V,answerPadding:F,itemsSeparatorWidth:H,itemsSeparatorColor1:j,itemsSeparatorColor2:W,questionColor1:Z,questionColor2:U,questionBackground1:X,questionBackground2:Q,answerColor1:J,answerColor2:ee,answerBackground1:te,answerBackground2:re},setAttributes:ne}=e,{clientId:ae}=jv(e),{device:oe}=ib(),{CopyPasterStyleBlockControl:ie}=Yv(),{Style:le}=Fv({blockName:"faq",clientId:ae,attributes:e.attributes,device:oe}),se=Oj({orientation:d,justification:p,alignment:P}),ce=Object.keys(Y).reduce(((e,t)=>{var r;const n=m?.[t]?.value,a=null!==(r=m?.[t]?.unit)&&void 0!==r?r:"px";return n&&(e[t]=`.blockart-faq-${ae} .block-editor-block-list__layout{ gap: ${n+a} }`),e}),{}),ue=(0,q.useInnerBlocksProps)({id:E,className:Cv(`blockart-faq blockart-faq-${ae}`,{"is-wrap":h,..."mobile"===oe?null!==(t=null!==(r=null!==(n=se?.mobile)&&void 0!==n?n:se?.tablet)&&void 0!==r?r:se?.desktop)&&void 0!==t?t:{}:"tablet"===oe?null!==(a=null!==(o=se?.tablet)&&void 0!==o?o:se?.desktop)&&void 0!==a?a:{}:null!==(i=se?.desktop)&&void 0!==i?i:{}},_)},{allowedBlocks:[Lj],template:[[Lj]],templateLock:!1,templateInsertUpdatesSelection:!0});return G().createElement(G().Fragment,null,G().createElement(Ij,{attributes:e.attributes,setAttributes:e.setAttributes}),G().createElement(q.BlockControls,{group:"block"},G().createElement(Zv.ToolbarGroup,null,G().createElement(Zv.Button,{label:(0,K.__)("Add Button","blockart"),onClick:()=>{const{getBlocks:t}=(0,Hv.select)("core/block-editor"),{replaceInnerBlocks:r}=(0,Hv.dispatch)("core/block-editor"),n=[...t(e.clientId)];n.push((0,$.createBlock)("blockart/faq-inner")),r(e.clientId,n,!1)},icon:"plus"}))),G().createElement(ie,{withBlockControls:!0}),G().createElement(le,null),G().createElement("style",null,"mobile"===oe?null!==(l=null!==(s=ce?.mobile)&&void 0!==s?s:ce.tablet)&&void 0!==l?l:ce?.desktop:"tablet"===oe?null!==(c=ce?.tablet)&&void 0!==c?c:ce?.desktop:null!==(u=ce?.desktop)&&void 0!==u?u:""),G().createElement("ul",ue))},save:e=>{const{attributes:{clientId:t,className:r,flexWrap:n,orientation:a,justification:o,alignment:i,blockHTML:l,expandFirst:s,collapseOthers:c}}=e,u=Oj({alignment:i,orientation:a,justification:o}),d=q.useInnerBlocksProps.save({className:Cv(`blockart-faq blockart-faq-${t} blockart-faq-frontend`,s?"expand-first-child":"",c?"collapse-others":"",...Object.values(u),r)}),p=l;return G().createElement(p,d)}},zj=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","name":"blockart/heading","title":"Heading","description":"Create stylish title for each section with various markups from H1 to H6.","keywords":["heading","headline"],"category":"blockart","textdomain":"blockart","supports":{"className":false,"customClassName":false},"example":{"attributes":{}},"attributes":{"clientId":{"type":"string"},"inputTest":{"type":"number","default":0},"slider1":{"type":"object","default":10},"slider2":{"type":"object"},"slider3":{"type":"object"},"slider4":{"type":"object","desktop":{"value":5,"unit":"px"}},"markup":{"type":"string","default":"h2"},"text":{"type":"string"},"color":{"type":"string","default":"#000","style":[{"selector":".blockart-heading{{WRAPPER}} {color: {{VALUE}}; }"}]},"hoverColor":{"type":"string","style":[{"selector":".blockart-heading{{WRAPPER}}:hover {color: {{VALUE}}; }"}]},"background":{"type":"object","default":{"background":1},"style":[{"selector":".blockart-heading{{WRAPPER}}"}]},"hoverBackground":{"type":"object","default":{"background":1},"style":[{"selector":".blockart-heading{{WRAPPER}}:hover"}]},"alignment":{"type":"object","style":[{"selector":".blockart-heading{{WRAPPER}} {text-align: {{VALUE}}; }"}]},"size":{"type":"string"},"width":{"type":"string","default":"100%","style":[{"condition":[{"key":"width","relation":"!=","value":"fixed"}],"selector":".blockart-heading{{WRAPPER}} {width: {{VALUE}}; }"}]},"fixedWidth":{"type":"object","style":[{"condition":[{"key":"width","relation":"==","value":"fixed"}],"selector":".blockart-heading{{WRAPPER}} { width: {{VALUE}}; }"}]},"typography":{"type":"object","default":{"typography":1,"weight":500},"style":[{"selector":".blockart-heading{{WRAPPER}}"}]},"border":{"type":"object","default":{"border":1,"radius":{"desktop":{"lock":true}},"size":{"desktop":{"lock":true}}},"style":[{"selector":".blockart-heading{{WRAPPER}}"}]},"hoverBorder":{"type":"object","default":{"border":1,"radius":{"desktop":{"lock":true}},"size":{"desktop":{"lock":true}}},"style":[{"selector":".blockart-heading{{WRAPPER}}:hover"}]},"boxShadow":{"type":"object","default":{"boxShadow":1},"style":[{"selector":".blockart-heading{{WRAPPER}}"}]},"boxShadowHover":{"type":"object","default":{"boxShadow":1},"style":[{"selector":".blockart-heading{{WRAPPER}}:hover"}]},"margin":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":".blockart-heading{{WRAPPER}} { margin: {{VALUE}}; }"}]},"blockMargin":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":".blockart-heading{{WRAPPER}} { margin: {{VALUE}}; }"}]},"blockPadding":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { padding: {{VALUE}}; }"}]},"blockZIndex":{"type":"number","style":[{"selector":"{{WRAPPER}} { z-index: {{VALUE}}; }"}]},"cssID":{"type":"string"},"animation":{"type":"string"},"interaction":{"type":"object"},"position":{"type":"object"},"hideOnDesktop":{"type":"boolean","style":[{"selector":"@media (min-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnTablet":{"type":"boolean","style":[{"selector":"@media (min-width:48em) and (max-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} { display: none; } }"}]},"colReverseOnTablet":{"type":"boolean","style":[{"selector":"@media (max-width:62em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"colReverseOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"blockCSS":{"type":"string"},"className":{"type":"string"},"highlightColor":{"type":"string","default":"#fff","style":[{"selector":".blockart-heading{{WRAPPER}} > .blockart-highlight { color: {{VALUE}} }"}]},"highlightBackgroundColor":{"type":"object","default":{"background":1,"color":"#007cba"},"style":[{"selector":".blockart-heading{{WRAPPER}} > .blockart-highlight"}]},"highlightTypography":{"type":"object","default":{"typography":1},"style":[{"selector":".blockart-heading{{WRAPPER}} > .blockart-highlight"}]},"subHeading":{"type":"boolean","default":false},"subHeadingPosition":{"type":"string","default":"below"},"subHeadingText":{"type":"string","default":""},"headingToggle":{"type":"boolean","default":true},"separatorStyle":{"type":"string","default":"none"},"separatorPosition":{"type":"string","default":"below-heading"},"textShadow":{"type":"boolean","default":false},"textShadowColor":{"type":"string","default":"#000"},"textShadowX":{"type":"number","default":2},"textShadowY":{"type":"number","default":2},"textShadowBlur":{"type":"number","default":3},"icon":{"type":"string"},"iconPosition":{"type":"string","default":"right"},"iconSize":{"type":"object","style":[{"condition":[{"key":"icon","relation":"!=","value":""}],"selector":"{{WRAPPER}} .blockart-button-icon .blockart-icon { width: {{VALUE}}; height: auto; }"}]},"iconGap":{"type":"object","style":[{"condition":[{"key":"icon","relation":"!=","value":""},{"key":"iconPosition","relation":"==","value":"left"}],"selector":"{{WRAPPER}} .blockart-button-icon { margin-right: {{VALUE}}; }"},{"condition":[{"key":"icon","relation":"!=","value":""},{"key":"iconPosition","relation":"==","value":"right"}],"selector":"{{WRAPPER}} .blockart-button-icon { margin-left: {{VALUE}}; }"}]}},"style":"blockart-blocks","editorScript":"blockart-blocks","editorStyle":"blockart-blocks-editor"}'),Nj=e=>{const{attributes:{markup:t,color:r,hoverColor:n,margin:a,background:o,hoverBackground:i,alignment:l,size:s,typography:c,border:u,hoverBorder:d,boxShadow:p,boxShadowHover:m,blockPadding:h,blockZIndex:f,cssID:v,hideOnDesktop:b,hideOnTablet:g,hideOnMobile:y,className:E,blockMargin:k,width:w,fixedWidth:x},setAttributes:_}=e;return G().createElement(G().Fragment,null,G().createElement(bH,null),G().createElement(mH,null,G().createElement(gH,{title:(0,K.__)("Layout","blockart"),initialOpen:!0},G().createElement(HF,{value:s,onChange:e=>{_({size:e})},label:(0,K.__)("Size","blockart"),resetAttributeKey:"size",groupProps:{sx:{".chakra-button":{minH:"8"}}}},G().createElement(FF,{value:"small"},"Small"),G().createElement(FF,{value:"medium"},"Medium"),G().createElement(FF,{value:"large"},"Large")),G().createElement(VV,{options:kj,onChange:e=>_({markup:e}),value:t,label:(0,K.__)("HTML Markup","blockart")}),G().createElement(HF,{value:w,onChange:e=>{_({width:e})},label:(0,K.__)("Width","blockart"),resetAttributeKey:"width",groupProps:{sx:{".chakra-button":{minH:"8"}}}},G().createElement(FF,{value:"100%"},"Auto"),G().createElement(FF,{value:"fit-content"},"Fit Content"),G().createElement(FF,{value:"fixed"},"Fixed")),"fixed"===w&&G().createElement(MD,{onChange:e=>_({fixedWidth:e}),label:(0,K.__)("Fixed Width","blockart"),responsive:!0,min:0,max:1e3,value:x,units:["px","em","%"],resetAttributeKey:"fixedWidth"}))),G().createElement(hH,null,G().createElement(gH,{title:(0,K.__)("Properties","blockart"),initialOpen:!0},G().createElement(HF,{value:l,onChange:e=>{_({alignment:e})},label:(0,K.__)("Text Alignment","blockart"),responsive:!0,resetAttributeKey:"alignment",groupProps:{sx:{".chakra-button":{minH:"32px","&[data-active]":{svg:{fill:"#fff !important"}}}}}},G().createElement(FF,{value:"left"},G().createElement(qM,null)),G().createElement(FF,{value:"center"},G().createElement(YM,null)),G().createElement(FF,{value:"right"},G().createElement(KM,null)),G().createElement(FF,{value:"justify"},G().createElement(XM,null)))),G().createElement(gH,{title:(0,K.__)("Background","blockart")},G().createElement(BV,{label:(0,K.__)("Type","blockart")},G().createElement(Oa,{position:"relative",size:"sm"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart")),G().createElement(Da,null,(0,K.__)("Hover","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:o,resetKey:"background",onReset:e=>{_({background:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(RV,{value:o,onChange:e=>_({background:e})})),G().createElement(Fa,null,G().createElement(bO,{saved:i,resetKey:"hoverBackground",onReset:e=>{_({hoverBackground:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(RV,{value:i,onChange:e=>_({hoverBackground:e})})))))),G().createElement(gH,{title:(0,K.__)("Heading","blockart")},G().createElement(BV,{label:(0,K.__)("Text Color","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:r,id:"color"},{color:n,id:"hoverColor"}]}));return Iv(r)||Iv(n)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-10px",bg:"white",borderRadius:"full"})):G().createElement(t,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative",size:"sm"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart")),G().createElement(Da,null,(0,K.__)("Hover","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:r,resetKey:"color",onReset:e=>{_({color:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:r,onChange:e=>_({color:e})})),G().createElement(Fa,null,G().createElement(bO,{saved:n,resetKey:"hoverColor",onReset:e=>{_({hoverColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:n,onChange:e=>_({hoverColor:e})}))))),G().createElement(OD,{value:c,onChange:e=>_({typography:e}),resetAttributeKey:"typography"}),G().createElement($V,{label:(0,K.__)("Margin","blockart"),onChange:e=>_({margin:e}),value:a,responsive:!0,resetAttributeKey:"margin"})),G().createElement(gH,{title:(0,K.__)("Border","blockart")},G().createElement(Oa,{variant:"border"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart")),G().createElement(Da,null,(0,K.__)("Hover","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(OV,{value:u,onChange:e=>{_({border:e})},resetAttributeKey:"border"}),G().createElement(FV,{resetAttributeKey:"boxShadow",value:p,onChange:e=>_({boxShadow:e})})),G().createElement(Fa,null,G().createElement(OV,{value:d,onChange:e=>{_({hoverBorder:e})},resetAttributeKey:"hoverBorder"}),G().createElement(FV,{resetAttributeKey:"boxShadowHover",value:m,onChange:e=>_({boxShadowHover:e})})))))),G().createElement(fH,null,G().createElement(yH,{blockMargin:k,setAttributes:_,blockPadding:h,blockZIndex:f,cssID:v,className:E,hasblockHTML:!1}),G().createElement(EH,{hideOnDesktop:b,hideOnTablet:g,hideOnMobile:y,setAttributes:_})))},Vj=zj.name,Fj={...zj,icon:G().createElement(cz,{type:"blockIcon",name:"heading",size:24}),edit:e=>{const{attributes:{markup:t,text:r,size:n,cssID:a,className:o,typography:i},setAttributes:l}=e,{clientId:s}=jv(e),{device:c}=ib(),{CopyPasterStyleBlockControl:u}=Yv(),{Style:d}=Fv({blockName:"heading",clientId:s,attributes:e.attributes,device:c});return G().createElement(G().Fragment,null,G().createElement(Nj,{attributes:e.attributes,setAttributes:e.setAttributes}),G().createElement(q.BlockControls,{group:"block"},G().createElement(Zv.ToolbarDropdownMenu,{icon:G().createElement(xj,{level:t}),label:(0,K.__)("Change heading level","blockart"),controls:kj.map((({value:e,label:r})=>{{const n=e===t;return{icon:G().createElement(xj,{level:e,isPressed:n}),title:r,isActive:n,onClick(){l({markup:e})},role:"menuitemradio"}}}))})),G().createElement(u,{withBlockControls:!0}),G().createElement(d,null),G().createElement(q.RichText,{id:a||null,className:Cv(`blockart-heading blockart-heading-${s}`,n&&`is-${n}`,i?._className,o),tagName:t,placeholder:(0,K.__)("This is heading","blockart"),value:r,onChange:e=>{l({text:e})}}))},save:e=>{const{attributes:{markup:t,text:r,className:n,cssID:a,size:o,clientId:i,typography:l}}=e;return G().createElement(q.RichText.Content,{id:null!=a?a:void 0,className:Cv(`blockart-heading blockart-heading-${i}`,o&&`is-${o}`,l?._className,n),tagName:t,value:r})}},Hj=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","name":"blockart/icon","title":"Icon","description":"Add Icons with your customize features.","keywords":["icon"],"category":"blockart","textdomain":"blockart","supports":{"className":false,"customClassName":false},"example":{"attributes":{}},"attributes":{"clientId":{"type":"string"},"hoverColor":{"type":"string","style":[{"selector":".blockart-icon-block{{WRAPPER}}:hover {color: {{VALUE}}; }"}]},"background":{"type":"object","default":{"background":1},"style":[{"selector":".blockart-icon-block{{WRAPPER}}"}]},"hoverBackground":{"type":"object","default":{"background":1},"style":[{"selector":".blockart-icon-block{{WRAPPER}}:hover"}]},"alignment":{"type":"string","style":[{"selector":".blockart-icon-block{{WRAPPER}} {text-align: {{VALUE}}; justify-content: {{VALUE}}; }"}]},"border":{"type":"object","default":{"border":1,"radius":{"desktop":{"lock":true}},"size":{"desktop":{"lock":true}}},"style":[{"selector":".blockart-icon-block{{WRAPPER}}"}]},"hoverBorder":{"type":"object","default":{"border":1,"radius":{"desktop":{"lock":true}},"size":{"desktop":{"lock":true}}},"style":[{"selector":".blockart-icon-block{{WRAPPER}}:hover"}]},"boxShadow":{"type":"object","default":{"boxShadow":1},"style":[{"selector":".blockart-icon-block{{WRAPPER}}"}]},"boxShadowHover":{"type":"object","default":{"boxShadow":1},"style":[{"selector":".blockart-icon-block{{WRAPPER}}:hover"}]},"margin":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":".blockart-icon-block{{WRAPPER}} { margin: {{VALUE}}; }"}]},"blockMargin":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { margin: {{VALUE}}; }"}]},"blockPadding":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { padding: {{VALUE}}; }"}]},"blockZIndex":{"type":"number","style":[{"selector":"{{WRAPPER}} { z-index: {{VALUE}}; }"}]},"cssID":{"type":"string"},"animation":{"type":"string"},"interaction":{"type":"object"},"position":{"type":"object"},"hideOnDesktop":{"type":"boolean","style":[{"selector":"@media (min-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnTablet":{"type":"boolean","style":[{"selector":"@media (min-width:48em) and (max-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} { display: none; } }"}]},"colReverseOnTablet":{"type":"boolean","style":[{"selector":"@media (max-width:62em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"colReverseOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"blockCSS":{"type":"string"},"className":{"type":"string"},"icon":{"type":"string","default":"star-regular"},"presets":{"type":"string"},"link":{"type":"object"},"color":{"type":"string","style":[{"selector":"{{WRAPPER}} .blockart-icon-wrapper svg {fill: {{VALUE}}; }"}]},"iconSize":{"type":"number","default":"30","style":[{"selector":"{{WRAPPER}} .blockart-icon-wrapper svg { width: {{VALUE}}px; height: {{VALUE}}px; }"}]},"iconOpacity":{"type":"number","style":[{"selector":"{{WRAPPER}} .blockart-icon-wrapper svg { opacity: {{VALUE}}; }"}]},"iconRotation":{"type":"number","style":[{"selector":"{{WRAPPER}} .blockart-icon-wrapper svg { transform: rotate({{VALUE}}deg); }"}]},"padding":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":".blockart-icon-block{{WRAPPER}} { padding: {{VALUE}}; }"}]},"shapeColor":{"type":"string","style":[{"selector":"{{WRAPPER}} .blockart-icon-wrapper {background-color: {{VALUE}}; }"}]},"shapeBorderRadius":{"type":"number","style":[{"selector":"{{WRAPPER}} .blockart-icon-wrapper { border-radius: {{VALUE}}%; }"}]},"shapePadding":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} .blockart-icon-wrapper { padding: {{VALUE}}; }"}]},"shapeOutlineWidth":{"type":"number","style":[{"selector":"{{WRAPPER}} .blockart-icon-wrapper {border-style: solid; border-top-width: {{VALUE}}px; border-right-width: {{VALUE}}px; border-bottom-width: {{VALUE}}px; border-left-width: {{VALUE}}px; }"}]},"shapeOutlineColor":{"type":"string","style":[{"selector":"{{WRAPPER}} .blockart-icon-wrapper {border-color: {{VALUE}}; }"}]},"minHeight":{"type":"number","style":[{"selector":"{{WRAPPER}} {min-height: {{VALUE}}px; }"}]},"contentVerticalAlign":{"type":"string","style":[{"selector":"{{WRAPPER}} {align-items: {{VALUE}}; }"}]},"contentHorizontalAlign":{"type":"string","style":[{"selector":"{{WRAPPER}} {justify-content: {{VALUE}}; }"}]}},"style":"blockart-blocks","editorScript":"blockart-blocks","editorStyle":"blockart-blocks-editor"}'),jj=e=>{const{attributes:{border:t,hoverBorder:r,boxShadow:n,boxShadowHover:a,blockPadding:o,blockZIndex:i,cssID:l,hideOnDesktop:s,hideOnTablet:c,hideOnMobile:u,className:d,presets:p,icon:m,iconSize:h,iconOpacity:f,iconRotation:v,color:b,background:g,alignment:y,shapeColor:E,shapeBorderRadius:k,shapePadding:w,shapeOutlineWidth:x,shapeOutlineColor:_,minHeight:P,contentVerticalAlign:C,maxContentWidth:A,contentHorizontalAlign:S,link:R,blockMargin:M},setAttributes:T}=e;return G().createElement(G().Fragment,null,G().createElement(bH,null),G().createElement(mH,null,G().createElement(gH,{title:(0,K.__)("Layout","blockart"),initialOpen:!0},G().createElement(MD,{label:(0,K.__)("Min Height","blockart"),value:P,min:0,max:1e3,step:1,onChange:e=>T({minHeight:e}),resetAttributeKey:"minHeight"})),G().createElement(gH,{title:(0,K.__)("Icon","blockart")},G().createElement(LF,{value:m,onChange:e=>T({icon:e})}),G().createElement(BV,{label:(0,K.__)("Icon Color","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:b,id:"color"}]}));return Iv(b)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-5px",bg:"white",borderRadius:"full"})):G().createElement(t,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:b,resetKey:"color",onReset:e=>{T({color:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:b,onChange:e=>T({color:e})}))))),G().createElement(MD,{label:(0,K.__)("Icon Size","blockart"),value:h,min:0,max:100,step:1,onChange:e=>T({iconSize:e}),resetAttributeKey:"iconSize"}),G().createElement(MD,{label:(0,K.__)("Icon Opacity","blockart"),value:f,min:0,max:1,step:.1,onChange:e=>T({iconOpacity:e}),resetAttributeKey:"iconOpacity"}),G().createElement(MD,{label:(0,K.__)("Icon Rotation","blockart"),value:v,min:0,max:360,step:1,onChange:e=>T({iconRotation:e}),resetAttributeKey:"iconRotation"}),G().createElement(WF,{label:(0,K.__)("URL","blockart"),onChange:e=>T({link:e}),value:R,placeholder:"https://",newTab:!0})),G().createElement(gH,{title:(0,K.__)("Design","blockart")},G().createElement(tj,{label:(0,K.__)("Preset","blockart")},G().createElement(Ba,{borderTop:"1px solid #E0E0E0"},G().createElement(HF,{responsive:!1,value:p,onChange:e=>T({presets:e}),label:(0,K.__)("Preset","blockart"),groupProps:mS},[{label:(0,K.__)("Fill","blockart"),value:"fill-preset",icon:_I},{label:(0,K.__)("Outline","blockart"),value:"outline-preset",icon:PI},{label:(0,K.__)("Rectangular Fill","blockart"),value:"rectangular-fill-preset",icon:CI},{label:(0,K.__)("Rectangular Outline","blockart"),value:"rectangular-outline-preset",icon:AI},{label:(0,K.__)("Rounded Fill","blockart"),value:"rounded-fill-preset",icon:SI},{label:(0,K.__)("Rounded Outline","blockart"),value:"rounded-outline-preset",icon:RI}].map((e=>G().createElement(FF,{key:e.value,value:e.value},G().createElement(e.icon,null),e.label)))))))),G().createElement(hH,null,G().createElement(gH,{title:(0,K.__)("Properties","blockart"),initialOpen:!0},G().createElement(HF,{value:y,onChange:e=>{T({alignment:e})},label:(0,K.__)("Horizontal Alignment","blockart"),resetAttributeKey:"alignment",groupProps:{sx:{".chakra-button":{minH:"32px",svg:{w:6,h:6},"&[data-active]":{svg:{fill:"#fff !important"}}}}}},G().createElement(FF,{value:"left"},G().createElement(qM,null)),G().createElement(FF,{value:"center"},G().createElement(YM,null)),G().createElement(FF,{value:"right"},G().createElement(KM,null))),G().createElement(HF,{value:C,onChange:e=>{T({contentVerticalAlign:e})},label:(0,K.__)("Vertical Alignment","blockart"),resetAttributeKey:"contentVerticalAlign",groupProps:{sx:{".chakra-button":{minH:"32px",svg:{w:6,h:6},"&[data-active]":{svg:{fill:"#fff !important"}}}}}},G().createElement(FF,{value:"start"},G().createElement(QM,null)),G().createElement(FF,{value:"center"},G().createElement(JM,null)),G().createElement(FF,{value:"end"},G().createElement(eT,null)))),G().createElement(gH,{title:(0,K.__)("Icon","blockart")},G().createElement(BV,{label:(0,K.__)("Background","blockart")},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:g,resetKey:"background",onReset:e=>{T({background:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(RV,{value:g,onChange:e=>T({background:e})})))))),G().createElement(gH,{title:(0,K.__)("Icon Shape","blockart")},G().createElement(BV,{label:(0,K.__)("Shape Color","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:E,id:"shapeColor"}]}));return Iv(E)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-5px",bg:"white",borderRadius:"full"})):G().createElement(t,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:E,resetKey:"shapeColor",onReset:e=>{T({shapeColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:E,onChange:e=>T({shapeColor:e})}))))),G().createElement(MD,{label:(0,K.__)("Shape Border Radius","blockart"),value:k,min:0,max:100,step:1,onChange:e=>T({shapeBorderRadius:e}),resetAttributeKey:"shapeBorderRadius"}),G().createElement($V,{value:w,responsive:!0,label:(0,K.__)("Shape Padding","blockart"),defaultUnit:"px",units:["px","rem","em","%"],onChange:e=>T({shapePadding:e}),type:"shapePadding",resetAttributeKey:"shapePadding"}),G().createElement(MD,{label:(0,K.__)("Shape Outline Width","blockart"),value:x,min:0,max:20,step:1,onChange:e=>T({shapeOutlineWidth:e}),resetAttributeKey:"shapeOutlineWidth"}),G().createElement(BV,{label:(0,K.__)("Shape Outline Color","blockart"),trigger:e=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:_,id:"shapeOutlineColor"}]})),closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:_,resetKey:"shapeOutlineColor",onReset:e=>{T({shapeOutlineColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:_,onChange:e=>T({shapeOutlineColor:e})})))))),G().createElement(gH,{title:(0,K.__)("Border","blockart")},G().createElement(Oa,{variant:"border"},G().createElement(La,null,G().createElement(Da,null,"Normal"),G().createElement(Da,null,"Hover")),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(OV,{value:t,onChange:e=>{T({border:e})},resetAttributeKey:"border"}),G().createElement(FV,{resetAttributeKey:"boxShadow",value:n,onChange:e=>T({boxShadow:e})})),G().createElement(Fa,null,G().createElement(OV,{value:r,onChange:e=>{T({hoverBorder:e})},resetAttributeKey:"hoverBorder"}),G().createElement(FV,{resetAttributeKey:"boxShadowHover",value:a,onChange:e=>T({boxShadowHover:e})})))))),G().createElement(fH,null,G().createElement(yH,{blockMargin:M,setAttributes:T,blockPadding:o,blockZIndex:i,cssID:l,className:d,hasblockHTML:!1}),G().createElement(EH,{hideOnDesktop:s,hideOnTablet:c,hideOnMobile:u,setAttributes:T})))},Wj=Hj.name,$j={...Hj,icon:G().createElement(cz,{type:"blockIcon",name:"icon",size:24}),edit:e=>{const{attributes:{icon:t,presets:r,alignment:n,cssID:a,className:o}}=e,{clientId:i}=jv(e),{device:l}=ib(),{CopyPasterStyleBlockControl:s}=Yv(),{Style:c}=Fv({blockName:"icon",clientId:i,attributes:e.attributes,device:l});return G().createElement(G().Fragment,null,G().createElement(jj,{attributes:e.attributes,setAttributes:e.setAttributes}),G().createElement(s,{withBlockControls:!0}),G().createElement(c,null),G().createElement("div",{id:a||null,className:Cv(`blockart-icon-block blockart-icon-${i}`,n&&`blockart-${n}`,o)},G().createElement("div",{className:"blockart-outside-icon blockart-icon-link"},G().createElement("span",{className:Cv("blockart-icon-wrapper",r&&`blockart-${r}`,o)},G().createElement(LH,{name:t})))))},save:e=>{const{attributes:{icon:t,link:r,presets:n,alignment:a,className:o,cssID:i,clientId:l}}=e;return G().createElement("div",{id:i||null,className:Cv(`blockart-icon-block blockart-icon-${l}`,a&&`blockart-${a}`,o)},G().createElement(kH,{tagName:"a",htmlAttrs:{className:Cv("blockart-outside-icon","blockart-icon-link"),href:r&&r.url?r.url:null,target:r&&r.newTab?"_blank":null,rel:r&&r.newTab?"noopener":null}},G().createElement("span",{className:Cv("blockart-icon-wrapper",n&&`blockart-${n}`,o)},G().createElement(LH,{name:t}))))}},Zj=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","name":"blockart/icon-list","title":"Icon List","description":"Create a list with icons.","keywords":["icon list","list"],"category":"blockart","textdomain":"blockart","supports":{"className":false,"customClassName":false},"example":{"attributes":{}},"attributes":{"clientId":{"type":"string"},"iconColor":{"type":"string","style":[{"selector":"{{WRAPPER}} .blockart-icon-list-item svg {fill: {{VALUE}}; }"}]},"iconHoverColor":{"type":"string","style":[{"selector":".blockart-icon-list{{WRAPPER}} .blockart-icon-list-item:hover svg {fill: {{VALUE}}; }"}]},"background":{"type":"object","default":{"background":1},"style":[{"selector":".blockart-icon-list{{WRAPPER}} .blockart-icon-list-item .blockart-icon-wrapper"}]},"hoverBackground":{"type":"object","default":{"background":1},"style":[{"selector":".blockart-icon-list{{WRAPPER}} .blockart-icon-list-item:hover .blockart-icon-wrapper"}]},"labelColor":{"type":"string","style":[{"selector":".blockart-icon-list{{WRAPPER}} .blockart-list-label {color: {{VALUE}}; }"}]},"labelHoverColor":{"type":"string","style":[{"selector":"{{WRAPPER}} .blockart-list-label:hover {color: {{VALUE}}; }"}]},"itemGap":{"type":"number","style":[{"condition":[{"key":"layout","relation":"==","value":"horizontal"}],"selector":"{{WRAPPER}}.blockart-icon-list .blockart-icon-list-item {margin-left: {{VALUE}}px;}"},{"condition":[{"key":"layout","relation":"==","value":"vertical"}],"selector":"{{WRAPPER}}.blockart-icon-list .blockart-icon-list-item {margin-bottom: {{VALUE}}px; }"}]},"iconLabelGap":{"type":"object","style":[{"condition":[{"key":"iconPosition","relation":"==","value":"left"}],"selector":"{{WRAPPER}} .blockart-icon-list-item .blockart-icon-wrapper {margin-right: {{VALUE}}px; }"},{"condition":[{"key":"iconPosition","relation":"==","value":"right"}],"selector":"{{WRAPPER}} .blockart-icon-list-item .blockart-icon-wrapper {margin-left: {{VALUE}}px; }"}]},"iconSize":{"type":"number","style":[{"selector":"{{WRAPPER}} .blockart-icon-list-item .blockart-icon-wrapper svg {height: auto; width: {{VALUE}}px; }"}]},"iconBgSize":{"type":"number","style":[{"selector":"{{WRAPPER}} .blockart-icon-list-item .blockart-icon-wrapper {padding: {{VALUE}}px;}"}]},"typography":{"type":"object","default":{"typography":1,"weight":500},"style":[{"selector":"{{WRAPPER}} .blockart-icon-list-item .blockart-list-label"}]},"border":{"type":"object","default":{"border":1,"radius":{"desktop":{"lock":true}},"size":{"desktop":{"lock":true}}},"style":[{"selector":"{{WRAPPER}} .blockart-icon-list-item .blockart-icon-wrapper"}]},"hoverBorder":{"type":"object","default":{"border":1,"radius":{"desktop":{"lock":true}},"size":{"desktop":{"lock":true}}},"style":[{"selector":"{{WRAPPER}} .blockart-icon-list-item .blockart-icon-wrapper:hover"}]},"blockMargin":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { margin: {{VALUE}}; }"}]},"blockPadding":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { padding: {{VALUE}}; }"}]},"blockZIndex":{"type":"number","style":[{"selector":"{{WRAPPER}} { z-index: {{VALUE}}; }"}]},"cssID":{"type":"string"},"animation":{"type":"string"},"interaction":{"type":"object"},"position":{"type":"object"},"hideOnDesktop":{"type":"boolean","style":[{"selector":"@media (min-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnTablet":{"type":"boolean","style":[{"selector":"@media (min-width:48em) and (max-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} { display: none; } }"}]},"colReverseOnTablet":{"type":"boolean","style":[{"selector":"@media (max-width:62em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"colReverseOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"blockCSS":{"type":"string"},"className":{"type":"string"},"text":{"type":"string"},"icon":{"type":"string","default":"check"},"itemCount":{"type":"number","default":3},"layout":{"type":"string","default":"vertical"},"alignment":{"type":"object","style":[{"selector":"{{WRAPPER}} > div {text-align: {{VALUE}}; justify-content: {{VALUE}}; width: 100%; }"}]},"iconAlignment":{"type":"object","style":[{"selector":"{{WRAPPER}} .blockart-icon-list-item .blockart-icon-wrapper {display: flex; } {{WRAPPER}} .blockart-icon-list-item .blockart-icon-wrapper {align-self: {{VALUE}}; }"}]},"design":{"type":"string","default":"default"},"iconPosition":{"type":"string","default":"left"},"toggleLabels":{"type":"boolean","default":false}},"style":"blockart-blocks","editorScript":"blockart-blocks","editorStyle":"blockart-blocks-editor"}'),Uj=(0,Hv.withSelect)(((e,t)=>{const{getBlocks:r}=e("core/block-editor");return{innerIconListItems:r(t.clientId)}}))((e=>{const{attributes:{background:t,hoverBackground:r,typography:n,border:a,hoverBorder:o,blockPadding:i,blockZIndex:l,cssID:s,hideOnDesktop:c,hideOnTablet:u,hideOnMobile:d,className:p,icon:m,layout:h,alignment:f,iconAlignment:v,iconPosition:b,toggleLabels:g,design:y,iconColor:E,iconHoverColor:k,labelColor:w,labelHoverColor:x,itemGap:_,iconLabelGap:P,iconSize:C,iconBgSize:A,borderOptionState:S="normal",blockMargin:R},setAttributes:M}=e,T=t=>{e.innerIconListItems?.forEach((e=>{(0,Hv.dispatch)("core/block-editor").updateBlockAttributes(e.clientId,t)}))};return G().createElement(G().Fragment,null,G().createElement(bH,null),G().createElement(mH,null,G().createElement(gH,{title:(0,K.__)("Layout","blockart"),initialOpen:!0},G().createElement(HF,{value:h,onChange:e=>{M({layout:e})},label:(0,K.__)("Orientation","blockart"),resetAttributeKey:"layout",groupProps:{sx:{".chakra-button":{minH:"32px",svg:{w:6,h:6},"&[data-active]":{svg:{fill:"#fff !important"}}}}}},G().createElement(FF,{leftIcon:G().createElement(UT,{h:"4",w:"4"}),value:"horizontal"}),G().createElement(FF,{leftIcon:G().createElement(ZT,{h:"4",w:"4"}),value:"vertical"})),G().createElement(MD,{label:(0,K.__)("Gap Between Items","blockart"),value:_,min:0,max:100,step:1,onChange:e=>M({itemGap:e}),resetAttributeKey:"itemGap"})),G().createElement(gH,{title:(0,K.__)("Design","blockart")},G().createElement(tj,{label:"Preset"},G().createElement(Ba,{borderTop:"1px solid #E0E0E0"},G().createElement(HF,{responsive:!1,value:y,onChange:e=>M({design:e}),label:(0,K.__)("Preset"),groupProps:mS},[{label:(0,K.__)("Default","blockart"),value:"default",icon:MI},{label:(0,K.__)("Outline","blockart"),value:"outline",icon:TI},{label:(0,K.__)("Fill","blockart"),value:"fill",icon:II}].map((e=>G().createElement(FF,{key:e.value,value:e.value},G().createElement(e.icon,null),e.label))))))),G().createElement(gH,{title:(0,K.__)("Icon","blockart")},G().createElement(LF,{value:m||{},onChange:e=>{T({parentIcon:e}),M({icon:e})}}),G().createElement(HF,{value:b,onChange:e=>{T({parentIconPosition:e}),M({iconPosition:e})},label:(0,K.__)("Icon Position","blockart"),groupProps:{sx:{".chakra-button":{minH:"32px",svg:{w:6,h:6},"&[data-active]":{svg:{fill:"#fff !important"}}}}}},G().createElement(FF,{value:"left"},G().createElement(aT,null)),G().createElement(FF,{value:"right"},G().createElement(oT,null))),G().createElement(MD,{label:(0,K.__)("Icon Size","blockart"),value:C,min:0,max:200,step:1,onChange:e=>M({iconSize:e}),resetAttributeKey:"iconSize"}),G().createElement(MD,{label:(0,K.__)("Background Size","blockart"),value:A,min:0,max:50,step:1,onChange:e=>M({iconBgSize:e}),resetAttributeKey:"iconBgSize"})),G().createElement(gH,{title:(0,K.__)("Label","blockart")},G().createElement(jF,{label:(0,K.__)("Hide Labels","blockart"),checked:g,onChange:()=>{T({parentToggleLabels:!g}),M({toggleLabels:!g})}}),G().createElement(MD,{label:(0,K.__)("Gap","blockart"),value:P,min:0,max:100,step:1,onChange:e=>M({iconLabelGap:e}),resetAttributeKey:"iconLabelGap"}))),G().createElement(hH,null,G().createElement(gH,{title:(0,K.__)("Properties","blockart"),initialOpen:!0},G().createElement(HF,{value:f,onChange:e=>{M({alignment:e})},label:(0,K.__)("Alignment","blockart"),responsive:!0,groupProps:{sx:{".chakra-button":{minH:"32px",svg:{w:6,h:6},"&[data-active]":{svg:{fill:"#fff !important"}}}}}},G().createElement(FF,{value:"left"},G().createElement(qM,null)),G().createElement(FF,{value:"center"},G().createElement(YM,null)),G().createElement(FF,{value:"right"},G().createElement(KM,null)))),G().createElement(gH,{title:(0,K.__)("Icon","blockart")},G().createElement(HF,{value:v,onChange:e=>{M({iconAlignment:e})},label:(0,K.__)("Icon Alignment","blockart"),responsive:!0,groupProps:{sx:{".chakra-button":{minH:"32px",svg:{w:6,h:6},"&[data-active]":{svg:{fill:"#fff !important"}}}}}},G().createElement(FF,{value:"flex-start"},G().createElement(QM,null)),G().createElement(FF,{value:"center"},G().createElement(JM,null))),G().createElement(BV,{label:(0,K.__)("Color","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:E,id:"iconColor"},{color:k,id:"iconHoverColor"}]}));return Iv(E)||Iv(k)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-10px",bg:"white",borderRadius:"full"})):G().createElement(t,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart")),G().createElement(Da,null,(0,K.__)("Hover","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:E,resetKey:"iconColor",onReset:e=>{M({iconColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:E,onChange:e=>M({iconColor:e})})),G().createElement(Fa,null,G().createElement(bO,{saved:k,resetKey:"iconHoverColor",onReset:e=>{M({iconHoverColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:k,onChange:e=>M({iconHoverColor:e})}))))),G().createElement(BV,{label:(0,K.__)("Background","blockart"),closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart")),G().createElement(Da,null,(0,K.__)("Hover","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:t,resetKey:"background",onReset:e=>{M({background:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(RV,{value:t,onChange:e=>M({background:e})})),G().createElement(Fa,null,G().createElement(bO,{saved:r,resetKey:"hoverBackground",onReset:e=>{M({hoverBackground:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(RV,{value:r,onChange:e=>M({hoverBackground:e})})))))),G().createElement(gH,{title:(0,K.__)("Label","blockart")},G().createElement(BV,{label:(0,K.__)("Color","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:w,id:"labelColor"},{color:x,id:"labelHoverColor"}]}));return Iv(w)||Iv(x)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-10px",bg:"white",borderRadius:"full"})):G().createElement(t,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:w,resetKey:"labelColor",onReset:e=>{M({labelColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:w,onChange:e=>M({labelColor:e})}))))),G().createElement(OD,{resetAttributeKey:"typography",value:n,onChange:e=>M({typography:e})})),G().createElement(gH,{title:(0,K.__)("Border","blockart")},G().createElement(HF,{value:S,onChange:e=>{M({borderOptionState:e})},label:"",resetAttributeKey:"borderOptionState",groupProps:{sx:{".chakra-button":{minH:"32px",svg:{w:6,h:6},"&[data-active]":{svg:{fill:"#fff !important"}}}}}},G().createElement(FF,{value:"normal"},(0,K.__)("Normal","blockart")),G().createElement(FF,{value:"hover"},(0,K.__)("Hover","blockart"))),"hover"!==S?G().createElement(OV,{value:a,onChange:e=>{M({border:e})},resetAttributeKey:"border"}):G().createElement(OV,{value:o,onChange:e=>{M({hoverBorder:e})},resetAttributeKey:"hoverBorder"}))),G().createElement(fH,null,G().createElement(yH,{blockMargin:R,setAttributes:M,blockPadding:i,blockZIndex:l,cssID:s,className:p,hasblockHTML:!1}),G().createElement(EH,{hideOnDesktop:c,hideOnTablet:u,hideOnMobile:d,setAttributes:M})))})),Gj=["blockart/icon-list"],qj=e=>{let t=[];for(let r=0;r<e;r++)t.push(["blockart/icon-list-item",{listItemNumber:r}]);return t},Kj=Zj.name,Yj={...Zj,icon:G().createElement(cz,{type:"blockIcon",name:"icon-list",size:24}),edit:e=>{const{attributes:{itemCount:t,layout:r,design:n,className:a}}=e,{clientId:o}=jv(e),{device:i}=ib(),{CopyPasterStyleBlockControl:l}=Yv(),{Style:s}=Fv({blockName:"icon-list",clientId:o,attributes:e.attributes,device:i}),c=(0,q.useBlockProps)({className:Cv(`blockart-icon-list blockart-icon-list-${o}`,r&&`blockart-${r}`,`blockart-${n}`,a)}),u=(0,q.useInnerBlocksProps)(c,{template:qj(t),templateLock:!1,allowedBlocks:Gj});return G().createElement(G().Fragment,null,G().createElement(Uj,{attributes:e.attributes,setAttributes:e.setAttributes,clientId:e.clientId}),G().createElement(l,{withBlockControls:!0}),G().createElement(s,null),G().createElement("div",u))},save:e=>{const{attributes:{className:t,clientId:r,layout:n,design:a}}=e;return G().createElement("div",{className:Cv(`blockart-icon-list blockart-icon-list-${r}`,n&&`blockart-${n}`,`blockart-${a}`,t)},G().createElement(q.InnerBlocks.Content,null))}},Xj=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","name":"blockart/icon-list-item","title":"Icon List Item","description":"Create a list with icons.","keywords":["icon list","list"],"category":"blockart","textdomain":"blockart","parent":["blockart/icon-list"],"supports":{"className":false,"customClassName":false},"example":{"attributes":{}},"attributes":{"clientId":{"type":"string"},"text":{"type":"string","default":"List Item"},"color":{"type":"string","style":[{"selector":".blockart-icon-list {{WRAPPER}} .blockart-list-label {color: {{VALUE}}; }"}]},"hoverColor":{"type":"string","style":[{"selector":".blockart-icon-list {{WRAPPER}}:hover .blockart-list-label {color: {{VALUE}}; }"}]},"borderColor":{"type":"string","style":[{"selector":".blockart-icon-list {{WRAPPER}} .blockart-icon-wrapper {color: {{VALUE}}; }"}]},"borderHoverColor":{"type":"string","style":[{"selector":".blockart-icon-list {{WRAPPER}} .blockart-icon-wrapper:hover {color: {{VALUE}}; }"}]},"margin":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":".blockart-icon-list {{WRAPPER}} { margin: {{VALUE}}; }"}]},"blockMargin":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { margin: {{VALUE}}; }"}]},"padding":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":".blockart-icon-list {{WRAPPER}} { padding: {{VALUE}}; }"}]},"blockPadding":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { padding: {{VALUE}}; }"}]},"blockZIndex":{"type":"number","style":[{"selector":"{{WRAPPER}} { z-index: {{VALUE}}; }"}]},"cssID":{"type":"string"},"animation":{"type":"string"},"interaction":{"type":"object"},"position":{"type":"object"},"hideOnDesktop":{"type":"boolean","style":[{"selector":"@media (min-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnTablet":{"type":"boolean","style":[{"selector":"@media (min-width:48em) and (max-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} { display: none; } }"}]},"colReverseOnTablet":{"type":"boolean","style":[{"selector":"@media (max-width:62em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"colReverseOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"blockCSS":{"type":"string"},"className":{"type":"string"},"image":{"type":"object"},"link":{"type":"object"},"iconType":{"type":"object","default":"icon","enum":["icon","image","none"]},"icon":{"type":"string","default":""},"parentIcon":{"type":"string","default":"check"},"parentIconPosition":{"type":"string","default":"left"},"parentToggleLabels":{"type":"boolean","default":false}},"style":"blockart-blocks","editorScript":"blockart-blocks","editorStyle":"blockart-blocks-editor"}'),Qj=window.wp.compose,Jj=(0,Qj.compose)((0,Hv.withSelect)((e=>{const{getSelectedBlock:t,getBlockRootClientId:r,getBlock:n}=e("core/block-editor"),a=t();return a?{parentBlock:n(r(a.clientId))}:{}})),(0,Hv.withDispatch)(((e,t)=>({setParentAttributes:r=>{e("core/block-editor").updateBlockAttributes(t?.parentBlock?.clientId,r)}}))))((e=>{const{attributes:{color:t,hoverColor:r,blockPadding:n,blockZIndex:a,cssID:o,hideOnDesktop:i,hideOnTablet:l,hideOnMobile:s,className:c,icon:u,iconType:d,image:p,link:m,borderColor:h,borderHoverColor:f,blockMargin:v},setAttributes:b}=e;return G().createElement(G().Fragment,null,G().createElement(bH,null),G().createElement(mH,null,G().createElement(gH,{title:(0,K.__)("Layout","blockart"),initialOpen:!0},G().createElement(VV,{label:(0,K.__)("Icon Type","blockart"),value:d,onChange:e=>b({iconType:e}),options:[{label:(0,K.__)("Icon","blockart"),value:"icon"},{label:(0,K.__)("Image","blockart"),value:"image"},{label:(0,K.__)("None","blockart"),value:"none"}]}),"icon"===d&&G().createElement(LF,{value:u||{},onChange:e=>b({icon:e}),hasToggle:!1}),"image"===d&&G().createElement(zF,{onChange:e=>b({image:e}),label:(0,K.__)("Image","blockart"),type:"image",value:p}),G().createElement(WF,{label:(0,K.__)("URL","blockart"),onChange:e=>b({link:e}),value:m,placeholder:"https://",newTab:!0}))),G().createElement(hH,null,G().createElement(gH,{title:(0,K.__)("Label","blockart"),initialOpen:!0},G().createElement(BV,{label:(0,K.__)("Color","blockart"),trigger:e=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:t,id:"color"}]})),closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart")),G().createElement(Da,null,(0,K.__)("Hover","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:t,resetKey:"color",onReset:e=>{b({color:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:t,onChange:e=>b({color:e}),resetKey:"color"})),G().createElement(Fa,null,G().createElement(bO,{saved:r,resetKey:"hoverColor",onReset:e=>{b({hoverColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:r,onChange:e=>b({hoverColor:e}),resetKey:"hoverColor"})))))),G().createElement(gH,{title:(0,K.__)("Border","blockart"),initialOpen:!0},G().createElement(BV,{label:(0,K.__)("Color","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:h,id:"borderColor"},{color:f,id:"borderHoverColor"}]}));return Iv(h)||Iv(f)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-10px",bg:"white",borderRadius:"full"})):G().createElement(t,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart")),G().createElement(Da,null,(0,K.__)("Hover","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:h,resetKey:"borderColor",onReset:e=>{b({borderColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:h,onChange:e=>b({borderColor:e})})),G().createElement(Fa,null,G().createElement(bO,{saved:f,resetKey:"borderHoverColor",onReset:e=>{b({borderHoverColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:f,onChange:e=>b({borderHoverColor:e})}))))))),G().createElement(fH,null,G().createElement(yH,{blockMargin:v,setAttributes:b,blockPadding:n,blockZIndex:a,cssID:o,className:c,hasblockHTML:!1}),G().createElement(EH,{hideOnDesktop:i,hideOnTablet:l,hideOnMobile:s,setAttributes:b})))})),eW=Xj.name,tW={...Xj,icon:G().createElement(cz,{type:"blockIcon",name:"icon-list",size:24}),edit:e=>{var t,r,n,a;const{attributes:{icon:o,iconType:i,image:l,text:s,parentIcon:c,parentIconPosition:u,parentToggleLabels:d,typography:p,cssID:m,className:h},setAttributes:f}=e,{clientId:v}=jv(e),{device:b}=ib(),{CopyPasterStyleBlockControl:g}=Yv(),{Style:y}=Fv({blockName:"icon-list-item",clientId:v,attributes:e.attributes,device:b}),E=""===o?c:o;return G().createElement(G().Fragment,null,G().createElement(Jj,{attributes:e.attributes,setAttributes:e.setAttributes}),G().createElement(g,{withBlockControls:!0}),G().createElement(y,null),G().createElement("div",{id:m||null,className:Cv(`blockart-icon-list-item blockart-icon-list-item-${v}`,h)},"left"===u&&G().createElement(G().Fragment,null,G().createElement("span",{className:"blockart-icon-wrapper"},"icon"===i&&G().createElement(LH,{name:E}),"image"===i&&G().createElement("img",{className:"blockart-social-source-image",src:null!==(t=l?.url)&&void 0!==t?t:"",alt:null!==(r=l?.alt)&&void 0!==r?r:""}))),!d&&G().createElement(q.RichText,{className:Cv("blockart-list-label",p?._className),tagName:"span",placeholder:(0,K.__)("List Item","blockart"),value:s,onChange:e=>{f({text:e})},multiline:!1,allowedFormats:["core/bold","core/italic","core/strikethrough"],onMerge:e.mergeBlocks,onSplit:t=>t?(0,$.createBlock)("blockart/icon-list-item",{...e.attributes,text:t}):(0,$.createBlock)("blockart/icon-list-item"),onReplace:e.onReplace,onRemove:()=>e?.onReplace?.([])}),"right"===u&&G().createElement(G().Fragment,null,G().createElement("span",{className:"blockart-icon-wrapper"},"icon"===i&&G().createElement(LH,{name:E}),"image"===i&&G().createElement("img",{className:"blockart-social-source-image",src:null!==(n=l?.url)&&void 0!==n?n:"",alt:null!==(a=l?.alt)&&void 0!==a?a:""})))))},save:e=>{var t,r,n,a;const{attributes:{icon:o,toggleLabels:i,iconType:l,text:s,className:c,cssID:u,image:d,clientId:p,parentIcon:m,parentIconPosition:h,parentToggleLabels:f,typography:v}}=e,b=""===o?m:o;return G().createElement("div",{id:u||null,className:Cv(`blockart-icon-list-item blockart-icon-list-item-${p}`,c)},"left"===h&&G().createElement("span",{className:"blockart-icon-wrapper"},"icon"===l&&G().createElement(LH,{name:b}),"image"===l&&G().createElement("img",{className:"blockart-social-source-image",src:null!==(t=d?.url)&&void 0!==t?t:"",alt:null!==(r=d?.alt)&&void 0!==r?r:""})),!f&&G().createElement(q.RichText.Content,{className:Cv("blockart-list-label",v?._className),tagName:"span",value:s}),"right"===h&&G().createElement("span",{className:"blockart-icon-wrapper"},"image"===l&&G().createElement("img",{className:"blockart-social-source-image",src:null!==(n=d?.url)&&void 0!==n?n:"",alt:null!==(a=d?.alt)&&void 0!==a?a:""}),"icon"===l&&G().createElement(LH,{name:b})))}},rW=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","name":"blockart/image","title":"Image","description":"Visual communication with your visitor via images.","keywords":["image"],"category":"blockart","textdomain":"blockart","supports":{"className":false,"customClassName":false},"example":{"attributes":{}},"attributes":{"clientId":{"type":"string"},"link":{"type":"object","default":{}},"image":{"type":"object","default":{}},"alt1":{"type":"string"},"alt2":{"type":"string"},"alignment":{"type":"object","style":[{"selector":"{{WRAPPER}} {text-align: {{VALUE}}; }"}]},"objectFit":{"type":"string","default":"fill","style":[{"selector":"{{WRAPPER}} img {object-fit: {{VALUE}}; }"}]},"border":{"type":"object","default":{"border":1,"radius":{"desktop":{"lock":true}},"size":{"desktop":{"lock":true}}},"style":[{"selector":"{{WRAPPER}} img"}]},"hoverBorder":{"type":"object","default":{"border":1,"radius":{"desktop":{"lock":true}},"size":{"desktop":{"lock":true}}},"style":[{"selector":"{{WRAPPER}} img:hover"}]},"boxShadow":{"type":"object","default":{"boxShadow":1},"style":[{"selector":"{{WRAPPER}} img"}]},"boxShadowHover":{"type":"object","default":{"boxShadow":1},"style":[{"selector":"{{WRAPPER}} img:hover"}]},"width":{"type":"object","style":[{"selector":"{{WRAPPER}} img { width: {{VALUE}} }"}]},"maxWidth":{"type":"object","style":[{"selector":"{{WRAPPER}} img { max-width: {{VALUE}} }"}]},"height":{"type":"object","style":[{"selector":"{{WRAPPER}} img { height: {{VALUE}} }"}]},"opacity":{"type":"string","default":1,"style":[{"selector":"{{WRAPPER}} img { opacity: {{VALUE}}; }"}]},"blockMargin":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { margin: {{VALUE}}; }"}]},"blockPadding":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { padding: {{VALUE}}; }"}]},"blockZIndex":{"type":"number","style":[{"selector":"{{WRAPPER}} { z-index: {{VALUE}}; }"}]},"cssID":{"type":"string"},"animation":{"type":"string"},"interaction":{"type":"object"},"position":{"type":"object"},"hideOnDesktop":{"type":"boolean","style":[{"selector":"@media (min-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnTablet":{"type":"boolean","style":[{"selector":"@media (min-width:48em) and (max-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} { display: none; } }"}]},"colReverseOnTablet":{"type":"boolean","style":[{"selector":"@media (max-width:62em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"colReverseOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"blockCSS":{"type":"string"},"className":{"type":"string"},"enableCaption":{"type":"boolean","default":false},"caption":{"type":"string"},"hoverEffect":{"type":"string","default":"static"},"overlay":{"type":"boolean","default":false},"overlayContent":{"type":"string"},"showHeadingOn":{"type":"string","default":"always"},"overlayContentPosition":{"type":"string","default":"top-center"},"borderStyle":{"type":"string","default":"none"},"overlayBorder":{"type":"object","default":{"border":1,"radius":{"desktop":{"lock":true}},"size":{"desktop":{"lock":true}}},"style":[{"selector":"{{WRAPPER}}.overlay .overlay-content"}]},"maskShape":{"type":"string","default":"none"},"maskSize":{"type":"string","default":"auto"},"maskPosition":{"type":"string","default":"center-center"},"maskRepeat":{"type":"string","default":"no-repeat"},"separatorStyle":{"type":"string","default":"none"},"separatorPosition":{"type":"string","default":"after-title"},"showSeparatorOn":{"type":"string","default":"always"},"showDescription":{"type":"string","default":"always"},"imageFilter":{"type":"string","default":"none"}},"style":"blockart-blocks","editorScript":"blockart-blocks","editorStyle":"blockart-blocks-editor"}'),nW={attributes:{clientId:{type:"string"},link:{type:"object",default:{}},image:{type:"object",default:{}},alt1:{type:"string"},alt2:{type:"string"},alignment:{type:"object",style:[{selector:"{{WRAPPER}} {text-align: {{VALUE}}; }"}]},objectFit:{type:"object",default:{desktop:"fill"},style:[{selector:"{{WRAPPER}} img {object-fit: {{VALUE}}; }"}]},border:{type:"object",default:{border:1,radius:{desktop:{lock:!0}},size:{desktop:{lock:!0}}},style:[{selector:"{{WRAPPER}} img"}]},hoverBorder:{type:"object",default:{border:1,radius:{desktop:{lock:!0}},size:{desktop:{lock:!0}}},style:[{selector:"{{WRAPPER}} img:hover"}]},boxShadow:{type:"object",default:{boxShadow:1},style:[{selector:"{{WRAPPER}} img"}]},boxShadowHover:{type:"object",default:{boxShadow:1},style:[{selector:"{{WRAPPER}} img:hover"}]},width:{type:"object",style:[{selector:"{{WRAPPER}} img { width: {{VALUE}} }"}]},maxWidth:{type:"object",style:[{selector:"{{WRAPPER}} img { max-width: {{VALUE}} }"}]},height:{type:"object",style:[{selector:"{{WRAPPER}} img { height: {{VALUE}} }"}]},opacity:{type:"string",default:1,style:[{selector:"{{WRAPPER}} img { opacity: {{VALUE}} }"}]},...X},supports:{className:!1,align:!1,color:{background:!1,gradient:!1,text:!1}},save:e=>{var t,r;const{attributes:{cssID:n,image:a,clientId:o,className:i,alt1:l,alt2:s,link:c}}=e,u=null!==(t=null!==(r=a?.local)&&void 0!==r?r:a?.external)&&void 0!==t?t:BF,d=a?.local?null!=l?l:"":null!=s?s:"",p=(0,Z.applyFilters)("blockart.image.classnames",SH()(`blockart-image blockart-image-${o} `,i));return G().createElement("div",{id:n||null,className:p},c.url?G().createElement("a",{href:c.url,target:c.newTab?"_blank":void 0,rel:c.newTab?"noopener":void 0},G().createElement("img",{src:u,alt:d})):G().createElement("img",{src:u,alt:d}))},migrate:e=>{const{image:t}=e;let r={};if("external"===t?.type)t?.external&&(r={width:void 0,height:void 0,url:t.external,id:void 0,alt:void 0});else if("local"===t?.type&&t?.local){var n,a;const e=(null!==(n=kv?.mediaItems)&&void 0!==n?n:[]).find((e=>e.source_url===t.local));r={width:e?.media_details?.width,height:e?.media_details?.height,url:null!==(a=e?.source_url)&&void 0!==a?a:t.local,id:e?.ID,alt:e?.alt_text}}return{...e,image:r}}},aW=nW,oW={attributes:rW.attributes,save:({attributes:{cssID:e,image:t={},clientId:r,className:n,link:a}})=>{var o,i,l;const s=(0,Z.applyFilters)("blockart.image.classnames",SH()(`blockart-image blockart-image-${r}`,n)),c=SH()({[`wp-image-${t?.id}`]:!!t?.id});let u=G().createElement("img",{className:c||void 0,src:t?.url,alt:null!==(o=t?.alt)&&void 0!==o?o:"",height:null!==(i=t?.height)&&void 0!==i?i:void 0,width:null!==(l=t?.width)&&void 0!==l?l:void 0});return a?.url&&(u=G().createElement(kH,{tagName:"a",htmlAttrs:{href:a.url,target:a?.newTab?"_blank":void 0,rel:a?.rel?"noopener":void 0}},u)),G().createElement("div",{id:null!=e?e:void 0,className:s||void 0},u)}},iW=[aW,oW],lW=[{label:(0,K.__)("Top Left","blockart"),value:"top-left"},{label:(0,K.__)("Top Center","blockart"),value:"top-center"},{label:(0,K.__)("Top Right","blockart"),value:"top-right"},{label:(0,K.__)("Center Left","blockart"),value:"center-left"},{label:(0,K.__)("Center Center","blockart"),value:"center-center"},{label:(0,K.__)("Center Right","blockart"),value:"center-right"},{label:(0,K.__)("Bottom Left","blockart"),value:"bottom-left"},{label:(0,K.__)("Bottom Center","blockart"),value:"bottom-center"},{label:(0,K.__)("Bottom Right","blockart"),value:"bottom-right"}],sW=[{label:(0,K.__)("None","blockart"),value:"none"},{label:(0,K.__)("Circle","blockart"),value:"circle"},{label:(0,K.__)("Diamond","blockart"),value:"diamond"},{label:(0,K.__)("Hexagon","blockart"),value:"hexagon"},{label:(0,K.__)("Rounded","blockart"),value:"rounded"},{label:(0,K.__)("Blob 1","blockart"),value:"blob1"},{label:(0,K.__)("Blob 2","blockart"),value:"blob2"},{label:(0,K.__)("Blob 3","blockart"),value:"blob3"},{label:(0,K.__)("Blob 4","blockart"),value:"blob4"}],cW=[{label:(0,K.__)("Auto","blockart"),value:"auto"},{label:(0,K.__)("Contain","blockart"),value:"contain"},{label:(0,K.__)("Cover","blockart"),value:"cover"}],uW=[{label:(0,K.__)("Center Top","blockart"),value:"center-top"},{label:(0,K.__)("Center Center","blockart"),value:"center-center"},{label:(0,K.__)("Center Bottom","blockart"),value:"center-bottom"},{label:(0,K.__)("Left Top","blockart"),value:"left-top"},{label:(0,K.__)("Left Center","blockart"),value:"left-center"},{label:(0,K.__)("Left Bottom","blockart"),value:"left-bottom"},{label:(0,K.__)("Right Top","blockart"),value:"right-top"},{label:(0,K.__)("Right Center","blockart"),value:"right-center"},{label:(0,K.__)("Right Bottom","blockart"),value:"right-bottom"}],dW=[{label:(0,K.__)("No Repeat","blockart"),value:"no-repeat"},{label:(0,K.__)("Repeat","blockart"),value:"repeat"},{label:(0,K.__)("Repeat-X","blockart"),value:"repeat-x"},{label:(0,K.__)("Repeat-Y","blockart"),value:"repeat-y"}],pW=[{label:(0,K.__)("Before Title","blockart"),value:"before-title"},{label:(0,K.__)("After Title","blockart"),value:"after-title"},{label:(0,K.__)("After Sub Title","blockart"),value:"after-sub-title"}],mW=[{label:(0,K.__)("None","blockart"),value:"none"},{label:(0,K.__)("Solid","blockart"),value:"solid"},{label:(0,K.__)("Dashed","blockart"),value:"dashed"},{label:(0,K.__)("Dotted","blockart"),value:"dotted"},{label:(0,K.__)("Double","blockart"),value:"double"},{label:(0,K.__)("Groove","blockart"),value:"groove"},{label:(0,K.__)("Inset","blockart"),value:"inset"},{label:(0,K.__)("Outset","blockart"),value:"outset"},{label:(0,K.__)("Ridge","blockart"),value:"ridge"}],hW=[{label:(0,K.__)("Fill","blockart"),value:"fill"},{label:(0,K.__)("Cover","blockart"),value:"cover"},{label:(0,K.__)("Contain","blockart"),value:"contain"},{label:(0,K.__)("None","blockart"),value:"none"},{label:(0,K.__)("Scale Down","blockart"),value:"scale-down"}],fW=[{label:(0,K.__)("None","blockart"),value:"none"},{label:(0,K.__)("Static","blockart"),value:"static"},{label:(0,K.__)("Zoom In","blockart"),value:"zoom-in"},{label:(0,K.__)("Slide","blockart"),value:"slide"},{label:(0,K.__)("Gray Scale","blockart"),value:"gray-scale"},{label:(0,K.__)("Blur","blockart"),value:"blur"}],vW=[{label:(0,K.__)("None","blockart"),value:"none"},{label:(0,K.__)("Grayscale","blockart"),value:"gray-scale"},{label:(0,K.__)("Sepia","blockart"),value:"sepia"},{label:(0,K.__)("Saturation","blockart"),value:"saturation"},{label:(0,K.__)("Vintage","blockart"),value:"vintage"},{label:(0,K.__)("Earlybird","blockart"),value:"early-bird"},{label:(0,K.__)("Toaster","blockart"),value:"toaster"},{label:(0,K.__)("Mayfair","blockart"),value:"mayfair"}],bW=e=>{var t;const{attributes:{link:r,image:n={},alignment:a,objectFit:o,border:i,hoverBorder:l,boxShadow:s,boxShadowHover:c,blockMargin:u,blockPadding:d,blockZIndex:p,cssID:m,width:h,height:f,maxWidth:v,opacity:b,hideOnDesktop:g,hideOnTablet:y,hideOnMobile:E,className:k,overlay:w,enableCaption:x,imageFilter:_,hoverEffect:P,showSeparatorOn:C,separatorStyle:A,separatorPosition:S,overlayContentPosition:R,overlayBorder:M,showHeadingOn:T,showDescription:I,maskShape:O,maskPosition:L,maskSize:D,maskRepeat:B},setAttributes:z}=e;return G().createElement(G().Fragment,null,G().createElement(bH,null),G().createElement(mH,null,G().createElement(gH,{title:(0,K.__)("Layout","blockart"),initialOpen:!0},G().createElement(MD,{label:(0,K.__)("Width","blockart"),value:h,min:0,max:1920,step:1,onChange:e=>z({width:e}),resetAttributeKey:"width",responsive:!0,units:["px","em","%"]}),G().createElement(MD,{label:(0,K.__)("Max Width","blockart"),value:v,min:0,max:1920,step:1,onChange:e=>z({maxWidth:e}),resetAttributeKey:"maxWidth",responsive:!0,units:["px","em","%"]}),G().createElement(MD,{label:(0,K.__)("Height","blockart"),value:f,min:0,max:1e3,step:1,onChange:e=>z({height:e}),resetAttributeKey:"height",responsive:!0,units:["px","em","%"]})),G().createElement(gH,{title:(0,K.__)("Image","blockart")},G().createElement(BV,{label:(0,K.__)("Add Image","blockart"),popoverDivProps:{sx:{".components-popover__content":{p:4,width:"280px"}}}},G().createElement(zF,{onChange:e=>z({image:e}),label:(0,K.__)("Image","blockart"),type:"image",value:n}),G().createElement(WF,{label:(0,K.__)("URL","blockart"),onChange:e=>z({link:e}),value:r,placeholder:"https://",newTab:!0}),G().createElement(Zv.TextareaControl,{label:(0,K.__)("Alt","blockart"),className:"blockart-control blockart-textarea",value:null!==(t=n?.alt)&&void 0!==t?t:"",onChange:e=>z({image:{...null!=n?n:{},alt:e}}),help:G().createElement(G().Fragment,null,G().createElement(Zv.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},(0,K.__)("Describe the purpose of the image","blockart")),G().createElement("br",null),(0,K.__)("Leave empty if the image is purely decorative.","blockart"))})),G().createElement(jF,{checked:null!=x&&x,onChange:e=>z({enableCaption:e}),label:(0,K.__)("Enable Caption","blockart")})),G().createElement(gH,{title:(0,K.__)("Overlay","blockart")},G().createElement(jF,{checked:null!=w&&w,onChange:e=>z({overlay:e}),label:(0,K.__)("Enable","blockart")}),w&&G().createElement(G().Fragment,null,G().createElement(VV,{options:lW,onChange:e=>z({overlayContentPosition:e}),value:R,label:(0,K.__)("Content Position","blockart")}),G().createElement(OV,{value:M,onChange:e=>{z({overlayBorder:e})},resetAttributeKey:"overlayBorder"}),G().createElement(HF,{value:C,onChange:e=>{z({showSeparatorOn:e})},label:(0,K.__)("Show Separator On","blockart"),resetAttributeKey:"showSeparatorOn",groupProps:{sx:{".chakra-button":{minH:"8"}}}},G().createElement(FF,{value:"always"},(0,K.__)("Always","blockart")),G().createElement(FF,{value:"hover"},(0,K.__)("Hover","blockart"))),G().createElement(VV,{onChange:e=>z({separatorStyle:e}),value:A,label:(0,K.__)("Separator Style","blockart"),options:mW}),G().createElement(VV,{onChange:e=>z({separatorPosition:e}),value:S,label:(0,K.__)("Separator Position","blockart"),options:pW}),G().createElement(HF,{value:T,onChange:e=>{z({showHeadingOn:e})},label:(0,K.__)("Show Heading","blockart"),resetAttributeKey:"showHeadingOn",groupProps:{sx:{".chakra-button":{minH:"8"}}}},G().createElement(FF,{value:"always"},(0,K.__)("Always","blockart")),G().createElement(FF,{value:"hover"},(0,K.__)("Hover","blockart"))),G().createElement(HF,{value:I,onChange:e=>{z({showDescription:e})},label:(0,K.__)("Show Description","blockart"),resetAttributeKey:"showDescription",groupProps:{sx:{".chakra-button":{minH:"8"}}}},G().createElement(FF,{value:"always"},(0,K.__)("Always","blockart")),G().createElement(FF,{value:"hover"},(0,K.__)("Hover","blockart"))))),G().createElement(gH,{title:(0,K.__)("Mask","blockart")},G().createElement(VV,{label:(0,K.__)("Mask Shape","blockart"),value:O,options:sW,onChange:e=>z({maskShape:e})}),O&&"none"!==O&&G().createElement(G().Fragment,null,G().createElement(VV,{label:(0,K.__)("Mask Size","blockart"),value:D,options:cW,onChange:e=>z({maskSize:e})}),G().createElement(VV,{label:(0,K.__)("Mask Position","blockart"),value:L,options:uW,onChange:e=>z({maskPosition:e})}),G().createElement(VV,{label:(0,K.__)("Mask Repeat","blockart"),value:B,options:dW,onChange:e=>z({maskRepeat:e})})))),G().createElement(hH,null,G().createElement(gH,{title:(0,K.__)("Properties","blockart"),initialOpen:!0},G().createElement(HF,{value:a,onChange:e=>{z({alignment:e})},label:(0,K.__)("Text Alignment","blockart"),responsive:!0,resetAttributeKey:"alignment",groupProps:{sx:{".chakra-button":{minH:"32px","&[data-active]":{svg:{fill:"#fff !important"}}}}}},G().createElement(FF,{value:"left"},G().createElement(qM,null)),G().createElement(FF,{value:"center"},G().createElement(YM,null)),G().createElement(FF,{value:"right"},G().createElement(KM,null)),G().createElement(FF,{value:"justify"},G().createElement(XM,null)))),G().createElement(gH,{title:(0,K.__)("Image","blockart")},G().createElement(VV,{onChange:e=>z({objectFit:e}),value:o,label:(0,K.__)("Object Fit","blockart"),options:hW}),G().createElement(VV,{onChange:e=>z({hoverEffect:e}),value:P,label:(0,K.__)("On Hover Image","blockart"),options:fW}),G().createElement(VV,{onChange:e=>z({imageFilter:e}),value:_,label:(0,K.__)("Image Filter","blockart"),options:vW}),G().createElement(MD,{onChange:e=>z({opacity:e}),label:(0,K.__)("Opacity","blockart"),step:.1,min:0,max:1,value:b,resetAttributeKey:"opacity"})),G().createElement(gH,{title:(0,K.__)("Border","blockart")},G().createElement(Oa,{variant:"border"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart")),G().createElement(Da,null,(0,K.__)("Hover","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(OV,{value:i,onChange:e=>{z({border:e})},resetAttributeKey:"border"}),G().createElement(FV,{resetAttributeKey:"boxShadow",value:s,onChange:e=>z({boxShadow:e})})),G().createElement(Fa,null,G().createElement(OV,{value:l,onChange:e=>{z({hoverBorder:e})},resetAttributeKey:"hoverBorder"}),G().createElement(FV,{resetAttributeKey:"boxShadowHover",value:c,onChange:e=>z({boxShadowHover:e})})))))),G().createElement(fH,null,G().createElement(yH,{blockMargin:u,setAttributes:z,blockPadding:d,blockZIndex:p,cssID:m,className:k,hasblockHTML:!1}),G().createElement(EH,{hideOnDesktop:g,hideOnTablet:y,hideOnMobile:E,setAttributes:z})))},gW=({style:e,showOn:t="always"})=>e&&"none"!==e?G().createElement("div",{className:Cv("separator",`${e}`,`${t}`)}):null,yW=(0,Zv.withNotices)((e=>{var t;const{attributes:{image:r={},cssID:n,className:a,caption:o,enableCaption:i,overlay:l,overlayContent:s,showHeadingOn:c,overlayContentPosition:u,separatorStyle:d,separatorPosition:p,showSeparatorOn:m,showDescription:h,hoverEffect:f,imageFilter:v,maskShape:b,maskSize:g,maskPosition:y,maskRepeat:E},setAttributes:k,noticeUI:w,noticeOperations:x}=e,{clientId:_}=jv(e),{device:P}=ib(),{CopyPasterStyleBlockControl:C}=Yv(),{Style:A}=Fv({blockName:"image",clientId:_,attributes:e.attributes,device:P}),S=e=>{x.removeAllNotices(),x.createErrorNotice(e)},R=e=>{if(!e?.url)return;const{url:t,id:r,height:n,width:a,alt:o}=e;k({image:{url:t,id:r,height:n,width:a,alt:o}})},M=e=>{k({image:{url:e,id:void 0,height:void 0,width:void 0,alt:void 0}})};return G().createElement(G().Fragment,null,G().createElement(bW,{attributes:e.attributes,setAttributes:e.setAttributes}),G().createElement(q.BlockControls,{group:"block"},G().createElement(q.MediaReplaceFlow,{mediaId:r?.id,mediaURL:r?.url,allowedTypes:["image"],accept:"image/*",onSelect:R,onSelectURL:M,onError:S})),G().createElement(C,{withBlockControls:!0}),G().createElement(A,null),G().createElement("figure",{id:n||null,className:Cv(`blockart-image blockart-image-${_}`,l?"overlay":"",a)},r?.url?G().createElement(G().Fragment,null,G().createElement("img",{className:Cv({[`hover-effect-${f}`]:!!f,[`filter-${v}`]:!!v,[`mask mask-${b}`]:!!b,[`mask-size-${g}`]:b&&"none"!==b&&g,[`mask-position-${y}`]:b&&"none"!==b&&!!y,[`mask-repeat-${E}`]:b&&"none"!==b&&!!E}),src:r?.url,alt:null!==(t=r?.alt)&&void 0!==t?t:""}),!l&&i&&G().createElement(q.RichText,{tagName:"figcaption",placeholder:"Add Caption",value:o,onChange:e=>k({caption:e})}),l&&G().createElement("div",{className:Cv(`overlay-content ${u}`,`show-heading-${c}`,`show-description-${h}`)},"before-title"===p&&G().createElement(gW,{style:d,showOn:m}),G().createElement(q.RichText,{tagName:"h2",value:s,onChange:e=>k({overlayContent:e}),placeholder:(0,K.__)("Add Heading","blockart")}),"after-title"===p&&G().createElement(gW,{style:d,showOn:m}),G().createElement(q.RichText,{tagName:"figcaption",placeholder:"Add Caption",value:o,onChange:e=>k({caption:e})}),"after-sub-title"===p&&G().createElement(gW,{style:d,showOn:m}))):G().createElement(q.MediaPlaceholder,{onSelect:R,notices:w,onError:S,accept:"image/*",allowedTypes:["image"],value:r?.id,onSelectURL:M,onHTMLDrop:Ov})))})),EW=rW.name,kW={...rW,icon:G().createElement(cz,{type:"blockIcon",name:"image",size:24}),edit:yW,save:e=>{const{attributes:{cssID:t,image:r={},clientId:n,className:a,link:o,enableCaption:i,caption:l,hoverEffect:s,overlay:c,overlayContent:u,overlayContentPosition:d,showHeadingOn:p,maskShape:m,maskSize:h,maskPosition:f,maskRepeat:v,showDescription:b,imageFilter:g,separatorPosition:y,separatorStyle:E,showSeparatorOn:k}}=e,w=()=>{var e,t,n;const a=G().createElement("img",{className:Cv({[`wp-image-${r?.id}`]:!!r?.id,[`hover-effect-${s}`]:!!s,[`filter-${g}`]:!!g,[`mask mask-${m}`]:!!m,[`mask-size-${h}`]:m&&"none"!==m&&h,[`mask-position-${f}`]:m&&"none"!==m&&!!f,[`mask-repeat-${v}`]:m&&"none"!==m&&!!v}),src:r?.url,alt:null!==(e=r?.alt)&&void 0!==e?e:"",height:null!==(t=r?.height)&&void 0!==t?t:void 0,width:null!==(n=r?.width)&&void 0!==n?n:void 0});return o?.url?G().createElement(kH,{tagName:"a",htmlAttrs:{href:o.url,target:o?.newTab?"_blank":void 0,rel:o?.rel?"noopener":void 0}},a):a};return G().createElement("figure",{id:null!=t?t:void 0,className:Cv(`blockart-image blockart-image-${n}`,c?"overlay":"",a)},G().createElement(w,null),i&&!c&&G().createElement(q.RichText.Content,{tagName:"figcaption",value:l}),c&&G().createElement("div",{className:Cv(`overlay-content ${d}`,`show-heading-${p}`,`show-description-${b}`)},"before-title"===y&&G().createElement(gW,{style:E,showOn:k}),G().createElement(q.RichText.Content,{tagName:"h2",value:u}),"after-title"===y&&G().createElement(gW,{style:E,showOn:k}),G().createElement(q.RichText.Content,{tagName:"figcaption",value:l}),"after-sub-title"===y&&G().createElement(gW,{style:E,showOn:k})))},deprecated:iW},wW=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","name":"blockart/image-comparison","title":"Image Comparison","description":"Compare two images with a slider","keywords":["image-comparison","image","compare","comparison-slider","blockart"],"category":"blockart","textdomain":"blockart","supports":{"className":false,"customClassName":false},"attributes":{"orientation":{"type":"string","default":"horizontal","enum":["horizontal","vertical"]},"comparisonSlider":{"type":"string","default":"default","enum":["default","button-only","hide-slider"]},"beforeImageText":{"type":"string","default":"Before"},"afterImageText":{"type":"string","default":"After"},"enableLabel":{"type":"boolean","default":false},"clientId":{"type":"string"},"beforeImage":{"type":"object"},"afterImage":{"type":"object"},"color":{"type":"string","default":"#ffffff","style":[{"selector":"{{WRAPPER}} .blockart-image-comparison-label {color: {{VALUE}}; }"},{"selector":"{{WRAPPER}} .b-dics__text {color: {{VALUE}}; }"}]},"background":{"type":"string","default":"#0000004f","style":[{"selector":"{{WRAPPER}} .blockart-image-comparison-label {background: {{VALUE}}; }"},{"selector":"{{WRAPPER}} .blockart-image-comparison-image-container .b-dics__image-container .b-dics__text {background: {{VALUE}}; }"}]},"typography":{"type":"object","default":{"typography":1,"weight":400,"size":{"desktop":{"value":12,"unit":"px"}},"lineHeight":{"desktop":{"value":1.5,"unit":"em"}}},"style":[{"selector":"{{WRAPPER}} .blockart-image-comparison-label"},{"selector":"{{WRAPPER}} .blockart-image-comparison-image-container .b-dics__image-container .b-dics__text"}]},"blockMargin":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { margin: {{VALUE}}; }"}]},"blockPadding":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { padding: {{VALUE}}; }"}]},"blockZIndex":{"type":"number","style":[{"selector":"{{WRAPPER}} { z-index: {{VALUE}}; }"}]},"cssID":{"type":"string"},"animation":{"type":"string"},"interaction":{"type":"object"},"position":{"type":"object"},"hideOnDesktop":{"type":"boolean","style":[{"selector":"@media (min-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnTablet":{"type":"boolean","style":[{"selector":"@media (min-width:48em) and (max-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} { display: none; } }"}]},"colReverseOnTablet":{"type":"boolean","style":[{"selector":"@media (max-width:62em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"colReverseOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"blockCSS":{"type":"string"},"className":{"type":"string"}},"style":"blockart-blocks","editorScript":"blockart-blocks","editorStyle":"blockart-blocks-editor","viewScript":"blockart-frontend-image-comparison"}');var xW=(0,U.forwardRef)((({transition:e,...t},r)=>{let n={position:"absolute",top:0,left:0,width:"100%",height:"100%",transition:e?`clip-path ${e}`:void 0,userSelect:"none",willChange:"clip-path, transition",KhtmlUserSelect:"none",MozUserSelect:"none",WebkitUserSelect:"none"};return(0,Ma.jsx)("div",{...t,style:n,"data-rcs":"clip-item",ref:r})}));xW.displayName="ContainerClip";var _W=(0,U.forwardRef)((({children:e,disabled:t,portrait:r,position:n,transition:a},o)=>{let i={position:"absolute",top:0,width:r?"100%":void 0,height:r?void 0:"100%",background:"none",border:0,padding:0,pointerEvents:"all",appearance:"none",WebkitAppearance:"none",MozAppearance:"none",outline:0,transform:r?"translate3d(0, -50% ,0)":"translate3d(-50%, 0, 0)",transition:a?`${r?"top":"left"} ${a}`:void 0};return(0,Ma.jsx)("button",{ref:o,"aria-label":"Drag to move or focus and use arrow keys","aria-orientation":r?"vertical":"horizontal","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":n,"data-rcs":"handle-container",disabled:t,role:"slider",style:i,children:e})}));_W.displayName="ThisHandleContainer";var PW=({flip:e})=>(0,Ma.jsx)("div",{className:"__rcs-handle-arrow",style:{width:0,height:0,borderTop:"8px solid transparent",borderRight:"10px solid",borderBottom:"8px solid transparent",transform:e?"rotate(180deg)":void 0}}),CW=({className:e="__rcs-handle-root",disabled:t,buttonStyle:r,linesStyle:n,portrait:a,style:o,...i})=>{let l={display:"flex",flexDirection:a?"row":"column",placeItems:"center",height:"100%",cursor:t?"not-allowed":a?"ns-resize":"ew-resize",pointerEvents:"none",color:"#fff",...o},s={flexGrow:1,height:a?2:"100%",width:a?"100%":2,backgroundColor:"currentColor",pointerEvents:"auto",boxShadow:"0 0 4px rgba(0,0,0,.5)",...n},c={display:"grid",gridAutoFlow:"column",gap:8,placeContent:"center",flexShrink:0,width:56,height:56,borderRadius:"50%",borderStyle:"solid",borderWidth:2,pointerEvents:"auto",backdropFilter:"blur(7px)",WebkitBackdropFilter:"blur(7px)",backgroundColor:"rgba(0, 0, 0, 0.125)",boxShadow:"0 0 4px rgba(0,0,0,.35)",transform:a?"rotate(90deg)":void 0,...r};return(0,Ma.jsxs)("div",{...i,className:e,style:l,children:[(0,Ma.jsx)("div",{className:"__rcs-handle-line",style:s}),(0,Ma.jsxs)("div",{className:"__rcs-handle-button",style:c,children:[(0,Ma.jsx)(PW,{}),(0,Ma.jsx)(PW,{flip:!0})]}),(0,Ma.jsx)("div",{className:"__rcs-handle-line",style:s})]})},AW=(e=>(e.ARROW_LEFT="ArrowLeft",e.ARROW_RIGHT="ArrowRight",e.ARROW_UP="ArrowUp",e.ARROW_DOWN="ArrowDown",e))(AW||{}),SW=(e,t,r,n)=>{let a=(0,U.useRef)();(0,U.useEffect)((()=>{a.current=t}),[t]),(0,U.useEffect)((()=>{if(!r||!r.addEventListener)return;let t=e=>a.current&&a.current(e);return r.addEventListener(e,t,n),()=>{r.removeEventListener(e,t,n)}}),[e,r,n])},RW=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?U.useLayoutEffect:U.useEffect,MW={capture:!1,passive:!0},TW={capture:!0,passive:!1},IW=e=>{e.preventDefault(),e.currentTarget.focus()},OW=(0,U.forwardRef)((({boundsPadding:e=0,browsingContext:t=globalThis,changePositionOnHover:r=!1,disabled:n=!1,handle:a,itemOne:o,itemTwo:i,keyboardIncrement:l="5%",onlyHandleDraggable:s=!1,onPositionChange:c,portrait:u=!1,position:d=50,style:p,transition:m,...h},f)=>{let v=(0,U.useRef)(null),b=(0,U.useRef)(null),g=(0,U.useRef)(null),y=(0,U.useRef)(d),[E,k]=(0,U.useState)(!1),[w,x]=(0,U.useState)(!0),_=(0,U.useRef)(!1),[P,C]=(0,U.useState)(),A=(e=>{let t=(0,U.useRef)(e);return(0,U.useEffect)((()=>{t.current=e})),t.current})(d),S=(0,U.useCallback)((function({x:r,y:n,isOffset:a}){let o=v.current,i=g.current,l=b.current,{width:s,height:d,left:p,top:m}=o.getBoundingClientRect();if(0===s||0===d)return;let h=u?a?n-m-t.scrollY:n:a?r-p-t.scrollX:r,f=Math.min(Math.max(h/(u?d:s)*100,0),100),E=u?d/(o.offsetHeight||1):s/(o.offsetWidth||1),k=e*E/(u?d:s)*100,w=Math.min(Math.max(f,k*E),100-k*E);y.current=f,i.setAttribute("aria-valuenow",`${Math.round(y.current)}`),i.style.top=u?`${w}%`:"0",i.style.left=u?"0":`${w}%`,l.style.clipPath=u?`inset(${w}% 0 0 0)`:`inset(0 0 0 ${w}%)`,c&&c(y.current)}),[e,c,u,t]);(0,U.useEffect)((()=>{let{width:e,height:t}=v.current.getBoundingClientRect(),r=d===A?y.current:d;S({x:e/100*r,y:t/100*r})}),[e,d,u,A,S]);let R=(0,U.useCallback)((e=>{e.preventDefault(),!n&&0===e.button&&(S({isOffset:!0,x:e.pageX,y:e.pageY}),k(!0),x(!0))}),[n,S]),M=(0,U.useCallback)((function(e){S({isOffset:!0,x:e.pageX,y:e.pageY}),x(!1)}),[S]),T=(0,U.useCallback)((()=>{k(!1),x(!0)}),[]),I=(0,U.useCallback)((({width:e,height:t})=>{let{width:r,height:n}=v.current.getBoundingClientRect();S({x:e/100*y.current*r/e,y:t/100*y.current*n/t})}),[S]),O=(0,U.useCallback)((e=>{if(!Object.values(AW).includes(e.key))return;e.preventDefault(),x(!0);let{top:t,left:r}=g.current.getBoundingClientRect(),{width:n,height:a}=v.current.getBoundingClientRect(),o="string"==typeof l?parseFloat(l):l/n*100,i=u?"ArrowLeft"===e.key||"ArrowDown"===e.key:"ArrowRight"===e.key||"ArrowUp"===e.key,s=Math.min(Math.max(i?y.current+o:y.current-o,0),100);S({x:u?r:n*s/100,y:u?a*s/100:t})}),[l,u,S]);(0,U.useEffect)((()=>{C(s?g.current:v.current)}),[s]),(0,U.useEffect)((()=>{let e=v.current,t=()=>{E||T()};return r&&(e.addEventListener("pointermove",M,MW),e.addEventListener("pointerleave",t,MW)),()=>{e.removeEventListener("pointermove",M),e.removeEventListener("pointerleave",t)}}),[r,M,T,E]),(0,U.useEffect)((()=>(E&&!_.current&&(t.addEventListener("pointermove",M,MW),t.addEventListener("pointerup",T,MW),_.current=!0),()=>{_.current&&(t.removeEventListener("pointermove",M),t.removeEventListener("pointerup",T),_.current=!1)})),[M,T,E,t]),(0,U.useImperativeHandle)(f,(()=>({rootContainer:v.current,handleContainer:g.current,setPosition(e){let{width:t,height:r}=v.current.getBoundingClientRect();S({x:t/100*e,y:r/100*e})}})),[S]),((e,t)=>{let r=(0,U.useRef)(),n=(0,U.useCallback)((()=>{e.current&&r.current&&r.current.observe(e.current)}),[e]);RW((()=>(r.current=new ResizeObserver((([e])=>t(e.contentRect))),n(),()=>{r.current&&r.current.disconnect()})),[t,n])})(v,I),SW("keydown",O,g.current,TW),SW("click",IW,g.current,TW),SW("pointerdown",R,P,TW);let L=a||(0,Ma.jsx)(CW,{disabled:n,portrait:u}),D=w?m:void 0,B={position:"relative",display:"flex",overflow:"hidden",cursor:E?u?"ns-resize":"ew-resize":void 0,touchAction:"none",userSelect:"none",KhtmlUserSelect:"none",msUserSelect:"none",MozUserSelect:"none",WebkitUserSelect:"none",...p};return(0,Ma.jsxs)("div",{...h,ref:v,style:B,"data-rcs":"root",children:[o,(0,Ma.jsx)(xW,{ref:b,transition:D,children:i}),(0,Ma.jsx)(_W,{disabled:n,portrait:u,position:Math.round(y.current),ref:g,transition:D,children:L})]})}));OW.displayName="ReactCompareSlider";var LW=(0,U.forwardRef)((({style:e,...t},r)=>{let n=(({boxSizing:e="border-box",objectFit:t="cover",objectPosition:r="center center",...n}={})=>({display:"block",width:"100%",height:"100%",maxWidth:"100%",boxSizing:e,objectFit:t,objectPosition:r,...n}))(e);return(0,Ma.jsx)("img",{ref:r,...t,style:n,"data-rcs":"image"})}));LW.displayName="ReactCompareSliderImage";const DW=r.p+"302122a35d11ba6be419aaf7ab8f1905.png",BW=e=>{const{attributes:{beforeImage:t,afterImage:r,blockMargin:n,blockPadding:a,orientation:o,hideOnDesktop:i,hideOnTablet:l,hideOnMobile:s,comparisonSlider:c,beforeImageText:u,afterImageText:d,enableLabel:p,background:m,typography:h,color:f},setAttributes:v}=e,[b,g]=G().useState(!1),[y,E]=G().useState(!1),k=e=>{const t=wp.media({title:(0,K.__)("Select Image"),multiple:!1,library:{type:"image"},button:{text:(0,K.__)("Use this image")}});t.on("select",(()=>{const r=t.state().get("selection").first().toJSON(),n={url:r.url,id:r.id,height:r.height,width:r.width,alt:r.alt};v("before"===e?{beforeImage:n}:{afterImage:n})})),t.open()};return G().createElement(G().Fragment,null,G().createElement(bH,null),G().createElement(mH,null,G().createElement(gH,{title:(0,K.__)("Layout","blockart"),initialOpen:!0},G().createElement(HF,{value:o,onChange:e=>{v({orientation:e})},label:(0,K.__)("Orientation","blockart"),groupProps:{sx:{".chakra-button":{minH:"8"},".chakra-button[data-active]":{svg:{fill:"#fff !important"}}}}},G().createElement(FF,{value:"horizontal"},G().createElement(GT,null)),G().createElement(FF,{value:"vertical"},G().createElement($T,null)))),t&&r&&G().createElement(gH,{title:(0,K.__)("Images","blockart"),initialOpen:!0},G().createElement("div",{style:{position:"relative"}},G().createElement("p",null,(0,K.__)("Before Image","blockart")),t&&G().createElement("div",{onMouseEnter:()=>g(!0),onMouseLeave:()=>g(!1)},G().createElement("img",{src:t.url,alt:"Before",style:{maxWidth:"100%",filter:b?"blur(1px)":"none"}}),b&&G().createElement(cf,{style:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)"},onClick:()=>k("before")},"Replace Image"))),G().createElement("div",{style:{position:"relative"}},G().createElement("p",null,(0,K.__)("After Image","blockart")),r&&G().createElement("div",{onMouseEnter:()=>E(!0),onMouseLeave:()=>E(!1)},G().createElement("img",{src:r.url,alt:"After",style:{maxWidth:"100%",filter:y?"blur(1px)":"none"}}),y&&G().createElement(cf,{style:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)"},onClick:()=>k("after")},"Replace Image")))),G().createElement(gH,{title:(0,K.__)("Options","blockart"),initialOpen:!0},G().createElement(VV,{value:c,label:(0,K.__)("Comparison Slider","blockart"),options:[{label:(0,K.__)("Default","blockart"),value:"default"},{label:(0,K.__)("Button Only","blockart"),value:"button-only"},{label:(0,K.__)("Hide Slider","blockart"),value:"hide-slider"}],onChange:e=>v({comparisonSlider:e})}),G().createElement(jF,{checked:p,onChange:e=>{v({enableLabel:e})},label:(0,K.__)("Enable Label","blockart")}),p&&G().createElement(G().Fragment,null,G().createElement(Zv.TextControl,{label:(0,K.__)("Before Image Text","blockart"),value:u,onChange:e=>v({beforeImageText:e})}),G().createElement(Zv.TextControl,{label:(0,K.__)("After Image Text","blockart"),value:d,onChange:e=>v({afterImageText:e})})))),G().createElement(hH,null,G().createElement(gH,{title:(0,K.__)("Label","blockart")},G().createElement(BV,{label:(0,K.__)("Text Color","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:f,id:"color"}]}));return Iv(f)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-10px",bg:"white",borderRadius:"full"})):G().createElement(t,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative",size:"sm"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:f,resetKey:"color",onReset:e=>{v({color:e})},buttonProps:{position:"absolute",top:"4px",right:"10px"}}),G().createElement(UN,{value:f,onChange:e=>v({color:e})}))))),G().createElement(BV,{label:(0,K.__)("Background Color","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:m,id:"background"}]}));return Iv(f)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-10px",bg:"white",borderRadius:"full"})):G().createElement(t,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative",size:"sm"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:m,resetKey:"background",onReset:e=>{v({background:e})},buttonProps:{position:"absolute",top:"4px",right:"10px"}}),G().createElement(UN,{value:m,onChange:e=>v({background:e})}))))),G().createElement(OD,{value:h,onChange:e=>v({typography:e}),resetAttributeKey:"typography"}))),G().createElement(fH,null,G().createElement(yH,{blockMargin:n,setAttributes:v,blockPadding:a}),G().createElement(EH,{hideOnDesktop:i,hideOnTablet:l,hideOnMobile:s,setAttributes:v})))},zW=(0,Zv.withNotices)((e=>{const{attributes:{beforeImage:t,afterImage:r,orientation:n,comparisonSlider:a,beforeImageText:o,afterImageText:i,enableLabel:l},setAttributes:s,noticeUI:c,noticeOperations:u}=e,{clientId:d}=jv(e),{device:p}=ib(),{CopyPasterStyleBlockControl:m}=Yv(),{Style:h}=Fv({blockName:"image-comparison",clientId:d,attributes:e.attributes,device:p}),f=[t,r],v={position:"absolute",padding:"6px 12px",margin:"16px",borderRadius:"2px",textWrap:"nowrap"};return G().createElement(G().Fragment,null,G().createElement(BW,{attributes:e.attributes,setAttributes:e.setAttributes}),G().createElement(q.BlockControls,{group:"block"}),G().createElement(m,{withBlockControls:!0}),G().createElement(h,null),G().createElement("div",{className:Cv("blockart-image-comparison",`blockart-image-comparison-${d}`)},f[0]?.url&&f[1]?.url?G().createElement("div",{className:`blockart-image-comparison-container ${{default:"blockart-image-comparison-slider-default","button-only":"blockart-image-comparison-slider-button-only","hide-slider":"blockart-image-comparison-slider-hide"}[a]||""}`},G().createElement(OW,{portrait:"vertical"===n,itemOne:G().createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"flex-end",width:"100%",height:"100%"}},l&&G().createElement("div",{className:"blockart-image-comparison-label",style:{...v,left:"horizontal"===n?0:"unset",right:"vertical"===n?0:"unset",top:"vertical"===n?0:"unset"}},o),G().createElement(LW,{src:f[0]?.url,alt:o})),itemTwo:G().createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"flex-end",width:"100%",height:"100%"}},l&&G().createElement("div",{className:"blockart-image-comparison-label",style:{...v,right:0}},i),G().createElement(LW,{src:f[1]?.url,alt:i}))})):G().createElement("div",{style:{display:"flex",gap:"1em",alignItems:"center"}},f.map(((e,t)=>G().createElement("div",{key:`blockart-media-placeholder-${d}-${t}`,style:{width:"50%"}},!e?.url&&G().createElement(q.MediaUpload,{onSelect:e=>((e,t)=>{if(!e?.url)return;const{url:r,id:n,height:a,width:o,alt:i}=e;s(0===t?{beforeImage:{url:r,id:n,height:a,width:o,alt:i}}:{afterImage:{url:r,id:n,height:a,width:o,alt:i}})})(e,t),allowedTypes:["image"],value:e?.id,render:({open:e})=>G().createElement("img",{src:DW,onClick:e,style:{width:"100%",cursor:"pointer"}})}),e?.url&&G().createElement("img",{src:e.url,alt:`Uploaded image ${t+1}`,style:{width:"100%"}})))))))})),NW=wW.name,VW={...wW,icon:G().createElement(HI,null),edit:zW},FW=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","name":"blockart/image-gallery","title":"Image Gallery","description":"Create customizable gallery of multiple images.","keywords":["gallery","images"],"category":"blockart","textdomain":"blockart","supports":{"className":false,"customClassName":false},"example":{"attributes":{}},"attributes":{"clientId":{"type":"string"},"link":{"type":"object","default":{}},"images":{"type":"array","default":[]},"galleryTitle":{"type":"string","default":"Gallery"},"columns":{"type":"string","default":3},"layoutType":{"type":"string","default":"grid"},"pagination":{"type":"boolean","default":false},"pauseOnHover":{"type":"boolean","default":true},"arrows":{"type":"boolean","default":true},"imgHeight":{"type":"object","style":[{"selector":".blockart-image-gallery{{WRAPPER}} .swiper-slide img{height: {{VALUE}}px; }"}]},"imgWidth":{"type":"object","style":[{"selector":".blockart-image-gallery{{WRAPPER}} .swiper-slide img{width: {{VALUE}}px; }"}]},"imageGap":{"type":"integer","style":[{"selector":"{{WRAPPER}} .thumbnail-swiper .swiper-slide {margin-left: {{VALUE}}; }"}]},"thumbnailSliderGap":{"type":"integer","style":[{"selector":"{{WRAPPER}} .main-swiper {margin-bottom: {{VALUE}}; }"}]},"thumbnailSliderBorder":{"type":"string","style":[{"selector":"{{WRAPPER}} .thumbnail-swiper .blockart-image img {border-radius: {{VALUE}}; }"}]},"mainSliderBorder":{"type":"string","style":[{"selector":"{{WRAPPER}} .main-swiper .blockart-image img {border-radius: {{VALUE}}; }"}]},"overlayColor":{"type":"object","default":{"background":1,"type":"color"},"style":[{"selector":"{{WRAPPER}} .swiper-slide"}]},"thumbnailOverlayColor":{"type":"object","default":{"background":1,"type":"color"},"style":[{"selector":"{{WRAPPER}} .thumbnail-swiper .swiper-slide"}]},"speed":{"type":"number","default":800},"interval":{"type":"object","default":5000},"autoplay":{"type":"boolean","default":true},"loop":{"type":"boolean","default":false},"perPage":{"type":"number","default":4},"perMove":{"type":"number","default":1},"buttonAlignment":{"type":"object","style":[{"selector":"{{WRAPPER}} {text-align: {{VALUE}}; }"}]},"background":{"type":"object","default":{"background":1},"style":[{"selector":"{{WRAPPER}}"}]},"enableCaption":{"type":"boolean","default":false},"captionLayout":{"type":"string","default":"overlay"},"captionVisibility":{"type":"string","default":"show-on-hover"},"captionPosition":{"type":"string","default":"center-center"},"captionText":{"type":"array","default":[]},"alt1":{"type":"string"},"alt2":{"type":"string"},"width":{"type":"object","style":[{"selector":"{{WRAPPER}} img { width: {{VALUE}} }"}]},"maxWidth":{"type":"object","style":[{"selector":"{{WRAPPER}} img { max-width: {{VALUE}} }"}]},"height":{"type":"object","style":[{"selector":"{{WRAPPER}} img { height: {{VALUE}} }"}]},"opacity":{"type":"string","default":1,"style":[{"selector":"{{WRAPPER}} img { opacity: {{VALUE}} }"}]},"blockMargin":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { margin: {{VALUE}}; }"}]},"blockPadding":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { padding: {{VALUE}}; }"}]},"blockZIndex":{"type":"number","style":[{"selector":"{{WRAPPER}} { z-index: {{VALUE}}; }"}]},"cssID":{"type":"string"},"animation":{"type":"string"},"interaction":{"type":"object"},"position":{"type":"object"},"hideOnDesktop":{"type":"boolean","style":[{"selector":"@media (min-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnTablet":{"type":"boolean","style":[{"selector":"@media (min-width:48em) and (max-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} { display: none; } }"}]},"colReverseOnTablet":{"type":"boolean","style":[{"selector":"@media (max-width:62em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"colReverseOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"blockCSS":{"type":"string"},"className":{"type":"string"}},"style":"blockart-blocks","editorScript":"blockart-blocks","editorStyle":"blockart-blocks-editor","viewScript":["blockart-frontend-image-gallery"]}');function HW(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function jW(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach((r=>{void 0===e[r]?e[r]=t[r]:HW(t[r])&&HW(e[r])&&Object.keys(t[r]).length>0&&jW(e[r],t[r])}))}const WW={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function $W(){const e="undefined"!=typeof document?document:{};return jW(e,WW),e}const ZW={document:WW,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function UW(){const e="undefined"!=typeof window?window:{};return jW(e,ZW),e}function GW(e){return void 0===e&&(e=""),e.trim().split(" ").filter((e=>!!e.trim()))}function qW(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function KW(){return Date.now()}function YW(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function XW(e){return"undefined"!=typeof window&&void 0!==window.HTMLElement?e instanceof HTMLElement:e&&(1===e.nodeType||11===e.nodeType)}function QW(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let r=1;r<arguments.length;r+=1){const n=r<0||arguments.length<=r?void 0:arguments[r];if(null!=n&&!XW(n)){const r=Object.keys(Object(n)).filter((e=>t.indexOf(e)<0));for(let t=0,a=r.length;t<a;t+=1){const a=r[t],o=Object.getOwnPropertyDescriptor(n,a);void 0!==o&&o.enumerable&&(YW(e[a])&&YW(n[a])?n[a].__swiper__?e[a]=n[a]:QW(e[a],n[a]):!YW(e[a])&&YW(n[a])?(e[a]={},n[a].__swiper__?e[a]=n[a]:QW(e[a],n[a])):e[a]=n[a])}}}return e}function JW(e,t,r){e.style.setProperty(t,r)}function e$(e){let{swiper:t,targetPosition:r,side:n}=e;const a=UW(),o=-t.translate;let i,l=null;const s=t.params.speed;t.wrapperEl.style.scrollSnapType="none",a.cancelAnimationFrame(t.cssModeFrameID);const c=r>o?"next":"prev",u=(e,t)=>"next"===c&&e>=t||"prev"===c&&e<=t,d=()=>{i=(new Date).getTime(),null===l&&(l=i);const e=Math.max(Math.min((i-l)/s,1),0),c=.5-Math.cos(e*Math.PI)/2;let p=o+c*(r-o);if(u(p,r)&&(p=r),t.wrapperEl.scrollTo({[n]:p}),u(p,r))return t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout((()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[n]:p})})),void a.cancelAnimationFrame(t.cssModeFrameID);t.cssModeFrameID=a.requestAnimationFrame(d)};d()}function t$(e,t){return void 0===t&&(t=""),[...e.children].filter((e=>e.matches(t)))}function r$(e){try{return void console.warn(e)}catch(e){}}function n$(e,t){void 0===t&&(t=[]);const r=document.createElement(e);return r.classList.add(...Array.isArray(t)?t:GW(t)),r}function a$(e,t){return UW().getComputedStyle(e,null).getPropertyValue(t)}function o$(e){let t,r=e;if(r){for(t=0;null!==(r=r.previousSibling);)1===r.nodeType&&(t+=1);return t}}function i$(e,t){const r=[];let n=e.parentElement;for(;n;)t?n.matches(t)&&r.push(n):r.push(n),n=n.parentElement;return r}function l$(e,t){t&&e.addEventListener("transitionend",(function r(n){n.target===e&&(t.call(e,n),e.removeEventListener("transitionend",r))}))}function s$(e,t,r){const n=UW();return r?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(n.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(n.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}function c$(e){return(Array.isArray(e)?e:[e]).filter((e=>!!e))}let u$,d$,p$;function m$(){return u$||(u$=function(){const e=UW(),t=$W();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),u$}function h$(e){return void 0===e&&(e={}),d$||(d$=function(e){let{userAgent:t}=void 0===e?{}:e;const r=m$(),n=UW(),a=n.navigator.platform,o=t||n.navigator.userAgent,i={ios:!1,android:!1},l=n.screen.width,s=n.screen.height,c=o.match(/(Android);?[\s\/]+([\d.]+)?/);let u=o.match(/(iPad).*OS\s([\d_]+)/);const d=o.match(/(iPod)(.*OS\s([\d_]+))?/),p=!u&&o.match(/(iPhone\sOS|iOS)\s([\d_]+)/),m="Win32"===a;let h="MacIntel"===a;return!u&&h&&r.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${l}x${s}`)>=0&&(u=o.match(/(Version)\/([\d.]+)/),u||(u=[0,1,"13_0_0"]),h=!1),c&&!m&&(i.os="android",i.android=!0),(u||p||d)&&(i.os="ios",i.ios=!0),i}(e)),d$}var f$={on(e,t,r){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof t)return n;const a=r?"unshift":"push";return e.split(" ").forEach((e=>{n.eventsListeners[e]||(n.eventsListeners[e]=[]),n.eventsListeners[e][a](t)})),n},once(e,t,r){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof t)return n;function a(){n.off(e,a),a.__emitterProxy&&delete a.__emitterProxy;for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];t.apply(n,o)}return a.__emitterProxy=t,n.on(e,a,r)},onAny(e,t){const r=this;if(!r.eventsListeners||r.destroyed)return r;if("function"!=typeof e)return r;const n=t?"unshift":"push";return r.eventsAnyListeners.indexOf(e)<0&&r.eventsAnyListeners[n](e),r},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const r=t.eventsAnyListeners.indexOf(e);return r>=0&&t.eventsAnyListeners.splice(r,1),t},off(e,t){const r=this;return!r.eventsListeners||r.destroyed?r:r.eventsListeners?(e.split(" ").forEach((e=>{void 0===t?r.eventsListeners[e]=[]:r.eventsListeners[e]&&r.eventsListeners[e].forEach(((n,a)=>{(n===t||n.__emitterProxy&&n.__emitterProxy===t)&&r.eventsListeners[e].splice(a,1)}))})),r):r},emit(){const e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsListeners)return e;let t,r,n;for(var a=arguments.length,o=new Array(a),i=0;i<a;i++)o[i]=arguments[i];return"string"==typeof o[0]||Array.isArray(o[0])?(t=o[0],r=o.slice(1,o.length),n=e):(t=o[0].events,r=o[0].data,n=o[0].context||e),r.unshift(n),(Array.isArray(t)?t:t.split(" ")).forEach((t=>{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach((e=>{e.apply(n,[t,...r])})),e.eventsListeners&&e.eventsListeners[t]&&e.eventsListeners[t].forEach((e=>{e.apply(n,r)}))})),e}};const v$=(e,t,r)=>{t&&!e.classList.contains(r)?e.classList.add(r):!t&&e.classList.contains(r)&&e.classList.remove(r)},b$=(e,t,r)=>{t&&!e.classList.contains(r)?e.classList.add(r):!t&&e.classList.contains(r)&&e.classList.remove(r)},g$=(e,t)=>{if(!e||e.destroyed||!e.params)return;const r=t.closest(e.isElement?"swiper-slide":`.${e.params.slideClass}`);if(r){let t=r.querySelector(`.${e.params.lazyPreloaderClass}`);!t&&e.isElement&&(r.shadowRoot?t=r.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame((()=>{r.shadowRoot&&(t=r.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`),t&&t.remove())}))),t&&t.remove()}},y$=(e,t)=>{if(!e.slides[t])return;const r=e.slides[t].querySelector('[loading="lazy"]');r&&r.removeAttribute("loading")},E$=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const r=e.slides.length;if(!r||!t||t<0)return;t=Math.min(t,r);const n="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),a=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const r=a,o=[r-t];return o.push(...Array.from({length:t}).map(((e,t)=>r+n+t))),void e.slides.forEach(((t,r)=>{o.includes(t.column)&&y$(e,r)}))}const o=a+n-1;if(e.params.rewind||e.params.loop)for(let n=a-t;n<=o+t;n+=1){const t=(n%r+r)%r;(t<a||t>o)&&y$(e,t)}else for(let n=Math.max(a-t,0);n<=Math.min(o+t,r-1);n+=1)n!==a&&(n>o||n<a)&&y$(e,n)};var k$={updateSize:function(){const e=this;let t,r;const n=e.el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:n.clientWidth,r=void 0!==e.params.height&&null!==e.params.height?e.params.height:n.clientHeight,0===t&&e.isHorizontal()||0===r&&e.isVertical()||(t=t-parseInt(a$(n,"padding-left")||0,10)-parseInt(a$(n,"padding-right")||0,10),r=r-parseInt(a$(n,"padding-top")||0,10)-parseInt(a$(n,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(r)&&(r=0),Object.assign(e,{width:t,height:r,size:e.isHorizontal()?t:r}))},updateSlides:function(){const e=this;function t(t,r){return parseFloat(t.getPropertyValue(e.getDirectionLabel(r))||0)}const r=e.params,{wrapperEl:n,slidesEl:a,size:o,rtlTranslate:i,wrongRTL:l}=e,s=e.virtual&&r.virtual.enabled,c=s?e.virtual.slides.length:e.slides.length,u=t$(a,`.${e.params.slideClass}, swiper-slide`),d=s?e.virtual.slides.length:u.length;let p=[];const m=[],h=[];let f=r.slidesOffsetBefore;"function"==typeof f&&(f=r.slidesOffsetBefore.call(e));let v=r.slidesOffsetAfter;"function"==typeof v&&(v=r.slidesOffsetAfter.call(e));const b=e.snapGrid.length,g=e.slidesGrid.length;let y=r.spaceBetween,E=-f,k=0,w=0;if(void 0===o)return;"string"==typeof y&&y.indexOf("%")>=0?y=parseFloat(y.replace("%",""))/100*o:"string"==typeof y&&(y=parseFloat(y)),e.virtualSize=-y,u.forEach((e=>{i?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""})),r.centeredSlides&&r.cssMode&&(JW(n,"--swiper-centered-offset-before",""),JW(n,"--swiper-centered-offset-after",""));const x=r.grid&&r.grid.rows>1&&e.grid;let _;x?e.grid.initSlides(u):e.grid&&e.grid.unsetSlides();const P="auto"===r.slidesPerView&&r.breakpoints&&Object.keys(r.breakpoints).filter((e=>void 0!==r.breakpoints[e].slidesPerView)).length>0;for(let n=0;n<d;n+=1){let a;if(_=0,u[n]&&(a=u[n]),x&&e.grid.updateSlide(n,a,u),!u[n]||"none"!==a$(a,"display")){if("auto"===r.slidesPerView){P&&(u[n].style[e.getDirectionLabel("width")]="");const o=getComputedStyle(a),i=a.style.transform,l=a.style.webkitTransform;if(i&&(a.style.transform="none"),l&&(a.style.webkitTransform="none"),r.roundLengths)_=e.isHorizontal()?s$(a,"width",!0):s$(a,"height",!0);else{const e=t(o,"width"),r=t(o,"padding-left"),n=t(o,"padding-right"),i=t(o,"margin-left"),l=t(o,"margin-right"),s=o.getPropertyValue("box-sizing");if(s&&"border-box"===s)_=e+i+l;else{const{clientWidth:t,offsetWidth:o}=a;_=e+r+n+i+l+(o-t)}}i&&(a.style.transform=i),l&&(a.style.webkitTransform=l),r.roundLengths&&(_=Math.floor(_))}else _=(o-(r.slidesPerView-1)*y)/r.slidesPerView,r.roundLengths&&(_=Math.floor(_)),u[n]&&(u[n].style[e.getDirectionLabel("width")]=`${_}px`);u[n]&&(u[n].swiperSlideSize=_),h.push(_),r.centeredSlides?(E=E+_/2+k/2+y,0===k&&0!==n&&(E=E-o/2-y),0===n&&(E=E-o/2-y),Math.abs(E)<.001&&(E=0),r.roundLengths&&(E=Math.floor(E)),w%r.slidesPerGroup==0&&p.push(E),m.push(E)):(r.roundLengths&&(E=Math.floor(E)),(w-Math.min(e.params.slidesPerGroupSkip,w))%e.params.slidesPerGroup==0&&p.push(E),m.push(E),E=E+_+y),e.virtualSize+=_+y,k=_,w+=1}}if(e.virtualSize=Math.max(e.virtualSize,o)+v,i&&l&&("slide"===r.effect||"coverflow"===r.effect)&&(n.style.width=`${e.virtualSize+y}px`),r.setWrapperSize&&(n.style[e.getDirectionLabel("width")]=`${e.virtualSize+y}px`),x&&e.grid.updateWrapperSize(_,p),!r.centeredSlides){const t=[];for(let n=0;n<p.length;n+=1){let a=p[n];r.roundLengths&&(a=Math.floor(a)),p[n]<=e.virtualSize-o&&t.push(a)}p=t,Math.floor(e.virtualSize-o)-Math.floor(p[p.length-1])>1&&p.push(e.virtualSize-o)}if(s&&r.loop){const t=h[0]+y;if(r.slidesPerGroup>1){const n=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/r.slidesPerGroup),a=t*r.slidesPerGroup;for(let e=0;e<n;e+=1)p.push(p[p.length-1]+a)}for(let n=0;n<e.virtual.slidesBefore+e.virtual.slidesAfter;n+=1)1===r.slidesPerGroup&&p.push(p[p.length-1]+t),m.push(m[m.length-1]+t),e.virtualSize+=t}if(0===p.length&&(p=[0]),0!==y){const t=e.isHorizontal()&&i?"marginLeft":e.getDirectionLabel("marginRight");u.filter(((e,t)=>!(r.cssMode&&!r.loop)||t!==u.length-1)).forEach((e=>{e.style[t]=`${y}px`}))}if(r.centeredSlides&&r.centeredSlidesBounds){let e=0;h.forEach((t=>{e+=t+(y||0)})),e-=y;const t=e-o;p=p.map((e=>e<=0?-f:e>t?t+v:e))}if(r.centerInsufficientSlides){let e=0;h.forEach((t=>{e+=t+(y||0)})),e-=y;const t=(r.slidesOffsetBefore||0)+(r.slidesOffsetAfter||0);if(e+t<o){const r=(o-e-t)/2;p.forEach(((e,t)=>{p[t]=e-r})),m.forEach(((e,t)=>{m[t]=e+r}))}}if(Object.assign(e,{slides:u,snapGrid:p,slidesGrid:m,slidesSizesGrid:h}),r.centeredSlides&&r.cssMode&&!r.centeredSlidesBounds){JW(n,"--swiper-centered-offset-before",-p[0]+"px"),JW(n,"--swiper-centered-offset-after",e.size/2-h[h.length-1]/2+"px");const t=-e.snapGrid[0],r=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((e=>e+t)),e.slidesGrid=e.slidesGrid.map((e=>e+r))}if(d!==c&&e.emit("slidesLengthChange"),p.length!==b&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),m.length!==g&&e.emit("slidesGridLengthChange"),r.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!(s||r.cssMode||"slide"!==r.effect&&"fade"!==r.effect)){const t=`${r.containerModifierClass}backface-hidden`,n=e.el.classList.contains(t);d<=r.maxBackfaceHiddenSlides?n||e.el.classList.add(t):n&&e.el.classList.remove(t)}},updateAutoHeight:function(e){const t=this,r=[],n=t.virtual&&t.params.virtual.enabled;let a,o=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const i=e=>n?t.slides[t.getSlideIndexByData(e)]:t.slides[e];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach((e=>{r.push(e)}));else for(a=0;a<Math.ceil(t.params.slidesPerView);a+=1){const e=t.activeIndex+a;if(e>t.slides.length&&!n)break;r.push(i(e))}else r.push(i(t.activeIndex));for(a=0;a<r.length;a+=1)if(void 0!==r[a]){const e=r[a].offsetHeight;o=e>o?e:o}(o||0===o)&&(t.wrapperEl.style.height=`${o}px`)},updateSlidesOffset:function(){const e=this,t=e.slides,r=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let n=0;n<t.length;n+=1)t[n].swiperSlideOffset=(e.isHorizontal()?t[n].offsetLeft:t[n].offsetTop)-r-e.cssOverflowAdjustment()},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);const t=this,r=t.params,{slides:n,rtlTranslate:a,snapGrid:o}=t;if(0===n.length)return;void 0===n[0].swiperSlideOffset&&t.updateSlidesOffset();let i=-e;a&&(i=e),t.visibleSlidesIndexes=[],t.visibleSlides=[];let l=r.spaceBetween;"string"==typeof l&&l.indexOf("%")>=0?l=parseFloat(l.replace("%",""))/100*t.size:"string"==typeof l&&(l=parseFloat(l));for(let e=0;e<n.length;e+=1){const s=n[e];let c=s.swiperSlideOffset;r.cssMode&&r.centeredSlides&&(c-=n[0].swiperSlideOffset);const u=(i+(r.centeredSlides?t.minTranslate():0)-c)/(s.swiperSlideSize+l),d=(i-o[0]+(r.centeredSlides?t.minTranslate():0)-c)/(s.swiperSlideSize+l),p=-(i-c),m=p+t.slidesSizesGrid[e],h=p>=0&&p<=t.size-t.slidesSizesGrid[e],f=p>=0&&p<t.size-1||m>1&&m<=t.size||p<=0&&m>=t.size;f&&(t.visibleSlides.push(s),t.visibleSlidesIndexes.push(e)),v$(s,f,r.slideVisibleClass),v$(s,h,r.slideFullyVisibleClass),s.progress=a?-u:u,s.originalProgress=a?-d:d}},updateProgress:function(e){const t=this;if(void 0===e){const r=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*r||0}const r=t.params,n=t.maxTranslate()-t.minTranslate();let{progress:a,isBeginning:o,isEnd:i,progressLoop:l}=t;const s=o,c=i;if(0===n)a=0,o=!0,i=!0;else{a=(e-t.minTranslate())/n;const r=Math.abs(e-t.minTranslate())<1,l=Math.abs(e-t.maxTranslate())<1;o=r||a<=0,i=l||a>=1,r&&(a=0),l&&(a=1)}if(r.loop){const r=t.getSlideIndexByData(0),n=t.getSlideIndexByData(t.slides.length-1),a=t.slidesGrid[r],o=t.slidesGrid[n],i=t.slidesGrid[t.slidesGrid.length-1],s=Math.abs(e);l=s>=a?(s-a)/i:(s+i-o)/i,l>1&&(l-=1)}Object.assign(t,{progress:a,progressLoop:l,isBeginning:o,isEnd:i}),(r.watchSlidesProgress||r.centeredSlides&&r.autoHeight)&&t.updateSlidesProgress(e),o&&!s&&t.emit("reachBeginning toEdge"),i&&!c&&t.emit("reachEnd toEdge"),(s&&!o||c&&!i)&&t.emit("fromEdge"),t.emit("progress",a)},updateSlidesClasses:function(){const e=this,{slides:t,params:r,slidesEl:n,activeIndex:a}=e,o=e.virtual&&r.virtual.enabled,i=e.grid&&r.grid&&r.grid.rows>1,l=e=>t$(n,`.${r.slideClass}${e}, swiper-slide${e}`)[0];let s,c,u;if(o)if(r.loop){let t=a-e.virtual.slidesBefore;t<0&&(t=e.virtual.slides.length+t),t>=e.virtual.slides.length&&(t-=e.virtual.slides.length),s=l(`[data-swiper-slide-index="${t}"]`)}else s=l(`[data-swiper-slide-index="${a}"]`);else i?(s=t.filter((e=>e.column===a))[0],u=t.filter((e=>e.column===a+1))[0],c=t.filter((e=>e.column===a-1))[0]):s=t[a];s&&(i||(u=function(e,t){const r=[];for(;e.nextElementSibling;){const n=e.nextElementSibling;t?n.matches(t)&&r.push(n):r.push(n),e=n}return r}(s,`.${r.slideClass}, swiper-slide`)[0],r.loop&&!u&&(u=t[0]),c=function(e,t){const r=[];for(;e.previousElementSibling;){const n=e.previousElementSibling;t?n.matches(t)&&r.push(n):r.push(n),e=n}return r}(s,`.${r.slideClass}, swiper-slide`)[0],r.loop&&0===!c&&(c=t[t.length-1]))),t.forEach((e=>{b$(e,e===s,r.slideActiveClass),b$(e,e===u,r.slideNextClass),b$(e,e===c,r.slidePrevClass)})),e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,r=t.rtlTranslate?t.translate:-t.translate,{snapGrid:n,params:a,activeIndex:o,realIndex:i,snapIndex:l}=t;let s,c=e;const u=e=>{let r=e-t.virtual.slidesBefore;return r<0&&(r=t.virtual.slides.length+r),r>=t.virtual.slides.length&&(r-=t.virtual.slides.length),r};if(void 0===c&&(c=function(e){const{slidesGrid:t,params:r}=e,n=e.rtlTranslate?e.translate:-e.translate;let a;for(let e=0;e<t.length;e+=1)void 0!==t[e+1]?n>=t[e]&&n<t[e+1]-(t[e+1]-t[e])/2?a=e:n>=t[e]&&n<t[e+1]&&(a=e+1):n>=t[e]&&(a=e);return r.normalizeSlideIndex&&(a<0||void 0===a)&&(a=0),a}(t)),n.indexOf(r)>=0)s=n.indexOf(r);else{const e=Math.min(a.slidesPerGroupSkip,c);s=e+Math.floor((c-e)/a.slidesPerGroup)}if(s>=n.length&&(s=n.length-1),c===o&&!t.params.loop)return void(s!==l&&(t.snapIndex=s,t.emit("snapIndexChange")));if(c===o&&t.params.loop&&t.virtual&&t.params.virtual.enabled)return void(t.realIndex=u(c));const d=t.grid&&a.grid&&a.grid.rows>1;let p;if(t.virtual&&a.virtual.enabled&&a.loop)p=u(c);else if(d){const e=t.slides.filter((e=>e.column===c))[0];let r=parseInt(e.getAttribute("data-swiper-slide-index"),10);Number.isNaN(r)&&(r=Math.max(t.slides.indexOf(e),0)),p=Math.floor(r/a.grid.rows)}else if(t.slides[c]){const e=t.slides[c].getAttribute("data-swiper-slide-index");p=e?parseInt(e,10):c}else p=c;Object.assign(t,{previousSnapIndex:l,snapIndex:s,previousRealIndex:i,realIndex:p,previousIndex:o,activeIndex:c}),t.initialized&&E$(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(i!==p&&t.emit("realIndexChange"),t.emit("slideChange"))},updateClickedSlide:function(e,t){const r=this,n=r.params;let a=e.closest(`.${n.slideClass}, swiper-slide`);!a&&r.isElement&&t&&t.length>1&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach((e=>{!a&&e.matches&&e.matches(`.${n.slideClass}, swiper-slide`)&&(a=e)}));let o,i=!1;if(a)for(let e=0;e<r.slides.length;e+=1)if(r.slides[e]===a){i=!0,o=e;break}if(!a||!i)return r.clickedSlide=void 0,void(r.clickedIndex=void 0);r.clickedSlide=a,r.virtual&&r.params.virtual.enabled?r.clickedIndex=parseInt(a.getAttribute("data-swiper-slide-index"),10):r.clickedIndex=o,n.slideToClickedSlide&&void 0!==r.clickedIndex&&r.clickedIndex!==r.activeIndex&&r.slideToClickedSlide()}},w$={getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");const{params:t,rtlTranslate:r,translate:n,wrapperEl:a}=this;if(t.virtualTranslate)return r?-n:n;if(t.cssMode)return n;let o=function(e,t){void 0===t&&(t="x");const r=UW();let n,a,o;const i=function(e){const t=UW();let r;return t.getComputedStyle&&(r=t.getComputedStyle(e,null)),!r&&e.currentStyle&&(r=e.currentStyle),r||(r=e.style),r}(e);return r.WebKitCSSMatrix?(a=i.transform||i.webkitTransform,a.split(",").length>6&&(a=a.split(", ").map((e=>e.replace(",","."))).join(", ")),o=new r.WebKitCSSMatrix("none"===a?"":a)):(o=i.MozTransform||i.OTransform||i.MsTransform||i.msTransform||i.transform||i.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=o.toString().split(",")),"x"===t&&(a=r.WebKitCSSMatrix?o.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),"y"===t&&(a=r.WebKitCSSMatrix?o.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5])),a||0}(a,e);return o+=this.cssOverflowAdjustment(),r&&(o=-o),o||0},setTranslate:function(e,t){const r=this,{rtlTranslate:n,params:a,wrapperEl:o,progress:i}=r;let l,s=0,c=0;r.isHorizontal()?s=n?-e:e:c=e,a.roundLengths&&(s=Math.floor(s),c=Math.floor(c)),r.previousTranslate=r.translate,r.translate=r.isHorizontal()?s:c,a.cssMode?o[r.isHorizontal()?"scrollLeft":"scrollTop"]=r.isHorizontal()?-s:-c:a.virtualTranslate||(r.isHorizontal()?s-=r.cssOverflowAdjustment():c-=r.cssOverflowAdjustment(),o.style.transform=`translate3d(${s}px, ${c}px, 0px)`);const u=r.maxTranslate()-r.minTranslate();l=0===u?0:(e-r.minTranslate())/u,l!==i&&r.updateProgress(e),r.emit("setTranslate",r.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,r,n,a){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===r&&(r=!0),void 0===n&&(n=!0);const o=this,{params:i,wrapperEl:l}=o;if(o.animating&&i.preventInteractionOnTransition)return!1;const s=o.minTranslate(),c=o.maxTranslate();let u;if(u=n&&e>s?s:n&&e<c?c:e,o.updateProgress(u),i.cssMode){const e=o.isHorizontal();if(0===t)l[e?"scrollLeft":"scrollTop"]=-u;else{if(!o.support.smoothScroll)return e$({swiper:o,targetPosition:-u,side:e?"left":"top"}),!0;l.scrollTo({[e?"left":"top"]:-u,behavior:"smooth"})}return!0}return 0===t?(o.setTransition(0),o.setTranslate(u),r&&(o.emit("beforeTransitionStart",t,a),o.emit("transitionEnd"))):(o.setTransition(t),o.setTranslate(u),r&&(o.emit("beforeTransitionStart",t,a),o.emit("transitionStart")),o.animating||(o.animating=!0,o.onTranslateToWrapperTransitionEnd||(o.onTranslateToWrapperTransitionEnd=function(e){o&&!o.destroyed&&e.target===this&&(o.wrapperEl.removeEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.onTranslateToWrapperTransitionEnd=null,delete o.onTranslateToWrapperTransitionEnd,o.animating=!1,r&&o.emit("transitionEnd"))}),o.wrapperEl.addEventListener("transitionend",o.onTranslateToWrapperTransitionEnd))),!0}};function x$(e){let{swiper:t,runCallbacks:r,direction:n,step:a}=e;const{activeIndex:o,previousIndex:i}=t;let l=n;if(l||(l=o>i?"next":o<i?"prev":"reset"),t.emit(`transition${a}`),r&&o!==i){if("reset"===l)return void t.emit(`slideResetTransition${a}`);t.emit(`slideChangeTransition${a}`),"next"===l?t.emit(`slideNextTransition${a}`):t.emit(`slidePrevTransition${a}`)}}var _$={slideTo:function(e,t,r,n,a){void 0===e&&(e=0),void 0===r&&(r=!0),"string"==typeof e&&(e=parseInt(e,10));const o=this;let i=e;i<0&&(i=0);const{params:l,snapGrid:s,slidesGrid:c,previousIndex:u,activeIndex:d,rtlTranslate:p,wrapperEl:m,enabled:h}=o;if(!h&&!n&&!a||o.destroyed||o.animating&&l.preventInteractionOnTransition)return!1;void 0===t&&(t=o.params.speed);const f=Math.min(o.params.slidesPerGroupSkip,i);let v=f+Math.floor((i-f)/o.params.slidesPerGroup);v>=s.length&&(v=s.length-1);const b=-s[v];if(l.normalizeSlideIndex)for(let e=0;e<c.length;e+=1){const t=-Math.floor(100*b),r=Math.floor(100*c[e]),n=Math.floor(100*c[e+1]);void 0!==c[e+1]?t>=r&&t<n-(n-r)/2?i=e:t>=r&&t<n&&(i=e+1):t>=r&&(i=e)}if(o.initialized&&i!==d){if(!o.allowSlideNext&&(p?b>o.translate&&b>o.minTranslate():b<o.translate&&b<o.minTranslate()))return!1;if(!o.allowSlidePrev&&b>o.translate&&b>o.maxTranslate()&&(d||0)!==i)return!1}let g;if(i!==(u||0)&&r&&o.emit("beforeSlideChangeStart"),o.updateProgress(b),g=i>d?"next":i<d?"prev":"reset",p&&-b===o.translate||!p&&b===o.translate)return o.updateActiveIndex(i),l.autoHeight&&o.updateAutoHeight(),o.updateSlidesClasses(),"slide"!==l.effect&&o.setTranslate(b),"reset"!==g&&(o.transitionStart(r,g),o.transitionEnd(r,g)),!1;if(l.cssMode){const e=o.isHorizontal(),r=p?b:-b;if(0===t){const t=o.virtual&&o.params.virtual.enabled;t&&(o.wrapperEl.style.scrollSnapType="none",o._immediateVirtual=!0),t&&!o._cssModeVirtualInitialSet&&o.params.initialSlide>0?(o._cssModeVirtualInitialSet=!0,requestAnimationFrame((()=>{m[e?"scrollLeft":"scrollTop"]=r}))):m[e?"scrollLeft":"scrollTop"]=r,t&&requestAnimationFrame((()=>{o.wrapperEl.style.scrollSnapType="",o._immediateVirtual=!1}))}else{if(!o.support.smoothScroll)return e$({swiper:o,targetPosition:r,side:e?"left":"top"}),!0;m.scrollTo({[e?"left":"top"]:r,behavior:"smooth"})}return!0}return o.setTransition(t),o.setTranslate(b),o.updateActiveIndex(i),o.updateSlidesClasses(),o.emit("beforeTransitionStart",t,n),o.transitionStart(r,g),0===t?o.transitionEnd(r,g):o.animating||(o.animating=!0,o.onSlideToWrapperTransitionEnd||(o.onSlideToWrapperTransitionEnd=function(e){o&&!o.destroyed&&e.target===this&&(o.wrapperEl.removeEventListener("transitionend",o.onSlideToWrapperTransitionEnd),o.onSlideToWrapperTransitionEnd=null,delete o.onSlideToWrapperTransitionEnd,o.transitionEnd(r,g))}),o.wrapperEl.addEventListener("transitionend",o.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e,t,r,n){void 0===e&&(e=0),void 0===r&&(r=!0),"string"==typeof e&&(e=parseInt(e,10));const a=this;if(a.destroyed)return;void 0===t&&(t=a.params.speed);const o=a.grid&&a.params.grid&&a.params.grid.rows>1;let i=e;if(a.params.loop)if(a.virtual&&a.params.virtual.enabled)i+=a.virtual.slidesBefore;else{let e;if(o){const t=i*a.params.grid.rows;e=a.slides.filter((e=>1*e.getAttribute("data-swiper-slide-index")===t))[0].column}else e=a.getSlideIndexByData(i);const t=o?Math.ceil(a.slides.length/a.params.grid.rows):a.slides.length,{centeredSlides:r}=a.params;let l=a.params.slidesPerView;"auto"===l?l=a.slidesPerViewDynamic():(l=Math.ceil(parseFloat(a.params.slidesPerView,10)),r&&l%2==0&&(l+=1));let s=t-e<l;if(r&&(s=s||e<Math.ceil(l/2)),n&&r&&"auto"!==a.params.slidesPerView&&!o&&(s=!1),s){const n=r?e<a.activeIndex?"prev":"next":e-a.activeIndex-1<a.params.slidesPerView?"next":"prev";a.loopFix({direction:n,slideTo:!0,activeSlideIndex:"next"===n?e+1:e-t+1,slideRealIndex:"next"===n?a.realIndex:void 0})}if(o){const e=i*a.params.grid.rows;i=a.slides.filter((t=>1*t.getAttribute("data-swiper-slide-index")===e))[0].column}else i=a.getSlideIndexByData(i)}return requestAnimationFrame((()=>{a.slideTo(i,t,r,n)})),a},slideNext:function(e,t,r){void 0===t&&(t=!0);const n=this,{enabled:a,params:o,animating:i}=n;if(!a||n.destroyed)return n;void 0===e&&(e=n.params.speed);let l=o.slidesPerGroup;"auto"===o.slidesPerView&&1===o.slidesPerGroup&&o.slidesPerGroupAuto&&(l=Math.max(n.slidesPerViewDynamic("current",!0),1));const s=n.activeIndex<o.slidesPerGroupSkip?1:l,c=n.virtual&&o.virtual.enabled;if(o.loop){if(i&&!c&&o.loopPreventsSliding)return!1;if(n.loopFix({direction:"next"}),n._clientLeft=n.wrapperEl.clientLeft,n.activeIndex===n.slides.length-1&&o.cssMode)return requestAnimationFrame((()=>{n.slideTo(n.activeIndex+s,e,t,r)})),!0}return o.rewind&&n.isEnd?n.slideTo(0,e,t,r):n.slideTo(n.activeIndex+s,e,t,r)},slidePrev:function(e,t,r){void 0===t&&(t=!0);const n=this,{params:a,snapGrid:o,slidesGrid:i,rtlTranslate:l,enabled:s,animating:c}=n;if(!s||n.destroyed)return n;void 0===e&&(e=n.params.speed);const u=n.virtual&&a.virtual.enabled;if(a.loop){if(c&&!u&&a.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}function d(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const p=d(l?n.translate:-n.translate),m=o.map((e=>d(e)));let h=o[m.indexOf(p)-1];if(void 0===h&&a.cssMode){let e;o.forEach(((t,r)=>{p>=t&&(e=r)})),void 0!==e&&(h=o[e>0?e-1:e])}let f=0;if(void 0!==h&&(f=i.indexOf(h),f<0&&(f=n.activeIndex-1),"auto"===a.slidesPerView&&1===a.slidesPerGroup&&a.slidesPerGroupAuto&&(f=f-n.slidesPerViewDynamic("previous",!0)+1,f=Math.max(f,0))),a.rewind&&n.isBeginning){const a=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(a,e,t,r)}return a.loop&&0===n.activeIndex&&a.cssMode?(requestAnimationFrame((()=>{n.slideTo(f,e,t,r)})),!0):n.slideTo(f,e,t,r)},slideReset:function(e,t,r){void 0===t&&(t=!0);const n=this;if(!n.destroyed)return void 0===e&&(e=n.params.speed),n.slideTo(n.activeIndex,e,t,r)},slideToClosest:function(e,t,r,n){void 0===t&&(t=!0),void 0===n&&(n=.5);const a=this;if(a.destroyed)return;void 0===e&&(e=a.params.speed);let o=a.activeIndex;const i=Math.min(a.params.slidesPerGroupSkip,o),l=i+Math.floor((o-i)/a.params.slidesPerGroup),s=a.rtlTranslate?a.translate:-a.translate;if(s>=a.snapGrid[l]){const e=a.snapGrid[l];s-e>(a.snapGrid[l+1]-e)*n&&(o+=a.params.slidesPerGroup)}else{const e=a.snapGrid[l-1];s-e<=(a.snapGrid[l]-e)*n&&(o-=a.params.slidesPerGroup)}return o=Math.max(o,0),o=Math.min(o,a.slidesGrid.length-1),a.slideTo(o,e,t,r)},slideToClickedSlide:function(){const e=this;if(e.destroyed)return;const{params:t,slidesEl:r}=e,n="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let a,o=e.clickedIndex;const i=e.isElement?"swiper-slide":`.${t.slideClass}`;if(t.loop){if(e.animating)return;a=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?o<e.loopedSlides-n/2||o>e.slides.length-e.loopedSlides+n/2?(e.loopFix(),o=e.getSlideIndex(t$(r,`${i}[data-swiper-slide-index="${a}"]`)[0]),qW((()=>{e.slideTo(o)}))):e.slideTo(o):o>e.slides.length-n?(e.loopFix(),o=e.getSlideIndex(t$(r,`${i}[data-swiper-slide-index="${a}"]`)[0]),qW((()=>{e.slideTo(o)}))):e.slideTo(o)}else e.slideTo(o)}},P$={loopCreate:function(e){const t=this,{params:r,slidesEl:n}=t;if(!r.loop||t.virtual&&t.params.virtual.enabled)return;const a=()=>{t$(n,`.${r.slideClass}, swiper-slide`).forEach(((e,t)=>{e.setAttribute("data-swiper-slide-index",t)}))},o=t.grid&&r.grid&&r.grid.rows>1,i=r.slidesPerGroup*(o?r.grid.rows:1),l=t.slides.length%i!=0,s=o&&t.slides.length%r.grid.rows!=0,c=e=>{for(let n=0;n<e;n+=1){const e=t.isElement?n$("swiper-slide",[r.slideBlankClass]):n$("div",[r.slideClass,r.slideBlankClass]);t.slidesEl.append(e)}};l?(r.loopAddBlankSlides?(c(i-t.slides.length%i),t.recalcSlides(),t.updateSlides()):r$("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)"),a()):s?(r.loopAddBlankSlides?(c(r.grid.rows-t.slides.length%r.grid.rows),t.recalcSlides(),t.updateSlides()):r$("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)"),a()):a(),t.loopFix({slideRealIndex:e,direction:r.centeredSlides?void 0:"next"})},loopFix:function(e){let{slideRealIndex:t,slideTo:r=!0,direction:n,setTranslate:a,activeSlideIndex:o,byController:i,byMousewheel:l}=void 0===e?{}:e;const s=this;if(!s.params.loop)return;s.emit("beforeLoopFix");const{slides:c,allowSlidePrev:u,allowSlideNext:d,slidesEl:p,params:m}=s,{centeredSlides:h}=m;if(s.allowSlidePrev=!0,s.allowSlideNext=!0,s.virtual&&m.virtual.enabled)return r&&(m.centeredSlides||0!==s.snapIndex?m.centeredSlides&&s.snapIndex<m.slidesPerView?s.slideTo(s.virtual.slides.length+s.snapIndex,0,!1,!0):s.snapIndex===s.snapGrid.length-1&&s.slideTo(s.virtual.slidesBefore,0,!1,!0):s.slideTo(s.virtual.slides.length,0,!1,!0)),s.allowSlidePrev=u,s.allowSlideNext=d,void s.emit("loopFix");let f=m.slidesPerView;"auto"===f?f=s.slidesPerViewDynamic():(f=Math.ceil(parseFloat(m.slidesPerView,10)),h&&f%2==0&&(f+=1));const v=m.slidesPerGroupAuto?f:m.slidesPerGroup;let b=v;b%v!=0&&(b+=v-b%v),b+=m.loopAdditionalSlides,s.loopedSlides=b;const g=s.grid&&m.grid&&m.grid.rows>1;c.length<f+b?r$("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):g&&"row"===m.grid.fill&&r$("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const y=[],E=[];let k=s.activeIndex;void 0===o?o=s.getSlideIndex(c.filter((e=>e.classList.contains(m.slideActiveClass)))[0]):k=o;const w="next"===n||!n,x="prev"===n||!n;let _=0,P=0;const C=g?Math.ceil(c.length/m.grid.rows):c.length,A=(g?c[o].column:o)+(h&&void 0===a?-f/2+.5:0);if(A<b){_=Math.max(b-A,v);for(let e=0;e<b-A;e+=1){const t=e-Math.floor(e/C)*C;if(g){const e=C-t-1;for(let t=c.length-1;t>=0;t-=1)c[t].column===e&&y.push(t)}else y.push(C-t-1)}}else if(A+f>C-b){P=Math.max(A-(C-2*b),v);for(let e=0;e<P;e+=1){const t=e-Math.floor(e/C)*C;g?c.forEach(((e,r)=>{e.column===t&&E.push(r)})):E.push(t)}}if(s.__preventObserver__=!0,requestAnimationFrame((()=>{s.__preventObserver__=!1})),x&&y.forEach((e=>{c[e].swiperLoopMoveDOM=!0,p.prepend(c[e]),c[e].swiperLoopMoveDOM=!1})),w&&E.forEach((e=>{c[e].swiperLoopMoveDOM=!0,p.append(c[e]),c[e].swiperLoopMoveDOM=!1})),s.recalcSlides(),"auto"===m.slidesPerView?s.updateSlides():g&&(y.length>0&&x||E.length>0&&w)&&s.slides.forEach(((e,t)=>{s.grid.updateSlide(t,e,s.slides)})),m.watchSlidesProgress&&s.updateSlidesOffset(),r)if(y.length>0&&x){if(void 0===t){const e=s.slidesGrid[k],t=s.slidesGrid[k+_]-e;l?s.setTranslate(s.translate-t):(s.slideTo(k+Math.ceil(_),0,!1,!0),a&&(s.touchEventsData.startTranslate=s.touchEventsData.startTranslate-t,s.touchEventsData.currentTranslate=s.touchEventsData.currentTranslate-t))}else if(a){const e=g?y.length/m.grid.rows:y.length;s.slideTo(s.activeIndex+e,0,!1,!0),s.touchEventsData.currentTranslate=s.translate}}else if(E.length>0&&w)if(void 0===t){const e=s.slidesGrid[k],t=s.slidesGrid[k-P]-e;l?s.setTranslate(s.translate-t):(s.slideTo(k-P,0,!1,!0),a&&(s.touchEventsData.startTranslate=s.touchEventsData.startTranslate-t,s.touchEventsData.currentTranslate=s.touchEventsData.currentTranslate-t))}else{const e=g?E.length/m.grid.rows:E.length;s.slideTo(s.activeIndex-e,0,!1,!0)}if(s.allowSlidePrev=u,s.allowSlideNext=d,s.controller&&s.controller.control&&!i){const e={slideRealIndex:t,direction:n,setTranslate:a,activeSlideIndex:o,byController:!0};Array.isArray(s.controller.control)?s.controller.control.forEach((t=>{!t.destroyed&&t.params.loop&&t.loopFix({...e,slideTo:t.params.slidesPerView===m.slidesPerView&&r})})):s.controller.control instanceof s.constructor&&s.controller.control.params.loop&&s.controller.control.loopFix({...e,slideTo:s.controller.control.params.slidesPerView===m.slidesPerView&&r})}s.emit("loopFix")},loopDestroy:function(){const e=this,{params:t,slidesEl:r}=e;if(!t.loop||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const n=[];e.slides.forEach((e=>{const t=void 0===e.swiperSlideIndex?1*e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex;n[t]=e})),e.slides.forEach((e=>{e.removeAttribute("data-swiper-slide-index")})),n.forEach((e=>{r.append(e)})),e.recalcSlides(),e.slideTo(e.realIndex,0)}};function C$(e,t,r){const n=UW(),{params:a}=e,o=a.edgeSwipeDetection,i=a.edgeSwipeThreshold;return!o||!(r<=i||r>=n.innerWidth-i)||"prevent"===o&&(t.preventDefault(),!0)}function A$(e){const t=this,r=$W();let n=e;n.originalEvent&&(n=n.originalEvent);const a=t.touchEventsData;if("pointerdown"===n.type){if(null!==a.pointerId&&a.pointerId!==n.pointerId)return;a.pointerId=n.pointerId}else"touchstart"===n.type&&1===n.targetTouches.length&&(a.touchId=n.targetTouches[0].identifier);if("touchstart"===n.type)return void C$(t,n,n.targetTouches[0].pageX);const{params:o,touches:i,enabled:l}=t;if(!l)return;if(!o.simulateTouch&&"mouse"===n.pointerType)return;if(t.animating&&o.preventInteractionOnTransition)return;!t.animating&&o.cssMode&&o.loop&&t.loopFix();let s=n.target;if("wrapper"===o.touchEventsTarget&&!t.wrapperEl.contains(s))return;if("which"in n&&3===n.which)return;if("button"in n&&n.button>0)return;if(a.isTouched&&a.isMoved)return;const c=!!o.noSwipingClass&&""!==o.noSwipingClass,u=n.composedPath?n.composedPath():n.path;c&&n.target&&n.target.shadowRoot&&u&&(s=u[0]);const d=o.noSwipingSelector?o.noSwipingSelector:`.${o.noSwipingClass}`,p=!(!n.target||!n.target.shadowRoot);if(o.noSwiping&&(p?function(e,t){return void 0===t&&(t=this),function t(r){if(!r||r===$W()||r===UW())return null;r.assignedSlot&&(r=r.assignedSlot);const n=r.closest(e);return n||r.getRootNode?n||t(r.getRootNode().host):null}(t)}(d,s):s.closest(d)))return void(t.allowClick=!0);if(o.swipeHandler&&!s.closest(o.swipeHandler))return;i.currentX=n.pageX,i.currentY=n.pageY;const m=i.currentX,h=i.currentY;if(!C$(t,n,m))return;Object.assign(a,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),i.startX=m,i.startY=h,a.touchStartTime=KW(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,o.threshold>0&&(a.allowThresholdMove=!1);let f=!0;s.matches(a.focusableElements)&&(f=!1,"SELECT"===s.nodeName&&(a.isTouched=!1)),r.activeElement&&r.activeElement.matches(a.focusableElements)&&r.activeElement!==s&&r.activeElement.blur();const v=f&&t.allowTouchMove&&o.touchStartPreventDefault;!o.touchStartForcePreventDefault&&!v||s.isContentEditable||n.preventDefault(),o.freeMode&&o.freeMode.enabled&&t.freeMode&&t.animating&&!o.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",n)}function S$(e){const t=$W(),r=this,n=r.touchEventsData,{params:a,touches:o,rtlTranslate:i,enabled:l}=r;if(!l)return;if(!a.simulateTouch&&"mouse"===e.pointerType)return;let s,c=e;if(c.originalEvent&&(c=c.originalEvent),"pointermove"===c.type){if(null!==n.touchId)return;if(c.pointerId!==n.pointerId)return}if("touchmove"===c.type){if(s=[...c.changedTouches].filter((e=>e.identifier===n.touchId))[0],!s||s.identifier!==n.touchId)return}else s=c;if(!n.isTouched)return void(n.startMoving&&n.isScrolling&&r.emit("touchMoveOpposite",c));const u=s.pageX,d=s.pageY;if(c.preventedByNestedSwiper)return o.startX=u,void(o.startY=d);if(!r.allowTouchMove)return c.target.matches(n.focusableElements)||(r.allowClick=!1),void(n.isTouched&&(Object.assign(o,{startX:u,startY:d,currentX:u,currentY:d}),n.touchStartTime=KW()));if(a.touchReleaseOnEdges&&!a.loop)if(r.isVertical()){if(d<o.startY&&r.translate<=r.maxTranslate()||d>o.startY&&r.translate>=r.minTranslate())return n.isTouched=!1,void(n.isMoved=!1)}else if(u<o.startX&&r.translate<=r.maxTranslate()||u>o.startX&&r.translate>=r.minTranslate())return;if(t.activeElement&&c.target===t.activeElement&&c.target.matches(n.focusableElements))return n.isMoved=!0,void(r.allowClick=!1);n.allowTouchCallbacks&&r.emit("touchMove",c),o.previousX=o.currentX,o.previousY=o.currentY,o.currentX=u,o.currentY=d;const p=o.currentX-o.startX,m=o.currentY-o.startY;if(r.params.threshold&&Math.sqrt(p**2+m**2)<r.params.threshold)return;if(void 0===n.isScrolling){let e;r.isHorizontal()&&o.currentY===o.startY||r.isVertical()&&o.currentX===o.startX?n.isScrolling=!1:p*p+m*m>=25&&(e=180*Math.atan2(Math.abs(m),Math.abs(p))/Math.PI,n.isScrolling=r.isHorizontal()?e>a.touchAngle:90-e>a.touchAngle)}if(n.isScrolling&&r.emit("touchMoveOpposite",c),void 0===n.startMoving&&(o.currentX===o.startX&&o.currentY===o.startY||(n.startMoving=!0)),n.isScrolling||"touchmove"===c.type&&n.preventTouchMoveFromPointerMove)return void(n.isTouched=!1);if(!n.startMoving)return;r.allowClick=!1,!a.cssMode&&c.cancelable&&c.preventDefault(),a.touchMoveStopPropagation&&!a.nested&&c.stopPropagation();let h=r.isHorizontal()?p:m,f=r.isHorizontal()?o.currentX-o.previousX:o.currentY-o.previousY;a.oneWayMovement&&(h=Math.abs(h)*(i?1:-1),f=Math.abs(f)*(i?1:-1)),o.diff=h,h*=a.touchRatio,i&&(h=-h,f=-f);const v=r.touchesDirection;r.swipeDirection=h>0?"prev":"next",r.touchesDirection=f>0?"prev":"next";const b=r.params.loop&&!a.cssMode,g="next"===r.touchesDirection&&r.allowSlideNext||"prev"===r.touchesDirection&&r.allowSlidePrev;if(!n.isMoved){if(b&&g&&r.loopFix({direction:r.swipeDirection}),n.startTranslate=r.getTranslate(),r.setTransition(0),r.animating){const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});r.wrapperEl.dispatchEvent(e)}n.allowMomentumBounce=!1,!a.grabCursor||!0!==r.allowSlideNext&&!0!==r.allowSlidePrev||r.setGrabCursor(!0),r.emit("sliderFirstMove",c)}if((new Date).getTime(),n.isMoved&&n.allowThresholdMove&&v!==r.touchesDirection&&b&&g&&Math.abs(h)>=1)return Object.assign(o,{startX:u,startY:d,currentX:u,currentY:d,startTranslate:n.currentTranslate}),n.loopSwapReset=!0,void(n.startTranslate=n.currentTranslate);r.emit("sliderMove",c),n.isMoved=!0,n.currentTranslate=h+n.startTranslate;let y=!0,E=a.resistanceRatio;if(a.touchReleaseOnEdges&&(E=0),h>0?(b&&g&&n.allowThresholdMove&&n.currentTranslate>(a.centeredSlides?r.minTranslate()-r.slidesSizesGrid[r.activeIndex+1]:r.minTranslate())&&r.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),n.currentTranslate>r.minTranslate()&&(y=!1,a.resistance&&(n.currentTranslate=r.minTranslate()-1+(-r.minTranslate()+n.startTranslate+h)**E))):h<0&&(b&&g&&n.allowThresholdMove&&n.currentTranslate<(a.centeredSlides?r.maxTranslate()+r.slidesSizesGrid[r.slidesSizesGrid.length-1]:r.maxTranslate())&&r.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:r.slides.length-("auto"===a.slidesPerView?r.slidesPerViewDynamic():Math.ceil(parseFloat(a.slidesPerView,10)))}),n.currentTranslate<r.maxTranslate()&&(y=!1,a.resistance&&(n.currentTranslate=r.maxTranslate()+1-(r.maxTranslate()-n.startTranslate-h)**E))),y&&(c.preventedByNestedSwiper=!0),!r.allowSlideNext&&"next"===r.swipeDirection&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!r.allowSlidePrev&&"prev"===r.swipeDirection&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),r.allowSlidePrev||r.allowSlideNext||(n.currentTranslate=n.startTranslate),a.threshold>0){if(!(Math.abs(h)>a.threshold||n.allowThresholdMove))return void(n.currentTranslate=n.startTranslate);if(!n.allowThresholdMove)return n.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,n.currentTranslate=n.startTranslate,void(o.diff=r.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY)}a.followFinger&&!a.cssMode&&((a.freeMode&&a.freeMode.enabled&&r.freeMode||a.watchSlidesProgress)&&(r.updateActiveIndex(),r.updateSlidesClasses()),a.freeMode&&a.freeMode.enabled&&r.freeMode&&r.freeMode.onTouchMove(),r.updateProgress(n.currentTranslate),r.setTranslate(n.currentTranslate))}function R$(e){const t=this,r=t.touchEventsData;let n,a=e;if(a.originalEvent&&(a=a.originalEvent),"touchend"===a.type||"touchcancel"===a.type){if(n=[...a.changedTouches].filter((e=>e.identifier===r.touchId))[0],!n||n.identifier!==r.touchId)return}else{if(null!==r.touchId)return;if(a.pointerId!==r.pointerId)return;n=a}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(a.type)&&(!["pointercancel","contextmenu"].includes(a.type)||!t.browser.isSafari&&!t.browser.isWebView))return;r.pointerId=null,r.touchId=null;const{params:o,touches:i,rtlTranslate:l,slidesGrid:s,enabled:c}=t;if(!c)return;if(!o.simulateTouch&&"mouse"===a.pointerType)return;if(r.allowTouchCallbacks&&t.emit("touchEnd",a),r.allowTouchCallbacks=!1,!r.isTouched)return r.isMoved&&o.grabCursor&&t.setGrabCursor(!1),r.isMoved=!1,void(r.startMoving=!1);o.grabCursor&&r.isMoved&&r.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const u=KW(),d=u-r.touchStartTime;if(t.allowClick){const e=a.path||a.composedPath&&a.composedPath();t.updateClickedSlide(e&&e[0]||a.target,e),t.emit("tap click",a),d<300&&u-r.lastClickTime<300&&t.emit("doubleTap doubleClick",a)}if(r.lastClickTime=KW(),qW((()=>{t.destroyed||(t.allowClick=!0)})),!r.isTouched||!r.isMoved||!t.swipeDirection||0===i.diff&&!r.loopSwapReset||r.currentTranslate===r.startTranslate&&!r.loopSwapReset)return r.isTouched=!1,r.isMoved=!1,void(r.startMoving=!1);let p;if(r.isTouched=!1,r.isMoved=!1,r.startMoving=!1,p=o.followFinger?l?t.translate:-t.translate:-r.currentTranslate,o.cssMode)return;if(o.freeMode&&o.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:p});const m=p>=-t.maxTranslate()&&!t.params.loop;let h=0,f=t.slidesSizesGrid[0];for(let e=0;e<s.length;e+=e<o.slidesPerGroupSkip?1:o.slidesPerGroup){const t=e<o.slidesPerGroupSkip-1?1:o.slidesPerGroup;void 0!==s[e+t]?(m||p>=s[e]&&p<s[e+t])&&(h=e,f=s[e+t]-s[e]):(m||p>=s[e])&&(h=e,f=s[s.length-1]-s[s.length-2])}let v=null,b=null;o.rewind&&(t.isBeginning?b=o.virtual&&o.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(v=0));const g=(p-s[h])/f,y=h<o.slidesPerGroupSkip-1?1:o.slidesPerGroup;if(d>o.longSwipesMs){if(!o.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(g>=o.longSwipesRatio?t.slideTo(o.rewind&&t.isEnd?v:h+y):t.slideTo(h)),"prev"===t.swipeDirection&&(g>1-o.longSwipesRatio?t.slideTo(h+y):null!==b&&g<0&&Math.abs(g)>o.longSwipesRatio?t.slideTo(b):t.slideTo(h))}else{if(!o.shortSwipes)return void t.slideTo(t.activeIndex);!t.navigation||a.target!==t.navigation.nextEl&&a.target!==t.navigation.prevEl?("next"===t.swipeDirection&&t.slideTo(null!==v?v:h+y),"prev"===t.swipeDirection&&t.slideTo(null!==b?b:h)):a.target===t.navigation.nextEl?t.slideTo(h+y):t.slideTo(h)}}function M$(){const e=this,{params:t,el:r}=e;if(r&&0===r.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:a,snapGrid:o}=e,i=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const l=i&&t.loop;!("auto"===t.slidesPerView||t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||l?e.params.loop&&!i?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout((()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()}),500)),e.allowSlidePrev=a,e.allowSlideNext=n,e.params.watchOverflow&&o!==e.snapGrid&&e.checkOverflow()}function T$(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function I$(){const e=this,{wrapperEl:t,rtlTranslate:r,enabled:n}=e;if(!n)return;let a;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const o=e.maxTranslate()-e.minTranslate();a=0===o?0:(e.translate-e.minTranslate())/o,a!==e.progress&&e.updateProgress(r?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function O$(e){const t=this;g$(t,e.target),t.params.cssMode||"auto"!==t.params.slidesPerView&&!t.params.autoHeight||t.update()}function L$(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const D$=(e,t)=>{const r=$W(),{params:n,el:a,wrapperEl:o,device:i}=e,l=!!n.nested,s="on"===t?"addEventListener":"removeEventListener",c=t;a&&"string"!=typeof a&&(r[s]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:l}),a[s]("touchstart",e.onTouchStart,{passive:!1}),a[s]("pointerdown",e.onTouchStart,{passive:!1}),r[s]("touchmove",e.onTouchMove,{passive:!1,capture:l}),r[s]("pointermove",e.onTouchMove,{passive:!1,capture:l}),r[s]("touchend",e.onTouchEnd,{passive:!0}),r[s]("pointerup",e.onTouchEnd,{passive:!0}),r[s]("pointercancel",e.onTouchEnd,{passive:!0}),r[s]("touchcancel",e.onTouchEnd,{passive:!0}),r[s]("pointerout",e.onTouchEnd,{passive:!0}),r[s]("pointerleave",e.onTouchEnd,{passive:!0}),r[s]("contextmenu",e.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&a[s]("click",e.onClick,!0),n.cssMode&&o[s]("scroll",e.onScroll),n.updateOnWindowResize?e[c](i.ios||i.android?"resize orientationchange observerUpdate":"resize observerUpdate",M$,!0):e[c]("observerUpdate",M$,!0),a[s]("load",e.onLoad,{capture:!0}))},B$=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var z$={setBreakpoint:function(){const e=this,{realIndex:t,initialized:r,params:n,el:a}=e,o=n.breakpoints;if(!o||o&&0===Object.keys(o).length)return;const i=e.getBreakpoint(o,e.params.breakpointsBase,e.el);if(!i||e.currentBreakpoint===i)return;const l=(i in o?o[i]:void 0)||e.originalParams,s=B$(e,n),c=B$(e,l),u=e.params.grabCursor,d=l.grabCursor,p=n.enabled;s&&!c?(a.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),e.emitContainerClasses()):!s&&c&&(a.classList.add(`${n.containerModifierClass}grid`),(l.grid.fill&&"column"===l.grid.fill||!l.grid.fill&&"column"===n.grid.fill)&&a.classList.add(`${n.containerModifierClass}grid-column`),e.emitContainerClasses()),u&&!d?e.unsetGrabCursor():!u&&d&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach((t=>{if(void 0===l[t])return;const r=n[t]&&n[t].enabled,a=l[t]&&l[t].enabled;r&&!a&&e[t].disable(),!r&&a&&e[t].enable()}));const m=l.direction&&l.direction!==n.direction,h=n.loop&&(l.slidesPerView!==n.slidesPerView||m),f=n.loop;m&&r&&e.changeDirection(),QW(e.params,l);const v=e.params.enabled,b=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),p&&!v?e.disable():!p&&v&&e.enable(),e.currentBreakpoint=i,e.emit("_beforeBreakpoint",l),r&&(h?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!f&&b?(e.loopCreate(t),e.updateSlides()):f&&!b&&e.loopDestroy()),e.emit("breakpoint",l)},getBreakpoint:function(e,t,r){if(void 0===t&&(t="window"),!e||"container"===t&&!r)return;let n=!1;const a=UW(),o="window"===t?a.innerHeight:r.clientHeight,i=Object.keys(e).map((e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:o*t,point:e}}return{value:e,point:e}}));i.sort(((e,t)=>parseInt(e.value,10)-parseInt(t.value,10)));for(let e=0;e<i.length;e+=1){const{point:o,value:l}=i[e];"window"===t?a.matchMedia(`(min-width: ${l}px)`).matches&&(n=o):l<=r.clientWidth&&(n=o)}return n||"max"}},N$={addClasses:function(){const e=this,{classNames:t,params:r,rtl:n,el:a,device:o}=e,i=function(e,t){const r=[];return e.forEach((e=>{"object"==typeof e?Object.keys(e).forEach((n=>{e[n]&&r.push(t+n)})):"string"==typeof e&&r.push(t+e)})),r}(["initialized",r.direction,{"free-mode":e.params.freeMode&&r.freeMode.enabled},{autoheight:r.autoHeight},{rtl:n},{grid:r.grid&&r.grid.rows>1},{"grid-column":r.grid&&r.grid.rows>1&&"column"===r.grid.fill},{android:o.android},{ios:o.ios},{"css-mode":r.cssMode},{centered:r.cssMode&&r.centeredSlides},{"watch-progress":r.watchSlidesProgress}],r.containerModifierClass);t.push(...i),a.classList.add(...t),e.emitContainerClasses()},removeClasses:function(){const{el:e,classNames:t}=this;e&&"string"!=typeof e&&(e.classList.remove(...t),this.emitContainerClasses())}},V$={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function F$(e,t){return function(r){void 0===r&&(r={});const n=Object.keys(r)[0],a=r[n];"object"==typeof a&&null!==a?(!0===e[n]&&(e[n]={enabled:!0}),"navigation"===n&&e[n]&&e[n].enabled&&!e[n].prevEl&&!e[n].nextEl&&(e[n].auto=!0),["pagination","scrollbar"].indexOf(n)>=0&&e[n]&&e[n].enabled&&!e[n].el&&(e[n].auto=!0),n in e&&"enabled"in a?("object"!=typeof e[n]||"enabled"in e[n]||(e[n].enabled=!0),e[n]||(e[n]={enabled:!1}),QW(t,r)):QW(t,r)):QW(t,r)}}const H$={eventsEmitter:f$,update:k$,translate:w$,transition:{setTransition:function(e,t){const r=this;r.params.cssMode||(r.wrapperEl.style.transitionDuration=`${e}ms`,r.wrapperEl.style.transitionDelay=0===e?"0ms":""),r.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);const r=this,{params:n}=r;n.cssMode||(n.autoHeight&&r.updateAutoHeight(),x$({swiper:r,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e,t){void 0===e&&(e=!0);const r=this,{params:n}=r;r.animating=!1,n.cssMode||(r.setTransition(0),x$({swiper:r,runCallbacks:e,direction:t,step:"End"}))}},slide:_$,loop:P$,grabCursor:{setGrabCursor:function(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const r="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),r.style.cursor="move",r.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame((()=>{t.__preventObserver__=!1}))},unsetGrabCursor:function(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame((()=>{e.__preventObserver__=!1})))}},events:{attachEvents:function(){const e=this,{params:t}=e;e.onTouchStart=A$.bind(e),e.onTouchMove=S$.bind(e),e.onTouchEnd=R$.bind(e),e.onDocumentTouchStart=L$.bind(e),t.cssMode&&(e.onScroll=I$.bind(e)),e.onClick=T$.bind(e),e.onLoad=O$.bind(e),D$(e,"on")},detachEvents:function(){D$(this,"off")}},breakpoints:z$,checkOverflow:{checkOverflow:function(){const e=this,{isLocked:t,params:r}=e,{slidesOffsetBefore:n}=r;if(n){const t=e.slides.length-1,r=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*n;e.isLocked=e.size>r}else e.isLocked=1===e.snapGrid.length;!0===r.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===r.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:N$},j$={};class W${constructor(){let e,t;for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];1===n.length&&n[0].constructor&&"Object"===Object.prototype.toString.call(n[0]).slice(8,-1)?t=n[0]:[e,t]=n,t||(t={}),t=QW({},t),e&&!t.el&&(t.el=e);const o=$W();if(t.el&&"string"==typeof t.el&&o.querySelectorAll(t.el).length>1){const e=[];return o.querySelectorAll(t.el).forEach((r=>{const n=QW({},t,{el:r});e.push(new W$(n))})),e}const i=this;i.__swiper__=!0,i.support=m$(),i.device=h$({userAgent:t.userAgent}),i.browser=(p$||(p$=function(){const e=UW(),t=h$();let r=!1;function n(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}if(n()){const t=String(e.navigator.userAgent);if(t.includes("Version/")){const[e,n]=t.split("Version/")[1].split(" ")[0].split(".").map((e=>Number(e)));r=e<16||16===e&&n<2}}const a=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),o=n();return{isSafari:r||o,needPerspectiveFix:r,need3dFix:o||a&&t.ios,isWebView:a}}()),p$),i.eventsListeners={},i.eventsAnyListeners=[],i.modules=[...i.__modules__],t.modules&&Array.isArray(t.modules)&&i.modules.push(...t.modules);const l={};i.modules.forEach((e=>{e({params:t,swiper:i,extendParams:F$(t,l),on:i.on.bind(i),once:i.once.bind(i),off:i.off.bind(i),emit:i.emit.bind(i)})}));const s=QW({},V$,l);return i.params=QW({},s,j$,t),i.originalParams=QW({},i.params),i.passedParams=QW({},t),i.params&&i.params.on&&Object.keys(i.params.on).forEach((e=>{i.on(e,i.params.on[e])})),i.params&&i.params.onAny&&i.onAny(i.params.onAny),Object.assign(i,{enabled:i.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===i.params.direction,isVertical:()=>"vertical"===i.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:i.params.allowSlideNext,allowSlidePrev:i.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:i.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:i.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),i.emit("_swiper"),i.params.init&&i.init(),i}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:t,params:r}=this,n=o$(t$(t,`.${r.slideClass}, swiper-slide`)[0]);return o$(e)-n}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter((t=>1*t.getAttribute("data-swiper-slide-index")===e))[0])}recalcSlides(){const{slidesEl:e,params:t}=this;this.slides=t$(e,`.${t.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const r=this;e=Math.min(Math.max(e,0),1);const n=r.minTranslate(),a=(r.maxTranslate()-n)*e+n;r.translateTo(a,void 0===t?0:t),r.updateActiveIndex(),r.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter((t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter((e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass))).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.forEach((r=>{const n=e.getSlideClasses(r);t.push({slideEl:r,classNames:n}),e.emit("_slideClass",r,n)})),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);const{params:r,slides:n,slidesGrid:a,slidesSizesGrid:o,size:i,activeIndex:l}=this;let s=1;if("number"==typeof r.slidesPerView)return r.slidesPerView;if(r.centeredSlides){let e,t=n[l]?Math.ceil(n[l].swiperSlideSize):0;for(let r=l+1;r<n.length;r+=1)n[r]&&!e&&(t+=Math.ceil(n[r].swiperSlideSize),s+=1,t>i&&(e=!0));for(let r=l-1;r>=0;r-=1)n[r]&&!e&&(t+=n[r].swiperSlideSize,s+=1,t>i&&(e=!0))}else if("current"===e)for(let e=l+1;e<n.length;e+=1)(t?a[e]+o[e]-a[l]<i:a[e]-a[l]<i)&&(s+=1);else for(let e=l-1;e>=0;e-=1)a[l]-a[e]<i&&(s+=1);return s}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:r}=e;function n(){const t=e.rtlTranslate?-1*e.translate:e.translate,r=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(r),e.updateActiveIndex(),e.updateSlidesClasses()}let a;if(r.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach((t=>{t.complete&&g$(e,t)})),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),r.freeMode&&r.freeMode.enabled&&!r.cssMode)n(),r.autoHeight&&e.updateAutoHeight();else{if(("auto"===r.slidesPerView||r.slidesPerView>1)&&e.isEnd&&!r.centeredSlides){const t=e.virtual&&r.virtual.enabled?e.virtual.slides:e.slides;a=e.slideTo(t.length-1,0,!1,!0)}else a=e.slideTo(e.activeIndex,0,!1,!0);a||n()}r.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t){void 0===t&&(t=!0);const r=this,n=r.params.direction;return e||(e="horizontal"===n?"vertical":"horizontal"),e===n||"horizontal"!==e&&"vertical"!==e||(r.el.classList.remove(`${r.params.containerModifierClass}${n}`),r.el.classList.add(`${r.params.containerModifierClass}${e}`),r.emitContainerClasses(),r.params.direction=e,r.slides.forEach((t=>{"vertical"===e?t.style.width="":t.style.height=""})),r.emit("changeDirection"),t&&r.update()),r}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.el.classList.add(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.el.classList.remove(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;let r=e||t.params.el;if("string"==typeof r&&(r=document.querySelector(r)),!r)return!1;r.swiper=t,r.parentNode&&r.parentNode.host&&r.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);const n=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let a=r&&r.shadowRoot&&r.shadowRoot.querySelector?r.shadowRoot.querySelector(n()):t$(r,n())[0];return!a&&t.params.createElements&&(a=n$("div",t.params.wrapperClass),r.append(a),t$(r,`.${t.params.slideClass}`).forEach((e=>{a.append(e)}))),Object.assign(t,{el:r,wrapperEl:a,slidesEl:t.isElement&&!r.parentNode.host.slideSlots?r.parentNode.host:a,hostEl:t.isElement?r.parentNode.host:r,mounted:!0,rtl:"rtl"===r.dir.toLowerCase()||"rtl"===a$(r,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===r.dir.toLowerCase()||"rtl"===a$(r,"direction")),wrongRTL:"-webkit-box"===a$(a,"display")}),!0}init(e){const t=this;if(t.initialized)return t;if(!1===t.mount(e))return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(),t.attachEvents();const r=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&r.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),r.forEach((e=>{e.complete?g$(t,e):e.addEventListener("load",(e=>{g$(t,e.target)}))})),E$(t),t.initialized=!0,E$(t),t.emit("init"),t.emit("afterInit"),t}destroy(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);const r=this,{params:n,el:a,wrapperEl:o,slides:i}=r;return void 0===r.params||r.destroyed||(r.emit("beforeDestroy"),r.initialized=!1,r.detachEvents(),n.loop&&r.loopDestroy(),t&&(r.removeClasses(),a&&"string"!=typeof a&&a.removeAttribute("style"),o&&o.removeAttribute("style"),i&&i.length&&i.forEach((e=>{e.classList.remove(n.slideVisibleClass,n.slideFullyVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")}))),r.emit("destroy"),Object.keys(r.eventsListeners).forEach((e=>{r.off(e)})),!1!==e&&(r.el&&"string"!=typeof r.el&&(r.el.swiper=null),function(e){const t=e;Object.keys(t).forEach((e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))}(r)),r.destroyed=!0),null}static extendDefaults(e){QW(j$,e)}static get extendedDefaults(){return j$}static get defaults(){return V$}static installModule(e){W$.prototype.__modules__||(W$.prototype.__modules__=[]);const t=W$.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach((e=>W$.installModule(e))),W$):(W$.installModule(e),W$)}}Object.keys(H$).forEach((e=>{Object.keys(H$[e]).forEach((t=>{W$.prototype[t]=H$[e][t]}))})),W$.use([function(e){let{swiper:t,on:r,emit:n}=e;const a=UW();let o=null,i=null;const l=()=>{t&&!t.destroyed&&t.initialized&&(n("beforeResize"),n("resize"))},s=()=>{t&&!t.destroyed&&t.initialized&&n("orientationchange")};r("init",(()=>{t.params.resizeObserver&&void 0!==a.ResizeObserver?t&&!t.destroyed&&t.initialized&&(o=new ResizeObserver((e=>{i=a.requestAnimationFrame((()=>{const{width:r,height:n}=t;let a=r,o=n;e.forEach((e=>{let{contentBoxSize:r,contentRect:n,target:i}=e;i&&i!==t.el||(a=n?n.width:(r[0]||r).inlineSize,o=n?n.height:(r[0]||r).blockSize)})),a===r&&o===n||l()}))})),o.observe(t.el)):(a.addEventListener("resize",l),a.addEventListener("orientationchange",s))})),r("destroy",(()=>{i&&a.cancelAnimationFrame(i),o&&o.unobserve&&t.el&&(o.unobserve(t.el),o=null),a.removeEventListener("resize",l),a.removeEventListener("orientationchange",s)}))},function(e){let{swiper:t,extendParams:r,on:n,emit:a}=e;const o=[],i=UW(),l=function(e,r){void 0===r&&(r={});const n=new(i.MutationObserver||i.WebkitMutationObserver)((e=>{if(t.__preventObserver__)return;if(1===e.length)return void a("observerUpdate",e[0]);const r=function(){a("observerUpdate",e[0])};i.requestAnimationFrame?i.requestAnimationFrame(r):i.setTimeout(r,0)}));n.observe(e,{attributes:void 0===r.attributes||r.attributes,childList:void 0===r.childList||r.childList,characterData:void 0===r.characterData||r.characterData}),o.push(n)};r({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",(()=>{if(t.params.observer){if(t.params.observeParents){const e=i$(t.hostEl);for(let t=0;t<e.length;t+=1)l(e[t])}l(t.hostEl,{childList:t.params.observeSlideChildren}),l(t.wrapperEl,{attributes:!1})}})),n("destroy",(()=>{o.forEach((e=>{e.disconnect()})),o.splice(0,o.length)}))}]);const $$=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function Z$(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)&&!e.__swiper__}function U$(e,t){const r=["__proto__","constructor","prototype"];Object.keys(t).filter((e=>r.indexOf(e)<0)).forEach((r=>{void 0===e[r]?e[r]=t[r]:Z$(t[r])&&Z$(e[r])&&Object.keys(t[r]).length>0?t[r].__swiper__?e[r]=t[r]:U$(e[r],t[r]):e[r]=t[r]}))}function G$(e){return void 0===e&&(e={}),e.navigation&&void 0===e.navigation.nextEl&&void 0===e.navigation.prevEl}function q$(e){return void 0===e&&(e={}),e.pagination&&void 0===e.pagination.el}function K$(e){return void 0===e&&(e={}),e.scrollbar&&void 0===e.scrollbar.el}function Y$(e){void 0===e&&(e="");const t=e.split(" ").map((e=>e.trim())).filter((e=>!!e)),r=[];return t.forEach((e=>{r.indexOf(e)<0&&r.push(e)})),r.join(" ")}function X$(e){return void 0===e&&(e=""),e?e.includes("swiper-wrapper")?e:`swiper-wrapper ${e}`:"swiper-wrapper"}function Q$(){return Q$=Object.assign?Object.assign.bind():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},Q$.apply(this,arguments)}function J$(e){return e.type&&e.type.displayName&&e.type.displayName.includes("SwiperSlide")}function eZ(e){const t=[];return U.Children.toArray(e).forEach((e=>{J$(e)?t.push(e):e.props&&e.props.children&&eZ(e.props.children).forEach((e=>t.push(e)))})),t}function tZ(e){const t=[],r={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return U.Children.toArray(e).forEach((e=>{if(J$(e))t.push(e);else if(e.props&&e.props.slot&&r[e.props.slot])r[e.props.slot].push(e);else if(e.props&&e.props.children){const n=eZ(e.props.children);n.length>0?n.forEach((e=>t.push(e))):r["container-end"].push(e)}else r["container-end"].push(e)})),{slides:t,slots:r}}function rZ(e,t){return"undefined"==typeof window?(0,U.useEffect)(e,t):(0,U.useLayoutEffect)(e,t)}const nZ=(0,U.createContext)(null),aZ=(0,U.createContext)(null),oZ=(0,U.forwardRef)((function(e,t){let{className:r,tag:n="div",wrapperTag:a="div",children:o,onSwiper:i,...l}=void 0===e?{}:e,s=!1;const[c,u]=(0,U.useState)("swiper"),[d,p]=(0,U.useState)(null),[m,h]=(0,U.useState)(!1),f=(0,U.useRef)(!1),v=(0,U.useRef)(null),b=(0,U.useRef)(null),g=(0,U.useRef)(null),y=(0,U.useRef)(null),E=(0,U.useRef)(null),k=(0,U.useRef)(null),w=(0,U.useRef)(null),x=(0,U.useRef)(null),{params:_,passedParams:P,rest:C,events:A}=function(e,t){void 0===e&&(e={}),void 0===t&&(t=!0);const r={on:{}},n={},a={};U$(r,V$),r._emitClasses=!0,r.init=!1;const o={},i=$$.map((e=>e.replace(/_/,""))),l=Object.assign({},e);return Object.keys(l).forEach((l=>{void 0!==e[l]&&(i.indexOf(l)>=0?Z$(e[l])?(r[l]={},a[l]={},U$(r[l],e[l]),U$(a[l],e[l])):(r[l]=e[l],a[l]=e[l]):0===l.search(/on[A-Z]/)&&"function"==typeof e[l]?t?n[`${l[2].toLowerCase()}${l.substr(3)}`]=e[l]:r.on[`${l[2].toLowerCase()}${l.substr(3)}`]=e[l]:o[l]=e[l])})),["navigation","pagination","scrollbar"].forEach((e=>{!0===r[e]&&(r[e]={}),!1===r[e]&&delete r[e]})),{params:r,passedParams:a,rest:o,events:n}}(l),{slides:S,slots:R}=tZ(o),M=()=>{h(!m)};Object.assign(_.on,{_containerClasses(e,t){u(t)}});const T=()=>{Object.assign(_.on,A),s=!0;const e={..._};if(delete e.wrapperClass,b.current=new W$(e),b.current.virtual&&b.current.params.virtual.enabled){b.current.virtual.slides=S;const e={cache:!1,slides:S,renderExternal:p,renderExternalUpdate:!1};U$(b.current.params.virtual,e),U$(b.current.originalParams.virtual,e)}};return v.current||T(),b.current&&b.current.on("_beforeBreakpoint",M),(0,U.useEffect)((()=>()=>{b.current&&b.current.off("_beforeBreakpoint",M)})),(0,U.useEffect)((()=>{!f.current&&b.current&&(b.current.emitSlidesClasses(),f.current=!0)})),rZ((()=>{if(t&&(t.current=v.current),v.current)return b.current.destroyed&&T(),function(e,t){let{el:r,nextEl:n,prevEl:a,paginationEl:o,scrollbarEl:i,swiper:l}=e;G$(t)&&n&&a&&(l.params.navigation.nextEl=n,l.originalParams.navigation.nextEl=n,l.params.navigation.prevEl=a,l.originalParams.navigation.prevEl=a),q$(t)&&o&&(l.params.pagination.el=o,l.originalParams.pagination.el=o),K$(t)&&i&&(l.params.scrollbar.el=i,l.originalParams.scrollbar.el=i),l.init(r)}({el:v.current,nextEl:E.current,prevEl:k.current,paginationEl:w.current,scrollbarEl:x.current,swiper:b.current},_),i&&!b.current.destroyed&&i(b.current),()=>{b.current&&!b.current.destroyed&&b.current.destroy(!0,!1)}}),[]),rZ((()=>{!s&&A&&b.current&&Object.keys(A).forEach((e=>{b.current.on(e,A[e])}));const e=function(e,t,r,n,a){const o=[];if(!t)return o;const i=e=>{o.indexOf(e)<0&&o.push(e)};if(r&&n){const e=n.map(a),t=r.map(a);e.join("")!==t.join("")&&i("children"),n.length!==r.length&&i("children")}const l=$$.filter((e=>"_"===e[0])).map((e=>e.replace(/_/,"")));return l.forEach((r=>{if(r in e&&r in t)if(Z$(e[r])&&Z$(t[r])){const n=Object.keys(e[r]),a=Object.keys(t[r]);n.length!==a.length?i(r):(n.forEach((n=>{e[r][n]!==t[r][n]&&i(r)})),a.forEach((n=>{e[r][n]!==t[r][n]&&i(r)})))}else e[r]!==t[r]&&i(r)})),o}(P,g.current,S,y.current,(e=>e.key));return g.current=P,y.current=S,e.length&&b.current&&!b.current.destroyed&&function(e){let{swiper:t,slides:r,passedParams:n,changedParams:a,nextEl:o,prevEl:i,scrollbarEl:l,paginationEl:s}=e;const c=a.filter((e=>"children"!==e&&"direction"!==e&&"wrapperClass"!==e)),{params:u,pagination:d,navigation:p,scrollbar:m,virtual:h,thumbs:f}=t;let v,b,g,y,E,k,w,x;a.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&u.thumbs&&!u.thumbs.swiper&&(v=!0),a.includes("controller")&&n.controller&&n.controller.control&&u.controller&&!u.controller.control&&(b=!0),a.includes("pagination")&&n.pagination&&(n.pagination.el||s)&&(u.pagination||!1===u.pagination)&&d&&!d.el&&(g=!0),a.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||l)&&(u.scrollbar||!1===u.scrollbar)&&m&&!m.el&&(y=!0),a.includes("navigation")&&n.navigation&&(n.navigation.prevEl||i)&&(n.navigation.nextEl||o)&&(u.navigation||!1===u.navigation)&&p&&!p.prevEl&&!p.nextEl&&(E=!0);const _=e=>{t[e]&&(t[e].destroy(),"navigation"===e?(t.isElement&&(t[e].prevEl.remove(),t[e].nextEl.remove()),u[e].prevEl=void 0,u[e].nextEl=void 0,t[e].prevEl=void 0,t[e].nextEl=void 0):(t.isElement&&t[e].el.remove(),u[e].el=void 0,t[e].el=void 0))};a.includes("loop")&&t.isElement&&(u.loop&&!n.loop?k=!0:!u.loop&&n.loop?w=!0:x=!0),c.forEach((e=>{if(Z$(u[e])&&Z$(n[e]))Object.assign(u[e],n[e]),"navigation"!==e&&"pagination"!==e&&"scrollbar"!==e||!("enabled"in n[e])||n[e].enabled||_(e);else{const t=n[e];!0!==t&&!1!==t||"navigation"!==e&&"pagination"!==e&&"scrollbar"!==e?u[e]=n[e]:!1===t&&_(e)}})),c.includes("controller")&&!b&&t.controller&&t.controller.control&&u.controller&&u.controller.control&&(t.controller.control=u.controller.control),a.includes("children")&&r&&h&&u.virtual.enabled?(h.slides=r,h.update(!0)):a.includes("virtual")&&h&&u.virtual.enabled&&(r&&(h.slides=r),h.update(!0)),a.includes("children")&&r&&u.loop&&(x=!0),v&&f.init()&&f.update(!0),b&&(t.controller.control=u.controller.control),g&&(!t.isElement||s&&"string"!=typeof s||(s=document.createElement("div"),s.classList.add("swiper-pagination"),s.part.add("pagination"),t.el.appendChild(s)),s&&(u.pagination.el=s),d.init(),d.render(),d.update()),y&&(!t.isElement||l&&"string"!=typeof l||(l=document.createElement("div"),l.classList.add("swiper-scrollbar"),l.part.add("scrollbar"),t.el.appendChild(l)),l&&(u.scrollbar.el=l),m.init(),m.updateSize(),m.setTranslate()),E&&(t.isElement&&(o&&"string"!=typeof o||(o=document.createElement("div"),o.classList.add("swiper-button-next"),o.innerHTML=t.hostEl.constructor.nextButtonSvg,o.part.add("button-next"),t.el.appendChild(o)),i&&"string"!=typeof i||(i=document.createElement("div"),i.classList.add("swiper-button-prev"),i.innerHTML=t.hostEl.constructor.prevButtonSvg,i.part.add("button-prev"),t.el.appendChild(i))),o&&(u.navigation.nextEl=o),i&&(u.navigation.prevEl=i),p.init(),p.update()),a.includes("allowSlideNext")&&(t.allowSlideNext=n.allowSlideNext),a.includes("allowSlidePrev")&&(t.allowSlidePrev=n.allowSlidePrev),a.includes("direction")&&t.changeDirection(n.direction,!1),(k||x)&&t.loopDestroy(),(w||x)&&t.loopCreate(),t.update()}({swiper:b.current,slides:S,passedParams:P,changedParams:e,nextEl:E.current,prevEl:k.current,scrollbarEl:x.current,paginationEl:w.current}),()=>{A&&b.current&&Object.keys(A).forEach((e=>{b.current.off(e,A[e])}))}})),rZ((()=>{var e;!(e=b.current)||e.destroyed||!e.params.virtual||e.params.virtual&&!e.params.virtual.enabled||(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())}),[d]),U.createElement(n,Q$({ref:v,className:Y$(`${c}${r?` ${r}`:""}`)},C),U.createElement(aZ.Provider,{value:b.current},R["container-start"],U.createElement(a,{className:X$(_.wrapperClass)},R["wrapper-start"],_.virtual?function(e,t,r){if(!r)return null;const n=e=>{let r=e;return e<0?r=t.length+e:r>=t.length&&(r-=t.length),r},a=e.isHorizontal()?{[e.rtlTranslate?"right":"left"]:`${r.offset}px`}:{top:`${r.offset}px`},{from:o,to:i}=r,l=e.params.loop?-t.length:0,s=e.params.loop?2*t.length:t.length,c=[];for(let e=l;e<s;e+=1)e>=o&&e<=i&&c.push(t[n(e)]);return c.map(((t,r)=>U.cloneElement(t,{swiper:e,style:a,key:t.props.virtualIndex||t.key||`slide-${r}`})))}(b.current,S,d):S.map(((e,t)=>U.cloneElement(e,{swiper:b.current,swiperSlideIndex:t}))),R["wrapper-end"]),G$(_)&&U.createElement(U.Fragment,null,U.createElement("div",{ref:k,className:"swiper-button-prev"}),U.createElement("div",{ref:E,className:"swiper-button-next"})),K$(_)&&U.createElement("div",{ref:x,className:"swiper-scrollbar"}),q$(_)&&U.createElement("div",{ref:w,className:"swiper-pagination"}),R["container-end"]))}));oZ.displayName="Swiper";const iZ=(0,U.forwardRef)((function(e,t){let{tag:r="div",children:n,className:a="",swiper:o,zoom:i,lazy:l,virtualIndex:s,swiperSlideIndex:c,...u}=void 0===e?{}:e;const d=(0,U.useRef)(null),[p,m]=(0,U.useState)("swiper-slide"),[h,f]=(0,U.useState)(!1);function v(e,t,r){t===d.current&&m(r)}rZ((()=>{if(void 0!==c&&(d.current.swiperSlideIndex=c),t&&(t.current=d.current),d.current&&o){if(!o.destroyed)return o.on("_slideClass",v),()=>{o&&o.off("_slideClass",v)};"swiper-slide"!==p&&m("swiper-slide")}})),rZ((()=>{o&&d.current&&!o.destroyed&&m(o.getSlideClasses(d.current))}),[o]);const b={isActive:p.indexOf("swiper-slide-active")>=0,isVisible:p.indexOf("swiper-slide-visible")>=0,isPrev:p.indexOf("swiper-slide-prev")>=0,isNext:p.indexOf("swiper-slide-next")>=0},g=()=>"function"==typeof n?n(b):n;return U.createElement(r,Q$({ref:d,className:Y$(`${p}${a?` ${a}`:""}`),"data-swiper-slide-index":s,onLoad:()=>{f(!0)}},u),i&&U.createElement(nZ.Provider,{value:b},U.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":"number"==typeof i?i:void 0},g(),l&&!h&&U.createElement("div",{className:"swiper-lazy-preloader"}))),!i&&U.createElement(nZ.Provider,{value:b},g(),l&&!h&&U.createElement("div",{className:"swiper-lazy-preloader"})))}));function lZ(e,t,r,n){return e.params.createElements&&Object.keys(n).forEach((a=>{if(!r[a]&&!0===r.auto){let o=t$(e.el,`.${n[a]}`)[0];o||(o=n$("div",n[a]),o.className=n[a],e.el.append(o)),r[a]=o,t[a]=o}})),r}function sZ(e){let{swiper:t,extendParams:r,on:n,emit:a}=e;function o(e){let r;return e&&"string"==typeof e&&t.isElement&&(r=t.el.querySelector(e),r)?r:(e&&("string"==typeof e&&(r=[...document.querySelectorAll(e)]),t.params.uniqueNavElements&&"string"==typeof e&&r&&r.length>1&&1===t.el.querySelectorAll(e).length?r=t.el.querySelector(e):r&&1===r.length&&(r=r[0])),e&&!r?e:r)}function i(e,r){const n=t.params.navigation;(e=c$(e)).forEach((e=>{e&&(e.classList[r?"add":"remove"](...n.disabledClass.split(" ")),"BUTTON"===e.tagName&&(e.disabled=r),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](n.lockClass))}))}function l(){const{nextEl:e,prevEl:r}=t.navigation;if(t.params.loop)return i(r,!1),void i(e,!1);i(r,t.isBeginning&&!t.params.rewind),i(e,t.isEnd&&!t.params.rewind)}function s(e){e.preventDefault(),(!t.isBeginning||t.params.loop||t.params.rewind)&&(t.slidePrev(),a("navigationPrev"))}function c(e){e.preventDefault(),(!t.isEnd||t.params.loop||t.params.rewind)&&(t.slideNext(),a("navigationNext"))}function u(){const e=t.params.navigation;if(t.params.navigation=lZ(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!e.nextEl&&!e.prevEl)return;let r=o(e.nextEl),n=o(e.prevEl);Object.assign(t.navigation,{nextEl:r,prevEl:n}),r=c$(r),n=c$(n);const a=(r,n)=>{r&&r.addEventListener("click","next"===n?c:s),!t.enabled&&r&&r.classList.add(...e.lockClass.split(" "))};r.forEach((e=>a(e,"next"))),n.forEach((e=>a(e,"prev")))}function d(){let{nextEl:e,prevEl:r}=t.navigation;e=c$(e),r=c$(r);const n=(e,r)=>{e.removeEventListener("click","next"===r?c:s),e.classList.remove(...t.params.navigation.disabledClass.split(" "))};e.forEach((e=>n(e,"next"))),r.forEach((e=>n(e,"prev")))}r({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),t.navigation={nextEl:null,prevEl:null},n("init",(()=>{!1===t.params.navigation.enabled?p():(u(),l())})),n("toEdge fromEdge lock unlock",(()=>{l()})),n("destroy",(()=>{d()})),n("enable disable",(()=>{let{nextEl:e,prevEl:r}=t.navigation;e=c$(e),r=c$(r),t.enabled?l():[...e,...r].filter((e=>!!e)).forEach((e=>e.classList.add(t.params.navigation.lockClass)))})),n("click",((e,r)=>{let{nextEl:n,prevEl:o}=t.navigation;n=c$(n),o=c$(o);const i=r.target;let l=o.includes(i)||n.includes(i);if(t.isElement&&!l){const e=r.path||r.composedPath&&r.composedPath();e&&(l=e.find((e=>n.includes(e)||o.includes(e))))}if(t.params.navigation.hideOnClick&&!l){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===i||t.pagination.el.contains(i)))return;let e;n.length?e=n[0].classList.contains(t.params.navigation.hiddenClass):o.length&&(e=o[0].classList.contains(t.params.navigation.hiddenClass)),a(!0===e?"navigationShow":"navigationHide"),[...n,...o].filter((e=>!!e)).forEach((e=>e.classList.toggle(t.params.navigation.hiddenClass)))}}));const p=()=>{t.el.classList.add(...t.params.navigation.navigationDisabledClass.split(" ")),d()};Object.assign(t.navigation,{enable:()=>{t.el.classList.remove(...t.params.navigation.navigationDisabledClass.split(" ")),u(),l()},disable:p,update:l,init:u,destroy:d})}function cZ(e){return void 0===e&&(e=""),`.${e.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function uZ(e){let{swiper:t,extendParams:r,on:n,emit:a}=e;const o="swiper-pagination";let i;r({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${o}-bullet`,bulletActiveClass:`${o}-bullet-active`,modifierClass:`${o}-`,currentClass:`${o}-current`,totalClass:`${o}-total`,hiddenClass:`${o}-hidden`,progressbarFillClass:`${o}-progressbar-fill`,progressbarOppositeClass:`${o}-progressbar-opposite`,clickableClass:`${o}-clickable`,lockClass:`${o}-lock`,horizontalClass:`${o}-horizontal`,verticalClass:`${o}-vertical`,paginationDisabledClass:`${o}-disabled`}}),t.pagination={el:null,bullets:[]};let l=0;function s(){return!t.params.pagination.el||!t.pagination.el||Array.isArray(t.pagination.el)&&0===t.pagination.el.length}function c(e,r){const{bulletActiveClass:n}=t.params.pagination;e&&(e=e[("prev"===r?"previous":"next")+"ElementSibling"])&&(e.classList.add(`${n}-${r}`),(e=e[("prev"===r?"previous":"next")+"ElementSibling"])&&e.classList.add(`${n}-${r}-${r}`))}function u(e){const r=e.target.closest(cZ(t.params.pagination.bulletClass));if(!r)return;e.preventDefault();const n=o$(r)*t.params.slidesPerGroup;if(t.params.loop){if(t.realIndex===n)return;t.slideToLoop(n)}else t.slideTo(n)}function d(){const e=t.rtl,r=t.params.pagination;if(s())return;let n,o,u=t.pagination.el;u=c$(u);const d=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,p=t.params.loop?Math.ceil(d/t.params.slidesPerGroup):t.snapGrid.length;if(t.params.loop?(o=t.previousRealIndex||0,n=t.params.slidesPerGroup>1?Math.floor(t.realIndex/t.params.slidesPerGroup):t.realIndex):void 0!==t.snapIndex?(n=t.snapIndex,o=t.previousSnapIndex):(o=t.previousIndex||0,n=t.activeIndex||0),"bullets"===r.type&&t.pagination.bullets&&t.pagination.bullets.length>0){const a=t.pagination.bullets;let s,d,p;if(r.dynamicBullets&&(i=s$(a[0],t.isHorizontal()?"width":"height",!0),u.forEach((e=>{e.style[t.isHorizontal()?"width":"height"]=i*(r.dynamicMainBullets+4)+"px"})),r.dynamicMainBullets>1&&void 0!==o&&(l+=n-(o||0),l>r.dynamicMainBullets-1?l=r.dynamicMainBullets-1:l<0&&(l=0)),s=Math.max(n-l,0),d=s+(Math.min(a.length,r.dynamicMainBullets)-1),p=(d+s)/2),a.forEach((e=>{const t=[...["","-next","-next-next","-prev","-prev-prev","-main"].map((e=>`${r.bulletActiveClass}${e}`))].map((e=>"string"==typeof e&&e.includes(" ")?e.split(" "):e)).flat();e.classList.remove(...t)})),u.length>1)a.forEach((e=>{const a=o$(e);a===n?e.classList.add(...r.bulletActiveClass.split(" ")):t.isElement&&e.setAttribute("part","bullet"),r.dynamicBullets&&(a>=s&&a<=d&&e.classList.add(...`${r.bulletActiveClass}-main`.split(" ")),a===s&&c(e,"prev"),a===d&&c(e,"next"))}));else{const e=a[n];if(e&&e.classList.add(...r.bulletActiveClass.split(" ")),t.isElement&&a.forEach(((e,t)=>{e.setAttribute("part",t===n?"bullet-active":"bullet")})),r.dynamicBullets){const e=a[s],t=a[d];for(let e=s;e<=d;e+=1)a[e]&&a[e].classList.add(...`${r.bulletActiveClass}-main`.split(" "));c(e,"prev"),c(t,"next")}}if(r.dynamicBullets){const n=Math.min(a.length,r.dynamicMainBullets+4),o=(i*n-i)/2-p*i,l=e?"right":"left";a.forEach((e=>{e.style[t.isHorizontal()?l:"top"]=`${o}px`}))}}u.forEach(((e,o)=>{if("fraction"===r.type&&(e.querySelectorAll(cZ(r.currentClass)).forEach((e=>{e.textContent=r.formatFractionCurrent(n+1)})),e.querySelectorAll(cZ(r.totalClass)).forEach((e=>{e.textContent=r.formatFractionTotal(p)}))),"progressbar"===r.type){let a;a=r.progressbarOpposite?t.isHorizontal()?"vertical":"horizontal":t.isHorizontal()?"horizontal":"vertical";const o=(n+1)/p;let i=1,l=1;"horizontal"===a?i=o:l=o,e.querySelectorAll(cZ(r.progressbarFillClass)).forEach((e=>{e.style.transform=`translate3d(0,0,0) scaleX(${i}) scaleY(${l})`,e.style.transitionDuration=`${t.params.speed}ms`}))}"custom"===r.type&&r.renderCustom?(e.innerHTML=r.renderCustom(t,n+1,p),0===o&&a("paginationRender",e)):(0===o&&a("paginationRender",e),a("paginationUpdate",e)),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](r.lockClass)}))}function p(){const e=t.params.pagination;if(s())return;const r=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.grid&&t.params.grid.rows>1?t.slides.length/Math.ceil(t.params.grid.rows):t.slides.length;let n=t.pagination.el;n=c$(n);let o="";if("bullets"===e.type){let n=t.params.loop?Math.ceil(r/t.params.slidesPerGroup):t.snapGrid.length;t.params.freeMode&&t.params.freeMode.enabled&&n>r&&(n=r);for(let r=0;r<n;r+=1)e.renderBullet?o+=e.renderBullet.call(t,r,e.bulletClass):o+=`<${e.bulletElement} ${t.isElement?'part="bullet"':""} class="${e.bulletClass}"></${e.bulletElement}>`}"fraction"===e.type&&(o=e.renderFraction?e.renderFraction.call(t,e.currentClass,e.totalClass):`<span class="${e.currentClass}"></span> / <span class="${e.totalClass}"></span>`),"progressbar"===e.type&&(o=e.renderProgressbar?e.renderProgressbar.call(t,e.progressbarFillClass):`<span class="${e.progressbarFillClass}"></span>`),t.pagination.bullets=[],n.forEach((r=>{"custom"!==e.type&&(r.innerHTML=o||""),"bullets"===e.type&&t.pagination.bullets.push(...r.querySelectorAll(cZ(e.bulletClass)))})),"custom"!==e.type&&a("paginationRender",n[0])}function m(){t.params.pagination=lZ(t,t.originalParams.pagination,t.params.pagination,{el:"swiper-pagination"});const e=t.params.pagination;if(!e.el)return;let r;"string"==typeof e.el&&t.isElement&&(r=t.el.querySelector(e.el)),r||"string"!=typeof e.el||(r=[...document.querySelectorAll(e.el)]),r||(r=e.el),r&&0!==r.length&&(t.params.uniqueNavElements&&"string"==typeof e.el&&Array.isArray(r)&&r.length>1&&(r=[...t.el.querySelectorAll(e.el)],r.length>1&&(r=r.filter((e=>i$(e,".swiper")[0]===t.el))[0])),Array.isArray(r)&&1===r.length&&(r=r[0]),Object.assign(t.pagination,{el:r}),r=c$(r),r.forEach((r=>{"bullets"===e.type&&e.clickable&&r.classList.add(...(e.clickableClass||"").split(" ")),r.classList.add(e.modifierClass+e.type),r.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass),"bullets"===e.type&&e.dynamicBullets&&(r.classList.add(`${e.modifierClass}${e.type}-dynamic`),l=0,e.dynamicMainBullets<1&&(e.dynamicMainBullets=1)),"progressbar"===e.type&&e.progressbarOpposite&&r.classList.add(e.progressbarOppositeClass),e.clickable&&r.addEventListener("click",u),t.enabled||r.classList.add(e.lockClass)})))}function h(){const e=t.params.pagination;if(s())return;let r=t.pagination.el;r&&(r=c$(r),r.forEach((r=>{r.classList.remove(e.hiddenClass),r.classList.remove(e.modifierClass+e.type),r.classList.remove(t.isHorizontal()?e.horizontalClass:e.verticalClass),e.clickable&&(r.classList.remove(...(e.clickableClass||"").split(" ")),r.removeEventListener("click",u))}))),t.pagination.bullets&&t.pagination.bullets.forEach((t=>t.classList.remove(...e.bulletActiveClass.split(" "))))}n("changeDirection",(()=>{if(!t.pagination||!t.pagination.el)return;const e=t.params.pagination;let{el:r}=t.pagination;r=c$(r),r.forEach((r=>{r.classList.remove(e.horizontalClass,e.verticalClass),r.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass)}))})),n("init",(()=>{!1===t.params.pagination.enabled?f():(m(),p(),d())})),n("activeIndexChange",(()=>{void 0===t.snapIndex&&d()})),n("snapIndexChange",(()=>{d()})),n("snapGridLengthChange",(()=>{p(),d()})),n("destroy",(()=>{h()})),n("enable disable",(()=>{let{el:e}=t.pagination;e&&(e=c$(e),e.forEach((e=>e.classList[t.enabled?"remove":"add"](t.params.pagination.lockClass))))})),n("lock unlock",(()=>{d()})),n("click",((e,r)=>{const n=r.target,o=c$(t.pagination.el);if(t.params.pagination.el&&t.params.pagination.hideOnClick&&o&&o.length>0&&!n.classList.contains(t.params.pagination.bulletClass)){if(t.navigation&&(t.navigation.nextEl&&n===t.navigation.nextEl||t.navigation.prevEl&&n===t.navigation.prevEl))return;const e=o[0].classList.contains(t.params.pagination.hiddenClass);a(!0===e?"paginationShow":"paginationHide"),o.forEach((e=>e.classList.toggle(t.params.pagination.hiddenClass)))}}));const f=()=>{t.el.classList.add(t.params.pagination.paginationDisabledClass);let{el:e}=t.pagination;e&&(e=c$(e),e.forEach((e=>e.classList.add(t.params.pagination.paginationDisabledClass)))),h()};Object.assign(t.pagination,{enable:()=>{t.el.classList.remove(t.params.pagination.paginationDisabledClass);let{el:e}=t.pagination;e&&(e=c$(e),e.forEach((e=>e.classList.remove(t.params.pagination.paginationDisabledClass)))),m(),p(),d()},disable:f,render:p,update:d,init:m,destroy:h})}function dZ(e){let{swiper:t,extendParams:r,on:n,emit:a}=e;const o=$W();let i,l,s,c,u=!1,d=null,p=null;function m(){if(!t.params.scrollbar.el||!t.scrollbar.el)return;const{scrollbar:e,rtlTranslate:r}=t,{dragEl:n,el:a}=e,o=t.params.scrollbar,i=t.params.loop?t.progressLoop:t.progress;let c=l,u=(s-l)*i;r?(u=-u,u>0?(c=l-u,u=0):-u+l>s&&(c=s+u)):u<0?(c=l+u,u=0):u+l>s&&(c=s-u),t.isHorizontal()?(n.style.transform=`translate3d(${u}px, 0, 0)`,n.style.width=`${c}px`):(n.style.transform=`translate3d(0px, ${u}px, 0)`,n.style.height=`${c}px`),o.hide&&(clearTimeout(d),a.style.opacity=1,d=setTimeout((()=>{a.style.opacity=0,a.style.transitionDuration="400ms"}),1e3))}function h(){if(!t.params.scrollbar.el||!t.scrollbar.el)return;const{scrollbar:e}=t,{dragEl:r,el:n}=e;r.style.width="",r.style.height="",s=t.isHorizontal()?n.offsetWidth:n.offsetHeight,c=t.size/(t.virtualSize+t.params.slidesOffsetBefore-(t.params.centeredSlides?t.snapGrid[0]:0)),l="auto"===t.params.scrollbar.dragSize?s*c:parseInt(t.params.scrollbar.dragSize,10),t.isHorizontal()?r.style.width=`${l}px`:r.style.height=`${l}px`,n.style.display=c>=1?"none":"",t.params.scrollbar.hide&&(n.style.opacity=0),t.params.watchOverflow&&t.enabled&&e.el.classList[t.isLocked?"add":"remove"](t.params.scrollbar.lockClass)}function f(e){return t.isHorizontal()?e.clientX:e.clientY}function v(e){const{scrollbar:r,rtlTranslate:n}=t,{el:a}=r;let o;o=(f(e)-function(e){const t=UW(),r=$W(),n=e.getBoundingClientRect(),a=r.body,o=e.clientTop||a.clientTop||0,i=e.clientLeft||a.clientLeft||0,l=e===t?t.scrollY:e.scrollTop,s=e===t?t.scrollX:e.scrollLeft;return{top:n.top+l-o,left:n.left+s-i}}(a)[t.isHorizontal()?"left":"top"]-(null!==i?i:l/2))/(s-l),o=Math.max(Math.min(o,1),0),n&&(o=1-o);const c=t.minTranslate()+(t.maxTranslate()-t.minTranslate())*o;t.updateProgress(c),t.setTranslate(c),t.updateActiveIndex(),t.updateSlidesClasses()}function b(e){const r=t.params.scrollbar,{scrollbar:n,wrapperEl:o}=t,{el:l,dragEl:s}=n;u=!0,i=e.target===s?f(e)-e.target.getBoundingClientRect()[t.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),o.style.transitionDuration="100ms",s.style.transitionDuration="100ms",v(e),clearTimeout(p),l.style.transitionDuration="0ms",r.hide&&(l.style.opacity=1),t.params.cssMode&&(t.wrapperEl.style["scroll-snap-type"]="none"),a("scrollbarDragStart",e)}function g(e){const{scrollbar:r,wrapperEl:n}=t,{el:o,dragEl:i}=r;u&&(e.preventDefault&&e.cancelable?e.preventDefault():e.returnValue=!1,v(e),n.style.transitionDuration="0ms",o.style.transitionDuration="0ms",i.style.transitionDuration="0ms",a("scrollbarDragMove",e))}function y(e){const r=t.params.scrollbar,{scrollbar:n,wrapperEl:o}=t,{el:i}=n;u&&(u=!1,t.params.cssMode&&(t.wrapperEl.style["scroll-snap-type"]="",o.style.transitionDuration=""),r.hide&&(clearTimeout(p),p=qW((()=>{i.style.opacity=0,i.style.transitionDuration="400ms"}),1e3)),a("scrollbarDragEnd",e),r.snapOnRelease&&t.slideToClosest())}function E(e){const{scrollbar:r,params:n}=t,a=r.el;if(!a)return;const i=a,l=!!n.passiveListeners&&{passive:!1,capture:!1},s=!!n.passiveListeners&&{passive:!0,capture:!1};if(!i)return;const c="on"===e?"addEventListener":"removeEventListener";i[c]("pointerdown",b,l),o[c]("pointermove",g,l),o[c]("pointerup",y,s)}function k(){const{scrollbar:e,el:r}=t;t.params.scrollbar=lZ(t,t.originalParams.scrollbar,t.params.scrollbar,{el:"swiper-scrollbar"});const n=t.params.scrollbar;if(!n.el)return;let a,i;if("string"==typeof n.el&&t.isElement&&(a=t.el.querySelector(n.el)),a||"string"!=typeof n.el)a||(a=n.el);else if(a=o.querySelectorAll(n.el),!a.length)return;t.params.uniqueNavElements&&"string"==typeof n.el&&a.length>1&&1===r.querySelectorAll(n.el).length&&(a=r.querySelector(n.el)),a.length>0&&(a=a[0]),a.classList.add(t.isHorizontal()?n.horizontalClass:n.verticalClass),a&&(i=a.querySelector(cZ(t.params.scrollbar.dragClass)),i||(i=n$("div",t.params.scrollbar.dragClass),a.append(i))),Object.assign(e,{el:a,dragEl:i}),n.draggable&&t.params.scrollbar.el&&t.scrollbar.el&&E("on"),a&&a.classList[t.enabled?"remove":"add"](...GW(t.params.scrollbar.lockClass))}function w(){const e=t.params.scrollbar,r=t.scrollbar.el;r&&r.classList.remove(...GW(t.isHorizontal()?e.horizontalClass:e.verticalClass)),t.params.scrollbar.el&&t.scrollbar.el&&E("off")}r({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),t.scrollbar={el:null,dragEl:null},n("changeDirection",(()=>{if(!t.scrollbar||!t.scrollbar.el)return;const e=t.params.scrollbar;let{el:r}=t.scrollbar;r=c$(r),r.forEach((r=>{r.classList.remove(e.horizontalClass,e.verticalClass),r.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass)}))})),n("init",(()=>{!1===t.params.scrollbar.enabled?x():(k(),h(),m())})),n("update resize observerUpdate lock unlock changeDirection",(()=>{h()})),n("setTranslate",(()=>{m()})),n("setTransition",((e,r)=>{!function(e){t.params.scrollbar.el&&t.scrollbar.el&&(t.scrollbar.dragEl.style.transitionDuration=`${e}ms`)}(r)})),n("enable disable",(()=>{const{el:e}=t.scrollbar;e&&e.classList[t.enabled?"remove":"add"](...GW(t.params.scrollbar.lockClass))})),n("destroy",(()=>{w()}));const x=()=>{t.el.classList.add(...GW(t.params.scrollbar.scrollbarDisabledClass)),t.scrollbar.el&&t.scrollbar.el.classList.add(...GW(t.params.scrollbar.scrollbarDisabledClass)),w()};Object.assign(t.scrollbar,{enable:()=>{t.el.classList.remove(...GW(t.params.scrollbar.scrollbarDisabledClass)),t.scrollbar.el&&t.scrollbar.el.classList.remove(...GW(t.params.scrollbar.scrollbarDisabledClass)),k(),h(),m()},disable:x,updateSize:h,setTranslate:m,init:k,destroy:w})}function pZ(e){let{swiper:t,extendParams:r,on:n}=e;r({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null}}),t.a11y={clicked:!1};let a,o,i=null,l=(new Date).getTime();function s(e){const t=i;0!==t.length&&(t.innerHTML="",t.innerHTML=e)}function c(e){(e=c$(e)).forEach((e=>{e.setAttribute("tabIndex","0")}))}function u(e){(e=c$(e)).forEach((e=>{e.setAttribute("tabIndex","-1")}))}function d(e,t){(e=c$(e)).forEach((e=>{e.setAttribute("role",t)}))}function p(e,t){(e=c$(e)).forEach((e=>{e.setAttribute("aria-roledescription",t)}))}function m(e,t){(e=c$(e)).forEach((e=>{e.setAttribute("aria-label",t)}))}function h(e){(e=c$(e)).forEach((e=>{e.setAttribute("aria-disabled",!0)}))}function f(e){(e=c$(e)).forEach((e=>{e.setAttribute("aria-disabled",!1)}))}function v(e){if(13!==e.keyCode&&32!==e.keyCode)return;const r=t.params.a11y,n=e.target;if(!t.pagination||!t.pagination.el||n!==t.pagination.el&&!t.pagination.el.contains(e.target)||e.target.matches(cZ(t.params.pagination.bulletClass))){if(t.navigation&&t.navigation.prevEl&&t.navigation.nextEl){const e=c$(t.navigation.prevEl);c$(t.navigation.nextEl).includes(n)&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?s(r.lastSlideMessage):s(r.nextSlideMessage)),e.includes(n)&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?s(r.firstSlideMessage):s(r.prevSlideMessage))}t.pagination&&n.matches(cZ(t.params.pagination.bulletClass))&&n.click()}}function b(){return t.pagination&&t.pagination.bullets&&t.pagination.bullets.length}function g(){return b()&&t.params.pagination.clickable}const y=(e,t,r)=>{c(e),"BUTTON"!==e.tagName&&(d(e,"button"),e.addEventListener("keydown",v)),m(e,r),function(e,t){(e=c$(e)).forEach((e=>{e.setAttribute("aria-controls",t)}))}(e,t)},E=e=>{o&&o!==e.target&&!o.contains(e.target)&&(a=!0),t.a11y.clicked=!0},k=()=>{a=!1,requestAnimationFrame((()=>{requestAnimationFrame((()=>{t.destroyed||(t.a11y.clicked=!1)}))}))},w=e=>{l=(new Date).getTime()},x=e=>{if(t.a11y.clicked)return;if((new Date).getTime()-l<100)return;const r=e.target.closest(`.${t.params.slideClass}, swiper-slide`);if(!r||!t.slides.includes(r))return;o=r;const n=t.slides.indexOf(r)===t.activeIndex,i=t.params.watchSlidesProgress&&t.visibleSlides&&t.visibleSlides.includes(r);n||i||e.sourceCapabilities&&e.sourceCapabilities.firesTouchEvents||(t.isHorizontal()?t.el.scrollLeft=0:t.el.scrollTop=0,requestAnimationFrame((()=>{a||(t.params.loop?t.slideToLoop(parseInt(r.getAttribute("data-swiper-slide-index")),0):t.slideTo(t.slides.indexOf(r),0),a=!1)})))},_=()=>{const e=t.params.a11y;e.itemRoleDescriptionMessage&&p(t.slides,e.itemRoleDescriptionMessage),e.slideRole&&d(t.slides,e.slideRole);const r=t.slides.length;e.slideLabelMessage&&t.slides.forEach(((n,a)=>{const o=t.params.loop?parseInt(n.getAttribute("data-swiper-slide-index"),10):a;m(n,e.slideLabelMessage.replace(/\{\{index\}\}/,o+1).replace(/\{\{slidesLength\}\}/,r))}))};n("beforeInit",(()=>{i=n$("span",t.params.a11y.notificationClass),i.setAttribute("aria-live","assertive"),i.setAttribute("aria-atomic","true")})),n("afterInit",(()=>{t.params.a11y.enabled&&(()=>{const e=t.params.a11y;t.el.append(i);const r=t.el;e.containerRoleDescriptionMessage&&p(r,e.containerRoleDescriptionMessage),e.containerMessage&&m(r,e.containerMessage);const n=t.wrapperEl,a=e.id||n.getAttribute("id")||`swiper-wrapper-${function(e){return void 0===e&&(e=16),"x".repeat(e).replace(/x/g,(()=>Math.round(16*Math.random()).toString(16)))}(16)}`,o=t.params.autoplay&&t.params.autoplay.enabled?"off":"polite";!function(e,t){(e=c$(e)).forEach((e=>{e.setAttribute("id",t)}))}(n,a),function(e,t){(e=c$(e)).forEach((e=>{e.setAttribute("aria-live",t)}))}(n,o),_();let{nextEl:l,prevEl:s}=t.navigation?t.navigation:{};l=c$(l),s=c$(s),l&&l.forEach((t=>y(t,a,e.nextSlideMessage))),s&&s.forEach((t=>y(t,a,e.prevSlideMessage))),g()&&c$(t.pagination.el).forEach((e=>{e.addEventListener("keydown",v)})),$W().addEventListener("visibilitychange",w),t.el.addEventListener("focus",x,!0),t.el.addEventListener("focus",x,!0),t.el.addEventListener("pointerdown",E,!0),t.el.addEventListener("pointerup",k,!0)})()})),n("slidesLengthChange snapGridLengthChange slidesGridLengthChange",(()=>{t.params.a11y.enabled&&_()})),n("fromEdge toEdge afterInit lock unlock",(()=>{t.params.a11y.enabled&&function(){if(t.params.loop||t.params.rewind||!t.navigation)return;const{nextEl:e,prevEl:r}=t.navigation;r&&(t.isBeginning?(h(r),u(r)):(f(r),c(r))),e&&(t.isEnd?(h(e),u(e)):(f(e),c(e)))}()})),n("paginationUpdate",(()=>{t.params.a11y.enabled&&function(){const e=t.params.a11y;b()&&t.pagination.bullets.forEach((r=>{t.params.pagination.clickable&&(c(r),t.params.pagination.renderBullet||(d(r,"button"),m(r,e.paginationBulletMessage.replace(/\{\{index\}\}/,o$(r)+1)))),r.matches(cZ(t.params.pagination.bulletActiveClass))?r.setAttribute("aria-current","true"):r.removeAttribute("aria-current")}))}()})),n("destroy",(()=>{t.params.a11y.enabled&&function(){i&&i.remove();let{nextEl:e,prevEl:r}=t.navigation?t.navigation:{};e=c$(e),r=c$(r),e&&e.forEach((e=>e.removeEventListener("keydown",v))),r&&r.forEach((e=>e.removeEventListener("keydown",v))),g()&&c$(t.pagination.el).forEach((e=>{e.removeEventListener("keydown",v)})),$W().removeEventListener("visibilitychange",w),t.el&&"string"!=typeof t.el&&(t.el.removeEventListener("focus",x,!0),t.el.removeEventListener("pointerdown",E,!0),t.el.removeEventListener("pointerup",k,!0))}()}))}function mZ(e){let t,r,{swiper:n,extendParams:a,on:o,emit:i,params:l}=e;n.autoplay={running:!1,paused:!1,timeLeft:0},a({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let s,c,u,d,p,m,h,f,v=l&&l.autoplay?l.autoplay.delay:3e3,b=l&&l.autoplay?l.autoplay.delay:3e3,g=(new Date).getTime();function y(e){n&&!n.destroyed&&n.wrapperEl&&e.target===n.wrapperEl&&(n.wrapperEl.removeEventListener("transitionend",y),f||e.detail&&e.detail.bySwiperTouchMove||P())}const E=()=>{if(n.destroyed||!n.autoplay.running)return;n.autoplay.paused?c=!0:c&&(b=s,c=!1);const e=n.autoplay.paused?s:g+b-(new Date).getTime();n.autoplay.timeLeft=e,i("autoplayTimeLeft",e,e/v),r=requestAnimationFrame((()=>{E()}))},k=e=>{if(n.destroyed||!n.autoplay.running)return;cancelAnimationFrame(r),E();let a=void 0===e?n.params.autoplay.delay:e;v=n.params.autoplay.delay,b=n.params.autoplay.delay;const o=(()=>{let e;if(e=n.virtual&&n.params.virtual.enabled?n.slides.filter((e=>e.classList.contains("swiper-slide-active")))[0]:n.slides[n.activeIndex],e)return parseInt(e.getAttribute("data-swiper-autoplay"),10)})();!Number.isNaN(o)&&o>0&&void 0===e&&(a=o,v=o,b=o),s=a;const l=n.params.speed,c=()=>{n&&!n.destroyed&&(n.params.autoplay.reverseDirection?!n.isBeginning||n.params.loop||n.params.rewind?(n.slidePrev(l,!0,!0),i("autoplay")):n.params.autoplay.stopOnLastSlide||(n.slideTo(n.slides.length-1,l,!0,!0),i("autoplay")):!n.isEnd||n.params.loop||n.params.rewind?(n.slideNext(l,!0,!0),i("autoplay")):n.params.autoplay.stopOnLastSlide||(n.slideTo(0,l,!0,!0),i("autoplay")),n.params.cssMode&&(g=(new Date).getTime(),requestAnimationFrame((()=>{k()}))))};return a>0?(clearTimeout(t),t=setTimeout((()=>{c()}),a)):requestAnimationFrame((()=>{c()})),a},w=()=>{g=(new Date).getTime(),n.autoplay.running=!0,k(),i("autoplayStart")},x=()=>{n.autoplay.running=!1,clearTimeout(t),cancelAnimationFrame(r),i("autoplayStop")},_=(e,r)=>{if(n.destroyed||!n.autoplay.running)return;clearTimeout(t),e||(h=!0);const a=()=>{i("autoplayPause"),n.params.autoplay.waitForTransition?n.wrapperEl.addEventListener("transitionend",y):P()};if(n.autoplay.paused=!0,r)return m&&(s=n.params.autoplay.delay),m=!1,void a();const o=s||n.params.autoplay.delay;s=o-((new Date).getTime()-g),n.isEnd&&s<0&&!n.params.loop||(s<0&&(s=0),a())},P=()=>{n.isEnd&&s<0&&!n.params.loop||n.destroyed||!n.autoplay.running||(g=(new Date).getTime(),h?(h=!1,k(s)):k(),n.autoplay.paused=!1,i("autoplayResume"))},C=()=>{if(n.destroyed||!n.autoplay.running)return;const e=$W();"hidden"===e.visibilityState&&(h=!0,_(!0)),"visible"===e.visibilityState&&P()},A=e=>{"mouse"===e.pointerType&&(h=!0,f=!0,n.animating||n.autoplay.paused||_(!0))},S=e=>{"mouse"===e.pointerType&&(f=!1,n.autoplay.paused&&P())};o("init",(()=>{n.params.autoplay.enabled&&(n.params.autoplay.pauseOnMouseEnter&&(n.el.addEventListener("pointerenter",A),n.el.addEventListener("pointerleave",S)),$W().addEventListener("visibilitychange",C),w())})),o("destroy",(()=>{n.el&&"string"!=typeof n.el&&(n.el.removeEventListener("pointerenter",A),n.el.removeEventListener("pointerleave",S)),$W().removeEventListener("visibilitychange",C),n.autoplay.running&&x()})),o("_freeModeStaticRelease",(()=>{(d||h)&&P()})),o("_freeModeNoMomentumRelease",(()=>{n.params.autoplay.disableOnInteraction?x():_(!0,!0)})),o("beforeTransitionStart",((e,t,r)=>{!n.destroyed&&n.autoplay.running&&(r||!n.params.autoplay.disableOnInteraction?_(!0,!0):x())})),o("sliderFirstMove",(()=>{!n.destroyed&&n.autoplay.running&&(n.params.autoplay.disableOnInteraction?x():(u=!0,d=!1,h=!1,p=setTimeout((()=>{h=!0,d=!0,_(!0)}),200)))})),o("touchEnd",(()=>{if(!n.destroyed&&n.autoplay.running&&u){if(clearTimeout(p),clearTimeout(t),n.params.autoplay.disableOnInteraction)return d=!1,void(u=!1);d&&n.params.cssMode&&P(),d=!1,u=!1}})),o("slideChange",(()=>{!n.destroyed&&n.autoplay.running&&(m=!0)})),Object.assign(n.autoplay,{start:w,stop:x,pause:_,resume:P})}function hZ(e){let{swiper:t,extendParams:r,on:n}=e;r({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let a=!1,o=!1;function i(){const e=t.thumbs.swiper;if(!e||e.destroyed)return;const r=e.clickedIndex,n=e.clickedSlide;if(n&&n.classList.contains(t.params.thumbs.slideThumbActiveClass))return;if(null==r)return;let a;a=e.params.loop?parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10):r,t.params.loop?t.slideToLoop(a):t.slideTo(a)}function l(){const{thumbs:e}=t.params;if(a)return!1;a=!0;const r=t.constructor;if(e.swiper instanceof r)t.thumbs.swiper=e.swiper,Object.assign(t.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(t.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}),t.thumbs.swiper.update();else if(YW(e.swiper)){const n=Object.assign({},e.swiper);Object.assign(n,{watchSlidesProgress:!0,slideToClickedSlide:!1}),t.thumbs.swiper=new r(n),o=!0}return t.thumbs.swiper.el.classList.add(t.params.thumbs.thumbsContainerClass),t.thumbs.swiper.on("tap",i),!0}function s(e){const r=t.thumbs.swiper;if(!r||r.destroyed)return;const n="auto"===r.params.slidesPerView?r.slidesPerViewDynamic():r.params.slidesPerView;let a=1;const o=t.params.thumbs.slideThumbActiveClass;if(t.params.slidesPerView>1&&!t.params.centeredSlides&&(a=t.params.slidesPerView),t.params.thumbs.multipleActiveThumbs||(a=1),a=Math.floor(a),r.slides.forEach((e=>e.classList.remove(o))),r.params.loop||r.params.virtual&&r.params.virtual.enabled)for(let e=0;e<a;e+=1)t$(r.slidesEl,`[data-swiper-slide-index="${t.realIndex+e}"]`).forEach((e=>{e.classList.add(o)}));else for(let e=0;e<a;e+=1)r.slides[t.realIndex+e]&&r.slides[t.realIndex+e].classList.add(o);const i=t.params.thumbs.autoScrollOffset,l=i&&!r.params.loop;if(t.realIndex!==r.realIndex||l){const a=r.activeIndex;let o,s;if(r.params.loop){const e=r.slides.filter((e=>e.getAttribute("data-swiper-slide-index")===`${t.realIndex}`))[0];o=r.slides.indexOf(e),s=t.activeIndex>t.previousIndex?"next":"prev"}else o=t.realIndex,s=o>t.previousIndex?"next":"prev";l&&(o+="next"===s?i:-1*i),r.visibleSlidesIndexes&&r.visibleSlidesIndexes.indexOf(o)<0&&(r.params.centeredSlides?o=o>a?o-Math.floor(n/2)+1:o+Math.floor(n/2)-1:o>a&&r.params.slidesPerGroup,r.slideTo(o,e?0:void 0))}}t.thumbs={swiper:null},n("beforeInit",(()=>{const{thumbs:e}=t.params;if(e&&e.swiper)if("string"==typeof e.swiper||e.swiper instanceof HTMLElement){const r=$W(),n=()=>{const n="string"==typeof e.swiper?r.querySelector(e.swiper):e.swiper;if(n&&n.swiper)e.swiper=n.swiper,l(),s(!0);else if(n){const r=a=>{e.swiper=a.detail[0],n.removeEventListener("init",r),l(),s(!0),e.swiper.update(),t.update()};n.addEventListener("init",r)}return n},a=()=>{t.destroyed||n()||requestAnimationFrame(a)};requestAnimationFrame(a)}else l(),s(!0)})),n("slideChange update resize observerUpdate",(()=>{s()})),n("setTransition",((e,r)=>{const n=t.thumbs.swiper;n&&!n.destroyed&&n.setTransition(r)})),n("beforeDestroy",(()=>{const e=t.thumbs.swiper;e&&!e.destroyed&&o&&e.destroy()})),Object.assign(t.thumbs,{init:l,update:s})}function fZ(e){let{swiper:t,extendParams:r,emit:n,once:a}=e;r({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}}),Object.assign(t,{freeMode:{onTouchStart:function(){if(t.params.cssMode)return;const e=t.getTranslate();t.setTranslate(e),t.setTransition(0),t.touchEventsData.velocities.length=0,t.freeMode.onTouchEnd({currentPos:t.rtl?t.translate:-t.translate})},onTouchMove:function(){if(t.params.cssMode)return;const{touchEventsData:e,touches:r}=t;0===e.velocities.length&&e.velocities.push({position:r[t.isHorizontal()?"startX":"startY"],time:e.touchStartTime}),e.velocities.push({position:r[t.isHorizontal()?"currentX":"currentY"],time:KW()})},onTouchEnd:function(e){let{currentPos:r}=e;if(t.params.cssMode)return;const{params:o,wrapperEl:i,rtlTranslate:l,snapGrid:s,touchEventsData:c}=t,u=KW()-c.touchStartTime;if(r<-t.minTranslate())t.slideTo(t.activeIndex);else if(r>-t.maxTranslate())t.slides.length<s.length?t.slideTo(s.length-1):t.slideTo(t.slides.length-1);else{if(o.freeMode.momentum){if(c.velocities.length>1){const e=c.velocities.pop(),r=c.velocities.pop(),n=e.position-r.position,a=e.time-r.time;t.velocity=n/a,t.velocity/=2,Math.abs(t.velocity)<o.freeMode.minimumVelocity&&(t.velocity=0),(a>150||KW()-e.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=o.freeMode.momentumVelocityRatio,c.velocities.length=0;let e=1e3*o.freeMode.momentumRatio;const r=t.velocity*e;let u=t.translate+r;l&&(u=-u);let d,p=!1;const m=20*Math.abs(t.velocity)*o.freeMode.momentumBounceRatio;let h;if(u<t.maxTranslate())o.freeMode.momentumBounce?(u+t.maxTranslate()<-m&&(u=t.maxTranslate()-m),d=t.maxTranslate(),p=!0,c.allowMomentumBounce=!0):u=t.maxTranslate(),o.loop&&o.centeredSlides&&(h=!0);else if(u>t.minTranslate())o.freeMode.momentumBounce?(u-t.minTranslate()>m&&(u=t.minTranslate()+m),d=t.minTranslate(),p=!0,c.allowMomentumBounce=!0):u=t.minTranslate(),o.loop&&o.centeredSlides&&(h=!0);else if(o.freeMode.sticky){let e;for(let t=0;t<s.length;t+=1)if(s[t]>-u){e=t;break}u=Math.abs(s[e]-u)<Math.abs(s[e-1]-u)||"next"===t.swipeDirection?s[e]:s[e-1],u=-u}if(h&&a("transitionEnd",(()=>{t.loopFix()})),0!==t.velocity){if(e=l?Math.abs((-u-t.translate)/t.velocity):Math.abs((u-t.translate)/t.velocity),o.freeMode.sticky){const r=Math.abs((l?-u:u)-t.translate),n=t.slidesSizesGrid[t.activeIndex];e=r<n?o.speed:r<2*n?1.5*o.speed:2.5*o.speed}}else if(o.freeMode.sticky)return void t.slideToClosest();o.freeMode.momentumBounce&&p?(t.updateProgress(d),t.setTransition(e),t.setTranslate(u),t.transitionStart(!0,t.swipeDirection),t.animating=!0,l$(i,(()=>{t&&!t.destroyed&&c.allowMomentumBounce&&(n("momentumBounce"),t.setTransition(o.speed),setTimeout((()=>{t.setTranslate(d),l$(i,(()=>{t&&!t.destroyed&&t.transitionEnd()}))}),0))}))):t.velocity?(n("_freeModeNoMomentumRelease"),t.updateProgress(u),t.setTransition(e),t.setTranslate(u),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,l$(i,(()=>{t&&!t.destroyed&&t.transitionEnd()})))):t.updateProgress(u),t.updateActiveIndex(),t.updateSlidesClasses()}else{if(o.freeMode.sticky)return void t.slideToClosest();o.freeMode&&n("_freeModeNoMomentumRelease")}(!o.freeMode.momentum||u>=o.longSwipesMs)&&(n("_freeModeStaticRelease"),t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}}}})}iZ.displayName="SwiperSlide";const vZ=e=>{const{pagination:t,perPage:r,pauseOnHover:n,arrows:a,speed:o,interval:i,autoplay:l,loop:s,perMove:c,renderImage:u}=e;return G().createElement(oZ,{slidesPerView:r||3,spaceBetween:10,navigation:a||!0,pagination:t||{clickable:!0},autoplay:l||!0,speed:o||800,loop:s,interval:i,arrows:a||!0,modules:[fZ,sZ,uZ,dZ,pZ,mZ],className:"carousel-swiper"},G().createElement(G().Fragment,null,u()))},bZ=e=>{var t;const{image:r,enableCaption:n,captionLayout:a,captionVisibility:o,captionPosition:i,captionText:l,setCaptionText:s,layoutType:c}=e;return G().createElement("div",{className:"blockart-image-wrapper"},G().createElement("figure",{className:"blockart-image"},G().createElement("img",{className:Cv({}),src:r?.url,alt:null!==(t=r?.alt)&&void 0!==t?t:""}),n&&G().createElement("div",{className:Cv({"blockart-caption-wrapper":!0,[a&&`blockart-${a}`]:!!a,[o&&`blockart-${o}`]:!!o,[i&&`blockart-${i}`]:!!i})},G().createElement(q.RichText,{tagName:"figcaption",placeholder:"Add Caption",value:l,onChange:e=>{s&&s(e)}}))))},gZ=e=>{const{onChange:t,value:r=[],label:n}=e,a=r.length>0,o=a?(0,K.__)("Edit Gallery","blockart"):(0,K.__)("Add Gallery","blockart");return G().createElement(Ba,{mx:"-15px"},G().createElement(Ba,{mx:"15px"},G().createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24px",height:"24px"},G().createElement("path",{fillRule:"evenodd",d:"M6 4a2 2 0 0 0-2 2v7.586l3.293-3.293.014-.014c.614-.59 1.37-.949 2.193-.949s1.58.358 2.193.95l.014.013L14 12.586l.293-.293.014-.014c.614-.59 1.37-.949 2.193-.949s1.58.358 2.193.95l.014.013L20 13.586V6a2 2 0 0 0-2-2H6Zm16 11.999V6a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v12a4 4 0 0 0 4 4h12a4 4 0 0 0 4-4v-2.001Zm-2 .415-2.7-2.7c-.311-.297-.588-.384-.8-.384-.212 0-.489.087-.8.385l-.286.285 1.293 1.293a1 1 0 0 1-1.414 1.414L10.3 11.715c-.311-.298-.588-.385-.8-.385-.212 0-.489.087-.8.385l-4.7 4.7V18a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-1.586ZM14 8a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H15a1 1 0 0 1-1-1Z",clipRule:"evenodd"}))),G().createElement(Ba,null,G().createElement(q.MediaUploadCheck,null,G().createElement(q.MediaUpload,{onSelect:e=>{if(!e)return;const r=Array.isArray(e)?e:[e];t?.(a?r:{images:r})},allowedTypes:["onGallerySelect"],multiple:!0,gallery:!0,value:a?r.map((e=>e.id)):[],render:({open:e})=>G().createElement(G().Fragment,null,G().createElement(Ba,{onClick:e,onKeyDown:t=>"Enter"===t.key&&e(),role:"button",tabIndex:0,title:o,display:"flex",justifyContent:"center"},G().createElement(KB,{src:BF,alt:(0,K.__)("blockart preview image","blockart")})),G().createElement(Ua,{display:"flex",justifyContent:"space-between",p:"10px 16px"},G().createElement(cf,{onClick:e},G().createElement("span",null,o)),r&&G().createElement(Ba,{onClick:()=>t?.("")},G().createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",height:20,fill:"#1a202c"},G().createElement("path",{d:"M5 20c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V8h2V6h-4V4c0-1.1-.9-2-2-2H9c-1.2 0-2 .9-2 2v2H3v2h2v12zM9 4h6v2H9V4zM7.9 8h9v12H7V8h.9z"}),G().createElement("path",{d:"M9.4 10.7h1.7v7H9.4v-7zm3.4 0h1.7v7h-1.7v-7z"})))))}))))},yZ=[{label:(0,K.__)("Grid","blockart"),value:"grid"},{label:(0,K.__)("Masonry","blockart"),value:"masonry"},{label:(0,K.__)("Carousel","blockart"),value:"carousel"},{label:(0,K.__)("Thumbnail Carousel","blockart"),value:"thumbnail-carousel"},{label:(0,K.__)("Tiled","blockart"),value:"tiled"}],EZ=[{label:(0,K.__)("Top Left","blockart"),value:"top-left"},{label:(0,K.__)("Top Center","blockart"),value:"top-center"},{label:(0,K.__)("Top Right","blockart"),value:"top-right"},{label:(0,K.__)("Center Left","blockart"),value:"center-left"},{label:(0,K.__)("Center Center","blockart"),value:"center-center"},{label:(0,K.__)("Center Right","blockart"),value:"center-right"},{label:(0,K.__)("Bottom Left","blockart"),value:"bottom-left"},{label:(0,K.__)("Bottom Center","blockart"),value:"bottom-center"},{label:(0,K.__)("Bottom Right","blockart"),value:"bottom-right"}],kZ=e=>{const{attributes:{images:t=[],layoutType:r,columns:n,enableCaption:a,captionLayout:o,captionVisibility:i,captionPosition:l,captionText:s,perPage:c,perMove:u,speed:d,interval:p,loop:m,autoplay:h,pagination:f,pauseOnHover:v,arrows:b,imgHeight:g,imgWidth:y,imageGap:E,thumbnailSliderGap:k,mainSliderBorder:w,thumbnailSliderBorder:x,overlayColor:_,thumbnailOverlayColor:P,blockMargin:C,blockPadding:A,blockZIndex:S,cssID:R,hideOnDesktop:M,hideOnTablet:T,hideOnMobile:I,className:O,background:L},setAttributes:D}=e;return G().createElement(G().Fragment,null,G().createElement(bH,null),G().createElement(mH,null,G().createElement(gH,{title:(0,K.__)("General","blockart"),initialOpen:!0},G().createElement(BV,{label:(0,K.__)("Add Image","blockart"),popoverDivProps:{sx:{".components-popover__content":{p:4,width:"280px"}}}},G().createElement(gZ,{onChange:e=>D({images:e}),label:(0,K.__)("Edit Gallery","blockart"),type:"image",value:t})),G().createElement(VV,{value:r,onChange:e=>D({layoutType:e}),label:(0,K.__)("Layout Type","blockart"),options:yZ}),"carousel"!==r&&"thumbnail-carousel"!==r&&G().createElement(MD,{onChange:e=>D({columns:e}),label:(0,K.__)("Columns","blockart"),min:1,max:5,step:1,value:n,resetAttributeKey:"columns"})),G().createElement(gH,{title:(0,K.__)("Captions","blockart")},G().createElement(jF,{checked:a,onChange:()=>D({enableCaption:!a}),label:(0,K.__)("Enable Captions","blockart")}),a&&G().createElement(G().Fragment,null,G().createElement(VV,{label:(0,K.__)("Caption Layout","blockart"),value:o,onChange:e=>D({captionLayout:e}),options:[{label:(0,K.__)("Overlay","blockart"),value:"overlay"},{label:(0,K.__)("Bar Over Image","blockart"),value:"bar-over-image"}]}),G().createElement(VV,{label:(0,K.__)("Caption Visibility","blockart"),value:i,onChange:e=>D({captionVisibility:e}),options:[{label:(0,K.__)("Show On Hover","blockart"),value:"show-on-hover"},{label:(0,K.__)("Hide On Hover","blockart"),value:"hide-on-hover"},{label:(0,K.__)("Show Always","blockart"),value:"show-always"}]}),G().createElement(VV,{label:(0,K.__)("Caption Position","blockart"),value:l,onChange:e=>D({captionPosition:e}),options:EZ}))),"carousel"===r&&G().createElement(gH,{title:(0,K.__)("Carousel","blockart")},G().createElement(MD,{label:(0,K.__)("Per Page","blockart"),value:c,onChange:e=>D({perPage:e,perMove:e}),min:1,max:20,step:1,resetAttributeKey:"perPage"}),G().createElement(DF,{label:(0,K.__)("Speed","blockart"),value:d,onChange:e=>D({speed:e})}),G().createElement(DF,{label:(0,K.__)("Interval","blockart"),value:p,onChange:e=>D({interval:e})}),G().createElement(jF,{checked:m,label:(0,K.__)("Loop","blockart"),onChange:e=>D({loop:e})}),G().createElement(jF,{checked:null!=h&&h,label:(0,K.__)("Auto Play","blockart"),onChange:e=>D({autoplay:e})}),G().createElement(jF,{checked:null!=b&&b,label:(0,K.__)("Arrows","blockart"),onChange:e=>D({arrows:e})})),"thumbnail-carousel"===r&&G().createElement(gH,{title:(0,K.__)("Carousel","blockart")},G().createElement(MD,{label:(0,K.__)("Slides Per View","blockart"),value:c,onChange:e=>D({perPage:e,perMove:e}),min:1,max:20,step:1,resetAttributeKey:"perPage"}),G().createElement(MD,{label:(0,K.__)("Image Height","blockart"),value:g,onChange:e=>D({imgHeight:e}),min:1,max:1e3,step:1,resetAttributeKey:"imgHeight"}),G().createElement(MD,{label:(0,K.__)("Image Width","blockart"),value:y,onChange:e=>D({imgWidth:e}),min:1,max:1e3,step:1,resetAttributeKey:"imgWidth"}),G().createElement(MD,{value:E,label:(0,K.__)("Image Gap","blockart"),min:0,max:100,defaultUnit:"px",units:["px","rem","em","%"],onChange:e=>D({imageGap:e}),resetAttributeKey:"imageGap"}),G().createElement(MD,{value:k,label:(0,K.__)("Thumbnail Slider Gap","blockart"),min:0,max:100,defaultUnit:"px",units:["px","rem","em","%"],onChange:e=>D({thumbnailSliderGap:e}),resetAttributeKey:"thumbnailSliderGap"}),G().createElement(MD,{value:w,label:(0,K.__)("Main Slider Border Radius","blockart"),min:0,max:100,defaultUnit:"px",units:["px","rem","em","%"],onChange:e=>D({mainSliderBorder:e}),resetAttributeKey:"mainSliderBorder"}),G().createElement(MD,{value:x,label:(0,K.__)("Thumbnail Slider Border Radius","blockart"),min:0,max:100,defaultUnit:"px",units:["px","rem","em","%"],onChange:e=>D({thumbnailSliderBorder:e}),resetAttributeKey:"thumbnailSliderBorder"}),G().createElement(DF,{label:(0,K.__)("Speed","blockart"),value:d,onChange:e=>D({speed:e})}),G().createElement(DF,{label:(0,K.__)("Interval","blockart"),value:p,onChange:e=>D({interval:e})}),G().createElement(jF,{checked:m,label:(0,K.__)("Loop","blockart"),onChange:e=>D({loop:e})}),G().createElement(jF,{checked:null!=h&&h,label:(0,K.__)("Auto Play","blockart"),onChange:e=>D({autoplay:e})}),G().createElement(jF,{checked:null!=f&&f,label:(0,K.__)("Pagination","blockart"),onChange:e=>D({pagination:e})}),G().createElement(jF,{checked:null!=b&&b,label:(0,K.__)("Arrows","blockart"),onChange:e=>D({arrows:e})}))),G().createElement(hH,null,G().createElement(gH,{title:(0,K.__)("Background","blockart")},G().createElement(BV,{label:(0,K.__)("Type","blockart")},G().createElement(Oa,{position:"relative",size:"sm"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:L,resetKey:"background",onReset:e=>{D({background:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(RV,{value:L,onChange:e=>D({background:e})}))))))),G().createElement(fH,null,G().createElement(yH,{blockMargin:C,setAttributes:D,blockPadding:A}),G().createElement(EH,{hideOnDesktop:M,hideOnTablet:T,hideOnMobile:I,setAttributes:D})))},wZ=e=>{const{type:t,rewind:r,pagination:n,arrows:a,renderImage:o,perPage:i,autoplay:l,loop:s}=e,[c,u]=(0,U.useState)(null);return G().createElement(G().Fragment,null,G().createElement(oZ,{spaceBetween:10,thumbs:{swiper:c},modules:[fZ,hZ,uZ,dZ,pZ],className:"main-swiper"},G().createElement(G().Fragment,null,o())),G().createElement(oZ,{onSwiper:e=>{u(e)},spaceBetween:10,slidesPerView:i||4,freeMode:!0,watchSlidesProgress:!1,modules:[fZ,sZ,uZ,hZ,mZ],navigation:a||!1,pagination:n||!1,scrollbar:{draggable:!0},autoplay:l||!0,loop:s||!1,className:"thumbnail-swiper"},G().createElement(G().Fragment,null,o())))},xZ=(0,Zv.withNotices)((e=>{const{attributes:{images:t=[],layoutType:r,columns:n,onClickImage:a,cssID:o,className:i,enableCaption:l,captionText:s,captionLayout:c,captionVisibility:u,captionPosition:d,pagination:p,perPage:m,pauseOnHover:h,arrows:f,speed:v,interval:b,autoplay:g,loop:y,perMove:E,type:k,rewind:w},setAttributes:x,noticeUI:_,noticeOperations:P}=e,{clientId:C}=jv(e),{device:A}=ib(),[S,R]=(0,U.useState)(null),{CopyPasterStyleBlockControl:M}=Yv(),{Style:T}=Fv({blockName:"image-gallery",clientId:C,attributes:e.attributes,device:A});(0,oz.useEffect)((()=>{if("masonry"===r){const e=document.querySelector(".blockart-masonry");if(e){const t=e.clientWidth,r=250,n=Math.max(Math.floor(t/r),1);x({columns:n})}}}),[r,t]);const I=()=>t.map(((e,t)=>{var r;return G().createElement(iZ,{key:t},G().createElement("div",{className:"blockart-image-wrapper"},G().createElement("figure",{className:"blockart-image"},G().createElement("img",{className:Cv({}),src:e?.url,alt:null!==(r=e?.alt)&&void 0!==r?r:""}),l&&G().createElement("div",{className:Cv({"blockart-caption-wrapper":!0,[c&&`blockart-${c}`]:!!c,[u&&`blockart-${u}`]:!!u,[d&&`blockart-${d}`]:!!d})},G().createElement(q.RichText,{tagName:"figcaption",placeholder:"Add Caption",value:s,onChange:e=>x({captionText:e})})))))}));return G().createElement(G().Fragment,null,G().createElement(kZ,{attributes:e.attributes,setAttributes:x}),G().createElement(M,{withBlockControls:!0}),G().createElement(T,null),G().createElement("div",{id:o||null,className:Cv(`blockart-image-gallery blockart-image-gallery-${C}`,i)},0===t.length?G().createElement(q.MediaPlaceholder,{onSelect:e=>{if(!e||0===e.length)return;const r=e.map((e=>{const{url:t,id:r,height:n,width:a,alt:o}=e;return{url:t,id:r,height:n,width:a,alt:o}})),n=new Array(e.length).fill("No Caption");x({images:[...t,...r],captionText:[...s,...n]})},notices:_,onError:e=>{P.removeAllNotices(),P.createErrorNotice(e)},onHTMLDrop:!1,accept:"image/*",allowedTypes:["image"],value:t,multiple:!0,labels:{title:"Image Gallery",instructions:"Upload/Select images to create a gallery."},addToGallery:!0}):G().createElement(G().Fragment,null,G().createElement("div",{className:Cv(r&&`blockart-${r}`,n&&`blockart-${r}-${n}`,a&&`blockart-${a}`)},(()=>{switch(r){case"grid":case"masonry":case"tiled":return G().createElement(G().Fragment,null,G().createElement(G().Fragment,null,t.map(((e,t)=>G().createElement(bZ,{key:t,image:e,captionText:s[t],setCaptionText:e=>{const r=[...s];r[t]=e,x({captionText:r})},enableCaption:l,captionLayout:c,captionVisibility:u,captionPosition:d,layoutType:r})))));case"carousel":return G().createElement(vZ,{pagination:p,perPage:m,pauseOnHover:h,arrows:f,speed:v,interval:b,autoplay:g,loop:y,perMove:E,renderImage:I});case"thumbnail-carousel":return G().createElement(wZ,{pagination:p,perPage:m,pauseOnHover:h,arrows:f,speed:v,interval:b,autoplay:g,loop:y,perMove:E,type:k,rewind:w,renderImage:I})}})()))))})),_Z=FW.name,PZ={...FW,icon:G().createElement(cz,{type:"blockIcon",name:"imageGallery",size:24}),edit:xZ,save:e=>{const{attributes:{images:t=[],layoutType:r,onClickImage:n,columns:a,enableCaption:o,captionText:i,captionLayout:l,captionVisibility:s,captionPosition:c,clientId:u,cssID:d,className:p}}=e,m=()=>t.map(((e,t)=>{var r;return G().createElement("div",{className:"swiper-slide",key:t},G().createElement("div",{className:"blockart-image-wrapper"},G().createElement("figure",{className:"blockart-image"},G().createElement("img",{className:Cv({}),src:e?.url,alt:null!==(r=e?.alt)&&void 0!==r?r:""}),o&&G().createElement("div",{className:Cv({"blockart-caption-wrapper":!0,[l&&`blockart-${l}`]:!!l,[s&&`blockart-${s}`]:!!s,[c&&`blockart-${c}`]:!!c})},G().createElement(q.RichText.Content,{tagName:"figcaption",value:i[t]||"No Caption"})))))}));return G().createElement("div",{id:d||null,className:Cv(`blockart-image-gallery blockart-image-gallery-${u}`,p)},t.length>0?G().createElement(G().Fragment,null,G().createElement("div",{className:Cv(r&&`blockart-${r}`,a&&`blockart-${r}-${a}`,n&&`blockart-${n}`)},(()=>{switch(r){case"grid":case"masonry":case"tiled":return G().createElement(G().Fragment,null,G().createElement(G().Fragment,null,t.map(((e,t)=>{var r;return G().createElement("div",{className:"blockart-image-wrapper",key:t},G().createElement("figure",{className:"blockart-image"},G().createElement("img",{className:Cv({}),src:e?.url,alt:null!==(r=e?.alt)&&void 0!==r?r:""}),o&&G().createElement("div",{className:Cv({"blockart-caption-wrapper":!0,[l&&`blockart-${l}`]:!!l,[s&&`blockart-${s}`]:!!s,[c&&`blockart-${c}`]:!!c})},G().createElement(q.RichText.Content,{tagName:"figcaption",value:i[t]||"No Caption"}))))}))));case"carousel":return G().createElement("div",{className:"swiper carousel-swiper"},G().createElement("div",{className:"swiper-wrapper"},m()),G().createElement("div",{className:"swiper-button-next"}),G().createElement("div",{className:"swiper-button-prev"}),G().createElement("div",{className:"swiper-pagination"}));case"thumbnail-carousel":return G().createElement(G().Fragment,null,G().createElement("div",{className:"swiper main-swiper"},G().createElement("div",{className:"swiper-wrapper"},m())),G().createElement("div",{className:"swiper thumbnail-swiper"},G().createElement("div",{className:"swiper-wrapper"},m()),G().createElement("div",{className:"swiper-button-next"}),G().createElement("div",{className:"swiper-button-prev"}),G().createElement("div",{className:"swiper-pagination"})))}})())):null)}},CZ=JSON.parse('{"apiVersion":2,"$schema":"https://schemas.wp.org/trunk/block.json","name":"blockart/info","title":"Info Box","description":"Redirect users to your important pages or websites by clicking button.","keywords":["info"],"category":"blockart","textdomain":"blockart","supports":{"className":false,"customClassName":false,"reusable":false},"example":{"attributes":{}},"attributes":{"clientId":{"type":"string"},"headingText":{"type":"string","default":"Title"},"infoLayout":{"type":"string","default":"layout-1"},"headingToggle":{"type":"boolean","default":true},"markup":{"type":"string","default":"h2"},"alignment":{"type":"object","style":[{"selector":"{{WRAPPER}}.blockart-info-box .blockart-info-container {text-align: {{VALUE}};} {{WRAPPER}}.blockart-info-box .blockart-info-container .blockart-info-content {text-align: {{VALUE}}; } {{WRAPPER}}.blockart-info-box .blockart-info-container .blockart-info-box-icon {text-align: {{VALUE}}; }"}]},"headingTypography":{"type":"object","default":{"typography":1,"weight":400},"style":[{"selector":"{{WRAPPER}} .blockart-heading-wrapper .blockart-heading"}]},"textTypography":{"type":"object","default":{"typography":1,"weight":400},"style":[{"selector":"{{WRAPPER}} .blockart-content-wrapper p"}]},"buttonTypography":{"type":"object","default":{"typography":1,"weight":400},"style":[{"selector":"{{WRAPPER}} .blockart-button-wrapper .blockart-button"}]},"headingColor":{"type":"string","style":[{"selector":"{{WRAPPER}} .blockart-heading {color: {{VALUE}}; }"}]},"textColor":{"type":"string","style":[{"selector":"{{WRAPPER}} .blockart-content-wrapper p {color: {{VALUE}}; }"}]},"buttonColor":{"type":"string","default":"#FFFFFF","style":[{"selector":"{{WRAPPER}} .blockart-button-wrapper .blockart-button {color: {{VALUE}}; }"}]},"background":{"type":"object","default":{"background":1},"style":[{"selector":"{{WRAPPER}}"}]},"buttonBackground":{"type":"object","default":{"background":1,"type":"color","color":"#2563eb"},"style":[{"selector":"{{WRAPPER}} .blockart-button-wrapper .blockart-button"}]},"textButton":{"type":"string","default":"Button"},"urlPosition":{"type":"string","default":"button-only"},"width":{"type":"object","style":[{"selector":"{{WRAPPER}} { flex-basis: {{VALUE}}%; width: {{VALUE}}%; }"}]},"blockHTML":{"type":"string","default":"div"},"link":{"type":"object"},"text":{"type":"string","default":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean diam dolor, accumsan sed rutrum vel, dapibus et leo."},"style":{"type":"string","default":"filled"},"buttonHover":{"type":"string","default":"none"},"buttonAnimation":{"type":"string","default":"none"},"size":{"type":"string","default":"large"},"padding":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"condition":[{"key":"size","relation":"==","value":"custom"},{"key":"style","relation":"!=","value":"plain"},{"key":"style","relation":"!=","value":"link"}],"selector":"{{WRAPPER}} .blockart-button-link.is-custom { padding: {{VALUE}}; }"}]},"typography":{"type":"object","default":{"typography":1},"style":[{"selector":"{{WRAPPER}} .blockart-button-link"}]},"icon":{"type":"object","default":{"enable":true,"icon":"star"}},"iconPosition":{"type":"string","default":"right"},"iconSize":{"type":"object","style":[{"selector":"{{WRAPPER}} .blockart-info-box-icon .blockart-icon { width: {{VALUE}}; height: auto; }"}]},"iconBorder":{"type":"object","default":{"border":1,"radius":{"desktop":{"lock":true}},"size":{"desktop":{"lock":true}}},"style":[{"selector":"{{WRAPPER}} .blockart-info-container .blockart-info-box-icon-wrapper .blockart-info-box-icon"}]},"buttonBorder":{"type":"object","default":{"border":1,"radius":{"desktop":{"lock":true}},"size":{"desktop":{"lock":true}}},"style":[{"selector":"{{WRAPPER}} .blockart-button-wrapper .blockart-button"}]},"infoBorder":{"type":"object","default":{"border":1,"radius":{"desktop":{"lock":true}},"size":{"desktop":{"lock":true}}},"style":[{"selector":"{{WRAPPER}}.blockart-info-box"}]},"color1":{"type":"string","default":"#fff","style":[{"condition":[{"key":"style","relation":"==","value":"filled"}],"selector":"{{WRAPPER}} .blockart-button-link { color: {{VALUE}}; }{{WRAPPER}} .blockart-button-icon .blockart-icon { fill: {{VALUE}}; }"}]},"color2":{"type":"string","default":"#2563EB","style":[{"condition":[{"key":"style","relation":"!=","value":"filled"}],"selector":"{{WRAPPER}} .blockart-button-link{ color: {{VALUE}}; }{{WRAPPER}} .blockart-button-icon .blockart-icon { fill: {{VALUE}}; }"}]},"hoverColor1":{"type":"string","default":"","style":[{"condition":[{"key":"style","relation":"==","value":"filled"}],"selector":"{{WRAPPER}} .blockart-button-link:hover { color: {{VALUE}} }{{WRAPPER}} .blockart-button-link:hover .blockart-button-icon .blockart-icon { fill: {{VALUE}} }{{WRAPPER}} .blockart-button-link:focus { color: {{VALUE}} }{{WRAPPER}} .blockart-button-link:focus .blockart-button-icon .blockart-icon { fill: {{VALUE}} }{{WRAPPER}} .blockart-button-link:active { color: {{VALUE}} }{{WRAPPER}} .blockart-button-link:active .blockart-button-icon .blockart-icon { fill: {{VALUE}} }"}]},"hoverColor2":{"type":"string","default":"","style":[{"condition":[{"key":"style","relation":"!=","value":"filled"}],"selector":"{{WRAPPER}} .blockart-button-link:hover { color: {{VALUE}} }{{WRAPPER}} .blockart-button-link:hover .blockart-button-icon .blockart-icon { fill: {{VALUE}} }{{WRAPPER}} .blockart-button-link:focus { color: {{VALUE}} }{{WRAPPER}} .blockart-button-link:focus .blockart-button-icon .blockart-icon { fill: {{VALUE}} }{{WRAPPER}} .blockart-button-link:active { color: {{VALUE}} }{{WRAPPER}} .blockart-button-link:active .blockart-button-icon .blockart-icon { fill: {{VALUE}} }"}]},"background1":{"type":"object","default":{"background":1,"type":"color","color":"#2563eb"},"style":[{"condition":[{"key":"style","relation":"==","value":"filled"}],"selector":"{{WRAPPER}} .blockart-button-link"}]},"background2":{"type":"object","default":{"background":1},"style":[{"condition":[{"key":"style","relation":"==","value":"outline"}],"selector":"{{WRAPPER}} .blockart-button-link.is-style-outline"}]},"hoverBackground1":{"type":"object","default":{"background":1},"style":[{"condition":[{"key":"style","relation":"==","value":"filled"}],"selector":"{{WRAPPER}} .blockart-button-link:hover, {{WRAPPER}} .blockart-button-link:focus, {{WRAPPER}} .blockart-button-link:active"}]},"hoverBackground2":{"type":"object","default":{"background":1},"style":[{"condition":[{"key":"style","relation":"==","value":"outline"}],"selector":"{{WRAPPER}} .blockart-button-link.is-style-outline:hover, {{WRAPPER}} .blockart-button-link.is-style-outline:focus, {{WRAPPER}} .blockart-button-link.is-style-outline:active"}]},"border":{"type":"object","default":{"border":1,"radius":{"desktop":{"lock":true}},"size":{"desktop":{"lock":true}}},"style":[{"selector":"{{WRAPPER}}"}]},"border1":{"type":"object","default":{"border":1,"radius":{"desktop":{"lock":true}},"size":{"desktop":{"lock":true}}},"style":[{"condition":[{"key":"style","relation":"==","value":"filled"}],"selector":"{{WRAPPER}} .blockart-button-link"}]},"hoverBorder1":{"type":"object","default":{"border":1,"radius":{"desktop":{"lock":true}},"size":{"desktop":{"lock":true}}},"style":[{"condition":[{"key":"style","relation":"==","value":"filled"}],"selector":"{{WRAPPER}} .blockart-button-link:hover, {{WRAPPER}} .blockart-button-link:focus, {{WRAPPER}} .blockart-button-link:active"}]},"border2":{"type":"object","default":{"border":1,"color":"#2563EB","type":"solid","radius":{"desktop":{"top":2,"right":2,"bottom":2,"left":2,"unit":"px","lock":true}},"size":{"desktop":{"top":1,"right":1,"bottom":1,"left":1,"unit":"px","lock":true}}},"style":[{"condition":[{"key":"style","relation":"==","value":"outline"}],"selector":"{{WRAPPER}} .blockart-button-link"}]},"hoverBorder2":{"type":"object","default":{"border":1,"radius":{"desktop":{"lock":true}},"size":{"desktop":{"lock":true}}},"style":[{"condition":[{"key":"style","relation":"==","value":"outline"}],"selector":"{{WRAPPER}} .blockart-button-link:hover, {{WRAPPER}} .blockart-button-link:focus, {{WRAPPER}} .blockart-button-link:active"}]},"positionProperty":{"type":"object","default":{"positionProperty":1},"style":[{"selector":"{{WRAPPER}}"}]},"boxShadow":{"type":"object","default":{"boxShadow":1},"style":[{"selector":"{{WRAPPER}} .blockart-button-link"}]},"boxShadowHover":{"type":"object","default":{"boxShadow":1},"style":[{"selector":"{{WRAPPER}} .blockart-button-link:hover, {{WRAPPER}} .blockart-button-link:focus, {{WRAPPER}} .blockart-button-link:active"}]},"blockMargin":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { margin: {{VALUE}}; }"}]},"blockPadding":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { padding: {{VALUE}}; }"}]},"blockZIndex":{"type":"number","style":[{"selector":"{{WRAPPER}} { z-index: {{VALUE}}; }"}]},"blockOpacity":{"type":"number","style":[{"selector":"{{WRAPPER}} { opacity: {{VALUE}}; }"}]},"cssID":{"type":"string"},"animation":{"type":"string"},"interaction":{"type":"object"},"position":{"type":"object"},"hideOnDesktop":{"type":"boolean","style":[{"selector":"@media (min-width:62em) { {{WRAPPER}} { display: none !important; } }"}]},"hideOnTablet":{"type":"boolean","style":[{"selector":"@media (min-width:48em) and (max-width:62em) { {{WRAPPER}} { display: none !important; } }"}]},"hideOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} { display: none !important; } }"}]},"colReverseOnTablet":{"type":"boolean","style":[{"selector":"@media (max-width:62em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"colReverseOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"blockCSS":{"type":"string"},"className":{"type":"string"}},"style":"blockart-blocks","editorScript":"blockart-blocks","editorStyle":"blockart-blocks-editor","script":"blockart-frontend"}'),AZ=e=>{const{attributes:{clientId:t,link:r,blockHTML:n,blockMargin:a,blockPadding:o,blockZIndex:i,blockOpacity:l,cssID:s,hideOnDesktop:c,hideOnTablet:u,hideOnMobile:d,className:p,infoLayout:m,icon:h,iconPosition:f,iconBorder:v,iconSize:b,infoBorder:g,headingToggle:y,markup:E,alignment:k,headingTypography:w,textTypography:x,headingColor:_,textColor:P,background:C,buttonColor:A,urlPosition:S,buttonBackground:R,buttonTypography:M,buttonBorder:T,buttonBorderEnable:I,iconBorderEnable:O,border:L},setAttributes:D}=e;return G().createElement(G().Fragment,null,G().createElement(bH,null),G().createElement(mH,null,G().createElement(gH,{title:(0,K.__)("Design","blockart"),initialOpen:!0},G().createElement(tj,{label:(0,K.__)("Preset","blockart")},G().createElement(Ba,{borderTop:"1px solid #E0E0E0"},G().createElement(HF,{value:m,onChange:e=>D({infoLayout:e}),label:(0,K.__)("Preset","blockart"),groupProps:mS},[{label:(0,K.__)("Layout 1","blockart"),value:"layout-1",icon:CT},{label:(0,K.__)("Layout 2","blockart"),value:"layout-2",icon:AT},{label:(0,K.__)("Layout 3","blockart"),value:"layout-3",icon:ST},{label:(0,K.__)("Layout 4","blockart"),value:"layout-4",icon:RT},{label:(0,K.__)("Layout 5","blockart"),value:"layout-5",icon:MT},{label:(0,K.__)("Layout 6","blockart"),value:"layout-6",icon:TT}].map((e=>G().createElement(FF,{key:e.value,value:e.value},G().createElement(e.icon,null),e.label))))))),G().createElement(gH,{title:(0,K.__)("Link","blockart")},G().createElement(WF,{label:(0,K.__)("URL","blockart"),onChange:e=>D({link:e}),value:r,placeholder:"https://",newTab:!0}),G().createElement(HF,{value:S,onChange:e=>{D({urlPosition:e})},label:(0,K.__)("URL Content","blockart"),resetAttributeKey:"urlPosition",groupProps:{sx:{".chakra-button":{minH:"32px",svg:{w:6,h:6}}}}},G().createElement(FF,{value:"button-only"},(0,K.__)("Button Only","blockart")),G().createElement(FF,{value:"entire-box"},(0,K.__)("Entire Box","blockart")))),G().createElement(gH,{title:(0,K.__)("Icon","blockart")},G().createElement(LF,{hasToggle:!0,value:h,onChange:e=>D({icon:e})}),h.enable&&G().createElement(G().Fragment,null,G().createElement(HF,{value:f,onChange:e=>{D({iconPosition:e})},label:(0,K.__)("Position","blockart"),responsive:!0,resetAttributeKey:"iconPosition",groupProps:{sx:{".chakra-button":{minH:"32px","&[data-active]":{svg:{fill:"#fff !important"}}}}}},G().createElement(FF,{value:"left"},G().createElement(aT,null)),G().createElement(FF,{value:"right"},G().createElement(oT,null))),G().createElement(MD,{resetAttributeKey:"iconSize",label:(0,K.__)("Size","blockart"),min:0,max:50,value:b,onChange:e=>D({iconSize:e}),responsive:!0,units:["px","em","%"]})),G().createElement(Ba,{marginTop:10},G().createElement(jF,{label:(0,K.__)("Border","blockart"),checked:O||!1,onChange:()=>D({iconBorderEnable:!O})})),O&&G().createElement(OV,{value:v,onChange:e=>D({iconBorder:e}),resetAttributeKey:"iconBorder"})),G().createElement(gH,{title:(0,K.__)("Title","blockart")},G().createElement(jF,{checked:y,onChange:()=>D({headingToggle:!y}),label:(0,K.__)("Enable","blockart")}),y&&G().createElement(G().Fragment,null,G().createElement(VV,{options:kj,onChange:e=>D({markup:e}),value:E,label:(0,K.__)("HTML Markup","blockart")})))),G().createElement(hH,null,G().createElement(gH,{title:(0,K.__)("Properties","blockart"),initialOpen:!0},G().createElement(HF,{value:k,onChange:e=>{D({alignment:e})},label:(0,K.__)("Text Alignment","blockart"),responsive:!0,resetAttributeKey:"Alignment",groupProps:{sx:{".chakra-button":{minH:"32px","&[data-active]":{svg:{fill:"#fff !important"}}}}}},G().createElement(FF,{value:"left"},G().createElement(qM,null)),G().createElement(FF,{value:"center"},G().createElement(YM,null)),G().createElement(FF,{value:"right"},G().createElement(KM,null)))),G().createElement(gH,{title:(0,K.__)("Title","blockart")},G().createElement(BV,{label:(0,K.__)("Text Color","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:_,id:"headingColor"}]}));return Iv(_)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-5px",bg:"white",borderRadius:"full"})):G().createElement(t,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:_,resetKey:"headingColor",onReset:e=>{D({headingColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:_,onChange:e=>D({headingColor:e})}))))),G().createElement(OD,{resetAttributeKey:"headingTypography",value:w,onChange:e=>D({headingTypography:e})})),G().createElement(gH,{title:(0,K.__)("Text","blockart")},G().createElement(BV,{label:(0,K.__)("Text Color","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:P,id:"textColor"}]}));return Iv(P)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-5px",bg:"white",borderRadius:"full"})):G().createElement(t,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:P,resetKey:"textColor",onReset:e=>{D({textColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:P,onChange:e=>D({textColor:e})}))))),G().createElement(OD,{resetAttributeKey:"textTypography",value:x,onChange:e=>D({textTypography:e})})),G().createElement(gH,{title:(0,K.__)("Button","blockart")},G().createElement(BV,{label:(0,K.__)("Text Color","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:A,id:"buttonColor"}]}));return Iv(A)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-5px",bg:"white",borderRadius:"full"})):G().createElement(t,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:A,resetKey:"buttonColor",onReset:e=>{D({buttonColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:A,onChange:e=>D({buttonColor:e})}))))),G().createElement(BV,{label:(0,K.__)("Background","blockart")},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:R,resetKey:"buttonBackground",onReset:e=>{D({buttonBackground:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(RV,{value:R,onChange:e=>D({buttonBackground:e})}))))),G().createElement(OD,{resetAttributeKey:"buttonTypography",value:M,onChange:e=>D({buttonTypography:e})}),G().createElement(jF,{label:(0,K.__)("Border","blockart"),checked:I||!1,onChange:()=>D({buttonBorderEnable:!I})}),I&&G().createElement(OV,{value:T,onChange:e=>D({buttonBorder:e}),resetAttributeKey:"buttonBorder"})),G().createElement(gH,{title:(0,K.__)("Border","blockart")},G().createElement(OV,{value:g,onChange:e=>D({infoBorder:e}),resetAttributeKey:"infoBorder"})),G().createElement(gH,{title:(0,K.__)("Background","blockart")},G().createElement(BV,{label:(0,K.__)("Type","blockart")},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:C,resetKey:"background",onReset:e=>{D({background:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(RV,{value:C,onChange:e=>D({background:e})})))))),G().createElement(gH,{title:(0,K.__)("Border","blockart")},G().createElement(OV,{value:L,onChange:e=>D({border:e}),resetAttributeKey:"border"}))),G().createElement(fH,null,G().createElement(yH,{blockMargin:a,setAttributes:D,blockPadding:o,blockZIndex:i,cssID:s,className:p,hasblockHTML:!1}),G().createElement(EH,{hideOnDesktop:c,hideOnTablet:u,hideOnMobile:d,setAttributes:D})))},SZ=CZ.name,RZ={...CZ,icon:G().createElement(cz,{type:"blockIcon",name:"info",size:24}),edit:e=>{const{attributes:{cssID:t,className:r,headingText:n,text:a,infoLayout:o,icon:i,headingToggle:l,markup:s,textButton:c,headingTypography:u,textTypography:d,buttonTypography:p},setAttributes:m}=e,{clientId:h}=jv(e),{device:f}=ib(),{CopyPasterStyleBlockControl:v}=Yv(),{Style:b}=Fv({blockName:"info",clientId:h,attributes:e.attributes,device:f});return G().createElement(G().Fragment,null,G().createElement(AZ,{attributes:e.attributes,setAttributes:e.setAttributes}),G().createElement(v,{withBlockControls:!0}),G().createElement(b,null),G().createElement("div",{className:Cv(`blockart-info-box blockart-info-${h}`,`blockart-info-box-${o}`,r),id:t},G().createElement("div",{className:"blockart-info-container"},i?.enable&&i?.icon&&G().createElement("div",{className:"blockart-info-box-icon-wrapper"},G().createElement("div",{className:"blockart-info-box-icon"},G().createElement(LH,{name:i.icon}))),G().createElement("div",{className:"blockart-info-content"},G().createElement("div",{className:"blockart-heading-wrapper"},l&&G().createElement(q.RichText,{className:Cv("blockart-heading",u?._className),tagName:s,placeholder:(0,K.__)("Title","blockart"),value:n,onChange:e=>{m({headingText:e})}})),G().createElement("div",{className:"blockart-content-wrapper"},G().createElement(q.RichText,{tagName:"p",className:Cv(d?._className),placeholder:(0,K.__)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean diam dolor, accumsan sed rutrum vel, dapibus et leo.","blockart"),value:a,onChange:e=>{m({text:e})}})),G().createElement("div",{className:"blockart-button-wrapper"},G().createElement(q.RichText,{className:Cv("blockart-button",p?._className),value:c,placeholder:(0,K.__)("Text Here…","blockart"),onChange:e=>{m({textButton:e})},allowedFormats:["core/bold","core/italic"]}))))))},save:e=>{const{attributes:{clientId:t,link:r,headingText:n,text:a,infoLayout:o,headingToggle:i,markup:l,icon:s,textButton:c,urlPosition:u,headingTypography:d,textTypography:p,buttonTypography:m,className:h}}=e,f=({children:e})=>r&&""!==r.url&&"button-only"!==u?G().createElement(kH,{tagName:"a",htmlAttrs:{href:r&&r.url?r.url:null,target:r&&r.newTab?"_blank":null,rel:r&&r.newTab?"noopener":null}},e):G().createElement(oz.Fragment,null,e);return G().createElement("div",{className:Cv(`blockart-info-box blockart-info-${t}`,`blockart-info-box-${o}`,h)},G().createElement(f,null,G().createElement("div",{className:"blockart-info-container"},s&&""!==s.icon&&s.enable&&G().createElement("div",{className:"blockart-info-box-icon-wrapper"},G().createElement("div",{className:"blockart-info-box-icon"},G().createElement(LH,{name:s.icon}))),G().createElement("div",{className:"blockart-info-content"},i&&G().createElement("div",{className:"blockart-heading-wrapper"},i&&G().createElement(q.RichText.Content,{className:Cv("blockart-heading",d?._className),tagName:l,value:n})),G().createElement("div",{className:"blockart-content-wrapper"},G().createElement(q.RichText.Content,{tagName:"p",value:a,className:Cv(p?._className)})),G().createElement("div",{className:"blockart-button-wrapper"},G().createElement(kH,{tagName:"entire-box"===u?"span":"a",htmlAttrs:{className:Cv("blockart-button",m?._className),href:r&&r.url?r.url:null,target:r&&r.newTab?"_blank":null,rel:r&&r.newTab?"noopener":null}},G().createElement(q.RichText.Content,{className:"blockart-button-text",value:c})))))))}},MZ=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","name":"blockart/lottie","title":"Lottie","description":"Display awesome lottie animations to your page.","keywords":["lottie","animation"],"category":"blockart","textdomain":"blockart","supports":{"className":false,"customClassName":false},"example":{"attributes":{}},"attributes":{"clientId":{"type":"string"},"source":{"type":"string","default":"library"},"playOn":{"type":"string","default":"auto","enum":["auto","hover","viewport","scroll"]},"loop":{"type":"boolean","default":true},"controls":{"type":"boolean","default":false},"speed":{"type":"number","default":1},"delay":{"type":"number","default":0},"count":{"type":"number","default":0},"mode":{"type":"string","default":"normal","enum":["normal","bounce"]},"lottie":{"type":"object"},"alignment":{"type":"object","default":{"desktop":"center"}},"width":{"type":"number","default":200},"background":{"type":"object","default":{"background":1},"style":[{"selector":"{{WRAPPER}}"}]},"hoverBackground":{"type":"object","default":{"background":1},"style":[{"selector":"{{WRAPPER}}:hover"}]},"blockMargin":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { margin: {{VALUE}}; }"}]},"blockPadding":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { padding: {{VALUE}}; }"}]},"blockZIndex":{"type":"number","style":[{"selector":"{{WRAPPER}} { z-index: {{VALUE}}; }"}]},"cssID":{"type":"string"},"animation":{"type":"string"},"interaction":{"type":"object"},"position":{"type":"object"},"hideOnDesktop":{"type":"boolean","style":[{"selector":"@media (min-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnTablet":{"type":"boolean","style":[{"selector":"@media (min-width:48em) and (max-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} { display: none; } }"}]},"colReverseOnTablet":{"type":"boolean","style":[{"selector":"@media (max-width:62em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"colReverseOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"blockCSS":{"type":"string"},"className":{"type":"string"}},"style":"blockart-blocks","editorScript":"blockart-blocks","editorStyle":"blockart-blocks-editor","viewScript":"blockart-frontend-lottie"}');r(4906);const TZ=e=>{var t;const{value:r,onChange:n}=e,a=e=>{n?.({...null!=r?r:{},...e})};return G().createElement("div",{className:"blockart-control blockart-lottie-picker"},G().createElement(Oa,{width:"300px",defaultIndex:"external"===r?.source?1:0},G().createElement(La,{px:"15px"},G().createElement(Da,{fontWeight:600,onClick:()=>{a({source:"local"})}},(0,K.__)("Media File","blockart")),G().createElement(Da,{fontWeight:600,onClick:()=>{a({source:"external"})}},(0,K.__)("External URL","blockart"))),G().createElement(Va,{pt:"5px"},G().createElement(Fa,null,G().createElement("div",{className:"blockart-control"},G().createElement("div",{className:"blockart-control-body"},G().createElement(q.MediaUploadCheck,null,G().createElement(q.MediaUpload,{onSelect:e=>{a({source:"local",lottieFile:{url:e.url,id:e.id}})},allowedTypes:["application/json"],title:"Upload Image",render:({open:e})=>G().createElement(G().Fragment,null,G().createElement(Za,{className:"blockart-media-file",onClick:e,height:"150px",bgColor:"#f4f4f4",justifyContent:"center",_hover:{boxShadow:"0 0 2px #2563eb"}},r?.lottieFile?.url?G().createElement(G().Fragment,null,G().createElement("lottie-player",{src:r?.lottieFile?.url,autoplay:!0,loop:!0})):G().createElement(cz,{name:"lottie",style:{minWidth:"60px",minHeight:"60px",fill:"#e4e4e4"},className:"blockart-lottie-upload-thumbnail"})))}))),G().createElement(Ua,{justifyContent:"center"},G().createElement(N_,{as:"p",textAlign:"center"},r?.lottieFile?.url?(0,K.__)("Change JSON File","blockart"):(0,K.__)("Upload JSON File","blockart")),r?.lottieFile?.url?G().createElement(cz,{name:"trash",size:24,onClick:e=>{e.stopPropagation(),a({lottieFile:void 0})},style:{fill:"#FF3131"}}):null))),G().createElement(Fa,null,G().createElement(pS,{label:(0,K.__)("Animation JSON URL","blockart"),placeholder:"https://",value:null!==(t=r?.lottieURL)&&void 0!==t?t:"",onChange:e=>{a({lottieURL:e})}})))))},IZ=e=>{const{attributes:{alignment:t,blockPadding:r,blockMargin:n,blockZIndex:a,className:o,cssID:i,width:l,lottie:s,playOn:c,loop:u,speed:d,mode:p,delay:m,count:h,controls:f,background:v,hoverBackground:b,hideOnDesktop:g,hideOnTablet:y,hideOnMobile:E},setAttributes:k}=e;return G().createElement(G().Fragment,null,G().createElement(bH,null),G().createElement(mH,null,G().createElement(gH,{title:(0,K.__)("Layout","blockart"),initialOpen:!0},G().createElement(BV,{label:"Source"},G().createElement(TZ,{value:s,onChange:e=>{k({lottie:e})}})),G().createElement(MD,{onChange:e=>k({width:e}),label:(0,K.__)("Width","blockart"),min:20,max:1e3,value:l,resetAttributeKey:"width",defaultUnit:"px",step:1})),G().createElement(gH,{title:(0,K.__)("Lottie","blockart")},G().createElement(HF,{value:c,onChange:e=>{k({playOn:e})},label:(0,K.__)("Play On","blockart"),resetAttributeKey:"playOn",groupProps:{sx:{".chakra-button":{minH:"32px",svg:{w:6,h:6}}}}},G().createElement(FF,{value:"auto"},(0,K.__)("Auto","blockart")),G().createElement(FF,{value:"hover"},(0,K.__)("Hover","blockart")),G().createElement(FF,{value:"viewport"},(0,K.__)("Viewport","blockart")),G().createElement(FF,{value:"scroll"},(0,K.__)("On Scroll","blockart"))),G().createElement(HF,{value:p,onChange:e=>{k({mode:e})},label:(0,K.__)("Mode","blockart"),resetAttributeKey:"mode",groupProps:{sx:{".chakra-button":{minH:"32px",svg:{w:6,h:6}}}}},G().createElement(FF,{value:"normal"},(0,K.__)("Normal","blockart")),G().createElement(FF,{value:"bounce"},(0,K.__)("Bounce","blockart"))),G().createElement(jF,{checked:null==u||u,onChange:e=>k({loop:e}),label:(0,K.__)("Loop","blockart")}),G().createElement(jF,{checked:null!=f&&f,onChange:e=>k({controls:e}),label:(0,K.__)("Show controls","blockart")}),G().createElement(MD,{onChange:e=>k({speed:e}),label:(0,K.__)("Speed","blockart"),min:0,max:5,value:d,resetAttributeKey:"speed"}),G().createElement(MD,{onChange:e=>k({delay:e}),label:(0,K.__)("Delay","blockart"),min:0,max:60,step:.01,value:m,resetAttributeKey:"delay"}),G().createElement(MD,{onChange:e=>k({count:e}),label:(0,K.__)("Animation Loop Count","blockart"),min:0,max:100,value:h,resetAttributeKey:"count",step:1}))),G().createElement(hH,null,G().createElement(gH,{title:(0,K.__)("Properties","blockart"),initialOpen:!0},G().createElement(HF,{value:t,onChange:e=>{k({alignment:e})},label:(0,K.__)("Text Alignment","blockart"),responsive:!0,resetAttributeKey:"alignment",groupProps:{sx:{".chakra-button":{minH:"32px","&[data-active]":{svg:{fill:"#fff !important"}}}}}},G().createElement(FF,{value:"left"},G().createElement(qM,null)),G().createElement(FF,{value:"center"},G().createElement(YM,null)),G().createElement(FF,{value:"right"},G().createElement(KM,null)))),G().createElement(gH,{title:(0,K.__)("Background","blockart")},G().createElement(BV,{label:"Type"},G().createElement(Oa,null,G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart")),G().createElement(Da,null,(0,K.__)("Hover","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(RV,{value:v,onChange:e=>{k({background:e})}})),G().createElement(Fa,null,G().createElement(RV,{value:b,onChange:e=>{k({hoverBackground:e})}}))))))),G().createElement(fH,null,G().createElement(yH,{blockMargin:n,setAttributes:k,blockPadding:r,blockZIndex:a,cssID:i,className:o,hasblockHTML:!1}),G().createElement(EH,{hideOnDesktop:g,hideOnTablet:y,hideOnMobile:E,setAttributes:k})))},OZ=((0,K.__)("Auto","blockart"),(0,K.__)("Hover","blockart"),(0,K.__)("Viewport","blockart"),(0,K.__)("On page scroll","blockart"),e=>{var t,r,n,a,o,i,l,s,c,u;const{attributes:{lottie:d,playOn:p,loop:m,speed:h,mode:f,width:v,alignment:b,count:g,controls:y,delay:E,backgroundColor:k},noticeOperations:w,setAttributes:x,noticeUI:_}=e,[P,C]=(0,U.useState)(0),{device:A}=ib(),{clientId:S}=jv(e),{CopyPasterStyleBlockControl:R}=Yv(),{Style:M}=Fv({device:A,blockName:"lottie",clientId:S,attributes:e.attributes}),T=Xv(P,500),I=GH({alignment:b});return G().createElement(G().Fragment,null,G().createElement(IZ,{attributes:e.attributes,setAttributes:e=>{x(e),Object.keys(e).some((e=>["playOn","loop","mode","speed","lottie","count","controls","backgroundColor"].includes(e)))&&C((e=>e+1))}}),G().createElement(R,{withBlockControls:!0}),G().createElement(M,null),d?.lottieURL||d?.lottieFile?.url?G().createElement("div",{className:Cv("blockart-lottie",`blockart-lottie-${S}`,{..."mobile"===A?null!==(t=null!==(r=null!==(n=I?.mobile)&&void 0!==n?n:I?.tablet)&&void 0!==r?r:I?.desktop)&&void 0!==t?t:{}:"tablet"===A?null!==(a=null!==(o=I?.tablet)&&void 0!==o?o:I?.desktop)&&void 0!==a?a:{}:null!==(i=I?.desktop)&&void 0!==i?i:{}})},G().createElement("lottie-player",{key:T,id:`blockart-lottie-${S}`,loop:!!m||void 0,mode:f,speed:h,src:"external"===d?.source?null!==(l=null!==(s=d?.lottieURL)&&void 0!==s?s:d?.lottieFile?.url)&&void 0!==l?l:"":null!==(c=null!==(u=d?.lottieFile?.url)&&void 0!==u?u:d?.lottieURL)&&void 0!==c?c:"",style:{width:v},autoplay:"auto"===p||void 0,hover:"hover"===p||void 0,count:g||void 0,controls:!!y||void 0,intermission:E?1e3*E:void 0,background:k||void 0})):G().createElement(q.MediaPlaceholder,{onSelect:e=>{e?.url&&x({lottie:{source:"local",lottieFile:{url:e.url,id:e.id}}})},notices:_,onError:e=>{w.removeAllNotices(),w.createErrorNotice(e)},onSelectURL:e=>{x({lottie:{source:"external",lottieURL:e}})},labels:{title:(0,K.__)("Upload Lottie Animation","blockart"),instructions:(0,K.__)("Upload your awesome lottie animation or insert from a URL.","blockart")},allowedTypes:["application/json"],onHTMLDrop:Ov}))}),LZ=MZ.name,DZ={...MZ,icon:G().createElement(cz,{type:"blockIcon",name:"lottie",size:24}),edit:OZ,save:e=>{var t,r;const{attributes:{lottie:n,playOn:a,loop:o,speed:i,mode:l,width:s,alignment:c,className:u,cssID:d,clientId:p,count:m,delay:h,controls:f,backgroundColor:v,blockHTML:b}}=e,g=GH({alignment:c}),y=null!=b?b:"div";return G().createElement(y,{id:d,className:Cv(`blockart-lottie blockart-lottie-${p}`,...Object.values(g),u)},G().createElement("lottie-player",{id:`blockart-lottie-${p}`,loop:!!o||void 0,mode:l,speed:i,src:"external"===n?.source?null!==(t=n?.lottieURL)&&void 0!==t?t:"":null!==(r=n?.lottieFile?.url)&&void 0!==r?r:"",style:{width:s},autoplay:"auto"===a||void 0,count:m||void 0,controls:!!f||void 0,intermission:h?1e3*h:void 0,background:v||void 0}))}},BZ=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","name":"blockart/map","title":"Google Map","description":"Google Map blocks allows you to add maps.","keywords":["map"],"category":"blockart","textdomain":"blockart","supports":{"className":false,"customClassName":false},"example":{"attributes":{}},"attributes":{"clientId":{"type":"string"},"address":{"type":"string"},"coordinates":{"type":"object"},"mapHeight":{"type":"number","default":300},"language":{"type":"string","default":"en"},"zoom":{"type":"number","default":10},"fullscreenControl":{"type":"boolean","default":true},"zoomControl":{"type":"boolean","default":true},"mapTypeControl":{"type":"boolean","default":true},"streetViewControl":{"type":"boolean","default":true},"draggable":{"type":"boolean","default":true},"marker":{"type":"object"},"markerIconSize":{"type":"number","default":32},"markerIconColor":{"type":"object"},"background":{"type":"object","default":{"background":1},"style":[{"selector":"{{WRAPPER}}"}]},"border":{"type":"object","default":{"border":1,"radius":{"desktop":{"lock":true}},"size":{"desktop":{"lock":true}}},"style":[{"selector":"{{WRAPPER}}"}]},"boxShadow":{"type":"object","default":{"boxShadow":1},"style":[{"selector":"{{WRAPPER}}"}]},"blockMargin":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { margin: {{VALUE}}; }"}]},"blockPadding":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { padding: {{VALUE}}; }"}]},"blockZIndex":{"type":"number","style":[{"selector":"{{WRAPPER}} { z-index: {{VALUE}}; }"}]},"cssID":{"type":"string"},"animation":{"type":"string"},"interaction":{"type":"object"},"position":{"type":"object"},"hideOnDesktop":{"type":"boolean","style":[{"selector":"@media (min-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnTablet":{"type":"boolean","style":[{"selector":"@media (min-width:48em) and (max-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} { display: none; } }"}]},"colReverseOnTablet":{"type":"boolean","style":[{"selector":"@media (max-width:62em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"colReverseOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"blockCSS":{"type":"string"},"className":{"type":"string"}},"style":"blockart-blocks","editorScript":"blockart-blocks","editorStyle":"blockart-blocks-editor","viewScript":"blockart-frontend-map"}'),zZ=e=>{const{attributes:{blockZIndex:t,blockMargin:r,blockPadding:n,hideOnDesktop:a,hideOnTablet:o,hideOnMobile:i,mapHeight:l,zoom:s,language:c,address:u,background:d,border:p,boxShadow:m,fullscreenControl:h,zoomControl:f,mapTypeControl:v,streetViewControl:b,draggable:g,marker:y,markerIconSize:E,markerIconColor:k,className:w,cssID:x},setAttributes:_}=e;return G().createElement(G().Fragment,null,G().createElement(bH,null),G().createElement(mH,null,G().createElement(gH,{title:(0,K.__)("General","blockart"),initialOpen:!0},G().createElement(pS,{label:(0,K.__)("Address / Location","blockart"),placeholder:"Enter Address or Lat/Long pair",value:u,onChange:e=>_({address:e})}),G().createElement(MD,{label:(0,K.__)("Map Height","blockart"),value:l,onChange:e=>_({mapHeight:e}),min:300,max:500,step:5,forceShowUnit:!0,resetAttributeKey:"mapHeight",defaultUnit:"px"}),G().createElement(MD,{label:(0,K.__)("Zoom","blockart"),value:s,onChange:e=>_({zoom:e}),min:1,max:25,step:1,resetAttributeKey:"zoom"}),!!kv.configs.integrations["google-maps-embed-api-key"]&&G().createElement(G().Fragment,null,G().createElement(jF,{label:(0,K.__)("Fullscreen control","blockart"),checked:h,onChange:e=>_({fullscreenControl:e})}),G().createElement(jF,{label:(0,K.__)("Zoom control","blockart"),checked:f,onChange:e=>_({zoomControl:e})}),G().createElement(jF,{label:(0,K.__)("Map type control","blockart"),checked:v,onChange:e=>_({mapTypeControl:e})}),G().createElement(jF,{label:(0,K.__)("Street view control","blockart"),checked:b,onChange:e=>_({streetViewControl:e})}),G().createElement(jF,{label:(0,K.__)("Draggable","blockart"),checked:g,onChange:e=>_({draggable:e})}),G().createElement(LF,{value:y,onChange:e=>_({marker:e}),hasToggle:!0,label:(0,K.__)("Marker")}),y?.enable&&y?.icon&&G().createElement(G().Fragment,null,G().createElement(MD,{label:(0,K.__)("Icon Size"),value:E,onChange:e=>_({markerIconSize:e}),resetAttributeKey:"markerIconSize"}),G().createElement(BV,{trigger:e=>G().createElement(Ua,null,G().createElement(bO,{resetKey:"markerIconColor",saved:k,onReset:e=>{_({markerIconColor:e})}}),G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:k,id:"markerIconColor"}]}))),label:(0,K.__)("Icon color","blockart"),popoverDivProps:{sx:{".components-popover__content":{pt:4}}},closeOnFocusOutside:!0},G().createElement(UN,{showGlobalPalette:!1,value:k,onChange:e=>_({markerIconColor:e})})))))),G().createElement(hH,null,G().createElement(gH,{title:(0,K.__)("Background","blockart"),initialOpen:!0},G().createElement(BV,{label:(0,K.__)("Type","blockart")},G().createElement(Ba,{p:8},G().createElement(bO,{saved:d,resetKey:"background",onReset:e=>{_({background:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(RV,{value:d,onChange:e=>_({background:e})})))),G().createElement(gH,{title:(0,K.__)("Border","blockart")},G().createElement(OV,{value:p,onChange:e=>{_({border:e})},resetAttributeKey:"border"}),G().createElement(FV,{resetAttributeKey:"boxShadow",value:m,onChange:e=>_({boxShadow:e})}))),G().createElement(fH,null,G().createElement(yH,{blockMargin:r,setAttributes:_,blockPadding:n,blockZIndex:t,cssID:x,className:w,hasblockHTML:!1}),G().createElement(EH,{hideOnDesktop:a,hideOnTablet:o,hideOnMobile:i,setAttributes:_})))},NZ={lat:27.700769,lng:85.30014},VZ=HD((e=>{const{attributes:{cssID:t,className:r,address:n,mapHeight:a,language:o,zoom:i,fullscreenControl:l,zoomControl:s,mapTypeControl:c,streetViewControl:u,draggable:d,marker:p,markerIconSize:m,markerIconColor:h,coordinates:f},setAttributes:v}=e,{clientId:b}=jv(e),{device:g}=ib(),{CopyPasterStyleBlockControl:y}=Yv(),{Style:E}=Fv({blockName:"map",clientId:b,attributes:e.attributes,device:g}),k=kv.configs.integrations["google-maps-embed-api-key"],w=G().useRef(),x=G().useRef(),_=G().useRef(),P=G().useRef(null),C=encodeURI(n),A=o||"en";G().useEffect((()=>{w.current&&(w.current.setOptions({center:null!=f?f:NZ,zoom:null!=i?i:10,fullscreenControl:l,zoomControl:s,mapTypeControl:c,streetViewControl:u,draggable:d}),_.current?.setMap(p?.enable&&w.current?w.current:null),p?.enable&&_.current?.setIcon(p?.enable&&p.icon?((e,t={})=>{const r=((e,t=0)=>{let r=(new DOMParser).parseFromString(e,"text/html").body;for(;t>0;)t--,r=r.firstChild;return null===r&&(r=document.createDocumentFragment()),r})(e,1);if(t)for(const e in t)void 0!==typeof t[e]&&null!==typeof t.key&&r.setAttribute(e,t[e]);const n=(new XMLSerializer).serializeToString(r);return`data:image/svg+xml;base64,${btoa(n)}`})(kv.icons.all[p.icon].svg,{width:m,height:m,fill:h}):null))}),[i,l,s,c,u,d,p,h,m]),(0,FD.useQuery)(["blockart-google-maps"],(()=>new Promise((e=>{document.querySelector("#blockart-google-maps")?e(!0):document.head.appendChild(Object.assign(document.createElement("script"),{id:"blockart-google-maps",src:`https://maps.googleapis.com/maps/api/js?key=${k}&libraries=places&callback=Function.prototype`,async:!0,onload:e}))}))),{enabled:!!k,onSuccess(){const e={center:null!=f?f:NZ,zoom:null!=i?i:10,fullscreenControl:l,zoomControl:s,mapTypeControl:c,streetViewControl:u,draggable:d};w.current=new google.maps.Map(P.current,e),_.current=new google.maps.Marker({position:w.current.getCenter(),map:p?.enable?w.current:null}),x.current=new google.maps.Geocoder}});const S=`https://maps.google.com/maps?q=${C}&hl=${A}&t=m&output=embed&iwloc=near&z=${i}`;return G().createElement(G().Fragment,null,G().createElement(zZ,{attributes:e.attributes,setAttributes:e=>{if(v(e),e?.address&&x.current){var t;const r=e.address.match(/^-?([1-8]?\d(\.\d+)?|90(\.0+)?),\s*-?(180(\.0+)?|((1[0-7]\d)|([1-9]?\d))(\.\d+)?)$/);if(r){const e={lat:parseFloat(r[1]),lng:parseFloat(r[4])};return w.current?.setCenter(e),_.current?.setPosition(e),void v({coordinates:e})}x.current.geocode({address:null!==(t=e.address)&&void 0!==t?t:"kathmandu"},((e,t)=>{"OK"===t&&e?.length&&(w.current?.setCenter(e[0].geometry.location),v({coordinates:e[0].geometry.location}),_.current?.setMap(w.current),_.current?.setPosition(e[0].geometry.location))}))}}}),G().createElement(y,{withBlockControls:!0}),G().createElement(E,null),G().createElement("div",{className:Cv(`blockart-map blockart-map-${b}`,r),ref:P,style:{height:`${a}px`}},!k&&G().createElement("iframe",{className:"blockart-map-iframe",title:(0,K.__)("Google Map","blockart"),src:S,width:"100%",height:a})))})),FZ=BZ.name,HZ={...BZ,icon:G().createElement(cz,{type:"blockIcon",name:"map",size:24}),edit:VZ,save:()=>null},jZ=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","name":"blockart/modal","title":"Modal","description":"Add Popup Modal on click.","keywords":["modal","popup"],"category":"blockart","textdomain":"blockart","supports":{"className":false,"customClassName":false},"example":{"attributes":{}},"attributes":{"modalTrigger":{"type":"string","default":"button"},"clientId":{"type":"string"},"triggerText":{"type":"string","default":"Click Here"},"icon":{"type":"string","default":"send-o"},"iconColor":{"type":"string","style":[{"selector":"{{WRAPPER}} .blockart-modal-trigger.blockart-modal-trigger svg {fill: {{VALUE}}; }"}]},"closeIcon":{"type":"string","default":"close"},"closeIconPosition":{"type":"string","default":"popup-top-right"},"image":{"type":"object","default":{}},"imageWidth":{"type":"number","default":"","style":[{"selector":"{{WRAPPER}} {width {{VALUE}}; }"}]},"alignment":{"type":"object","style":[{"selector":"{{WRAPPER}} .blockart-modal-trigger {text-align: {{VALUE}}; justify-content: {{VALUE}}; }"}]},"style":{"type":"string","default":"filled"},"buttonText":{"type":"string","default":"Click Here"},"size":{"type":"string","default":"large"},"buttonIcon":{"type":"object","default":{"enable":false,"icon":"arrowRight"}},"tButtonIconPosition":{"type":"string","default":"after"},"tButtonIconSize":{"type":"object","style":[{"condition":[{"key":"icon","relation":"!=","value":""}],"selector":"{{WRAPPER}} .blockart-button-icon .blockart-icon { width: {{VALUE}}; height: auto; }"}]},"tButtonIconGap":{"type":"object","style":[{"condition":[{"key":"icon","relation":"!=","value":""},{"key":"tButtonIconPosition","relation":"==","value":"before"}],"selector":"{{WRAPPER}} .blockart-button-icon { margin-right: {{VALUE}}; }"},{"condition":[{"key":"icon","relation":"!=","value":""},{"key":"tButtonIconPosition","relation":"==","value":"after"}],"selector":"{{WRAPPER}} .blockart-button-icon { margin-left: {{VALUE}}; }"}]},"buttonPadding":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"condition":[{"key":"size","relation":"==","value":"custom"}],"selector":"{{WRAPPER}} .blockart-button-link.is-custom { padding: {{VALUE}}; }"}]},"width":{"type":"object","style":[{"selector":"{{WRAPPER}} .blockart-modal-popup-wrap { flex-basis: {{VALUE}}%; width: {{VALUE}}%; }"}]},"maxHeight":{"type":"object","style":[{"selector":"{{WRAPPER}} .blockart-modal-popup-content { max-height: {{VALUE}} }"}]},"height":{"type":"object","style":[{"selector":"{{WRAPPER}} .blockart-modal-popup-wrap { height: {{VALUE}} }"}]},"popupBackground":{"type":"object","default":{"background":1,"color":"#9BB7F6"},"style":[{"selector":"{{WRAPPER}} > .blockart-modal-popup.active"}]},"modalBackground":{"type":"object","default":{"background":1},"style":[{"selector":"{{WRAPPER}} > .blockart-modal-popup.active .blockart-modal-popup-wrap"}]},"triggerButtonBackground":{"type":"object","default":{"background":1},"style":[{"selector":"{{WRAPPER}} .blockart-modal-trigger .blockart-button-link"}]},"padding":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} .blockart-modal-popup.active .blockart-modal-popup-wrap { padding: {{VALUE}}; }"}]},"border":{"type":"object","default":{"border":1,"radius":{"desktop":{"lock":true}},"size":{"desktop":{"lock":true}}},"style":[{"selector":"{{WRAPPER}} .blockart-modal-popup.active .blockart-modal-popup-wrap"}]},"closeIconSize":{"type":"object","style":[{"selector":"{{WRAPPER}} .blockart-modal-popup-close svg { width: {{VALUE}}; height: auto; }"}]},"color":{"type":"string","style":[{"selector":"{{WRAPPER}} .blockart-modal-popup-close svg {fill: {{VALUE}}; }"}]},"triggerTextColor":{"type":"string","style":[{"selector":"{{WRAPPER}} .blockart-modal-trigger {color: {{VALUE}}; }"}]},"triggerTextTypography":{"type":"object","default":{"typography":1,"weight":500},"style":[{"selector":"{{WRAPPER}} .blockart-modal-trigger"}]},"triggerBtnTextColor":{"type":"string","style":[{"selector":"{{WRAPPER}} .blockart-modal-trigger span {color: {{VALUE}}; }"}]},"triggerBtnTextTypo":{"type":"object","default":{"typography":1,"weight":500},"style":[{"selector":"{{WRAPPER}} .blockart-modal-trigger .blockart-button-link"}]}},"style":"blockart-blocks","editorScript":"blockart-blocks","editorStyle":"blockart-blocks-editor","viewScript":"blockart-frontend-modal"}'),WZ=e=>{const{attributes:{className:t,hideOnDesktop:r,hideOnTablet:n,hideOnMobile:a,blockMargin:o,blockPadding:i,blockZIndex:l,cssID:s,icon:c,style:u,size:d,buttonPadding:p,image:m,modalTrigger:h,buttonIcon:f,tButtonIconPosition:v,tButtonIconSize:b,tButtonIconGap:g,closeIconPosition:y,closeIcon:E,alignment:k,width:w,height:x,maxHeight:_,modalBackground:P,padding:C,border:A,closeIconSize:S,color:R,triggerTextColor:M,triggerTextTypography:T,iconColor:I,popupBackground:O,triggerButtonBackground:L,triggerBtnTextColor:D,triggerBtnTextTypo:B},setAttributes:z}=e;return G().createElement(G().Fragment,null,G().createElement(bH,null),G().createElement(mH,null,G().createElement(gH,{title:(0,K.__)("Trigger","blockart"),initialOpen:!0},G().createElement(HF,{value:h,label:(0,K.__)("Type","blockart"),onChange:e=>z({modalTrigger:e}),groupProps:{sx:{".chakra-button":{minH:"32px",svg:{w:"40px !important",h:"6"},"&[data-active]":{svg:{fill:"#fff !important"}}}}}},G().createElement(FF,{value:"button"},(0,K.__)("Button","blockart")),G().createElement(FF,{value:"icon"},(0,K.__)("Icon","blockart")),G().createElement(FF,{value:"image"},(0,K.__)("Image","blockart")),G().createElement(FF,{value:"text"},(0,K.__)("Text","blockart"))),G().createElement(HF,{value:k,onChange:e=>{z({alignment:e})},label:(0,K.__)("Alignment","blockart"),responsive:!0,resetAttributeKey:"alignment",groupProps:{sx:{".chakra-button":{minH:"32px",svg:{w:6,h:6},"&[data-active]":{svg:{fill:"#fff !important"}}}}}},G().createElement(FF,{value:"left"},G().createElement(qM,null)),G().createElement(FF,{value:"center"},G().createElement(YM,null)),G().createElement(FF,{value:"right"},G().createElement(KM,null))),"button"===h&&G().createElement(G().Fragment,null,G().createElement(HF,{value:u,onChange:e=>{z({style:e})},label:(0,K.__)("Button Type","blockart"),resetAttributeKey:"style",groupProps:{sx:{".chakra-button":{minH:"32px",svg:{w:"40px !important",h:"6"},"&[data-active]":{svg:{fill:"#fff !important"}}}}}},G().createElement(FF,{value:"filled"},G().createElement(LI,null)),G().createElement(FF,{value:"outline"},G().createElement(DI,null)),G().createElement(FF,{value:"link"},G().createElement(BI,null)),G().createElement(FF,{value:"plain"},G().createElement(OI,null))),("filled"===u||"outline"===u)&&G().createElement(G().Fragment,null,G().createElement(HF,{value:d,onChange:e=>{z({size:e})},label:(0,K.__)("Size","blockart"),resetAttributeKey:"size",groupProps:{sx:{".chakra-button":{minH:"32px",svg:{w:6,h:6}}}}},G().createElement(FF,{value:"small"},"Small"),G().createElement(FF,{value:"medium"},"Medium"),G().createElement(FF,{value:"large"},"Large"),G().createElement(FF,{value:"custom"},"Custom"))),G().createElement(LF,{hasToggle:!0,value:f||{},onChange:e=>z({buttonIcon:e})}),f?.enable&&G().createElement(G().Fragment,null,G().createElement(HF,{value:v,onChange:e=>{z({tButtonIconPosition:e})},label:(0,K.__)("Icon Position","blockart"),resetAttributeKey:"tButtonIconPosition",groupProps:{sx:{".chakra-button":{minH:"32px",svg:{w:6,h:6},"&[data-active]":{svg:{fill:"#fff !important"}}}}}},G().createElement(FF,{value:"before"},(0,K.__)("Before Text","blockart")),G().createElement(FF,{value:"after"},(0,K.__)("After Text","blockart"))),G().createElement(MD,{resetAttributeKey:"tButtonIconSize",label:(0,K.__)("Icon Size","blockart"),min:0,max:50,value:b,onChange:e=>z({tButtonIconSize:e}),responsive:!0,units:["px","em","%"]}),G().createElement(MD,{resetAttributeKey:"tButtonIconGap",label:(0,K.__)("Icon Gap","blockart"),min:0,max:60,value:g,onChange:e=>z({tButtonIconGap:e}),responsive:!0,units:["px","em","%"]}))),"icon"===h&&G().createElement(G().Fragment,null,G().createElement(LF,{value:c,onChange:e=>z({icon:e}),hasToggle:!1}),G().createElement(BV,{label:(0,K.__)("Icon Color","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:I,id:"iconColor"}]}));return Iv(I)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-10px",bg:"white",borderRadius:"full"})):G().createElement(t,null)}},G().createElement(UN,{onChange:e=>z({iconColor:e}),label:(0,K.__)("Color","blockart"),value:I,resetKey:"iconColor"}))),"image"===h&&G().createElement(G().Fragment,null,G().createElement(zF,{onChange:e=>z({image:e}),label:(0,K.__)("Image","blockart"),type:"image",value:m||{}}))),G().createElement(gH,{title:(0,K.__)("Content Size","blockart")},G().createElement(MD,{label:(0,K.__)("Modal Width","blockart"),value:w,onChange:e=>z({width:e}),min:0,max:100,step:5,forceShowUnit:!0,resetAttributeKey:"width",responsive:!0,defaultUnit:"%"}),G().createElement(MD,{onChange:e=>z({maxHeight:e}),label:(0,K.__)("Max Height","blockart"),units:["px","em","%"],responsive:!0,min:0,max:1500,value:_,resetAttributeKey:"maxHeight"}),G().createElement(MD,{onChange:e=>z({height:e}),label:(0,K.__)("Popup Height","blockart"),units:["px","em","%"],responsive:!0,min:130,max:1500,value:x,resetAttributeKey:"height"})),G().createElement(gH,{title:(0,K.__)("Close Button","blockart")},G().createElement(LF,{value:E,onChange:e=>z({closeIcon:e}),hasToggle:!1}),G().createElement(VV,{label:(0,K.__)("Icon Position","blockart"),value:y,onChange:e=>z({closeIconPosition:e}),options:[{label:(0,K.__)("Popup Top Left","blockart"),value:"popup-top-left"},{label:(0,K.__)("Popup Top Right","blockart"),value:"popup-top-right"},{label:(0,K.__)("Window Top Left","blockart"),value:"window-top-left"},{label:(0,K.__)("Window Top Right","blockart"),value:"window-top-right"}]}),G().createElement(MD,{resetAttributeKey:"closeIconSize",label:(0,K.__)("Icon Size","blockart"),min:0,max:50,value:S,onChange:e=>z({closeIconSize:e}),responsive:!0,units:["px","em","%"]}),G().createElement(BV,{label:(0,K.__)("Icon Color","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:R,id:"color"}]}));return Iv(R)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-10px",bg:"white",borderRadius:"full"})):G().createElement(t,null)}},G().createElement(UN,{onChange:e=>z({color:e}),label:(0,K.__)("Color","blockart"),value:R,resetKey:"color"})))),G().createElement(hH,null,"button"===h&&G().createElement(G().Fragment,null,G().createElement(gH,{title:(0,K.__)("Button","blockart")},G().createElement(BV,{label:(0,K.__)("Text Color","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:D,id:"triggerBtnTextColor"}]}));return Iv(D)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-10px",bg:"white",borderRadius:"full"})):G().createElement(t,null)}},G().createElement(UN,{onChange:e=>z({triggerBtnTextColor:e}),label:(0,K.__)("Color","blockart"),value:D,resetKey:"triggerBtnTextColor"})),G().createElement(BV,{label:(0,K.__)("Background","blockart")},G().createElement(bO,{saved:L,resetKey:"triggerButtonBackground",onReset:e=>{z({triggerButtonBackground:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(RV,{value:L,onChange:e=>z({triggerButtonBackground:e})})),d&&"custom"===d&&G().createElement($V,{value:p||{},responsive:!0,label:(0,K.__)("Padding","blockart"),defaultUnit:"px",units:["px","rem","em","%"],onChange:e=>z({buttonPadding:e}),type:"buttonPadding"}),G().createElement(OD,{resetAttributeKey:"triggerBtnTextTypo",value:B,onChange:e=>z({triggerBtnTextTypo:e})}))),"text"===h&&G().createElement(G().Fragment,null,G().createElement(gH,{title:(0,K.__)("Text","blockart")},G().createElement(BV,{label:(0,K.__)("Text Color","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:M,id:"triggerTextColor"}]}));return Iv(M)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-10px",bg:"white",borderRadius:"full"})):G().createElement(t,null)}},G().createElement(UN,{onChange:e=>z({triggerTextColor:e}),label:(0,K.__)("Color","blockart"),value:M,resetKey:"triggerTextColor"})),G().createElement(OD,{resetAttributeKey:"triggerTextTypography",value:T,onChange:e=>z({triggerTextTypography:e})}))),G().createElement(gH,{title:(0,K.__)("Modal","blockart")},G().createElement($V,{label:(0,K.__)("Padding","blockart"),value:C,resetAttributeKey:"padding",onChange:e=>{z({padding:e})},responsive:!0,units:["px","em","%"]}),G().createElement(BV,{label:(0,K.__)("Background","blockart")},G().createElement(bO,{saved:P,resetKey:"modalBackground",onReset:e=>{z({modalBackground:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(RV,{value:P,onChange:e=>z({modalBackground:e})})),G().createElement(OV,{resetAttributeKey:"border",value:A,onChange:e=>z({border:e})})),G().createElement(gH,{title:(0,K.__)("Popup","blockart")},G().createElement(BV,{label:(0,K.__)("Background","blockart")},G().createElement(bO,{saved:O,resetKey:"popupBackground",onReset:e=>{z({popupBackground:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(RV,{value:O,onChange:e=>z({popupBackground:e})})))),G().createElement(fH,null,G().createElement(yH,{blockMargin:o,setAttributes:z,blockPadding:i,blockZIndex:l,cssID:s,className:t,hasblockHTML:!1}),G().createElement(EH,{hideOnDesktop:r,hideOnTablet:n,hideOnMobile:a,setAttributes:z})))},$Z=["blockart/section","blockart/heading","blockart/image","blockart/paragraph","blockart/buttons","blockart/button","blockart/spacing","blockart/column"],ZZ=[["blockart/heading",{text:"Get Started With Modal Builder Block!",typography:{typography:1,size:{desktop:{value:40,unit:"px"}},weight:"500"},alignment:"center"}],["blockart/paragraph",{text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor labore.",alignment:"center"}],["blockart/button",{justification:{desktop:"center"}},[["blockart/button-inner",{text:"Click Now",size:"medium"}]]]],UZ=(0,Zv.withNotices)((e=>{const{attributes:{image:t={},imageSize:r,size:n,style:a,escPress:o,overlayClick:i,modalTrigger:l,triggerText:s,icon:c,tButtonIconPosition:u,buttonIcon:d,buttonText:p,closeIconPosition:m,closeIcon:h,triggerTextTypography:f,cssID:v,className:b},setAttributes:g,noticeUI:y,noticeOperations:E}=e,{clientId:k}=jv(e),{device:w}=ib(),{CopyPasterStyleBlockControl:x}=Yv(),{Style:_}=Fv({blockName:"modal",clientId:k,attributes:e.attributes,device:w}),P=t?.alt?t.alt:"";let C="";if(t?.url){C=t.url;const e=t.sizes,n=r;void 0!==e&&void 0!==e[n]&&(C=e[n].url)}const A=SH()("blockart-button-link",n&&("filled"===a||"outline"===a)&&`is-${n}`,a&&`is-style-${a}`),[S,R]=(0,oz.useState)(!1);return(0,oz.useEffect)((()=>{function e(e){i&&e.target.classList.contains("blockart-modal-popup")&&R(!1)}function t(e){o&&"Escape"===e.key&&R(!1)}return document.addEventListener("keydown",t),document.addEventListener("click",e),()=>{document.removeEventListener("keydown",t),document.removeEventListener("click",e)}}),[o,i]),G().createElement(G().Fragment,null,G().createElement(WZ,{attributes:e.attributes,setAttributes:g}),G().createElement(x,{withBlockControls:!0}),G().createElement(_,null),G().createElement("div",{className:SH()(`blockart-editor-preview-mode-${w.toLowerCase()}`,`blockart-modal-${k}`,"blockart-modal-wrapper",{"modal-open":S}),"data-escpress":o?"enable":"disable","data-overlayclick":i?"enable":"disable"},G().createElement("div",{className:"blockart-editor-wrap"},"text"===l&&G().createElement("div",{className:Cv("blockart-modal-trigger",f?._className),onClick:()=>R(!0)},G().createElement(q.RichText,{tagName:"span",placeholder:(0,K.__)("Add Your Text Here","blockart"),value:s,className:"blockart-modal-text",onChange:e=>g({triggerText:e})})),"icon"===l&&G().createElement("div",{className:Cv("blockart-modal-trigger",f?._className),onClick:()=>R(!0)},""!==c&&G().createElement(cz,{name:c||{}})),"image"===l&&G().createElement("figure",{className:Cv("blockart-modal-trigger",f?._className),onClick:()=>R(!0)},G().createElement("img",{src:C||BF,alt:P,loading:"lazy"})),"button"===l&&G().createElement("div",{className:Cv("blockart-button blockart-button-wrapper blockart-modal-trigger",f?._className),onClick:()=>R(!0)},G().createElement("div",{className:A,rel:"noopener noreferrer"},G().createElement("span",{className:"blockart-modal-content-wrapper"},d&&""!==d.icon&&d.enable&&"before"===u&&G().createElement("span",{className:"blockart-button-icon"},G().createElement(cz,{type:"frontendIcon",name:d.icon})),G().createElement(q.RichText,{tagName:"span",placeholder:(0,K.__)("Click Here","blockart"),value:p,className:"blockart-inline-editing",onChange:e=>g({buttonText:e}),allowedFormats:[]}),d&&""!==d.icon&&d.enable&&"after"===u&&G().createElement("span",{className:"blockart-button-icon"},G().createElement(cz,{type:"frontendIcon",name:d.icon})))))),G().createElement("div",{className:Cv("blockart-modal-popup",`blockart-block-${k}`,{active:S})},G().createElement("div",{className:"blockart-modal-popup-wrap"},G().createElement("div",{className:"blockart-modal-popup-content"},G().createElement(q.InnerBlocks,{template:ZZ,allowedBlocks:$Z,renderAppender:q.InnerBlocks.DefaultBlockAppender})),("window-top-left"===m||"window-top-right"===m||"popup-top-left"===m||"popup-top-right"===m)&&G().createElement("div",{className:Cv("blockart-modal-popup-close",m),onClick:()=>R(!1)},""!==h&&G().createElement(cz,{name:h||{}}))))))})),GZ=jZ.name,qZ={...jZ,icon:G().createElement(cz,{type:"blockIcon",name:"modal",size:24}),edit:UZ,save:e=>{const{clientId:t,modalTrigger:r,triggerText:n,icon:a,iconImage:o,image:i,imageSize:l,buttonText:s,buttonIcon:c,size:u,style:d,tButtonIconPosition:p,closeIconPosition:m,closeIcon:h,triggerTextTypography:f}=e.attributes,v=o&&o?.alt?o?.alt:"";let b="";if(i?.url){b=i.url;const e=i.sizes,t=l;void 0!==e&&void 0!==e[t]&&(b=e[t].url)}const g=Cv("blockart-button-link",u&&("filled"===d||"outline"===d)&&`is-${u}`,d&&`is-style-${d}`);return G().createElement("div",{className:Cv("blockart-modal-wrapper",`blockart-modal-${t}`)},G().createElement(G().Fragment,null,"text"===r&&G().createElement("div",{className:Cv("blockart-modal-trigger",f?._className),"data-micromodal-trigger":`blockart-modal-${t}`},G().createElement(q.RichText.Content,{tagName:"span",value:n})),"icon"===r&&G().createElement("div",{className:Cv("blockart-modal-trigger",f?._className),"data-micromodal-trigger":`blockart-modal-${t}`},""!==a&&G().createElement(cz,{name:a||{}})),"image"===r&&G().createElement("div",{className:Cv("blockart-modal-trigger",f?._className),"data-micromodal-trigger":`blockart-modal-${t}`},G().createElement("img",{src:b,alt:v})),"button"===r&&G().createElement("div",{className:Cv("blockart-button blockart-button-wrapper blockart-modal-trigger",f?._className)},G().createElement("button",{className:g,"data-micromodal-trigger":`blockart-modal-${t}`},c&&""!==c.icon&&c.enable&&"before"===p&&G().createElement("span",{className:"blockart-button-icon"},G().createElement(cz,{type:"frontendIcon",name:c.icon})),G().createElement(q.RichText.Content,{className:"blockart-inline-editing",tagName:"span",placeholder:(0,K.__)("Click Here","blockart"),value:s}),c&&""!==c.icon&&c.enable&&"after"===p&&G().createElement("span",{className:"blockart-button-icon"},G().createElement(cz,{type:"frontendIcon",name:c.icon}))))),G().createElement("div",{className:"blockart-modal-popup active",id:`blockart-modal-${t}`,"aria-hidden":"true"},G().createElement("div",{className:"blockart-modal-overlay","data-micromodal-close":!0},G().createElement("div",{className:"blockart-modal-popup-wrap"},G().createElement("div",{className:"blockart-modal-popup-content"},G().createElement(q.InnerBlocks.Content,null)),("window-top-left"===m||"window-top-right"===m||"popup-top-left"===m||"popup-top-right"===m)&&G().createElement("div",{className:Cv("blockart-modal-popup-close",m),"data-micromodal-close":!0},""!==h&&G().createElement(cz,{name:h||{}}))))))}},KZ=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","name":"blockart/notice","title":"Notice","description":"Add different inline notices into your page.","keywords":["notice","text","message"],"category":"blockart","textdomain":"blockart","supports":{"className":false,"customClassName":false},"example":{"attributes":{}},"attributes":{"clientId":{"type":"string"},"isDismissible":{"type":"boolean","default":true},"dismissIconPosition":{"type":"string","default":"right"},"dismissVertical":{"type":"number","default":20,"style":[{"selector":"{{WRAPPER}} svg.dismiss {top: {{VALUE}}px; }"}]},"dismissHorizontal":{"type":"number","default":20,"style":[{"condition":[{"key":"dismissIconPosition","relation":"==","value":"right"}],"selector":"{{WRAPPER}} svg.dismiss {right: {{VALUE}}px; }"},{"condition":[{"key":"dismissIconPosition","relation":"==","value":"left"}],"selector":"{{WRAPPER}} svg.dismiss {left: {{VALUE}}px; }"}]},"enableCookie":{"type":"boolean","default":false},"hideOnDismiss":{"type":"number","default":-1},"border":{"type":"object","default":{"border":1,"radius":{"desktop":{"lock":true}},"size":{"desktop":{"lock":false,"top":0,"right":0,"bottom":0,"left":5,"unit":"px"}},"color":"#2563eb","type":"solid"},"style":[{"selector":"{{WRAPPER}}"}]},"color":{"type":"string","style":[{"selector":".blockart-notice{{WRAPPER}} {color: {{VALUE}}; }"}]},"hoverColor":{"type":"string","style":[{"selector":".blockart-notice{{WRAPPER}}:hover {color: {{VALUE}}; }"}]},"background":{"type":"object","default":{"background":1,"color":"#FAFBFF"},"style":[{"selector":".blockart-notice{{WRAPPER}}"}]},"hoverBackground":{"type":"object","default":{"background":1},"style":[{"selector":".blockart-notice{{WRAPPER}}:hover"}]},"borderColor":{"type":"string","style":[{"selector":"{{WRAPPER}} {border-color: {{VALUE}}; }"}]},"borderHoverColor":{"type":"string","style":[{"selector":"{{WRAPPER}}:hover {border-color: {{VALUE}}; }"}]},"blockPadding":{"type":"object","default":{"dimension":1,"desktop":{"lock":true,"top":12,"right":12,"bottom":12,"left":12}},"style":[{"selector":"{{WRAPPER}} { padding: {{VALUE}}; }"}]},"blockMargin":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { margin: {{VALUE}}; }"}]},"blockZIndex":{"type":"number","style":[{"selector":"{{WRAPPER}} { z-index: {{VALUE}}; }"}]},"cssID":{"type":"string"},"animation":{"type":"string"},"interaction":{"type":"object"},"position":{"type":"object"},"hideOnDesktop":{"type":"boolean","style":[{"selector":"@media (min-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnTablet":{"type":"boolean","style":[{"selector":"@media (min-width:48em) and (max-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} { display: none; } }"}]},"colReverseOnTablet":{"type":"boolean","style":[{"selector":"@media (max-width:62em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"colReverseOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"blockCSS":{"type":"string"},"className":{"type":"string"}},"style":"blockart-blocks","editorScript":"blockart-blocks","editorStyle":"blockart-blocks-editor","viewScript":"blockart-frontend-notice"}'),{v4:YZ}=r(6008),XZ=e=>{const{attributes:{color:t,hoverColor:r,background:n,hoverBackground:a,blockZIndex:o,blockPadding:i,blockMargin:l,cssID:s,hideOnDesktop:c,hideOnTablet:u,hideOnMobile:d,className:p,isDismissible:m,dismissIconPosition:h,dismissVertical:f,dismissHorizontal:v,enableCookie:b,hideOnDismiss:g,border:y,borderColor:E,borderHoverColor:k},setAttributes:w}=e;return G().createElement(G().Fragment,null,G().createElement(bH,null),G().createElement(mH,null,G().createElement(gH,{title:(0,K.__)("General","blockart"),initialOpen:!0},G().createElement(jF,{checked:null!=m&&m,label:(0,K.__)("Allow to Dismiss","blockart"),onChange:()=>w({isDismissible:!m})}),m&&G().createElement(jF,{checked:null!=b&&b,label:(0,K.__)("Enable Cookies","blockart"),onChange:()=>w({enableCookie:!b,clientId:YZ()})}),m&&b&&G().createElement(MD,{label:(0,K.__)("Show Closed Notice After ( Days )","blockart"),value:g||0,min:-1,max:365,step:1,onChange:e=>w({hideOnDismiss:e,clientId:YZ()}),resetAttributeKey:"hideOnDismiss"})),m&&G().createElement(G().Fragment,null,G().createElement(gH,{title:(0,K.__)("Icon","blockart")},G().createElement(HF,{value:h,onChange:e=>{w({dismissIconPosition:e})},label:(0,K.__)("Position","blockart"),resetAttributeKey:"dismissIconPosition",groupProps:{sx:{".chakra-button":{minH:"32px",svg:{w:6,h:6}}}}},G().createElement(FF,{value:"left"},(0,K.__)("Left","blockart")),G().createElement(FF,{value:"right"},(0,K.__)("Right","blockart"))),G().createElement(Ba,{py:1,mb:"0 !important"},G().createElement(MD,{label:(0,K.__)("Vertical Position","blockart"),value:f||0,min:0,max:200,step:1,onChange:e=>w({dismissVertical:e}),resetAttributeKey:"dismissVertical"})),G().createElement(MD,{label:(0,K.__)("Horizontal Position","blockart"),value:v||0,min:0,max:200,step:1,onChange:e=>w({dismissHorizontal:e}),resetAttributeKey:"dismissHorizontal"})))),G().createElement(hH,null,G().createElement(gH,{title:(0,K.__)("Color","blockart"),initialOpen:!0},G().createElement(BV,{label:(0,K.__)("Text Color","blockart"),trigger:e=>{const n=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:t,id:"color"},{color:r,id:"hoverColor"}]}));return Iv(t)||Iv(r)?G().createElement(Ba,{position:"relative"},G().createElement(n,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-10px",bg:"white",borderRadius:"full"})):G().createElement(n,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart")),G().createElement(Da,null,(0,K.__)("Hover","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:t,resetKey:"color",onReset:e=>{w({color:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:t,onChange:e=>w({color:e})})),G().createElement(Fa,null,G().createElement(bO,{saved:r,resetKey:"hoverColor",onReset:e=>{w({hoverColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:r,onChange:e=>w({hoverColor:e})})))))),G().createElement(gH,{title:(0,K.__)("Background","blockart")},G().createElement(BV,{label:(0,K.__)("Type","blockart")},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart")),G().createElement(Da,null,(0,K.__)("Hover","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:n,resetKey:"background",onReset:e=>{w({background:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(RV,{value:n,onChange:e=>w({background:e})})),G().createElement(Fa,null,G().createElement(bO,{saved:a,resetKey:"hoverBackground",onReset:e=>{w({hoverBackground:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(RV,{value:a,onChange:e=>w({hoverBackground:e})})))))),G().createElement(gH,{title:(0,K.__)("Border","blockart")},G().createElement(OV,{value:y,onChange:e=>w({border:e}),resetAttributeKey:"border"}),G().createElement(BV,{label:(0,K.__)("Border Color","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:E,id:"borderColor"},{color:k,id:"borderHoverColor"}]}));return Iv(E)||Iv(k)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-10px",bg:"white",borderRadius:"full"})):G().createElement(t,null)}},G().createElement(Oa,{position:"relative",size:"sm"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart")),G().createElement(Da,null,(0,K.__)("Hover","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:E,resetKey:"borderColor",onReset:e=>{w({borderColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{onChange:e=>w({borderColor:e}),label:(0,K.__)("Color","blockart"),value:E,resetKey:"borderColor"})),G().createElement(Fa,null,G().createElement(bO,{saved:k,resetKey:"borderHoverColor",onReset:e=>{w({borderHoverColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:k,onChange:e=>w({borderHoverColor:e})}))))))),G().createElement(fH,null,G().createElement(yH,{blockMargin:l,setAttributes:w,blockPadding:i,blockZIndex:o,cssID:s,className:p,hasblockHTML:!1}),G().createElement(EH,{hideOnDesktop:c,hideOnTablet:u,hideOnMobile:d,setAttributes:w})))},QZ=KZ.name,JZ={...KZ,icon:G().createElement(cz,{type:"blockIcon",name:"notice",size:24}),edit:e=>{const{attributes:{cssID:t,className:r,isDismissible:n,dismissIconPosition:a},setAttributes:o}=e,{clientId:i}=jv(e),{device:l}=ib(),{CopyPasterStyleBlockControl:s}=Yv(),{Style:c}=Fv({blockName:"notice",clientId:i,attributes:e.attributes,device:l}),u=(0,q.useInnerBlocksProps)({},{template:[["blockart/heading",{text:"Notice title",typography:{typography:1,size:{desktop:{value:"26",unit:"px"}},weight:"500"}}],["blockart/paragraph",{text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",typography:{typography:1,size:{desktop:{value:"16",unit:"px"}}}}],["blockart/button",{},[["blockart/button-inner",{text:"Buy Now",size:"medium"}]]]],templateLock:!1,templateInsertUpdatesSelection:!0});return G().createElement(G().Fragment,null,G().createElement(XZ,{attributes:e.attributes,setAttributes:o}),G().createElement(s,{withBlockControls:!0}),G().createElement(c,null),G().createElement("div",{id:t,className:Cv(`blockart-notice blockart-notice-${i} dismiss-icon-align-${a}`,r)},G().createElement("div",u),n&&G().createElement(LH,{name:"close",size:24,className:"dismiss"})))},save:e=>{const{attributes:{cssID:t,clientId:r,className:n,isDismissible:a,enableCookie:o,hideOnDismiss:i}}=e,l=q.useInnerBlocksProps.save();return G().createElement("div",{id:t,className:Cv(`blockart-notice blockart-frontend blockart-notice-${r}`,a?"hide-on-dismiss":"",n),"data-id":r},G().createElement("div",l),a&&G().createElement(LH,{name:"close",size:24,className:"dismiss","data-hide":o?i:void 0}))}},eU=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","name":"blockart/paragraph","title":"Paragraph","description":"Customize typography and style paragraphs with multiple setting options.","keywords":["paragraph","text"],"category":"blockart","textdomain":"blockart","supports":{"className":false,"customClassName":false},"example":{"attributes":{}},"attributes":{"clientId":{"type":"string"},"expiryDate":{"type":"string"},"text":{"type":"string"},"alignment":{"type":"object","style":[{"selector":".blockart-paragraph{{WRAPPER}} {text-align: {{VALUE}}; }"}]},"typography":{"type":"object","default":{"typography":1},"style":[{"selector":".blockart-paragraph{{WRAPPER}}"}]},"color":{"type":"string","style":[{"selector":".blockart-paragraph{{WRAPPER}} {color: {{VALUE}}; }"}]},"hoverColor":{"type":"string","style":[{"selector":".blockart-paragraph{{WRAPPER}}:hover {color: {{VALUE}}; }"}]},"background":{"type":"object","default":{"background":1},"style":[{"selector":".blockart-paragraph{{WRAPPER}}"}]},"hoverBackground":{"type":"object","default":{"background":1},"style":[{"selector":".blockart-paragraph{{WRAPPER}}:hover"}]},"margin":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":".blockart-paragraph{{WRAPPER}} { margin: {{VALUE}}; }"}]},"blockMargin":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":".blockart-paragraph{{WRAPPER}} { margin: {{VALUE}}; }"}]},"blockPadding":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { padding: {{VALUE}}; }"}]},"blockZIndex":{"type":"number","style":[{"selector":"{{WRAPPER}} { z-index: {{VALUE}}; }"}]},"cssID":{"type":"string"},"animation":{"type":"string"},"interaction":{"type":"object"},"position":{"type":"object"},"hideOnDesktop":{"type":"boolean","style":[{"selector":"@media (min-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnTablet":{"type":"boolean","style":[{"selector":"@media (min-width:48em) and (max-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} { display: none; } }"}]},"colReverseOnTablet":{"type":"boolean","style":[{"selector":"@media (max-width:62em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"colReverseOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"blockCSS":{"type":"string"},"className":{"type":"string"}},"style":"blockart-blocks","editorScript":"blockart-blocks","editorStyle":"blockart-blocks-editor"}'),tU=e=>{const{attributes:{color:t,hoverColor:r,background:n,hoverBackground:a,alignment:o,typography:i,blockZIndex:l,blockPadding:s,blockMargin:c,cssID:u,hideOnDesktop:d,hideOnTablet:p,hideOnMobile:m,className:h},setAttributes:f}=e;return G().createElement(G().Fragment,null,G().createElement(bH,null),G().createElement(mH,null,G().createElement(gH,{title:(0,K.__)("Properties","blockart"),initialOpen:!0},G().createElement(HF,{value:o,onChange:e=>{f({alignment:e})},label:(0,K.__)("Text Alignment","blockart"),responsive:!0,resetAttributeKey:"alignment",groupProps:{sx:{".chakra-button":{minH:"32px","&[data-active]":{svg:{fill:"#fff !important"}}}}}},G().createElement(FF,{value:"left"},G().createElement(qM,null)),G().createElement(FF,{value:"center"},G().createElement(YM,null)),G().createElement(FF,{value:"right"},G().createElement(KM,null)),G().createElement(FF,{value:"justify"},G().createElement(XM,null))))),G().createElement(hH,null,G().createElement(gH,{title:(0,K.__)("Text","blockart"),initialOpen:!0},G().createElement(BV,{label:(0,K.__)("Text Color","blockart"),trigger:e=>{const n=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:t,id:"color"},{color:r,id:"hoverColor"}]}));return Iv(t)||Iv(r)?G().createElement(Ba,{position:"relative"},G().createElement(n,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-10px",bg:"white",borderRadius:"full"})):G().createElement(n,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart")),G().createElement(Da,null,(0,K.__)("Hover","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:t,resetKey:"color",onReset:e=>{f({color:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:t,onChange:e=>f({color:e})})),G().createElement(Fa,null,G().createElement(bO,{saved:r,resetKey:"hoverColor",onReset:e=>{f({hoverColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:r,onChange:e=>f({hoverColor:e})}))))),G().createElement(OD,{value:i,onChange:e=>f({typography:e}),resetAttributeKey:"typography"})),G().createElement(gH,{title:(0,K.__)("Background","blockart")},G().createElement(BV,{label:(0,K.__)("Type","blockart")},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart")),G().createElement(Da,null,(0,K.__)("Hover","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:n,resetKey:"background",onReset:e=>{f({background:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(RV,{value:n,onChange:e=>f({background:e})})),G().createElement(Fa,null,G().createElement(bO,{saved:a,resetKey:"hoverBackground",onReset:e=>{f({hoverBackground:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(RV,{value:a,onChange:e=>f({hoverBackground:e})}))))))),G().createElement(fH,null,G().createElement(yH,{blockMargin:c,setAttributes:f,blockPadding:s,blockZIndex:l,cssID:u,className:h,hasblockHTML:!1}),G().createElement(EH,{hideOnDesktop:d,hideOnTablet:p,hideOnMobile:m,setAttributes:f})))},rU=eU.name,nU={...eU,icon:G().createElement(cz,{type:"blockIcon",name:"paragraph",size:24}),edit:e=>{const{attributes:{text:t,typography:r,cssID:n,className:a},setAttributes:o}=e,{clientId:i}=jv(e),{device:l}=ib(),{CopyPasterStyleBlockControl:s}=Yv(),{Style:c}=Fv({blockName:"paragraph",clientId:i,attributes:e.attributes,device:l});return G().createElement(G().Fragment,null,G().createElement(tU,{attributes:e.attributes,setAttributes:o}),G().createElement(s,{withBlockControls:!0}),G().createElement(c,null),G().createElement(q.RichText,{id:n||null,className:Cv(`blockart-paragraph blockart-paragraph-${i}`,r?._className,a),identifier:"content",tagName:"p",onSplit:t=>{let r;return t&&(r={...e.attributes,text:t}),(0,$.createBlock)("blockart/paragraph",r)},onMerge:e.mergeBlocks,onReplace:e.onReplace,onRemove:e.onRemove,"data-empty":!t,placeholder:(0,K.__)("This is Paragraph.","blockart"),value:t,onChange:e=>{o({text:e})}}))},save:e=>{const{attributes:{cssID:t,clientId:r,className:n,text:a,typography:o}}=e;return q.RichText.isEmpty(a)?null:G().createElement("p",{id:null!=t?t:void 0,className:Cv(`blockart-paragraph blockart-paragraph-${r}`,o?._className,n)},G().createElement(q.RichText.Content,{value:a}))}},aU=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","name":"blockart/price","title":"Price","keywords":["price list","price"],"category":"blockart","textdomain":"blockart","supports":{"className":false,"customClassName":false},"parent":["blockart/price-list"],"example":{"attributes":{}},"attributes":{"clientId":{"type":"string"},"text":{"type":"string"},"color":{"type":"string","style":[{"selector":"{{WRAPPER}} {color: {{VALUE}}; } {{WRAPPER}} .blockart-price {color: {{VALUE}}; }"}]},"hoverColor":{"type":"string","style":[{"selector":"{{WRAPPER}}:hover {color: {{VALUE}}; } {{WRAPPER}} .blockart-price:hover {color: {{VALUE}}; }"}]},"blockMargin":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { margin: {{VALUE}}; }"}]},"blockPadding":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { padding: {{VALUE}}; }"}]},"blockZIndex":{"type":"number","style":[{"selector":"{{WRAPPER}} { z-index: {{VALUE}}; }"}]},"cssID":{"type":"string"},"animation":{"type":"string"},"interaction":{"type":"object"},"position":{"type":"object"},"hideOnDesktop":{"type":"boolean","style":[{"selector":"@media (min-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnTablet":{"type":"boolean","style":[{"selector":"@media (min-width:48em) and (max-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} { display: none; } }"}]},"colReverseOnTablet":{"type":"boolean","style":[{"selector":"@media (max-width:62em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"colReverseOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"blockCSS":{"type":"string"},"className":{"type":"string"},"buttonAlignment":{"type":"string","default":"right","style":[{"selector":"{{WRAPPER}} {text-align: {{VALUE}}; }"}]},"vAlignment":{"type":"string","default":"center","style":[{"selector":"{{WRAPPER}} {align-items: {{VALUE}}; }"}]},"priceUnit":{"type":"string","default":"$"},"price":{"type":"string","default":"149"},"priceSuffix":{"type":"string","default":".5"},"timeSpan":{"type":"string","default":"/year"},"typography":{"type":"object","default":{"typography":1},"style":[{"selector":"{{WRAPPER}}, {{WRAPPER}} .blockart-price"}]},"priceMarkup":{"type":"string","default":"h3"},"decimalMarkup":{"type":"string","default":"span"},"spanMarkup":{"type":"string","default":"span"},"unitMarkup":{"type":"string","default":"span"}},"style":"blockart-blocks","editorScript":"blockart-blocks","editorStyle":"blockart-blocks-editor"}'),oU=[{label:(0,K.__)("Heading 1","blockart"),value:"h1"},{label:(0,K.__)("Heading 2","blockart"),value:"h2"},{label:(0,K.__)("Heading 3","blockart"),value:"h3"},{label:(0,K.__)("Heading 4","blockart"),value:"h4"},{label:(0,K.__)("Heading 5","blockart"),value:"h5"},{label:(0,K.__)("Heading 6","blockart"),value:"h6"},{label:(0,K.__)("Paragraph","blockart"),value:"p"},{label:(0,K.__)("Span","blockart"),value:"span"},{label:(0,K.__)("Div","blockart"),value:"div"}],iU=e=>{const{attributes:{blockZIndex:t,blockPadding:r,cssID:n,hideOnDesktop:a,hideOnTablet:o,hideOnMobile:i,className:l,typography:s,color:c,hoverColor:u,unitMarkup:d,priceMarkup:p,decimalMarkup:m,spanMarkup:h,blockMargin:f},setAttributes:v}=e;return G().createElement(G().Fragment,null,G().createElement(bH,null),G().createElement(mH,null,G().createElement(gH,{title:(0,K.__)("Title","blockart"),initialOpen:!0},G().createElement(VV,{options:oU,onChange:e=>v({unitMarkup:e}),value:d,label:(0,K.__)("HTML Markup (Unit)","blockart")}),G().createElement(VV,{options:oU,onChange:e=>v({priceMarkup:e}),value:p,label:(0,K.__)("HTML Markup (Price)","blockart")}),G().createElement(VV,{options:oU,onChange:e=>v({decimalMarkup:e}),value:m,label:(0,K.__)("HTML Markup (Decimal Price)","blockart")}),G().createElement(VV,{options:oU,onChange:e=>v({spanMarkup:e}),value:h,label:(0,K.__)("HTML Markup (Time)","blockart")}))),G().createElement(hH,null,G().createElement(gH,{title:(0,K.__)("Text","blockart")},G().createElement(OD,{value:s,onChange:e=>v({typography:e}),resetAttributeKey:"typography"})),G().createElement(gH,{title:(0,K.__)("Color","blockart")},G().createElement(BV,{label:(0,K.__)("Text Color","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:c,id:"color"},{color:u,id:"hoverColor"}]}));return Iv(c)||Iv(u)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-10px",bg:"white",borderRadius:"full"})):G().createElement(t,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative",size:"sm"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart")),G().createElement(Da,null,(0,K.__)("Hover","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:c,resetKey:"color",onReset:e=>{v({color:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:c,onChange:e=>v({color:e})})),G().createElement(Fa,null,G().createElement(bO,{saved:u,resetKey:"hoverColor",onReset:e=>{v({hoverColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:u,onChange:e=>v({hoverColor:e})}))))))),G().createElement(fH,null,G().createElement(yH,{blockMargin:f,setAttributes:v,blockPadding:r}),G().createElement(EH,{hideOnDesktop:a,hideOnTablet:o,hideOnMobile:i,setAttributes:v})))},lU=aU.name,sU={...aU,icon:G().createElement(cz,{type:"blockIcon",name:"priceList",size:24}),edit:e=>{const{attributes:{priceUnit:t,price:r,priceSuffix:n,timeSpan:a,priceMarkup:o,spanMarkup:i,decimalMarkup:l,unitMarkup:s,className:c},setAttributes:u}=e,{clientId:d}=jv(e),{device:p}=ib(),{CopyPasterStyleBlockControl:m}=Yv(),{Style:h}=Fv({blockName:"price",clientId:d,attributes:e.attributes,device:p});return G().createElement(G().Fragment,null,G().createElement(iU,{attributes:e.attributes,setAttributes:u}),G().createElement(m,{withBlockControls:!0}),G().createElement(h,null),G().createElement("div",{className:Cv(`blockart-price blockart-price-${d}`,"blockart-price-wrapper",c)},G().createElement(q.RichText,{tagName:s,value:t,className:"blockart-price-unit",placeholder:(0,K.__)("Unit","blockart"),onChange:e=>u({unitMarkup:e})}),G().createElement(q.RichText,{tagName:o,value:r,className:"blockart-price",placeholder:(0,K.__)("Price","blockart"),onChange:e=>u({priceMarkup:e})}),G().createElement("span",{className:"blockart-suffix-wrapper"},G().createElement(q.RichText,{tagName:l,value:n,className:"blockart-price-suffix",placeholder:(0,K.__)("Decimal","blockart"),onChange:e=>u({priceSuffix:e})}),G().createElement(q.RichText,{tagName:i,value:a,className:"blockart-price-span",placeholder:(0,K.__)("Time","blockart"),onChange:e=>u({timeSpan:e})}))))},save:e=>{const{attributes:{clientId:t,price:r,priceMarkup:n,unitMarkup:a,decimalMarkup:o,spanMarkup:i,priceSuffix:l,priceUnit:s,timeSpan:c,className:u}}=e;return G().createElement("div",{className:Cv(`blockart-price blockart-price-${t}`,"blockart-price-wrapper",u)},G().createElement(q.RichText.Content,{tagName:a,value:s,className:"blockart-price-unit",placeholder:(0,K.__)("Unit","blockart")}),G().createElement(q.RichText.Content,{tagName:n,value:r,className:"blockart-price",placeholder:(0,K.__)("Price","blockart")}),G().createElement("span",{className:"blockart-suffix-wrapper"},G().createElement(q.RichText.Content,{tagName:o,value:l,className:"blockart-price-suffix"}),G().createElement(q.RichText.Content,{tagName:i,value:c,className:"blockart-price-span"})))}},cU=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","name":"blockart/price-list","title":"Price Lists","description":"Price Lists.","keywords":["price list","price"],"category":"blockart","textdomain":"blockart","supports":{"className":false,"customClassName":false},"example":{"attributes":{}},"attributes":{"clientId":{"type":"string"},"columns":{"type":"number"},"typography":{"type":"object","default":{"typography":1},"style":[{"selector":".blockart-price-list{{WRAPPER}}"}]},"color":{"type":"string","style":[{"selector":".blockart-price-list{{WRAPPER}} {color: {{VALUE}}; }"}]},"hoverColor":{"type":"string","style":[{"selector":".blockart-price-list{{WRAPPER}}:hover {color: {{VALUE}}; }"}]},"background":{"type":"object","default":{"background":1},"style":[{"selector":".blockart-price-list{{WRAPPER}}"}]},"hoverBackground":{"type":"object","default":{"background":1},"style":[{"selector":".blockart-price-list{{WRAPPER}}:hover"}]},"margin":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":".blockart-price-list{{WRAPPER}} { margin: {{VALUE}}; }"}]},"padding":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":".blockart-price-list{{WRAPPER}} { padding: {{VALUE}}; }"}]},"blockMargin":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { margin: {{VALUE}}; }"}]},"blockPadding":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { padding: {{VALUE}}; }"}]},"blockZIndex":{"type":"number","style":[{"selector":"{{WRAPPER}} { z-index: {{VALUE}}; }"}]},"cssID":{"type":"string"},"animation":{"type":"string"},"interaction":{"type":"object"},"position":{"type":"object"},"hideOnDesktop":{"type":"boolean","style":[{"selector":"@media (min-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnTablet":{"type":"boolean","style":[{"selector":"@media (min-width:48em) and (max-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} { display: none; } }"}]},"colReverseOnTablet":{"type":"boolean","style":[{"selector":"@media (max-width:62em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"colReverseOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"blockCSS":{"type":"string"},"className":{"type":"string"},"countMenuItem":{"type":"number","default":3},"alignment":{"type":"string","default":"center","style":[{"selector":"{{WRAPPER}} .blockart-price-item {align-items: {{VALUE}}; text-align: {{VALUE}} } {{WRAPPER}} .blockart-price-item .blockart-price {align-items: {{VALUE}}; text-align: {{VALUE}}; justify-content: {{VALUE}}; }"}]},"imgPosition":{"type":"string","default":"bottom"},"separator":{"type":"boolean","default":false},"presets":{"type":"string"}},"style":"blockart-blocks","editorScript":"blockart-blocks","editorStyle":"blockart-blocks-editor"}'),uU=e=>{const{attributes:{alignment:t,padding:r,margin:n,typography:a,columns:o,presets:i,blockZIndex:l,blockPadding:s,blockMargin:c,cssID:u,hideOnDesktop:d,hideOnTablet:p,hideOnMobile:m,className:h},setAttributes:f}=e;return G().createElement(G().Fragment,null,G().createElement(bH,null),G().createElement(mH,null,G().createElement(gH,{title:(0,K.__)("General","blockart"),initialOpen:!0},G().createElement(MD,{label:(0,K.__)("Columns","blockart"),value:o,min:1,max:3,step:1,onChange:e=>f({columns:e}),resetAttributeKey:"columns"}),G().createElement(HF,{value:t,onChange:e=>{f({alignment:e})},label:(0,K.__)("Text Alignment","blockart"),responsive:!0,resetAttributeKey:"alignment",groupProps:{sx:{".chakra-button":{minH:"32px","&[data-active]":{svg:{fill:"#fff !important"}}}}}},G().createElement(FF,{value:"left"},G().createElement(qM,null)),G().createElement(FF,{value:"center"},G().createElement(YM,null)),G().createElement(FF,{value:"right"},G().createElement(KM,null)))),G().createElement(gH,{title:(0,K.__)("Design","blockart"),initialOpen:!0},G().createElement(tj,{label:(0,K.__)("Preset","blockart")},G().createElement(Ba,{borderTop:"1px solid #E0E0E0"},G().createElement(HF,{responsive:!1,value:i,onChange:e=>f({presets:e}),label:(0,K.__)("Preset","blockart"),groupProps:mS},[{label:(0,K.__)("Preset 1","blockart"),value:"price_preset_1",icon:jI},{label:(0,K.__)("Preset 2","blockart"),value:"price_preset_2",icon:WI}].map((e=>G().createElement(FF,{key:e.value,value:e.value},G().createElement(e.icon,null),e.label)))))))),G().createElement(hH,null,G().createElement(gH,{title:(0,K.__)("Text","blockart")},G().createElement(OD,{value:a,onChange:e=>f({typography:e})})),G().createElement(gH,{title:(0,K.__)("Spacing","blockart")},G().createElement($V,{value:r||{},responsive:!0,label:(0,K.__)("Padding","blockart"),defaultUnit:"px",units:["px","rem","em","%"],onChange:e=>f({padding:e}),type:"padding",resetAttributeKey:"padding"}),G().createElement($V,{value:n||{},responsive:!0,label:(0,K.__)("Margin","blockart"),defaultUnit:"px",units:["px","rem","em","%"],onChange:e=>f({margin:e}),type:"margin",resetAttributeKey:"margin"}))),G().createElement(fH,null,G().createElement(yH,{blockMargin:c,setAttributes:f,blockPadding:s}),G().createElement(EH,{hideOnDesktop:d,hideOnTablet:p,hideOnMobile:m,setAttributes:f})))},dU=["blockart/price-list-child"],pU=e=>{const t=[];for(let r=0;r<e;r++)t.push(["blockart/price-list-child",{id:r+1}]);return t},mU=cU.name,hU={...cU,icon:G().createElement(cz,{type:"blockIcon",name:"priceList",size:24}),edit:e=>{const{attributes:{countMenuItem:t,presets:r,columns:n,className:a,cssID:o},setAttributes:i}=e,{clientId:l}=jv(e),{device:s}=ib(),{CopyPasterStyleBlockControl:c}=Yv(),{Style:u}=Fv({blockName:"price-list",clientId:l,attributes:e.attributes,device:s}),d=(0,q.useBlockProps)({className:Cv(`blockart-price-list blockart-price-list-${l}`,n?`blockart-columns-${n}`:"",r?`blockart-${r}`:"",a)}),p=(0,q.useInnerBlocksProps)(d,{template:pU(t),templateLock:"all",allowedBlocks:dU,templateInsertUpdatesSelection:!0,renderAppender:q.InnerBlocks.DefaultBlockAppender});return G().createElement(G().Fragment,null,G().createElement(uU,{attributes:e.attributes,setAttributes:i}),G().createElement(q.BlockControls,{group:"block"},G().createElement(Zv.ToolbarGroup,null,G().createElement(Zv.Button,{label:(0,K.__)("Add Button","blockart"),onClick:()=>{const{getBlocks:t}=(0,Hv.select)("core/block-editor"),{replaceInnerBlocks:r}=(0,Hv.dispatch)("core/block-editor"),n=[...t(e.clientId)];n.push((0,$.createBlock)("blockart/price-list-child")),r(e.clientId,n,!1)},icon:"plus"}))),G().createElement(c,{withBlockControls:!0}),G().createElement(u,null),G().createElement("div",p))},save:e=>{const{attributes:{cssID:t,clientId:r,className:n,columns:a,presets:o}}=e;return G().createElement("div",{id:null!=t?t:void 0,className:Cv(`blockart-price-list blockart-price-list-${r}`,a?`blockart-columns-${a}`:"",o?`blockart-${o}`:"",n)},G().createElement(q.InnerBlocks.Content,null))}},fU=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","name":"blockart/price-list-child","title":"Price List Child","keywords":["price list","price"],"category":"blockart","textdomain":"blockart","supports":{"className":false,"customClassName":false},"parent":["blockart/price-list"],"example":{"attributes":{}},"attributes":{"clientId":{"type":"string"},"blockMargin":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { margin: {{VALUE}}; }"}]},"blockPadding":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { padding: {{VALUE}}; }"}]},"blockZIndex":{"type":"number","style":[{"selector":"{{WRAPPER}} { z-index: {{VALUE}}; }"}]},"cssID":{"type":"string"},"animation":{"type":"string"},"interaction":{"type":"object"},"position":{"type":"object"},"hideOnDesktop":{"type":"boolean","style":[{"selector":"@media (min-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnTablet":{"type":"boolean","style":[{"selector":"@media (min-width:48em) and (max-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} { display: none; } }"}]},"colReverseOnTablet":{"type":"boolean","style":[{"selector":"@media (max-width:62em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"colReverseOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"blockCSS":{"type":"string"},"className":{"type":"string"},"separator":{"type":"boolean","default":false}},"style":"blockart-blocks","editorScript":"blockart-blocks","editorStyle":"blockart-blocks-editor"}'),vU=e=>{const{attributes:{blockZIndex:t,blockPadding:r,cssID:n,hideOnDesktop:a,hideOnTablet:o,hideOnMobile:i,className:l,separator:s,blockMargin:c},setAttributes:u}=e;return G().createElement(G().Fragment,null,G().createElement(bH,null),G().createElement(mH,null,G().createElement(gH,{title:(0,K.__)("Title","blockart"),initialOpen:!0},G().createElement(jF,{label:(0,K.__)("Separator","blockart"),checked:s,onChange:()=>u({separator:!s})}))),G().createElement(fH,null,G().createElement(yH,{blockMargin:c,setAttributes:u,blockPadding:r}),G().createElement(EH,{hideOnDesktop:a,hideOnTablet:o,hideOnMobile:i,setAttributes:u})))},bU=["blockart/price, blockart/heading, blockart/paragraph, blockart/button"],gU=[["blockart/price"],["blockart/heading"],["blockart/paragraph"],["blockart/button"]],yU=fU.name,EU={...fU,icon:G().createElement(cz,{type:"blockIcon",name:"priceList",size:24}),edit:e=>{const{attributes:{className:t,separator:r},setAttributes:n}=e,{clientId:a}=jv(e),{device:o}=ib(),{CopyPasterStyleBlockControl:i}=Yv(),{Style:l}=Fv({blockName:"price-list-child",clientId:a,attributes:e.attributes,device:o}),s=(0,Hv.useSelect)((t=>{const{getBlockRootClientId:r}=t("core/block-editor");return r(e.clientId)}),[e.clientId]),c=t=>{const{getBlockIndex:r,getBlocks:n}=(0,Hv.select)("core/block-editor"),{replaceInnerBlocks:a}=(0,Hv.dispatch)("core/block-editor"),o=r(e.clientId,s),i=[...n(s)];"delete"===t?i.splice(o,1):i.splice(o+1,0,(0,$.createBlock)("blockart/price-list-child")),a(s,i,!1)};return G().createElement(G().Fragment,null,G().createElement(vU,{attributes:e.attributes,setAttributes:n}),G().createElement(q.BlockControls,{group:"block"},G().createElement(Zv.ToolbarGroup,null,G().createElement(Zv.Button,{label:(0,K.__)("Add button","blockart"),onClick:()=>c("add"),icon:"plus"}),G().createElement(Zv.Button,{label:(0,K.__)("Delete button","blockart"),onClick:()=>c("delete"),icon:"trash"}))),G().createElement(i,{withBlockControls:!0}),G().createElement(l,null),G().createElement("div",{className:Cv(`blockart-price-item blockart-price-list-child-${a}`,t)},G().createElement("div",{className:"blockart-content"},G().createElement(q.InnerBlocks,{allowedBlocks:bU,template:gU})),r&&G().createElement("div",{className:"blockart-separator"})))},save:e=>{const{attributes:{clientId:t,className:r,separator:n}}=e;return G().createElement("div",{className:Cv(`blockart-price-item blockart-price-list-child-${t}`,r)},G().createElement("div",{className:"blockart-content"},G().createElement(q.InnerBlocks.Content,null)),n&&G().createElement("div",{className:"blockart-separator"}))}},kU=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","name":"blockart/progress","title":"Progress","description":"Customize typography and style paragraphs with multiple setting options.","keywords":["progress","bar"],"category":"blockart","textdomain":"blockart","supports":{"className":false,"customClassName":false},"example":{"attributes":{}},"attributes":{"clientId":{"type":"string"},"labelEnable":{"type":"boolean","default":true},"layout":{"type":"string","default":"layout-1"},"labelPosition":{"type":"string","default":"outside"},"progress":{"type":"number","default":50,"style":[{"selector":".blockart-progress{{WRAPPER}} { --progress: {{VALUE}}; }"}]},"maxProgress":{"type":"number","default":100,"style":[{"selector":".blockart-progress{{WRAPPER}} { --maxprogress: {{VALUE}}; }"}]},"size":{"type":"number","default":150,"style":[{"selector":".blockart-progress{{WRAPPER}} { --progress-size: {{VALUE}}px; }"}]},"thickness":{"type":"number","default":8,"style":[{"selector":".blockart-progress{{WRAPPER}} { --progress-thickness: {{VALUE}}px; }"}]},"text":{"type":"string"},"alignment":{"type":"object","style":[{"selector":".blockart-paragraph{{WRAPPER}} {text-align: {{VALUE}}; }"}]},"barHeight":{"type":"number","style":[{"selector":".blockart-progress{{WRAPPER}} .blockart-progress-bar { height: {{VALUE}}px; }"}]},"labelTypography":{"type":"object","default":{"typography":1},"style":[{"selector":"{{WRAPPER}} .blockart-progress-bar-text"},{"selector":"{{WRAPPER}} .blockart-progress-circle .blockart-number"}]},"labelColor":{"type":"string","style":[{"selector":"{{WRAPPER}}.blockart-progress .blockart-progress-bar-text {color: {{VALUE}}; }"},{"selector":"{{WRAPPER}} .blockart-progress-circle .blockart-number {color: {{VALUE}}; }"}]},"barBackground":{"type":"string","default":"#2563EB","style":[{"selector":"{{WRAPPER}} .blockart-progress-bar .blockart-progress-inner-bar { background: {{VALUE}}; }"},{"selector":"{{WRAPPER}} .blockart-progress-circle svg circle.blockart-progress-circle__bar { stroke: {{VALUE}}; }"}]},"background":{"type":"string","default":"#E9EFFD","style":[{"selector":"{{WRAPPER}} .blockart-progress-bar { background: {{VALUE}}; }"},{"selector":"{{WRAPPER}} .blockart-progress-circle svg circle { stroke: {{VALUE}}; }"}]},"barBorder":{"type":"object","default":{"border":1,"radius":{"desktop":{"lock":true}},"size":{"desktop":{"lock":true}}},"style":[{"selector":"{{WRAPPER}} .blockart-progress-bar"}]},"border":{"type":"object","default":{"border":1,"radius":{"desktop":{"lock":true}},"size":{"desktop":{"lock":true}}},"style":[{"selector":"{{WRAPPER}}"}]},"margin":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":".blockart-paragraph{{WRAPPER}} { margin: {{VALUE}}; }"}]},"blockMargin":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { margin: {{VALUE}}; }"}]},"blockPadding":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { padding: {{VALUE}}; }"}]},"blockZIndex":{"type":"number","style":[{"selector":"{{WRAPPER}} { z-index: {{VALUE}}; }"}]},"cssID":{"type":"string"},"animation":{"type":"string"},"interaction":{"type":"object"},"position":{"type":"object"},"hideOnDesktop":{"type":"boolean","style":[{"selector":"@media (min-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnTablet":{"type":"boolean","style":[{"selector":"@media (min-width:48em) and (max-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} { display: none; } }"}]},"colReverseOnTablet":{"type":"boolean","style":[{"selector":"@media (max-width:62em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"colReverseOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"blockCSS":{"type":"string"},"className":{"type":"string"}},"style":"blockart-blocks","editorScript":"blockart-blocks","editorStyle":"blockart-blocks-editor","viewScript":"blockart-frontend-progress"}'),wU=e=>{const{context:t="edit"}=e;return G().createElement(G().Fragment,null,G().createElement("span",{className:Cv("blockart-progress-bar-text",e.labelTypography?.__className)},e.labelEnable&&("edit"===t?G().createElement(q.RichText,{placeholder:(0,K.__)("Enter text here","blockart"),onChange:t=>e?.setAttributes?.({text:t}),value:e.text}):G().createElement(q.RichText.Content,{value:e.text}))),G().createElement("span",{className:"blockart-inner-value"},e.progress))},xU=e=>{const{attributes:{labelColor:t,background:r,barBorder:n,border:a,labelPosition:o,blockZIndex:i,blockPadding:l,cssID:s,hideOnDesktop:c,hideOnTablet:u,hideOnMobile:d,className:p,progress:m,maxProgress:h,labelTypography:f,barBackground:v,barHeight:b,labelEnable:g,layout:y,thickness:E,size:k,blockMargin:w},setAttributes:x}=e;return G().createElement(G().Fragment,null,G().createElement(bH,null),G().createElement(mH,null,G().createElement(gH,{title:(0,K.__)("General","blockart"),initialOpen:!0},G().createElement(MD,{label:(0,K.__)("Progress","blockart"),value:m,onChange:e=>{x({progress:e})},min:0,max:h||100,step:.1}),G().createElement(MD,{label:(0,K.__)("Max Progress","blockart"),value:h,onChange:e=>{x({maxProgress:e})},min:0,max:100,step:.1})),G().createElement(gH,{title:(0,K.__)("Design","blockart")},G().createElement(tj,{label:"Preset"},G().createElement(Ba,{borderTop:"1px solid #E0E0E0"},G().createElement(HF,{responsive:!1,value:y,onChange:e=>x({layout:e}),label:(0,K.__)("Preset"),groupProps:mS},[{label:(0,K.__)("Default","blockart"),value:"layout-1",icon:jT},{label:(0,K.__)("Layout 1","blockart"),value:"layout-2",icon:WT}].map((e=>G().createElement(FF,{key:e.value,value:e.value},G().createElement(e.icon,null),e.label))))))),G().createElement(gH,{title:(0,K.__)("Label","blockart")},G().createElement(jF,{onChange:e=>x({labelEnable:e}),checked:g,label:(0,K.__)("Enable","blockart")})),"layout-2"===y&&G().createElement(gH,{title:(0,K.__)("Circle","blockart")},G().createElement(MD,{label:(0,K.__)("Size","blockart"),value:k,onChange:e=>{x({size:e})},min:56,max:300,step:1,defaultUnit:"px",forceShowUnit:!0}),G().createElement(MD,{label:(0,K.__)("Thickness","blockart"),value:E,onChange:e=>{x({thickness:e})},min:1,max:100,step:1,defaultUnit:"px",forceShowUnit:!0})),"layout-1"===y&&G().createElement(gH,{title:(0,K.__)("Bar","blockart")},G().createElement(VV,{label:(0,K.__)("Label Position","blockart"),onChange:e=>{x({labelPosition:e})},value:o,options:[{label:(0,K.__)("Inside Bar","blockart"),value:"inside"},{label:(0,K.__)("Outside Bar","blockart"),value:"outside"}]}),G().createElement(MD,{label:(0,K.__)("Height","blockart"),value:b,onChange:e=>{x({barHeight:e})},min:10,max:100,step:1,defaultUnit:"px",forceShowUnit:!0}))),G().createElement(hH,null,G().createElement(gH,{title:(0,K.__)("General","blockart"),initialOpen:!0},G().createElement(BV,{label:(0,K.__)("Bar Background","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:v,id:"barBackground"}]}));return Iv(v)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-5px",bg:"white",borderRadius:"full"})):G().createElement(t,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:v,resetKey:"barBackground",onReset:e=>{x({barBackground:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:v,onChange:e=>x({barBackground:e})}))))),G().createElement(BV,{label:(0,K.__)("Background","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:r,id:"background"}]}));return Iv(r)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-5px",bg:"white",borderRadius:"full"})):G().createElement(t,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:r,resetKey:"background",onReset:e=>{x({background:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:r,onChange:e=>x({background:e})})))))),G().createElement(gH,{title:(0,K.__)("Label","blockart")},G().createElement(BV,{label:(0,K.__)("Text Color","blockart"),trigger:e=>{const r=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:t,id:"labelColor"}]}));return Iv(t)?G().createElement(Ba,{position:"relative"},G().createElement(r,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-5px",bg:"white",borderRadius:"full"})):G().createElement(r,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:t,resetKey:"labelColor",onReset:e=>{x({labelColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:t,onChange:e=>x({labelColor:e})}))))),G().createElement(OD,{value:f,onChange:e=>x({labelTypography:e}),resetAttributeKey:"labelTypography"})),G().createElement(gH,{title:(0,K.__)("Bar","blockart")},G().createElement(OV,{value:n,onChange:e=>{x({barBorder:e})},resetAttributeKey:"barBorder"})),G().createElement(gH,{title:(0,K.__)("Border","blockart")},G().createElement(OV,{value:a,onChange:e=>{x({border:e})},resetAttributeKey:"border"}))),G().createElement(fH,null,G().createElement(yH,{blockMargin:w,setAttributes:x,blockPadding:l,blockZIndex:i,cssID:s,className:p,hasblockHTML:!1}),G().createElement(EH,{hideOnDesktop:c,hideOnTablet:u,hideOnMobile:d,setAttributes:x})))},_U=kU.name,PU={...kU,icon:G().createElement(cz,{type:"blockIcon",name:"progress",size:24}),edit:e=>{let{attributes:{text:t,cssID:r,className:n,progress:a,layout:o,labelEnable:i,maxProgress:l,labelPosition:s,labelTypography:c},setAttributes:u}=e;const{clientId:d}=jv(e),{device:p}=ib(),{CopyPasterStyleBlockControl:m}=Yv(),{Style:h}=Fv({blockName:"progress",clientId:d,attributes:e.attributes,device:p});return G().createElement(G().Fragment,null,G().createElement(xU,{attributes:e.attributes,setAttributes:u}),G().createElement(m,{withBlockControls:!0}),G().createElement(h,null),G().createElement("div",{className:Cv(`blockart-progress blockart-progress-${d}`)},"layout-1"===o&&G().createElement(G().Fragment,null,G().createElement("div",{className:"blockart-progress-wrapper"},"outside"===s&&G().createElement("div",{className:"blockart-progress-outside-label"},G().createElement(wU,{progress:a,text:t,setAttributes:u,labelEnable:i,labelTypography:c})),G().createElement("div",{className:"blockart-progress-bar"},G().createElement("div",{className:"blockart-progress-inner-bar blockart--with-animation"},"inside"===s&&G().createElement(wU,{progress:a,text:t,setAttributes:u,labelEnable:i,labelTypography:c}))))),"layout-2"===o&&G().createElement(G().Fragment,null,G().createElement("style",null,`.blockart-progress-circle { --progress-value : ${a} }`,`.blockart-progress-circle { --progress-max: ${l} }`),G().createElement("div",{className:"blockart-progress-circle blockart--with-animation blockart-animate"},G().createElement("svg",null,G().createElement("circle",{className:"blockart-progress-circle__background"}),G().createElement("circle",{className:"blockart-progress-circle__bar"})),G().createElement("div",{className:"blockart-number"},G().createElement("span",{className:"blockart-progress-circle__inner-text"},i&&G().createElement(G().Fragment,null,a)))))))},save:e=>{const{attributes:{cssID:t,clientId:r,className:n,text:a,progress:o,labelEnable:i,layout:l,labelPosition:s,maxProgress:c,labelTypography:u}}=e;return G().createElement("div",{className:Cv(`blockart-progress blockart-progress-${r}`)},"layout-1"===l&&G().createElement(G().Fragment,null,G().createElement("div",{className:"blockart-progress-wrapper"},"outside"===s&&G().createElement("div",{className:"blockart-progress-outside-label"},G().createElement(wU,{progress:o,text:a,labelEnable:i,context:"save",labelTypography:u})),G().createElement("div",{className:"blockart-progress-bar"},G().createElement("div",{className:"blockart-progress-inner-bar blockart--with-animation"},"inside"===s&&G().createElement(wU,{progress:o,text:a,labelEnable:i,context:"save",labelTypography:u}))))),"layout-2"===l&&G().createElement(G().Fragment,null,G().createElement("style",null,`.blockart-progress-circle { --progress-value : ${o} }`,`.blockart-progress-circle { --progress-max: ${c} }`),G().createElement("div",{className:"blockart-progress-circle blockart--with-animation"},G().createElement("svg",null,G().createElement("circle",{className:"blockart-progress-circle__background"}),G().createElement("circle",{className:"blockart-progress-circle__bar"})),G().createElement("div",{className:"blockart-number"},G().createElement("span",{className:"blockart-progress-circle__inner-text"},i&&G().createElement(G().Fragment,null,o))))))}},CU=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","name":"blockart/section","title":"Section","description":"Add Rows and Columns inside rows to create various layouts.","keywords":["section","column","layout"],"category":"blockart","textdomain":"blockart","supports":{"className":false,"customClassName":false,"align":["center","wide","full"]},"example":{"attributes":{}},"usesContext":["clientId","query"],"attributes":{"clientId":{"type":"string"},"hasModal":{"type":"boolean","default":false},"modalOnly":{"type":"boolean","default":false},"columns":{"type":"number","default":""},"childRow":{"type":"boolean","default":false},"horizontalAlignment":{"type":"object","default":{"desktop":""},"style":[{"selector":"{{WRAPPER}} > [class*=\\"blockart-container\\"] > .blockart-section-inner{ justify-content: {{VALUE}}; }"}]},"verticalAlignment":{"type":"object","default":{"desktop":""},"style":[{"selector":"{{WRAPPER}} > [class*=\\"blockart-container\\"] > .blockart-section-inner{ align-items: {{VALUE}}; }"}]},"container":{"type":"string","default":"contained"},"inheritFromTheme":{"type":"boolean","default":false},"width":{"type":"object","default":{"desktop":{"value":1170,"unit":"px"}},"style":[{"condition":[{"key":"container","relation":"==","value":"contained"},{"key":"inheritFromTheme","relation":"!=","value":true}],"selector":"{{WRAPPER}} > .blockart-container { max-width: {{VALUE}}; }"}]},"columnGap":{"type":"object","default":{"desktop":{"value":30,"unit":"px"}},"style":[{"selector":"{{WRAPPER}} > [class*=\\"blockart-container\\"] > .blockart-section-inner { --colSpacing: {{VALUE}}; margin-left: calc(var(--colSpacing) * -1) }"}]},"rowGap":{"type":"object","default":{"desktop":{"value":30,"unit":"px"}},"style":[{"selector":"{{WRAPPER}} > [class*=\\"blockart-container\\"] > .blockart-section-inner { row-gap: {{VALUE}}; }"}]},"height":{"type":"string","default":"default"},"minHeight":{"type":"object","style":[{"condition":[{"key":"height","relation":"==","value":"min-height"}],"selector":"{{WRAPPER}} > [class*=\\"blockart-container\\"] > .blockart-section-inner {min-height: {{VALUE}};}"}]},"background":{"type":"object","default":{"background":1},"style":[{"selector":"{{WRAPPER}}.blockart-section"}]},"hoverBackground":{"type":"object","default":{"background":1},"style":[{"selector":"{{WRAPPER}}:hover"}]},"border":{"type":"object","default":{"border":1,"radius":{"desktop":{"lock":true}},"size":{"desktop":{"lock":true}}},"style":[{"selector":"{{WRAPPER}}"}]},"borderHover":{"type":"object","default":{"border":1,"radius":{"desktop":{"lock":true}},"size":{"desktop":{"lock":true}}},"style":[{"selector":"{{WRAPPER}}:hover"}]},"topSeparator":{"type":"object","default":{"topSeparator":1,"topSeparatorIcon":"none"},"style":[{"selector":"{{WRAPPER}} .blockart-top-separator svg"}]},"bottomSeparator":{"type":"object","default":{"bottomSeparator":1,"bottomSeparatorIcon":"none"},"style":[{"selector":"{{WRAPPER}} .blockart-bottom-separator svg"}]},"boxShadow":{"type":"object","default":{"boxShadow":1},"style":[{"selector":"{{WRAPPER}}"}]},"boxShadowHover":{"type":"object","default":{"boxShadow":1},"style":[{"selector":"{{WRAPPER}}:hover"}]},"overlay":{"type":"boolean","default":false},"overlayBackground":{"type":"object","default":{"background":1,"color":"rgba(37, 99, 235,0.3)"},"style":[{"condition":[{"key":"overlay","relation":"==","value":true}],"selector":"{{WRAPPER}} > .blockart-overlay"}]},"overlayHoverBackground":{"type":"object","default":{"background":1,"color":"rgba(37, 99, 235,0.3)"},"style":[{"condition":[{"key":"overlay","relation":"==","value":true}],"selector":"{{WRAPPER}} > .blockart-overlay:hover"}]},"blockMargin":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { margin: {{VALUE}}; }"}]},"blockPadding":{"type":"object","default":{"dimension":1,"desktop":{"left":15,"right":15,"unit":"px"}},"style":[{"selector":"{{WRAPPER}} { padding: {{VALUE}}; }"}]},"blockZIndex":{"type":"number","style":[{"selector":"{{WRAPPER}} { z-index: {{VALUE}}; }"}]},"cssID":{"type":"string"},"animation":{"type":"string"},"interaction":{"type":"object"},"position":{"type":"object"},"hideOnDesktop":{"type":"boolean","style":[{"selector":"@media (min-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnTablet":{"type":"boolean","style":[{"selector":"@media (min-width:48em) and (max-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} { display: none; } }"}]},"colReverseOnTablet":{"type":"boolean","style":[{"selector":"@media (max-width:62em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"colReverseOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"blockCSS":{"type":"string"},"className":{"type":"string"}},"style":"blockart-blocks","editorScript":"blockart-blocks","editorStyle":"blockart-blocks-editor"}'),AU=e=>{const{attributes:{horizontalAlignment:t,verticalAlignment:r,container:n,width:a,rowGap:o,columnGap:i,height:l,minHeight:s,background:c,hoverBackground:u,border:d,borderHover:p,boxShadow:m,boxShadowHover:h,overlay:f,overlayBackground:v,overlayHoverBackground:b,blockMargin:g,blockPadding:y,blockZIndex:E,cssID:k,hideOnDesktop:w,hideOnTablet:x,hideOnMobile:_,className:P,colReverseOnTablet:C,colReverseOnMobile:A,topSeparator:S,bottomSeparator:R},setAttributes:M}=e;return G().createElement(G().Fragment,null,G().createElement(bH,null),G().createElement(mH,null,G().createElement(gH,{title:(0,K.__)("Layout","blockart"),initialOpen:!0},G().createElement(HF,{value:n,onChange:e=>{M({container:e})},label:(0,K.__)("Container","blockart"),resetAttributeKey:"container",groupProps:{sx:{".chakra-button":{minH:"32px",svg:{w:6,h:6}}}}},G().createElement(FF,{value:"contained"},(0,K.__)("Contained","blockart")),G().createElement(FF,{value:"stretched"},(0,K.__)("Stretched","blockart"))),"contained"===n&&G().createElement(MD,{onChange:e=>M({width:e}),label:(0,K.__)("Max Width","blockart"),responsive:!0,min:0,max:1920,value:a,units:["px","em"],resetAttributeKey:"width"}),G().createElement(MD,{onChange:e=>M({rowGap:e}),label:(0,K.__)("Row Gap","blockart"),units:["px","em","%"],responsive:!0,min:0,max:100,value:o,resetAttributeKey:"rowGap"}),G().createElement(MD,{onChange:e=>M({columnGap:e}),label:(0,K.__)("Column Gap","blockart"),units:["px","em","%"],responsive:!0,min:0,max:100,value:i,resetAttributeKey:"columnGap"}),G().createElement(VV,{options:[{label:(0,K.__)("Min Height","blockart"),value:"min-height"},{label:(0,K.__)("Default","blockart"),value:"default"},{label:(0,K.__)("Fit To Screen","blockart"),value:"fit-to-screen"}],onChange:e=>M({height:e}),value:l,label:(0,K.__)("Height","blockart")}),"min-height"===l&&G().createElement(MD,{onChange:e=>M({minHeight:e}),label:(0,K.__)("Min Height","blockart"),units:["px","em","vh"],responsive:!0,min:0,max:1200,value:s,resetAttributeKey:"minHeight"}))),G().createElement(hH,null,G().createElement(gH,{title:(0,K.__)("Properties","blockart"),initialOpen:!0},G().createElement(HF,{value:t,onChange:e=>{M({horizontalAlignment:e})},label:(0,K.__)("Horizontal Alignment","blockart"),responsive:!0,resetAttributeKey:"horizontalAlignment",groupProps:{sx:{".chakra-button":{minH:"32px","&[data-active]":{svg:{fill:"#fff !important"}}}}}},G().createElement(FF,{value:"left"},G().createElement(aT,null)),G().createElement(FF,{value:"flex-start"},G().createElement(QM,null)),G().createElement(FF,{value:"center"},G().createElement(JM,null)),G().createElement(FF,{value:"flex-end"},G().createElement(eT,null))),G().createElement(HF,{value:r,onChange:e=>{M({verticalAlignment:e})},label:(0,K.__)("Vertical Alignment","blockart"),responsive:!0,resetAttributeKey:"verticalAlignment",groupProps:{sx:{".chakra-button":{minH:"32px","&[data-active]":{svg:{fill:"#fff !important"}}}}}},G().createElement(FF,{value:"left"},G().createElement(aT,null)),G().createElement(FF,{value:"baseline"},G().createElement(tT,null)),G().createElement(FF,{value:"flex-start"},G().createElement(QM,null)),G().createElement(FF,{value:"center"},G().createElement(JM,null)),G().createElement(FF,{value:"flex-end"},G().createElement(eT,null)))),G().createElement(gH,{title:(0,K.__)("Background","blockart")},G().createElement(BV,{label:(0,K.__)("Type","blockart")},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart")),G().createElement(Da,null,(0,K.__)("Hover","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:c,resetKey:"background",onReset:e=>{M({background:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(RV,{value:c,onChange:e=>M({background:e})})),G().createElement(Fa,null,G().createElement(bO,{saved:u,resetKey:"hoverBackground",onReset:e=>{M({hoverBackground:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(RV,{value:u,onChange:e=>M({hoverBackground:e})})))))),G().createElement(gH,{title:(0,K.__)("Separator","blockart")},G().createElement(tj,{label:(0,K.__)("Preset","blockart")},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Top","blockart")),G().createElement(Da,null,(0,K.__)("Bottom","blockart"))),G().createElement(Va,null,G().createElement(Fa,{p:0},G().createElement(HF,{label:(0,K.__)("Select","blockart"),value:S?.topSeparatorIcon,onChange:e=>M({topSeparator:{topSeparator:1,topSeparatorIcon:e}}),groupProps:mS},[{label:(0,K.__)("None","blockart"),value:"none",icon:xI},{label:(0,K.__)("Separator 1","blockart"),value:"top_separator_1",icon:XT},{label:(0,K.__)("Separator 2","blockart"),value:"top_separator_2",icon:QT},{label:(0,K.__)("Separator 3","blockart"),value:"top_separator_3",icon:JT},{label:(0,K.__)("Separator 4","blockart"),value:"top_separator_4",icon:eI},{label:(0,K.__)("Separator 5","blockart"),value:"top_separator_5",icon:tI},{label:(0,K.__)("Separator 6","blockart"),value:"top_separator_6",icon:rI},{label:(0,K.__)("Separator 7","blockart"),value:"top_separator_7",icon:nI},{label:(0,K.__)("Separator 8","blockart"),value:"top_separator_8",icon:aI},{label:(0,K.__)("Separator 9","blockart"),value:"top_separator_9",icon:oI},{label:(0,K.__)("Separator 10","blockart"),value:"top_separator_10",icon:iI},{label:(0,K.__)("Separator 11","blockart"),value:"top_separator_11",icon:lI},{label:(0,K.__)("Separator 12","blockart"),value:"top_separator_12",icon:sI},{label:(0,K.__)("Separator 13","blockart"),value:"top_separator_13",icon:cI}].map((e=>G().createElement(FF,{key:e.value,value:e.value},G().createElement(e.icon,null),e.label))))),G().createElement(Fa,{p:0},G().createElement(HF,{label:(0,K.__)("Select","blockart"),value:R?.bottomSeparatorIcon,onChange:e=>M({bottomSeparator:{bottomSeparator:1,bottomSeparatorIcon:e}}),groupProps:mS},[{label:(0,K.__)("None","blockart"),value:"none",icon:xI},{label:(0,K.__)("Separator 1","blockart"),value:"bottom_separator_1",icon:uI},{label:(0,K.__)("Separator 2","blockart"),value:"bottom_separator_2",icon:dI},{label:(0,K.__)("Separator 3","blockart"),value:"bottom_separator_3",icon:pI},{label:(0,K.__)("Separator 4","blockart"),value:"bottom_separator_4",icon:mI},{label:(0,K.__)("Separator 5","blockart"),value:"bottom_separator_5",icon:hI},{label:(0,K.__)("Separator 6","blockart"),value:"bottom_separator_6",icon:fI},{label:(0,K.__)("Separator 7","blockart"),value:"bottom_separator_7",icon:vI},{label:(0,K.__)("Separator 8","blockart"),value:"bottom_separator_8",icon:bI},{label:(0,K.__)("Separator 9","blockart"),value:"bottom_separator_9",icon:gI},{label:(0,K.__)("Separator 10","blockart"),value:"bottom_separator_10",icon:yI},{label:(0,K.__)("Separator 11","blockart"),value:"bottom_separator_11",icon:EI},{label:(0,K.__)("Separator 12","blockart"),value:"bottom_separator_12",icon:kI},{label:(0,K.__)("Separator 13","blockart"),value:"bottom_separator_13",icon:wI}].map((e=>G().createElement(FF,{key:e.value,value:e.value},G().createElement(e.icon,null),e.label))))))))),G().createElement(gH,{title:(0,K.__)("Border","blockart")},G().createElement(Oa,{variant:"border"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart")),G().createElement(Da,null,(0,K.__)("Hover","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(OV,{value:d,onChange:e=>{M({border:e})},resetAttributeKey:"border"}),G().createElement(FV,{resetAttributeKey:"boxShadow",value:m,onChange:e=>M({boxShadow:e})})),G().createElement(Fa,null,G().createElement(OV,{value:p,onChange:e=>{M({borderHover:e})},resetAttributeKey:"borderHover"}),G().createElement(FV,{resetAttributeKey:"boxShadowHover",value:h,onChange:e=>M({boxShadowHover:e})}))))),G().createElement(gH,{title:(0,K.__)("Overlay","blockart")},G().createElement(jF,{checked:f,onChange:()=>M({overlay:!f}),label:(0,K.__)("Enable","blockart")}),f&&G().createElement(BV,{label:(0,K.__)("Type","blockart")},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart")),G().createElement(Da,null,(0,K.__)("Hover","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:v,resetKey:"overlayBackground",onReset:e=>{M({overlayBackground:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(RV,{value:v,onChange:e=>M({overlayBackground:e})})),G().createElement(Fa,null,G().createElement(bO,{saved:b,resetKey:"overlayHoverBackground",onReset:e=>{M({overlayHoverBackground:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(RV,{value:b,onChange:e=>M({overlayHoverBackground:e})}))))))),G().createElement(fH,null,G().createElement(yH,{blockMargin:g,setAttributes:M,blockPadding:y,blockZIndex:E,cssID:k,className:P,hasblockHTML:!1}),G().createElement(EH,{hideOnDesktop:w,hideOnTablet:x,hideOnMobile:_,setAttributes:M,colReverseOnMobile:A,colReverseOnTablet:C,hasColReverse:!0})))},SU=[{label:"100",columns:1,structure:{desktop:[100],tablet:[100],mobile:[100]}},{label:"50/50",columns:2,structure:{desktop:[50,50],tablet:[100,100],mobile:[100,100]}},{label:"34/66",columns:2,structure:{desktop:[34,66],tablet:[100,100],mobile:[100,100]}},{label:"66/34",columns:2,structure:{desktop:[66,34],tablet:[100,100],mobile:[100,100]}},{label:"33/33/33",columns:3,structure:{desktop:[33.33,33.33,33.34],tablet:[100,100,100],mobile:[100,100,100]}},{label:"25/50/25",columns:3,structure:{desktop:[25,50,25],tablet:[100,100,100],mobile:[100,100,100]}},{label:"25/25/50",columns:3,structure:{desktop:[25,25,50],tablet:[100,100,100],mobile:[100,100,100]}},{label:"50/25/25",columns:3,structure:{desktop:[50,25,25],tablet:[100,100,100],mobile:[100,100,100]}},{label:"25/25/25/25",columns:4,structure:{desktop:[25,25,25,25],tablet:[100,100,100,100],mobile:[100,100,100,100]}}],RU={desktop:[100],tablet:[100],mobile:[100]},MU=((0,K.__)("Separator 1","blockart"),(0,K.__)("Separator 2","blockart"),(0,K.__)("Separator 3","blockart"),(0,K.__)("Separator 4","blockart"),(0,K.__)("Separator 5","blockart"),(0,K.__)("Separator 6","blockart"),(0,K.__)("Separator 7","blockart"),(0,K.__)("Separator 8","blockart"),(0,K.__)("Separator 9","blockart"),(0,K.__)("Separator 10","blockart"),(0,K.__)("Separator 11","blockart"),(0,K.__)("Separator 12","blockart"),(0,K.__)("Separator 13","blockart"),(0,K.__)("Separator 1","blockart"),(0,K.__)("Separator 2","blockart"),(0,K.__)("Separator 3","blockart"),(0,K.__)("Separator 4","blockart"),(0,K.__)("Separator 5","blockart"),(0,K.__)("Separator 6","blockart"),(0,K.__)("Separator 7","blockart"),(0,K.__)("Separator 8","blockart"),(0,K.__)("Separator 9","blockart"),(0,K.__)("Separator 10","blockart"),(0,K.__)("Separator 11","blockart"),(0,K.__)("Separator 12","blockart"),(0,K.__)("Separator 13","blockart"),e=>{const{onOpen:t,onClose:r,isOpen:n}=G_(),{hasModal:a,modalOnly:o,setAttributes:i,setDefaultLayout:l,clientId:s}=e;return G().createElement(G().Fragment,null,G().createElement(Zv.Placeholder,{label:(0,K.__)("Choose Your Layout","blockart"),className:"blockart-section-preset"},G().createElement("div",{className:"blockart-section-preset-group"},SU.map((({columns:e,structure:t},r)=>G().createElement("button",{key:r,className:"blockart-section-preset-btn",onClick:()=>{i({columns:e}),l(t)}},t.desktop.map(((e,t)=>G().createElement("i",{key:t,style:{width:e+"%"}}))))))),!kv.isNotPostEditor&&G().createElement("div",{className:"blockart-section-preset-import-btn"},G().createElement("button",{onClick:()=>i({hasModal:!0})},(0,K.__)("View Templates","blockart")))),G().createElement(CN,{onClose:r,isOpen:n}))}),TU=CU.name,IU={...CU,icon:G().createElement(cz,{type:"blockIcon",name:"section",size:24}),edit:e=>{const{attributes:{columns:t,hasModal:r,modalOnly:n,childRow:a,container:o,height:i,overlay:l,cssID:s,className:c,align:u,topSeparator:d,bottomSeparator:p},setAttributes:m}=e,[h,f]=(0,U.useState)(RU),{clientId:v}=jv(e),{device:b}=ib(),{CopyPasterStyleBlockControl:g}=Yv();(0,U.useEffect)((()=>{const{getBlockRootClientId:t}=(0,Hv.select)("core/block-editor"),r=t(e.clientId);m({childRow:!!r})}),[e.clientId,m]);const{Style:y}=Fv({blockName:"section",clientId:v,attributes:e.attributes,device:b}),E=((e,t)=>{let r=e;return e?((0,zv.isString)(e)&&(r=parseInt(e)),[...Array(r)].map(((e,r)=>["blockart/column",{colWidth:{desktop:t.desktop[r],tablet:t.tablet[r],mobile:t.mobile[r]}}]))):[]})(t,h),k=(0,q.useInnerBlocksProps)({className:"blockart-section-inner"+("fit-to-screen"===i?" blockart-height-fit-to-screen":"")},{template:E,allowedBlocks:["blockart/column"],renderAppender:void 0});return t?G().createElement(G().Fragment,null,G().createElement(AU,{attributes:e.attributes,setAttributes:m}),G().createElement(g,{withBlockControls:!0}),G().createElement(y,null),G().createElement("div",{id:s||null,className:Cv(`blockart-section blockart-section-${v}`,c,u&&`align${u}`)},l&&G().createElement("div",{className:"blockart-overlay"}),"none"!==d?.topSeparatorIcon&&G().createElement("span",{className:"blockart-top-separator"},G().createElement(cz,{name:d.topSeparatorIcon})),G().createElement("div",{className:Cv({"blockart-container":"contained"===o||!a},{"blockart-container-fluid":"stretched"===o||a})},G().createElement("div",k)),"none"!==p?.bottomSeparatorIcon&&G().createElement("span",{className:"blockart-bottom-separator"},G().createElement(cz,{name:p.bottomSeparatorIcon})))):G().createElement(MU,{setAttributes:m,clientId:e.clientId,modalOnly:n,hasModal:r,setDefaultLayout:f})},save:e=>{const{attributes:{clientId:t,container:r,cssID:n,className:a,overlay:o,height:i,align:l,topSeparator:s,bottomSeparator:c}}=e;return G().createElement("div",{id:null!=n?n:void 0,className:Cv(`blockart-section blockart-section-${t}`,a,l&&`align${l}`)},o&&G().createElement("div",{className:"blockart-overlay"}),"none"!==s?.topSeparatorIcon&&G().createElement("span",{className:"blockart-top-separator"},G().createElement(cz,{name:s.topSeparatorIcon})),G().createElement("div",{className:Cv({"blockart-container":"contained"===r},{"blockart-container-fluid":"stretched"===r})},G().createElement("div",{className:"blockart-section-inner"+("fit-to-screen"===i?" blockart-height-fit-to-screen":"")},G().createElement(q.InnerBlocks.Content,null)),"none"!==c?.bottomSeparatorIcon&&G().createElement("span",{className:"blockart-bottom-separator"},G().createElement(cz,{name:c.bottomSeparatorIcon}))))}},OU=JSON.parse('{"apiVersion":2,"$schema":"https://schemas.wp.org/trunk/block.json","name":"blockart/slide","title":"Slide","description":"Create a slide inside slider","keywords":["slide"],"category":"blockart","textdomain":"blockart","parent":["blockart/slider"],"supports":{"className":false,"customClassName":false,"html":false,"inserter":false},"example":{"attributes":{}},"attributes":{"clientId":{"type":"string"},"background":{"type":"object","default":{"background":1},"style":[{"selector":"{{WRAPPER}}"}]},"border":{"type":"object","default":{"border":1,"radius":{"desktop":{"lock":true}},"size":{"desktop":{"lock":true}}},"style":[{"selector":"{{WRAPPER}}"}]},"positionProperty":{"type":"object","default":{"positionProperty":1,"position":"none"},"style":[{"selector":"{{WRAPPER}}"}]},"blockMargin":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { margin: {{VALUE}}; }"}]},"blockPadding":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { padding: {{VALUE}}; }"}]},"blockHTML":{"type":"string","default":"div"},"blockZIndex":{"type":"number","style":[{"selector":"{{WRAPPER}} { z-index: {{VALUE}}; }"}]},"blockOpacity":{"type":"number","style":[{"selector":"{{WRAPPER}} { opacity: {{VALUE}}; }"}]},"cssID":{"type":"string"},"animation":{"type":"string"},"interaction":{"type":"object"},"position":{"type":"object"},"hideOnDesktop":{"type":"boolean","style":[{"selector":"@media (min-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnTablet":{"type":"boolean","style":[{"selector":"@media (min-width:48em) and (max-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} { display: none; } }"}]},"colReverseOnTablet":{"type":"boolean","style":[{"selector":"@media (max-width:62em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"colReverseOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"blockCSS":{"type":"string"},"className":{"type":"string"}},"style":"blockart-blocks","editorScript":"blockart-blocks","editorStyle":"blockart-blocks-editor"}'),LU=e=>{const{attributes:{blockMargin:t,blockPadding:r,blockZIndex:n,cssID:a,hideOnDesktop:o,hideOnTablet:i,hideOnMobile:l,className:s,background:c,border:u},setAttributes:d}=e;return G().createElement(G().Fragment,null,G().createElement(bH,null),G().createElement(hH,null,G().createElement(gH,{title:(0,K.__)("Background","blockart"),initialOpen:!0},G().createElement(BV,{label:(0,K.__)("Type","blockart")},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart")),G().createElement(Da,null,(0,K.__)("Hover","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:c,resetKey:"background",onReset:e=>{d({background:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(RV,{value:c,onChange:e=>d({background:e})})))))),G().createElement(gH,{title:(0,K.__)("Border","blockart")},G().createElement(OV,{value:u,onChange:e=>d({border:e}),resetAttributeKey:"border"}))),G().createElement(fH,null,G().createElement(yH,{blockMargin:t,setAttributes:d,blockPadding:r,blockZIndex:n,cssID:a,className:s,hasblockHTML:!1}),G().createElement(EH,{hideOnDesktop:o,hideOnTablet:i,hideOnMobile:l,setAttributes:d})))},DU=OU.name,BU={...OU,icon:G().createElement(cz,{type:"blockIcon",name:"slide",size:24}),edit:e=>{const{attributes:{cssID:t,className:r},setAttributes:n}=e,{clientId:a}=jv(e),{device:o}=ib(),{CopyPasterStyleBlockControl:i}=Yv(),{Style:l}=Fv({blockName:"slide",clientId:a,attributes:e.attributes,device:o}),{hasChildBlocks:s,rootClientId:c,siblings:u}=(0,Hv.useSelect)((t=>{const{getBlockOrder:r,getBlockRootClientId:n,getBlocks:a}=t("core/block-editor"),o=n(e.clientId);return{hasChildBlocks:r(e.clientId).length>0,rootClientId:null!=o?o:void 0,siblings:a(o)}}),[e.clientId]),d=(0,q.useBlockProps)({className:Cv(`blockart-slide blockart-slide-${a} splide__slide`,r)}),p=(0,q.useInnerBlocksProps)(d,{templateLock:!1,renderAppender:s?void 0:q.InnerBlocks.ButtonBlockAppender});return G().createElement(G().Fragment,null,G().createElement(LU,{attributes:e.attributes,setAttributes:n}),G().createElement(q.BlockControls,null,G().createElement(Zv.ToolbarGroup,null,G().createElement(Zv.Button,{label:(0,K.__)("Remove Slide","blockart"),onClick:()=>{const{getBlockIndex:t,getBlocks:r}=(0,Hv.select)("core/block-editor"),{replaceInnerBlocks:n}=(0,Hv.dispatch)("core/block-editor"),a=t(e.clientId,c),o=[...r(c)];o.splice(a,1),n(c,o,!1)},icon:"minus",disabled:u?.length<=1}))),G().createElement(i,{withBlockControls:!0}),G().createElement(l,null),G().createElement("li",p))},save:e=>{const{attributes:{clientId:t,className:r,flexWrap:n,orientation:a,justification:o,alignment:i,blockHTML:l}}=e,s=q.useInnerBlocksProps.save({className:Cv(`blockart-slide blockart-slide-${t} splide__slide`,r)});return G().createElement("li",s)}},zU=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","name":"blockart/slider","title":"Slider","description":"Create a slider with multiple slides.","keywords":["slider","slide"],"category":"blockart","textdomain":"blockart","supports":{"className":false,"customClassName":false,"html":false},"example":{"attributes":{}},"attributes":{"clientId":{"type":"string"},"justification":{"type":"object"},"orientation":{"type":"object"},"alignment":{"type":"object"},"autoplay":{"type":"boolean","default":false},"loop":{"type":"boolean","default":false},"pauseOnHover":{"type":"boolean","default":true},"arrows":{"type":"boolean","default":true},"speed":{"type":"number","default":800},"interval":{"type":"object","default":5000},"pagination":{"type":"boolean","default":false},"perPage":{"type":"number","default":1},"perMove":{"type":"number","default":1},"borderEnable":{"type":"boolean","default":false},"dotColor":{"type":"string","default":"#000000","style":[{"selector":"{{WRAPPER}} .splide ul.splide__pagination li button.splide__pagination__page { background: {{VALUE}}; } {{WRAPPER}} .splide__arrow svg { fill: {{VALUE}}; }"}]},"arrowBackground":{"type":"string","style":[{"selector":"{{WRAPPER}}.blockart-slider .splide .splide__arrows .splide__arrow { background-color: {{VALUE}}; }"}]},"height":{"type":"object","default":{"value":160,"unit":"px"},"style":[{"selector":"{{WRAPPER}} { min-height: {{VALUE}}; }"}]},"arrowDistance":{"type":"object","style":[{"selector":"{{WRAPPER}} .splide__arrows .splide__arrow--prev { left: {{VALUE}}; } {{WRAPPER}} .splide__arrows .splide__arrow--next { right: {{VALUE}}; }"}]},"dotMargin":{"type":"object","style":[{"selector":"{{WRAPPER}} .splide__pagination { top: {{VALUE}}; }"}]},"arrowBorder":{"type":"object","default":{"border":1,"radius":{"desktop":{"lock":true}},"size":{"desktop":{"lock":true}}},"style":[{"selector":"{{WRAPPER}}.blockart-slider .splide .splide__arrows .splide__arrow"}]},"arrowSize":{"type":"object","style":[{"selector":"{{WRAPPER}} .splide__arrow svg { width: {{VALUE}}; height: auto; }"}]},"spaceBetween":{"type":"object","style":[{"selector":"{{WRAPPER}} .splide__list {gap: {{VALUE}}; }"}]},"color":{"type":"object","style":[{"selector":"{{WRAPPER}} p {color: {{VALUE}}; }"}]},"background":{"type":"object","default":{"background":1},"style":[{"selector":"{{WRAPPER}}"}]},"border":{"type":"object","default":{"border":1,"radius":{"desktop":{"lock":true}},"size":{"desktop":{"lock":true}}},"style":[{"selector":"{{WRAPPER}}"}]},"flexWrap":{"type":"boolean","default":true},"flexGap":{"type":"object","default":{"desktop":{"value":8,"unit":"px"}},"style":[{"selector":"{{WRAPPER}} { gap: {{VALUE}}; }"}]},"positionProperty":{"type":"object","default":{"positionProperty":1,"position":"none"},"style":[{"selector":"{{WRAPPER}}"}]},"blockMargin":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { margin: {{VALUE}}; }"}]},"blockPadding":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { padding: {{VALUE}}; }"}]},"blockHTML":{"type":"string","default":"div"},"blockZIndex":{"type":"number","style":[{"selector":"{{WRAPPER}} { z-index: {{VALUE}}; }"}]},"blockOpacity":{"type":"number","style":[{"selector":"{{WRAPPER}} { opacity: {{VALUE}}; }"}]},"cssID":{"type":"string"},"animation":{"type":"string"},"interaction":{"type":"object"},"position":{"type":"object"},"hideOnDesktop":{"type":"boolean","style":[{"selector":"@media (min-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnTablet":{"type":"boolean","style":[{"selector":"@media (min-width:48em) and (max-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} { display: none; } }"}]},"colReverseOnTablet":{"type":"boolean","style":[{"selector":"@media (max-width:62em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"colReverseOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"blockCSS":{"type":"string"},"className":{"type":"string"}},"style":"blockart-blocks","editorScript":"blockart-blocks","editorStyle":"blockart-blocks-editor","viewScript":"blockart-frontend-slider"}');function NU(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)}}var VU="(prefers-reduced-motion: reduce)",FU={CREATED:1,MOUNTED:2,IDLE:3,MOVING:4,SCROLLING:5,DRAGGING:6,DESTROYED:7};function HU(e){e.length=0}function jU(e,t,r){return Array.prototype.slice.call(e,t,r)}function WU(e){return e.bind.apply(e,[null].concat(jU(arguments,1)))}var $U=setTimeout,ZU=function(){};function UU(e){return requestAnimationFrame(e)}function GU(e,t){return typeof t===e}function qU(e){return!JU(e)&&GU("object",e)}var KU=Array.isArray,YU=WU(GU,"function"),XU=WU(GU,"string"),QU=WU(GU,"undefined");function JU(e){return null===e}function eG(e){try{return e instanceof(e.ownerDocument.defaultView||window).HTMLElement}catch(e){return!1}}function tG(e){return KU(e)?e:[e]}function rG(e,t){tG(e).forEach(t)}function nG(e,t){return e.indexOf(t)>-1}function aG(e,t){return e.push.apply(e,tG(t)),e}function oG(e,t,r){e&&rG(t,(function(t){t&&e.classList[r?"add":"remove"](t)}))}function iG(e,t){oG(e,XU(t)?t.split(" "):t,!0)}function lG(e,t){rG(t,e.appendChild.bind(e))}function sG(e,t){rG(e,(function(e){var r=(t||e).parentNode;r&&r.insertBefore(e,t)}))}function cG(e,t){return eG(e)&&(e.msMatchesSelector||e.matches).call(e,t)}function uG(e,t){var r=e?jU(e.children):[];return t?r.filter((function(e){return cG(e,t)})):r}function dG(e,t){return t?uG(e,t)[0]:e.firstElementChild}var pG=Object.keys;function mG(e,t,r){return e&&(r?pG(e).reverse():pG(e)).forEach((function(r){"__proto__"!==r&&t(e[r],r)})),e}function hG(e){return jU(arguments,1).forEach((function(t){mG(t,(function(r,n){e[n]=t[n]}))})),e}function fG(e){return jU(arguments,1).forEach((function(t){mG(t,(function(t,r){KU(t)?e[r]=t.slice():qU(t)?e[r]=fG({},qU(e[r])?e[r]:{},t):e[r]=t}))})),e}function vG(e,t){rG(t||pG(e),(function(t){delete e[t]}))}function bG(e,t){rG(e,(function(e){rG(t,(function(t){e&&e.removeAttribute(t)}))}))}function gG(e,t,r){qU(t)?mG(t,(function(t,r){gG(e,r,t)})):rG(e,(function(e){JU(r)||""===r?bG(e,t):e.setAttribute(t,String(r))}))}function yG(e,t,r){var n=document.createElement(e);return t&&(XU(t)?iG(n,t):gG(n,t)),r&&lG(r,n),n}function EG(e,t,r){if(QU(r))return getComputedStyle(e)[t];JU(r)||(e.style[t]=""+r)}function kG(e,t){EG(e,"display",t)}function wG(e){e.setActive&&e.setActive()||e.focus({preventScroll:!0})}function xG(e,t){return e.getAttribute(t)}function _G(e,t){return e&&e.classList.contains(t)}function PG(e){return e.getBoundingClientRect()}function CG(e){rG(e,(function(e){e&&e.parentNode&&e.parentNode.removeChild(e)}))}function AG(e){return dG((new DOMParser).parseFromString(e,"text/html").body)}function SG(e,t){e.preventDefault(),t&&(e.stopPropagation(),e.stopImmediatePropagation())}function RG(e,t){return e&&e.querySelector(t)}function MG(e,t){return t?jU(e.querySelectorAll(t)):[]}function TG(e,t){oG(e,t,!1)}function IG(e){return e.timeStamp}function OG(e){return XU(e)?e:e?e+"px":""}var LG="splide",DG="data-"+LG;function BG(e,t){if(!e)throw new Error("["+LG+"] "+(t||""))}var zG=Math.min,NG=Math.max,VG=Math.floor,FG=Math.ceil,HG=Math.abs;function jG(e,t,r){return HG(e-t)<r}function WG(e,t,r,n){var a=zG(t,r),o=NG(t,r);return n?a<e&&e<o:a<=e&&e<=o}function $G(e,t,r){var n=zG(t,r),a=NG(t,r);return zG(NG(n,e),a)}function ZG(e){return+(e>0)-+(e<0)}function UG(e,t){return rG(t,(function(t){e=e.replace("%s",""+t)})),e}function GG(e){return e<10?"0"+e:""+e}var qG={};function KG(){var e=[];function t(e,t,r){rG(e,(function(e){e&&rG(t,(function(t){t.split(" ").forEach((function(t){var n=t.split(".");r(e,n[0],n[1])}))}))}))}return{bind:function(r,n,a,o){t(r,n,(function(t,r,n){var i="addEventListener"in t,l=i?t.removeEventListener.bind(t,r,a,o):t.removeListener.bind(t,a);i?t.addEventListener(r,a,o):t.addListener(a),e.push([t,r,n,a,l])}))},unbind:function(r,n,a){t(r,n,(function(t,r,n){e=e.filter((function(e){return!!(e[0]!==t||e[1]!==r||e[2]!==n||a&&e[3]!==a)||(e[4](),!1)}))}))},dispatch:function(e,t,r){var n,a=!0;return"function"==typeof CustomEvent?n=new CustomEvent(t,{bubbles:a,detail:r}):(n=document.createEvent("CustomEvent")).initCustomEvent(t,a,!1,r),e.dispatchEvent(n),n},destroy:function(){e.forEach((function(e){e[4]()})),HU(e)}}}var YG="mounted",XG="ready",QG="move",JG="moved",eq="click",tq="active",rq="inactive",nq="visible",aq="hidden",oq="refresh",iq="updated",lq="resize",sq="resized",cq="drag",uq="dragging",dq="dragged",pq="scroll",mq="scrolled",hq="destroy",fq="arrows:mounted",vq="arrows:updated",bq="pagination:mounted",gq="pagination:updated",yq="navigation:mounted",Eq="autoplay:play",kq="autoplay:playing",wq="autoplay:pause",xq="lazyload:loaded",_q="ei";function Pq(e){var t=e?e.event.bus:document.createDocumentFragment(),r=KG();return e&&e.event.on(hq,r.destroy),hG(r,{bus:t,on:function(e,n){r.bind(t,tG(e).join(" "),(function(e){n.apply(n,KU(e.detail)?e.detail:[])}))},off:WU(r.unbind,t),emit:function(e){r.dispatch(t,e,jU(arguments,1))}})}function Cq(e,t,r,n){var a,o,i=Date.now,l=0,s=!0,c=0;function u(){if(!s){if(l=e?zG((i()-a)/e,1):1,r&&r(l),l>=1&&(t(),a=i(),n&&++c>=n))return d();o=UU(u)}}function d(){s=!0}function p(){o&&cancelAnimationFrame(o),l=0,o=0,s=!0}return{start:function(t){t||p(),a=i()-(t?l*e:0),s=!1,o=UU(u)},rewind:function(){a=i(),l=0,r&&r(l)},pause:d,cancel:p,set:function(t){e=t},isPaused:function(){return s}}}var Aq="Arrow",Sq=Aq+"Left",Rq=Aq+"Right",Mq=Aq+"Up",Tq=Aq+"Down",Iq="ttb",Oq={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[Mq,Rq],ArrowRight:[Tq,Sq]},Lq="role",Dq="tabindex",Bq="aria-",zq=Bq+"controls",Nq=Bq+"current",Vq=Bq+"selected",Fq=Bq+"label",Hq=Bq+"labelledby",jq=Bq+"hidden",Wq=Bq+"orientation",$q=Bq+"roledescription",Zq=Bq+"live",Uq=Bq+"busy",Gq=Bq+"atomic",qq=[Lq,Dq,"disabled",zq,Nq,Fq,Hq,jq,Wq,$q],Kq=LG+"__",Yq="is-",Xq=LG,Qq=Kq+"track",Jq=Kq+"list",eK=Kq+"slide",tK=eK+"--clone",rK=eK+"__container",nK=Kq+"arrows",aK=Kq+"arrow",oK=aK+"--prev",iK=aK+"--next",lK=Kq+"pagination",sK=lK+"__page",cK=Kq+"progress__bar",uK=Kq+"toggle",dK=Kq+"sr",pK=Yq+"initialized",mK=Yq+"active",hK=Yq+"prev",fK=Yq+"next",vK=Yq+"visible",bK=Yq+"loading",gK=Yq+"focus-in",yK=Yq+"overflow",EK=[mK,vK,hK,fK,bK,gK,yK],kK={slide:eK,clone:tK,arrows:nK,arrow:aK,prev:oK,next:iK,pagination:lK,page:sK,spinner:Kq+"spinner"},wK="touchstart mousedown",xK="touchmove mousemove",_K="touchend touchcancel mouseup click",PK="slide",CK="loop",AK="fade";var SK=DG+"-interval",RK={passive:!1,capture:!0},MK={Spacebar:" ",Right:Rq,Left:Sq,Up:Mq,Down:Tq};function TK(e){return e=XU(e)?e:e.key,MK[e]||e}var IK="keydown",OK=DG+"-lazy",LK=OK+"-srcset",DK="["+OK+"], ["+LK+"]",BK=[" ","Enter"],zK=Object.freeze({__proto__:null,Media:function(e,t,r){var n=e.state,a=r.breakpoints||{},o=r.reducedMotion||{},i=KG(),l=[];function s(e){e&&i.destroy()}function c(e,t){var r=matchMedia(t);i.bind(r,"change",u),l.push([e,r])}function u(){var t=n.is(7),a=r.direction,o=l.reduce((function(e,t){return fG(e,t[1].matches?t[0]:{})}),{});vG(r),d(o),r.destroy?e.destroy("completely"===r.destroy):t?(s(!0),e.mount()):a!==r.direction&&e.refresh()}function d(t,a,o){fG(r,t),a&&fG(Object.getPrototypeOf(r),t),!o&&n.is(1)||e.emit(iq,r)}return{setup:function(){var e="min"===r.mediaQuery;pG(a).sort((function(t,r){return e?+t-+r:+r-+t})).forEach((function(t){c(a[t],"("+(e?"min":"max")+"-width:"+t+"px)")})),c(o,VU),u()},destroy:s,reduce:function(e){matchMedia(VU).matches&&(e?fG(r,o):vG(r,pG(o)))},set:d}},Direction:function(e,t,r){return{resolve:function(e,t,n){var a="rtl"!==(n=n||r.direction)||t?n===Iq?0:-1:1;return Oq[e]&&Oq[e][a]||e.replace(/width|left|right/i,(function(e,t){var r=Oq[e.toLowerCase()][a]||e;return t>0?r.charAt(0).toUpperCase()+r.slice(1):r}))},orient:function(e){return e*("rtl"===r.direction?1:-1)}}},Elements:function(e,t,r){var n,a,o,i=Pq(e),l=i.on,s=i.bind,c=e.root,u=r.i18n,d={},p=[],m=[],h=[];function f(){n=g("."+Qq),a=dG(n,"."+Jq),BG(n&&a,"A track/list element is missing."),aG(p,uG(a,"."+eK+":not(."+tK+")")),mG({arrows:nK,pagination:lK,prev:oK,next:iK,bar:cK,toggle:uK},(function(e,t){d[t]=g("."+e)})),hG(d,{root:c,track:n,list:a,slides:p}),function(){var e,t=c.id||""+(e=LG)+GG(qG[e]=(qG[e]||0)+1),o=r.role;c.id=t,n.id=n.id||t+"-track",a.id=a.id||t+"-list",!xG(c,Lq)&&"SECTION"!==c.tagName&&o&&gG(c,Lq,o),gG(c,$q,u.carousel),gG(a,Lq,"presentation")}(),b()}function v(e){var t=qq.concat("style");HU(p),TG(c,m),TG(n,h),bG([n,a],t),bG(c,e?t:["style",$q])}function b(){TG(c,m),TG(n,h),m=y(Xq),h=y(Qq),iG(c,m),iG(n,h),gG(c,Fq,r.label),gG(c,Hq,r.labelledby)}function g(e){var t=RG(c,e);return t&&function(e,t){if(YU(e.closest))return e.closest(t);for(var r=e;r&&1===r.nodeType&&!cG(r,t);)r=r.parentElement;return r}(t,"."+Xq)===c?t:void 0}function y(e){return[e+"--"+r.type,e+"--"+r.direction,r.drag&&e+"--draggable",r.isNavigation&&e+"--nav",e===Xq&&mK]}return hG(d,{setup:f,mount:function(){l(oq,v),l(oq,f),l(iq,b),s(document,wK+" keydown",(function(e){o="keydown"===e.type}),{capture:!0}),s(c,"focusin",(function(){oG(c,gK,!!o)}))},destroy:v})},Slides:function(e,t,r){var n=Pq(e),a=n.on,o=n.emit,i=n.bind,l=t.Elements,s=l.slides,c=l.list,u=[];function d(){s.forEach((function(e,t){m(e,t,-1)}))}function p(){f((function(e){e.destroy()})),HU(u)}function m(t,r,n){var a=function(e,t,r,n){var a,o=Pq(e),i=o.on,l=o.emit,s=o.bind,c=e.Components,u=e.root,d=e.options,p=d.isNavigation,m=d.updateOnMove,h=d.i18n,f=d.pagination,v=d.slideFocus,b=c.Direction.resolve,g=xG(n,"style"),y=xG(n,Fq),E=r>-1,k=dG(n,"."+rK);function w(){var a=e.splides.map((function(e){var r=e.splide.Components.Slides.getAt(t);return r?r.slide.id:""})).join(" ");gG(n,Fq,UG(h.slideX,(E?r:t)+1)),gG(n,zq,a),gG(n,Lq,v?"button":""),v&&bG(n,$q)}function x(){a||_()}function _(){if(!a){var r=e.index;(o=P())!==_G(n,mK)&&(oG(n,mK,o),gG(n,Nq,p&&o||""),l(o?tq:rq,C)),function(){var t=function(){if(e.is(AK))return P();var t=PG(c.Elements.track),r=PG(n),a=b("left",!0),o=b("right",!0);return VG(t[a])<=FG(r[a])&&VG(r[o])<=FG(t[o])}(),r=!t&&(!P()||E);if(e.state.is([4,5])||gG(n,jq,r||""),gG(MG(n,d.focusableNodes||""),Dq,r?-1:""),v&&gG(n,Dq,r?-1:0),t!==_G(n,vK)&&(oG(n,vK,t),l(t?nq:aq,C)),!t&&document.activeElement===n){var a=c.Slides.getAt(e.index);a&&wG(a.slide)}}(),oG(n,hK,t===r-1),oG(n,fK,t===r+1)}var o}function P(){var n=e.index;return n===t||d.cloneStatus&&n===r}var C={index:t,slideIndex:r,slide:n,container:k,isClone:E,mount:function(){E||(n.id=u.id+"-slide"+GG(t+1),gG(n,Lq,f?"tabpanel":"group"),gG(n,$q,h.slide),gG(n,Fq,y||UG(h.slideLabel,[t+1,e.length]))),s(n,"click",WU(l,eq,C)),s(n,"keydown",WU(l,"sk",C)),i([JG,"sh",mq],_),i(yq,w),m&&i(QG,x)},destroy:function(){a=!0,o.destroy(),TG(n,EK),bG(n,qq),gG(n,"style",g),gG(n,Fq,y||"")},update:_,style:function(e,t,r){EG(r&&k||n,e,t)},isWithin:function(r,n){var a=HG(r-t);return E||!d.rewind&&!e.is(CK)||(a=zG(a,e.length-a)),a<=n}};return C}(e,r,n,t);a.mount(),u.push(a),u.sort((function(e,t){return e.index-t.index}))}function h(e){return e?v((function(e){return!e.isClone})):u}function f(e,t){h(t).forEach(e)}function v(e){return u.filter(YU(e)?e:function(t){return XU(e)?cG(t.slide,e):nG(tG(e),t.index)})}return{mount:function(){d(),a(oq,p),a(oq,d)},destroy:p,update:function(){f((function(e){e.update()}))},register:m,get:h,getIn:function(e){var n=t.Controller,a=n.toIndex(e),o=n.hasFocus()?1:r.perPage;return v((function(e){return WG(e.index,a,a+o-1)}))},getAt:function(e){return v(e)[0]},add:function(e,t){rG(e,(function(e){if(XU(e)&&(e=AG(e)),eG(e)){var n=s[t];n?sG(e,n):lG(c,e),iG(e,r.classes.slide),a=e,l=WU(o,lq),u=MG(a,"img"),(d=u.length)?u.forEach((function(e){i(e,"load error",(function(){--d||l()}))})):l()}var a,l,u,d})),o(oq)},remove:function(e){CG(v(e).map((function(e){return e.slide}))),o(oq)},forEach:f,filter:v,style:function(e,t,r){f((function(n){n.style(e,t,r)}))},getLength:function(e){return e?s.length:u.length},isEnough:function(){return u.length>r.perPage}}},Layout:function(e,t,r){var n,a,o,i=Pq(e),l=i.on,s=i.bind,c=i.emit,u=t.Slides,d=t.Direction.resolve,p=t.Elements,m=p.root,h=p.track,f=p.list,v=u.getAt,b=u.style;function g(){n=r.direction===Iq,EG(m,"maxWidth",OG(r.width)),EG(h,d("paddingLeft"),E(!1)),EG(h,d("paddingRight"),E(!0)),y(!0)}function y(e){var t,i=PG(m);(e||a.width!==i.width||a.height!==i.height)&&(EG(h,"height",(t="",n&&(BG(t=k(),"height or heightRatio is missing."),t="calc("+t+" - "+E(!1)+" - "+E(!0)+")"),t)),b(d("marginRight"),OG(r.gap)),b("width",r.autoWidth?null:OG(r.fixedWidth)||(n?"":w())),b("height",OG(r.fixedHeight)||(n?r.autoHeight?null:w():k()),!0),a=i,c(sq),o!==(o=S())&&(oG(m,yK,o),c("overflow",o)))}function E(e){var t=r.padding,n=d(e?"right":"left");return t&&OG(t[n]||(qU(t)?0:t))||"0px"}function k(){return OG(r.height||PG(f).width*r.heightRatio)}function w(){var e=OG(r.gap);return"calc((100%"+(e&&" + "+e)+")/"+(r.perPage||1)+(e&&" - "+e)+")"}function x(){return PG(f)[d("width")]}function _(e,t){var r=v(e||0);return r?PG(r.slide)[d("width")]+(t?0:A()):0}function P(e,t){var r=v(e);if(r){var n=PG(r.slide)[d("right")],a=PG(f)[d("left")];return HG(n-a)+(t?0:A())}return 0}function C(t){return P(e.length-1)-P(0)+_(0,t)}function A(){var e=v(0);return e&&parseFloat(EG(e.slide,d("marginRight")))||0}function S(){return e.is(AK)||C(!0)>x()}return{mount:function(){var e,t;g(),s(window,"resize load",(e=WU(c,lq),t=Cq(0,e,null,1),function(){t.isPaused()&&t.start()})),l([iq,oq],g),l(lq,y)},resize:y,listSize:x,slideSize:_,sliderSize:C,totalSize:P,getPadding:function(e){return parseFloat(EG(h,d("padding"+(e?"Right":"Left"))))||0},isOverflow:S}},Clones:function(e,t,r){var n,a=Pq(e),o=a.on,i=t.Elements,l=t.Slides,s=t.Direction.resolve,c=[];function u(){o(oq,d),o([iq,lq],m),(n=h())&&(function(t){var n=l.get().slice(),a=n.length;if(a){for(;n.length<t;)aG(n,n);aG(n.slice(-t),n.slice(0,t)).forEach((function(o,s){var u=s<t,d=function(t,n){var a=t.cloneNode(!0);return iG(a,r.classes.clone),a.id=e.root.id+"-clone"+GG(n+1),a}(o.slide,s);u?sG(d,n[0].slide):lG(i.list,d),aG(c,d),l.register(d,s-t+(u?0:a),o.index)}))}}(n),t.Layout.resize(!0))}function d(){p(),u()}function p(){CG(c),HU(c),a.destroy()}function m(){var e=h();n!==e&&(n<e||!e)&&a.emit(oq)}function h(){var n=r.clones;if(e.is(CK)){if(QU(n)){var a=r[s("fixedWidth")]&&t.Layout.slideSize(0);n=a&&FG(PG(i.track)[s("width")]/a)||r[s("autoWidth")]&&e.length||2*r.perPage}}else n=0;return n}return{mount:u,destroy:p}},Move:function(e,t,r){var n,a=Pq(e),o=a.on,i=a.emit,l=e.state.set,s=t.Layout,c=s.slideSize,u=s.getPadding,d=s.totalSize,p=s.listSize,m=s.sliderSize,h=t.Direction,f=h.resolve,v=h.orient,b=t.Elements,g=b.list,y=b.track;function E(){t.Controller.isBusy()||(t.Scroll.cancel(),k(e.index),t.Slides.update())}function k(e){w(C(e,!0))}function w(r,n){if(!e.is(AK)){var a=n?r:function(r){if(e.is(CK)){var n=P(r),a=n>t.Controller.getEnd();(n<0||a)&&(r=x(r,a))}return r}(r);EG(g,"transform","translate"+f("X")+"("+a+"px)"),r!==a&&i("sh")}}function x(e,t){var r=e-S(t),n=m();return e-v(n*(FG(HG(r)/n)||1))*(t?1:-1)}function _(){w(A(),!0),n.cancel()}function P(e){for(var r=t.Slides.get(),n=0,a=1/0,o=0;o<r.length;o++){var i=r[o].index,l=HG(C(i,!0)-e);if(!(l<=a))break;a=l,n=i}return n}function C(t,n){var a=v(d(t-1)-function(e){var t=r.focus;return"center"===t?(p()-c(e,!0))/2:+t*c(e)||0}(t));return n?function(t){return r.trimSpace&&e.is(PK)&&(t=$G(t,0,v(m(!0)-p()))),t}(a):a}function A(){var e=f("left");return PG(g)[e]-PG(y)[e]+v(u(!1))}function S(e){return C(e?t.Controller.getEnd():0,!!r.trimSpace)}return{mount:function(){n=t.Transition,o([YG,sq,iq,oq],E)},move:function(e,t,r,a){var o,s;e!==t&&(o=e>r,s=v(x(A(),o)),o?s>=0:s<=g[f("scrollWidth")]-PG(y)[f("width")])&&(_(),w(x(A(),e>r),!0)),l(4),i(QG,t,r,e),n.start(t,(function(){l(3),i(JG,t,r,e),a&&a()}))},jump:k,translate:w,shift:x,cancel:_,toIndex:P,toPosition:C,getPosition:A,getLimit:S,exceededLimit:function(e,t){t=QU(t)?A():t;var r=!0!==e&&v(t)<v(S(!1)),n=!1!==e&&v(t)>v(S(!0));return r||n},reposition:E}},Controller:function(e,t,r){var n,a,o,i,l=Pq(e),s=l.on,c=l.emit,u=t.Move,d=u.getPosition,p=u.getLimit,m=u.toPosition,h=t.Slides,f=h.isEnough,v=h.getLength,b=r.omitEnd,g=e.is(CK),y=e.is(PK),E=WU(C,!1),k=WU(C,!0),w=r.start||0,x=w;function _(){a=v(!0),o=r.perMove,i=r.perPage,n=R();var e=$G(w,0,b?n:a-1);e!==w&&(w=e,u.reposition())}function P(){n!==R()&&c(_q)}function C(e,t){var r=o||(O()?1:i),a=A(w+r*(e?-1:1),w,!(o||O()));return-1===a&&y&&!jG(d(),p(!e),1)?e?0:n:t?a:S(a)}function A(t,l,s){if(f()||O()){var c=function(t){if(y&&"move"===r.trimSpace&&t!==w)for(var n=d();n===m(t,!0)&&WG(t,0,e.length-1,!r.rewind);)t<w?--t:++t;return t}(t);c!==t&&(l=t,t=c,s=!1),t<0||t>n?t=o||!WG(0,t,l,!0)&&!WG(n,l,t,!0)?g?s?t<0?-(a%i||i):a:t:r.rewind?t<0?n:0:-1:M(T(t)):s&&t!==l&&(t=M(T(l)+(t<l?-1:1)))}else t=-1;return t}function S(e){return g?(e+a)%a||0:e}function R(){for(var e=a-(O()||g&&o?1:i);b&&e-- >0;)if(m(a-1,!0)!==m(e,!0)){e++;break}return $G(e,0,a-1)}function M(e){return $G(O()?e:i*e,0,n)}function T(e){return O()?zG(e,n):VG((e>=n?a-1:e)/i)}function I(e){e!==w&&(x=w,w=e)}function O(){return!QU(r.focus)||r.isNavigation}function L(){return e.state.is([4,5])&&!!r.waitForTransition}return{mount:function(){_(),s([iq,oq,_q],_),s(sq,P)},go:function(e,t,r){if(!L()){var a=function(e){var t=w;if(XU(e)){var r=e.match(/([+\-<>])(\d+)?/)||[],a=r[1],o=r[2];"+"===a||"-"===a?t=A(w+ +(""+a+(+o||1)),w):">"===a?t=o?M(+o):E(!0):"<"===a&&(t=k(!0))}else t=g?e:$G(e,0,n);return t}(e),o=S(a);o>-1&&(t||o!==w)&&(I(o),u.move(a,o,x,r))}},scroll:function(e,r,a,o){t.Scroll.scroll(e,r,a,(function(){var e=S(u.toIndex(d()));I(b?zG(e,n):e),o&&o()}))},getNext:E,getPrev:k,getAdjacent:C,getEnd:R,setIndex:I,getIndex:function(e){return e?x:w},toIndex:M,toPage:T,toDest:function(e){var t=u.toIndex(e);return y?$G(t,0,n):t},hasFocus:O,isBusy:L}},Arrows:function(e,t,r){var n,a,o=Pq(e),i=o.on,l=o.bind,s=o.emit,c=r.classes,u=r.i18n,d=t.Elements,p=t.Controller,m=d.arrows,h=d.track,f=m,v=d.prev,b=d.next,g={};function y(){var e;!(e=r.arrows)||v&&b||(f=m||yG("div",c.arrows),v=x(!0),b=x(!1),n=!0,lG(f,[v,b]),!m&&sG(f,h)),v&&b&&(hG(g,{prev:v,next:b}),kG(f,e?"":"none"),iG(f,a=nK+"--"+r.direction),e&&(i([YG,JG,oq,mq,_q],_),l(b,"click",WU(w,">")),l(v,"click",WU(w,"<")),_(),gG([v,b],zq,h.id),s(fq,v,b))),i(iq,E)}function E(){k(),y()}function k(){o.destroy(),TG(f,a),n?(CG(m?[v,b]:f),v=b=null):bG([v,b],qq)}function w(e){p.go(e,!0)}function x(e){return AG('<button class="'+c.arrow+" "+(e?c.prev:c.next)+'" type="button"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40" width="40" height="40" focusable="false"><path d="'+(r.arrowPath||"m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z")+'" />')}function _(){if(v&&b){var t=e.index,r=p.getPrev(),n=p.getNext(),a=r>-1&&t<r?u.last:u.prev,o=n>-1&&t>n?u.first:u.next;v.disabled=r<0,b.disabled=n<0,gG(v,Fq,a),gG(b,Fq,o),s(vq,v,b,r,n)}}return{arrows:g,mount:y,destroy:k,update:_}},Autoplay:function(e,t,r){var n,a,o=Pq(e),i=o.on,l=o.bind,s=o.emit,c=Cq(r.interval,e.go.bind(e,">"),(function(e){var t=d.bar;t&&EG(t,"width",100*e+"%"),s(kq,e)})),u=c.isPaused,d=t.Elements,p=t.Elements,m=p.root,h=p.toggle,f=r.autoplay,v="pause"===f;function b(){u()&&t.Slides.isEnough()&&(c.start(!r.resetProgress),a=n=v=!1,E(),s(Eq))}function g(e){void 0===e&&(e=!0),v=!!e,E(),u()||(c.pause(),s(wq))}function y(){v||(n||a?g(!1):b())}function E(){h&&(oG(h,mK,!v),gG(h,Fq,r.i18n[v?"play":"pause"]))}function k(e){var n=t.Slides.getAt(e);c.set(n&&+xG(n.slide,SK)||r.interval)}return{mount:function(){f&&(r.pauseOnHover&&l(m,"mouseenter mouseleave",(function(e){n="mouseenter"===e.type,y()})),r.pauseOnFocus&&l(m,"focusin focusout",(function(e){a="focusin"===e.type,y()})),h&&l(h,"click",(function(){v?b():g(!0)})),i([QG,pq,oq],c.rewind),i(QG,k),h&&gG(h,zq,d.track.id),v||b(),E())},destroy:c.cancel,play:b,pause:g,isPaused:u}},Cover:function(e,t,r){var n=Pq(e).on;function a(e){t.Slides.forEach((function(t){var r=dG(t.container||t.slide,"img");r&&r.src&&o(e,r,t)}))}function o(e,t,r){r.style("background",e?'center/cover no-repeat url("'+t.src+'")':"",!0),kG(t,e?"none":"")}return{mount:function(){r.cover&&(n(xq,WU(o,!0)),n([YG,iq,oq],WU(a,!0)))},destroy:WU(a,!1)}},Scroll:function(e,t,r){var n,a,o=Pq(e),i=o.on,l=o.emit,s=e.state.set,c=t.Move,u=c.getPosition,d=c.getLimit,p=c.exceededLimit,m=c.translate,h=e.is(PK),f=1;function v(e,r,o,i,d){var m=u();if(y(),o&&(!h||!p())){var v=t.Layout.sliderSize(),E=ZG(e)*v*VG(HG(e)/v)||0;e=c.toPosition(t.Controller.toDest(e%v))+E}var k=jG(m,e,1);f=1,r=k?0:r||NG(HG(e-m)/1.5,800),a=i,n=Cq(r,b,WU(g,m,e,d),1),s(5),l(pq),n.start()}function b(){s(3),a&&a(),l(mq)}function g(e,t,n,o){var i=u(),l=e+(t-e)*function(e){var t=r.easingFunc;return t?t(e):1-Math.pow(1-e,4)}(o),s=(l-i)*f;m(i+s),h&&!n&&p()&&(f*=.6,HG(s)<10&&v(d(p(!0)),600,!1,a,!0))}function y(){n&&n.cancel()}function E(){n&&!n.isPaused()&&(y(),b())}return{mount:function(){i(QG,y),i([iq,oq],E)},destroy:y,scroll:v,cancel:E}},Drag:function(e,t,r){var n,a,o,i,l,s,c,u,d=Pq(e),p=d.on,m=d.emit,h=d.bind,f=d.unbind,v=e.state,b=t.Move,g=t.Scroll,y=t.Controller,E=t.Elements.track,k=t.Media.reduce,w=t.Direction,x=w.resolve,_=w.orient,P=b.getPosition,C=b.exceededLimit,A=!1;function S(){var e=r.drag;V(!e),i="free"===e}function R(e){if(s=!1,!c){var t=N(e);n=e.target,a=r.noDrag,cG(n,"."+sK+", ."+aK)||a&&cG(n,a)||!t&&e.button||(y.isBusy()?SG(e,!0):(u=t?E:window,l=v.is([4,5]),o=null,h(u,xK,M,RK),h(u,_K,T,RK),b.cancel(),g.cancel(),O(e)))}var n,a}function M(t){if(v.is(6)||(v.set(6),m(cq)),t.cancelable)if(l){b.translate(n+L(t)/(A&&e.is(PK)?5:1));var a=D(t)>200,o=A!==(A=C());(a||o)&&O(t),s=!0,m(uq),SG(t)}else(function(e){return HG(L(e))>HG(L(e,!0))})(t)&&(l=function(e){var t=r.dragMinThreshold,n=qU(t),a=n&&t.mouse||0,o=(n?t.touch:+t)||10;return HG(L(e))>(N(e)?o:a)}(t),SG(t))}function T(n){v.is(6)&&(v.set(3),m(dq)),l&&(function(n){var a=function(t){if(e.is(CK)||!A){var r=D(t);if(r&&r<200)return L(t)/r}return 0}(n),o=function(e){return P()+ZG(e)*zG(HG(e)*(r.flickPower||600),i?1/0:t.Layout.listSize()*(r.flickMaxPages||1))}(a),l=r.rewind&&r.rewindByDrag;k(!1),i?y.scroll(o,0,r.snap):e.is(AK)?y.go(_(ZG(a))<0?l?"<":"-":l?">":"+"):e.is(PK)&&A&&l?y.go(C(!0)?">":"<"):y.go(y.toDest(o),!0),k(!0)}(n),SG(n)),f(u,xK,M),f(u,_K,T),l=!1}function I(e){!c&&s&&SG(e,!0)}function O(e){o=a,a=e,n=P()}function L(e,t){return z(e,t)-z(B(e),t)}function D(e){return IG(e)-IG(B(e))}function B(e){return a===e&&o||a}function z(e,t){return(N(e)?e.changedTouches[0]:e)["page"+x(t?"Y":"X")]}function N(e){return"undefined"!=typeof TouchEvent&&e instanceof TouchEvent}function V(e){c=e}return{mount:function(){h(E,xK,ZU,RK),h(E,_K,ZU,RK),h(E,wK,R,RK),h(E,"click",I,{capture:!0}),h(E,"dragstart",SG),p([YG,iq],S)},disable:V,isDragging:function(){return l}}},Keyboard:function(e,t,r){var n,a,o=Pq(e),i=o.on,l=o.bind,s=o.unbind,c=e.root,u=t.Direction.resolve;function d(){var e=r.keyboard;e&&(n="global"===e?window:c,l(n,IK,h))}function p(){s(n,IK)}function m(){var e=a;a=!0,$U((function(){a=e}))}function h(t){if(!a){var r=TK(t);r===u(Sq)?e.go("<"):r===u(Rq)&&e.go(">")}}return{mount:function(){d(),i(iq,p),i(iq,d),i(QG,m)},destroy:p,disable:function(e){a=e}}},LazyLoad:function(e,t,r){var n=Pq(e),a=n.on,o=n.off,i=n.bind,l=n.emit,s="sequential"===r.lazyLoad,c=[JG,mq],u=[];function d(){HU(u),t.Slides.forEach((function(e){MG(e.slide,DK).forEach((function(t){var n=xG(t,OK),a=xG(t,LK);if(n!==t.src||a!==t.srcset){var o=r.classes.spinner,i=t.parentElement,l=dG(i,"."+o)||yG("span",o,i);u.push([t,e,l]),t.src||kG(t,"none")}}))})),s?f():(o(c),a(c,p),p())}function p(){(u=u.filter((function(t){var n=r.perPage*((r.preloadPages||1)+1)-1;return!t[1].isWithin(e.index,n)||m(t)}))).length||o(c)}function m(e){var t=e[0];iG(e[1].slide,bK),i(t,"load error",WU(h,e)),gG(t,"src",xG(t,OK)),gG(t,"srcset",xG(t,LK)),bG(t,OK),bG(t,LK)}function h(e,t){var r=e[0],n=e[1];TG(n.slide,bK),"error"!==t.type&&(CG(e[2]),kG(r,""),l(xq,r,n),l(lq)),s&&f()}function f(){u.length&&m(u.shift())}return{mount:function(){r.lazyLoad&&(d(),a(oq,d))},destroy:WU(HU,u),check:p}},Pagination:function(e,t,r){var n,a,o=Pq(e),i=o.on,l=o.emit,s=o.bind,c=t.Slides,u=t.Elements,d=t.Controller,p=d.hasFocus,m=d.getIndex,h=d.go,f=t.Direction.resolve,v=u.pagination,b=[];function g(){n&&(CG(v?jU(n.children):n),TG(n,a),HU(b),n=null),o.destroy()}function y(e){h(">"+e,!0)}function E(e,t){var r=b.length,n=TK(t),a=k(),o=-1;n===f(Rq,!1,a)?o=++e%r:n===f(Sq,!1,a)?o=(--e+r)%r:"Home"===n?o=0:"End"===n&&(o=r-1);var i=b[o];i&&(wG(i.button),h(">"+o),SG(t,!0))}function k(){return r.paginationDirection||r.direction}function w(e){return b[d.toPage(e)]}function x(){var e=w(m(!0)),t=w(m());if(e){var r=e.button;TG(r,mK),bG(r,Vq),gG(r,Dq,-1)}if(t){var a=t.button;iG(a,mK),gG(a,Vq,!0),gG(a,Dq,"")}l(gq,{list:n,items:b},e,t)}return{items:b,mount:function t(){g(),i([iq,oq,_q],t);var o=r.pagination;v&&kG(v,o?"":"none"),o&&(i([QG,pq,mq],x),function(){var t=e.length,o=r.classes,i=r.i18n,l=r.perPage,m=p()?d.getEnd()+1:FG(t/l);iG(n=v||yG("ul",o.pagination,u.track.parentElement),a=lK+"--"+k()),gG(n,Lq,"tablist"),gG(n,Fq,i.select),gG(n,Wq,k()===Iq?"vertical":"");for(var h=0;h<m;h++){var f=yG("li",null,n),g=yG("button",{class:o.page,type:"button"},f),w=c.getIn(h).map((function(e){return e.slide.id})),x=!p()&&l>1?i.pageX:i.slideX;s(g,"click",WU(y,h)),r.paginationKeyboard&&s(g,"keydown",WU(E,h)),gG(f,Lq,"presentation"),gG(g,Lq,"tab"),gG(g,zq,w.join(" ")),gG(g,Fq,UG(x,h+1)),gG(g,Dq,-1),b.push({li:f,button:g,page:h})}}(),x(),l(bq,{list:n,items:b},w(e.index)))},destroy:g,getAt:w,update:x}},Sync:function(e,t,r){var n=r.isNavigation,a=r.slideFocus,o=[];function i(){var t,r;e.splides.forEach((function(t){t.isParent||(s(e,t.splide),s(t.splide,e))})),n&&(t=Pq(e),(r=t.on)(eq,u),r("sk",d),r([YG,iq],c),o.push(t),t.emit(yq,e.splides))}function l(){o.forEach((function(e){e.destroy()})),HU(o)}function s(e,t){var r=Pq(e);r.on(QG,(function(e,r,n){t.go(t.is(CK)?n:e)})),o.push(r)}function c(){gG(t.Elements.list,Wq,r.direction===Iq?"vertical":"")}function u(t){e.go(t.index)}function d(e,t){nG(BK,TK(t))&&(u(e),SG(t))}return{setup:WU(t.Media.set,{slideFocus:QU(a)?n:a},!0),mount:i,destroy:l,remount:function(){l(),i()}}},Wheel:function(e,t,r){var n=Pq(e).bind,a=0;function o(n){if(n.cancelable){var o=n.deltaY,i=o<0,l=IG(n),s=r.wheelMinThreshold||0,c=r.wheelSleep||0;HG(o)>s&&l-a>c&&(e.go(i?"<":">"),a=l),function(n){return!r.releaseWheel||e.state.is(4)||-1!==t.Controller.getAdjacent(n)}(i)&&SG(n)}}return{mount:function(){r.wheel&&n(t.Elements.track,"wheel",o,RK)}}},Live:function(e,t,r){var n=Pq(e).on,a=t.Elements.track,o=r.live&&!r.isNavigation,i=yG("span",dK),l=Cq(90,WU(s,!1));function s(e){gG(a,Uq,e),e?(lG(a,i),l.start()):(CG(i),l.cancel())}function c(e){o&&gG(a,Zq,e?"off":"polite")}return{mount:function(){o&&(c(!t.Autoplay.isPaused()),gG(a,Gq,!0),i.textContent="…",n(Eq,WU(c,!0)),n(wq,WU(c,!1)),n([JG,mq],WU(s,!0)))},disable:c,destroy:function(){bG(a,[Zq,Gq,Uq]),CG(i)}}}}),NK={type:"slide",role:"region",speed:400,perPage:1,cloneStatus:!0,arrows:!0,pagination:!0,paginationKeyboard:!0,interval:5e3,pauseOnHover:!0,pauseOnFocus:!0,resetProgress:!0,easing:"cubic-bezier(0.25, 1, 0.5, 1)",drag:!0,direction:"ltr",trimSpace:!0,focusableNodes:"a, button, textarea, input, select, iframe",live:!0,classes:kK,i18n:{prev:"Previous slide",next:"Next slide",first:"Go to first slide",last:"Go to last slide",slideX:"Go to slide %s",pageX:"Go to page %s",play:"Start autoplay",pause:"Pause autoplay",carousel:"carousel",slide:"slide",select:"Select a slide to show",slideLabel:"%s of %s"},reducedMotion:{speed:0,rewindSpeed:0,autoplay:"pause"}};function VK(e,t,r){var n=t.Slides;function a(){n.forEach((function(e){e.style("transform","translateX(-"+100*e.index+"%)")}))}return{mount:function(){Pq(e).on([YG,oq],a)},start:function(e,t){n.style("transition","opacity "+r.speed+"ms "+r.easing),$U(t)},cancel:ZU}}function FK(e,t,r){var n,a=t.Move,o=t.Controller,i=t.Scroll,l=t.Elements.list,s=WU(EG,l,"transition");function c(){s(""),i.cancel()}return{mount:function(){Pq(e).bind(l,"transitionend",(function(e){e.target===l&&n&&(c(),n())}))},start:function(t,l){var c=a.toPosition(t,!0),u=a.getPosition(),d=function(t){var n=r.rewindSpeed;if(e.is(PK)&&n){var a=o.getIndex(!0),i=o.getEnd();if(0===a&&t>=i||a>=i&&0===t)return n}return r.speed}(t);HG(c-u)>=1&&d>=1?r.useScroll?i.scroll(c,d,!1,l):(s("transform "+d+"ms "+r.easing),a.translate(c,!0),n=l):(a.jump(t),l())},cancel:c}}var HK=function(){function e(t,r){var n;this.event=Pq(),this.Components={},this.state=(n=1,{set:function(e){n=e},is:function(e){return nG(tG(e),n)}}),this.splides=[],this._o={},this._E={};var a=XU(t)?RG(document,t):t;BG(a,a+" is invalid."),this.root=a,r=fG({label:xG(a,Fq)||"",labelledby:xG(a,Hq)||""},NK,e.defaults,r||{});try{fG(r,JSON.parse(xG(a,DG)))}catch(e){BG(!1,"Invalid JSON")}this._o=Object.create(fG({},r))}var t,r,n=e.prototype;return n.mount=function(e,t){var r=this,n=this.state,a=this.Components;return BG(n.is([1,7]),"Already mounted!"),n.set(1),this._C=a,this._T=t||this._T||(this.is(AK)?VK:FK),this._E=e||this._E,mG(hG({},zK,this._E,{Transition:this._T}),(function(e,t){var n=e(r,a,r._o);a[t]=n,n.setup&&n.setup()})),mG(a,(function(e){e.mount&&e.mount()})),this.emit(YG),iG(this.root,pK),n.set(3),this.emit(XG),this},n.sync=function(e){return this.splides.push({splide:e}),e.splides.push({splide:this,isParent:!0}),this.state.is(3)&&(this._C.Sync.remount(),e.Components.Sync.remount()),this},n.go=function(e){return this._C.Controller.go(e),this},n.on=function(e,t){return this.event.on(e,t),this},n.off=function(e){return this.event.off(e),this},n.emit=function(e){var t;return(t=this.event).emit.apply(t,[e].concat(jU(arguments,1))),this},n.add=function(e,t){return this._C.Slides.add(e,t),this},n.remove=function(e){return this._C.Slides.remove(e),this},n.is=function(e){return this._o.type===e},n.refresh=function(){return this.emit(oq),this},n.destroy=function(e){void 0===e&&(e=!0);var t=this.event,r=this.state;return r.is(1)?Pq(this).on(XG,this.destroy.bind(this,e)):(mG(this._C,(function(t){t.destroy&&t.destroy(e)}),!0),t.emit(hq),t.destroy(),e&&HU(this.splides),r.set(7)),this},t=e,r=[{key:"options",get:function(){return this._o},set:function(e){this._C.Media.set(e,!0,!0)}},{key:"length",get:function(){return this._C.Slides.getLength(!0)}},{key:"index",get:function(){return this._C.Controller.getIndex()}}],r&&NU(t.prototype,r),Object.defineProperty(t,"prototype",{writable:!1}),e}(),jK=HK;jK.defaults={},jK.STATES=FU;var WK=[[YG,"onMounted"],[XG,"onReady"],[QG,"onMove"],[JG,"onMoved"],[eq,"onClick"],[tq,"onActive"],[rq,"onInactive"],[nq,"onVisible"],[aq,"onHidden"],[oq,"onRefresh"],[iq,"onUpdated"],[lq,"onResize"],[sq,"onResized"],[cq,"onDrag"],[uq,"onDragging"],[dq,"onDragged"],[pq,"onScroll"],[mq,"onScrolled"],[hq,"onDestroy"],[fq,"onArrowsMounted"],[vq,"onArrowsUpdated"],[bq,"onPaginationMounted"],[gq,"onPaginationUpdated"],[yq,"onNavigationMounted"],[Eq,"onAutoplayPlay"],[kq,"onAutoplayPlaying"],[wq,"onAutoplayPause"],[xq,"onLazyLoadLoaded"]];function $K(...e){return e.filter(Boolean).join(" ")}function ZK(e){return null!==e&&"object"==typeof e}function UK(e,t){if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&!e.some(((e,r)=>!UK(e,t[r])));if(ZK(e)&&ZK(t)){const r=Object.keys(e),n=Object.keys(t);return r.length===n.length&&!r.some((r=>!Object.prototype.hasOwnProperty.call(t,r)||!UK(e[r],t[r])))}return e===t}function GK(e,t){const r=e;return function(e,t){if(e){const r=Object.keys(e);for(let n=0;n<r.length;n++){const a=r[n];if("__proto__"!==a&&!1===t(e[a],a))break}}}(t,((e,t)=>{Array.isArray(e)?r[t]=e.slice():ZK(e)?r[t]=GK(ZK(r[t])?r[t]:{},e):r[t]=e})),r}var qK=({children:e,className:t,...r})=>G().createElement("div",{className:$K("splide__track",t),...r},G().createElement("ul",{className:"splide__list"},e)),KK=class extends G().Component{constructor(){super(...arguments),this.splideRef=G().createRef(),this.slides=[]}componentDidMount(){const{options:e,extensions:t,transition:r}=this.props,{current:n}=this.splideRef;n&&(this.splide=new jK(n,e),this.bind(this.splide),this.splide.mount(t,r),this.options=GK({},e||{}),this.slides=this.getSlides())}componentWillUnmount(){this.splide&&(this.splide.destroy(),this.splide=void 0),this.options=void 0,this.slides.length=0}componentDidUpdate(){if(!this.splide)return;const{options:e}=this.props;e&&!UK(this.options,e)&&(this.splide.options=e,this.options=GK({},e));const t=this.getSlides();var r,n;r=this.slides,n=t,(r.length!==n.length||r.some(((e,t)=>e!==n[t])))&&(this.splide.refresh(),this.slides=t)}sync(e){var t;null==(t=this.splide)||t.sync(e)}go(e){var t;null==(t=this.splide)||t.go(e)}getSlides(){var e;if(this.splide){const t=null==(e=this.splide.Components.Elements)?void 0:e.list.children;return t&&Array.prototype.slice.call(t)||[]}return[]}bind(e){WK.forEach((([t,r])=>{const n=this.props[r];"function"==typeof n&&e.on(t,((...t)=>{n(e,...t)}))}))}omit(e,t){return t.forEach((t=>{Object.prototype.hasOwnProperty.call(e,t)&&delete e[t]})),e}render(){const{className:e,tag:t="div",hasTrack:r=!0,children:n,...a}=this.props;return G().createElement(t,{className:$K("splide",e),ref:this.splideRef,...this.omit(a,["options",...WK.map((e=>e[1]))])},r?G().createElement(qK,null,n):n)}};const YK=e=>{const{attributes:{blockMargin:t,blockPadding:r,hideOnDesktop:n,hideOnTablet:a,hideOnMobile:o,className:i,cssID:l,blockZIndex:s,speed:c,autoplay:u,pauseOnHover:d,arrows:p,interval:m,perPage:h,pagination:f,spaceBetween:v,height:b,perMove:g,loop:y,background:E,color:k,border:w,dotColor:x,arrowBackground:_,arrowSize:P,arrowDistance:C,dotMargin:A,arrowBorder:S,borderEnable:R},setAttributes:M}=e;return G().createElement(G().Fragment,null,G().createElement(bH,null),G().createElement(mH,null,G().createElement(gH,{title:(0,K.__)("Generals","blockart"),initialOpen:!0},G().createElement(MD,{label:(0,K.__)("Per Page","blockart"),value:h,onChange:e=>M({perPage:e,perMove:e}),min:1,max:20,step:1,resetAttributeKey:"perPage"}),G().createElement(MD,{label:(0,K.__)("Per Move","blockart"),value:g,onChange:e=>M({perMove:e}),min:1,max:20,step:1,resetAttributeKey:"perMove"}),G().createElement(MD,{label:(0,K.__)("Speed","blockart"),value:c,onChange:e=>M({speed:e}),min:0,max:2e4,step:1,resetAttributeKey:"speed"}),G().createElement(MD,{label:(0,K.__)("Interval","blockart"),value:m,onChange:e=>M({interval:e}),min:0,max:2e4,step:1,resetAttributeKey:"interval"}),G().createElement(jF,{checked:y,label:(0,K.__)("Loop","blockart"),onChange:e=>M({loop:e})}),G().createElement(jF,{checked:null!=u&&u,label:(0,K.__)("Auto Play","blockart"),onChange:e=>M({autoplay:e})}),G().createElement(jF,{checked:null!=d&&d,label:(0,K.__)("Pause On Hover","blockart"),onChange:e=>M({pauseOnHover:e})}),G().createElement(jF,{checked:null!=p&&p,label:(0,K.__)("Arrows","blockart"),onChange:e=>M({arrows:e})}),G().createElement(jF,{checked:null!=f&&f,label:(0,K.__)("Pagination","blockart"),onChange:e=>M({pagination:e})})),G().createElement(gH,{title:(0,K.__)("Spacing & Height","blockart")},h>1&&G().createElement(MD,{label:(0,K.__)("Space between","blockart"),value:v,onChange:e=>M({spaceBetween:e}),min:0,max:100,step:1,units:["px","em","rem"],resetAttributeKey:"spaceBetween"}),G().createElement(MD,{label:(0,K.__)("Height","blockart"),value:b,onChange:e=>M({height:e}),min:160,max:500,step:1,units:["px","em","rem"],resetAttributeKey:"height"})),G().createElement(gH,{title:(0,K.__)("Arrows & Dots","blockart")},G().createElement(MD,{label:(0,K.__)("Size","blockart"),value:P,onChange:e=>M({arrowSize:e}),min:10,max:100,step:1,units:["px","em","rem"],resetAttributeKey:"arrowSize"}),G().createElement(MD,{label:(0,K.__)("Arrow Distance from Edges","blockart"),value:C,onChange:e=>M({arrowDistance:e}),min:-100,max:100,step:1,defaultUnit:"em",units:["px","em","rem"],resetAttributeKey:"arrowDistance"}))),G().createElement(hH,null,G().createElement(gH,{title:(0,K.__)("Arrows & Dots","blockart"),initialOpen:!0},G().createElement(BV,{label:(0,K.__)("Color","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:x,id:"dotColor"}]}));return Iv(x)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-5px",bg:"white",borderRadius:"full"})):G().createElement(t,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:x,resetKey:"dotColor",onReset:e=>{M({dotColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:x,onChange:e=>M({dotColor:e})}))))),G().createElement(BV,{label:(0,K.__)("Background","blockart")},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:_,resetKey:"arrowBackground",onReset:e=>{M({arrowBackground:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(RV,{value:_,onChange:e=>M({arrowBackground:e})}))))),G().createElement(jF,{label:(0,K.__)("Border","blockart"),onChange:e=>M({borderEnable:e})}),R&&G().createElement(OV,{value:S,onChange:e=>M({arrowBorder:e}),resetAttributeKey:"arrowBorder"}),f&&G().createElement(MD,{label:(0,K.__)("Top Margin for Dots","blockart"),value:A,onChange:e=>M({dotMargin:e}),min:-1e3,max:1e3,step:1,defaultUnit:"em",units:["px","em","rem"],resetAttributeKey:"dotMargin"})),G().createElement(gH,{title:(0,K.__)("Text","blockart")},G().createElement(BV,{label:(0,K.__)("Color","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:k,id:"color"}]}));return Iv(k)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-5px",bg:"white",borderRadius:"full"})):G().createElement(t,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:k,resetKey:"color",onReset:e=>{M({color:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:k,onChange:e=>M({color:e})})))))),G().createElement(gH,{title:(0,K.__)("Background","blockart")},G().createElement(BV,{label:(0,K.__)("Type","blockart")},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:E,resetKey:"background",onReset:e=>{M({background:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(RV,{value:E,onChange:e=>M({background:e})})))))),G().createElement(gH,{title:(0,K.__)("Border","blockart")},G().createElement(OV,{value:w,onChange:e=>M({border:e}),resetAttributeKey:"border"}))),G().createElement(fH,null,G().createElement(yH,{blockMargin:t,setAttributes:M,blockPadding:r,blockZIndex:s,cssID:l,className:i,hasblockHTML:!1}),G().createElement(EH,{hideOnDesktop:n,hideOnTablet:a,hideOnMobile:o,setAttributes:M})))},XK="blockart/slide",QK=zU.name,JK={...zU,icon:G().createElement(cz,{type:"blockIcon",name:"slider",size:24}),edit:e=>{const{attributes:{cssID:t,className:r,autoplay:n,pagination:a,speed:o,perPage:i,perMove:l,arrows:s,interval:c,pauseOnHover:u,loop:d},setAttributes:p}=e,{clientId:m}=jv(e),{device:h}=ib(),{CopyPasterStyleBlockControl:f}=Yv(),{Style:v}=Fv({blockName:"slider",clientId:m,attributes:e.attributes,device:h}),b=(0,q.useInnerBlocksProps)({className:"splide__list"},{allowedBlocks:[XK],template:[[XK]],templateLock:!1,templateInsertUpdatesSelection:!0});return G().createElement(G().Fragment,null,G().createElement(YK,{attributes:e.attributes,setAttributes:p}),G().createElement(f,{withBlockControls:!0}),G().createElement(q.BlockControls,null,G().createElement(Zv.ToolbarGroup,null,G().createElement(Zv.Button,{label:(0,K.__)("Add Slide","blockart"),onClick:()=>{const{getBlocks:t}=(0,Hv.select)("core/block-editor"),{replaceInnerBlocks:r}=(0,Hv.dispatch)("core/block-editor"),n=[...t(e.clientId)];n.push((0,$.createBlock)("blockart/slide")),r(e.clientId,n,!1)},icon:"plus"}))),G().createElement(v,null),G().createElement("div",{className:Cv(`blockart-slider blockart-slider-${m}`,r),id:t},G().createElement(KK,{options:{perPage:null!=i?i:1,pagination:null!=a&&a,pauseOnHover:null==u||u,interval:null!=c?c:5e3,speed:null!=o?o:800,autoplay:null!=n&&n,arrows:null!=s&&s,type:d?"loop":"slide",perMove:null!=l?l:1,lazyLoad:!1,autoHeight:!0},hasTrack:!1},G().createElement("div",{className:"splide__track"},G().createElement("ul",b)),G().createElement("div",{className:"splide__arrows"},G().createElement("div",{role:"button",tabIndex:0,className:"splide__arrow splide__arrow--prev"},G().createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 40 40",width:"40",height:"40",focusable:"false"},G().createElement("path",{d:"m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z"}))),G().createElement("div",{role:"button",tabIndex:0,className:"splide__arrow splide__arrow--next"},G().createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 40 40",width:"40",height:"40",focusable:"false"},G().createElement("path",{d:"m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z"})))))))},save:e=>{const{attributes:{clientId:t,className:r,flexWrap:n,orientation:a,justification:o,alignment:i,blockHTML:l,cssID:s}}=e,c=q.useInnerBlocksProps.save({className:Cv("splide__list",r)}),u=null!=l?l:"div";return G().createElement(u,{className:Cv(`blockart-slider blockart-slider-${t}`,r),id:s},G().createElement("div",{className:"splide"},G().createElement("div",{className:"splide__track"},G().createElement("ul",c)),G().createElement("div",{className:"splide__arrows"},G().createElement("div",{role:"button",tabIndex:0,className:"splide__arrow splide__arrow--prev"},G().createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 40 40",width:"40",height:"40",focusable:"false"},G().createElement("path",{d:"m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z"}))),G().createElement("div",{role:"button",tabIndex:0,className:"splide__arrow splide__arrow--next"},G().createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 40 40",width:"40",height:"40",focusable:"false"},G().createElement("path",{d:"m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z"}))))))}},eY=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","name":"blockart/social-inner","title":"Social Icon","description":"Share your content through different platforms.","keywords":["social share","social"],"category":"blockart","textdomain":"blockart","parent":["blockart/socials"],"supports":{"className":false,"customClassName":false},"example":{"attributes":{}},"attributes":{"clientId":{"type":"string"},"type":{"type":"string","default":"facebook"},"iconType":{"type":"object","default":"svg","enum":["svg","image"]},"icon":{"type":"string","default":"facebook"},"image":{"type":"object"},"iconColor":{"type":"string","style":[{"selector":".blockart-socials {{WRAPPER}} .blockart-social-link svg {fill: {{VALUE}}; }"}]},"iconHoverColor":{"type":"string","style":[{"selector":".blockart-socials {{WRAPPER}} .blockart-social-link:hover svg {fill: {{VALUE}}; }"}]},"iconBgColor":{"type":"object","default":{"background":1},"style":[{"selector":".blockart-socials .blockart-social-inner{{WRAPPER}}"}]},"iconBgHoverColor":{"type":"object","default":{"background":1},"style":[{"selector":".blockart-socials .blockart-social-inner{{WRAPPER}}:hover"}]},"media":{"type":"string"},"blockMargin":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { margin: {{VALUE}}; }"}]},"blockPadding":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { padding: {{VALUE}}; }"}]},"blockZIndex":{"type":"number","style":[{"selector":"{{WRAPPER}} { z-index: {{VALUE}}; }"}]},"cssID":{"type":"string"}},"style":"blockart-blocks","editorScript":"blockart-blocks","editorStyle":"blockart-blocks-editor"}'),tY=[{label:(0,K.__)("Facebook","blockart"),value:"facebook"},{label:(0,K.__)("Twitter","blockart"),value:"twitter"},{label:(0,K.__)("LinkedIn","blockart"),value:"linkedin"},{label:(0,K.__)("Pinterest","blockart"),value:"pinterest"},{label:(0,K.__)("Reddit","blockart"),value:"reddit"},{label:(0,K.__)("WordPress","blockart"),value:"wordpress"},{label:(0,K.__)("Blogger","blockart"),value:"blogger"},{label:(0,K.__)("Tumblr","blockart"),value:"tumblr"},{label:(0,K.__)("Email","blockart"),value:"envelope"},{label:(0,K.__)("Google Plus","blockart"),value:"googlePlus"},{label:(0,K.__)("Skype","blockart"),value:"skype"},{label:(0,K.__)("Telegram","blockart"),value:"telegram"},{label:(0,K.__)("Whatsapp","blockart"),value:"whatsapp"},{label:(0,K.__)("Pocket","blockart"),value:"pocket"},{label:(0,K.__)("Buffer","blockart"),value:"buffer"},{label:(0,K.__)("StumbleUpon","blockart"),value:"stumbleUpon"}],rY=e=>{const{attributes:{hideOnDesktop:t,hideOnTablet:r,hideOnMobile:n,className:a,icon:o,iconColor:i,iconHoverColor:l,iconBgColor:s,iconBgHoverColor:c,media:u,iconType:d="svg",image:p,blockMargin:m,blockPadding:h,blockZIndex:f,cssID:v},setAttributes:b}=e;return G().createElement(G().Fragment,null,G().createElement(bH,null),G().createElement(mH,null,G().createElement(gH,{title:(0,K.__)("Icon","blockart"),initialOpen:!0},G().createElement(VV,{label:(0,K.__)("Type","blockart"),value:u,onChange:e=>{b({type:e,icon:e,iconType:"svg",iconColor:e})},options:tY}),G().createElement(HF,{value:d,onChange:e=>{b({iconType:e})},label:(0,K.__)("Format","blockart"),resetAttributeKey:"iconType",groupProps:{sx:{".chakra-button":{minH:"32px",svg:{w:6,h:6}}}}},G().createElement(FF,{value:"icon"},(0,K.__)("Icon","blockart")),G().createElement(FF,{value:"image"},(0,K.__)("Image","blockart"))),"image"===d?G().createElement(zF,{onChange:e=>b({image:e}),label:(0,K.__)("Image","blockart"),type:"image",value:p}):G().createElement(LF,{value:o||{},onChange:e=>b({icon:e}),hasToggle:!1}))),G().createElement(hH,null,G().createElement(gH,{title:(0,K.__)("Icon","blockart"),initialOpen:!0},G().createElement(BV,{label:(0,K.__)("Color","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:i,id:"iconColor"},{color:l,id:"iconHoverColor"}]}));return Iv(i)||Iv(l)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-10px",bg:"white",borderRadius:"full"})):G().createElement(t,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart")),G().createElement(Da,null,(0,K.__)("Hover","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:i,resetKey:"iconColor",onReset:e=>{b({iconColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:i,onChange:e=>b({iconColor:e})})),G().createElement(Fa,null,G().createElement(bO,{saved:l,resetKey:"iconHoverColor",onReset:e=>{b({iconHoverColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:l,onChange:e=>b({iconHoverColor:e})})))))),G().createElement(gH,{title:(0,K.__)("Background","blockart")},G().createElement(BV,{label:(0,K.__)("Type","blockart")},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart")),G().createElement(Da,null,(0,K.__)("Hover","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:s,resetKey:"iconBgColor",onReset:e=>{b({iconBgColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(RV,{value:s,onChange:e=>b({iconBgColor:e})})),G().createElement(Fa,null,G().createElement(bO,{saved:c,resetKey:"iconBgHoverColor",onReset:e=>{b({iconBgHoverColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(RV,{value:c,onChange:e=>b({iconBgHoverColor:e})}))))))),G().createElement(fH,null,G().createElement(yH,{blockMargin:m,setAttributes:b,blockPadding:h,blockZIndex:f,cssID:v,className:a,hasblockHTML:!1}),G().createElement(EH,{hideOnDesktop:t,hideOnTablet:r,hideOnMobile:n,setAttributes:b})))},nY=eY.name,aY={...eY,icon:G().createElement(cz,{type:"blockIcon",name:"social_share",size:24}),edit:e=>{var t,r;const{attributes:{className:n,icon:a,image:o,iconType:i="svg"},setAttributes:l}=e,{clientId:s}=jv(e),{device:c}=ib(),{CopyPasterStyleBlockControl:u}=Yv(),{Style:d}=Fv({blockName:"social-inner",clientId:s,attributes:e.attributes,device:c});return G().createElement(G().Fragment,null,G().createElement(rY,{attributes:e.attributes,setAttributes:l}),G().createElement(u,{withBlockControls:!0}),G().createElement(d,null),G().createElement("div",{className:Cv(`blockart-social-inner blockart-social-inner-${s}`,n)},G().createElement("span",{className:"blockart-social-link"},G().createElement("span",{className:"blockart-social-source-wrap"},"image"===i?G().createElement("img",{className:"blockart-social-source-image",src:null!==(t=o?.url)&&void 0!==t?t:BF,alt:null!==(r=o?.alt)&&void 0!==r?r:""}):G().createElement("span",{className:"blockart-social-source-icon"},G().createElement(LH,{name:a}))))))},save:({attributes:{clientId:e,className:t,type:r,icon:n,image:a,iconType:o="svg"}})=>{var i,l;return G().createElement(G().Fragment,null,G().createElement("div",{className:Cv(`blockart-social-inner blockart-social-inner-${e}`,t)},G().createElement("a",{className:"blockart-social-link",href:r?`{{${r.toUpperCase()}}}`:"#"},G().createElement("span",{className:"blockart-social-source-wrap"},"image"===o?G().createElement("img",{className:"blockart-social-source-image",src:null!==(i=a?.url)&&void 0!==i?i:BF,alt:null!==(l=a?.alt)&&void 0!==l?l:""}):G().createElement("span",{className:"blockart-social-source-icon"},G().createElement(LH,{name:n}))))))}},oY=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","name":"blockart/socials","title":"Social Share","description":"Share your content through different platforms.","keywords":["social share","social"],"category":"blockart","textdomain":"blockart","supports":{"className":false,"customClassName":false},"example":{"attributes":{}},"attributes":{"clientId":{"type":"string"},"blockMargin":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { margin: {{VALUE}}; }"}]},"blockPadding":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { padding: {{VALUE}}; }"}]},"blockZIndex":{"type":"number","style":[{"selector":"{{WRAPPER}} { z-index: {{VALUE}}; }"}]},"cssID":{"type":"string"},"hideOnDesktop":{"type":"boolean","style":[{"selector":"@media (min-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnTablet":{"type":"boolean","style":[{"selector":"@media (min-width:48em) and (max-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} { display: none; } }"}]},"className":{"type":"string"},"display":{"type":"string","default":"horizontal"},"alignment":{"type":"object","style":[{"selector":".blockart-socials{{WRAPPER}} {text-align: {{VALUE}}; justify-content: {{VALUE}}; }"}]},"stackOn":{"type":"string","default":"none"},"presets":{"type":"string"},"size":{"type":"string","style":[{"selector":".blockart-socials{{WRAPPER}} .blockart-social-source-wrap svg { height:auto; width: {{VALUE}}px; }"}]},"bgSize":{"type":"string","style":[{"selector":".blockart-socials{{WRAPPER}} .blockart-social-inner {padding: {{VALUE}}px; }"}]},"radius":{"type":"string","style":[{"selector":".blockart-socials{{WRAPPER}} .blockart-social-inner {border-radius: {{VALUE}}px; }"}]},"color":{"type":"string","style":[{"selector":".blockart-socials{{WRAPPER}} .blockart-social-link svg {fill: {{VALUE}}; }"}]},"hoverColor":{"type":"string","style":[{"selector":".blockart-socials{{WRAPPER}} .blockart-social-link svg:hover {fill: {{VALUE}}; }"}]},"background":{"type":"object","default":{"background":1},"style":[{"selector":".blockart-socials{{WRAPPER}} .blockart-social-inner"}]},"hoverBackground":{"type":"object","default":{"background":1},"style":[{"selector":".blockart-socials{{WRAPPER}} .blockart-social-inner:hover"}]},"columnGap":{"type":"object","style":[{"condition":[{"key":"display","relation":"===","value":"vertical"}],"selector":".blockart-socials{{WRAPPER}} .blockart-social-inner {margin-top: calc({{VALUE}}px/2); margin-bottom: calc({{VALUE}}px/2); }"}]},"rowGap":{"type":"object","style":[{"condition":[{"key":"display","relation":"===","value":"horizontal"}],"selector":".blockart-socials{{WRAPPER}} .blockart-social-inner {margin-left: calc({{VALUE}}px/2); margin-right: calc({{VALUE}}px/2); }"}]}},"style":"blockart-blocks","editorScript":"blockart-blocks","editorStyle":"blockart-blocks-editor"}'),iY=e=>{const{attributes:{blockZIndex:t,blockMargin:r,blockPadding:n,cssID:a,hideOnDesktop:o,hideOnTablet:i,hideOnMobile:l,className:s,display:c,alignment:u,stackOn:d,presets:p,size:m,bgSize:h,radius:f,color:v,hoverColor:b,background:g,hoverBackground:y,columnGap:E,rowGap:k},setAttributes:w}=e;return G().createElement(G().Fragment,null,G().createElement(bH,null),G().createElement(mH,null,G().createElement(gH,{title:(0,K.__)("Layout","blockart"),initialOpen:!0},G().createElement(HF,{value:c,onChange:e=>{w({display:e})},label:(0,K.__)("Orientation","blockart"),resetAttributeKey:"display",groupProps:{sx:{".chakra-button":{minH:"8"},".chakra-button[data-active]":{svg:{fill:"#fff !important"}}}}},G().createElement(FF,{value:"horizontal"},G().createElement(GT,null)),G().createElement(FF,{value:"vertical"},G().createElement($T,null))),"horizontal"===c&&G().createElement(G().Fragment,null,G().createElement(HF,{value:d,onChange:e=>{w({stackOn:e})},label:(0,K.__)("Stack On","blockart"),resetAttributeKey:"stackOn",groupProps:{sx:{".chakra-button":{minH:"8"},".chakra-button[data-active]":{svg:{fill:"#fff !important"}}}}},G().createElement(FF,{value:"none"},G().createElement(zI,null)),G().createElement(FF,{value:"desktop"},G().createElement(NI,null)),G().createElement(FF,{value:"tablet"},G().createElement(VI,null)),G().createElement(FF,{value:"mobile"},G().createElement(FI,null))))),G().createElement(gH,{title:(0,K.__)("Design","blockart")},G().createElement(tj,{label:"Preset"},G().createElement(HF,{responsive:!1,value:p,onChange:e=>w({presets:e}),label:(0,K.__)("Select Preset"),groupProps:mS},[{label:(0,K.__)("NONE","blockart"),value:"none"},{label:(0,K.__)("Rounded","blockart"),value:"social_preset_1",icon:KT},{label:(0,K.__)("Circle","blockart"),value:"social_preset_2",icon:YT},{label:(0,K.__)("Rectangle","blockart"),value:"social_preset_3",icon:qT}].map((e=>G().createElement(FF,{key:e.value,value:e.value},e.icon&&G().createElement(e.icon,null),e.label)))))),G().createElement(gH,{title:(0,K.__)("Icon","blockart")},G().createElement(MD,{label:(0,K.__)("Size","blockart"),value:m,min:0,max:100,step:1,onChange:e=>w({size:e}),resetAttributeKey:"size"}),G().createElement(MD,{label:(0,K.__)("Background Size","blockart"),value:h,min:0,max:100,step:1,onChange:e=>w({bgSize:e}),resetAttributeKey:"bgSize"}),G().createElement(MD,{label:(0,K.__)("Border Radius","blockart"),value:f,min:0,max:100,step:1,onChange:e=>w({radius:e}),resetAttributeKey:"radius"}),G().createElement(MD,{label:(0,K.__)("Column Gap","blockart"),value:E,min:0,max:100,step:1,onChange:e=>w({columnGap:e}),resetAttributeKey:"columnGap"}),G().createElement(MD,{label:(0,K.__)("Row Gap","blockart"),value:k,min:0,max:100,step:1,onChange:e=>w({rowGap:e}),resetAttributeKey:"rowGap"}))),G().createElement(hH,null,G().createElement(gH,{title:(0,K.__)("Properties","blockart"),initialOpen:!0},G().createElement(HF,{value:u,onChange:e=>{w({alignment:e})},label:(0,K.__)("Text Alignment","blockart"),responsive:!0,resetAttributeKey:"alignment",groupProps:{sx:{".chakra-button":{minH:"32px",svg:{w:6,h:6},"&[data-active]":{svg:{fill:"#fff !important"}}}}}},G().createElement(FF,{value:"left"},G().createElement(qM,null)),G().createElement(FF,{value:"center"},G().createElement(YM,null)),G().createElement(FF,{value:"right"},G().createElement(KM,null)))),G().createElement(gH,{title:(0,K.__)("Color","blockart")},G().createElement(BV,{label:(0,K.__)("Text Color","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:v,id:"color"},{color:b,id:"hoverColor"}]}));return Iv(v)||Iv(b)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-10px",bg:"white",borderRadius:"full"})):G().createElement(t,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart")),G().createElement(Da,null,(0,K.__)("Hover","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:v,resetKey:"color",onReset:e=>{w({color:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:v,onChange:e=>w({color:e})})),G().createElement(Fa,null,G().createElement(bO,{saved:b,resetKey:"hoverColor",onReset:e=>{w({hoverColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:b,onChange:e=>w({hoverColor:e})})))))),G().createElement(gH,{title:(0,K.__)("Background","blockart")},G().createElement(BV,{label:(0,K.__)("Type","blockart")},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart")),G().createElement(Da,null,(0,K.__)("Hover","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:g,resetKey:"background",onReset:e=>{w({background:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(RV,{value:g,onChange:e=>w({background:e})})),G().createElement(Fa,null,G().createElement(bO,{saved:y,resetKey:"hoverBackground",onReset:e=>{w({hoverBackground:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(RV,{value:y,onChange:e=>w({hoverBackground:e})}))))))),G().createElement(fH,null,G().createElement(yH,{blockMargin:r,setAttributes:w,blockPadding:n,blockZIndex:t,cssID:a,className:s,hasblockHTML:!1}),G().createElement(EH,{hideOnDesktop:o,hideOnTablet:i,hideOnMobile:l,setAttributes:w})))},lY=["blockart/social-inner"],sY=[["blockart/social-inner",{type:"facebook",iconType:"icon",icon:"facebook",iconColor:"#1877F2"}],["blockart/social-inner",{type:"twitter",iconType:"icon",icon:"twitter",iconColor:"#000000"}],["blockart/social-inner",{type:"pinterest",iconType:"icon",icon:"pinterest",iconColor:"#bd081c"}],["blockart/social-inner",{type:"linkedin",iconType:"icon",icon:"linkedin",iconColor:"#0A66C2"}]],cY=oY.name,uY={...oY,icon:G().createElement(cz,{type:"blockIcon",name:"social_share",size:24}),edit:e=>{const{attributes:{className:t,display:r,stackOn:n,presets:a},attributes:o}=e,{clientId:i}=jv(e),{CopyPasterStyleBlockControl:l}=Yv(),{device:s}=ib(),{Style:c}=Fv({blockName:"socials",clientId:i,attributes:o,device:s});return G().createElement(G().Fragment,null,G().createElement(iY,{attributes:e.attributes,setAttributes:e.setAttributes}),G().createElement(q.BlockControls,null,G().createElement(Zv.ToolbarGroup,null,G().createElement(Zv.Button,{label:(0,K.__)("Add social share item","blockart"),onClick:()=>{const{getBlocks:t}=(0,Hv.select)("core/block-editor"),{replaceInnerBlocks:r}=(0,Hv.dispatch)("core/block-editor"),n=[...t(e.clientId)];n.push((0,$.createBlock)("blockart/social-inner")),r(e.clientId,n,!1)},icon:"plus"}))),G().createElement(l,{withBlockControls:!0}),G().createElement(c,null),G().createElement("div",{className:Cv(`blockart-socials blockart-socials-${i}`,"horizontal"===r?"horizontal":"vertical","horizontal"===r&&"none"!==n?`${n}`:"",a?`${a}`:"",t)},G().createElement(q.InnerBlocks,{template:sY,templateLock:!1,allowedBlocks:lY})))},save:e=>{const{attributes:{clientId:t,className:r,display:n,stackOn:a,presets:o}}=e;return G().createElement(G().Fragment,null,G().createElement("div",{className:Cv(`blockart-socials blockart-socials-${t}`,"horizontal"===n?"horizontal":"vertical","horizontal"===n&&"none"!==a?`${a}`:"",o?`${o}`:"",r)},G().createElement(q.InnerBlocks.Content,null)))}},dY=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","name":"blockart/spacing","title":"Spacing","description":"Give your designs room to breathe with white space.","keywords":["spacing","spacer","divider"],"category":"blockart","textdomain":"blockart","supports":{"className":false,"customClassName":false},"example":{"attributes":{}},"attributes":{"clientId":{"type":"string"},"height":{"type":"object","default":{"desktop":{"value":50,"unit":"px"}},"style":[{"selector":"{{WRAPPER}} .blockart-spacing-inner { height: {{VALUE}}; }"}]},"background":{"type":"object","default":{"background":1},"style":[{"selector":"{{WRAPPER}} .blockart-spacing-inner"}]},"hoverBackground":{"type":"object","default":{"background":1},"style":[{"selector":"{{WRAPPER}} .blockart-spacing-inner:hover"}]},"border":{"type":"object","default":{"border":1,"radius":{"desktop":{"lock":true}},"size":{"desktop":{"lock":true}}},"style":[{"selector":"{{WRAPPER}} .blockart-spacing-inner"}]},"hoverBorder":{"type":"object","default":{"border":1,"radius":{"desktop":{"lock":true}},"size":{"desktop":{"lock":true}}},"style":[{"selector":"{{WRAPPER}} .blockart-spacing-inner:hover"}]},"boxShadow":{"type":"object","default":{"boxShadow":1},"style":[{"selector":"{{WRAPPER}} .blockart-spacing-inner"}]},"boxShadowHover":{"type":"object","default":{"boxShadow":1},"style":[{"selector":"{{WRAPPER}} .blockart-spacing-inner:hover"}]},"blockMargin":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { margin: {{VALUE}}; }"}]},"blockPadding":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { padding: {{VALUE}}; }"}]},"blockZIndex":{"type":"number","style":[{"selector":"{{WRAPPER}} { z-index: {{VALUE}}; }"}]},"cssID":{"type":"string"},"animation":{"type":"string"},"interaction":{"type":"object"},"position":{"type":"object"},"hideOnDesktop":{"type":"boolean","style":[{"selector":"@media (min-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnTablet":{"type":"boolean","style":[{"selector":"@media (min-width:48em) and (max-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} { display: none; } }"}]},"colReverseOnTablet":{"type":"boolean","style":[{"selector":"@media (max-width:62em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"colReverseOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"blockCSS":{"type":"string"},"className":{"type":"string"}},"style":"blockart-blocks","editorScript":"blockart-blocks","editorStyle":"blockart-blocks-editor"}'),pY=e=>{const{attributes:{height:t,background:r,hoverBackground:n,border:a,hoverBorder:o,boxShadow:i,boxShadowHover:l,blockMargin:s,blockPadding:c,blockZIndex:u,cssID:d,className:p,hideOnDesktop:m,hideOnTablet:h,hideOnMobile:f},setAttributes:v}=e;return G().createElement(G().Fragment,null,G().createElement(bH,null),G().createElement(mH,null,G().createElement(gH,{title:(0,K.__)("Layout","blockart"),initialOpen:!0},G().createElement(MD,{onChange:e=>v({height:e}),label:(0,K.__)("Height","blockart"),units:["px","em","vh"],responsive:!0,min:1,max:1e3,value:t,resetAttributeKey:"height"}))),G().createElement(hH,null,G().createElement(gH,{title:(0,K.__)("Background","blockart"),initialOpen:!0},G().createElement(BV,{label:(0,K.__)("Type","blockart")},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart")),G().createElement(Da,null,(0,K.__)("Hover","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:r,resetKey:"background",onReset:e=>{v({background:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(RV,{value:r,onChange:e=>v({background:e})})),G().createElement(Fa,null,G().createElement(bO,{saved:n,resetKey:"hoverBackground",onReset:e=>{v({hoverBackground:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(RV,{value:n,onChange:e=>v({hoverBackground:e})})))))),G().createElement(gH,{title:(0,K.__)("Border","blockart")},G().createElement(Oa,{variant:"border"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart")),G().createElement(Da,null,(0,K.__)("Hover","blockart"))),G().createElement(Va,null,G().createElement(Fa,{pb:0,pt:2},G().createElement(OV,{value:a,onChange:e=>{v({border:e})},resetAttributeKey:"border"}),G().createElement(FV,{value:i,onChange:e=>v({boxShadow:e})})),G().createElement(Fa,{pb:0,pt:2},G().createElement(OV,{value:o,onChange:e=>{v({hoverBorder:e})},resetAttributeKey:"hoverBorder"}),G().createElement(FV,{value:l,onChange:e=>v({boxShadowHover:e})})))))),G().createElement(fH,null,G().createElement(yH,{blockMargin:s,setAttributes:v,blockPadding:c,blockZIndex:u,cssID:d,className:p,hasblockHTML:!1}),G().createElement(EH,{hideOnDesktop:m,hideOnTablet:h,hideOnMobile:f,setAttributes:v})))},mY=dY.name,hY={...dY,icon:G().createElement(cz,{type:"blockIcon",name:"spacing",size:24}),edit:e=>{const{attributes:{className:t},setAttributes:r}=e,{clientId:n}=jv(e),{device:a}=ib(),{CopyPasterStyleBlockControl:o}=Yv(),{Style:i}=Fv({blockName:"spacing",clientId:n,attributes:e.attributes,device:a});return G().createElement(G().Fragment,null,G().createElement(pY,{attributes:e.attributes,setAttributes:r}),G().createElement(o,{withBlockControls:!0}),G().createElement(i,null),G().createElement("div",{className:Cv(`blockart-spacing blockart-spacing-${n}`,t)},G().createElement("div",{className:`blockart-spacing-inner ${e.isSelected&&"is-selected"}`})))},save:e=>{const{attributes:{cssID:t,clientId:r,className:n}}=e;return G().createElement("div",{id:null!=t?t:void 0,className:Cv(`blockart-spacing blockart-spacing-${r}`,n)},G().createElement("div",{className:"blockart-spacing-inner"}))}},fY=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"title":"Tab","name":"blockart/tab","category":"blockart","parent":["blockart/tabs"],"attributes":{"clientId":{"type":"string"},"tabNumber":{"type":"number"},"panelWidth":{"type":"object","style":[{"selector":"{{WRAPPER}} { flex-basis: {{VALUE}}%; width: {{VALUE}}%; }"}]},"panelBackground":{"type":"object","default":{"background":1},"style":[{"selector":"{{WRAPPER}}"}]},"hoverPanelBackground":{"type":"object","default":{"background":1},"style":[{"selector":"{{WRAPPER}}:hover"}]},"blockMargin":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { margin: {{VALUE}}; }"}]},"blockPadding":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { padding: {{VALUE}}; }"}]}},"supports":{"inserter":false,"reusable":false,"html":false,"lock":false,"className":false,"customClassName":false}}'),vY=e=>{const{attributes:{blockMargin:t,blockPadding:r,blockZIndex:n,cssID:a,className:o,hideOnDesktop:i,hideOnTablet:l,hideOnMobile:s,panelWidth:c,panelBackground:u,hoverPanelBackground:d},setAttributes:p}=e;return G().createElement(G().Fragment,null,G().createElement(bH,null),G().createElement(mH,null,G().createElement(gH,{title:(0,K.__)("Layout","blockart"),initialOpen:!0},G().createElement(MD,{label:(0,K.__)("Panel Width","blockart"),value:c,onChange:e=>p({panelWidth:e}),min:25,max:100,step:5,resetAttributeKey:"panelWidth",responsive:!0,forceShowUnit:!0,defaultUnit:"%"}))),G().createElement(hH,null,G().createElement(gH,{title:(0,K.__)("Background","blockart"),initialOpen:!0},G().createElement(BV,{label:(0,K.__)("Type","blockart")},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart")),G().createElement(Da,null,(0,K.__)("Hover","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:{panelBackground:u},resetKey:"{panelBackground}",onReset:e=>{p({panelBackground:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(RV,{value:u,onChange:e=>p({panelBackground:e})})),G().createElement(Fa,null,G().createElement(bO,{saved:d,resetKey:"hoverPanelBackground",onReset:e=>{p({hoverPanelBackground:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(RV,{value:d,onChange:e=>p({hoverPanelBackground:e})}))))))),G().createElement(fH,null,G().createElement(yH,{blockMargin:t,setAttributes:p,blockPadding:r,blockZIndex:n,cssID:a,className:o,hasblockHTML:!1}),G().createElement(EH,{hideOnDesktop:i,hideOnTablet:l,hideOnMobile:s,setAttributes:p})))},bY=(0,Hv.withSelect)(((e,t)=>({index:e("core/block-editor").getBlockIndex(t.clientId),hasChildren:e("core/block-editor").getBlockOrder(t.clientId).length>0})))((e=>{const{attributes:{},setAttributes:t}=e,{clientId:r}=jv(e),{device:n}=ib(),{Style:a}=Fv({blockName:"tab",clientId:r,attributes:e.attributes,device:n}),o=(0,q.useBlockProps)({className:Cv("blockart-tab",`blockart-tab-${r}`,`blockart-tab-${e.index}`)}),i=(0,q.useInnerBlocksProps)(o,{templateLock:!1,renderAppender:e.hasChildren?void 0:q.InnerBlocks.ButtonBlockAppender});return G().createElement(G().Fragment,null,G().createElement(vY,{attributes:e.attributes,setAttributes:t}),G().createElement(a,null),G().createElement("div",i))})),gY=fY.name,yY={...fY,icon:G().createElement(cz,{type:"blockIcon",name:"tabs",size:24}),edit:bY,save:e=>G().createElement("div",{className:Cv("blockart-tab",`blockart-tab-${e.attributes.clientId}`)},G().createElement(q.InnerBlocks.Content,null))},EY=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"title":"Tab Titles","name":"blockart/tab-titles","category":"blockart","parent":["blockart/tabs"],"usesContext":["blockart/initialOpenTab"],"attributes":{"clientId":{"type":"string"},"titles":{"type":"array"},"alignment":{"type":"object","style":[{"selector":"{{WRAPPER}} { justify-content: {{VALUE}}; }"}]},"columnGap":{"type":"object","style":[{"selector":"{{WRAPPER}}.blockart-tabs-triggers { column-gap: {{VALUE}}px; }"}]},"rowGap":{"type":"object","style":[{"selector":"{{WRAPPER}}.blockart-tabs-triggers { row-gap: {{VALUE}}px; }"}]},"icon":{"type":"string","default":"arrowRight"},"iconPosition":{"type":"string","default":"right"},"iconSize":{"type":"object","style":[{"condition":[{"key":"icon","relation":"!=","value":""}],"selector":"{{WRAPPER}} .blockart-tabs-icon .blockart-icon { width: {{VALUE}}; height: auto; }"}]},"iconGap":{"type":"object","style":[{"condition":[{"key":"icon","relation":"!=","value":""},{"key":"iconPosition","relation":"==","value":"left"}],"selector":"{{WRAPPER}} .blockart-tabs-icon { margin-right: {{VALUE}}; }"},{"condition":[{"key":"icon","relation":"!=","value":""},{"key":"iconPosition","relation":"==","value":"right"}],"selector":"{{WRAPPER}} .blockart-tabs-icon { margin-left: {{VALUE}}; }"},{"condition":[{"key":"icon","relation":"!=","value":""},{"key":"iconPosition","relation":"==","value":"top"}],"selector":"{{WRAPPER}} .blockart-tabs-icon { display: block; margin-bottom: {{VALUE}}; }"},{"condition":[{"key":"icon","relation":"!=","value":""},{"key":"iconPosition","relation":"==","value":"bottom"}],"selector":"{{WRAPPER}} .blockart-tabs-icon { display: block; margin-top: {{VALUE}}; }"}]},"color":{"type":"string","style":[{"selector":"{{WRAPPER}} .blockart-tabs-trigger:not(.is-active) span {color: {{VALUE}}; }"}]},"activeColor":{"type":"string","style":[{"selector":"{{WRAPPER}} .blockart-tabs-trigger.is-active span {color: {{VALUE}}; }"}]},"background":{"type":"object","default":{"background":1},"style":[{"selector":"{{WRAPPER}} .blockart-tabs-trigger:not(.is-active)"}]},"activeBackground":{"type":"object","default":{"background":1},"style":[{"selector":"{{WRAPPER}} .blockart-tabs-trigger.is-active"}]},"border":{"type":"object","default":{"border":1,"radius":{"desktop":{"lock":true}},"size":{"desktop":{"lock":true}}},"style":[{"selector":".blockart-tabs {{WRAPPER}} .blockart-tabs-trigger:not(.is-active)"}]},"activeBorder":{"type":"object","default":{"border":1,"radius":{"desktop":{"lock":true}},"size":{"desktop":{"lock":true}}},"style":[{"selector":".blockart-tabs {{WRAPPER}} .blockart-tabs-trigger.is-active"}]},"iconColor":{"type":"string","style":[{"selector":".blockart-tabs {{WRAPPER}} .blockart-tabs-trigger:not(.is-active) .blockart-icon {fill: {{VALUE}}; }"}]},"activeIconColor":{"type":"string","style":[{"selector":".blockart-tabs {{WRAPPER}} .blockart-tabs-trigger.is-active .blockart-icon {fill: {{VALUE}}; }"}]},"hideOnDesktop":{"type":"boolean","style":[{"selector":"@media (min-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnTablet":{"type":"boolean","style":[{"selector":"@media (min-width:48em) and (max-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} { display: none; } }"}]},"cssID":{"type":"string"},"className":{"type":"string"}},"supports":{"inserter":false,"reusable":false,"html":false,"className":false,"customClassName":false}}'),kY=e=>G().createElement(G().Fragment,null,G().createElement(q.BlockControls,null,G().createElement(Zv.ToolbarGroup,null,G().createElement(Zv.ToolbarButton,{label:(0,K.__)("Move left","blockart"),icon:"arrow-left-alt2",disabled:1===e.activeTab,onClick:()=>e.moveBlocks(e.activeTab,"left"),placeholder:(0,K.__)("Move Left","blockart")}),G().createElement(Zv.ToolbarButton,{label:(0,K.__)("Move right","blockart"),icon:"arrow-right-alt2",disabled:e.activeTab===e.titles.length,onClick:()=>e.moveBlocks(e.activeTab,"right"),placeholder:(0,K.__)("Move right","blockart")}))),G().createElement(q.BlockControls,null,G().createElement(Zv.ToolbarGroup,null,G().createElement(Zv.ToolbarButton,{label:(0,K.__)("Add tab","blockart"),icon:"plus-alt2",onClick:()=>e.addRemoveTab(e.activeTab,"add"),placeholder:(0,K.__)("Add tab","blockart")}),G().createElement(Zv.ToolbarButton,{label:(0,K.__)("Delete tab","blockart"),icon:"trash",disabled:1===e.titles.length,onClick:()=>e.addRemoveTab(e.activeTab,"delete"),placeholder:(0,K.__)("Delete tab","blockart")})))),wY=(0,Qj.compose)((0,Hv.withSelect)((e=>{const{getSelectedBlock:t,getBlockRootClientId:r,getBlock:n}=e("core/block-editor"),a=t();return a?{parentBlock:n(r(a.clientId))}:{}})),(0,Hv.withDispatch)(((e,t)=>({setParentAttributes:r=>{e("core/block-editor").updateBlockAttributes(t?.parentBlock?.clientId,r)}}))))((e=>{const{attributes:{blockZIndex:t,blockMargin:r,blockPadding:n,cssID:a,hideOnDesktop:o,hideOnTablet:i,hideOnMobile:l,className:s,alignment:c,columnGap:u,rowGap:d,icon:p,iconPosition:m,iconGap:h,iconSize:f,iconColor:v,activeIconColor:b,color:g,activeColor:y,background:E,activeBackground:k,activeBorder:w,border:x},setAttributes:_,tabTitlesBlock:P}=e;return G().createElement(G().Fragment,null,G().createElement(bH,null),G().createElement(mH,null,G().createElement(gH,{title:(0,K.__)("Layout","blockart"),initialOpen:!0},G().createElement(tj,{label:"Preset"},G().createElement(HF,{responsive:!1,value:e.parentBlock?.attributes?.design,onChange:t=>e?.setParentAttributes?.({design:t}),label:(0,K.__)("Select Preset","blockart"),groupProps:mS},[{label:(0,K.__)("Horizontal Underline","blockart"),value:"horizontal-underline",icon:ET},{label:(0,K.__)("Vertical Underline","blockart"),value:"vertical-underline",icon:kT},{label:(0,K.__)("Horizontal Outline","blockart"),value:"horizontal-outline",icon:wT},{label:(0,K.__)("Vertical Outline","blockart"),value:"vertical-outline",icon:xT},{label:(0,K.__)("Horizontal Fill","blockart"),value:"horizontal-fill",icon:_T},{label:(0,K.__)("Vertical Fill","blockart"),value:"vertical-fill",icon:PT}].map((e=>G().createElement(FF,{key:e.value,value:e.value},G().createElement(e.icon,null),e.label))))),G().createElement(MD,{label:(0,K.__)("Column Gap","blockart"),value:u,onChange:e=>_({columnGap:e}),min:0,max:100,responsive:!0,defaultUnit:"px",resetAttributeKey:"columnGap"}),G().createElement(MD,{label:(0,K.__)("Row Gap","blockart"),value:d,onChange:e=>_({rowGap:e}),min:0,max:100,responsive:!0,defaultUnit:"px",resetAttributeKey:"rowGap"})),G().createElement(gH,{title:(0,K.__)("Icon","blockart")},G().createElement(LF,{value:p||{},onChange:e=>_({icon:e}),hasToggle:!0}),p&&p.enable&&G().createElement(G().Fragment,null,G().createElement(VV,{label:(0,K.__)("Icon Position","blockart"),value:m,onChange:e=>_({iconPosition:e}),options:[{label:(0,K.__)("Left","blockart"),value:"left"},{label:(0,K.__)("Right","blockart"),value:"right"},{label:(0,K.__)("Top","blockart"),value:"top"},{label:(0,K.__)("Bottom","blockart"),value:"bottom"}]}),G().createElement(BV,{label:(0,K.__)("Icon Color","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:v,id:"iconColor"},{color:b,id:"activeIconColor"}]}));return Iv(v)||Iv(b)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-10px",bg:"white",borderRadius:"full"})):G().createElement(t,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart")),G().createElement(Da,null,(0,K.__)("Active","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:v,resetKey:"iconColor",onReset:e=>{_({iconColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:v,onChange:e=>_({iconColor:e})})),G().createElement(Fa,null,G().createElement(bO,{saved:b,resetKey:"activeIconColor",onReset:e=>{_({activeIconColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:b,onChange:e=>_({activeIconColor:e})}))))),G().createElement(MD,{resetAttributeKey:"iconSize",label:(0,K.__)("Icon Size","blockart"),min:0,max:50,value:f,onChange:e=>_({iconSize:e}),responsive:!0,units:["px","em","%"]}),G().createElement(MD,{resetAttributeKey:"iconGap",label:(0,K.__)("Icon Gap","blockart"),min:0,max:60,value:h,onChange:e=>_({iconGap:e}),responsive:!0,units:["px","em","%"]})))),G().createElement(hH,null,G().createElement(gH,{title:(0,K.__)("Properties","blockart"),initialOpen:!0},G().createElement(HF,{value:c,onChange:e=>{_({alignment:e})},label:(0,K.__)("Text Alignment","blockart"),responsive:!0,resetAttributeKey:"alignment",groupProps:{sx:{".chakra-button":{minH:"32px","&[data-active]":{svg:{fill:"#fff !important"}}}}}},G().createElement(FF,{value:"left"},G().createElement(qM,null)),G().createElement(FF,{value:"center"},G().createElement(YM,null)),G().createElement(FF,{value:"right"},G().createElement(KM,null)),G().createElement(FF,{value:"justify"},G().createElement(XM,null)))),G().createElement(gH,{title:(0,K.__)("Text","blockart")},G().createElement(BV,{label:(0,K.__)("Text Color","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:g,id:"color"},{color:y,id:"activeColor"}]}));return Iv(g)||Iv(y)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-10px",bg:"white",borderRadius:"full"})):G().createElement(t,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart")),G().createElement(Da,null,(0,K.__)("Active","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:g,resetKey:"color",onReset:e=>{_({color:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:g,onChange:e=>_({color:e})})),G().createElement(Fa,null,G().createElement(bO,{saved:y,resetKey:"activeColor",onReset:e=>{_({activeColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:y,onChange:e=>_({activeColor:e})})))))),G().createElement(gH,{title:(0,K.__)("Background","blockart")},G().createElement(BV,{label:(0,K.__)("Type","blockart")},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart")),G().createElement(Da,null,(0,K.__)("Active","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:E,resetKey:"background",onReset:e=>{_({background:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(RV,{value:E,onChange:e=>_({background:e})})),G().createElement(Fa,null,G().createElement(bO,{saved:k,resetKey:"activeBackground",onReset:e=>{_({activeBackground:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(RV,{value:k,onChange:e=>_({activeBackground:e})})))))),G().createElement(gH,{title:(0,K.__)("Border","blockart")},G().createElement(Oa,{variant:"border"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart")),G().createElement(Da,null,(0,K.__)("Active","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(OV,{value:x,onChange:e=>{_({border:e})},resetAttributeKey:"border"})),G().createElement(Fa,null,G().createElement(OV,{value:w,onChange:e=>{_({activeBorder:e})},resetAttributeKey:"activeBorder"})))))),G().createElement(fH,null,G().createElement(yH,{blockMargin:r,setAttributes:_,blockPadding:n,blockZIndex:t,cssID:a,className:s,hasblockHTML:!1}),G().createElement(EH,{hideOnDesktop:o,hideOnTablet:i,hideOnMobile:l,setAttributes:_})))})),xY=EY.name,_Y={...EY,icon:G().createElement(cz,{type:"blockIcon",name:"tabs",size:24}),edit:e=>{var t,r,n,a,o,i,l;const{attributes:{titles:s,className:c,alignment:u,icon:d,iconPosition:p},clientId:m,setAttributes:h,context:{"blockart/initialOpenTab":f}}=e,{clientId:v}=jv(e),{device:b}=ib(),{Style:g}=Fv({blockName:"tab-titles",clientId:v,attributes:e.attributes,device:b}),[y,E]=(0,U.useState)(parseInt(null!==(t=f)&&void 0!==t?t:"1")),k=GH({alignment:u}),w=(0,q.useBlockProps)({className:Cv(`blockart-tabs-triggers blockart-tab-titles-${v}`,c,{..."mobile"===b?null!==(r=null!==(n=null!==(a=k?.mobile)&&void 0!==a?a:k?.tablet)&&void 0!==n?n:k?.desktop)&&void 0!==r?r:{}:"tablet"===b?null!==(o=null!==(i=k?.tablet)&&void 0!==i?i:k?.desktop)&&void 0!==o?o:{}:null!==(l=k?.desktop)&&void 0!==l?l:{}})}),{CopyPasterStyleBlockControl:x}=Yv(),_=(0,Hv.useSelect)((e=>{const{getBlockRootClientId:t}=e("core/block-editor");return t(m)}),[m]);return G().createElement(G().Fragment,null,G().createElement(wY,{attributes:e.attributes,setAttributes:h}),G().createElement(x,{withBlockControls:!0}),G().createElement(kY,{activeTab:y,titles:s,addRemoveTab:(e,t)=>{const{getBlocks:r}=(0,Hv.select)("core/block-editor"),{replaceInnerBlocks:n,updateBlockAttributes:a}=(0,Hv.dispatch)("core/block-editor"),o=[...r(_)];let i,l=e;"delete"===t?(l=e-1,i=[...s.splice(l,1)],o.splice(e,1)):(l=e+1,i=[...s.splice(l,0,`Tab ${o.length}`)],o.splice(l,0,(0,$.createBlock)("blockart/tab"))),E(l),h({titles:i}),n(_,o,!1),a(_,{numberOfTabs:o.length-1})},moveBlocks:(e,t)=>{const r="right"===t?e+1:e-1;h({titles:Av(s,e-1,r-1)});const{replaceInnerBlocks:n}=(0,Hv.dispatch)("core/block-editor"),{getBlocks:a}=(0,Hv.select)("core/block-editor"),o=Av([...a(_)],e,r);n(_,o,!1),E(r)}}),G().createElement("style",null,`[data-block="${_}"] > .blockart-tab-${y} { display: block; }`),G().createElement(g,null),G().createElement("div",w,s.map(((e,t)=>G().createElement("a",{key:t,onClick:()=>E(t+1),className:Cv(`blockart-tabs-trigger blockart-tabs-trigger-${t+1}`,y===t+1?"is-active":"",`icon-${p}`)},d&&d.enable&&("left"===p||"top"===p)&&G().createElement("span",{className:"blockart-tabs-icon"},G().createElement(LH,{name:d.icon})),G().createElement(q.RichText,{value:e,onChange:e=>{const r=[...s];r[t]=e,h({titles:r})},allowedFormats:[],keepPlaceholderOnFocus:!0,autoFocus:!0,tagName:"span"}),d&&d.enable&&("right"===p||"bottom"===p)&&G().createElement("span",{className:"blockart-tabs-icon"},G().createElement(LH,{name:d.icon})))))))},save:e=>{const{attributes:{titles:t,clientId:r,className:n,cssID:a,alignment:o,icon:i,iconPosition:l}}=e,s=GH({alignment:o}),c=q.useBlockProps.save({className:Cv("blockart-tabs-triggers",`blockart-tab-titles-${r}`,n,{...Object.values(s)}),id:a});return G().createElement("div",c,t.map(((e,t)=>G().createElement("a",{key:t,className:Cv(`blockart-tabs-trigger blockart-tabs-trigger-${t+1}`,`icon-${l}`),"data-tab":t+1,href:"#"},i&&""!==i.icon&&i.enable&&("left"===l||"top"===l)&&G().createElement("span",{className:"blockart-tabs-icon"},G().createElement(LH,{name:i.icon})),G().createElement(q.RichText.Content,{key:t,value:e,tagName:"span"}),i&&""!==i.icon&&i.enable&&("right"===l||"bottom"===l)&&G().createElement("span",{className:"blockart-tabs-icon"},G().createElement(LH,{name:i.icon}))))))}},PY=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","name":"blockart/toc","title":"Table Of Contents","description":"Make page navigation easy with table of contents.","keywords":["table of contents","table"],"category":"blockart","textdomain":"blockart","supports":{"className":false,"customClassName":false},"example":{"attributes":{}},"attributes":{"clientId":{"type":"string"},"headingTitle":{"type":"string","default":"Table of Contents"},"headings":{"type":"array","default":["h1","h2","h3","h4","h5","h6"]},"alignment":{"type":"object","style":[{"selector":"{{WRAPPER}} {text-align: {{VALUE}}; }"}]},"titleAlign":{"type":"object","style":[{"condition":[{"key":"collapsible","relation":"==","value":false}],"selector":".blockart-toc{{WRAPPER}} .blockart-toc-header {justify-content: {{VALUE}}; }"}]},"listsAlign":{"type":"object","style":[{"selector":"{{WRAPPER}} .blockart-toc-list {text-align: {{VALUE}}; }"}]},"listGap":{"type":"object","style":[{"selector":"{{WRAPPER}} .blockart-toc-list .blockart-toc-list-item {margin-bottom: {{VALUE}}px; }"},{"selector":"{{WRAPPER}} .blockart-toc-list .blockart-toc-list-item .blockart-toc-list { margin-top: {{VALUE}}px; }"}]},"width":{"type":"array","style":[{"selector":"{{WRAPPER}} { flex-basis: {{VALUE}}%; width: {{VALUE}}%; }"}]},"marker":{"type":"string","default":"bullet","enum":["none","bullet","number"]},"collapsible":{"type":"boolean","default":false},"initiallyCollapsed":{"type":"boolean","default":false},"iconType":{"type":"string","default":"text","enum":["svg","text"]},"typography":{"type":"object","default":{"typography":1,"weight":400},"style":[{"selector":"{{WRAPPER}} .blockart-toc-header .blockart-toc-toggle"}]},"icon":{"type":"string"},"text":{"type":"string"},"openIcon":{"type":"string","default":"chevronDown"},"closeIcon":{"type":"string","default":"chevronUp"},"iconSize":{"type":"object","style":[{"condition":[{"key":"collapsible","relation":"!=","value":false},{"key":"iconType","relation":"!=","value":"text"}],"selector":"{{WRAPPER}} .blockart-toc-header .blockart-icon { width: {{VALUE}}; height: auto; }"}]},"textSize":{"type":"object","style":[{"condition":[{"key":"collapsible","relation":"!=","value":false},{"key":"iconType","relation":"==","value":"text"}],"selector":"{{WRAPPER}} .blockart-toc-header .blockart-toc-toggle { font-size: {{VALUE}}; }"}]},"titleTypography":{"type":"object","default":{"typography":1,"weight":400},"style":[{"selector":"{{WRAPPER}} .blockart-toc-title"}]},"titleColor":{"type":"string","style":[{"selector":"{{WRAPPER}} .blockart-toc-title {color: {{VALUE}}; }"}]},"titleHoverColor":{"type":"string","style":[{"selector":"{{WRAPPER}} .blockart-toc-title:hover {color: {{VALUE}}; }"}]},"listTypography":{"type":"object","default":{"typography":1,"weight":400},"style":[{"selector":"{{WRAPPER}} .blockart-toc-list-item a"}]},"listColor":{"type":"string","style":[{"selector":"{{WRAPPER}} .blockart-toc-list-item a {color: {{VALUE}}; }"}]},"listHoverColor":{"type":"string","style":[{"selector":"{{WRAPPER}} .blockart-toc-list-item a:hover {color: {{VALUE}}; } {{WRAPPER}} .blockart-toc-list-item a:focus {color: {{VALUE}}; } {{WRAPPER}} .blockart-toc-list-item a:active {color: {{VALUE}}; }"}]},"backgroundColor":{"type":"object","default":{"background":1},"style":[{"selector":"{{WRAPPER}}"}]},"margin":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":".blockart-toc{{WRAPPER}} { margin: {{VALUE}}; }"}]},"padding":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":".blockart-toc{{WRAPPER}} { padding: {{VALUE}}; }"}]},"border":{"type":"object","default":{"border":1,"radius":{"desktop":{"lock":true}},"size":{"desktop":{"lock":true}}},"style":[{"selector":".blockart-toc{{WRAPPER}}"}]},"hoverBorder":{"type":"object","default":{"border":1,"radius":{"desktop":{"lock":true}},"size":{"desktop":{"lock":true}}},"style":[{"selector":".blockart-toc{{WRAPPER}}:hover"}]},"boxShadow":{"type":"object","default":{"boxShadow":1},"style":[{"selector":".blockart-toc{{WRAPPER}}"}]},"boxShadowHover":{"type":"object","default":{"boxShadow":1},"style":[{"selector":".blockart-toc{{WRAPPER}}:hover"}]},"iconColor":{"type":"string","style":[{"selector":".blockart-toc{{WRAPPER}} .blockart-toc-header .blockart-icon {fill: {{VALUE}}; }"}],"default":"#215ad7"},"iconHoverColor":{"type":"string","style":[{"selector":".blockart-toc{{WRAPPER}} .blockart-toc-header .blockart-icon:hover {fill: {{VALUE}}; }"}],"default":"#215ad7"},"iconBackground":{"type":"object","default":{"background":1},"style":[{"condition":[{"key":"iconType","relation":"!=","value":"text"}],"selector":".blockart-toc{{WRAPPER}} .blockart-toc-header button[type=\'button\'].blockart-toc-toggle"}]},"iconBackgroundHover":{"type":"object","default":{"background":1},"style":[{"condition":[{"key":"iconType","relation":"!=","value":"text"}],"selector":".blockart-toc{{WRAPPER}} .blockart-toc-header button[type=\'button\'].blockart-toc-toggle:hover"}]},"textColor":{"type":"object","style":[{"condition":[{"key":"collapsible","relation":"!=","value":false},{"key":"iconType","relation":"==","value":"text"}],"selector":".blockart-toc{{WRAPPER}} .blockart-toc-header button[type=\'button\'].blockart-toc-toggle span {color: {{VALUE}}; }"}]},"textHoverColor":{"type":"object","style":[{"condition":[{"key":"collapsible","relation":"!=","value":false},{"key":"iconType","relation":"==","value":"text"}],"selector":".blockart-toc{{WRAPPER}} .blockart-toc-header button[type=\'button\'].blockart-toc-toggle:hover span {color: {{VALUE}}; }"}]},"bottomSpacing":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":".blockart-toc{{WRAPPER}} .blockart-toc-header { margin-bottom: {{VALUE}}px; }"}]},"blockMargin":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { margin: {{VALUE}}; }"}]},"blockPadding":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { padding: {{VALUE}}; }"}]},"blockZIndex":{"type":"number","style":[{"selector":"{{WRAPPER}} { z-index: {{VALUE}}; }"}]},"cssID":{"type":"string"},"animation":{"type":"string"},"interaction":{"type":"object"},"position":{"type":"object"},"hideOnDesktop":{"type":"boolean","style":[{"selector":"@media (min-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnTablet":{"type":"boolean","style":[{"selector":"@media (min-width:48em) and (max-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} { display: none; } }"}]},"colReverseOnTablet":{"type":"boolean","style":[{"selector":"@media (max-width:62em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"colReverseOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"blockCSS":{"type":"string"},"className":{"type":"string"}},"style":"blockart-blocks","editorScript":"blockart-blocks","editorStyle":"blockart-blocks-editor","viewScript":"blockart-frontend-table-of-contents"}'),CY=((0,K.__)("None","blockart"),(0,K.__)("Solid","blockart"),(0,K.__)("Double","blockart"),(0,K.__)("Dashed","blockart"),(0,K.__)("Dotted","blockart"),[{label:(0,K.__)("h1","blockart"),value:"h1"},{label:(0,K.__)("h2","blockart"),value:"h2"},{label:(0,K.__)("h3","blockart"),value:"h3"},{label:(0,K.__)("h4","blockart"),value:"h4"},{label:(0,K.__)("h5","blockart"),value:"h5"},{label:(0,K.__)("h6","blockart"),value:"h6"}]),AY=e=>{const{attributes:{blockZIndex:t,blockPadding:r,cssID:n,hideOnDesktop:a,hideOnTablet:o,hideOnMobile:i,className:l,headings:s,alignment:c,titleAlign:u,listsAlign:d,listGap:p,width:m,marker:h,openIcon:f,closeIcon:v,iconSize:b,iconColor:g,iconHoverColor:y,iconBackground:E,iconBackgroundHover:k,textColor:w,textHoverColor:x,textSize:_,border:P,hoverBorder:C,boxShadow:A,boxShadowHover:S,blockMargin:R,collapsible:M,initiallyCollapsed:T,iconType:I,typography:O,backgroundColor:L,titleColor:D,titleHoverColor:B,titleTypography:z,listHoverColor:N,listColor:V,listTypography:F,iconTypeSelectorToggle:H},setAttributes:j}=e;return G().createElement(G().Fragment,null,G().createElement(bH,null),G().createElement(mH,null,G().createElement(gH,{title:(0,K.__)("Layout","blockart"),initialOpen:!0},G().createElement(VV,{isMulti:!0,value:s,label:(0,K.__)("Select heading tags to include/exclude","blockart"),onChange:e=>j({headings:e}),options:CY}),G().createElement(MD,{label:(0,K.__)("Width","blockart"),value:m,onChange:e=>j({width:e}),min:25,max:100,step:5,forceShowUnit:!0,resetAttributeKey:"width",responsive:!0,defaultUnit:"%"}),G().createElement(HF,{value:h,onChange:e=>{j({marker:e})},label:(0,K.__)("Marker","blockart"),resetAttributeKey:"marker",groupProps:{sx:{".chakra-button":{minH:"8"}}}},G().createElement(FF,{value:"none"},(0,K.__)("None","blockart")),G().createElement(FF,{value:"bullet"},(0,K.__)("Bullet","blockart")),G().createElement(FF,{value:"number"},(0,K.__)("Number","blockart"))),G().createElement(jF,{label:(0,K.__)("Enable content collapsible","blockart"),checked:M,onChange:e=>j({collapsible:e})}),M&&G().createElement(G().Fragment,null,G().createElement(HF,{value:I,onChange:e=>{e&&j({iconType:e})},label:(0,K.__)("Icon Type","blockart"),resetAttributeKey:"iconType",groupProps:{sx:{".chakra-button":{minH:"8"}}}},G().createElement(FF,{value:"text"},(0,K.__)("Text","blockart")),G().createElement(FF,{value:"svg"},(0,K.__)("Icon (SVG)","blockart"))),"svg"===I&&G().createElement(G().Fragment,null,G().createElement(Oa,{variant:"border"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Open","blockart")),G().createElement(Da,null,(0,K.__)("Close","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(LF,{value:f||{},onChange:e=>j({openIcon:e}),hasToggle:!1})),G().createElement(Fa,null,G().createElement(LF,{value:v||{},onChange:e=>j({closeIcon:e}),hasToggle:!1})))),G().createElement(MD,{resetAttributeKey:"iconSize",label:(0,K.__)("Icon Size","blockart"),min:0,max:50,value:b,onChange:e=>j({iconSize:e}),responsive:!0,units:["px","em","%"]}),G().createElement(BV,{label:(0,K.__)("Icon Color","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:g,id:"iconColor"},{color:y,id:"iconHoverColor"}]}));return Iv(g)||Iv(y)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-10px",bg:"white",borderRadius:"full"})):G().createElement(t,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart")),G().createElement(Da,null,(0,K.__)("Hover","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:g,resetKey:"iconColor",onReset:e=>{j({iconColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:g,onChange:e=>j({iconColor:e})})),G().createElement(Fa,null,G().createElement(bO,{saved:y,resetKey:"iconHoverColor",onReset:e=>{j({iconHoverColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:y,onChange:e=>j({iconHoverColor:e})}))))),G().createElement(BV,{label:(0,K.__)("Background","blockart"),closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart")),G().createElement(Da,null,(0,K.__)("Hover","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:E,resetKey:"iconBackground",onReset:e=>{j({iconBackground:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(RV,{value:E,onChange:e=>j({iconBackground:e}),types:["color","gradient"]})),G().createElement(Fa,null,G().createElement(bO,{saved:k,resetKey:"iconBackgroundHover",onReset:e=>{j({iconBackgroundHover:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(RV,{value:k,onChange:e=>j({iconBackgroundHover:e}),types:["color","gradient"]})))))),"text"===I&&G().createElement(G().Fragment,null,G().createElement(MD,{resetAttributeKey:"textSize",label:(0,K.__)("Text Size","blockart"),min:0,max:50,value:_,onChange:e=>j({textSize:e}),responsive:!0,units:["px","em","%"]}),G().createElement(BV,{label:(0,K.__)("Text Color","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:w,id:"textColor"},{color:x,id:"textHoverColor"}]}));return Iv(w)||Iv(x)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-10px",bg:"white",borderRadius:"full"})):G().createElement(t,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart")),G().createElement(Da,null,(0,K.__)("Hover","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:w,resetKey:"textColor",onReset:e=>{j({textColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:w,onChange:e=>j({textColor:e})})),G().createElement(Fa,null,G().createElement(bO,{saved:x,resetKey:"textHoverColor",onReset:e=>{j({textHoverColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:x,onChange:e=>j({textHoverColor:e})}))))),G().createElement(OD,{value:O,onChange:e=>j({typography:e}),resetAttributeKey:"typography"})),G().createElement(jF,{label:(0,K.__)("Initially Collapsed","blockart"),checked:T,onChange:e=>j({initiallyCollapsed:e})})))),G().createElement(hH,null,G().createElement(gH,{title:(0,K.__)("Properties","blockart"),initialOpen:!0},G().createElement(HF,{value:c,onChange:e=>{j({alignment:e})},label:(0,K.__)("Overall Alignment","blockart"),responsive:!0,resetAttributeKey:"alignment",groupProps:{sx:{".chakra-button":{minH:"32px",svg:{w:6,h:6},"&[data-active]":{svg:{fill:"#fff !important"}}}}}},G().createElement(FF,{value:"left"},G().createElement(qM,null)),G().createElement(FF,{value:"center"},G().createElement(YM,null)),G().createElement(FF,{value:"right"},G().createElement(KM,null))),!M&&G().createElement(G().Fragment,null,G().createElement(HF,{value:u,onChange:e=>{j({titleAlign:e})},label:(0,K.__)("Title Alignment","blockart"),responsive:!0,resetAttributeKey:"titleAlign",groupProps:{sx:{".chakra-button":{minH:"32px",svg:{w:6,h:6},"&[data-active]":{svg:{fill:"#fff !important"}}}}}},G().createElement(FF,{value:"left"},G().createElement(qM,null)),G().createElement(FF,{value:"center"},G().createElement(YM,null)),G().createElement(FF,{value:"right"},G().createElement(KM,null)))),G().createElement(HF,{value:d,onChange:e=>{j({listsAlign:e})},label:(0,K.__)("List Alignment","blockart"),responsive:!0,resetAttributeKey:"listsAlign",groupProps:{sx:{".chakra-button":{minH:"32px",svg:{w:6,h:6},"&[data-active]":{svg:{fill:"#fff !important"}}}}}},G().createElement(FF,{value:"left"},G().createElement(qM,null)),G().createElement(FF,{value:"center"},G().createElement(YM,null)),G().createElement(FF,{value:"right"},G().createElement(KM,null)))),G().createElement(gH,{title:(0,K.__)("Title","blockart")},G().createElement(BV,{label:(0,K.__)("Title Color","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:D,id:"titleColor"},{color:B,id:"titleHoverColor"}]}));return Iv(D)||Iv(B)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-10px",bg:"white",borderRadius:"full"})):G().createElement(t,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart")),G().createElement(Da,null,(0,K.__)("Hover","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:D,resetKey:"titleColor",onReset:e=>{j({titleColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:D,onChange:e=>j({titleColor:e})})),G().createElement(Fa,null,G().createElement(bO,{saved:B,resetKey:"titleHoverColor",onReset:e=>{j({titleHoverColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:B,onChange:e=>j({titleHoverColor:e})}))))),G().createElement(OD,{value:z,onChange:e=>j({titleTypography:e}),resetAttributeKey:"titleTypography"})),G().createElement(gH,{title:(0,K.__)("List","blockart")},G().createElement(MD,{label:(0,K.__)("List item gap","blockart"),value:p,min:0,max:300,step:1,onChange:e=>j({listGap:e}),resetAttributeKey:"listGap"}),G().createElement(BV,{label:(0,K.__)("List Color","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:V,id:"listColor"},{color:N,id:"listHoverColor"}]}));return Iv(V)||Iv(N)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-10px",bg:"white",borderRadius:"full"})):G().createElement(t,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart")),G().createElement(Da,null,(0,K.__)("Hover","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:V,resetKey:"listColor",onReset:e=>{j({listColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:V,onChange:e=>j({listColor:e})})),G().createElement(Fa,null,G().createElement(bO,{saved:N,resetKey:"listHoverColor",onReset:e=>{j({listHoverColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:N,onChange:e=>j({listHoverColor:e})}))))),G().createElement(OD,{value:F,onChange:e=>j({listTypography:e}),resetAttributeKey:"listTypography"})),G().createElement(gH,{title:(0,K.__)("Background","blockart")},G().createElement(BV,{label:(0,K.__)("Type","blockart")},G().createElement(Ba,{pt:"4"},G().createElement(bO,{saved:L,resetKey:"backgroundColor",onReset:e=>{j({backgroundColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(RV,{value:L,onChange:e=>j({backgroundColor:e})})))),G().createElement(gH,{title:(0,K.__)("Border","blockart")},G().createElement(Oa,{variant:"border"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart")),G().createElement(Da,null,(0,K.__)("Hover","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(OV,{value:P,onChange:e=>{j({border:e})},resetAttributeKey:"border"}),G().createElement(FV,{resetAttributeKey:"boxShadow",value:A,onChange:e=>j({boxShadow:e})})),G().createElement(Fa,null,G().createElement(OV,{value:C,onChange:e=>{j({hoverBorder:e})},resetAttributeKey:"hoverBorder"}),G().createElement(FV,{resetAttributeKey:"boxShadowHover",value:S,onChange:e=>j({boxShadowHover:e})})))))),G().createElement(fH,null,G().createElement(yH,{blockMargin:R,setAttributes:j,blockPadding:r,blockZIndex:t,cssID:n,className:l,hasblockHTML:!1}),G().createElement(EH,{hideOnDesktop:a,hideOnTablet:o,hideOnMobile:i,setAttributes:j})))},SY={H1:1,H2:2,H3:3,H4:4,H5:5,H6:6},RY=(e,t=0)=>{const r=[];for(let n=0;n<e.length;n++){const a=e[n];if(a.level===e[0].level){let o=n+1;for(;o<e.length&&e[o].level>a.level;)o++;r.push({heading:a,index:t+n,children:o>n+1?RY(e.slice(n+1,o),t+n+1):null}),n=o-1}}return r},MY=e=>G().createElement("ul",{className:"blockart-toc-list"},e.headings.map((({heading:{content:t},children:r},n)=>G().createElement("li",{className:"blockart-toc-list-item",key:n},G().createElement("a",{className:e.listTypography?.__className,href:"#"},t),r&&G().createElement(MY,{headings:r,listTypography:e.listTypography}))))),TY=(0,Hv.withSelect)((e=>{const{getBlockOrder:t,isTyping:r}=e("core/block-editor");return{content:e("core/editor")?e("core/editor").getEditedPostContent():"",isTyping:r(),order:t()}}))((e=>{const{content:t="",allowedHeadings:r,order:n}=e,[a,o]=(0,U.useState)([]);return(0,U.useLayoutEffect)((()=>{o((e=>{const n=((e,t)=>{const r=document.implementation.createHTMLDocument();r.body.innerHTML=e;for(const e of r.body.querySelectorAll("template"))e.remove;if(t&&t?.length){const e=r.body.querySelectorAll(t.toString()),n=Array.from(e).map((e=>{var t;return{content:null!==(t=e.textContent)&&void 0!==t?t:"",level:SY[e.tagName]}})).filter((e=>""!==e.content));return RY(n)}return null})(t,r);return JSON.stringify(n)===JSON.stringify(e)?e:null!=n?n:[]}))}),[t,r,n]),a&&a.length?G().createElement(MY,{headings:a,listTypography:e.listTypography}):G().createElement("p",null,(0,K.__)("Add Heading blocks to generate table of contents. Supported heading blocks will be linked here.","blockart"))})),IY=PY.name,OY={...PY,icon:G().createElement(cz,{type:"blockIcon",name:"toc",size:24}),edit:e=>{const{attributes:{cssID:t,className:r,headingTitle:n,collapsible:a,initiallyCollapsed:o,iconType:i,openIcon:l,closeIcon:s,marker:c,typography:u,titleTypography:d,listTypography:p},setAttributes:m}=e,{clientId:h}=jv(e),{device:f}=ib(),{CopyPasterStyleBlockControl:v}=Yv(),{Style:b}=Fv({blockName:"toc",clientId:h,attributes:e.attributes,device:f}),[g,y]=G().useState(!1);return G().createElement(G().Fragment,null,G().createElement(AY,{attributes:e.attributes,setAttributes:m}),G().createElement(v,{withBlockControls:!0}),G().createElement(b,null),G().createElement("div",{className:Cv(`blockart-toc blockart-toc-${h}`,`has-marker-${c}`,r)},G().createElement("div",{className:"blockart-toc-header"},G().createElement(q.RichText,{id:t||null,className:Cv("blockart-toc-title",d?._className),placeholder:(0,K.__)("Table of Contents","blockart"),value:n,onChange:e=>m({headingTitle:e}),multiline:!1,onRemove:()=>e.onReplace([])}),a&&G().createElement("button",{type:"button",className:Cv("blockart-toc-toggle",u?._className),onClick:()=>y((e=>!e))},"text"===i?G().createElement("span",null,g?"Show":"Hide"):G().createElement(LH,{name:g?s:l}))),G().createElement("div",{className:"blockart-toc-body",hidden:a?!!g:void 0},G().createElement(TY,{allowedHeadings:e.attributes.headings,listTypography:p}))))},save:()=>null},LY=JSON.parse('{"apiVersion":2,"$schema":"https://schemas.wp.org/trunk/block.json","name":"blockart/tabs","title":"Tabs","description":"Tabs block allows you to add multiple tabs.","keywords":["tab","tabs"],"category":"blockart","textdomain":"blockart","supports":{"className":false,"customClassName":false},"example":{"attributes":{}},"providesContext":{"blockart/initialOpenTab":"initialOpenTab"},"attributes":{"clientId":{"type":"string"},"numberOfTabs":{"type":"number","default":3},"initialOpenTab":{"type":"number"},"blockMargin":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { margin: {{VALUE}}; }"}]},"blockPadding":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { padding: {{VALUE}}; }"}]},"blockZIndex":{"type":"number","style":[{"selector":"{{WRAPPER}} { z-index: {{VALUE}}; }"}]},"cssID":{"type":"string"},"hideOnDesktop":{"type":"boolean","style":[{"selector":"@media (min-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnTablet":{"type":"boolean","style":[{"selector":"@media (min-width:48em) and (max-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} { display: none; } }"}]},"className":{"type":"string"},"tabHeaders":{"type":"array","default":["Tab 1","Tab 2","Tab 3"]},"tabActive":{"type":"number","default":0},"tabActiveFront":{"type":"number","default":0},"background":{"type":"object","default":{"background":1},"style":[{"selector":".blockart-tabs{{WRAPPER}}"}]},"design":{"type":"string","default":"horizontal-underline"}},"style":"blockart-blocks","editorScript":"blockart-blocks","editorStyle":"blockart-blocks-editor","viewScript":"blockart-frontend-tabs"}'),DY=e=>{var t;const{attributes:{blockZIndex:r,blockMargin:n,blockPadding:a,cssID:o,hideOnDesktop:i,hideOnTablet:l,hideOnMobile:s,className:c,background:u,initialOpenTab:d},setAttributes:p,tabTitlesBlock:m}=e;return G().createElement(G().Fragment,null,G().createElement(bH,null),G().createElement(mH,null,G().createElement(gH,{title:(0,K.__)("Layout","blockart"),initialOpen:!0},G().createElement(VV,{options:null!==(t=m?.attributes?.titles?.map(((e,t)=>({label:e,value:t+1}))))&&void 0!==t?t:[],onChange:e=>p({initialOpenTab:e}),value:null!=d?d:1,label:(0,K.__)("Initially active tab","blockart")}))),G().createElement(hH,null,G().createElement(gH,{title:(0,K.__)("Background","blockart"),initialOpen:!0},G().createElement(BV,{label:(0,K.__)("Type","blockart")},G().createElement(Ba,{padding:4},G().createElement(bO,{saved:u,resetKey:"background",onReset:e=>{p({background:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(RV,{value:u,onChange:e=>p({background:e})}))))),G().createElement(fH,null,G().createElement(yH,{blockMargin:n,setAttributes:p,blockPadding:a,blockZIndex:r,cssID:o,className:c,hasblockHTML:!1}),G().createElement(EH,{hideOnDesktop:i,hideOnTablet:l,hideOnMobile:s,setAttributes:p})))},BY=["blockart/tab","blockart/tab-titles"],zY=e=>{let t=[],r=[];for(let n=0;n<e;n++)t.push(["blockart/tab",{tabNumber:n}]),r.push("Tab "+(n+1));return[["blockart/tab-titles",{titles:r}],...t]},NY=(0,Hv.withSelect)(((e,t)=>({tabTitlesBlock:e("core/block-editor").getBlocks(t.clientId)[0]})))((e=>{const{attributes:{className:t,numberOfTabs:r,design:n},setAttributes:a}=e,{clientId:o}=jv(e),{device:i}=ib(),{CopyPasterStyleBlockControl:l}=Yv(),{Style:s}=Fv({blockName:"tabs",clientId:o,attributes:e.attributes,device:i}),c=(0,q.useBlockProps)({className:Cv(`blockart-tabs blockart-tabs-${o} blockart-${n}`,t)}),u=(0,q.useInnerBlocksProps)(c,{template:zY(r),templateLock:"all",allowedBlocks:BY});return G().createElement(G().Fragment,null,G().createElement(DY,{attributes:e.attributes,setAttributes:a,tabTitlesBlock:e.tabTitlesBlock}),G().createElement(l,{withBlockControls:!0}),G().createElement(s,null),G().createElement("div",u))})),VY=LY.name,FY={...LY,icon:G().createElement(cz,{type:"blockIcon",name:"tabs",size:24}),edit:NY,save:e=>{const{attributes:{clientId:t,className:r,design:n}}=e;return G().createElement("div",{className:Cv(`blockart-tabs blockart-tabs-${t} blockart-${n}`,r)},G().createElement(q.InnerBlocks.Content,null))}},HY=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","name":"blockart/team","title":"Team","description":"Create team layout with heading, subheading, description and image.","keywords":["team"],"category":"blockart","textdomain":"blockart","supports":{"className":false,"customClassName":false},"example":{"attributes":{}},"attributes":{"clientId":{"type":"string"},"markup":{"type":"string","default":"h2"},"teamName":{"type":"string","default":"Alex Gordon"},"teamDesignation":{"type":"string","default":"Designation"},"imageEnable":{"type":"boolean","default":true},"imageWidth":{"type":"string","style":[{"selector":"{{WRAPPER}} .blockart-team-image .blockart-image { width: {{VALUE}}; height: auto; }"}]},"teamContent":{"type":"string","default":"Click here to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo."},"background":{"type":"object","default":{"background":1},"style":[{"selector":"{{WRAPPER}}"}]},"alignment":{"type":"object","style":[{"selector":"{{WRAPPER}} .blockart-team-container {text-align: {{VALUE}}; }"}]},"headingTypography":{"type":"object","default":{"typography":1,"weight":400},"style":[{"selector":"{{WRAPPER}} .blockart-team-name .blockart-team-member-name"}]},"designationTypography":{"type":"object","default":{"typography":1,"weight":400},"style":[{"selector":"{{WRAPPER}} .blockart-team-designation p"}]},"textTypography":{"type":"object","default":{"typography":1,"weight":400},"style":[{"selector":"{{WRAPPER}} .blockart-team-content p"}]},"border":{"type":"object","default":{"border":1,"radius":{"desktop":{"lock":true}},"size":{"desktop":{"lock":true}}},"style":[{"selector":"{{WRAPPER}}"}]},"headingMargin":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} .blockart-team-name .blockart-team-member-name { margin: {{VALUE}}; }"}]},"designationMargin":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} .blockart-team-designation p { margin: {{VALUE}}; }"}]},"textMargin":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} .blockart-team-content p { margin: {{VALUE}}; }"}]},"headingColor":{"type":"string","style":[{"selector":"{{WRAPPER}} .blockart-team-name .blockart-team-member-name { color: {{VALUE}} }"}]},"designationColor":{"type":"string","style":[{"selector":"{{WRAPPER}} .blockart-team-designation p { color: {{VALUE}} }"}]},"textColor":{"type":"string","style":[{"selector":"{{WRAPPER}} .blockart-team-content p { color: {{VALUE}} }"}]},"headingEnable":{"type":"boolean","default":true},"designationEnable":{"type":"boolean","default":true},"textEnable":{"type":"boolean","default":true},"blockMargin":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { margin: {{VALUE}}; }"}]},"blockPadding":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { padding: {{VALUE}}; }"}]},"blockZIndex":{"type":"number","style":[{"selector":"{{WRAPPER}} { z-index: {{VALUE}}; }"}]},"cssID":{"type":"string"},"animation":{"type":"string"},"interaction":{"type":"object"},"position":{"type":"object"},"hideOnDesktop":{"type":"boolean","style":[{"selector":"@media (min-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnTablet":{"type":"boolean","style":[{"selector":"@media (min-width:48em) and (max-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} { display: none; } }"}]},"colReverseOnTablet":{"type":"boolean","style":[{"selector":"@media (max-width:62em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"colReverseOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"blockCSS":{"type":"string"},"className":{"type":"string"},"icons":{"type":"object","default":{"icon1":{"enable":true,"icon":"facebook","link":"#"},"icon2":{"enable":true,"icon":"linkedin","link":"#"},"icon3":{"enable":true,"icon":"twitter","link":"#"},"icon4":{"enable":true,"icon":"pinterest","link":"#"},"icon5":{"type":"object","default":{"enable":true,"icon":"youtube","link":"#"}}}},"iconSize":{"type":"object","style":[{"selector":"{{WRAPPER}} .blockart-team-icon .blockart-icon { width: {{VALUE}}; height: auto; }"}]}},"style":"blockart-blocks","editorScript":"blockart-blocks","editorStyle":"blockart-blocks-editor"}'),jY=e=>{const{value:t,setAttributes:r,isSave:n,designationTypography:a}=e,o=n?q.RichText.Content:q.RichText;return G().createElement("div",{className:"blockart-team-designation"},G().createElement(o,{className:Cv(a?.__className),tagName:"p",placeholder:(0,K.__)("Name","blockart"),value:t,onChange:e=>{r?.({teamDesignation:e})}}))},WY=e=>{const{value:t,markup:r,setAttributes:n,isSave:a,headingTypography:o}=e,i=a?q.RichText.Content:q.RichText;return G().createElement("div",{className:"blockart-team-name"},G().createElement(i,{className:Cv("blockart-team-member-name",o?.__className),tagName:r,placeholder:(0,K.__)("Name","blockart"),value:t,onChange:e=>{n?.({teamName:e})}}))},$Y=e=>{const{url:t,alt:r}=e;return G().createElement("div",{className:"blockart-team-image"},G().createElement("figure",null,t&&G().createElement("img",{className:"blockart-image",src:t||BF,alt:null!=r?r:""})))},ZY=e=>{const{attributes:{markup:t,headingMargin:r,background:n,alignment:a,textEnable:o,border:i,blockPadding:l,hideOnDesktop:s,hideOnTablet:c,hideOnMobile:u,className:d,cssID:p,blockZIndex:m,headingColor:h,headingEnable:f,designationEnable:v,icons:b,imageWidth:g,imageEnable:y,headingTypography:E,designationColor:k,designationTypography:w,designationMargin:x,textColor:_,textTypography:P,textMargin:C,image:A={},iconSize:S,blockMargin:R},setAttributes:M}=e,T=(e,t)=>{var r;M({icons:{...b,[e]:{...null!==(r=b?.[e])&&void 0!==r?r:{},...t}}})};return G().createElement(G().Fragment,null,G().createElement(bH,null),G().createElement(mH,null,G().createElement(gH,{title:(0,K.__)("Image","blockart"),initialOpen:!0},G().createElement(jF,{onChange:e=>M({imageEnable:e}),checked:y,label:(0,K.__)("Enable","blockart")}),y&&G().createElement(BV,{label:(0,K.__)("Add Image","blockart"),popoverDivProps:{sx:{".components-popover__content":{p:4}}}},G().createElement(zF,{onChange:e=>M({image:e}),label:(0,K.__)("Image","blockart"),type:"image",value:A}))),G().createElement(gH,{title:(0,K.__)("Name","blockart")},G().createElement(jF,{onChange:e=>M({headingEnable:e}),checked:f,label:(0,K.__)("Enable","blockart")}),f&&G().createElement(G().Fragment,null,G().createElement(VV,{options:kj,onChange:e=>M({markup:e}),value:t,label:(0,K.__)("HTML Markup","blockart")}))),G().createElement(gH,{title:(0,K.__)("Designation","blockart")},G().createElement(jF,{onChange:e=>M({designationEnable:e}),checked:v,label:(0,K.__)("Enable","blockart")})),G().createElement(gH,{title:(0,K.__)("Description","blockart")},G().createElement(jF,{onChange:e=>M({textEnable:e}),checked:o,label:(0,K.__)("Enable","blockart")})),G().createElement(gH,{title:(0,K.__)("Social Icon","blockart")},G().createElement(MD,{resetAttributeKey:"iconSize",label:(0,K.__)("Size","blockart"),min:0,max:50,value:S,onChange:e=>M({iconSize:e}),responsive:!0,units:["px","em","%"]}),G().createElement(kS,{gap:0},[1,2,3,4,5].map((e=>G().createElement(BV,{key:e,label:(0,K.sprintf)((0,K.__)("Icon %d","blockart"),e),popoverDivProps:{sx:{".components-popover__content":{p:4,minW:"254px"}}},trigger:t=>G().createElement(Ua,null,b?.[`icon${e}`]?.enable&&G().createElement(BV.Trigger,t),G().createElement(B_,{isChecked:b?.[`icon${e}`]?.enable,onChange:t=>{T(`icon${e}`,{enable:t.target.checked})}}))},G().createElement(LF,{value:b?.[`icon${e}`]?.icon,onChange:t=>{T(`icon${e}`,{icon:t})}}),G().createElement(pS,{label:(0,K.__)("Link","blockart"),value:b?.[`icon${e}`]?.link,onChange:t=>{T(`icon${e}`,{link:t})}}),G().createElement(jF,{label:(0,K.__)("Open in new Tab","blockart"),value:b?.[`icon${e}`]?.newTab,onChange:t=>T(`icon${e}`,{newTab:t})}))))))),G().createElement(hH,null,G().createElement(gH,{title:(0,K.__)("Properties","blockart"),initialOpen:!0},G().createElement(HF,{value:a,onChange:e=>{M({alignment:e})},label:(0,K.__)("Text Alignment","blockart"),responsive:!0,resetAttributeKey:"alignment",groupProps:{sx:{".chakra-button":{minH:"32px","&[data-active]":{svg:{fill:"#fff !important"}}}}}},G().createElement(FF,{value:"left"},G().createElement(qM,null)),G().createElement(FF,{value:"center"},G().createElement(YM,null)),G().createElement(FF,{value:"right"},G().createElement(KM,null)))),G().createElement(gH,{title:(0,K.__)("Background","blockart")},G().createElement(BV,{label:(0,K.__)("Type","blockart")},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:n,resetKey:"background",onReset:e=>{M({background:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(RV,{value:n,onChange:e=>M({background:e})})))))),y&&G().createElement(G().Fragment,null,G().createElement(gH,{title:(0,K.__)("Image","blockart")},G().createElement(MD,{label:"Size",value:g,onChange:e=>M({imageWidth:e}),min:0,max:500,units:["px"],responsive:!0}))),f&&G().createElement(G().Fragment,null,G().createElement(gH,{title:(0,K.__)("Name","blockart")},G().createElement(BV,{label:(0,K.__)("Color","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:h,id:"headingColor"}]}));return Iv(h)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-5px",bg:"white",borderRadius:"full"})):G().createElement(t,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:h,resetKey:"headingColor",onReset:e=>{M({headingColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:h,onChange:e=>M({headingColor:e})}))))),G().createElement(Ba,{py:"1px"},G().createElement(OD,{resetAttributeKey:"headingTypography",value:E,onChange:e=>M({headingTypography:e})})),G().createElement($V,{value:r,responsive:!0,label:(0,K.__)("Margin","blockart"),defaultUnit:"px",units:["px","rem","em","%"],onChange:e=>M({headingMargin:e}),type:"margin",resetAttributeKey:"headingMargin"}))),v&&G().createElement(G().Fragment,null,G().createElement(gH,{title:(0,K.__)("Designation","blockart")},G().createElement(BV,{label:(0,K.__)("Color","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:k,id:"designationColor"}]}));return Iv(k)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-5px",bg:"white",borderRadius:"full"})):G().createElement(t,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:k,resetKey:"designationColor",onReset:e=>{M({designationColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:k,onChange:e=>M({designationColor:e})}))))),G().createElement(OD,{resetAttributeKey:"designationTypography",value:w,onChange:e=>M({designationTypography:e})}),G().createElement($V,{value:x,responsive:!0,label:(0,K.__)("Margin","blockart"),defaultUnit:"px",units:["px","rem","em","%"],onChange:e=>M({designationMargin:e}),type:"margin",resetAttributeKey:"designationMargin"}))),o&&G().createElement(G().Fragment,null,G().createElement(gH,{title:(0,K.__)("Description","blockart")},G().createElement(BV,{label:(0,K.__)("Color","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:_,id:"textColor"}]}));return Iv(_)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-5px",bg:"white",borderRadius:"full"})):G().createElement(t,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:_,resetKey:"textColor",onReset:e=>{M({textColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:_,onChange:e=>M({textColor:e})}))))),G().createElement(OD,{resetAttributeKey:"textTypography",value:P,onChange:e=>M({textTypography:e})}),G().createElement($V,{value:C,responsive:!0,label:(0,K.__)("Margin","blockart"),defaultUnit:"px",units:["px","rem","em","%"],onChange:e=>M({textMargin:e}),type:"margin",resetAttributeKey:"textMargin"}))),G().createElement(gH,{title:(0,K.__)("Border","blockart")},G().createElement(OV,{value:i,onChange:e=>{M({border:e})},resetAttributeKey:"border"}))),G().createElement(fH,null,G().createElement(yH,{blockMargin:R,setAttributes:M,blockPadding:l,blockZIndex:m,cssID:p,className:d,hasblockHTML:!1}),G().createElement(EH,{hideOnDesktop:s,hideOnTablet:c,hideOnMobile:u,setAttributes:M})))},UY=e=>{const{icons:t={},isSave:r}=e,n=Object.entries(t).filter((([,e])=>e.enable));if(!n.length)return null;const a=r?"a":G().Fragment;return G().createElement("div",{className:"blockart-team-social"},n.map((([e,t])=>{const n=r?{href:t?.link,target:t?.newTab?"_blank":void 0}:{};return G().createElement(a,(0,Ut.A)({key:e},n),G().createElement("span",{className:"blockart-team-icon"},G().createElement(LH,{name:t.icon})))})))},GY=e=>{const{value:t,setAttributes:r,isSave:n,textTypography:a}=e,o=n?q.RichText.Content:q.RichText;return G().createElement("div",{className:"blockart-team-content"},G().createElement(o,{className:Cv(a?.__className),tagName:"p",placeholder:(0,K.__)("Click here to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.","blockart"),value:t,onChange:e=>{r?.({teamContent:e})}}))},qY=HY.name,KY={...HY,icon:G().createElement(cz,{type:"blockIcon",name:"team",size:24}),edit:e=>{var t,r;const{attributes:{markup:n,textEnable:a,className:o,headingEnable:i,designationEnable:l,icon:s,icon2:c,icon3:u,icon4:d,icon5:p,teamName:m,teamDesignation:h,imageEnable:f,teamContent:v,image:b={},icons:g,headingTypography:y,designationTypography:E,textTypography:k},setAttributes:w}=e,{clientId:x}=jv(e),{device:_}=ib(),{Style:P}=Fv({blockName:"team",clientId:x,attributes:e.attributes,device:_}),{CopyPasterStyleBlockControl:C}=Yv(),A=null!==(t=b?.url)&&void 0!==t?t:BF,S=null!==(r=b?.alt)&&void 0!==r?r:"";return G().createElement(G().Fragment,null,G().createElement(ZY,{attributes:e.attributes,setAttributes:w}),G().createElement(C,{withBlockControls:!0}),G().createElement(P,null),G().createElement("div",{className:Cv(`blockart-team blockart-team-${x}`,o)},G().createElement("div",{className:"blockart-team-container"},f&&G().createElement($Y,{url:A,alt:S}),i&&G().createElement(WY,{markup:n,value:m,setAttributes:w,headingTypography:y}),l&&G().createElement(jY,{value:h,setAttributes:w,designationTypography:E}),a&&G().createElement(GY,{setAttributes:w,value:v,textTypography:k}),G().createElement(UY,{icons:g}))))},save:({attributes:{clientId:e,markup:t,textEnable:r,className:n,headingEnable:a,designationEnable:o,teamName:i,teamDesignation:l,imageEnable:s,teamContent:c,image:u,icons:d,headingTypography:p,designationTypography:m,textTypography:h}})=>{var f,v;const b=null!==(f=u?.url)&&void 0!==f?f:BF,g=null!==(v=u?.alt)&&void 0!==v?v:"";return G().createElement("div",{className:Cv(`blockart-team blockart-team-${e}`,n)},G().createElement("div",{className:"blockart-team-container"},s&&G().createElement($Y,{url:b,alt:g}),a&&G().createElement(WY,{isSave:!0,markup:t,value:i,headingTypography:p}),o&&G().createElement(jY,{isSave:!0,value:l,designationTypography:m}),r&&G().createElement(GY,{isSave:!0,value:c,textTypography:h}),G().createElement(UY,{isSave:!0,icons:d})))}},YY=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","name":"blockart/testimonial","title":"Testimonial","description":"Create a slider with multiple testimonial.","keywords":["testimonial"],"category":"blockart","textdomain":"blockart","supports":{"className":false,"customClassName":false,"html":false},"example":{"attributes":{}},"attributes":{"clientId":{"type":"string"},"justification":{"type":"object"},"orientation":{"type":"object"},"alignment":{"type":"object"},"autoplay":{"type":"boolean","default":false},"loop":{"type":"boolean","default":false},"pauseOnHover":{"type":"boolean","default":true},"arrows":{"type":"boolean","default":true},"speed":{"type":"number","default":800},"interval":{"type":"object","default":5000},"pagination":{"type":"boolean","default":false},"perPage":{"type":"number","default":1},"perMove":{"type":"number","default":1},"borderEnable":{"type":"boolean","default":false},"dotColor":{"type":"string","default":"#000000","style":[{"selector":"{{WRAPPER}} .splide ul.splide__pagination li button.splide__pagination__page { background: {{VALUE}}; } {{WRAPPER}} .splide__arrow svg { fill: {{VALUE}}; }"}]},"arrowBackground":{"type":"string","style":[{"selector":"{{WRAPPER}}.blockart-testimonial .splide .splide__arrows .splide__arrow { background-color: {{VALUE}}; }"}]},"arrowDistance":{"type":"object","default":{"value":-36,"unit":"px"},"style":[{"selector":"{{WRAPPER}} .splide__arrows .splide__arrow--prev { left: {{VALUE}}; } {{WRAPPER}} .splide__arrows .splide__arrow--next { right: {{VALUE}}; }"}]},"dotMargin":{"type":"object","style":[{"selector":"{{WRAPPER}} .splide__pagination { bottom: {{VALUE}}; }"}]},"isArrowBorderEnabled":{"type":"boolean","default":false},"arrowBorder":{"type":"object","default":{"border":1,"radius":{"desktop":{"lock":true}},"size":{"desktop":{"lock":true}}},"style":[{"condition":[{"key":"isArrowBorderEnabled","relation":"==","value":true}],"selector":"{{WRAPPER}}.blockart-testimonial .splide .splide__arrows .splide__arrow"}]},"arrowSize":{"type":"object","style":[{"selector":"{{WRAPPER}} .splide__arrow svg { width: {{VALUE}}; height: auto; }"}]},"spaceBetween":{"type":"number","style":[{"selector":"{{WRAPPER}} .splide__list {gap: {{VALUE}}; }"}]},"color":{"type":"object","style":[{"selector":"{{WRAPPER}} p {color: {{VALUE}}; }"}]},"background":{"type":"object","default":{"background":1},"style":[{"selector":"{{WRAPPER}}"}]},"border":{"type":"object","default":{"border":1,"radius":{"desktop":{"lock":true}},"size":{"desktop":{"lock":true}}},"style":[{"selector":"{{WRAPPER}}"}]},"flexWrap":{"type":"boolean","default":true},"flexGap":{"type":"object","default":{"desktop":{"value":8,"unit":"px"}},"style":[{"selector":"{{WRAPPER}} { gap: {{VALUE}}; }"}]},"positionProperty":{"type":"object","default":{"positionProperty":1,"position":"none"},"style":[{"selector":"{{WRAPPER}}"}]},"blockMargin":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { margin: {{VALUE}}; }"}]},"blockPadding":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { padding: {{VALUE}}; }"}]},"blockHTML":{"type":"string","default":"div"},"blockZIndex":{"type":"number","style":[{"selector":"{{WRAPPER}} { z-index: {{VALUE}}; }"}]},"blockOpacity":{"type":"number","style":[{"selector":"{{WRAPPER}} { opacity: {{VALUE}}; }"}]},"cssID":{"type":"string"},"animation":{"type":"string"},"interaction":{"type":"object"},"position":{"type":"object"},"hideOnDesktop":{"type":"boolean","style":[{"selector":"@media (min-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnTablet":{"type":"boolean","style":[{"selector":"@media (min-width:48em) and (max-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} { display: none; } }"}]},"colReverseOnTablet":{"type":"boolean","style":[{"selector":"@media (max-width:62em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"colReverseOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"blockCSS":{"type":"string"},"className":{"type":"string"}},"style":"blockart-blocks","editorScript":"blockart-blocks","editorStyle":"blockart-blocks-editor","viewScript":"blockart-frontend-slider"}'),XY=e=>{const{attributes:{blockMargin:t,blockPadding:r,hideOnDesktop:n,hideOnTablet:a,hideOnMobile:o,className:i,cssID:l,blockZIndex:s,speed:c,autoplay:u,pauseOnHover:d,arrows:p,interval:m,perPage:h,pagination:f,spaceBetween:v,perMove:b,loop:g,background:y,color:E,border:k,dotColor:w,arrowBackground:x,arrowSize:_,arrowDistance:P,dotMargin:C,arrowBorder:A,isArrowBorderEnabled:S},setAttributes:R}=e;return G().createElement(G().Fragment,null,G().createElement(bH,null),G().createElement(mH,null,G().createElement(gH,{title:(0,K.__)("General","blockart"),initialOpen:!0},G().createElement(MD,{label:(0,K.__)("Per Page","blockart"),value:h,onChange:e=>R({perPage:e,perMove:e}),min:1,max:20,step:1,resetAttributeKey:"perPage"}),G().createElement(MD,{label:(0,K.__)("Per Move","blockart"),value:b,onChange:e=>R({perMove:e}),min:1,max:20,step:1,resetAttributeKey:"perMove"}),G().createElement(pS,{label:(0,K.__)("Speed (ms)","blockart"),type:"number",value:c,onChange:e=>R({speed:e})}),G().createElement(pS,{label:(0,K.__)("Interval (ms)","blockart"),type:"number",value:m,onChange:e=>R({interval:e})}),G().createElement(jF,{checked:g,label:(0,K.__)("Loop","blockart"),onChange:e=>R({loop:e})}),G().createElement(jF,{checked:null!=u&&u,label:(0,K.__)("Auto Play","blockart"),onChange:e=>R({autoplay:e})}),G().createElement(HF,{value:d?"hover":"none",onChange:e=>{R({pauseOnHover:!d})},label:(0,K.__)("Pause On","blockart"),resetAttributeKey:"pauseOnHover",groupProps:{sx:{".chakra-button":{minH:"32px",svg:{w:6,h:6}}}}},G().createElement(FF,{value:"hover"},(0,K.__)("Hover","blockart")),G().createElement(FF,{value:"none"},(0,K.__)("None","blockart"))),G().createElement(jF,{checked:null!=p&&p,label:(0,K.__)("Arrows","blockart"),onChange:e=>R({arrows:e})}),G().createElement(jF,{checked:null!=f&&f,label:(0,K.__)("Pagination","blockart"),onChange:e=>R({pagination:e})})),G().createElement(gH,{title:(0,K.__)("Spacing and Height","blockart")},G().createElement(MD,{label:(0,K.__)("Space between","blockart"),value:v,onChange:e=>R({spaceBetween:e}),min:0,max:2e3,step:1,resetAttributeKey:"spaceBetween"})),G().createElement(gH,{title:(0,K.__)("Arrows and Dots","blockart")},G().createElement(MD,{label:(0,K.__)("Size","blockart"),value:_,onChange:e=>R({arrowSize:e}),min:10,max:100,step:1,defaultUnit:"px",units:["px","em","rem"],resetAttributeKey:"arrowSize"}),G().createElement(MD,{label:(0,K.__)("Arrow Distance from Edges","blockart"),value:P,onChange:e=>R({arrowDistance:e}),min:-100,max:100,step:1,defaultUnit:"em",units:["px","em","rem"],resetAttributeKey:"arrowDistance"}))),G().createElement(hH,null,G().createElement(gH,{title:(0,K.__)("Arrows and Dots","blockart"),initialOpen:!0},G().createElement(BV,{label:(0,K.__)("Color","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:w,id:"dotColor"}]}));return Iv(w)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-10px",bg:"white",borderRadius:"full"})):G().createElement(t,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:w,resetKey:"dotColor",onReset:e=>{R({dotColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:w,onChange:e=>R({dotColor:e})}))))),G().createElement(BV,{label:"Background"},G().createElement(RV,{onChange:e=>R({arrowBackground:e}),value:x})),G().createElement(jF,{checked:S,label:(0,K.__)("Border","blockart"),onChange:e=>R({isArrowBorderEnabled:!S})}),S&&G().createElement(OV,{value:A,onChange:e=>R({arrowBorder:e}),resetAttributeKey:"arrowBorder"}),f&&G().createElement(MD,{label:(0,K.__)("Bottom Margin for Dots","blockart"),value:C,onChange:e=>R({dotMargin:e}),min:-20,max:10,step:1,defaultUnit:"px",units:["px","em","rem"],resetAttributeKey:"dotMargin"})),G().createElement(gH,{title:(0,K.__)("Color","blockart")},G().createElement(BV,{label:(0,K.__)("Text Color","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:E,id:"color"}]}));return Iv(E)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-10px",bg:"white",borderRadius:"full"})):G().createElement(t,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:E,resetKey:"color",onReset:e=>{R({color:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:E,onChange:e=>R({color:e})})))))),G().createElement(gH,{title:(0,K.__)("Background","blockart")},G().createElement(BV,{label:(0,K.__)("Type","blockart")},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(RV,{value:y,onChange:e=>R({background:e})})))))),G().createElement(gH,{title:(0,K.__)("Border","blockart")},G().createElement(OV,{value:k,onChange:e=>R({border:e}),resetAttributeKey:"border"}))),G().createElement(fH,null,G().createElement(yH,{blockMargin:t,setAttributes:R,blockPadding:r,blockZIndex:s,cssID:l,className:i,hasblockHTML:!1}),G().createElement(EH,{hideOnDesktop:n,hideOnTablet:a,hideOnMobile:o,setAttributes:R})))},QY="blockart/testimonial-slide",JY=YY.name,eX={...YY,icon:G().createElement(cz,{type:"blockIcon",name:"testimonial",size:24}),edit:e=>{const{attributes:{cssID:t,className:r,autoplay:n,pagination:a,speed:o,perPage:i,perMove:l,arrows:s,interval:c,pauseOnHover:u,loop:d,spaceBetween:p},setAttributes:m}=e,{clientId:h}=jv(e),{device:f}=ib(),{CopyPasterStyleBlockControl:v}=Yv(),{Style:b}=Fv({blockName:"testimonial",clientId:h,attributes:e.attributes,device:f}),g=(0,q.useInnerBlocksProps)({className:"splide__list"},{allowedBlocks:[QY],template:[[QY],[QY],[QY]],templateLock:!1,templateInsertUpdatesSelection:!0});return G().createElement(G().Fragment,null,G().createElement(XY,{attributes:e.attributes,setAttributes:m}),G().createElement(v,{withBlockControls:!0}),G().createElement(q.BlockControls,null,G().createElement(Zv.ToolbarGroup,null,G().createElement(Zv.Button,{label:(0,K.__)("Add Slide","blockart"),onClick:()=>{const{getBlocks:t}=(0,Hv.select)("core/block-editor"),{replaceInnerBlocks:r}=(0,Hv.dispatch)("core/block-editor"),n=[...t(e.clientId)];n.push((0,$.createBlock)("blockart/testimonial-slide")),r(e.clientId,n,!1)},icon:"plus"}))),G().createElement(b,null),G().createElement("div",{className:Cv(`blockart-testimonial blockart-testimonial-${h}`,r),id:t},G().createElement(KK,{options:{perPage:null!=i?i:1,breakpoints:{1024:{perPage:i-1},768:{perPage:i-2}},pagination:null!=a&&a,pauseOnHover:null==u||u,interval:null!=c?c:5e3,speed:null!=o?o:800,autoplay:null!=n&&n,arrows:null!=s&&s,type:d?"loop":"slide",perMove:null!=l?l:1,lazyLoad:!1,autoHeight:!0,gap:p},hasTrack:!1},G().createElement("div",{className:"splide__track"},G().createElement("ul",g)),G().createElement("div",{className:"splide__arrows"},G().createElement("div",{role:"button",tabIndex:0,className:"splide__arrow splide__arrow--prev"},G().createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 40 40",width:"40",height:"40",focusable:"false"},G().createElement("path",{d:"m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z"}))),G().createElement("div",{role:"button",tabIndex:0,className:"splide__arrow splide__arrow--next"},G().createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 40 40",width:"40",height:"40",focusable:"false"},G().createElement("path",{d:"m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z"})))))))},save:e=>{const{attributes:{clientId:t,className:r,blockHTML:n,cssID:a}}=e,o=q.useInnerBlocksProps.save({className:Cv("splide__list",r)}),i=null!=n?n:"div";return G().createElement(i,{className:Cv(`blockart-testimonial blockart-testimonial-${t}`,r),id:a},G().createElement("div",{className:"splide"},G().createElement("div",{className:"splide__track"},G().createElement("ul",o)),G().createElement("div",{className:"splide__arrows"},G().createElement("div",{role:"button",tabIndex:0,className:"splide__arrow splide__arrow--prev"},G().createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 40 40",width:"40",height:"40",focusable:"false"},G().createElement("path",{d:"m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z"}))),G().createElement("div",{role:"button",tabIndex:0,className:"splide__arrow splide__arrow--next"},G().createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 40 40",width:"40",height:"40",focusable:"false"},G().createElement("path",{d:"m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z"}))))))}},tX=JSON.parse('{"apiVersion":2,"$schema":"https://schemas.wp.org/trunk/block.json","name":"blockart/testimonial-slide","title":"Slide","description":"Create a slide inside testimonial-slide","keywords":["testimonial-slide"],"category":"blockart","textdomain":"blockart","parent":["blockart/testimonial"],"supports":{"className":false,"customClassName":false,"html":false,"inserter":false},"example":{"attributes":{}},"attributes":{"clientId":{"type":"string"},"image":{"type":"object","default":{}},"imageEnable":{"type":"boolean","default":true},"textEnable":{"type":"boolean","default":true},"designationEnable":{"type":"boolean","default":true},"headingEnable":{"type":"boolean","default":true},"testimonialName":{"type":"string","default":"Alex Gordon"},"markup":{"type":"string","default":"h2"},"designation":{"type":"string","default":"Designation"},"imageWidth":{"type":"object","default":{"desktop":125},"style":[{"selector":"{{WRAPPER}} .blockart-testimonial-inner-content .blockart-image { width: {{VALUE}}px; height: auto; }"}]},"headingColor":{"type":"string","style":[{"selector":"{{WRAPPER}} .blockart-testimonial-name .blockart-testimonial-member-name { color: {{VALUE}} }"}]},"textColor":{"type":"string","style":[{"selector":"{{WRAPPER}} .blockart-testimonial-text p { color: {{VALUE}} }"}]},"textContent":{"type":"string","default":"Click here to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo."},"textMargin":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} .blockart-testimonial-text p { margin: {{VALUE}}; }"}]},"headingMargin":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} .blockart-testimonial-name .blockart-testimonial-member-name { margin: {{VALUE}}; }"}]},"designationColor":{"type":"string","style":[{"selector":"{{WRAPPER}} .blockart-testimonial-designation p { color: {{VALUE}} }"}]},"textTypography":{"type":"object","default":{"typography":1,"weight":400},"style":[{"selector":"{{WRAPPER}} .blockart-testimonial-text p"}]},"headingTypography":{"type":"object","default":{"typography":1,"weight":400},"style":[{"selector":"{{WRAPPER}} .blockart-testimonial-name .blockart-testimonial-member-name"}]},"designationTypography":{"type":"object","default":{"typography":1,"weight":400},"style":[{"selector":"{{WRAPPER}} .blockart-testimonial-designation p"}]},"designationMargin":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} .blockart-testimonial-designation p { margin: {{VALUE}}; }"}]},"imageBorderRadius":{"type":"object","default":{"dimension":1,"desktop":{"left":100,"right":100,"top":100,"bottom":100,"unit":"px"}},"style":[{"selector":"{{WRAPPER}} .blockart-testimonial-image .blockart-image { border-radius: {{VALUE}}; }"}]},"background":{"type":"object","default":{"background":1},"style":[{"selector":"{{WRAPPER}}"}]},"border":{"type":"object","default":{"border":1,"radius":{"desktop":{"lock":true}},"size":{"desktop":{"lock":true}}},"style":[{"selector":"{{WRAPPER}}"}]},"positionProperty":{"type":"object","default":{"positionProperty":1,"position":"none"},"style":[{"selector":"{{WRAPPER}}"}]},"blockMargin":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { margin: {{VALUE}}; }"}]},"blockPadding":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { padding: {{VALUE}}; }"}]},"blockHTML":{"type":"string","default":"div"},"blockZIndex":{"type":"number","style":[{"selector":"{{WRAPPER}} { z-index: {{VALUE}}; }"}]},"blockOpacity":{"type":"number","style":[{"selector":"{{WRAPPER}} { opacity: {{VALUE}}; }"}]},"cssID":{"type":"string"},"animation":{"type":"string"},"interaction":{"type":"object"},"position":{"type":"object"},"hideOnDesktop":{"type":"boolean","style":[{"selector":"@media (min-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnTablet":{"type":"boolean","style":[{"selector":"@media (min-width:48em) and (max-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} { display: none; } }"}]},"colReverseOnTablet":{"type":"boolean","style":[{"selector":"@media (max-width:62em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"colReverseOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"blockCSS":{"type":"string"},"className":{"type":"string"}},"style":"blockart-blocks","editorScript":"blockart-blocks","editorStyle":"blockart-blocks-editor"}'),rX=r.p+"013a9830e30a4609108d32425ebc776b.png",nX=e=>{const{url:t,alt:r}=e;return G().createElement("div",{className:"blockart-testimonial-image"},G().createElement("figure",null,t&&G().createElement("img",{className:"blockart-image",src:t||BF,alt:null!=r?r:""})))},aX=e=>{const{value:t,setAttributes:r,isSave:n,textTypography:a}=e,o=n?q.RichText.Content:q.RichText;return G().createElement("div",{className:"blockart-testimonial-text"},G().createElement(o,{className:Cv(a?.__className),tagName:"p",placeholder:(0,K.__)("Click here to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.","blockart"),value:t,onChange:e=>{r?.({textContent:e})}}))},oX=e=>{const{value:t,setAttributes:r,isSave:n,designationTypography:a}=e,o=n?q.RichText.Content:q.RichText;return G().createElement("div",{className:"blockart-testimonial-designation"},G().createElement(o,{className:Cv(a?.__className),tagName:"p",placeholder:(0,K.__)("Designation","blockart"),value:t,onChange:e=>{r?.({designation:e})}}))},iX=e=>{const{value:t,markup:r,setAttributes:n,isSave:a,headingTypography:o}=e,i=a?q.RichText.Content:q.RichText;return G().createElement("div",{className:"blockart-testimonial-name"},G().createElement(i,{className:Cv("blockart-testimonial-member-name",o?.__className),tagName:r,placeholder:(0,K.__)("Name","blockart"),value:t,onChange:e=>{n?.({testimonialName:e})}}))},lX=e=>{const{attributes:{blockMargin:t,blockPadding:r,blockZIndex:n,cssID:a,hideOnDesktop:o,hideOnTablet:i,hideOnMobile:l,className:s,background:c,border:u,image:d,imageWidth:p,textEnable:m,textColor:h,textMargin:f,textTypography:v,designationEnable:b,designationMargin:g,designationColor:y,designationTypography:E,headingEnable:k,headingColor:w,markup:x,headingTypography:_,headingMargin:P,imageBorderRadius:C},setAttributes:A}=e;return G().createElement(G().Fragment,null,G().createElement(bH,null),G().createElement(mH,null,G().createElement(gH,{title:(0,K.__)("Image","blockart"),initialOpen:!0},G().createElement(BV,{label:(0,K.__)("Add Image","blockart"),popoverDivProps:{sx:{".components-popover__content":{p:4,width:"280px"}}}},G().createElement(Ba,{padding:4},G().createElement(zF,{onChange:e=>A({image:e}),label:(0,K.__)("Image","blockart"),type:"image",value:d}),G().createElement(MD,{label:"Size",value:p,onChange:e=>A({imageWidth:e}),min:0,max:500,defaultUnit:"px",forceShowUnit:!0,responsive:!0,resetAttributeKey:"imageWidth"}))),G().createElement($V,{value:C,responsive:!0,label:(0,K.__)("Border Radius","blockart"),defaultUnit:"px",units:["px","rem","em","%"],onChange:e=>A({imageBorderRadius:e}),type:"margin"})),G().createElement(gH,{title:(0,K.__)("Text","blockart")},G().createElement(jF,{checked:m,onChange:()=>A({textEnable:!m}),label:(0,K.__)("Enable","blockart")})),G().createElement(gH,{title:(0,K.__)("Name","blockart")},G().createElement(jF,{checked:k,onChange:()=>A({headingEnable:!k}),label:(0,K.__)("Enable","blockart")}),k&&G().createElement(VV,{options:kj,onChange:e=>A({markup:e}),value:x,label:(0,K.__)("HTML Markup","blockart")})),G().createElement(gH,{title:(0,K.__)("Designation","blockart")},G().createElement(jF,{checked:b,onChange:()=>A({designationEnable:!b}),label:(0,K.__)("Enable","blockart")}))),G().createElement(hH,null,m&&G().createElement(gH,{title:(0,K.__)("Text","blockart"),initialOpen:!0},G().createElement(BV,{label:(0,K.__)("Color","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:h,id:"textColor"}]}));return Iv(h)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-10px",bg:"white",borderRadius:"full"})):G().createElement(t,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:h,resetKey:"textColor",onReset:e=>{A({textColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:h,onChange:e=>A({textColor:e})}))))),G().createElement(OD,{resetAttributeKey:"textTypography",value:v,onChange:e=>A({textTypography:e})}),G().createElement($V,{value:f,responsive:!0,label:(0,K.__)("Gap","blockart"),defaultUnit:"px",units:["px","rem","em","%"],onChange:e=>A({textMargin:e}),type:"margin"})),k&&G().createElement(gH,{title:(0,K.__)("Name","blockart")},G().createElement(BV,{label:(0,K.__)("Color","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:w,id:"headingColor"}]}));return Iv(w)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-10px",bg:"white",borderRadius:"full"})):G().createElement(t,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:w,resetKey:"headingColor",onReset:e=>{A({headingColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:w,onChange:e=>A({headingColor:e})}))))),G().createElement(OD,{resetAttributeKey:"headingTypography",value:_,onChange:e=>A({headingTypography:e})}),G().createElement($V,{value:P,responsive:!0,label:(0,K.__)("Gap","blockart"),defaultUnit:"px",units:["px","rem","em","%"],onChange:e=>A({headingMargin:e}),type:"margin"})),b&&G().createElement(gH,{title:(0,K.__)("Designation","blockart")},G().createElement(BV,{label:(0,K.__)("Color","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:y,id:"designationColor"}]}));return Iv(y)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-10px",bg:"white",borderRadius:"full"})):G().createElement(t,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:y,resetKey:"designationColor",onReset:e=>{A({designationColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:y,onChange:e=>A({designationColor:e})}))))),G().createElement(OD,{resetAttributeKey:"designationTypography",value:E,onChange:e=>A({designationTypography:e})}),G().createElement($V,{value:g,responsive:!0,label:(0,K.__)("Gap","blockart"),defaultUnit:"px",units:["px","rem","em","%"],onChange:e=>A({designationMargin:e}),type:"margin"})),G().createElement(gH,{title:(0,K.__)("Background","blockart")},G().createElement(BV,{label:(0,K.__)("Type","blockart")},G().createElement(bO,{saved:c,resetKey:"background",onReset:e=>{A({background:e})},buttonProps:{position:"absolute",top:"10px",right:"10px"}}),G().createElement(RV,{value:c,onChange:e=>A({background:e})}))),G().createElement(gH,{title:(0,K.__)("Border","blockart")},G().createElement(OV,{value:u,onChange:e=>A({border:e}),resetAttributeKey:"border"}))),G().createElement(fH,null,G().createElement(yH,{blockMargin:t,setAttributes:A,blockPadding:r,blockZIndex:n,cssID:a,className:s,hasblockHTML:!1}),G().createElement(EH,{hideOnDesktop:o,hideOnTablet:i,hideOnMobile:l,setAttributes:A})))},sX=tX.name,cX={...tX,icon:G().createElement(cz,{type:"blockIcon",name:"slide",size:24}),edit:e=>{var t,r;const{attributes:{cssID:n,className:a,image:o={},imageEnable:i,textEnable:l,textContent:s,designationEnable:c,designation:u,headingEnable:d,markup:p,testimonialName:m,textTypography:h,designationTypography:f,headingTypography:v},setAttributes:b}=e,{clientId:g}=jv(e),{device:y}=ib(),{CopyPasterStyleBlockControl:E}=Yv(),{Style:k}=Fv({blockName:"testimonial-slide",clientId:g,attributes:e.attributes,device:y}),{rootClientId:w,siblings:x}=(0,Hv.useSelect)((t=>{const{getBlockOrder:r,getBlockRootClientId:n,getBlocks:a}=t("core/block-editor"),o=n(e.clientId);return{rootClientId:null!=o?o:void 0,siblings:a(o)}}),[e.clientId]),_=null!==(t=o?.url)&&void 0!==t?t:rX,P=null!==(r=o?.alt)&&void 0!==r?r:"",C=(0,q.useBlockProps)({className:Cv(`blockart-testimonial-slide blockart-testimonial-slide-${g} splide__slide`,a)});return G().createElement(G().Fragment,null,G().createElement(lX,{attributes:e.attributes,setAttributes:b}),G().createElement(q.BlockControls,null,G().createElement(Zv.ToolbarGroup,null,G().createElement(Zv.Button,{label:(0,K.__)("Remove Slide","blockart"),onClick:()=>{const{getBlockIndex:t,getBlocks:r}=(0,Hv.select)("core/block-editor"),{replaceInnerBlocks:n}=(0,Hv.dispatch)("core/block-editor"),a=t(e.clientId,w),o=[...r(w)];o.splice(a,1),n(w,o,!1)},icon:"minus",disabled:x?.length<=1}))),G().createElement(E,{withBlockControls:!0}),G().createElement(k,null),G().createElement("li",C,G().createElement("div",{className:"blockart-testimonial-inner-content"},i&&G().createElement(nX,{url:_,alt:P}),l&&G().createElement(aX,{setAttributes:b,value:s,textTypography:h}),d&&G().createElement(iX,{markup:p,value:m,setAttributes:b,headingTypography:v}),c&&G().createElement(oX,{value:u,setAttributes:b,designationTypography:f}))))},save:({attributes:{clientId:e,className:t,image:r={},imageEnable:n,textEnable:a,textContent:o,designationEnable:i,designation:l,headingEnable:s,markup:c,testimonialName:u,textTypography:d,designationTypography:p,headingTypography:m}})=>{var h,f;const v=null!==(h=r?.url)&&void 0!==h?h:rX,b=null!==(f=r?.alt)&&void 0!==f?f:"";return G().createElement("li",{className:Cv(`blockart-testimonial-slide blockart-testimonial-slide-${e} splide__slide`,t)},G().createElement("div",{className:"blockart-testimonial-inner-content"},n&&G().createElement(nX,{url:v,alt:b}),a&&G().createElement(aX,{isSave:!0,value:o,textTypography:d}),s&&G().createElement(iX,{isSave:!0,markup:c,value:u,headingTypography:m}),i&&G().createElement(oX,{isSave:!0,value:l,designationTypography:p})))}},uX=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","name":"blockart/timeline","title":"Timeline","description":"Display Frequently Asked Titles as an accordion.","keywords":["timeline","accordion","title"],"category":"blockart","textdomain":"blockart","supports":{"className":false,"customClassName":false,"html":false},"example":{"attributes":{}},"attributes":{"clientId":{"type":"string"},"layoutAlignment":{"type":"object","default":{"desktop":"center"}},"itemPadding":{"type":"object","default":{"dimension":1,"desktop":{"left":12,"right":12,"bottom":12,"top":12,"unit":"px","lock":true}},"style":[{"selector":"{{WRAPPER}} .blockart-timeline-content > div { padding: {{VALUE}};}"}]},"itemMarginBottom":{"type":"object","default":{"desktop":{"value":40,"unit":"px"}},"style":[{"selector":"{{WRAPPER}} .blockart-control { margin-bottom: {{VALUE}}; }"}]},"labelTypography":{"type":"object","default":{"typography":1,"size":{"desktop":{"unit":"px","value":18}}},"style":[{"selector":"{{WRAPPER}} .blockart-timeline-label"}]},"descriptionTypography":{"type":"object","default":{"typography":1,"size":{"desktop":{"unit":"px","value":14}}},"style":[{"selector":"{{WRAPPER}} .blockart-timeline-description"}]},"labelAlignment":{"type":"object","style":[{"selector":".blockart-timeline-label { text-align: {{VALUE}}; }"}]},"titleTypography":{"type":"object","default":{"typography":1,"size":{"desktop":{"unit":"px","value":18}}},"style":[{"selector":"{{WRAPPER}} .blockart-timeline-title"}]},"justification":{"type":"object"},"orientation":{"type":"object"},"titleAlignment":{"type":"object","style":[{"selector":".blockart-timeline-title { text-align: {{VALUE}}; }"}]},"descriptionAlignment":{"type":"object","style":[{"selector":".blockart-timeline-description { text-align: {{VALUE}}; }"}]},"flexWrap":{"type":"boolean","default":true},"connectorThickness":{"type":"object","default":{"desktop":{"value":3,"unit":"px"}},"style":[{"selector":"{{WRAPPER}} .blockart-timeline-line { width: {{VALUE}} !important; }"},{"selector":"{{WRAPPER}} .blockart-timeline-marker { border-width: {{VALUE}} !important; }"}]},"connectorLayout":{"type":"string","default":"icon"},"connectorIcon":{"type":"string","default":"calendar"},"titlePadding":{"type":"object","default":{"dimension":1,"desktop":{"lock":false,"unit":"px","left":10,"right":10,"top":10,"bottom":10}},"style":[{"selector":".blockart-timeline-title-wrapper { padding: {{VALUE}}; }"}]},"labelColor1":{"type":"string","default":"#000000","style":[{"condition":[{"key":"style","relation":"==","value":"filled"}],"selector":"{{WRAPPER}} .blockart-timeline-label { color: {{VALUE}}; }"}]},"labelColor2":{"type":"string","default":"#000000","style":[{"condition":[{"key":"style","relation":"!=","value":"filled"}],"selector":"{{WRAPPER}} .blockart-timeline-label { color: {{VALUE}}; }"}]},"titleColor1":{"type":"string","default":"#000000","style":[{"condition":[{"key":"style","relation":"==","value":"filled"}],"selector":"{{WRAPPER}} .blockart-timeline-content .blockart-timeline-title { color: {{VALUE}}; }"}]},"titleColor2":{"type":"string","default":"#000000","style":[{"condition":[{"key":"style","relation":"!=","value":"filled"}],"selector":"{{WRAPPER}} .blockart-timeline-content .blockart-timeline-title { color: {{VALUE}}; }"}]},"titleBackground1":{"type":"string","default":"#fff","style":[{"condition":[{"key":"style","relation":"==","value":"filled"}],"selector":"{{WRAPPER}} .blockart-timeline-title-wrapper { background: {{VALUE}}; }"}]},"titleBackground2":{"type":"string","default":"#fff","style":[{"condition":[{"key":"style","relation":"!=","value":"filled"}],"selector":"{{WRAPPER}} .blockart-timeline-title-wrapper { background: {{VALUE}}; }"}]},"descriptionColor1":{"type":"string","default":"#000","style":[{"condition":[{"key":"style","relation":"==","value":"filled"}],"selector":"{{WRAPPER}} .blockart-timeline-content .blockart-timeline-description { color: {{VALUE}}; }"}]},"descriptionColor2":{"type":"string","default":"#000","style":[{"condition":[{"key":"style","relation":"!=","value":"filled"}],"selector":"{{WRAPPER}} .blockart-timeline-content .blockart-timeline-description { color: {{VALUE}}; }"}]},"itemBackground1":{"type":"string","default":"#e9effd","style":[{"condition":[{"key":"style","relation":"==","value":"filled"}],"selector":"{{WRAPPER}} .blockart-timeline-content, {{WRAPPER}} .blockart-timeline-marker::before, {{WRAPPER}} .blockart-timeline-marker::after { background: {{VALUE}}; }"}]},"itemBackground2":{"type":"string","default":"#e9effd","style":[{"condition":[{"key":"style","relation":"!=","value":"filled"}],"selector":"{{WRAPPER}} .blockart-timeline-content, {{WRAPPER}} .blockart-timeline-marker::before, {{WRAPPER}} .blockart-timeline-marker::after { background: {{VALUE}}; }"}]},"connectorBackground1":{"type":"string","default":"#2563eb","style":[{"condition":[{"key":"style","relation":"==","value":"filled"}],"selector":"{{WRAPPER}} .blockart-timeline-line, {{WRAPPER}} .blockart-timeline-marker { background: {{VALUE}};}"}]},"connectorBackground2":{"type":"string","default":"#2563eb","style":[{"condition":[{"key":"style","relation":"!=","value":"filled"}],"selector":"{{WRAPPER}} .blockart-timeline-line, {{WRAPPER}} .blockart-timeline-marker { background: {{VALUE}} !important; }"},{"selector":"{{WRAPPER}} .blockart-marker-layout-outline {border-color: {{VALUE}} !important;}"}]},"connectorColor":{"type":"string","default":"#fff","style":[{"selector":"{{WRAPPER}} .blockart-timeline-marker { color:{{VALUE}} !important;} {{WRAPPER}} .blockart-timeline-marker svg{ fill:{{VALUE}} }"}]},"flexGap":{"type":"object","default":{"desktop":{"value":8,"unit":"px"}},"style":[{"selector":"{{WRAPPER}} { gap: {{VALUE}}; }"}]},"positionProperty":{"type":"object","default":{"positionProperty":1,"position":"none"},"style":[{"selector":"{{WRAPPER}}"}]},"blockMargin":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { margin: {{VALUE}}; }"}]},"blockPadding":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { padding: {{VALUE}}; }"}]},"blockHTML":{"type":"string","default":"div"},"blockZIndex":{"type":"number","style":[{"selector":"{{WRAPPER}} { z-index: {{VALUE}}; }"}]},"blockOpacity":{"type":"number","style":[{"selector":"{{WRAPPER}} { opacity: {{VALUE}}; }"}]},"cssID":{"type":"string"},"animation":{"type":"string"},"interaction":{"type":"object"},"position":{"type":"object"},"hideOnDesktop":{"type":"boolean","style":[{"selector":"@media (min-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnTablet":{"type":"boolean","style":[{"selector":"@media (min-width:48em) and (max-width:62em) { {{WRAPPER}} { display: none; } }"}]},"hideOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} { display: none; } }"}]},"colReverseOnTablet":{"type":"boolean","style":[{"selector":"@media (max-width:62em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"colReverseOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"blockCSS":{"type":"string"},"className":{"type":"string"}},"style":"blockart-blocks","editorScript":"blockart-blocks","editorStyle":"blockart-blocks-editor","viewScript":"blockart-frontend-timeline"}'),dX=e=>{const{attributes:{orientation:t,justification:r,flexGap:n,flexWrap:a,blockMargin:o,blockHTML:i,blockPadding:l,blockZIndex:s,blockOpacity:c,cssID:u,hideOnDesktop:d,hideOnTablet:p,hideOnMobile:m,className:h,alignment:f,itemPadding:v,itemMarginBottom:b,labelTypography:g,descriptionTypography:y,titleTypography:E,connectorThickness:k,labelColor1:w,labelColor2:x,titleColor1:_,titleColor2:P,descriptionColor1:C,descriptionColor2:A,itemBackground1:S,itemBackground2:R,connectorBackground1:M,connectorBackground2:T,connectorColor:I,layoutAlignment:O,connectorLayout:L,connectorIcon:D},setAttributes:B,blockOrder:z,style:N}=e;return G().createElement(G().Fragment,null,G().createElement(bH,null),G().createElement(mH,null,G().createElement(gH,{title:(0,K.__)("Layout","blockart"),initialOpen:!0},G().createElement(HF,{value:O,onChange:e=>{B({layoutAlignment:e})},label:(0,K.__)("Alignment","blockart"),resetAttributeKey:"layoutAlignment",groupProps:{sx:{".chakra-button":{minH:"32px",svg:{w:6,h:6},"&[data-active]":{svg:{fill:"#fff !important"}}}}},responsive:!0},G().createElement(FF,{value:"left",title:"Left"},G().createElement(aT,null)),G().createElement(FF,{value:"center",title:"Center"},G().createElement(nT,null)),G().createElement(FF,{value:"right",title:"Right"},G().createElement(oT,null)))),G().createElement(gH,{title:(0,K.__)("Connector","blockart")},G().createElement(MD,{resetAttributeKey:"connectorThickness",label:(0,K.__)("Thickness","blockart"),min:1,max:12,value:k,onChange:e=>B({connectorThickness:e}),responsive:!0,units:["px","em","%"]}),G().createElement(VV,{label:(0,K.__)("Type","blockart"),onChange:e=>B({connectorLayout:e}),value:L,options:[{label:(0,K.__)("Outline","blockart"),value:"outline"},{label:(0,K.__)("Fill","blockart"),value:"fill"},{label:(0,K.__)("Icon","blockart"),value:"icon"},{label:(0,K.__)("Number","blockart"),value:"number"}],resetAttributeKey:L}),"icon"===L&&G().createElement(LF,{hasToggle:!1,value:D,onChange:e=>B({connectorIcon:e})}))),G().createElement(hH,null,G().createElement(gH,{title:(0,K.__)("Layout","blockart"),initialOpen:!0},G().createElement($V,{label:(0,K.__)("Padding","blockart"),min:0,max:100,defaultUnit:"px",value:v,onChange:e=>B({itemPadding:e}),responsive:!0,units:["px","em","%"],resetAttributeKey:"itemPadding"}),G().createElement(MD,{resetAttributeKey:"itemMarginBottom",label:(0,K.__)("Items Gap","blockart"),min:0,max:100,defaultUnit:"px",value:b,onChange:e=>B({itemMarginBottom:e}),responsive:!0,units:["px","em","%"]})),G().createElement(gH,{title:(0,K.__)("Label","blockart")},G().createElement(BV,{label:(0,K.__)("Text Color","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:x,id:"color"}]}));return Iv(x)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-10px",bg:"white",borderRadius:"full"})):G().createElement(t,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:x,resetKey:"labelColor2",onReset:e=>{B({labelColor2:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:x,onChange:e=>B({labelColor2:e})}))))),G().createElement(OD,{value:g,onChange:e=>B({labelTypography:e})})),G().createElement(gH,{title:(0,K.__)("Title","blockart")},G().createElement(BV,{label:(0,K.__)("Text Color","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:P,id:"color"}]}));return Iv(P)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-10px",bg:"white",borderRadius:"full"})):G().createElement(t,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:P,resetKey:"titleColor2",onReset:e=>{B({titleColor2:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:P,onChange:e=>B({titleColor2:e})}))))),G().createElement(OD,{value:E,onChange:e=>B({titleTypography:e})})),G().createElement(gH,{title:(0,K.__)("Description","blockart")},G().createElement(BV,{label:(0,K.__)("Text Color","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:A,id:"color"}]}));return Iv(A)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-10px",bg:"white",borderRadius:"full"})):G().createElement(t,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:A,resetKey:"descriptionColor2",onReset:e=>{B({descriptionColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:A,onChange:e=>B({descriptionColor2:e})}))))),G().createElement(OD,{value:y,onChange:e=>B({descriptionTypography:e})})),G().createElement(gH,{title:(0,K.__)("Connector","blockart")},G().createElement(BV,{label:(0,K.__)("Text Color","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:I,id:"color"}]}));return Iv(I)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-10px",bg:"white",borderRadius:"full"})):G().createElement(t,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:I,resetKey:"connectorColor",onReset:e=>{B({connectorColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:I,onChange:e=>B({connectorColor:e})}))))),G().createElement(BV,{label:(0,K.__)("Background","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:T,id:"connectorBackground2"}]}));return Iv(T)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-10px",bg:"white",borderRadius:"full"})):G().createElement(t,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:T,resetKey:"connectorBackground2",onReset:e=>{B({connectorBackground2:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:T,onChange:e=>B({connectorBackground2:e})})))))),G().createElement(gH,{title:(0,K.__)("Item","blockart")},G().createElement(BV,{label:(0,K.__)("Background","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:R,id:"itemBackground2"}]}));return Iv(R)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-10px",bg:"white",borderRadius:"full"})):G().createElement(t,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:R,resetKey:"itemBackground2",onReset:e=>{B({itemBackground2:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:R,onChange:e=>B({itemBackground2:e})}))))))),G().createElement(fH,null,G().createElement(yH,{blockMargin:o,setAttributes:B,blockPadding:l,blockZIndex:s,cssID:u,className:h,hasblockHTML:!1}),G().createElement(EH,{hideOnDesktop:d,hideOnTablet:p,hideOnMobile:m,setAttributes:B})))},pX=e=>{const{orientation:t,justification:r,alignment:n}=e;let a={};for(const e in Y){const o="tablet"===e?"-md":"mobile"===e?"-sm":"",i=t?.[e],l=r?.[e],s=n?.[e];i&&(a?.[e]||(a[e]={}),a[e][`is-${i}${o}`]=!0),l&&(a?.[e]||(a[e]={}),a[e][`justify-${l}${o}`]=!0),s&&(a?.[e]||(a[e]={}),a[e][`align-${s}${o}`]=!0)}return a},mX=(e,t)=>{var r={top:"unset",height:"unset",left:"unset",right:"unset",display:"inline-block"};const n=document.querySelector(`.blockart-timeline-${e}`),a=n?.querySelectorAll(".blockart-timeline-marker"),o=n?.getBoundingClientRect().top;if(!a?.length)return{display:"none"};const i=a?.item(0)?.getBoundingClientRect().top,l=a?.item(a.length-1)?.getBoundingClientRect().top,s=n?.parentElement?.querySelector(".blockart-timeline-line")?.offsetWidth,c=25+a?.item(0)?.offsetWidth/2-s/2;return r.top=i-o+18,r.height=l-i,r.left=c,a?.item(0)?.getBoundingClientRect()?.left&&n?.getBoundingClientRect()?.left&&(r.left=a?.item(0)?.getBoundingClientRect()?.left-n?.getBoundingClientRect()?.left+a?.item(0)?.offsetWidth/2-s/2),r},hX="blockart/timeline-inner",fX=(0,Qj.compose)([(0,Hv.withSelect)(((e,t)=>({blockOrder:e("core/block-editor").getBlockOrder(t.clientId)})))])((e=>{var t,r,n,a,o,i,l,s,c,u,d,p;const{attributes:{orientation:m,justification:h,flexGap:f,flexWrap:v,blockMargin:b,blockHTML:g,blockPadding:y,blockZIndex:E,blockOpacity:k,cssID:w,hideOnDesktop:x,hideOnTablet:_,hideOnMobile:P,className:C,alignment:A,itemPadding:S,itemMarginBottom:R,labelTypography:M,descriptionTypography:T,titleTypography:I,connectorThickness:O,labelColor1:L,labelColor2:D,titleColor1:B,titleColor2:z,descriptionColor1:N,descriptionColor2:V,itemBackground1:F,itemBackground2:H,connectorBackground1:j,connectorBackground2:W,connectorColor:$,layoutAlignment:Z,connectorLayout:K,connectorIcon:X},setAttributes:Q,blockOrder:J}=e,{clientId:ee}=jv(e),{device:te}=ib(),{CopyPasterStyleBlockControl:re}=Yv(),{Style:ne}=Fv({blockName:"timeline",clientId:ee,attributes:e.attributes,device:te}),ae=pX({orientation:m,justification:h,alignment:A}),oe=Object.keys(Y).reduce(((e,t)=>{var r;const n=f?.[t]?.value,a=null!==(r=f?.[t]?.unit)&&void 0!==r?r:"px";return n&&(e[t]=`.blockart-timeline-${ee} .block-editor-block-list__layout{ gap: ${n+a} }`),e}),{});(0,U.useEffect)((()=>{if(!J)return;const{updateBlockAttributes:e}=(0,Hv.dispatch)("core/block-editor");for(let t=0;t<J.length;t++)e(J[t],{order:t+1})}),[J]);const[ie,le]=(0,U.useState)({}),se=Qv((()=>{const e=mX(ee);Mv(ie,e)||le(e)}),10);(0,U.useEffect)((()=>((()=>{const e=mX(ee);Mv(ie,e)||le(e)})(),window.addEventListener("resize",se),()=>{window.removeEventListener("resize",se)})),[ee,Z,ie,se]),(0,U.useLayoutEffect)((()=>{le(mX(ee))}),[ee,Z,S,R]);const ce=(0,q.useInnerBlocksProps)({id:w,className:Cv("blockart-timeline-wrapper",`layout-${null!==(t=null!==(r=Z?.mobile)&&void 0!==r?r:Z?.tablet)&&void 0!==t?t:Z?.desktop}`,{"is-wrap":v,..."mobile"===te?null!==(n=null!==(a=null!==(o=ae?.mobile)&&void 0!==o?o:ae?.tablet)&&void 0!==a?a:ae?.desktop)&&void 0!==n?n:{}:"tablet"===te?null!==(i=null!==(l=ae?.tablet)&&void 0!==l?l:ae?.desktop)&&void 0!==i?i:{}:null!==(s=ae?.desktop)&&void 0!==s?s:{}},C)},{allowedBlocks:[hX],template:[[hX],[hX],[hX],[hX]],templateLock:!1,templateInsertUpdatesSelection:!0});return G().createElement(G().Fragment,null,G().createElement(dX,(0,Ut.A)({},e,{style:oe})),G().createElement(re,{withBlockControls:!0}),G().createElement(ne,null),G().createElement("style",null,"mobile"===te?null!==(c=null!==(u=oe?.mobile)&&void 0!==u?u:oe.tablet)&&void 0!==c?c:oe?.desktop:"tablet"===te?null!==(d=oe?.tablet)&&void 0!==d?d:oe?.desktop:null!==(p=oe?.desktop)&&void 0!==p?p:""),G().createElement("div",{className:`blockart-timeline blockart-timeline-${ee}`},G().createElement("ul",ce),G().createElement("div",{className:"blockart-timeline-line",style:ie})))})),vX=uX.name,bX={...uX,icon:G().createElement(cz,{type:"blockIcon",name:"timeline",size:24}),edit:fX,save:e=>{var t,r;const{attributes:{clientId:n,className:a,flexWrap:o,orientation:i,justification:l,alignment:s,blockHTML:c,layoutAlignment:u}}=e,d=pX({alignment:s,orientation:i,justification:l}),p=q.useInnerBlocksProps.save({className:Cv("blockart-timeline-wrapper blockart-timeline-frontend",`layout-${null!==(t=null!==(r=u?.mobile)&&void 0!==r?r:u?.tablet)&&void 0!==t?t:u?.desktop}`,...Object.values(d),a)}),m=c;return G().createElement("div",{className:Cv(`blockart-timeline blockart-timeline-${n}`)},G().createElement(m,p),G().createElement("div",{className:"blockart-timeline-line"}))}},gX=JSON.parse('{"apiVersion":2,"$schema":"https://schemas.wp.org/trunk/block.json","name":"blockart/timeline-inner","title":"Timeline Child","keywords":["timeline"],"category":"blockart","textdomain":"blockart","parent":["blockart/timeline"],"supports":{"className":false,"customClassName":false,"reusable":false},"example":{"attributes":{}},"attributes":{"clientId":{"type":"string"},"mainBlockAttributes":{"type":"object","default":{"connectorLayout":"","connectorIcon":""}},"order":{"type":"number"},"label":{"type":"string","default":"2020-02-02"},"title":{"type":"string","default":"Timeline Title"},"description":{"type":"string","default":"Timeline Description here. Click here to edit and add custom description."},"connectorIcon":{"type":"string","default":"calendar-solid"},"width":{"type":"object","style":[{"selector":"{{WRAPPER}} { flex-basis: {{VALUE}}%; width: {{VALUE}}%; }"}]},"alignment":{"type":"string","style":[{"selector":"{{WRAPPER}} { text-align: {{VALUE}}; }"}]},"blockHTML":{"type":"string","default":"div"},"link":{"type":"object"},"text":{"type":"string"},"style":{"type":"string","default":"filled"},"timelineHover":{"type":"string","default":"none"},"timelineAnimation":{"type":"string","default":"none"},"size":{"type":"string","default":"large"},"padding":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"condition":[{"key":"size","relation":"==","value":"custom"},{"key":"style","relation":"!=","value":"plain"},{"key":"style","relation":"!=","value":"link"}],"selector":"{{WRAPPER}} .blockart-timeline-link.is-custom { padding: {{VALUE}}; }"}]},"typography":{"type":"object","default":{"typography":1},"style":[{"selector":"{{WRAPPER}} .blockart-timeline-link"}]},"color1":{"type":"string","default":"#fff","style":[{"condition":[{"key":"style","relation":"==","value":"filled"}],"selector":"{{WRAPPER}} .blockart-timeline-link { color: {{VALUE}}; }{{WRAPPER}} .blockart-timeline-icon .blockart-icon { fill: {{VALUE}}; }"}]},"color2":{"type":"string","default":"#2563EB","style":[{"condition":[{"key":"style","relation":"!=","value":"filled"}],"selector":"{{WRAPPER}} .blockart-timeline-link{ color: {{VALUE}}; }{{WRAPPER}} .blockart-timeline-icon .blockart-icon { fill: {{VALUE}}; }"}]},"hoverColor1":{"type":"string","default":"","style":[{"condition":[{"key":"style","relation":"==","value":"filled"}],"selector":"{{WRAPPER}} .blockart-timeline-link:hover { color: {{VALUE}} }{{WRAPPER}} .blockart-timeline-link:hover .blockart-timeline-icon .blockart-icon { fill: {{VALUE}} }{{WRAPPER}} .blockart-timeline-link:focus { color: {{VALUE}} }{{WRAPPER}} .blockart-timeline-link:focus .blockart-timeline-icon .blockart-icon { fill: {{VALUE}} }{{WRAPPER}} .blockart-timeline-link:active { color: {{VALUE}} }{{WRAPPER}} .blockart-timeline-link:active .blockart-timeline-icon .blockart-icon { fill: {{VALUE}} }"}]},"hoverColor2":{"type":"string","default":"","style":[{"condition":[{"key":"style","relation":"!=","value":"filled"}],"selector":"{{WRAPPER}} .blockart-timeline-link:hover { color: {{VALUE}} }{{WRAPPER}} .blockart-timeline-link:hover .blockart-timeline-icon .blockart-icon { fill: {{VALUE}} }{{WRAPPER}} .blockart-timeline-link:focus { color: {{VALUE}} }{{WRAPPER}} .blockart-timeline-link:focus .blockart-timeline-icon .blockart-icon { fill: {{VALUE}} }{{WRAPPER}} .blockart-timeline-link:active { color: {{VALUE}} }{{WRAPPER}} .blockart-timeline-link:active .blockart-timeline-icon .blockart-icon { fill: {{VALUE}} }"}]},"background":{"type":"string","style":[{"condition":[{"key":"background","relation":"!=","value":""}],"selector":"{{WRAPPER}} .blockart-timeline-content, {{WRAPPER}} .blockart-timeline-marker::before, {{WRAPPER}} .blockart-timeline-marker::after { background: {{VALUE}} !important; }"}]},"hoverBackground1":{"type":"object","default":{"background":1},"style":[{"condition":[{"key":"style","relation":"==","value":"filled"}],"selector":"{{WRAPPER}} .blockart-timeline-link:hover, {{WRAPPER}} .blockart-timeline-link:focus, {{WRAPPER}} .blockart-timeline-link:active"}]},"hoverBackground2":{"type":"object","default":{"background":1},"style":[{"condition":[{"key":"style","relation":"==","value":"outline"}],"selector":"{{WRAPPER}} .blockart-timeline-link.is-style-outline:hover, {{WRAPPER}} .blockart-timeline-link.is-style-outline:focus, {{WRAPPER}} .blockart-timeline-link.is-style-outline:active"}]},"border1":{"type":"object","default":{"border":1,"radius":{"desktop":{"lock":true}},"size":{"desktop":{"lock":true}}},"style":[{"condition":[{"key":"style","relation":"==","value":"filled"}],"selector":"{{WRAPPER}} .blockart-timeline-link"}]},"hoverBorder1":{"type":"object","default":{"border":1,"radius":{"desktop":{"lock":true}},"size":{"desktop":{"lock":true}}},"style":[{"condition":[{"key":"style","relation":"==","value":"filled"}],"selector":"{{WRAPPER}} .blockart-timeline-link:hover, {{WRAPPER}} .blockart-timeline-link:focus, {{WRAPPER}} .blockart-timeline-link:active"}]},"border2":{"type":"object","default":{"border":1,"color":"#2563EB","type":"solid","radius":{"desktop":{"top":2,"right":2,"bottom":2,"left":2,"unit":"px","lock":true}},"size":{"desktop":{"top":1,"right":1,"bottom":1,"left":1,"unit":"px","lock":true}}},"style":[{"condition":[{"key":"style","relation":"==","value":"outline"}],"selector":"{{WRAPPER}} .blockart-timeline-link"}]},"hoverBorder2":{"type":"object","default":{"border":1,"radius":{"desktop":{"lock":true}},"size":{"desktop":{"lock":true}}},"style":[{"condition":[{"key":"style","relation":"==","value":"outline"}],"selector":"{{WRAPPER}} .blockart-timeline-link:hover, {{WRAPPER}} .blockart-timeline-link:focus, {{WRAPPER}} .blockart-timeline-link:active"}]},"positionProperty":{"type":"object","default":{"positionProperty":1,"position":"none"},"style":[{"selector":"{{WRAPPER}}"}]},"boxShadow":{"type":"object","default":{"boxShadow":1},"style":[{"selector":"{{WRAPPER}} .blockart-timeline-link"}]},"boxShadowHover":{"type":"object","default":{"boxShadow":1},"style":[{"selector":"{{WRAPPER}} .blockart-timeline-link:hover, {{WRAPPER}} .blockart-timeline-link:focus, {{WRAPPER}} .blockart-timeline-link:active"}]},"blockMargin":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { margin: {{VALUE}}; }"}]},"blockPadding":{"type":"object","default":{"dimension":1,"desktop":{"lock":true}},"style":[{"selector":"{{WRAPPER}} { padding: {{VALUE}}; }"}]},"blockZIndex":{"type":"number","style":[{"selector":"{{WRAPPER}} { z-index: {{VALUE}}; }"}]},"blockOpacity":{"type":"number","style":[{"selector":"{{WRAPPER}} { opacity: {{VALUE}}; }"}]},"cssID":{"type":"string"},"animation":{"type":"string"},"interaction":{"type":"object"},"position":{"type":"object"},"hideOnDesktop":{"type":"boolean","style":[{"selector":"@media (min-width:62em) { {{WRAPPER}} { display: none !important; } }"}]},"hideOnTablet":{"type":"boolean","style":[{"selector":"@media (min-width:48em) and (max-width:62em) { {{WRAPPER}} { display: none !important; } }"}]},"hideOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} { display: none !important; } }"}]},"colReverseOnTablet":{"type":"boolean","style":[{"selector":"@media (max-width:62em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"colReverseOnMobile":{"type":"boolean","style":[{"selector":"@media (max-width:48em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"}]},"blockCSS":{"type":"string"},"className":{"type":"string"}},"style":"blockart-blocks","editorScript":"blockart-blocks","editorStyle":"blockart-blocks-editor","script":"blockart-frontend"}'),yX=gX.name,EX={...gX,icon:G().createElement(cz,{type:"blockIcon",name:"timeline",size:24}),edit:e=>{const{attributes:{blockMargin:t,blockHTML:r,blockPadding:n,blockZIndex:a,blockOpacity:o,cssID:i,hideOnDesktop:l,hideOnTablet:s,hideOnMobile:c,style:u,size:d,className:p,width:m,timelineHover:h,positionProperty:f,title:v,description:b,label:g,connectorIcon:y,order:E,background:k,mainBlockAttributes:w,labelTypography:x,descriptionTypography:_,titleTypography:P},setAttributes:C,clientId:A}=e,{clientId:S}=jv(e),{device:R}=ib(),{CopyPasterStyleBlockControl:M}=Yv(),{Style:T}=Fv({blockName:"timeline-inner",clientId:S,attributes:e.attributes,device:R}),{rootClientId:I,rootBlockAttributes:O}=(0,Hv.useSelect)((t=>{const{getBlockRootClientId:r,getBlockAttributes:n}=t("core/block-editor"),a=r(e.clientId);return{rootClientId:null!=a?a:void 0,rootBlockAttributes:n(a)}}),[e.clientId]),L=Cv(d&&("filled"===u||"outline"===u)&&`is-${d}`,u&&`is-style-${u}`,h&&`is-hover-${h}`),D=(0,q.useBlockProps)({className:Cv(`blockart-timeline-inner blockart-timeline-inner-${S}`,p)}),B=(e=>{let t="";if(!e?.position||"none"===e.position)return t;t+=`position: ${e.position};`;for(const n of["top","right","bottom","left"]){var r;const a=null!==(r=e?.[n])&&void 0!==r?r:void 0;_v(a)||(t+=`${n}: ${a}px;`)}return t})(f),z=O?.connectorLayout;(0,U.useEffect)((()=>{var e;C({mainBlockAttributes:{connectorLayout:z,connectorIcon:null!==(e=null!=y?y:O?.connectorIcon)&&void 0!==e?e:"calendar"}})}),[y,z,O?.connectorIcon,C]);const N=()=>{var e;return G().createElement("div",{className:`blockart-timeline-marker blockart-marker-layout-${z}`},"icon"===z&&G().createElement(LH,{name:null!==(e=null!=y?y:O?.connectorIcon)&&void 0!==e?e:"calendar-solid"}),"number"===z&&E)};return G().createElement(G().Fragment,null,G().createElement(bH,null),G().createElement(mH,null,G().createElement(gH,{title:(0,K.__)("Icon","blockart")},"icon"===O?.connectorLayout?G().createElement(LF,{value:y||{},onChange:e=>C({connectorIcon:e}),hasToggle:!1}):(0,K.__)("Please choose Icon layout in connector tab in Timeline settings.","blockart"))),G().createElement(hH,null,G().createElement(gH,{title:(0,K.__)("Background","blockart")},G().createElement(BV,{label:(0,K.__)("Background","blockart"),trigger:e=>{const t=()=>G().createElement(BV.Trigger,e,G().createElement(fS,{items:[{color:k,id:"background"}]}));return Iv(k)?G().createElement(Ba,{position:"relative"},G().createElement(t,null),G().createElement(fT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-10px",bg:"white",borderRadius:"full"})):G().createElement(t,null)},closeOnFocusOutside:!0},G().createElement(Oa,{position:"relative",size:"sm"},G().createElement(La,null,G().createElement(Da,null,(0,K.__)("Normal","blockart"))),G().createElement(Va,null,G().createElement(Fa,null,G().createElement(bO,{saved:k,resetKey:"color",onReset:e=>{C({color:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(UN,{value:k,onChange:e=>C({background:e})}))))))),G().createElement(fH,null,G().createElement(yH,{blockMargin:t,setAttributes:C,blockPadding:n,blockZIndex:a,cssID:i,className:p,hasblockHTML:!1}),G().createElement(EH,{hideOnDesktop:l,hideOnTablet:s,hideOnMobile:c,setAttributes:C})),G().createElement(M,{withBlockControls:!0}),G().createElement(G().Fragment,null,G().createElement(T,null),B&&G().createElement("style",null,`[data-block="${A}"] { ${B} }`),G().createElement("div",D,G().createElement("div",{className:L},G().createElement("div",{className:Cv("blockart-control")},G().createElement("div",{className:"blockart-timeline-label-container"},G().createElement(q.RichText,{tagName:"div",value:null!=g?g:(0,K.__)("2020-02-02","blockart"),onChange:e=>C({label:e}),className:Cv("blockart-timeline-label",x?._className),multiline:!1,allowedFormats:["core/bold","core/italic"]})),G().createElement(N,null),G().createElement("div",{className:"blockart-timeline-content"},G().createElement("div",null,G().createElement(q.RichText,{tagName:"div",value:null!=v?v:(0,K.__)("Timeline Title Here","blockart"),onChange:e=>C({title:e}),className:Cv("blockart-timeline-title",P?._className),multiline:!1,allowedFormats:["core/bold","core/italic"]}),G().createElement(q.RichText,{value:null!=b?b:(0,K.__)("Timeline Description Here. Click me to edit.","blockart"),tagName:"p",className:Cv("blockart-timeline-description",_?._className),placeholder:(0,K.__)("Please give me some description. I feel kinda empty without it.","blockart"),onChange:e=>C({description:e}),allowedFormats:["core/bold","core/italic"]}))))))))},save:e=>{const{attributes:{clientId:t,label:r,title:n,description:a,order:o,mainBlockAttributes:i,connectorIcon:l,labelTypography:s,descriptionTypography:c,titleTypography:u}}=e,d=()=>{var e;return G().createElement("div",{className:`blockart-timeline-marker blockart-marker-layout-${i?.connectorLayout}`},"icon"===i?.connectorLayout&&G().createElement(LH,{name:null!==(e=null!=l?l:i?.connectorIcon)&&void 0!==e?e:"calendar"}),"number"===i?.connectorLayout&&o)};return G().createElement("div",{className:Cv(`blockart-timeline-inner blockart-timeline-inner-${t}`)},G().createElement("div",{className:Cv("blockart-control")},G().createElement("div",{className:"blockart-timeline-label-container"},G().createElement("p",{className:Cv("blockart-timeline-label",s?._className)},G().createElement(q.RichText.Content,{value:r}))),G().createElement(d,null),G().createElement("div",{className:"blockart-timeline-content"},G().createElement("div",null,G().createElement("h3",{className:Cv("blockart-timeline-title",u?._className)},G().createElement(q.RichText.Content,{value:n})),G().createElement("p",{className:Cv("blockart-timeline-description",c?._className)},G().createElement(q.RichText.Content,{value:a}))))))}};let kX=[l,R,p,_,a,o,v,L,d,u,I,O,B,D,N,z,c,E,V,s,y,b,n,j,W,x,S,i,T,M,k,F,H,h,f,m,w,g,C,A,P];kX=(0,Z.applyFilters)("blockart.blocks",kX);zD()((()=>{let e=null;const t=(0,Hv.subscribe)((()=>{const r=document.querySelector(".interface-interface-skeleton__body");if(!r)return;const n=document.createElement("div");n.classList.add("blockart-shortcut-sidebar"),r.querySelector(".blockart-shortcut-sidebar")||(fz((()=>G().createElement(pz,{renderer:fz})),n),r.insertBefore(n,r.firstChild)),e&&clearTimeout(e),e=setTimeout((()=>{document.querySelector(".blockart-shortcut-sidebar")&&t()}),0)}))})),(0,Z.addFilter)("blockart.block.metadata","blockart/disable-blocks",(e=>{const t=e.name.split("/")[1];return kv.configs.blocks[t]||(void 0===e.supports&&(e.supports={}),e.supports.inserter=!1),e})),(0,Z.addFilter)("blockart.block.metadata","blockart/update-section-default-width",(e=>("blockart/section"===e.name&&(e.attributes.width.default.desktop.value=kv.configs.editor["section-width"]),e))),(()=>{for(const e of kX){const t=(0,Z.applyFilters)("blockart.block.metadata",e.settings);t.edit=(0,Z.applyFilters)("blockart.block.edit",t.edit,t),(0,$.registerBlockType)(e.name,t)}})(),(0,Z.addFilter)("blocks.getBlockAttributes","blockart/update-background-attribute",((e,t)=>{if(t.name.startsWith("blockart/"))for(const t of ON){var r,n;e?.[t]?.image?.image?.type&&(e[t].image.image.url=(null!==(r=e[t].image.image?.local)&&void 0!==r?r:"")||(null!==(n=e[t].image.image?.external)&&void 0!==n?n:""),delete e[t].image.image.type,delete e[t].image.image?.local,delete e[t].image.image?.external)}return e})),zD()((()=>{if("widgets"===pagenow||"customize"===pagenow||!kv.configs.editor["design-library"])return;let e=null;const t=(0,Hv.subscribe)((()=>{const r=document.querySelector(".edit-post-header-toolbar");if(!r)return;const n=document.createElement("div");n.classList.add("blockart-library-button-wrapper"),r.querySelector(".blockart-library-button-wrapper")||(fz((()=>G().createElement(wN,null)),n),r.appendChild(n)),e&&clearTimeout(e),e=setTimeout((()=>{document.querySelector(".blockart-import-button-wrapper")&&t()}),0)}))})),(0,$.updateCategory)("blockart",{icon:G().createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},G().createElement("path",{d:"M22 22H2V2h20zM3 21h18V3H3z",fill:"#0369fc"}),G().createElement("path",{d:"M13.46 10l-1.39-5-1.39 5zm.92 3H9.77l-1 4.46V19h6.4v-1.52z",fill:"#005cff",fillRule:"evenodd"}))}),new Promise((e=>{((t,r)=>{const n=(0,Hv.subscribe)((()=>{t()&&(setTimeout((()=>{(()=>{const{replaceBlock:e}=(0,Hv.dispatch)("core/block-editor");let t;if(t="widgets"===window.pagenow||"customize"===window.pagenow?(0,Hv.select)("core/block-editor").getBlocks().map((e=>{const t=(0,Hv.select)("core/block-editor").getBlocks(e.clientId);return{...e,innerBlocks:t}})):(0,Hv.select)("core/block-editor").getBlocks(),t?.length){const r=RN(t),n=(e=>{const t=vz(e),r=new Set,n=[];for(const e of t)r.has(e.attributes.clientId)?n.push(e):r.add(e.attributes.clientId);return n})(t);n.length&&n.forEach((e=>{wp.data.dispatch("core/block-editor").updateBlockAttributes(e.clientId,{clientId:AN()})})),r?.length&&r.forEach((t=>{const r=(({name:e,attributes:t,innerBlocks:r})=>(0,$.createBlock)(e,t,r))(t);r.isValid&&e(t.clientId,r)}))}})(),setTimeout((()=>e()),200)}),500),n())}))})(SN)})),(0,cb.registerPlugin)("blockart",{render:DD}),new MN(kv.configs["global-styles"]).process()},3042:(e,t,r)=>{"use strict";var n=r(5664),a={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var r,o,i,l,s,c,u=!1;t||(t={}),r=t.debug||!1;try{if(i=n(),l=document.createRange(),s=document.getSelection(),(c=document.createElement("span")).textContent=e,c.ariaHidden="true",c.style.all="unset",c.style.position="fixed",c.style.top=0,c.style.clip="rect(0, 0, 0, 0)",c.style.whiteSpace="pre",c.style.webkitUserSelect="text",c.style.MozUserSelect="text",c.style.msUserSelect="text",c.style.userSelect="text",c.addEventListener("copy",(function(n){if(n.stopPropagation(),t.format)if(n.preventDefault(),void 0===n.clipboardData){r&&console.warn("unable to use e.clipboardData"),r&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var o=a[t.format]||a.default;window.clipboardData.setData(o,e)}else n.clipboardData.clearData(),n.clipboardData.setData(t.format,e);t.onCopy&&(n.preventDefault(),t.onCopy(n.clipboardData))})),document.body.appendChild(c),l.selectNodeContents(c),s.addRange(l),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");u=!0}catch(n){r&&console.error("unable to copy using execCommand: ",n),r&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),u=!0}catch(n){r&&console.error("unable to copy using clipboardData: ",n),r&&console.error("falling back to prompt"),o=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(o,e)}}finally{s&&("function"==typeof s.removeRange?s.removeRange(l):s.removeAllRanges()),c&&document.body.removeChild(c),i()}return u}},8994:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(r=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===r.Tag||e.type===r.Script||e.type===r.Style},t.Root=r.Root,t.Text=r.Text,t.Directive=r.Directive,t.Comment=r.Comment,t.Script=r.Script,t.Style=r.Style,t.Tag=r.Tag,t.CDATA=r.CDATA,t.Doctype=r.Doctype},4476:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var a=Object.getOwnPropertyDescriptor(t,r);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,a)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var o=r(8994),i=r(2399);a(r(2399),t);var l={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},s=function(){function e(e,t,r){this.dom=[],this.root=new i.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(r=t,t=l),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:l,this.elementCB=null!=r?r:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new i.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var r=this.options.xmlMode?o.ElementType.Tag:void 0,n=new i.Element(e,t,void 0,r);this.addNode(n),this.tagStack.push(n)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===o.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var r=new i.Text(e);this.addNode(r),this.lastNode=r}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===o.ElementType.Comment)this.lastNode.data+=e;else{var t=new i.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new i.Text(""),t=new i.CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var r=new i.ProcessingInstruction(e,t);this.addNode(r)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],r=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),r&&(e.prev=r,r.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=s,t.default=s},2399:function(e,t,r){"use strict";var n,a=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},o.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.CDATA=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var i=r(8994),l=function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),w(this,e)},e}();t.Node=l;var s=function(e){function t(t){var r=e.call(this)||this;return r.data=t,r}return a(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(l);t.DataNode=s;var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=i.ElementType.Text,t}return a(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),t}(s);t.Text=c;var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=i.ElementType.Comment,t}return a(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),t}(s);t.Comment=u;var d=function(e){function t(t,r){var n=e.call(this,r)||this;return n.name=t,n.type=i.ElementType.Directive,n}return a(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),t}(s);t.ProcessingInstruction=d;var p=function(e){function t(t){var r=e.call(this)||this;return r.children=t,r}return a(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(l);t.NodeWithChildren=p;var m=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=i.ElementType.CDATA,t}return a(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(p);t.CDATA=m;var h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=i.ElementType.Root,t}return a(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(p);t.Document=h;var f=function(e){function t(t,r,n,a){void 0===n&&(n=[]),void 0===a&&(a="script"===t?i.ElementType.Script:"style"===t?i.ElementType.Style:i.ElementType.Tag);var o=e.call(this,n)||this;return o.name=t,o.attribs=r,o.type=a,o}return a(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var r,n;return{name:t,value:e.attribs[t],namespace:null===(r=e["x-attribsNamespace"])||void 0===r?void 0:r[t],prefix:null===(n=e["x-attribsPrefix"])||void 0===n?void 0:n[t]}}))},enumerable:!1,configurable:!0}),t}(p);function v(e){return(0,i.isTag)(e)}function b(e){return e.type===i.ElementType.CDATA}function g(e){return e.type===i.ElementType.Text}function y(e){return e.type===i.ElementType.Comment}function E(e){return e.type===i.ElementType.Directive}function k(e){return e.type===i.ElementType.Root}function w(e,t){var r;if(void 0===t&&(t=!1),g(e))r=new c(e.data);else if(y(e))r=new u(e.data);else if(v(e)){var n=t?x(e.children):[],a=new f(e.name,o({},e.attribs),n);n.forEach((function(e){return e.parent=a})),null!=e.namespace&&(a.namespace=e.namespace),e["x-attribsNamespace"]&&(a["x-attribsNamespace"]=o({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(a["x-attribsPrefix"]=o({},e["x-attribsPrefix"])),r=a}else if(b(e)){n=t?x(e.children):[];var i=new m(n);n.forEach((function(e){return e.parent=i})),r=i}else if(k(e)){n=t?x(e.children):[];var l=new h(n);n.forEach((function(e){return e.parent=l})),e["x-mode"]&&(l["x-mode"]=e["x-mode"]),r=l}else{if(!E(e))throw new Error("Not implemented yet: ".concat(e.type));var s=new d(e.name,e.data);null!=e["x-name"]&&(s["x-name"]=e["x-name"],s["x-publicId"]=e["x-publicId"],s["x-systemId"]=e["x-systemId"]),r=s}return r.startIndex=e.startIndex,r.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(r.sourceCodeLocation=e.sourceCodeLocation),r}function x(e){for(var t=e.map((function(e){return w(e,!0)})),r=1;r<t.length;r++)t[r].prev=t[r-1],t[r-1].next=t[r];return t}t.Element=f,t.isTag=v,t.isCDATA=b,t.isText=g,t.isComment=y,t.isDirective=E,t.isDocument=k,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=w},4337:(e,t)=>{var r,n;(n=n||{}).stringify=(r={"visit_linear-gradient":function(e){return r.visit_gradient(e)},"visit_repeating-linear-gradient":function(e){return r.visit_gradient(e)},"visit_radial-gradient":function(e){return r.visit_gradient(e)},"visit_repeating-radial-gradient":function(e){return r.visit_gradient(e)},visit_gradient:function(e){var t=r.visit(e.orientation);return t&&(t+=", "),e.type+"("+t+r.visit(e.colorStops)+")"},visit_shape:function(e){var t=e.value,n=r.visit(e.at),a=r.visit(e.style);return a&&(t+=" "+a),n&&(t+=" at "+n),t},"visit_default-radial":function(e){var t="",n=r.visit(e.at);return n&&(t+=n),t},"visit_extent-keyword":function(e){var t=e.value,n=r.visit(e.at);return n&&(t+=" at "+n),t},"visit_position-keyword":function(e){return e.value},visit_position:function(e){return r.visit(e.value.x)+" "+r.visit(e.value.y)},"visit_%":function(e){return e.value+"%"},visit_em:function(e){return e.value+"em"},visit_px:function(e){return e.value+"px"},visit_literal:function(e){return r.visit_color(e.value,e)},visit_hex:function(e){return r.visit_color("#"+e.value,e)},visit_rgb:function(e){return r.visit_color("rgb("+e.value.join(", ")+")",e)},visit_rgba:function(e){return r.visit_color("rgba("+e.value.join(", ")+")",e)},visit_color:function(e,t){var n=e,a=r.visit(t.length);return a&&(n+=" "+a),n},visit_angular:function(e){return e.value+"deg"},visit_directional:function(e){return"to "+e.value},visit_array:function(e){var t="",n=e.length;return e.forEach((function(e,a){t+=r.visit(e),a<n-1&&(t+=", ")})),t},visit:function(e){if(!e)return"";if(e instanceof Array)return r.visit_array(e,"");if(e.type){var t=r["visit_"+e.type];if(t)return t(e);throw Error("Missing visitor visit_"+e.type)}throw Error("Invalid node.")}},function(e){return r.visit(e)}),(n=n||{}).parse=function(){var e={linearGradient:/^(\-(webkit|o|ms|moz)\-)?(linear\-gradient)/i,repeatingLinearGradient:/^(\-(webkit|o|ms|moz)\-)?(repeating\-linear\-gradient)/i,radialGradient:/^(\-(webkit|o|ms|moz)\-)?(radial\-gradient)/i,repeatingRadialGradient:/^(\-(webkit|o|ms|moz)\-)?(repeating\-radial\-gradient)/i,sideOrCorner:/^to (left (top|bottom)|right (top|bottom)|left|right|top|bottom)/i,extentKeywords:/^(closest\-side|closest\-corner|farthest\-side|farthest\-corner|contain|cover)/,positionKeywords:/^(left|center|right|top|bottom)/i,pixelValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))px/,percentageValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))\%/,emValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))em/,angleValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))deg/,startCall:/^\(/,endCall:/^\)/,comma:/^,/,hexColor:/^\#([0-9a-fA-F]+)/,literalColor:/^([a-zA-Z]+)/,rgbColor:/^rgb/i,rgbaColor:/^rgba/i,number:/^(([0-9]*\.[0-9]+)|([0-9]+\.?))/},t="";function r(e){var r=new Error(t+": "+e);throw r.source=t,r}function n(){return a("linear-gradient",e.linearGradient,i)||a("repeating-linear-gradient",e.repeatingLinearGradient,i)||a("radial-gradient",e.radialGradient,l)||a("repeating-radial-gradient",e.repeatingRadialGradient,l)}function a(t,n,a){return o(n,(function(n){var o=a();return o&&(g(e.comma)||r("Missing comma before color stops")),{type:t,orientation:o,colorStops:p(m)}}))}function o(t,n){var a=g(t);if(a){g(e.startCall)||r("Missing (");var o=n(a);return g(e.endCall)||r("Missing )"),o}}function i(){return b("directional",e.sideOrCorner,1)||b("angular",e.angleValue,1)}function l(){var r,n,a=s();return a&&((r=[]).push(a),n=t,g(e.comma)&&((a=s())?r.push(a):t=n)),r}function s(){var e,t,r=((t=b("shape",/^(circle)/i,0))&&(t.style=v()||c()),t||((e=b("shape",/^(ellipse)/i,0))&&(e.style=f()||c()),e));if(r)r.at=u();else{var n=c();if(n){r=n;var a=u();a&&(r.at=a)}else{var o=d();o&&(r={type:"default-radial",at:o})}}return r}function c(){return b("extent-keyword",e.extentKeywords,1)}function u(){if(b("position",/^at/,0)){var e=d();return e||r("Missing positioning value"),e}}function d(){var e={x:f(),y:f()};if(e.x||e.y)return{type:"position",value:e}}function p(t){var n=t(),a=[];if(n)for(a.push(n);g(e.comma);)(n=t())?a.push(n):r("One extra comma");return a}function m(){var t=b("hex",e.hexColor,1)||o(e.rgbaColor,(function(){return{type:"rgba",value:p(h)}}))||o(e.rgbColor,(function(){return{type:"rgb",value:p(h)}}))||b("literal",e.literalColor,0);return t||r("Expected color definition"),t.length=f(),t}function h(){return g(e.number)[1]}function f(){return b("%",e.percentageValue,1)||b("position-keyword",e.positionKeywords,1)||v()}function v(){return b("px",e.pixelValue,1)||b("em",e.emValue,1)}function b(e,t,r){var n=g(t);if(n)return{type:e,value:n[r]}}function g(e){var r,n;return(n=/^[\n\r\t\s]+/.exec(t))&&y(n[0].length),(r=e.exec(t))&&y(r[0].length),r}function y(e){t=t.substr(e)}return function(e){return t=e.toString(),a=p(n),t.length>0&&r("Invalid input not EOF"),a;var a}}(),t.parse=n.parse,t.stringify=n.stringify},1035:(e,t,r)=>{"use strict";var n=r(5959),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return n.isMemo(e)?i:l[e.$$typeof]||a}l[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[n.Memo]=i;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(h){var a=m(r);a&&a!==h&&e(t,a,n)}var i=u(r);d&&(i=i.concat(d(r)));for(var l=s(t),f=s(r),v=0;v<i.length;++v){var b=i[v];if(!(o[b]||n&&n[b]||f&&f[b]||l&&l[b])){var g=p(r,b);try{c(t,b,g)}catch(e){}}}}return t}},4442:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CASE_SENSITIVE_TAG_NAMES_MAP=t.CASE_SENSITIVE_TAG_NAMES=void 0,t.CASE_SENSITIVE_TAG_NAMES=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"],t.CASE_SENSITIVE_TAG_NAMES_MAP=t.CASE_SENSITIVE_TAG_NAMES.reduce((function(e,t){return e[t.toLowerCase()]=t,e}),{})},3860:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="html",n="head",a="body",o=/<([a-zA-Z]+[0-9]?)/,i=/<head[^]*>/i,l=/<body[^]*>/i,s=function(e,t){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},c=function(e,t){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")},u="object"==typeof window&&window.DOMParser;if("function"==typeof u){var d=new u;s=c=function(e,t){return t&&(e="<".concat(t,">").concat(e,"</").concat(t,">")),d.parseFromString(e,"text/html")}}if("object"==typeof document&&document.implementation){var p=document.implementation.createHTMLDocument();s=function(e,t){if(t){var r=p.documentElement.querySelector(t);return r&&(r.innerHTML=e),p}return p.documentElement.innerHTML=e,p}}var m,h="object"==typeof document&&document.createElement("template");h&&h.content&&(m=function(e){return h.innerHTML=e,h.content.childNodes}),t.default=function(e){var t,u,d=e.match(o),p=d&&d[1]?d[1].toLowerCase():"";switch(p){case r:var h=c(e);return i.test(e)||null===(t=null==(v=h.querySelector(n))?void 0:v.parentNode)||void 0===t||t.removeChild(v),l.test(e)||null===(u=null==(v=h.querySelector(a))?void 0:v.parentNode)||void 0===u||u.removeChild(v),h.querySelectorAll(r);case n:case a:var f=s(e).querySelectorAll(p);return l.test(e)&&i.test(e)?f[0].parentNode.childNodes:f;default:return m?m(e):(v=s(e,a).querySelector(a)).childNodes;var v}}},2963:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=n(r(3860)),o=r(5879),i=/<(![a-zA-Z\s]+)>/;t.default=function(e){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];var t=e.match(i),r=t?t[1]:void 0;return(0,o.formatDOM)((0,a.default)(e),null,r)}},5879:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatDOM=t.formatAttributes=void 0;var n=r(4476),a=r(4442);function o(e){for(var t={},r=0,n=e.length;r<n;r++){var a=e[r];t[a.name]=a.value}return t}function i(e){return function(e){return a.CASE_SENSITIVE_TAG_NAMES_MAP[e]}(e=e.toLowerCase())||e}t.formatAttributes=o,t.formatDOM=function e(t,r,a){void 0===r&&(r=null);for(var l,s=[],c=0,u=t.length;c<u;c++){var d=t[c];switch(d.nodeType){case 1:var p=i(d.nodeName);(l=new n.Element(p,o(d.attributes))).children=e("template"===p?d.content.childNodes:d.childNodes,l);break;case 3:l=new n.Text(d.nodeValue);break;case 8:l=new n.Comment(d.nodeValue);break;default:continue}var m=s[c-1]||null;m&&(m.next=l),l.parent=r,l.prev=m,l.next=null,s.push(l)}return a&&((l=new n.ProcessingInstruction(a.substring(0,a.indexOf(" ")).toLowerCase(),a)).next=s[0]||null,l.parent=r,s.unshift(l),s[1]&&(s[1].prev=s[0])),s}},269:(e,t,r)=>{var n=r(4476),a=r(2963).default,o=r(6083),i=r(5561);a="function"==typeof a.default?a.default:a;var l={lowerCaseAttributeNames:!1};function s(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");return""===e?[]:i(a(e,(t=t||{}).htmlparser2||l),t)}s.domToReact=i,s.htmlToDOM=a,s.attributesToProps=o,s.Comment=n.Comment,s.Element=n.Element,s.ProcessingInstruction=n.ProcessingInstruction,s.Text=n.Text,e.exports=s,s.default=s},6083:(e,t,r)=>{var n=r(2913),a=r(4237),o=["checked","value"],i=["input","select","textarea"],l={reset:!0,submit:!0};function s(e){return n.possibleStandardNames[e]}e.exports=function(e,t){var r,c,u,d,p,m={},h=(e=e||{}).type&&l[e.type];for(r in e)if(u=e[r],n.isCustomAttribute(r))m[r]=u;else if(d=s(c=r.toLowerCase()))switch(p=n.getPropertyInfo(d),-1===o.indexOf(d)||-1===i.indexOf(t)||h||(d=s("default"+c)),m[d]=u,p&&p.type){case n.BOOLEAN:m[d]=!0;break;case n.OVERLOADED_BOOLEAN:""===u&&(m[d]=!0)}else a.PRESERVE_CUSTOM_ATTRIBUTES&&(m[r]=u);return a.setStyleProp(e.style,m),m}},5561:(e,t,r)=>{var n=r(1609),a=r(6083),o=r(4237),i=o.setStyleProp,l=o.canTextBeChildOfNode;function s(e){return o.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===e.type&&o.isCustomComponent(e.name,e.attribs)}e.exports=function e(t,r){for(var c,u,d,p,m,h=(r=r||{}).library||n,f=h.cloneElement,v=h.createElement,b=h.isValidElement,g=[],y="function"==typeof r.replace,E=r.transform||o.returnFirstArg,k=r.trim,w=0,x=t.length;w<x;w++)if(c=t[w],y&&b(d=r.replace(c)))x>1&&(d=f(d,{key:d.key||w})),g.push(E(d,c,w));else if("text"!==c.type){switch(p=c.attribs,s(c)?i(p.style,p):p&&(p=a(p,c.name)),m=null,c.type){case"script":case"style":c.children[0]&&(p.dangerouslySetInnerHTML={__html:c.children[0].data});break;case"tag":"textarea"===c.name&&c.children[0]?p.defaultValue=c.children[0].data:c.children&&c.children.length&&(m=e(c.children,r));break;default:continue}x>1&&(p.key=w),g.push(E(v(c.name,p,m),c,w))}else{if((u=!c.data.trim().length)&&c.parent&&!l(c.parent))continue;if(k&&u)continue;g.push(E(c.data,c,w))}return 1===g.length?g[0]:g}},4237:(e,t,r)=>{var n=r(1609),a=r(9522).default,o=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]),i={reactCompat:!0},l=n.version.split(".")[0]>=16,s=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);e.exports={PRESERVE_CUSTOM_ATTRIBUTES:l,ELEMENTS_WITH_NO_TEXT_CHILDREN:s,isCustomComponent:function(e,t){return-1===e.indexOf("-")?t&&"string"==typeof t.is:!o.has(e)},setStyleProp:function(e,t){if(null!=e)try{t.style=a(e,i)}catch(e){t.style={}}},canTextBeChildOfNode:function(e){return!s.has(e.name)},returnFirstArg:function(e){return e}}},2867:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,n=/^\s*/,a=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,i=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,l=/^[;\s]*/,s=/^\s+|\s+$/g,c="";function u(e){return e?e.replace(s,c):c}e.exports=function(e,s){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];s=s||{};var d=1,p=1;function m(e){var t=e.match(r);t&&(d+=t.length);var n=e.lastIndexOf("\n");p=~n?e.length-n:p+e.length}function h(){var e={line:d,column:p};return function(t){return t.position=new f(e),y(),t}}function f(e){this.start=e,this.end={line:d,column:p},this.source=s.source}f.prototype.content=e;var v=[];function b(t){var r=new Error(s.source+":"+d+":"+p+": "+t);if(r.reason=t,r.filename=s.source,r.line=d,r.column=p,r.source=e,!s.silent)throw r;v.push(r)}function g(t){var r=t.exec(e);if(r){var n=r[0];return m(n),e=e.slice(n.length),r}}function y(){g(n)}function E(e){var t;for(e=e||[];t=k();)!1!==t&&e.push(t);return e}function k(){var t=h();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var r=2;c!=e.charAt(r)&&("*"!=e.charAt(r)||"/"!=e.charAt(r+1));)++r;if(r+=2,c===e.charAt(r-1))return b("End of comment missing");var n=e.slice(2,r-2);return p+=2,m(n),e=e.slice(r),p+=2,t({type:"comment",comment:n})}}function w(){var e=h(),r=g(a);if(r){if(k(),!g(o))return b("property missing ':'");var n=g(i),s=e({type:"declaration",property:u(r[0].replace(t,c)),value:n?u(n[0].replace(t,c)):c});return g(l),s}}return y(),function(){var e,t=[];for(E(t);e=w();)!1!==e&&(t.push(e),E(t));return t}()}},8061:(e,t,r)=>{e=r.nmd(e);var n="__lodash_hash_undefined__",a=9007199254740991,o="[object Arguments]",i="[object AsyncFunction]",l="[object Function]",s="[object GeneratorFunction]",c="[object Null]",u="[object Object]",d="[object Proxy]",p="[object Undefined]",m=/^\[object .+?Constructor\]$/,h=/^(?:0|[1-9]\d*)$/,f={};f["[object Float32Array]"]=f["[object Float64Array]"]=f["[object Int8Array]"]=f["[object Int16Array]"]=f["[object Int32Array]"]=f["[object Uint8Array]"]=f["[object Uint8ClampedArray]"]=f["[object Uint16Array]"]=f["[object Uint32Array]"]=!0,f[o]=f["[object Array]"]=f["[object ArrayBuffer]"]=f["[object Boolean]"]=f["[object DataView]"]=f["[object Date]"]=f["[object Error]"]=f[l]=f["[object Map]"]=f["[object Number]"]=f[u]=f["[object RegExp]"]=f["[object Set]"]=f["[object String]"]=f["[object WeakMap]"]=!1;var v,b,g,y="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,E="object"==typeof self&&self&&self.Object===Object&&self,k=y||E||Function("return this")(),w=t&&!t.nodeType&&t,x=w&&e&&!e.nodeType&&e,_=x&&x.exports===w,P=_&&y.process,C=function(){try{return x&&x.require&&x.require("util").types||P&&P.binding&&P.binding("util")}catch(e){}}(),A=C&&C.isTypedArray,S=Array.prototype,R=Function.prototype,M=Object.prototype,T=k["__core-js_shared__"],I=R.toString,O=M.hasOwnProperty,L=(v=/[^.]+$/.exec(T&&T.keys&&T.keys.IE_PROTO||""))?"Symbol(src)_1."+v:"",D=M.toString,B=I.call(Object),z=RegExp("^"+I.call(O).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),N=_?k.Buffer:void 0,V=k.Symbol,F=k.Uint8Array,H=(N&&N.allocUnsafe,b=Object.getPrototypeOf,g=Object,function(e){return b(g(e))}),j=Object.create,W=M.propertyIsEnumerable,$=S.splice,Z=V?V.toStringTag:void 0,U=function(){try{var e=pe(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),G=N?N.isBuffer:void 0,q=Math.max,K=Date.now,Y=pe(k,"Map"),X=pe(Object,"create"),Q=function(){function e(){}return function(t){if(!_e(t))return{};if(j)return j(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();function J(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function ee(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function te(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function re(e){var t=this.__data__=new ee(e);this.size=t.size}function ne(e,t,r){(void 0!==r&&!be(e[t],r)||void 0===r&&!(t in e))&&ie(e,t,r)}function ae(e,t,r){var n=e[t];O.call(e,t)&&be(n,r)&&(void 0!==r||t in e)||ie(e,t,r)}function oe(e,t){for(var r=e.length;r--;)if(be(e[r][0],t))return r;return-1}function ie(e,t,r){"__proto__"==t&&U?U(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}J.prototype.clear=function(){this.__data__=X?X(null):{},this.size=0},J.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},J.prototype.get=function(e){var t=this.__data__;if(X){var r=t[e];return r===n?void 0:r}return O.call(t,e)?t[e]:void 0},J.prototype.has=function(e){var t=this.__data__;return X?void 0!==t[e]:O.call(t,e)},J.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=X&&void 0===t?n:t,this},ee.prototype.clear=function(){this.__data__=[],this.size=0},ee.prototype.delete=function(e){var t=this.__data__,r=oe(t,e);return!(r<0||(r==t.length-1?t.pop():$.call(t,r,1),--this.size,0))},ee.prototype.get=function(e){var t=this.__data__,r=oe(t,e);return r<0?void 0:t[r][1]},ee.prototype.has=function(e){return oe(this.__data__,e)>-1},ee.prototype.set=function(e,t){var r=this.__data__,n=oe(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},te.prototype.clear=function(){this.size=0,this.__data__={hash:new J,map:new(Y||ee),string:new J}},te.prototype.delete=function(e){var t=de(this,e).delete(e);return this.size-=t?1:0,t},te.prototype.get=function(e){return de(this,e).get(e)},te.prototype.has=function(e){return de(this,e).has(e)},te.prototype.set=function(e,t){var r=de(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},re.prototype.clear=function(){this.__data__=new ee,this.size=0},re.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},re.prototype.get=function(e){return this.__data__.get(e)},re.prototype.has=function(e){return this.__data__.has(e)},re.prototype.set=function(e,t){var r=this.__data__;if(r instanceof ee){var n=r.__data__;if(!Y||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new te(n)}return r.set(e,t),this.size=r.size,this};function le(e){return null==e?void 0===e?p:c:Z&&Z in Object(e)?function(e){var t=O.call(e,Z),r=e[Z];try{e[Z]=void 0;var n=!0}catch(e){}var a=D.call(e);return n&&(t?e[Z]=r:delete e[Z]),a}(e):function(e){return D.call(e)}(e)}function se(e){return Pe(e)&&le(e)==o}function ce(e,t,r,n,a){e!==t&&function(e,t,r){for(var n=-1,a=Object(e),o=r(e),i=o.length;i--;){var l=o[++n];if(!1===t(a[l],l,a))break}}(t,(function(o,i){if(a||(a=new re),_e(o))!function(e,t,r,n,a,o,i){var l=fe(e,r),s=fe(t,r),c=i.get(s);if(c)ne(e,r,c);else{var d,p,m,h,f,v=o?o(l,s,r+"",e,t,i):void 0,b=void 0===v;if(b){var g=ye(s),y=!g&&ke(s),E=!g&&!y&&Ce(s);v=s,g||y||E?ye(l)?v=l:Pe(f=l)&&Ee(f)?v=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}(l):y?(b=!1,v=function(e,t){return e.slice()}(s)):E?(b=!1,h=new(m=(d=s).buffer).constructor(m.byteLength),new F(h).set(new F(m)),p=h,v=new d.constructor(p,d.byteOffset,d.length)):v=[]:function(e){if(!Pe(e)||le(e)!=u)return!1;var t=H(e);if(null===t)return!0;var r=O.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&I.call(r)==B}(s)||ge(s)?(v=l,ge(l)?v=function(e){return function(e,t,r,n){var a=!r;r||(r={});for(var o=-1,i=t.length;++o<i;){var l=t[o],s=void 0;void 0===s&&(s=e[l]),a?ie(r,l,s):ae(r,l,s)}return r}(e,Ae(e))}(l):_e(l)&&!we(l)||(v=function(e){return"function"!=typeof e.constructor||he(e)?{}:Q(H(e))}(s))):b=!1}b&&(i.set(s,v),a(v,s,n,o,i),i.delete(s)),ne(e,r,v)}}(e,t,i,r,ce,n,a);else{var l=n?n(fe(e,i),o,i+"",e,t,a):void 0;void 0===l&&(l=o),ne(e,i,l)}}),Ae)}var ue=U?function(e,t){return U(e,"toString",{configurable:!0,enumerable:!1,value:(r=t,function(){return r}),writable:!0});var r}:Me;function de(e,t){var r,n,a=e.__data__;return("string"==(n=typeof(r=t))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?a["string"==typeof t?"string":"hash"]:a.map}function pe(e,t){var r=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!_e(e)||function(e){return!!L&&L in e}(e))&&(we(e)?z:m).test(function(e){if(null!=e){try{return I.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}(r)?r:void 0}function me(e,t){var r=typeof e;return!!(t=null==t?a:t)&&("number"==r||"symbol"!=r&&h.test(e))&&e>-1&&e%1==0&&e<t}function he(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||M)}function fe(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var ve=function(e){var t=0,r=0;return function(){var n=K(),a=16-(n-r);if(r=n,a>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(ue);function be(e,t){return e===t||e!=e&&t!=t}var ge=se(function(){return arguments}())?se:function(e){return Pe(e)&&O.call(e,"callee")&&!W.call(e,"callee")},ye=Array.isArray;function Ee(e){return null!=e&&xe(e.length)&&!we(e)}var ke=G||function(){return!1};function we(e){if(!_e(e))return!1;var t=le(e);return t==l||t==s||t==i||t==d}function xe(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=a}function _e(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Pe(e){return null!=e&&"object"==typeof e}var Ce=A?function(e){return function(t){return e(t)}}(A):function(e){return Pe(e)&&xe(e.length)&&!!f[le(e)]};function Ae(e){return Ee(e)?function(e,t){var r=ye(e),n=!r&&ge(e),a=!r&&!n&&ke(e),o=!r&&!n&&!a&&Ce(e),i=r||n||a||o,l=i?function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}(e.length,String):[],s=l.length;for(var c in e)!t&&!O.call(e,c)||i&&("length"==c||a&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||me(c,s))||l.push(c);return l}(e,!0):function(e){if(!_e(e))return function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}(e);var t=he(e),r=[];for(var n in e)("constructor"!=n||!t&&O.call(e,n))&&r.push(n);return r}(e)}var Se,Re=(Se=function(e,t,r,n){ce(e,t,r,n)},function(e,t){return ve(function(e,t,r){return t=q(void 0===t?e.length-1:t,0),function(){for(var n=arguments,a=-1,o=q(n.length-t,0),i=Array(o);++a<o;)i[a]=n[t+a];a=-1;for(var l=Array(t+1);++a<t;)l[a]=n[a];return l[t]=r(i),function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}(e,this,l)}}(e,t,Me),e+"")}((function(e,t){var r=-1,n=t.length,a=n>1?t[n-1]:void 0,o=n>2?t[2]:void 0;for(a=Se.length>3&&"function"==typeof a?(n--,a):void 0,o&&function(e,t,r){if(!_e(r))return!1;var n=typeof t;return!!("number"==n?Ee(r)&&me(t,r.length):"string"==n&&t in r)&&be(r[t],e)}(t[0],t[1],o)&&(a=n<3?void 0:a,n=1),e=Object(e);++r<n;){var i=t[r];i&&Se(e,i,r,a)}return e})));function Me(e){return e}e.exports=Re},6186:(e,t,r)=>{"use strict";var n=r(2985);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,r,a,o,i){if(i!==n){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return r.PropTypes=r,r}},2736:(e,t,r)=>{e.exports=r(6186)()},2985:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4072:e=>{var t="undefined"!=typeof Element,r="function"==typeof Map,n="function"==typeof Set,a="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(e,i){if(e===i)return!0;if(e&&i&&"object"==typeof e&&"object"==typeof i){if(e.constructor!==i.constructor)return!1;var l,s,c,u;if(Array.isArray(e)){if((l=e.length)!=i.length)return!1;for(s=l;0!=s--;)if(!o(e[s],i[s]))return!1;return!0}if(r&&e instanceof Map&&i instanceof Map){if(e.size!==i.size)return!1;for(u=e.entries();!(s=u.next()).done;)if(!i.has(s.value[0]))return!1;for(u=e.entries();!(s=u.next()).done;)if(!o(s.value[1],i.get(s.value[0])))return!1;return!0}if(n&&e instanceof Set&&i instanceof Set){if(e.size!==i.size)return!1;for(u=e.entries();!(s=u.next()).done;)if(!i.has(s.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(i)){if((l=e.length)!=i.length)return!1;for(s=l;0!=s--;)if(e[s]!==i[s])return!1;return!0}if(e.constructor===RegExp)return e.source===i.source&&e.flags===i.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof i.valueOf)return e.valueOf()===i.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof i.toString)return e.toString()===i.toString();if((l=(c=Object.keys(e)).length)!==Object.keys(i).length)return!1;for(s=l;0!=s--;)if(!Object.prototype.hasOwnProperty.call(i,c[s]))return!1;if(t&&e instanceof Element)return!1;for(s=l;0!=s--;)if(("_owner"!==c[s]&&"__v"!==c[s]&&"__o"!==c[s]||!e.$$typeof)&&!o(e[c[s]],i[c[s]]))return!1;return!0}return e!=e&&i!=i}e.exports=function(e,t){try{return o(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},5843:(e,t)=>{"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,a=r?Symbol.for("react.portal"):60106,o=r?Symbol.for("react.fragment"):60107,i=r?Symbol.for("react.strict_mode"):60108,l=r?Symbol.for("react.profiler"):60114,s=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,m=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.suspense_list"):60120,f=r?Symbol.for("react.memo"):60115,v=r?Symbol.for("react.lazy"):60116,b=r?Symbol.for("react.block"):60121,g=r?Symbol.for("react.fundamental"):60117,y=r?Symbol.for("react.responder"):60118,E=r?Symbol.for("react.scope"):60119;function k(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case u:case d:case o:case l:case i:case m:return e;default:switch(e=e&&e.$$typeof){case c:case p:case v:case f:case s:return e;default:return t}}case a:return t}}}function w(e){return k(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=s,t.Element=n,t.ForwardRef=p,t.Fragment=o,t.Lazy=v,t.Memo=f,t.Portal=a,t.Profiler=l,t.StrictMode=i,t.Suspense=m,t.isAsyncMode=function(e){return w(e)||k(e)===u},t.isConcurrentMode=w,t.isContextConsumer=function(e){return k(e)===c},t.isContextProvider=function(e){return k(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return k(e)===p},t.isFragment=function(e){return k(e)===o},t.isLazy=function(e){return k(e)===v},t.isMemo=function(e){return k(e)===f},t.isPortal=function(e){return k(e)===a},t.isProfiler=function(e){return k(e)===l},t.isStrictMode=function(e){return k(e)===i},t.isSuspense=function(e){return k(e)===m},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===l||e===i||e===m||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===f||e.$$typeof===s||e.$$typeof===c||e.$$typeof===p||e.$$typeof===g||e.$$typeof===y||e.$$typeof===E||e.$$typeof===b)},t.typeOf=k},5959:(e,t,r)=>{"use strict";e.exports=r(5843)},2913:(e,t,r)=>{"use strict";function n(e,t,r,n,a,o,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=n,this.attributeNamespace=a,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}const a={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach((e=>{a[e]=new n(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((([e,t])=>{a[e]=new n(e,1,!1,t,null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((e=>{a[e]=new n(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((e=>{a[e]=new n(e,2,!1,e,null,!1,!1)})),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach((e=>{a[e]=new n(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((e=>{a[e]=new n(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((e=>{a[e]=new n(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((e=>{a[e]=new n(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((e=>{a[e]=new n(e,5,!1,e.toLowerCase(),null,!1,!1)}));const o=/[\-\:]([a-z])/g,i=e=>e[1].toUpperCase();["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach((e=>{const t=e.replace(o,i);a[t]=new n(t,1,!1,e,null,!1,!1)})),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach((e=>{const t=e.replace(o,i);a[t]=new n(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((e=>{const t=e.replace(o,i);a[t]=new n(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((e=>{a[e]=new n(e,1,!1,e.toLowerCase(),null,!1,!1)})),a.xlinkHref=new n("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((e=>{a[e]=new n(e,1,!1,e.toLowerCase(),null,!0,!0)}));const{CAMELCASE:l,SAME:s,possibleStandardNames:c}=r(6614),u=RegExp.prototype.test.bind(new RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")),d=Object.keys(c).reduce(((e,t)=>{const r=c[t];return r===s?e[t]=t:r===l?e[t.toLowerCase()]=t:e[t]=r,e}),{});t.BOOLEAN=3,t.BOOLEANISH_STRING=2,t.NUMERIC=5,t.OVERLOADED_BOOLEAN=4,t.POSITIVE_NUMERIC=6,t.RESERVED=0,t.STRING=1,t.getPropertyInfo=function(e){return a.hasOwnProperty(e)?a[e]:null},t.isCustomAttribute=u,t.possibleStandardNames=d},6614:(e,t)=>{t.SAME=0,t.CAMELCASE=1,t.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}},9006:(e,t,r)=>{"use strict";r.d(t,{m:()=>i});var n=r(7878),a=r(3224),o=r(2652),i=new(function(e){function t(){var t;return(t=e.call(this)||this).setup=function(e){var t;if(!o.S$&&(null==(t=window)?void 0:t.addEventListener)){var r=function(){return e()};return window.addEventListener("visibilitychange",r,!1),window.addEventListener("focus",r,!1),function(){window.removeEventListener("visibilitychange",r),window.removeEventListener("focus",r)}}},t}(0,n.A)(t,e);var r=t.prototype;return r.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},r.onUnsubscribe=function(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)},r.setEventListener=function(e){var t,r=this;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((function(e){"boolean"==typeof e?r.setFocused(e):r.onFocus()}))},r.setFocused=function(e){this.focused=e,e&&this.onFocus()},r.onFocus=function(){this.listeners.forEach((function(e){e()}))},r.isFocused=function(){return"boolean"==typeof this.focused?this.focused:"undefined"==typeof document||[void 0,"visible","prerender"].includes(document.visibilityState)},t}(a.Q))},1073:(e,t,r)=>{"use strict";r.d(t,{QueryClient:()=>n.E});var n=r(301),a=r(8912);r.o(a,"QueryClientProvider")&&r.d(t,{QueryClientProvider:function(){return a.QueryClientProvider}}),r.o(a,"useMutation")&&r.d(t,{useMutation:function(){return a.useMutation}}),r.o(a,"useQuery")&&r.d(t,{useQuery:function(){return a.useQuery}})},3105:(e,t,r)=>{"use strict";r.d(t,{B:()=>o,t:()=>a});var n=console;function a(){return n}function o(e){n=e}},9722:(e,t,r)=>{"use strict";r.d(t,{$:()=>c,s:()=>s});var n=r(5265),a=r(3105),o=r(9545),i=r(1460),l=r(2652),s=function(){function e(e){this.options=(0,n.A)({},e.defaultOptions,e.options),this.mutationId=e.mutationId,this.mutationCache=e.mutationCache,this.observers=[],this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0},this.meta=e.meta}var t=e.prototype;return t.setState=function(e){this.dispatch({type:"setState",state:e})},t.addObserver=function(e){-1===this.observers.indexOf(e)&&this.observers.push(e)},t.removeObserver=function(e){this.observers=this.observers.filter((function(t){return t!==e}))},t.cancel=function(){return this.retryer?(this.retryer.cancel(),this.retryer.promise.then(l.lQ).catch(l.lQ)):Promise.resolve()},t.continue=function(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()},t.execute=function(){var e,t=this,r="loading"===this.state.status,n=Promise.resolve();return r||(this.dispatch({type:"loading",variables:this.options.variables}),n=n.then((function(){null==t.mutationCache.config.onMutate||t.mutationCache.config.onMutate(t.state.variables,t)})).then((function(){return null==t.options.onMutate?void 0:t.options.onMutate(t.state.variables)})).then((function(e){e!==t.state.context&&t.dispatch({type:"loading",context:e,variables:t.state.variables})}))),n.then((function(){return t.executeMutation()})).then((function(r){e=r,null==t.mutationCache.config.onSuccess||t.mutationCache.config.onSuccess(e,t.state.variables,t.state.context,t)})).then((function(){return null==t.options.onSuccess?void 0:t.options.onSuccess(e,t.state.variables,t.state.context)})).then((function(){return null==t.options.onSettled?void 0:t.options.onSettled(e,null,t.state.variables,t.state.context)})).then((function(){return t.dispatch({type:"success",data:e}),e})).catch((function(e){return null==t.mutationCache.config.onError||t.mutationCache.config.onError(e,t.state.variables,t.state.context,t),(0,a.t)().error(e),Promise.resolve().then((function(){return null==t.options.onError?void 0:t.options.onError(e,t.state.variables,t.state.context)})).then((function(){return null==t.options.onSettled?void 0:t.options.onSettled(void 0,e,t.state.variables,t.state.context)})).then((function(){throw t.dispatch({type:"error",error:e}),e}))}))},t.executeMutation=function(){var e,t=this;return this.retryer=new i.eJ({fn:function(){return t.options.mutationFn?t.options.mutationFn(t.state.variables):Promise.reject("No mutationFn found")},onFail:function(){t.dispatch({type:"failed"})},onPause:function(){t.dispatch({type:"pause"})},onContinue:function(){t.dispatch({type:"continue"})},retry:null!=(e=this.options.retry)?e:0,retryDelay:this.options.retryDelay}),this.retryer.promise},t.dispatch=function(e){var t=this;this.state=function(e,t){switch(t.type){case"failed":return(0,n.A)({},e,{failureCount:e.failureCount+1});case"pause":return(0,n.A)({},e,{isPaused:!0});case"continue":return(0,n.A)({},e,{isPaused:!1});case"loading":return(0,n.A)({},e,{context:t.context,data:void 0,error:null,isPaused:!1,status:"loading",variables:t.variables});case"success":return(0,n.A)({},e,{data:t.data,error:null,status:"success",isPaused:!1});case"error":return(0,n.A)({},e,{data:void 0,error:t.error,failureCount:e.failureCount+1,isPaused:!1,status:"error"});case"setState":return(0,n.A)({},e,t.state);default:return e}}(this.state,e),o.j.batch((function(){t.observers.forEach((function(t){t.onMutationUpdate(e)})),t.mutationCache.notify(t)}))},e}();function c(){return{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0}}},9545:(e,t,r)=>{"use strict";r.d(t,{j:()=>a});var n=r(2652),a=new(function(){function e(){this.queue=[],this.transactions=0,this.notifyFn=function(e){e()},this.batchNotifyFn=function(e){e()}}var t=e.prototype;return t.batch=function(e){var t;this.transactions++;try{t=e()}finally{this.transactions--,this.transactions||this.flush()}return t},t.schedule=function(e){var t=this;this.transactions?this.queue.push(e):(0,n.G6)((function(){t.notifyFn(e)}))},t.batchCalls=function(e){var t=this;return function(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];t.schedule((function(){e.apply(void 0,n)}))}},t.flush=function(){var e=this,t=this.queue;this.queue=[],t.length&&(0,n.G6)((function(){e.batchNotifyFn((function(){t.forEach((function(t){e.notifyFn(t)}))}))}))},t.setNotifyFunction=function(e){this.notifyFn=e},t.setBatchNotifyFunction=function(e){this.batchNotifyFn=e},e}())},2095:(e,t,r)=>{"use strict";r.d(t,{t:()=>i});var n=r(7878),a=r(3224),o=r(2652),i=new(function(e){function t(){var t;return(t=e.call(this)||this).setup=function(e){var t;if(!o.S$&&(null==(t=window)?void 0:t.addEventListener)){var r=function(){return e()};return window.addEventListener("online",r,!1),window.addEventListener("offline",r,!1),function(){window.removeEventListener("online",r),window.removeEventListener("offline",r)}}},t}(0,n.A)(t,e);var r=t.prototype;return r.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},r.onUnsubscribe=function(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)},r.setEventListener=function(e){var t,r=this;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((function(e){"boolean"==typeof e?r.setOnline(e):r.onOnline()}))},r.setOnline=function(e){this.online=e,e&&this.onOnline()},r.onOnline=function(){this.listeners.forEach((function(e){e()}))},r.isOnline=function(){return"boolean"==typeof this.online?this.online:"undefined"==typeof navigator||void 0===navigator.onLine||navigator.onLine},t}(a.Q))},301:(e,t,r)=>{"use strict";r.d(t,{E:()=>b});var n=r(5265),a=r(2652),o=r(7878),i=r(9545),l=r(3105),s=r(1460),c=function(){function e(e){this.abortSignalConsumed=!1,this.hadObservers=!1,this.defaultOptions=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.cache=e.cache,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.initialState=e.state||this.getDefaultState(this.options),this.state=this.initialState,this.meta=e.meta,this.scheduleGc()}var t=e.prototype;return t.setOptions=function(e){var t;this.options=(0,n.A)({},this.defaultOptions,e),this.meta=null==e?void 0:e.meta,this.cacheTime=Math.max(this.cacheTime||0,null!=(t=this.options.cacheTime)?t:3e5)},t.setDefaultOptions=function(e){this.defaultOptions=e},t.scheduleGc=function(){var e=this;this.clearGcTimeout(),(0,a.gn)(this.cacheTime)&&(this.gcTimeout=setTimeout((function(){e.optionalRemove()}),this.cacheTime))},t.clearGcTimeout=function(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)},t.optionalRemove=function(){this.observers.length||(this.state.isFetching?this.hadObservers&&this.scheduleGc():this.cache.remove(this))},t.setData=function(e,t){var r,n,o=this.state.data,i=(0,a.Zw)(e,o);return(null==(r=(n=this.options).isDataEqual)?void 0:r.call(n,o,i))?i=o:!1!==this.options.structuralSharing&&(i=(0,a.BH)(o,i)),this.dispatch({data:i,type:"success",dataUpdatedAt:null==t?void 0:t.updatedAt}),i},t.setState=function(e,t){this.dispatch({type:"setState",state:e,setStateOptions:t})},t.cancel=function(e){var t,r=this.promise;return null==(t=this.retryer)||t.cancel(e),r?r.then(a.lQ).catch(a.lQ):Promise.resolve()},t.destroy=function(){this.clearGcTimeout(),this.cancel({silent:!0})},t.reset=function(){this.destroy(),this.setState(this.initialState)},t.isActive=function(){return this.observers.some((function(e){return!1!==e.options.enabled}))},t.isFetching=function(){return this.state.isFetching},t.isStale=function(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some((function(e){return e.getCurrentResult().isStale}))},t.isStaleByTime=function(e){return void 0===e&&(e=0),this.state.isInvalidated||!this.state.dataUpdatedAt||!(0,a.j3)(this.state.dataUpdatedAt,e)},t.onFocus=function(){var e,t=this.observers.find((function(e){return e.shouldFetchOnWindowFocus()}));t&&t.refetch(),null==(e=this.retryer)||e.continue()},t.onOnline=function(){var e,t=this.observers.find((function(e){return e.shouldFetchOnReconnect()}));t&&t.refetch(),null==(e=this.retryer)||e.continue()},t.addObserver=function(e){-1===this.observers.indexOf(e)&&(this.observers.push(e),this.hadObservers=!0,this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:e}))},t.removeObserver=function(e){-1!==this.observers.indexOf(e)&&(this.observers=this.observers.filter((function(t){return t!==e})),this.observers.length||(this.retryer&&(this.retryer.isTransportCancelable||this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.cacheTime?this.scheduleGc():this.cache.remove(this)),this.cache.notify({type:"observerRemoved",query:this,observer:e}))},t.getObserversCount=function(){return this.observers.length},t.invalidate=function(){this.state.isInvalidated||this.dispatch({type:"invalidate"})},t.fetch=function(e,t){var r,n,o,i=this;if(this.state.isFetching)if(this.state.dataUpdatedAt&&(null==t?void 0:t.cancelRefetch))this.cancel({silent:!0});else if(this.promise){var c;return null==(c=this.retryer)||c.continueRetry(),this.promise}if(e&&this.setOptions(e),!this.options.queryFn){var u=this.observers.find((function(e){return e.options.queryFn}));u&&this.setOptions(u.options)}var d=(0,a.HN)(this.queryKey),p=(0,a.jY)(),m={queryKey:d,pageParam:void 0,meta:this.meta};Object.defineProperty(m,"signal",{enumerable:!0,get:function(){if(p)return i.abortSignalConsumed=!0,p.signal}});var h,f,v={fetchOptions:t,options:this.options,queryKey:d,state:this.state,fetchFn:function(){return i.options.queryFn?(i.abortSignalConsumed=!1,i.options.queryFn(m)):Promise.reject("Missing queryFn")},meta:this.meta};return(null==(r=this.options.behavior)?void 0:r.onFetch)&&(null==(h=this.options.behavior)||h.onFetch(v)),this.revertState=this.state,this.state.isFetching&&this.state.fetchMeta===(null==(n=v.fetchOptions)?void 0:n.meta)||this.dispatch({type:"fetch",meta:null==(f=v.fetchOptions)?void 0:f.meta}),this.retryer=new s.eJ({fn:v.fetchFn,abort:null==p||null==(o=p.abort)?void 0:o.bind(p),onSuccess:function(e){i.setData(e),null==i.cache.config.onSuccess||i.cache.config.onSuccess(e,i),0===i.cacheTime&&i.optionalRemove()},onError:function(e){(0,s.wm)(e)&&e.silent||i.dispatch({type:"error",error:e}),(0,s.wm)(e)||(null==i.cache.config.onError||i.cache.config.onError(e,i),(0,l.t)().error(e)),0===i.cacheTime&&i.optionalRemove()},onFail:function(){i.dispatch({type:"failed"})},onPause:function(){i.dispatch({type:"pause"})},onContinue:function(){i.dispatch({type:"continue"})},retry:v.options.retry,retryDelay:v.options.retryDelay}),this.promise=this.retryer.promise,this.promise},t.dispatch=function(e){var t=this;this.state=this.reducer(this.state,e),i.j.batch((function(){t.observers.forEach((function(t){t.onQueryUpdate(e)})),t.cache.notify({query:t,type:"queryUpdated",action:e})}))},t.getDefaultState=function(e){var t="function"==typeof e.initialData?e.initialData():e.initialData,r=void 0!==e.initialData?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0,n=void 0!==t;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?null!=r?r:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchMeta:null,isFetching:!1,isInvalidated:!1,isPaused:!1,status:n?"success":"idle"}},t.reducer=function(e,t){var r,a;switch(t.type){case"failed":return(0,n.A)({},e,{fetchFailureCount:e.fetchFailureCount+1});case"pause":return(0,n.A)({},e,{isPaused:!0});case"continue":return(0,n.A)({},e,{isPaused:!1});case"fetch":return(0,n.A)({},e,{fetchFailureCount:0,fetchMeta:null!=(r=t.meta)?r:null,isFetching:!0,isPaused:!1},!e.dataUpdatedAt&&{error:null,status:"loading"});case"success":return(0,n.A)({},e,{data:t.data,dataUpdateCount:e.dataUpdateCount+1,dataUpdatedAt:null!=(a=t.dataUpdatedAt)?a:Date.now(),error:null,fetchFailureCount:0,isFetching:!1,isInvalidated:!1,isPaused:!1,status:"success"});case"error":var o=t.error;return(0,s.wm)(o)&&o.revert&&this.revertState?(0,n.A)({},this.revertState):(0,n.A)({},e,{error:o,errorUpdateCount:e.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:e.fetchFailureCount+1,isFetching:!1,isPaused:!1,status:"error"});case"invalidate":return(0,n.A)({},e,{isInvalidated:!0});case"setState":return(0,n.A)({},e,t.state);default:return e}},e}(),u=r(3224),d=function(e){function t(t){var r;return(r=e.call(this)||this).config=t||{},r.queries=[],r.queriesMap={},r}(0,o.A)(t,e);var r=t.prototype;return r.build=function(e,t,r){var n,o=t.queryKey,i=null!=(n=t.queryHash)?n:(0,a.F$)(o,t),l=this.get(i);return l||(l=new c({cache:this,queryKey:o,queryHash:i,options:e.defaultQueryOptions(t),state:r,defaultOptions:e.getQueryDefaults(o),meta:t.meta}),this.add(l)),l},r.add=function(e){this.queriesMap[e.queryHash]||(this.queriesMap[e.queryHash]=e,this.queries.push(e),this.notify({type:"queryAdded",query:e}))},r.remove=function(e){var t=this.queriesMap[e.queryHash];t&&(e.destroy(),this.queries=this.queries.filter((function(t){return t!==e})),t===e&&delete this.queriesMap[e.queryHash],this.notify({type:"queryRemoved",query:e}))},r.clear=function(){var e=this;i.j.batch((function(){e.queries.forEach((function(t){e.remove(t)}))}))},r.get=function(e){return this.queriesMap[e]},r.getAll=function(){return this.queries},r.find=function(e,t){var r=(0,a.b_)(e,t)[0];return void 0===r.exact&&(r.exact=!0),this.queries.find((function(e){return(0,a.MK)(r,e)}))},r.findAll=function(e,t){var r=(0,a.b_)(e,t)[0];return Object.keys(r).length>0?this.queries.filter((function(e){return(0,a.MK)(r,e)})):this.queries},r.notify=function(e){var t=this;i.j.batch((function(){t.listeners.forEach((function(t){t(e)}))}))},r.onFocus=function(){var e=this;i.j.batch((function(){e.queries.forEach((function(e){e.onFocus()}))}))},r.onOnline=function(){var e=this;i.j.batch((function(){e.queries.forEach((function(e){e.onOnline()}))}))},t}(u.Q),p=r(9722),m=function(e){function t(t){var r;return(r=e.call(this)||this).config=t||{},r.mutations=[],r.mutationId=0,r}(0,o.A)(t,e);var r=t.prototype;return r.build=function(e,t,r){var n=new p.s({mutationCache:this,mutationId:++this.mutationId,options:e.defaultMutationOptions(t),state:r,defaultOptions:t.mutationKey?e.getMutationDefaults(t.mutationKey):void 0,meta:t.meta});return this.add(n),n},r.add=function(e){this.mutations.push(e),this.notify(e)},r.remove=function(e){this.mutations=this.mutations.filter((function(t){return t!==e})),e.cancel(),this.notify(e)},r.clear=function(){var e=this;i.j.batch((function(){e.mutations.forEach((function(t){e.remove(t)}))}))},r.getAll=function(){return this.mutations},r.find=function(e){return void 0===e.exact&&(e.exact=!0),this.mutations.find((function(t){return(0,a.nJ)(e,t)}))},r.findAll=function(e){return this.mutations.filter((function(t){return(0,a.nJ)(e,t)}))},r.notify=function(e){var t=this;i.j.batch((function(){t.listeners.forEach((function(t){t(e)}))}))},r.onFocus=function(){this.resumePausedMutations()},r.onOnline=function(){this.resumePausedMutations()},r.resumePausedMutations=function(){var e=this.mutations.filter((function(e){return e.state.isPaused}));return i.j.batch((function(){return e.reduce((function(e,t){return e.then((function(){return t.continue().catch(a.lQ)}))}),Promise.resolve())}))},t}(u.Q),h=r(9006),f=r(2095);function v(e,t){return null==e.getNextPageParam?void 0:e.getNextPageParam(t[t.length-1],t)}var b=function(){function e(e){void 0===e&&(e={}),this.queryCache=e.queryCache||new d,this.mutationCache=e.mutationCache||new m,this.defaultOptions=e.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}var t=e.prototype;return t.mount=function(){var e=this;this.unsubscribeFocus=h.m.subscribe((function(){h.m.isFocused()&&f.t.isOnline()&&(e.mutationCache.onFocus(),e.queryCache.onFocus())})),this.unsubscribeOnline=f.t.subscribe((function(){h.m.isFocused()&&f.t.isOnline()&&(e.mutationCache.onOnline(),e.queryCache.onOnline())}))},t.unmount=function(){var e,t;null==(e=this.unsubscribeFocus)||e.call(this),null==(t=this.unsubscribeOnline)||t.call(this)},t.isFetching=function(e,t){var r=(0,a.b_)(e,t)[0];return r.fetching=!0,this.queryCache.findAll(r).length},t.isMutating=function(e){return this.mutationCache.findAll((0,n.A)({},e,{fetching:!0})).length},t.getQueryData=function(e,t){var r;return null==(r=this.queryCache.find(e,t))?void 0:r.state.data},t.getQueriesData=function(e){return this.getQueryCache().findAll(e).map((function(e){return[e.queryKey,e.state.data]}))},t.setQueryData=function(e,t,r){var n=(0,a.vh)(e),o=this.defaultQueryOptions(n);return this.queryCache.build(this,o).setData(t,r)},t.setQueriesData=function(e,t,r){var n=this;return i.j.batch((function(){return n.getQueryCache().findAll(e).map((function(e){var a=e.queryKey;return[a,n.setQueryData(a,t,r)]}))}))},t.getQueryState=function(e,t){var r;return null==(r=this.queryCache.find(e,t))?void 0:r.state},t.removeQueries=function(e,t){var r=(0,a.b_)(e,t)[0],n=this.queryCache;i.j.batch((function(){n.findAll(r).forEach((function(e){n.remove(e)}))}))},t.resetQueries=function(e,t,r){var o=this,l=(0,a.b_)(e,t,r),s=l[0],c=l[1],u=this.queryCache,d=(0,n.A)({},s,{active:!0});return i.j.batch((function(){return u.findAll(s).forEach((function(e){e.reset()})),o.refetchQueries(d,c)}))},t.cancelQueries=function(e,t,r){var n=this,o=(0,a.b_)(e,t,r),l=o[0],s=o[1],c=void 0===s?{}:s;void 0===c.revert&&(c.revert=!0);var u=i.j.batch((function(){return n.queryCache.findAll(l).map((function(e){return e.cancel(c)}))}));return Promise.all(u).then(a.lQ).catch(a.lQ)},t.invalidateQueries=function(e,t,r){var o,l,s,c=this,u=(0,a.b_)(e,t,r),d=u[0],p=u[1],m=(0,n.A)({},d,{active:null==(o=null!=(l=d.refetchActive)?l:d.active)||o,inactive:null!=(s=d.refetchInactive)&&s});return i.j.batch((function(){return c.queryCache.findAll(d).forEach((function(e){e.invalidate()})),c.refetchQueries(m,p)}))},t.refetchQueries=function(e,t,r){var o=this,l=(0,a.b_)(e,t,r),s=l[0],c=l[1],u=i.j.batch((function(){return o.queryCache.findAll(s).map((function(e){return e.fetch(void 0,(0,n.A)({},c,{meta:{refetchPage:null==s?void 0:s.refetchPage}}))}))})),d=Promise.all(u).then(a.lQ);return(null==c?void 0:c.throwOnError)||(d=d.catch(a.lQ)),d},t.fetchQuery=function(e,t,r){var n=(0,a.vh)(e,t,r),o=this.defaultQueryOptions(n);void 0===o.retry&&(o.retry=!1);var i=this.queryCache.build(this,o);return i.isStaleByTime(o.staleTime)?i.fetch(o):Promise.resolve(i.state.data)},t.prefetchQuery=function(e,t,r){return this.fetchQuery(e,t,r).then(a.lQ).catch(a.lQ)},t.fetchInfiniteQuery=function(e,t,r){var n=(0,a.vh)(e,t,r);return n.behavior={onFetch:function(e){e.fetchFn=function(){var t,r,n,o,i,l,c,u,d,p=null==(t=e.fetchOptions)||null==(r=t.meta)?void 0:r.refetchPage,m=null==(n=e.fetchOptions)||null==(o=n.meta)?void 0:o.fetchMore,h=null==m?void 0:m.pageParam,f="forward"===(null==m?void 0:m.direction),b="backward"===(null==m?void 0:m.direction),g=(null==(i=e.state.data)?void 0:i.pages)||[],y=(null==(l=e.state.data)?void 0:l.pageParams)||[],E=(0,a.jY)(),k=null==E?void 0:E.signal,w=y,x=!1,_=e.options.queryFn||function(){return Promise.reject("Missing queryFn")},P=function(e,t,r,n){return w=n?[t].concat(w):[].concat(w,[t]),n?[r].concat(e):[].concat(e,[r])},C=function(t,r,n,a){if(x)return Promise.reject("Cancelled");if(void 0===n&&!r&&t.length)return Promise.resolve(t);var o={queryKey:e.queryKey,signal:k,pageParam:n,meta:e.meta},i=_(o),l=Promise.resolve(i).then((function(e){return P(t,n,e,a)}));return(0,s.dd)(i)&&(l.cancel=i.cancel),l};if(g.length)if(f){var A=void 0!==h,S=A?h:v(e.options,g);c=C(g,A,S)}else if(b){var R=void 0!==h,M=R?h:(u=e.options,d=g,null==u.getPreviousPageParam?void 0:u.getPreviousPageParam(d[0],d));c=C(g,R,M,!0)}else!function(){w=[];var t=void 0===e.options.getNextPageParam,r=!p||!g[0]||p(g[0],0,g);c=r?C([],t,y[0]):Promise.resolve(P([],y[0],g[0]));for(var n=function(r){c=c.then((function(n){if(!p||!g[r]||p(g[r],r,g)){var a=t?y[r]:v(e.options,n);return C(n,t,a)}return Promise.resolve(P(n,y[r],g[r]))}))},a=1;a<g.length;a++)n(a)}();else c=C([]);var T=c.then((function(e){return{pages:e,pageParams:w}}));return T.cancel=function(){x=!0,null==E||E.abort(),(0,s.dd)(c)&&c.cancel()},T}}},this.fetchQuery(n)},t.prefetchInfiniteQuery=function(e,t,r){return this.fetchInfiniteQuery(e,t,r).then(a.lQ).catch(a.lQ)},t.cancelMutations=function(){var e=this,t=i.j.batch((function(){return e.mutationCache.getAll().map((function(e){return e.cancel()}))}));return Promise.all(t).then(a.lQ).catch(a.lQ)},t.resumePausedMutations=function(){return this.getMutationCache().resumePausedMutations()},t.executeMutation=function(e){return this.mutationCache.build(this,e).execute()},t.getQueryCache=function(){return this.queryCache},t.getMutationCache=function(){return this.mutationCache},t.getDefaultOptions=function(){return this.defaultOptions},t.setDefaultOptions=function(e){this.defaultOptions=e},t.setQueryDefaults=function(e,t){var r=this.queryDefaults.find((function(t){return(0,a.Od)(e)===(0,a.Od)(t.queryKey)}));r?r.defaultOptions=t:this.queryDefaults.push({queryKey:e,defaultOptions:t})},t.getQueryDefaults=function(e){var t;return e?null==(t=this.queryDefaults.find((function(t){return(0,a.Cp)(e,t.queryKey)})))?void 0:t.defaultOptions:void 0},t.setMutationDefaults=function(e,t){var r=this.mutationDefaults.find((function(t){return(0,a.Od)(e)===(0,a.Od)(t.mutationKey)}));r?r.defaultOptions=t:this.mutationDefaults.push({mutationKey:e,defaultOptions:t})},t.getMutationDefaults=function(e){var t;return e?null==(t=this.mutationDefaults.find((function(t){return(0,a.Cp)(e,t.mutationKey)})))?void 0:t.defaultOptions:void 0},t.defaultQueryOptions=function(e){if(null==e?void 0:e._defaulted)return e;var t=(0,n.A)({},this.defaultOptions.queries,this.getQueryDefaults(null==e?void 0:e.queryKey),e,{_defaulted:!0});return!t.queryHash&&t.queryKey&&(t.queryHash=(0,a.F$)(t.queryKey,t)),t},t.defaultQueryObserverOptions=function(e){return this.defaultQueryOptions(e)},t.defaultMutationOptions=function(e){return(null==e?void 0:e._defaulted)?e:(0,n.A)({},this.defaultOptions.mutations,this.getMutationDefaults(null==e?void 0:e.mutationKey),e,{_defaulted:!0})},t.clear=function(){this.queryCache.clear(),this.mutationCache.clear()},e}()},1460:(e,t,r)=>{"use strict";r.d(t,{dd:()=>l,eJ:()=>u,wm:()=>c});var n=r(9006),a=r(2095),o=r(2652);function i(e){return Math.min(1e3*Math.pow(2,e),3e4)}function l(e){return"function"==typeof(null==e?void 0:e.cancel)}var s=function(e){this.revert=null==e?void 0:e.revert,this.silent=null==e?void 0:e.silent};function c(e){return e instanceof s}var u=function(e){var t,r,c,u,d=this,p=!1;this.abort=e.abort,this.cancel=function(e){return null==t?void 0:t(e)},this.cancelRetry=function(){p=!0},this.continueRetry=function(){p=!1},this.continue=function(){return null==r?void 0:r()},this.failureCount=0,this.isPaused=!1,this.isResolved=!1,this.isTransportCancelable=!1,this.promise=new Promise((function(e,t){c=e,u=t}));var m=function(t){d.isResolved||(d.isResolved=!0,null==e.onSuccess||e.onSuccess(t),null==r||r(),c(t))},h=function(t){d.isResolved||(d.isResolved=!0,null==e.onError||e.onError(t),null==r||r(),u(t))};!function c(){if(!d.isResolved){var u;try{u=e.fn()}catch(e){u=Promise.reject(e)}t=function(e){if(!d.isResolved&&(h(new s(e)),null==d.abort||d.abort(),l(u)))try{u.cancel()}catch(e){}},d.isTransportCancelable=l(u),Promise.resolve(u).then(m).catch((function(t){var l,s;if(!d.isResolved){var u=null!=(l=e.retry)?l:3,m=null!=(s=e.retryDelay)?s:i,f="function"==typeof m?m(d.failureCount,t):m,v=!0===u||"number"==typeof u&&d.failureCount<u||"function"==typeof u&&u(d.failureCount,t);!p&&v?(d.failureCount++,null==e.onFail||e.onFail(d.failureCount,t),(0,o.yy)(f).then((function(){if(!n.m.isFocused()||!a.t.isOnline())return new Promise((function(t){r=t,d.isPaused=!0,null==e.onPause||e.onPause()})).then((function(){r=void 0,d.isPaused=!1,null==e.onContinue||e.onContinue()}))})).then((function(){p?h(t):c()}))):h(t)}}))}}()}},3224:(e,t,r)=>{"use strict";r.d(t,{Q:()=>n});var n=function(){function e(){this.listeners=[]}var t=e.prototype;return t.subscribe=function(e){var t=this,r=e||function(){};return this.listeners.push(r),this.onSubscribe(),function(){t.listeners=t.listeners.filter((function(e){return e!==r})),t.onUnsubscribe()}},t.hasListeners=function(){return this.listeners.length>0},t.onSubscribe=function(){},t.onUnsubscribe=function(){},e}()},8912:()=>{},2652:(e,t,r)=>{"use strict";r.d(t,{BH:()=>y,Cp:()=>b,F$:()=>f,G6:()=>P,GR:()=>d,HN:()=>s,MK:()=>m,Od:()=>v,S$:()=>a,Zw:()=>i,b_:()=>p,f8:()=>E,gn:()=>l,j3:()=>c,jY:()=>C,lQ:()=>o,nJ:()=>h,vh:()=>u,yy:()=>_});var n=r(5265),a="undefined"==typeof window;function o(){}function i(e,t){return"function"==typeof e?e(t):e}function l(e){return"number"==typeof e&&e>=0&&e!==1/0}function s(e){return Array.isArray(e)?e:[e]}function c(e,t){return Math.max(e+(t||0)-Date.now(),0)}function u(e,t,r){return x(e)?"function"==typeof t?(0,n.A)({},r,{queryKey:e,queryFn:t}):(0,n.A)({},t,{queryKey:e}):e}function d(e,t,r){return x(e)?"function"==typeof t?(0,n.A)({},r,{mutationKey:e,mutationFn:t}):(0,n.A)({},t,{mutationKey:e}):"function"==typeof e?(0,n.A)({},t,{mutationFn:e}):(0,n.A)({},e)}function p(e,t,r){return x(e)?[(0,n.A)({},t,{queryKey:e}),r]:[e||{},t]}function m(e,t){var r=e.active,n=e.exact,a=e.fetching,o=e.inactive,i=e.predicate,l=e.queryKey,s=e.stale;if(x(l))if(n){if(t.queryHash!==f(l,t.options))return!1}else if(!b(t.queryKey,l))return!1;var c=function(e,t){return!0===e&&!0===t||null==e&&null==t?"all":!1===e&&!1===t?"none":(null!=e?e:!t)?"active":"inactive"}(r,o);if("none"===c)return!1;if("all"!==c){var u=t.isActive();if("active"===c&&!u)return!1;if("inactive"===c&&u)return!1}return!("boolean"==typeof s&&t.isStale()!==s||"boolean"==typeof a&&t.isFetching()!==a||i&&!i(t))}function h(e,t){var r=e.exact,n=e.fetching,a=e.predicate,o=e.mutationKey;if(x(o)){if(!t.options.mutationKey)return!1;if(r){if(v(t.options.mutationKey)!==v(o))return!1}else if(!b(t.options.mutationKey,o))return!1}return!("boolean"==typeof n&&"loading"===t.state.status!==n||a&&!a(t))}function f(e,t){return((null==t?void 0:t.queryKeyHashFn)||v)(e)}function v(e){var t;return t=s(e),JSON.stringify(t,(function(e,t){return k(t)?Object.keys(t).sort().reduce((function(e,r){return e[r]=t[r],e}),{}):t}))}function b(e,t){return g(s(e),s(t))}function g(e,t){return e===t||typeof e==typeof t&&!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&!Object.keys(t).some((function(r){return!g(e[r],t[r])}))}function y(e,t){if(e===t)return e;var r=Array.isArray(e)&&Array.isArray(t);if(r||k(e)&&k(t)){for(var n=r?e.length:Object.keys(e).length,a=r?t:Object.keys(t),o=a.length,i=r?[]:{},l=0,s=0;s<o;s++){var c=r?s:a[s];i[c]=y(e[c],t[c]),i[c]===e[c]&&l++}return n===o&&l===n?e:i}return t}function E(e,t){if(e&&!t||t&&!e)return!1;for(var r in e)if(e[r]!==t[r])return!1;return!0}function k(e){if(!w(e))return!1;var t=e.constructor;if(void 0===t)return!0;var r=t.prototype;return!!w(r)&&!!r.hasOwnProperty("isPrototypeOf")}function w(e){return"[object Object]"===Object.prototype.toString.call(e)}function x(e){return"string"==typeof e||Array.isArray(e)}function _(e){return new Promise((function(t){setTimeout(t,e)}))}function P(e){Promise.resolve().then(e).catch((function(e){return setTimeout((function(){throw e}))}))}function C(){if("function"==typeof AbortController)return new AbortController}},1773:(e,t,r)=>{"use strict";r.d(t,{QueryClient:()=>n.QueryClient,QueryClientProvider:()=>a.QueryClientProvider,useMutation:()=>a.useMutation,useQuery:()=>a.useQuery});var n=r(1073);r.o(n,"QueryClientProvider")&&r.d(t,{QueryClientProvider:function(){return n.QueryClientProvider}}),r.o(n,"useMutation")&&r.d(t,{useMutation:function(){return n.useMutation}}),r.o(n,"useQuery")&&r.d(t,{useQuery:function(){return n.useQuery}});var a=r(8217)},8217:(e,t,r)=>{"use strict";r.d(t,{QueryClientProvider:()=>h,useMutation:()=>w,useQuery:()=>O});var n=r(9545),a=r(5795),o=r.n(a)().unstable_batchedUpdates;n.j.setBatchNotifyFunction(o);var i=r(3105),l=console;(0,i.B)(l);var s=r(1609),c=r.n(s),u=c().createContext(void 0),d=c().createContext(!1);function p(e){return e&&"undefined"!=typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=u),window.ReactQueryClientContext):u}var m=function(){var e=c().useContext(p(c().useContext(d)));if(!e)throw new Error("No QueryClient set, use QueryClientProvider to set one");return e},h=function(e){var t=e.client,r=e.contextSharing,n=void 0!==r&&r,a=e.children;c().useEffect((function(){return t.mount(),function(){t.unmount()}}),[t]);var o=p(n);return c().createElement(d.Provider,{value:n},c().createElement(o.Provider,{value:t},a))},f=r(5265),v=r(2652),b=r(7878),g=r(9722),y=r(3224),E=function(e){function t(t,r){var n;return(n=e.call(this)||this).client=t,n.setOptions(r),n.bindMethods(),n.updateResult(),n}(0,b.A)(t,e);var r=t.prototype;return r.bindMethods=function(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)},r.setOptions=function(e){this.options=this.client.defaultMutationOptions(e)},r.onUnsubscribe=function(){var e;this.listeners.length||null==(e=this.currentMutation)||e.removeObserver(this)},r.onMutationUpdate=function(e){this.updateResult();var t={listeners:!0};"success"===e.type?t.onSuccess=!0:"error"===e.type&&(t.onError=!0),this.notify(t)},r.getCurrentResult=function(){return this.currentResult},r.reset=function(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})},r.mutate=function(e,t){return this.mutateOptions=t,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,(0,f.A)({},this.options,{variables:void 0!==e?e:this.options.variables})),this.currentMutation.addObserver(this),this.currentMutation.execute()},r.updateResult=function(){var e=this.currentMutation?this.currentMutation.state:(0,g.$)(),t=(0,f.A)({},e,{isLoading:"loading"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset});this.currentResult=t},r.notify=function(e){var t=this;n.j.batch((function(){t.mutateOptions&&(e.onSuccess?(null==t.mutateOptions.onSuccess||t.mutateOptions.onSuccess(t.currentResult.data,t.currentResult.variables,t.currentResult.context),null==t.mutateOptions.onSettled||t.mutateOptions.onSettled(t.currentResult.data,null,t.currentResult.variables,t.currentResult.context)):e.onError&&(null==t.mutateOptions.onError||t.mutateOptions.onError(t.currentResult.error,t.currentResult.variables,t.currentResult.context),null==t.mutateOptions.onSettled||t.mutateOptions.onSettled(void 0,t.currentResult.error,t.currentResult.variables,t.currentResult.context))),e.listeners&&t.listeners.forEach((function(e){e(t.currentResult)}))}))},t}(y.Q);function k(e,t,r){return"function"==typeof t?t.apply(void 0,r):"boolean"==typeof t?t:!!e}function w(e,t,r){var a=c().useRef(!1),o=c().useState(0)[1],i=(0,v.GR)(e,t,r),l=m(),s=c().useRef();s.current?s.current.setOptions(i):s.current=new E(l,i);var u=s.current.getCurrentResult();c().useEffect((function(){a.current=!0;var e=s.current.subscribe(n.j.batchCalls((function(){a.current&&o((function(e){return e+1}))})));return function(){a.current=!1,e()}}),[]);var d=c().useCallback((function(e,t){s.current.mutate(e,t).catch(v.lQ)}),[]);if(u.error&&k(void 0,s.current.options.useErrorBoundary,[u.error]))throw u.error;return(0,f.A)({},u,{mutate:d,mutateAsync:u.mutate})}var x=r(9006),_=r(1460),P=function(e){function t(t,r){var n;return(n=e.call(this)||this).client=t,n.options=r,n.trackedProps=[],n.selectError=null,n.bindMethods(),n.setOptions(r),n}(0,b.A)(t,e);var r=t.prototype;return r.bindMethods=function(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)},r.onSubscribe=function(){1===this.listeners.length&&(this.currentQuery.addObserver(this),C(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())},r.onUnsubscribe=function(){this.listeners.length||this.destroy()},r.shouldFetchOnReconnect=function(){return A(this.currentQuery,this.options,this.options.refetchOnReconnect)},r.shouldFetchOnWindowFocus=function(){return A(this.currentQuery,this.options,this.options.refetchOnWindowFocus)},r.destroy=function(){this.listeners=[],this.clearTimers(),this.currentQuery.removeObserver(this)},r.setOptions=function(e,t){var r=this.options,n=this.currentQuery;if(this.options=this.client.defaultQueryObserverOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled)throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=r.queryKey),this.updateQuery();var a=this.hasListeners();a&&S(this.currentQuery,n,this.options,r)&&this.executeFetch(),this.updateResult(t),!a||this.currentQuery===n&&this.options.enabled===r.enabled&&this.options.staleTime===r.staleTime||this.updateStaleTimeout();var o=this.computeRefetchInterval();!a||this.currentQuery===n&&this.options.enabled===r.enabled&&o===this.currentRefetchInterval||this.updateRefetchInterval(o)},r.getOptimisticResult=function(e){var t=this.client.defaultQueryObserverOptions(e),r=this.client.getQueryCache().build(this.client,t);return this.createResult(r,t)},r.getCurrentResult=function(){return this.currentResult},r.trackResult=function(e,t){var r=this,n={},a=function(e){r.trackedProps.includes(e)||r.trackedProps.push(e)};return Object.keys(e).forEach((function(t){Object.defineProperty(n,t,{configurable:!1,enumerable:!0,get:function(){return a(t),e[t]}})})),(t.useErrorBoundary||t.suspense)&&a("error"),n},r.getNextResult=function(e){var t=this;return new Promise((function(r,n){var a=t.subscribe((function(t){t.isFetching||(a(),t.isError&&(null==e?void 0:e.throwOnError)?n(t.error):r(t))}))}))},r.getCurrentQuery=function(){return this.currentQuery},r.remove=function(){this.client.getQueryCache().remove(this.currentQuery)},r.refetch=function(e){return this.fetch((0,f.A)({},e,{meta:{refetchPage:null==e?void 0:e.refetchPage}}))},r.fetchOptimistic=function(e){var t=this,r=this.client.defaultQueryObserverOptions(e),n=this.client.getQueryCache().build(this.client,r);return n.fetch().then((function(){return t.createResult(n,r)}))},r.fetch=function(e){var t=this;return this.executeFetch(e).then((function(){return t.updateResult(),t.currentResult}))},r.executeFetch=function(e){this.updateQuery();var t=this.currentQuery.fetch(this.options,e);return(null==e?void 0:e.throwOnError)||(t=t.catch(v.lQ)),t},r.updateStaleTimeout=function(){var e=this;if(this.clearStaleTimeout(),!v.S$&&!this.currentResult.isStale&&(0,v.gn)(this.options.staleTime)){var t=(0,v.j3)(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout((function(){e.currentResult.isStale||e.updateResult()}),t)}},r.computeRefetchInterval=function(){var e;return"function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(e=this.options.refetchInterval)&&e},r.updateRefetchInterval=function(e){var t=this;this.clearRefetchInterval(),this.currentRefetchInterval=e,!v.S$&&!1!==this.options.enabled&&(0,v.gn)(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval((function(){(t.options.refetchIntervalInBackground||x.m.isFocused())&&t.executeFetch()}),this.currentRefetchInterval))},r.updateTimers=function(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())},r.clearTimers=function(){this.clearStaleTimeout(),this.clearRefetchInterval()},r.clearStaleTimeout=function(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)},r.clearRefetchInterval=function(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)},r.createResult=function(e,t){var r,n=this.currentQuery,a=this.options,o=this.currentResult,l=this.currentResultState,s=this.currentResultOptions,c=e!==n,u=c?e.state:this.currentQueryInitialState,d=c?this.currentResult:this.previousQueryResult,p=e.state,m=p.dataUpdatedAt,h=p.error,f=p.errorUpdatedAt,b=p.isFetching,g=p.status,y=!1,E=!1;if(t.optimisticResults){var k=this.hasListeners(),w=!k&&C(e,t),x=k&&S(e,n,t,a);(w||x)&&(b=!0,m||(g="loading"))}if(t.keepPreviousData&&!p.dataUpdateCount&&(null==d?void 0:d.isSuccess)&&"error"!==g)r=d.data,m=d.dataUpdatedAt,g=d.status,y=!0;else if(t.select&&void 0!==p.data)if(o&&p.data===(null==l?void 0:l.data)&&t.select===this.selectFn)r=this.selectResult;else try{this.selectFn=t.select,r=t.select(p.data),!1!==t.structuralSharing&&(r=(0,v.BH)(null==o?void 0:o.data,r)),this.selectResult=r,this.selectError=null}catch(e){(0,i.t)().error(e),this.selectError=e}else r=p.data;if(void 0!==t.placeholderData&&void 0===r&&("loading"===g||"idle"===g)){var _;if((null==o?void 0:o.isPlaceholderData)&&t.placeholderData===(null==s?void 0:s.placeholderData))_=o.data;else if(_="function"==typeof t.placeholderData?t.placeholderData():t.placeholderData,t.select&&void 0!==_)try{_=t.select(_),!1!==t.structuralSharing&&(_=(0,v.BH)(null==o?void 0:o.data,_)),this.selectError=null}catch(e){(0,i.t)().error(e),this.selectError=e}void 0!==_&&(g="success",r=_,E=!0)}return this.selectError&&(h=this.selectError,r=this.selectResult,f=Date.now(),g="error"),{status:g,isLoading:"loading"===g,isSuccess:"success"===g,isError:"error"===g,isIdle:"idle"===g,data:r,dataUpdatedAt:m,error:h,errorUpdatedAt:f,failureCount:p.fetchFailureCount,errorUpdateCount:p.errorUpdateCount,isFetched:p.dataUpdateCount>0||p.errorUpdateCount>0,isFetchedAfterMount:p.dataUpdateCount>u.dataUpdateCount||p.errorUpdateCount>u.errorUpdateCount,isFetching:b,isRefetching:b&&"loading"!==g,isLoadingError:"error"===g&&0===p.dataUpdatedAt,isPlaceholderData:E,isPreviousData:y,isRefetchError:"error"===g&&0!==p.dataUpdatedAt,isStale:R(e,t),refetch:this.refetch,remove:this.remove}},r.shouldNotifyListeners=function(e,t){if(!t)return!0;var r=this.options,n=r.notifyOnChangeProps,a=r.notifyOnChangePropsExclusions;if(!n&&!a)return!0;if("tracked"===n&&!this.trackedProps.length)return!0;var o="tracked"===n?this.trackedProps:n;return Object.keys(e).some((function(r){var n=r,i=e[n]!==t[n],l=null==o?void 0:o.some((function(e){return e===r})),s=null==a?void 0:a.some((function(e){return e===r}));return i&&!s&&(!o||l)}))},r.updateResult=function(e){var t=this.currentResult;if(this.currentResult=this.createResult(this.currentQuery,this.options),this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,!(0,v.f8)(this.currentResult,t)){var r={cache:!0};!1!==(null==e?void 0:e.listeners)&&this.shouldNotifyListeners(this.currentResult,t)&&(r.listeners=!0),this.notify((0,f.A)({},r,e))}},r.updateQuery=function(){var e=this.client.getQueryCache().build(this.client,this.options);if(e!==this.currentQuery){var t=this.currentQuery;this.currentQuery=e,this.currentQueryInitialState=e.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==t||t.removeObserver(this),e.addObserver(this))}},r.onQueryUpdate=function(e){var t={};"success"===e.type?t.onSuccess=!0:"error"!==e.type||(0,_.wm)(e.error)||(t.onError=!0),this.updateResult(t),this.hasListeners()&&this.updateTimers()},r.notify=function(e){var t=this;n.j.batch((function(){e.onSuccess?(null==t.options.onSuccess||t.options.onSuccess(t.currentResult.data),null==t.options.onSettled||t.options.onSettled(t.currentResult.data,null)):e.onError&&(null==t.options.onError||t.options.onError(t.currentResult.error),null==t.options.onSettled||t.options.onSettled(void 0,t.currentResult.error)),e.listeners&&t.listeners.forEach((function(e){e(t.currentResult)})),e.cache&&t.client.getQueryCache().notify({query:t.currentQuery,type:"observerResultsUpdated"})}))},t}(y.Q);function C(e,t){return function(e,t){return!(!1===t.enabled||e.state.dataUpdatedAt||"error"===e.state.status&&!1===t.retryOnMount)}(e,t)||e.state.dataUpdatedAt>0&&A(e,t,t.refetchOnMount)}function A(e,t,r){if(!1!==t.enabled){var n="function"==typeof r?r(e):r;return"always"===n||!1!==n&&R(e,t)}return!1}function S(e,t,r,n){return!1!==r.enabled&&(e!==t||!1===n.enabled)&&(!r.suspense||"error"!==e.state.status)&&R(e,r)}function R(e,t){return e.isStaleByTime(t.staleTime)}var M,T=c().createContext((M=!1,{clearReset:function(){M=!1},reset:function(){M=!0},isReset:function(){return M}})),I=function(){return c().useContext(T)};function O(e,t,r){return function(e,t){var r=c().useRef(!1),a=c().useState(0)[1],o=m(),i=I(),l=o.defaultQueryObserverOptions(e);l.optimisticResults=!0,l.onError&&(l.onError=n.j.batchCalls(l.onError)),l.onSuccess&&(l.onSuccess=n.j.batchCalls(l.onSuccess)),l.onSettled&&(l.onSettled=n.j.batchCalls(l.onSettled)),l.suspense&&("number"!=typeof l.staleTime&&(l.staleTime=1e3),0===l.cacheTime&&(l.cacheTime=1)),(l.suspense||l.useErrorBoundary)&&(i.isReset()||(l.retryOnMount=!1));var s=c().useState((function(){return new t(o,l)}))[0],u=s.getOptimisticResult(l);if(c().useEffect((function(){r.current=!0,i.clearReset();var e=s.subscribe(n.j.batchCalls((function(){r.current&&a((function(e){return e+1}))})));return s.updateResult(),function(){r.current=!1,e()}}),[i,s]),c().useEffect((function(){s.setOptions(l,{listeners:!1})}),[l,s]),l.suspense&&u.isLoading)throw s.fetchOptimistic(l).then((function(e){var t=e.data;null==l.onSuccess||l.onSuccess(t),null==l.onSettled||l.onSettled(t,null)})).catch((function(e){i.clearReset(),null==l.onError||l.onError(e),null==l.onSettled||l.onSettled(void 0,e)}));if(u.isError&&!i.isReset()&&!u.isFetching&&k(l.suspense,l.useErrorBoundary,[u.error,s.getCurrentQuery()]))throw u.error;return"tracked"===l.notifyOnChangeProps&&(u=s.trackResult(u,l)),u}((0,v.vh)(e,t,r),P)}},8034:(e,t,r)=>{"use strict";var n=r(1609),a=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,l=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,r){var n,o={},c=null,u=null;for(n in void 0!==r&&(c=""+r),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)i.call(t,n)&&!s.hasOwnProperty(n)&&(o[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===o[n]&&(o[n]=t[n]);return{$$typeof:a,type:e,key:c,ref:u,props:o,_owner:l.current}}t.Fragment=o,t.jsx=c,t.jsxs=c},3274:(e,t,r)=>{"use strict";e.exports=r(8034)},9522:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=n(r(2472)),o=r(2358);t.default=function(e,t){var r={};return e&&"string"==typeof e?((0,a.default)(e,(function(e,n){e&&n&&(r[(0,o.camelCase)(e,t)]=n)})),r):r}},2358:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var r=/^--[a-zA-Z0-9-]+$/,n=/-([a-z])/g,a=/^[^-]+$/,o=/^-(webkit|moz|ms|o|khtml)-/,i=/^-(ms)-/,l=function(e,t){return t.toUpperCase()},s=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){return void 0===t&&(t={}),function(e){return!e||a.test(e)||r.test(e)}(e)?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(i,s):e.replace(o,s)).replace(n,l))}},2472:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=n(r(2867));t.default=function(e,t){var r=null;if(!e||"string"!=typeof e)return r;var n=(0,a.default)(e),o="function"==typeof t;return n.forEach((function(e){if("declaration"===e.type){var n=e.property,a=e.value;o?t(n,a,e):a&&((r=r||{})[n]=a)}})),r}},5664:e=>{e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,r=[],n=0;n<e.rangeCount;n++)r.push(e.getRangeAt(n));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||r.forEach((function(t){e.addRange(t)})),t&&t.focus()}}},6008:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NIL",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"parse",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"v1",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"v3",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"v4",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"v5",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"validate",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"version",{enumerable:!0,get:function(){return s.default}});var n=p(r(9863)),a=p(r(8665)),o=p(r(8188)),i=p(r(7299)),l=p(r(4563)),s=p(r(1956)),c=p(r(3856)),u=p(r(9141)),d=p(r(411));function p(e){return e&&e.__esModule?e:{default:e}}},9056:(e,t)=>{"use strict";function r(e){return 14+(e+64>>>9<<4)+1}function n(e,t){const r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function a(e,t,r,a,o,i){return n((l=n(n(t,e),n(a,i)))<<(s=o)|l>>>32-s,r);var l,s}function o(e,t,r,n,o,i,l){return a(t&r|~t&n,e,t,o,i,l)}function i(e,t,r,n,o,i,l){return a(t&n|r&~n,e,t,o,i,l)}function l(e,t,r,n,o,i,l){return a(t^r^n,e,t,o,i,l)}function s(e,t,r,n,o,i,l){return a(r^(t|~n),e,t,o,i,l)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=function(e){if("string"==typeof e){const t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(let r=0;r<t.length;++r)e[r]=t.charCodeAt(r)}return function(e){const t=[],r=32*e.length,n="0123456789abcdef";for(let a=0;a<r;a+=8){const r=e[a>>5]>>>a%32&255,o=parseInt(n.charAt(r>>>4&15)+n.charAt(15&r),16);t.push(o)}return t}(function(e,t){e[t>>5]|=128<<t%32,e[r(t)-1]=t;let a=1732584193,c=-271733879,u=-1732584194,d=271733878;for(let t=0;t<e.length;t+=16){const r=a,p=c,m=u,h=d;a=o(a,c,u,d,e[t],7,-680876936),d=o(d,a,c,u,e[t+1],12,-389564586),u=o(u,d,a,c,e[t+2],17,606105819),c=o(c,u,d,a,e[t+3],22,-1044525330),a=o(a,c,u,d,e[t+4],7,-176418897),d=o(d,a,c,u,e[t+5],12,1200080426),u=o(u,d,a,c,e[t+6],17,-1473231341),c=o(c,u,d,a,e[t+7],22,-45705983),a=o(a,c,u,d,e[t+8],7,1770035416),d=o(d,a,c,u,e[t+9],12,-1958414417),u=o(u,d,a,c,e[t+10],17,-42063),c=o(c,u,d,a,e[t+11],22,-1990404162),a=o(a,c,u,d,e[t+12],7,1804603682),d=o(d,a,c,u,e[t+13],12,-40341101),u=o(u,d,a,c,e[t+14],17,-1502002290),c=o(c,u,d,a,e[t+15],22,1236535329),a=i(a,c,u,d,e[t+1],5,-165796510),d=i(d,a,c,u,e[t+6],9,-1069501632),u=i(u,d,a,c,e[t+11],14,643717713),c=i(c,u,d,a,e[t],20,-373897302),a=i(a,c,u,d,e[t+5],5,-701558691),d=i(d,a,c,u,e[t+10],9,38016083),u=i(u,d,a,c,e[t+15],14,-660478335),c=i(c,u,d,a,e[t+4],20,-405537848),a=i(a,c,u,d,e[t+9],5,568446438),d=i(d,a,c,u,e[t+14],9,-1019803690),u=i(u,d,a,c,e[t+3],14,-187363961),c=i(c,u,d,a,e[t+8],20,1163531501),a=i(a,c,u,d,e[t+13],5,-1444681467),d=i(d,a,c,u,e[t+2],9,-51403784),u=i(u,d,a,c,e[t+7],14,1735328473),c=i(c,u,d,a,e[t+12],20,-1926607734),a=l(a,c,u,d,e[t+5],4,-378558),d=l(d,a,c,u,e[t+8],11,-2022574463),u=l(u,d,a,c,e[t+11],16,1839030562),c=l(c,u,d,a,e[t+14],23,-35309556),a=l(a,c,u,d,e[t+1],4,-1530992060),d=l(d,a,c,u,e[t+4],11,1272893353),u=l(u,d,a,c,e[t+7],16,-155497632),c=l(c,u,d,a,e[t+10],23,-1094730640),a=l(a,c,u,d,e[t+13],4,681279174),d=l(d,a,c,u,e[t],11,-358537222),u=l(u,d,a,c,e[t+3],16,-722521979),c=l(c,u,d,a,e[t+6],23,76029189),a=l(a,c,u,d,e[t+9],4,-640364487),d=l(d,a,c,u,e[t+12],11,-421815835),u=l(u,d,a,c,e[t+15],16,530742520),c=l(c,u,d,a,e[t+2],23,-995338651),a=s(a,c,u,d,e[t],6,-198630844),d=s(d,a,c,u,e[t+7],10,1126891415),u=s(u,d,a,c,e[t+14],15,-1416354905),c=s(c,u,d,a,e[t+5],21,-57434055),a=s(a,c,u,d,e[t+12],6,1700485571),d=s(d,a,c,u,e[t+3],10,-1894986606),u=s(u,d,a,c,e[t+10],15,-1051523),c=s(c,u,d,a,e[t+1],21,-2054922799),a=s(a,c,u,d,e[t+8],6,1873313359),d=s(d,a,c,u,e[t+15],10,-30611744),u=s(u,d,a,c,e[t+6],15,-1560198380),c=s(c,u,d,a,e[t+13],21,1309151649),a=s(a,c,u,d,e[t+4],6,-145523070),d=s(d,a,c,u,e[t+11],10,-1120210379),u=s(u,d,a,c,e[t+2],15,718787259),c=s(c,u,d,a,e[t+9],21,-343485551),a=n(a,r),c=n(c,p),u=n(u,m),d=n(d,h)}return[a,c,u,d]}(function(e){if(0===e.length)return[];const t=8*e.length,n=new Uint32Array(r(t));for(let r=0;r<t;r+=8)n[r>>5]|=(255&e[r/8])<<r%32;return n}(e),8*e.length))}},5157:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};t.default=r},4563:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default="00000000-0000-0000-0000-000000000000"},411:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,a=(n=r(3856))&&n.__esModule?n:{default:n};t.default=function(e){if(!(0,a.default)(e))throw TypeError("Invalid UUID");let t;const r=new Uint8Array(16);return r[0]=(t=parseInt(e.slice(0,8),16))>>>24,r[1]=t>>>16&255,r[2]=t>>>8&255,r[3]=255&t,r[4]=(t=parseInt(e.slice(9,13),16))>>>8,r[5]=255&t,r[6]=(t=parseInt(e.slice(14,18),16))>>>8,r[7]=255&t,r[8]=(t=parseInt(e.slice(19,23),16))>>>8,r[9]=255&t,r[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,r[11]=t/4294967296&255,r[12]=t>>>24&255,r[13]=t>>>16&255,r[14]=t>>>8&255,r[15]=255&t,r}},7743:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i},245:(e,t)=>{"use strict";let r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){if(!r&&(r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!r))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(n)};const n=new Uint8Array(16)},4883:(e,t)=>{"use strict";function r(e,t,r,n){switch(e){case 0:return t&r^~t&n;case 1:case 3:return t^r^n;case 2:return t&r^t&n^r&n}}function n(e,t){return e<<t|e>>>32-t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=function(e){const t=[1518500249,1859775393,2400959708,3395469782],a=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){const t=unescape(encodeURIComponent(e));e=[];for(let r=0;r<t.length;++r)e.push(t.charCodeAt(r))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);const o=e.length/4+2,i=Math.ceil(o/16),l=new Array(i);for(let t=0;t<i;++t){const r=new Uint32Array(16);for(let n=0;n<16;++n)r[n]=e[64*t+4*n]<<24|e[64*t+4*n+1]<<16|e[64*t+4*n+2]<<8|e[64*t+4*n+3];l[t]=r}l[i-1][14]=8*(e.length-1)/Math.pow(2,32),l[i-1][14]=Math.floor(l[i-1][14]),l[i-1][15]=8*(e.length-1)&4294967295;for(let e=0;e<i;++e){const o=new Uint32Array(80);for(let t=0;t<16;++t)o[t]=l[e][t];for(let e=16;e<80;++e)o[e]=n(o[e-3]^o[e-8]^o[e-14]^o[e-16],1);let i=a[0],s=a[1],c=a[2],u=a[3],d=a[4];for(let e=0;e<80;++e){const a=Math.floor(e/20),l=n(i,5)+r(a,s,c,u)+d+t[a]+o[e]>>>0;d=u,u=c,c=n(s,30)>>>0,s=i,i=l}a[0]=a[0]+i>>>0,a[1]=a[1]+s>>>0,a[2]=a[2]+c>>>0,a[3]=a[3]+u>>>0,a[4]=a[4]+d>>>0}return[a[0]>>24&255,a[0]>>16&255,a[0]>>8&255,255&a[0],a[1]>>24&255,a[1]>>16&255,a[1]>>8&255,255&a[1],a[2]>>24&255,a[2]>>16&255,a[2]>>8&255,255&a[2],a[3]>>24&255,a[3]>>16&255,a[3]>>8&255,255&a[3],a[4]>>24&255,a[4]>>16&255,a[4]>>8&255,255&a[4]]}},9141:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.unsafeStringify=i;var n,a=(n=r(3856))&&n.__esModule?n:{default:n};const o=[];for(let e=0;e<256;++e)o.push((e+256).toString(16).slice(1));function i(e,t=0){return o[e[t+0]]+o[e[t+1]]+o[e[t+2]]+o[e[t+3]]+"-"+o[e[t+4]]+o[e[t+5]]+"-"+o[e[t+6]]+o[e[t+7]]+"-"+o[e[t+8]]+o[e[t+9]]+"-"+o[e[t+10]]+o[e[t+11]]+o[e[t+12]]+o[e[t+13]]+o[e[t+14]]+o[e[t+15]]}t.default=function(e,t=0){const r=i(e,t);if(!(0,a.default)(r))throw TypeError("Stringified UUID is invalid");return r}},9863:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,a=(n=r(245))&&n.__esModule?n:{default:n},o=r(9141);let i,l,s=0,c=0;t.default=function(e,t,r){let n=t&&r||0;const u=t||new Array(16);let d=(e=e||{}).node||i,p=void 0!==e.clockseq?e.clockseq:l;if(null==d||null==p){const t=e.random||(e.rng||a.default)();null==d&&(d=i=[1|t[0],t[1],t[2],t[3],t[4],t[5]]),null==p&&(p=l=16383&(t[6]<<8|t[7]))}let m=void 0!==e.msecs?e.msecs:Date.now(),h=void 0!==e.nsecs?e.nsecs:c+1;const f=m-s+(h-c)/1e4;if(f<0&&void 0===e.clockseq&&(p=p+1&16383),(f<0||m>s)&&void 0===e.nsecs&&(h=0),h>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");s=m,c=h,l=p,m+=122192928e5;const v=(1e4*(268435455&m)+h)%4294967296;u[n++]=v>>>24&255,u[n++]=v>>>16&255,u[n++]=v>>>8&255,u[n++]=255&v;const b=m/4294967296*1e4&268435455;u[n++]=b>>>8&255,u[n++]=255&b,u[n++]=b>>>24&15|16,u[n++]=b>>>16&255,u[n++]=p>>>8|128,u[n++]=255&p;for(let e=0;e<6;++e)u[n+e]=d[e];return t||(0,o.unsafeStringify)(u)}},8665:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(r(6762)),a=o(r(9056));function o(e){return e&&e.__esModule?e:{default:e}}var i=(0,n.default)("v3",48,a.default);t.default=i},6762:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.URL=t.DNS=void 0,t.default=function(e,t,r){function n(e,n,i,l){var s;if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));const t=[];for(let r=0;r<e.length;++r)t.push(e.charCodeAt(r));return t}(e)),"string"==typeof n&&(n=(0,o.default)(n)),16!==(null===(s=n)||void 0===s?void 0:s.length))throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let c=new Uint8Array(16+e.length);if(c.set(n),c.set(e,n.length),c=r(c),c[6]=15&c[6]|t,c[8]=63&c[8]|128,i){l=l||0;for(let e=0;e<16;++e)i[l+e]=c[e];return i}return(0,a.unsafeStringify)(c)}try{n.name=e}catch(e){}return n.DNS=i,n.URL=l,n};var n,a=r(9141),o=(n=r(411))&&n.__esModule?n:{default:n};const i="6ba7b810-9dad-11d1-80b4-00c04fd430c8";t.DNS=i;const l="6ba7b811-9dad-11d1-80b4-00c04fd430c8";t.URL=l},8188:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(r(5157)),a=i(r(245)),o=r(9141);function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t,r){if(n.default.randomUUID&&!t&&!e)return n.default.randomUUID();const i=(e=e||{}).random||(e.rng||a.default)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t){r=r||0;for(let e=0;e<16;++e)t[r+e]=i[e];return t}return(0,o.unsafeStringify)(i)}},7299:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(r(6762)),a=o(r(4883));function o(e){return e&&e.__esModule?e:{default:e}}var i=(0,n.default)("v5",80,a.default);t.default=i},3856:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,a=(n=r(7743))&&n.__esModule?n:{default:n};t.default=function(e){return"string"==typeof e&&a.default.test(e)}},1956:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,a=(n=r(3856))&&n.__esModule?n:{default:n};t.default=function(e){if(!(0,a.default)(e))throw TypeError("Invalid UUID");return parseInt(e.slice(14,15),16)}},1609:e=>{"use strict";e.exports=window.React},5795:e=>{"use strict";e.exports=window.ReactDOM},7500:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function a(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];r&&(e=i(e,o(r)))}return e}function o(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return a.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?(a.default=a,e.exports=a):void 0===(r=function(){return a}.apply(t,[]))||(e.exports=r)}()},5265:(e,t,r)=>{"use strict";function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(null,arguments)}r.d(t,{A:()=>n})},7878:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(8269);function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,n.A)(e,t)}},8269:(e,t,r)=>{"use strict";function n(e,t){return n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},n(e,t)}r.d(t,{A:()=>n})}},__webpack_module_cache__={},deferred;function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var r=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e].call(r.exports,r,r.exports,__webpack_require__),r.loaded=!0,r.exports}__webpack_require__.m=__webpack_modules__,deferred=[],__webpack_require__.O=(e,t,r,n)=>{if(!t){var a=1/0;for(s=0;s<deferred.length;s++){for(var[t,r,n]=deferred[s],o=!0,i=0;i<t.length;i++)(!1&n||a>=n)&&Object.keys(__webpack_require__.O).every((e=>__webpack_require__.O[e](t[i])))?t.splice(i--,1):(o=!1,n<a&&(a=n));if(o){deferred.splice(s--,1);var l=r();void 0!==l&&(e=l)}}return e}n=n||0;for(var s=deferred.length;s>0&&deferred[s-1][2]>n;s--)deferred[s]=deferred[s-1];deferred[s]=[t,r,n]},__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=(e,t)=>{for(var r in t)__webpack_require__.o(t,r)&&!__webpack_require__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;__webpack_require__.g.importScripts&&(e=__webpack_require__.g.location+"");var t=__webpack_require__.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var n=r.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=r[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),__webpack_require__.p=e})(),(()=>{var e={617:0,232:0};__webpack_require__.O.j=t=>0===e[t];var t=(t,r)=>{var n,a,[o,i,l]=r,s=0;if(o.some((t=>0!==e[t]))){for(n in i)__webpack_require__.o(i,n)&&(__webpack_require__.m[n]=i[n]);if(l)var c=l(__webpack_require__)}for(t&&t(r);s<o.length;s++)a=o[s],__webpack_require__.o(e,a)&&e[a]&&e[a][0](),e[a]=0;return __webpack_require__.O(c)},r=self.webpackChunkblockart_blocks=self.webpackChunkblockart_blocks||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),__webpack_require__.nc=void 0;var __webpack_exports__=__webpack_require__.O(void 0,[232],(()=>__webpack_require__(843)));__webpack_exports__=__webpack_require__.O(__webpack_exports__)})();