File: /home/httpd/vhosts/rajlaw.com.tw/httpdocs/wp-content/plugins/blockart-blocks/dist/blocks-17.js
/*! For license information please see blocks-17.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(),g=0,b=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!==b&&(h+=bmPow(f[u]-b[u],2));g+=h=bmSqrt(h),y.points[c]=new a(h,f),b=f}y.segmentLength=g,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,g=d*h*h*3,b=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]+g*n[u]+b*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 g,b=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>=b||e<y){var k=e>=b?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)/(b-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,g=o.s||a.e,this.sh&&1!==a.h)e>=b?(r[0]=g[0],r[1]=g[1],r[2]=g[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(g),(e-y)/(b-y)));else for(h=0;h<f;h+=1)1!==a.h&&(e>=b?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)/(b-y)))),g=o.s||a.e,R=1===a.h?a.s[h]:a.s[h]+(g[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,g=p,b=m.length-1,y=!0;y&&(h=m[g],!((f=m[g+1]).t-this.offsetTime>e));)g<b-1?g+=1:y=!1;if(v=this.keyframesMetadata[g]||{},p=g,!(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),g=0===f&&0===v?0:v/Math.sqrt(f*f+v*v),b=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-g*n*r*h,v-b*n*r*h,f+g*n*r*h,v+b*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 g=v[0],b=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],O=v[15];return v[0]=g*e+b*a+y*s+E*p,v[1]=g*t+b*o+y*c+E*m,v[2]=g*r+b*i+y*u+E*h,v[3]=g*n+b*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+O*p,v[13]=R*t+M*o+T*c+O*m,v[14]=R*r+M*i+T*u+O*h,v[15]=R*n+M*l+T*d+O*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 g(){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 b(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 O(e){return e<1e-6&&e>0||e>-1e-6&&e<0?n(1e4*e)/1e4:e}function I(){var e=this.props;return"matrix("+O(e[0])+","+O(e[1])+","+O(e[4])+","+O(e[5])+","+O(e[12])+","+O(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=I,this.clone=y,this.cloneFromProps=E,this.equals=b,this.inversePoints=A,this.inversePoint=C,this.getInverseMatrix=P,this._t=this.transform,this.isIdentity=g,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 g,b=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?(g=this.calculateShapeEdges(t,r,h.totalShapeLength,E,m),E+=h.totalShapeLength):g=[[b,y]],s=g.length,l=0;l<s;l+=1){b=g[l][0],y=g[l][1],v.length=0,y<=1?v.push({s:h.totalShapeLength*b,e:h.totalShapeLength*y}):b>=1?v.push({s:h.totalShapeLength*(b-1),e:h.totalShapeLength*(y-1)}):(v.push({s:h.totalShapeLength*b,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 g=s[a-1].addedLength;t.s<=h&&t.e>=h+g?(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)/g,(t.e-h)/g,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,g=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var b,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(g[0],g[1],g[2],g[3],g[4],g[5],g[6],g[7],g[8],g[9],g[10],g[11],g[12],g[13],g[14],g[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]),b=0;b<y;b+=1)r[b]=this.matrix.props[b];this.matrix.reset()}else for(this.matrix.reset(),b=0;b<y;b+=1)r[b]=this.matrix.props[b];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,g=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,g),g+=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,g),g+=1):(n.setTripleAt(a[0],a[1],i[0],i[1],o[0],o[1],g),g+=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],g),g+=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(),g="clipPath",b="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)&&(g="mask",b="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?(g="mask",b="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(g),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(b,"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 g=Math.atan2(d[1]-u[1],d[0]-u[0]),b=t.h.v;b>=1?b=.99:b<=-1&&(b=-.99);var y=l*b,E=Math.cos(g+t.a.v)*y+u[0],k=Math.sin(g+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=[],g=0,b=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,g=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||(g=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),g+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,g=0):(g+=E,g+=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)}g=-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(g),b=g>b?g:b,g=-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:(g+=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,b=g>b?g:b,v.push(g),e.sz)e.boxWidth=e.sz[0],e.justifyOffset=0;else switch(e.boxWidth=b,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 O,I,L,D,B=c.a;i=B.length;var V=[];for(o=0;o<i;o+=1){for((O=B[o]).a.sc&&(e.strokeColorAnim=!0),O.a.sw&&(e.strokeWidthAnim=!0),(O.a.fc||O.a.fh||O.a.fs||O.a.fb)&&(e.fillColorAnim=!0),D=0,L=O.s.b,t=0;t<r;t+=1)(I=u[t]).anIndexes[o]=D,(1==L&&""!==I.val||2==L&&""!==I.val&&" "!==I.val||3==L&&(I.n||" "==I.val||t==r-1)||4==L&&(I.n||t==r-1))&&(1===O.s.rn&&V.push(D),D+=1);c.a[o].s.totalChars=D;var N,z=-1;if(1===O.s.rn)for(t=0;t<r;t+=1)z!=(I=u[t]).anIndexes[o]&&(z=I.anIndexes[o],N=V.splice(Math.floor(Math.random()*V.length),1)[0]),I.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 g=.5-.5*v;c<g?c=0:(c=(c-g)/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,g,b,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,g=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),g+=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),g+=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,O,I,L,D=1.2*e.finalSize*.714,B=!0;O=w.length;var V,N,z,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<O;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="",$="",q="",te=this.defaultPropsArray;else{if(this._hasMaskedPath){if(J!==A[a].line){switch(e.j){case 1:l+=g-e.lineWidths[A[a].line];break;case 2:l+=(g-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<O;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+(g-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?(b=(l+le-c)/s.partialLength,N=m.point[0]+(s.point[0]-m.point[0])*b,z=m.point[1]+(s.point[1]-m.point[1])*b,_.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));V=A[a].an/2-A[a].add,_.translate(-V,0,0)}else V=A[a].an/2-A[a].add,_.translate(-V,0,0),_.translate(-k[0]*A[a].an*.005,-k[1]*D*.01,0);for(T=0;T<O;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<O;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<O;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<O;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(Z=0;Z<3;Z+=1)L.length?H[Z]+=(M.sc.v[Z]-H[Z])*L[0]:H[Z]+=(M.sc.v[Z]-H[Z])*L;if(e.fillColorAnim&&e.fc){if(M.fc.propType)for(Z=0;Z<3;Z+=1)L.length?W[Z]+=(M.fc.v[Z]-W[Z])*L[0]:W[Z]+=(M.fc.v[Z]-W[Z])*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<O;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&&($=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,z,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(V,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?(I=new LetterProps(q,$,U,G,ee,te),this.renderedLetters.push(I),C+=1,this.lettersChangedFlag=!0):(I=this.renderedLetters[a],this.lettersChangedFlag=I.update(q,$,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 g=createNS("g");i.appendChild(g),this.textSpans[e].childSpan=g}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 b;if(1===(f=this.globalData.fontManager.getCharData(r.finalText[e],n.fStyle,this.globalData.fontManager.getFontByName(r.f).fFamily)).t)b=new SVGCompElement(f.data,this.globalData,this);else{var y=emptyShapeData;f.data&&f.data.shapes&&(y=this.buildShapeData(f.data,r.finalSize)),b=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=b,b._debug=!0,b.prepareFrame(0),b.renderFrame(),this.textSpans[e].childSpan.appendChild(b.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,g=1;for(o=0;o<f;o+=1)t.g._hasOpacity&&t.g._collapsable&&(g=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]+","+g+")");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,g=this.mHelper;this.stroke=r,this.values.fValue=e.finalSize+"px "+this.globalData.fontManager.getFontByName(e.f).fFamily,a=e.finalText.length;var b=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||{},g.reset(),b&&v[n].n&&(E=-y,k+=e.yOffset,k+=w?1:0,w=!1),d=(c=i.shapes?i.shapes[0].it:[]).length,g.scale(e.finalSize/100,e.finalSize/100),b&&this.applyTextPropertiesToMatrix(e,g,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(g.applyToX(p.v[0][0],p.v[0][1],0),g.applyToY(p.v[0][0],p.v[0][1],0)),h.push(g.applyToX(p.o[l-1][0],p.o[l-1][1],0),g.applyToY(p.o[l-1][0],p.o[l-1][1],0),g.applyToX(p.i[l][0],p.i[l][1],0),g.applyToY(p.i[l][0],p.i[l][1],0),g.applyToX(p.v[l][0],p.v[l][1],0),g.applyToY(p.v[l][0],p.v[l][1],0));h.push(g.applyToX(p.o[l-1][0],p.o[l-1][1],0),g.applyToY(p.o[l-1][0],p.o[l-1][1],0),g.applyToX(p.i[0][0],p.i[0][1],0),g.applyToY(p.i[0][0],p.i[0][1],0),g.applyToX(p.v[0][0],p.v[0][1],0),g.applyToY(p.v[0][0],p.v[0][1],0)),m[_]=h,_+=1}b&&(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,g=this.globalData.fontManager.getCharData(e.finalText[n],o.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily);if(v=g?g.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 b=u.getBBox();u.setAttribute("width",b.width+2),u.setAttribute("height",b.height+2),u.setAttribute("viewBox",b.x-1+" "+(b.y-1)+" "+(b.width+2)+" "+(b.height+2));var y=u.style,E="translate("+(b.x-1)+"px,"+(b.y-1)+"px)";y.transform=E,y.webkitTransform=E,d[n].yOffset=b.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),g=new s(f),b=function(){for(var e=g.g(6),t=a,r=0;e<o;)e=(e+r)*n,t*=n,r=g.g(1);for(;e>=i;)e/=2,t/=2,r>>>=1;return(e+r)/t};return b.int32=function(){return 0|g.g(4)},b.quick=function(){return g.g(4)/4294967296},b.double=b,d(p(g.S),e),(m.pass||h||function(e,r,n,a){return a&&(a.S&&c(a,g),e.state=function(){return c(g,{})}),n?(t.random=e,r):e})(b,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},g=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]",g),m)},refresh:v,refreshHard:g}},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,g=t,h=e.apply(n,r)}function i(e){var r=e-v;return void 0===v||r>=t||r<0||w&&e-g>=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-g)):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 g=e,f=setTimeout(s,t),b?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,g=0,b=!1,w=!1,x=!0;if("function"!=typeof e)throw new TypeError(l);return t=o(t)||0,n(r)&&(b=!!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),g=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)&&b.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,g=f||v||Function("return this")(),b=Object.prototype.toString,y=Math.max,E=Math.min,k=function(){return g.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)&&g.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")(),g=Object.prototype.toString,b=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,g=t,h=e.apply(n,r)}function l(e){var r=e-v;return void 0===v||r>=t||r<0||w&&e-g>=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-g)):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 g=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,g=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)?b(a(n.maxWait)||0,t):m,x="trailing"in n?!!n.trailing:x),u.cancel=function(){void 0!==f&&clearTimeout(f),g=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}}))}}])},3532:(e,t,r)=>{"use strict";var n={};r.r(n),r.d(n,{name:()=>kH,settings:()=>wH});var a={};r.r(a),r.d(a,{name:()=>LH,settings:()=>DH});var o={};r.r(o),r.d(o,{name:()=>UH,settings:()=>GH});var i={};r.r(i),r.d(i,{name:()=>ej,settings:()=>tj});var l={};r.r(l),r.d(l,{name:()=>ij,settings:()=>lj});var s={};r.r(s),r.d(s,{name:()=>mj,settings:()=>hj});var c={};r.r(c),r.d(c,{name:()=>xj,settings:()=>_j});var u={};r.r(u),r.d(u,{name:()=>Cj,settings:()=>Aj});var d={};r.r(d),r.d(d,{name:()=>Oj,settings:()=>Ij});var p={};r.r(p),r.d(p,{name:()=>Bj,settings:()=>Vj});var m={};r.r(m),r.d(m,{name:()=>Fj,settings:()=>Hj});var h={};r.r(h),r.d(h,{name:()=>Uj,settings:()=>Gj});var f={};r.r(f),r.d(f,{name:()=>Xj,settings:()=>Qj});var v={};r.r(v),r.d(v,{name:()=>gW,settings:()=>bW});var g={};r.r(g),r.d(g,{name:()=>DW,settings:()=>BW});var b={};r.r(b),r.d(b,{name:()=>k$,settings:()=>w$});var y={};r.r(y),r.d(y,{name:()=>P$,settings:()=>C$});var E={};r.r(E),r.d(E,{name:()=>T$,settings:()=>O$});var k={};r.r(k),r.d(k,{name:()=>V$,settings:()=>N$});var w={};r.r(w),r.d(w,{name:()=>Z$,settings:()=>$$});var x={};r.r(x),r.d(x,{name:()=>K$,settings:()=>Y$});var _={};r.r(_),r.d(_,{name:()=>J$,settings:()=>eU});var P={};r.r(P),r.d(P,{name:()=>aU,settings:()=>oU});var C={};r.r(C),r.d(C,{name:()=>uU,settings:()=>dU});var A={};r.r(A),r.d(A,{name:()=>vU,settings:()=>gU});var S={};r.r(S),r.d(S,{name:()=>kU,settings:()=>wU});var R={};r.r(R),r.d(R,{name:()=>SU,settings:()=>RU});var M={};r.r(M),r.d(M,{name:()=>OU,settings:()=>IU});var T={};r.r(T),r.d(T,{name:()=>KK,settings:()=>YK});var O={};r.r(O),r.d(O,{name:()=>eY,settings:()=>tY});var I={};r.r(I),r.d(I,{name:()=>iY,settings:()=>lY});var L={};r.r(L),r.d(L,{name:()=>uY,settings:()=>dY});var D={};r.r(D),r.d(D,{name:()=>fY,settings:()=>vY});var B={};r.r(B),r.d(B,{name:()=>EY,settings:()=>kY});var V={};r.r(V),r.d(V,{name:()=>RY,settings:()=>MY});var N={};r.r(N),r.d(N,{name:()=>BY,settings:()=>VY});var z={};r.r(z),r.d(z,{name:()=>$Y,settings:()=>UY});var F={};r.r(F),r.d(F,{name:()=>YY,settings:()=>XY});var H={};r.r(H),r.d(H,{name:()=>oX,settings:()=>iX});var j={};r.r(j),r.d(j,{name:()=>mX,settings:()=>hX});var W={};r.r(W),r.d(W,{name:()=>vX,settings:()=>gX});const Z=window.wp.blocks,$=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"}];var ee=r(8061),te=r.n(ee),re=1/60*1e3,ne="undefined"!=typeof performance?function(){return performance.now()}:function(){return Date.now()},ae="undefined"!=typeof window?function(e){return window.requestAnimationFrame(e)}:function(e){return setTimeout((function(){return e(ne())}),re)},oe=!0,ie=!1,le=!1,se={delta:0,timestamp:0},ce=["read","update","preRender","render","postRender"],ue=ce.reduce((function(e,t){return e[t]=function(e){var t=[],r=[],n=0,a=!1,o=new WeakSet,i={schedule:function(e,i,l){void 0===i&&(i=!1),void 0===l&&(l=!1);var s=l&&a,c=s?t:r;return i&&o.add(e),-1===c.indexOf(e)&&(c.push(e),s&&a&&(n=t.length)),e},cancel:function(e){var t=r.indexOf(e);-1!==t&&r.splice(t,1),o.delete(e)},process:function(l){var s;if(a=!0,t=(s=[r,t])[0],(r=s[1]).length=0,n=t.length)for(var c=0;c<n;c++){var u=t[c];u(l),o.has(u)&&(i.schedule(u),e())}a=!1}};return i}((function(){return ie=!0})),e}),{}),de=ce.reduce((function(e,t){var r=ue[t];return e[t]=function(e,t,n){return void 0===t&&(t=!1),void 0===n&&(n=!1),ie||fe(),r.schedule(e,t,n)},e}),{}),pe=ce.reduce((function(e,t){return e[t]=ue[t].cancel,e}),{}),me=function(e){return ue[e].process(se)},he=function(e){ie=!1,se.delta=oe?re:Math.max(Math.min(e-se.timestamp,40),1),se.timestamp=e,le=!0,ce.forEach(me),le=!1,ie&&(oe=!1,ae(he))},fe=function(){ie=!0,oe=!0,le||ae(he)},ve=function(){return se};const ge=de;function be(e){return"number"==typeof e}function ye(e){return Array.isArray(e)}function Ee(e){return"function"==typeof e}function ke(e){var t=typeof e;return null!=e&&("object"===t||"function"===t)&&!ye(e)}function we(e){return null==e}function xe(e){return"[object String]"===Object.prototype.toString.call(e)}function _e(e){return/^var\(--.+\)$/.test(e)}function Pe(e,t){var r={};return Object.keys(e).forEach((function(n){t.includes(n)||(r[n]=e[n])})),r}function Ce(e,t){var r={};return t.forEach((function(t){t in e&&(r[t]=e[t])})),r}var Ae,Se,Re=(Ae=function(e,t,r,n){var 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},Se=new WeakMap,function(e,t,r,n){if(void 0===e)return Ae(e,t,r);Se.has(e)||Se.set(e,new Map);var a=Se.get(e);if(a.has(t))return a.get(t);var o=Ae(e,t,r,n);return a.set(t,o),o});function Me(e,t){var r={};return Object.keys(e).forEach((function(n){var a=e[n];t(a,n,e)&&(r[n]=a)})),r}var Te=function(e){return Me(e,(function(e){return null!=e}))},Oe=function(e){return Object.keys(e)},Ie=function(e){return e.reduce((function(e,t){var r=t[0],n=t[1];return e[r]=n,e}),{})};function Le(e){if(null==e)return e;var t=function(e){var t=parseFloat(e.toString()),r=e.toString().replace(String(t),"");return{unitless:!r,value:t,unit:r}}(e);return t.unitless||be(e)?e+"px":e}var De=function(e,t){return parseInt(e[1],10)>parseInt(t[1],10)?1:-1},Be=function(e){return Ie(Object.entries(e).sort(De))};function Ve(e){var t=Be(e);return Object.assign(Object.values(t),t)}function Ne(e,t){var r=["@media screen"];return e&&r.push("and","(min-width: "+Le(e)+")"),t&&r.push("and","(max-width: "+Le(t)+")"),r.join(" ")}function ze(e){var t;if(!e)return null;e.base=null!=(t=e.base)?t:"0px";var r=Ve(e),n=Object.entries(e).sort(De).map((function(e,t,r){var n,a=e[0],o=e[1],i=(null!=(n=r[t+1])?n:[])[1];return i=parseFloat(i)>0?function(e){var t;if(!e)return e;var r=(e=null!=(t=Le(e))?t:e).endsWith("px")?-1:-.0635;return be(e)?""+(e+r):e.replace(/([0-9]+\.?[0-9]*)/,(function(e){return""+(parseFloat(e)+r)}))}(i):void 0,{breakpoint:a,minW:o,maxW:i,maxWQuery:Ne(null,i),minWQuery:Ne(o),minMaxQuery:Ne(o,i)}})),a=function(e){var t=Object.keys(Be(e));return new Set(t)}(e),o=Array.from(a.values());return{keys:a,normalized:r,isResponsive:function(e){var t=Object.keys(e);return t.length>0&&t.every((function(e){return a.has(e)}))},asObject:Be(e),asArray:Ve(e),details:n,media:[null].concat(r.map((function(e){return Ne(e)})).slice(1)),toArrayValue:function(e){if(!ke(e))throw new Error("toArrayValue: value must be an object");for(var t=o.map((function(t){var r;return null!=(r=e[t])?r:null}));null===(n=void 0,(n=null==(r=t)?0:r.length)?r[n-1]:void 0);)t.pop();var r,n;return t},toObjectValue:function(e){if(!Array.isArray(e))throw new Error("toObjectValue: value must be an array");return e.reduce((function(e,t,r){var n=o[r];return null!=n&&null!=t&&(e[n]=t),e}),{})}}}function Fe(e){return null!=e&&"object"==typeof e&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function He(e){var t;return!!Fe(e)&&e instanceof(null!=(t=e.ownerDocument.defaultView)?t:window).HTMLElement}function je(e){var t,r;return Fe(e)&&null!=(t=null==(r=We(e))?void 0:r.defaultView)?t:window}function We(e){var t;return Fe(e)&&null!=(t=e.ownerDocument)?t:document}function Ze(e){var t;return null!=(t=e.view)?t:window}var $e=!("undefined"==typeof window||!window.document||!window.document.createElement),Ue=function(e){return e?"":void 0},Ge=function(e){return!!e||void 0},qe=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter(Boolean).join(" ")};function Ke(e){var t=e.key,r=e.keyCode;return r>=37&&r<=40&&0!==t.indexOf("Arrow")?"Arrow"+t:t}function Ye(e){return 0!==e.button}var Xe=function(e){return e.hasAttribute("tabindex")},Qe=function(e){return Xe(e)&&-1===e.tabIndex};function Je(e){return(He(e)?We(e):document).activeElement===e}function et(e){return!(!e.parentElement||!et(e.parentElement))||e.hidden}function tt(e){if(!He(e)||et(e)||function(e){return!0===Boolean(e.getAttribute("disabled"))||!0===Boolean(e.getAttribute("aria-disabled"))}(e))return!1;var t=e.localName;if(["input","select","textarea","button"].indexOf(t)>=0)return!0;var r={a:function(){return e.hasAttribute("href")},audio:function(){return e.hasAttribute("controls")},video:function(){return e.hasAttribute("controls")}};return t in r?r[t]():!!function(e){var t=e.getAttribute("contenteditable");return"false"!==t&&null!=t}(e)||Xe(e)}var rt=["input:not([disabled])","select:not([disabled])","textarea:not([disabled])","embed","iframe","object","a[href]","area[href]","button:not([disabled])","[tabindex]","audio[controls]","video[controls]","*[tabindex]:not([aria-disabled])","*[contenteditable]"].join();function nt(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 at(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return Ee(e)?e.apply(void 0,r):e}function ot(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){t.some((function(t){return null==t||t(e),null==e?void 0:e.defaultPrevented}))}}function it(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){t.forEach((function(t){null==t||t(e)}))}}function lt(e){var t;return function(){if(e){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];t=e.apply(this,n),e=null}return t}}var st=function(){},ct=lt((function(e){return function(){e.condition,e.message}})),ut=(lt((function(e){return function(){e.condition,e.message}})),function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){return t.reduce((function(e,t){return t(e)}),e)}}),dt=function(e,t){return Math.abs(e-t)},pt=function(e){return"x"in e&&"y"in e};function mt(e,t){void 0===t&&(t={});var r=t,n=r.isActive,a=void 0===n?Je:n,o=r.nextTick,i=r.preventScroll,l=void 0===i||i,s=r.selectTextIfInput,c=void 0===s||s;if(!e||a(e))return-1;function u(){if(e){if(function(){if(null==ht){ht=!1;try{document.createElement("div").focus({get preventScroll(){return ht=!0,!0}})}catch(e){}}return ht}())e.focus({preventScroll:l});else if(e.focus(),l){var t=function(e){for(var t,r=We(e),n=null!=(t=r.defaultView)?t:window,a=e.parentNode,o=[],i=r.scrollingElement||r.documentElement;a instanceof n.HTMLElement&&a!==i;)(a.offsetHeight<a.scrollHeight||a.offsetWidth<a.scrollWidth)&&o.push({element:a,scrollTop:a.scrollTop,scrollLeft:a.scrollLeft}),a=a.parentNode;return i instanceof n.HTMLElement&&o.push({element:i,scrollTop:i.scrollTop,scrollLeft:i.scrollLeft}),o}(e);!function(e){for(var t,r=function(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=function(e,t){if(e){if("string"==typeof e)return nt(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)?nt(e,t):void 0}}(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.")}(e);!(t=r()).done;){var n=t.value,a=n.element,o=n.scrollTop,i=n.scrollLeft;a.scrollTop=o,a.scrollLeft=i}}(t)}(function(e){return He(e)&&"input"===e.tagName.toLowerCase()&&"select"in e})(e)&&c&&e.select()}else ct({condition:!0,message:"[chakra-ui]: can't call focus() on `null` or `undefined` element"})}return o?requestAnimationFrame(u):(u(),-1)}var ht=null;function ft(e,t){return void 0===t&&(t=1/0),(ke(e)||Array.isArray(e))&&t?Object.entries(e).reduce((function(e,r){var n=r[0],a=r[1];return ke(a)||ye(a)?Object.entries(ft(a,t-1)).forEach((function(t){var r=t[0],a=t[1];e[n+"."+r]=a})):e[n]=a,e}),{}):e}function vt(e){var t=e.hasBeenSelected,r=e.isLazy,n=e.isSelected,a=e.lazyBehavior;return!r||!!n||!("keepMounted"!==(void 0===a?"unmount":a)||!t)}var gt=Number.MIN_SAFE_INTEGER||-9007199254740991,bt=Number.MAX_SAFE_INTEGER||9007199254740991;function yt(e,t){var r=function(e){var t=parseFloat(e);return function(e){return"number"!=typeof e||Number.isNaN(e)||!Number.isFinite(e)}(t)?0:t}(e),n=Math.pow(10,null!=t?t:10);return r=Math.round(r*n)/n,t?r.toFixed(t):r.toString()}function Et(e){if(!Number.isFinite(e))return 0;for(var t=1,r=0;Math.round(e*t)/t!==e;)t*=10,r+=1;return r}function kt(e,t,r){return 100*(e-t)/(r-t)}function wt(e,t,r){return(r-t)*e+t}function xt(e,t,r){return yt(Math.round((e-t)/r)*r+t,Et(r))}function _t(e,t,r){return null==e?e:(ct({condition:r<t,message:"clamp: max cannot be less than min"}),Math.min(Math.max(e,t),r))}function Pt(){return Pt=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},Pt.apply(this,arguments)}function Ct(e){return!!e.touches}var At={pageX:0,pageY:0};function St(e,t){void 0===t&&(t="page");var r=e.touches[0]||e.changedTouches[0]||At;return{x:r[t+"X"],y:r[t+"Y"]}}function Rt(e,t){return void 0===t&&(t="page"),{x:e[t+"X"],y:e[t+"Y"]}}function Mt(e,t){return void 0===t&&(t="page"),{point:Ct(e)?St(e,t):Rt(e,t)}}var Tt=function(e,t){void 0===t&&(t=!1);var r,n=function(t){return e(t,Mt(t))};return t?(r=n,function(e){var t=e instanceof Ze(e).MouseEvent;(!t||t&&0===e.button)&&r(e)}):n},Ot=function(){return $e&&null===window.onpointerdown},It=function(){return $e&&null===window.ontouchstart},Lt=function(){return $e&&null===window.onmousedown},Dt={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},Bt={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function Vt(e){return Ot()?e:It()?Bt[e]:Lt()?Dt[e]:e}function Nt(e,t,r,n){return function(e,t,r,n){return e.addEventListener(t,r,n),function(){e.removeEventListener(t,r,n)}}(e,Vt(t),Tt(r,"pointerdown"===t),n)}var zt=function(){function e(e,t,r){var n,a=this;if(this.history=[],this.startEvent=null,this.lastEvent=null,this.lastEventInfo=null,this.handlers={},this.removeListeners=st,this.threshold=3,this.win=void 0,this.updatePoint=function(){if(a.lastEvent&&a.lastEventInfo){var e=Wt(a.lastEventInfo,a.history),t=null!==a.startEvent,r=function(e,t){if(be(e)&&be(t))return dt(e,t);if(pt(e)&&pt(t)){var r=dt(e.x,t.x),n=dt(e.y,t.y);return Math.sqrt(Math.pow(r,2)+Math.pow(n,2))}return 0}(e.offset,{x:0,y:0})>=a.threshold;if(t||r){var n=ve().timestamp;a.history.push(Pt({},e.point,{timestamp:n}));var o=a.handlers,i=o.onStart,l=o.onMove;t||(null==i||i(a.lastEvent,e),a.startEvent=a.lastEvent),null==l||l(a.lastEvent,e)}}},this.onPointerMove=function(e,t){a.lastEvent=e,a.lastEventInfo=t,function(e){var t=Ze(e);return void 0!==t.PointerEvent&&e instanceof t.PointerEvent?!("mouse"!==e.pointerType):e instanceof t.MouseEvent}(e)&&0===e.buttons?a.onPointerUp(e,t):ge.update(a.updatePoint,!0)},this.onPointerUp=function(e,t){var r=Wt(t,a.history),n=a.handlers,o=n.onEnd,i=n.onSessionEnd;null==i||i(e,r),a.end(),o&&a.startEvent&&(null==o||o(e,r))},this.win=Ze(e),!(Ct(n=e)&&n.touches.length>1)){this.handlers=t,r&&(this.threshold=r),e.stopPropagation(),e.preventDefault();var o=Mt(e),i=ve().timestamp;this.history=[Pt({},o.point,{timestamp:i})];var l=t.onSessionStart;null==l||l(e,Wt(o,this.history)),this.removeListeners=ut(Nt(this.win,"pointermove",this.onPointerMove),Nt(this.win,"pointerup",this.onPointerUp),Nt(this.win,"pointercancel",this.onPointerUp))}}var t=e.prototype;return t.updateHandlers=function(e){this.handlers=e},t.end=function(){var e;null==(e=this.removeListeners)||e.call(this),pe.update(this.updatePoint)},e}();function Ft(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Ht(e){return e[0]}function jt(e){return e[e.length-1]}function Wt(e,t){return{point:e.point,delta:Ft(e.point,jt(t)),offset:Ft(e.point,Ht(t)),velocity:$t(t,.1)}}var Zt=function(e){return 1e3*e};function $t(e,t){if(e.length<2)return{x:0,y:0};for(var r=e.length-1,n=null,a=function(e){return e[e.length-1]}(e);r>=0&&(n=e[r],!(a.timestamp-n.timestamp>Zt(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}var Ut=Object.freeze(["base","sm","md","lg","xl","2xl"]);function Gt(e,t){return ye(e)?e.map((function(e){return null===e?null:t(e)})):ke(e)?Oe(e).reduce((function(r,n){return r[n]=t(e[n]),r}),{}):null!=e?t(e):null}function qt(e,t){void 0===t&&(t=Ut);var r={};return e.forEach((function(e,n){var a=t[n];null!=e&&(r[a]=e)})),r}var Kt=$e?U.useLayoutEffect:U.useEffect;function Yt(e,t){void 0===t&&(t=[]);var r=U.useRef(e);return Kt((function(){r.current=e})),U.useCallback((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return null==r.current?void 0:r.current.apply(r,t)}),t)}function Xt(e,t,r,n){var a=Yt(t);return U.useEffect((function(){var o,i=null!=(o=at(r))?o:document;if(t)return i.addEventListener(e,a,n),function(){i.removeEventListener(e,a,n)}}),[e,r,n,a,t]),function(){var t;(null!=(t=at(r))?t:document).removeEventListener(e,a,n)}}var Qt=r(9656),Jt=r.n(Qt),er=function(e){var t=e.top,r=e.right,n=e.bottom,a=e.left;return{top:t,right:r,bottom:n,left:a,width:r-a,height:n-t,x:a,y:t,center:{x:(r+a)/2,y:(n+t)/2}}},tr=function(e,t){return{top:e.top+t.top,left:e.left+t.left,bottom:e.bottom-t.bottom,right:e.right-t.right}},rr={top:0,right:0,bottom:0,left:0},nr=function(e){var t=e.slice(0,-2);if("px"!==e.slice(-2))return 0;var r=Number(t);return isNaN(r)&&function(e,t){throw new Error("Invariant failed")}(),r},ar=function(e){return t=e.getBoundingClientRect(),r=window.getComputedStyle(e),function(e){var t,r,n=e.borderBox,a=e.margin,o=void 0===a?rr:a,i=e.border,l=void 0===i?rr:i,s=e.padding,c=void 0===s?rr:s,u=er((r=o,{top:(t=n).top-r.top,left:t.left-r.left,bottom:t.bottom+r.bottom,right:t.right+r.right})),d=er(tr(n,l)),p=er(tr(d,c));return{marginBox:u,borderBox:er(n),paddingBox:d,contentBox:p,margin:o,border:l,padding:c}}({borderBox:t,margin:{top:nr(r.marginTop),right:nr(r.marginRight),bottom:nr(r.marginBottom),left:nr(r.marginLeft)},padding:{top:nr(r.paddingTop),right:nr(r.paddingRight),bottom:nr(r.paddingBottom),left:nr(r.paddingLeft)},border:{top:nr(r.borderTopWidth),right:nr(r.borderRightWidth),bottom:nr(r.borderBottomWidth),left:nr(r.borderLeftWidth)}});var t,r};function or(e){void 0===e&&(e=!1);var t=(0,U.useState)(e),r=t[0],n=t[1],a=(0,U.useMemo)((function(){return{on:function(){return n(!0)},off:function(){return n(!1)},toggle:function(){return n((function(e){return!e}))}}}),[]);return[r,a]}var ir=["timeout"];function lr(e,t){var r=void 0!==e;return[r,r&&void 0!==e?e:t]}function sr(e){var t=e.value,r=e.defaultValue,n=e.onChange,a=e.shouldUpdate,o=void 0===a?function(e,t){return e!==t}:a,i=Yt(n),l=Yt(o),s=U.useState(r),c=s[0],u=s[1],d=void 0!==t,p=d?t:c,m=U.useCallback((function(e){var t=at(e,p);l(p,t)&&(d||u(t),i(t))}),[d,i,p,l]);return[p,m]}function cr(){return cr=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},cr.apply(this,arguments)}var ur={current:1},dr=U.createContext(ur),pr=U.memo((function(e){var t=e.children;return U.createElement(dr.Provider,{value:{current:1}},t)})),mr=function(e){return e.current++};function hr(e,t){var r=U.useContext(dr),n=U.useState(r.current),a=n[0],o=n[1];return U.useEffect((function(){o(mr(r))}),[r]),U.useMemo((function(){return e||[t,a].filter(Boolean).join("-")}),[e,t,a])}function fr(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=hr(e);return U.useMemo((function(){return r.map((function(e){return e+"-"+a}))}),[a,r])}function vr(e){void 0===e&&(e={});var t=e,r=t.onClose,n=t.onOpen,a=t.isOpen,o=t.id,i=Yt(n),l=Yt(r),s=U.useState(e.defaultIsOpen||!1),c=s[0],u=s[1],d=lr(a,c),p=d[0],m=d[1],h=hr(o,"disclosure"),f=U.useCallback((function(){p||u(!1),null==l||l()}),[p,l]),v=U.useCallback((function(){p||u(!0),null==i||i()}),[p,i]),g=U.useCallback((function(){(m?f:v)()}),[m,v,f]);return{isOpen:!!m,onOpen:v,onClose:f,onToggle:g,isControlled:p,getButtonProps:function(e){return void 0===e&&(e={}),cr({},e,{"aria-expanded":"true","aria-controls":h,onClick:ot(e.onClick,g)})},getDisclosureProps:function(e){return void 0===e&&(e={}),cr({},e,{hidden:!m,id:h})}}}var gr=function(e,t){var r=U.useRef(!1);return U.useEffect((function(){if(r.current)return e();r.current=!0}),t),r.current};function br(e,t){var r=t.shouldFocus,n=t.visible,a=t.focusRef,o=r&&!n;gr((function(){if(o&&!function(e){var t=e.current;if(!t)return!1;var r,n=function(e){var t=We(e);return null==t?void 0:t.activeElement}(t);return!(!n||function(e,t){return!!e&&(e===t||e.contains(t))}(t,n)||(r=n,!(r&&He(r)&&tt(r))||Qe(r)))}(e)){var t=(null==a?void 0:a.current)||e.current;t&&mt(t,{nextTick:!0})}}),[o,e,a])}function yr(e,t){return void 0===t&&(t=[]),U.useEffect((function(){return function(){return e()}}),t)}function Er(){var e=U.useRef(!1),t=U.useState(0),r=t[0],n=t[1];return yr((function(){e.current=!0})),U.useCallback((function(){e.current||n(r+1)}),[r])}function kr(e){var t=U.useRef(null);return t.current=e,t}function wr(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return U.useMemo((function(){return t.every((function(e){return null==e}))?null:function(e){t.forEach((function(t){t&&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)}(t,e)}))}}),t)}function xr(e){var t=e.ref,r=e.handler,n=e.enabled,a=void 0===n||n,o=Yt(r),i=(0,U.useRef)({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}).current;(0,U.useEffect)((function(){if(a){var e=function(e){_r(e,t)&&(i.isPointerDown=!0)},n=function(e){i.ignoreEmulatedMouseEvents?i.ignoreEmulatedMouseEvents=!1:i.isPointerDown&&r&&_r(e,t)&&(i.isPointerDown=!1,o(e))},l=function(e){i.ignoreEmulatedMouseEvents=!0,r&&i.isPointerDown&&_r(e,t)&&(i.isPointerDown=!1,o(e))},s=We(t.current);return s.addEventListener("mousedown",e,!0),s.addEventListener("mouseup",n,!0),s.addEventListener("touchstart",e,!0),s.addEventListener("touchend",l,!0),function(){s.removeEventListener("mousedown",e,!0),s.removeEventListener("mouseup",n,!0),s.removeEventListener("touchstart",e,!0),s.removeEventListener("touchend",l,!0)}}}),[r,t,o,i,a])}function _r(e,t){var r,n=e.target;return!(e.button>0)&&(!(n&&!We(n).body.contains(n))&&!(null!=(r=t.current)&&r.contains(n)))}function Pr(e,t){var r=t.onPan,n=t.onPanStart,a=t.onPanEnd,o=t.onPanSessionStart,i=t.onPanSessionEnd,l=t.threshold,s=Boolean(r||n||a||o||i),c=(0,U.useRef)(null),u={onSessionStart:o,onSessionEnd:i,onStart:n,onMove:r,onEnd:function(e,t){c.current=null,null==a||a(e,t)}};(0,U.useEffect)((function(){var e;null==(e=c.current)||e.updateHandlers(u)})),function(e,t,r,n){Xt(Vt(t),Tt(r,"pointerdown"===t),e,n)}((function(){return e.current}),"pointerdown",s?function(e){c.current=new zt(e,u,l)}:st),yr((function(){var e;null==(e=c.current)||e.end(),c.current=null}))}var Cr={body:{classList:{add:function(){},remove:function(){}}},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}}},Ar=function(){},Sr={document:Cr,navigator:{userAgent:""},CustomEvent:function(){return this},addEventListener:Ar,removeEventListener:Ar,getComputedStyle:function(){return{getPropertyValue:function(){return""}}},matchMedia:function(){return{matches:!1,addListener:Ar,removeListener:Ar}},requestAnimationFrame:function(e){return"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0)},cancelAnimationFrame:function(e){"undefined"!=typeof setTimeout&&clearTimeout(e)},setTimeout:function(){return 0},clearTimeout:Ar,setInterval:function(){return 0},clearInterval:Ar},Rr=$e?{window,document}:{window:Sr,document:Cr},Mr=(0,U.createContext)(Rr);function Tr(){return(0,U.useContext)(Mr)}function Or(e){var t=e.children,r=e.environment,n=(0,U.useState)(null),a=n[0],o=n[1],i=(0,U.useMemo)((function(){var e,t=null==a?void 0:a.ownerDocument,n=null==a?void 0:a.ownerDocument.defaultView;return null!=(e=null!=r?r:t?{document:t,window:n}:void 0)?e:Rr}),[a,r]),l=!a&&!r;return G().createElement(Mr.Provider,{value:i},t,l&&G().createElement("span",{ref:function(e){e&&o(e)}}))}var Ir="chakra-ui-light",Lr="chakra-ui-dark",Dr={classList:{add:st,remove:st}},Br={light:"(prefers-color-scheme: light)",dark:"(prefers-color-scheme: dark)"};var Vr=function(){return document.documentElement.style.getPropertyValue("--chakra-ui-color-mode")||document.documentElement.dataset.theme},Nr=function(e){$e&&(document.documentElement.style.setProperty("--chakra-ui-color-mode",e),document.documentElement.setAttribute("data-theme",e))},zr=function(){return"undefined"!=typeof Storage},Fr="chakra-ui-color-mode",Hr={get:function(e){if(!zr())return e;try{var t=localStorage.getItem(Fr);return null!=t?t:e}catch(t){return e}},set:function(e){if(zr())try{localStorage.setItem(Fr,e)}catch(e){}},type:"localStorage"},jr=U.createContext({}),Wr=function(){var e=U.useContext(jr);if(void 0===e)throw new Error("useColorMode must be used within a ColorModeProvider");return e};function Zr(e){var t=e.value,r=e.children,n=e.options,a=n.useSystemColorMode,o=n.initialColorMode,i=e.colorModeManager,l=void 0===i?Hr:i,s="dark"===o?"dark":"light",c=U.useState("cookie"===l.type?l.get(s):s),u=c[0],d=c[1],p=Tr().document;U.useEffect((function(){if($e&&"localStorage"===l.type){var e=(n=s,c=null!=(i=function(e){var t=null==window.matchMedia?void 0:window.matchMedia(e);if(t)return!!t.media===t.matches}(Br.dark))?i:"dark"===n,c?"dark":"light");if(a)return d(e);var t=Vr(),r=l.get();return d(t||(r||("system"===o?e:s)))}var n,i,c}),[l,a,s,o]),U.useEffect((function(){var e="dark"===u;!function(e,t){var r=function(e){return $e?e.body:Dr}(t);r.classList.add(e?Lr:Ir),r.classList.remove(e?Ir:Lr)}(e,p),Nr(e?"dark":"light")}),[u,p]);var m=U.useCallback((function(e,t){if(void 0===t&&(t=!1),t){if(l.get()&&!a)return}else l.set(e);d(e)}),[l,a]),h=U.useCallback((function(){m("light"===u?"dark":"light")}),[u,m]);U.useEffect((function(){var e,t=a||"system"===o;return t&&(e=function(e){if(!("matchMedia"in window))return st;var t=window.matchMedia(Br.dark),r=function(){e(t.matches?"dark":"light",!0)};return t.addEventListener("change",r),function(){t.removeEventListener("change",r)}}(m)),function(){e&&t&&e()}}),[m,a,o]);var f=U.useMemo((function(){return{colorMode:null!=t?t:u,toggleColorMode:t?st:h,setColorMode:t?st:m}}),[u,m,h,t]);return U.createElement(jr.Provider,{value:f},r)}function $r(){return $r=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},$r.apply(this,arguments)}var Ur=function(e,t){return function(r){var n=String(t),a=e?e+"."+n:n;return ke(r.__cssMap)&&a in r.__cssMap?r.__cssMap[a].varRef:t}};function Gr(e){var t=e.scale,r=e.transform,n=e.compose;return function(e,a){var o,i=Ur(t,e)(a),l=null!=(o=null==r?void 0:r(i,a))?o:i;return n&&(l=n(l,a)),l}}function qr(e,t){return function(r){var n={property:r,scale:e};return n.transform=Gr({scale:e,transform:t}),n}}var Kr,Yr,Xr=function(e){var t=e.rtl,r=e.ltr;return function(e){return"rtl"===e.direction?t:r}},Qr=["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))"],Jr={"--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(" ")},en={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,/*!*/ /*!*/)"},tn={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},rn="& > :not(style) ~ :not(style)",nn=((Kr={})[rn]={marginInlineStart:"calc(var(--chakra-space-x) * calc(1 - var(--chakra-space-x-reverse)))",marginInlineEnd:"calc(var(--chakra-space-x) * var(--chakra-space-x-reverse))"},Kr),an=((Yr={})[rn]={marginTop:"calc(var(--chakra-space-y) * calc(1 - var(--chakra-space-y-reverse)))",marginBottom:"calc(var(--chakra-space-y) * var(--chakra-space-y-reverse))"},Yr);function on(e,t){return on=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},on(e,t)}function ln(){ln=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)),on(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 function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&on(e,t)}(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)},ln.apply(this,arguments)}var sn={"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"},cn=new Set(Object.values(sn)),un=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),dn=function(e){return e.trim()},pn=function(e){return xe(e)&&e.includes("(")&&e.includes(")")},mn=function(e){return function(t){return e+"("+t+")"}},hn={filter:function(e){return"auto"!==e?e:Jr},backdropFilter:function(e){return"auto"!==e?e:en},ring:function(e){return 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(", ")}}(hn.px(e))},bgClip:function(e){return"text"===e?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e}},transform:function(e){return"auto"===e?["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))"].concat(Qr).join(" "):"auto-gpu"===e?["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)"].concat(Qr).join(" "):e},px:function(e){if(null==e)return e;var t=function(e){var t=parseFloat(e.toString()),r=e.toString().replace(String(t),"");return{unitless:!r,value:t,unit:r}}(e);return t.unitless||be(e)?e+"px":e},fraction:function(e){return!be(e)||e>1?e:100*e+"%"},float:function(e,t){return"rtl"===t.direction?{left:"right",right:"left"}[e]:e},degree:function(e){if(_e(e)||null==e)return e;var t=xe(e)&&!e.endsWith("deg");return be(e)||t?e+"deg":e},gradient:function(e,t){return function(e,t){var r,n;if(null==e||un.has(e))return e;var a=null!=(r=null==(n=ln(/(^[\x2DA-Za-z]+)\(((.*))\)/g,{type:1,values:2}).exec(e))?void 0:n.groups)?r:{},o=a.type,i=a.values;if(!o||!i)return e;var l=o.includes("-gradient")?o:o+"-gradient",s=i.split(",").map(dn).filter(Boolean),c=s[0],u=s.slice(1);if(0===(null==u?void 0:u.length))return e;var d=c in sn?sn[c]:c;u.unshift(d);var p=u.map((function(e){if(cn.has(e))return e;var r=e.indexOf(" "),n=-1!==r?[e.substr(0,r),e.substr(r+1)]:[e],a=n[0],o=n[1],i=pn(o)?o:o&&o.split(" "),l="colors."+a,s=l in t.__cssMap?t.__cssMap[l].varRef:a;return i?[s].concat(Array.isArray(i)?i:[i]).join(" "):s}));return l+"("+p.join(", ")+")"}(e,null!=t?t:{})},blur:mn("blur"),opacity:mn("opacity"),brightness:mn("brightness"),contrast:mn("contrast"),dropShadow:mn("drop-shadow"),grayscale:mn("grayscale"),hueRotate:mn("hue-rotate"),invert:mn("invert"),saturate:mn("saturate"),sepia:mn("sepia"),bgImage:function(e){return null==e||pn(e)||un.has(e)?e:"url("+e+")"},outline:function(e){var t="0"===String(e)||"none"===String(e);return null!==e&&t?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:e}},flexDirection:function(e){var t,r=null!=(t=tn[e])?t:{},n=r.space,a=r.divide,o={flexDirection:e};return n&&(o[n]=1),a&&(o[a]=1),o}},fn={borderWidths:qr("borderWidths"),borderStyles:qr("borderStyles"),colors:qr("colors"),borders:qr("borders"),radii:qr("radii",hn.px),space:qr("space",hn.px),spaceT:qr("space",hn.px),degreeT:function(e){return{property:e,transform:hn.degree}},prop:function(e,t,r){return $r({property:e,scale:t},t&&{transform:Gr({scale:t,transform:r})})},propT:function(e,t){return{property:e,transform:t}},sizes:qr("sizes",hn.px),sizesT:qr("sizes",hn.fraction),shadows:qr("shadows"),logical:function(e){var t=e.property,r=e.scale,n=e.transform;return{scale:r,property:Xr(t),transform:r?Gr({scale:r,compose:n}):n}},blur:qr("blur",hn.blur)},vn={background:fn.colors("background"),backgroundColor:fn.colors("backgroundColor"),backgroundImage:fn.propT("backgroundImage",hn.bgImage),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:hn.bgClip},bgSize:fn.prop("backgroundSize"),bgPosition:fn.prop("backgroundPosition"),bg:fn.colors("background"),bgColor:fn.colors("backgroundColor"),bgPos:fn.prop("backgroundPosition"),bgRepeat:fn.prop("backgroundRepeat"),bgAttachment:fn.prop("backgroundAttachment"),bgGradient:fn.propT("backgroundImage",hn.gradient),bgClip:{transform:hn.bgClip}};Object.assign(vn,{bgImage:vn.backgroundImage,bgImg:vn.backgroundImage});var gn={border:fn.borders("border"),borderWidth:fn.borderWidths("borderWidth"),borderStyle:fn.borderStyles("borderStyle"),borderColor:fn.colors("borderColor"),borderRadius:fn.radii("borderRadius"),borderTop:fn.borders("borderTop"),borderBlockStart:fn.borders("borderBlockStart"),borderTopLeftRadius:fn.radii("borderTopLeftRadius"),borderStartStartRadius:fn.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:fn.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:fn.radii("borderTopRightRadius"),borderStartEndRadius:fn.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:fn.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:fn.borders("borderRight"),borderInlineEnd:fn.borders("borderInlineEnd"),borderBottom:fn.borders("borderBottom"),borderBlockEnd:fn.borders("borderBlockEnd"),borderBottomLeftRadius:fn.radii("borderBottomLeftRadius"),borderBottomRightRadius:fn.radii("borderBottomRightRadius"),borderLeft:fn.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:fn.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:fn.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:fn.borders(["borderLeft","borderRight"]),borderInline:fn.borders("borderInline"),borderY:fn.borders(["borderTop","borderBottom"]),borderBlock:fn.borders("borderBlock"),borderTopWidth:fn.borderWidths("borderTopWidth"),borderBlockStartWidth:fn.borderWidths("borderBlockStartWidth"),borderTopColor:fn.colors("borderTopColor"),borderBlockStartColor:fn.colors("borderBlockStartColor"),borderTopStyle:fn.borderStyles("borderTopStyle"),borderBlockStartStyle:fn.borderStyles("borderBlockStartStyle"),borderBottomWidth:fn.borderWidths("borderBottomWidth"),borderBlockEndWidth:fn.borderWidths("borderBlockEndWidth"),borderBottomColor:fn.colors("borderBottomColor"),borderBlockEndColor:fn.colors("borderBlockEndColor"),borderBottomStyle:fn.borderStyles("borderBottomStyle"),borderBlockEndStyle:fn.borderStyles("borderBlockEndStyle"),borderLeftWidth:fn.borderWidths("borderLeftWidth"),borderInlineStartWidth:fn.borderWidths("borderInlineStartWidth"),borderLeftColor:fn.colors("borderLeftColor"),borderInlineStartColor:fn.colors("borderInlineStartColor"),borderLeftStyle:fn.borderStyles("borderLeftStyle"),borderInlineStartStyle:fn.borderStyles("borderInlineStartStyle"),borderRightWidth:fn.borderWidths("borderRightWidth"),borderInlineEndWidth:fn.borderWidths("borderInlineEndWidth"),borderRightColor:fn.colors("borderRightColor"),borderInlineEndColor:fn.colors("borderInlineEndColor"),borderRightStyle:fn.borderStyles("borderRightStyle"),borderInlineEndStyle:fn.borderStyles("borderInlineEndStyle"),borderTopRadius:fn.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:fn.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:fn.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:fn.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(gn,{rounded:gn.borderRadius,roundedTop:gn.borderTopRadius,roundedTopLeft:gn.borderTopLeftRadius,roundedTopRight:gn.borderTopRightRadius,roundedTopStart:gn.borderStartStartRadius,roundedTopEnd:gn.borderStartEndRadius,roundedBottom:gn.borderBottomRadius,roundedBottomLeft:gn.borderBottomLeftRadius,roundedBottomRight:gn.borderBottomRightRadius,roundedBottomStart:gn.borderEndStartRadius,roundedBottomEnd:gn.borderEndEndRadius,roundedLeft:gn.borderLeftRadius,roundedRight:gn.borderRightRadius,roundedStart:gn.borderInlineStartRadius,roundedEnd:gn.borderInlineEndRadius,borderStart:gn.borderInlineStart,borderEnd:gn.borderInlineEnd,borderTopStartRadius:gn.borderStartStartRadius,borderTopEndRadius:gn.borderStartEndRadius,borderBottomStartRadius:gn.borderEndStartRadius,borderBottomEndRadius:gn.borderEndEndRadius,borderStartRadius:gn.borderInlineStartRadius,borderEndRadius:gn.borderInlineEndRadius,borderStartWidth:gn.borderInlineStartWidth,borderEndWidth:gn.borderInlineEndWidth,borderStartColor:gn.borderInlineStartColor,borderEndColor:gn.borderInlineEndColor,borderStartStyle:gn.borderInlineStartStyle,borderEndStyle:gn.borderInlineEndStyle});var bn={color:fn.colors("color"),textColor:fn.colors("color"),fill:fn.colors("fill"),stroke:fn.colors("stroke")},yn={boxShadow:fn.shadows("boxShadow"),mixBlendMode:!0,blendMode:fn.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:fn.prop("backgroundBlendMode"),opacity:!0};Object.assign(yn,{shadow:yn.boxShadow});var En={filter:{transform:hn.filter},blur:fn.blur("--chakra-blur"),brightness:fn.propT("--chakra-brightness",hn.brightness),contrast:fn.propT("--chakra-contrast",hn.contrast),hueRotate:fn.degreeT("--chakra-hue-rotate"),invert:fn.propT("--chakra-invert",hn.invert),saturate:fn.propT("--chakra-saturate",hn.saturate),dropShadow:fn.propT("--chakra-drop-shadow",hn.dropShadow),backdropFilter:{transform:hn.backdropFilter},backdropBlur:fn.blur("--chakra-backdrop-blur"),backdropBrightness:fn.propT("--chakra-backdrop-brightness",hn.brightness),backdropContrast:fn.propT("--chakra-backdrop-contrast",hn.contrast),backdropHueRotate:fn.degreeT("--chakra-backdrop-hue-rotate"),backdropInvert:fn.propT("--chakra-backdrop-invert",hn.invert),backdropSaturate:fn.propT("--chakra-backdrop-saturate",hn.saturate)},kn={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:hn.flexDirection},experimental_spaceX:{static:nn,transform:Gr({scale:"space",transform:function(e){return null!==e?{"--chakra-space-x":e}:null}})},experimental_spaceY:{static:an,transform:Gr({scale:"space",transform:function(e){return null!=e?{"--chakra-space-y":e}:null}})},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:fn.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:fn.space("gap"),rowGap:fn.space("rowGap"),columnGap:fn.space("columnGap")};Object.assign(kn,{flexDir:kn.flexDirection});var wn={gridGap:fn.space("gridGap"),gridColumnGap:fn.space("gridColumnGap"),gridRowGap:fn.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},xn={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:hn.outline},outlineOffset:!0,outlineColor:fn.colors("outlineColor")},_n={width:fn.sizesT("width"),inlineSize:fn.sizesT("inlineSize"),height:fn.sizes("height"),blockSize:fn.sizes("blockSize"),boxSize:fn.sizes(["width","height"]),minWidth:fn.sizes("minWidth"),minInlineSize:fn.sizes("minInlineSize"),minHeight:fn.sizes("minHeight"),minBlockSize:fn.sizes("minBlockSize"),maxWidth:fn.sizes("maxWidth"),maxInlineSize:fn.sizes("maxInlineSize"),maxHeight:fn.sizes("maxHeight"),maxBlockSize:fn.sizes("maxBlockSize"),d:fn.prop("display"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:fn.propT("float",hn.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(_n,{w:_n.width,h:_n.height,minW:_n.minWidth,maxW:_n.maxWidth,minH:_n.minHeight,maxH:_n.maxHeight,overscroll:_n.overscrollBehavior,overscrollX:_n.overscrollBehaviorX,overscrollY:_n.overscrollBehaviorY});var Pn={listStyleType:!0,listStylePosition:!0,listStylePos:fn.prop("listStylePosition"),listStyleImage:!0,listStyleImg:fn.prop("listStyleImage")},Cn={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},An={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},Sn=function(e,t,r){var n={},a=Re(e,t,{});for(var o in a)o in r&&null!=r[o]||(n[o]=a[o]);return n},Rn={srOnly:{transform:function(e){return!0===e?Cn:"focusable"===e?An:{}}},layerStyle:{processResult:!0,transform:function(e,t,r){return Sn(t,"layerStyles."+e,r)}},textStyle:{processResult:!0,transform:function(e,t,r){return Sn(t,"textStyles."+e,r)}},apply:{processResult:!0,transform:function(e,t,r){return Sn(t,e,r)}}},Mn={position:!0,pos:fn.prop("position"),zIndex:fn.prop("zIndex","zIndices"),inset:fn.spaceT("inset"),insetX:fn.spaceT(["left","right"]),insetInline:fn.spaceT("insetInline"),insetY:fn.spaceT(["top","bottom"]),insetBlock:fn.spaceT("insetBlock"),top:fn.spaceT("top"),insetBlockStart:fn.spaceT("insetBlockStart"),bottom:fn.spaceT("bottom"),insetBlockEnd:fn.spaceT("insetBlockEnd"),left:fn.spaceT("left"),insetInlineStart:fn.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:fn.spaceT("right"),insetInlineEnd:fn.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(Mn,{insetStart:Mn.insetInlineStart,insetEnd:Mn.insetInlineEnd});var Tn={ring:{transform:hn.ring},ringColor:fn.colors("--chakra-ring-color"),ringOffset:fn.prop("--chakra-ring-offset-width"),ringOffsetColor:fn.colors("--chakra-ring-offset-color"),ringInset:fn.prop("--chakra-ring-inset")},On={margin:fn.spaceT("margin"),marginTop:fn.spaceT("marginTop"),marginBlockStart:fn.spaceT("marginBlockStart"),marginRight:fn.spaceT("marginRight"),marginInlineEnd:fn.spaceT("marginInlineEnd"),marginBottom:fn.spaceT("marginBottom"),marginBlockEnd:fn.spaceT("marginBlockEnd"),marginLeft:fn.spaceT("marginLeft"),marginInlineStart:fn.spaceT("marginInlineStart"),marginX:fn.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:fn.spaceT("marginInline"),marginY:fn.spaceT(["marginTop","marginBottom"]),marginBlock:fn.spaceT("marginBlock"),padding:fn.space("padding"),paddingTop:fn.space("paddingTop"),paddingBlockStart:fn.space("paddingBlockStart"),paddingRight:fn.space("paddingRight"),paddingBottom:fn.space("paddingBottom"),paddingBlockEnd:fn.space("paddingBlockEnd"),paddingLeft:fn.space("paddingLeft"),paddingInlineStart:fn.space("paddingInlineStart"),paddingInlineEnd:fn.space("paddingInlineEnd"),paddingX:fn.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:fn.space("paddingInline"),paddingY:fn.space(["paddingTop","paddingBottom"]),paddingBlock:fn.space("paddingBlock")};Object.assign(On,{m:On.margin,mt:On.marginTop,mr:On.marginRight,me:On.marginInlineEnd,marginEnd:On.marginInlineEnd,mb:On.marginBottom,ml:On.marginLeft,ms:On.marginInlineStart,marginStart:On.marginInlineStart,mx:On.marginX,my:On.marginY,p:On.padding,pt:On.paddingTop,py:On.paddingY,px:On.paddingX,pb:On.paddingBottom,pl:On.paddingLeft,ps:On.paddingInlineStart,paddingStart:On.paddingInlineStart,pr:On.paddingRight,pe:On.paddingInlineEnd,paddingEnd:On.paddingInlineEnd});var In={textDecorationColor:fn.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:fn.shadows("textShadow")},Ln={clipPath:!0,transform:fn.propT("transform",hn.transform),transformOrigin:!0,translateX:fn.spaceT("--chakra-translate-x"),translateY:fn.spaceT("--chakra-translate-y"),skewX:fn.degreeT("--chakra-skew-x"),skewY:fn.degreeT("--chakra-skew-y"),scaleX:fn.prop("--chakra-scale-x"),scaleY:fn.prop("--chakra-scale-y"),scale:fn.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:fn.degreeT("--chakra-rotate")},Dn={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:fn.prop("transitionDuration","transition.duration"),transitionProperty:fn.prop("transitionProperty","transition.property"),transitionTimingFunction:fn.prop("transitionTimingFunction","transition.easing")},Bn={fontFamily:fn.prop("fontFamily","fonts"),fontSize:fn.prop("fontSize","fontSizes",hn.px),fontWeight:fn.prop("fontWeight","fontWeights"),lineHeight:fn.prop("lineHeight","lineHeights"),letterSpacing:fn.prop("letterSpacing","letterSpacings"),textAlign:!0,fontStyle:!0,wordBreak:!0,overflowWrap:!0,textOverflow:!0,textTransform:!0,whiteSpace:!0,noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"},property:"--chakra-line-clamp"},isTruncated:{transform:function(e){if(!0===e)return{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}}},Vn={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:fn.spaceT("scrollMargin"),scrollMarginTop:fn.spaceT("scrollMarginTop"),scrollMarginBottom:fn.spaceT("scrollMarginBottom"),scrollMarginLeft:fn.spaceT("scrollMarginLeft"),scrollMarginRight:fn.spaceT("scrollMarginRight"),scrollMarginX:fn.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:fn.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:fn.spaceT("scrollPadding"),scrollPaddingTop:fn.spaceT("scrollPaddingTop"),scrollPaddingBottom:fn.spaceT("scrollPaddingBottom"),scrollPaddingLeft:fn.spaceT("scrollPaddingLeft"),scrollPaddingRight:fn.spaceT("scrollPaddingRight"),scrollPaddingX:fn.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:fn.spaceT(["scrollPaddingTop","scrollPaddingBottom"])};function Nn(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 zn(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=function(e,t){if(e){if("string"==typeof e)return Nn(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)?Nn(e,t):void 0}}(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.")}var Fn=function(e,t){return e+":hover "+t+", "+e+"[data-hover] "+t},Hn=function(e,t){return e+":focus "+t+", "+e+"[data-focus] "+t},jn=function(e,t){return e+":focus-visible "+t},Wn=function(e,t){return e+":focus-within "+t},Zn=function(e,t){return e+":active "+t+", "+e+"[data-active] "+t},$n=function(e,t){return e+":disabled "+t+", "+e+"[data-disabled] "+t},Un=function(e,t){return e+":invalid "+t+", "+e+"[data-invalid] "+t},Gn=function(e,t){return e+":checked "+t+", "+e+"[data-checked] "+t},qn=function(e){return Yn((function(t){return e(t,"&")}),"[role=group]","[data-group]",".group")},Kn=function(e){return Yn((function(t){return e(t,"~ &")}),"[data-peer]",".peer")},Yn=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];return r.map(e).join(", ")},Xn={_hover:"&:hover, &[data-hover]",_active:"&:active, &[data-active]",_focus:"&:focus, &[data-focus]",_highlighted:"&[data-highlighted]",_focusWithin:"&:focus-within",_focusVisible:"&:focus-visible",_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",_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:qn(Fn),_peerHover:Kn(Fn),_groupFocus:qn(Hn),_peerFocus:Kn(Hn),_groupFocusVisible:qn(jn),_peerFocusVisible:Kn(jn),_groupActive:qn(Zn),_peerActive:Kn(Zn),_groupDisabled:qn($n),_peerDisabled:Kn($n),_groupInvalid:qn(Un),_peerInvalid:Kn(Un),_groupChecked:qn(Gn),_peerChecked:Kn(Gn),_groupFocusWithin:qn(Wn),_peerFocusWithin:Kn(Wn),_peerPlaceholderShown:Kn((function(e,t){return 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]"},Qn=Oe(Xn),Jn=te()({},vn,gn,bn,kn,_n,En,Tn,xn,wn,Rn,Mn,yn,On,Vn,Bn,In,Ln,Pn,Dn),ea=Object.assign({},On,_n,kn,wn,Mn),ta=Oe(ea),ra=[].concat(Oe(Jn),Qn),na=$r({},Jn,Xn),aa=function(e){return e in na},oa=function(e,t){return e.startsWith("--")&&xe(t)&&!_e(t)},ia=function(e,t){var r,n;if(null==t)return t;var a=function(t){var r,n;return null==(r=e.__cssMap)||null==(n=r[t])?void 0:n.varRef},o=function(e){var t;return null!=(t=a(e))?t:e},i=t.split(",").map((function(e){return e.trim()})),l=i[0],s=i[1];return null!=(r=null!=(n=a(l))?n:o(s))?r:o(t)};var la=function(e){return function(t){return function(e){var t=e.configs,r=void 0===t?{}:t,n=e.pseudos,a=void 0===n?{}:n,o=e.theme;return function e(t,n){void 0===n&&(n=!1);var i=at(t,o),l=function(e){return function(t){if(!t.__breakpoints)return e;var r=t.__breakpoints,n=r.isResponsive,a=r.toArrayValue,o=r.media,i={};for(var l in e){var s=at(e[l],t);if(null!=s)if(s=ke(s)&&n(s)?a(s):s,Array.isArray(s))for(var c=s.slice(0,o.length).length,u=0;u<c;u+=1){var d=null==o?void 0:o[u];d?(i[d]=i[d]||{},null!=s[u]&&(i[d][l]=s[u])):i[l]=s[u]}else i[l]=s}return i}}(i)(o),s={};for(var c in l){var u,d,p,m,h,f=at(l[c],o);c in a&&(c=a[c]),oa(c,f)&&(f=ia(o,f));var v=r[c];if(!0===v&&(v={property:c}),ke(f)){var g;s[c]=null!=(g=s[c])?g:{},s[c]=te()({},s[c],e(f,!0))}else{var b=null!=(u=null==(d=v)||null==d.transform?void 0:d.transform(f,o,i))?u:f;b=null!=(p=v)&&p.processResult?e(b,!0):b;var y=at(null==(m=v)?void 0:m.property,o);if(!n&&null!=(h=v)&&h.static){var E=at(v.static,o);s=te()({},s,E)}if(y&&Array.isArray(y))for(var k,w=zn(y);!(k=w()).done;)s[k.value]=b;else y?"&"===y&&ke(b)?s=te()({},s,b):s[y]=b:ke(b)?s=te()({},s,b):s[c]=b}}return s}}({theme:t,pseudos:Xn,configs:Jn})(e)}};function sa(e){return ke(e)&&e.reference?e.reference:String(e)}var ca=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];return r.map(sa).join(" "+e+" ").replace(/calc/g,"")},ua=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return"calc("+ca.apply(void 0,["+"].concat(t))+")"},da=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return"calc("+ca.apply(void 0,["-"].concat(t))+")"},pa=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return"calc("+ca.apply(void 0,["*"].concat(t))+")"},ma=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return"calc("+ca.apply(void 0,["/"].concat(t))+")"},ha=function(e){var t=sa(e);return null==t||Number.isNaN(parseFloat(t))?pa(t,-1):String(t).startsWith("-")?String(t).slice(1):"-"+t},fa=Object.assign((function(e){return{add:function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return fa(ua.apply(void 0,[e].concat(r)))},subtract:function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return fa(da.apply(void 0,[e].concat(r)))},multiply:function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return fa(pa.apply(void 0,[e].concat(r)))},divide:function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return fa(ma.apply(void 0,[e].concat(r)))},negate:function(){return fa(ha(e))},toString:function(){return e.toString()}}}),{add:ua,subtract:da,multiply:pa,divide:ma,negate:ha});function va(e){var t=function(e,t){return void 0===t&&(t="-"),e.replace(/\s+/g,t)}(e.toString());return t.includes("\\.")||Number.isInteger(parseFloat(e.toString()))?e:t.replace(".","\\.")}function ga(e,t){return"var("+va(e)+(t?", "+t:"")+")"}function ba(e,t){return void 0===t&&(t=""),"--"+function(e,t){return void 0===t&&(t=""),[t,va(e)].filter(Boolean).join("-")}(e,t)}function ya(e,t){return{variable:r=ba(String(e).replace(/\./g,"-"),t),reference:ga(r,undefined)};var r}var Ea=["__cssMap","__cssVars","__breakpoints"],ka=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur"];function wa(e){return Ce(e,ka)}function xa(e){var t,r=function(e){e.__cssMap,e.__cssVars,e.__breakpoints;var t=function(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}(e,Ea);return t}(e),n=wa(r),a=function(e){return e.semanticTokens}(r),o=function(e){var t,r,n=e.tokens,a=e.semanticTokens,o=Object.entries(null!=(t=ft(n))?t:{}).map((function(e){return[e[0],{isSemantic:!1,value:e[1]}]})),i=Object.entries(null!=(r=ft(a,1))?r:{}).map((function(e){return[e[0],{isSemantic:!0,value:e[1]}]}));return Ie([].concat(o,i))}({tokens:n,semanticTokens:a}),i=function(e,t){for(var r={},n={},a=function(){var a=i[o],l=a[0],s=a[1],c=s.isSemantic,u=s.value,d=ya(l,null==t?void 0:t.cssVarPrefix),p=d.variable,m=d.reference;if(!c){if(l.startsWith("space")){var h=l.split("."),f=h[0]+".-"+h.slice(1).join("."),v=fa.negate(u),g=fa.negate(m);n[f]={value:v,var:p,varRef:g}}return r[p]=u,n[l]={value:u,var:p,varRef:m},"continue"}var b=ke(u)?u:{default:u};r=te()(r,Object.entries(b).reduce((function(r,n){var a,o,i,s,c=n[0],u=(i=n[1],s=[String(l).split(".")[0],i].join("."),e[s]?ya(s,null==t?void 0:t.cssVarPrefix).reference:i);return"default"===c?(r[p]=u,r):(r[null!=(a=null==Xn?void 0:Xn[c])?a:c]=((o={})[p]=u,o),r)}),{})),n[l]={value:m,var:p,varRef:m}},o=0,i=Object.entries(e);o<i.length;o++)a();return{cssVars:r,cssMap:n}}(o,{cssVarPrefix:null==(t=r.config)?void 0:t.cssVarPrefix}),l=i.cssMap,s=i.cssVars;return Object.assign(r,{__cssVars:$r({},{"--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:ze(r.breakpoints)}),r}var _a=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}(),Pa=Math.abs,Ca=String.fromCharCode,Aa=Object.assign;function Sa(e){return e.trim()}function Ra(e,t,r){return e.replace(t,r)}function Ma(e,t){return e.indexOf(t)}function Ta(e,t){return 0|e.charCodeAt(t)}function Oa(e,t,r){return e.slice(t,r)}function Ia(e){return e.length}function La(e){return e.length}function Da(e,t){return t.push(e),e}var Ba=1,Va=1,Na=0,za=0,Fa=0,Ha="";function ja(e,t,r,n,a,o,i){return{value:e,root:t,parent:r,type:n,props:a,children:o,line:Ba,column:Va,length:i,return:""}}function Wa(e,t){return Aa(ja("",null,null,"",null,null,0),e,{length:-e.length},t)}function Za(){return Fa=za>0?Ta(Ha,--za):0,Va--,10===Fa&&(Va=1,Ba--),Fa}function $a(){return Fa=za<Na?Ta(Ha,za++):0,Va++,10===Fa&&(Va=1,Ba++),Fa}function Ua(){return Ta(Ha,za)}function Ga(){return za}function qa(e,t){return Oa(Ha,e,t)}function Ka(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 Ya(e){return Ba=Va=1,Na=Ia(Ha=e),za=0,[]}function Xa(e){return Ha="",e}function Qa(e){return Sa(qa(za-1,to(91===e?e+2:40===e?e+1:e)))}function Ja(e){for(;(Fa=Ua())&&Fa<33;)$a();return Ka(e)>2||Ka(Fa)>3?"":" "}function eo(e,t){for(;--t&&$a()&&!(Fa<48||Fa>102||Fa>57&&Fa<65||Fa>70&&Fa<97););return qa(e,Ga()+(t<6&&32==Ua()&&32==$a()))}function to(e){for(;$a();)switch(Fa){case e:return za;case 34:case 39:34!==e&&39!==e&&to(Fa);break;case 40:41===e&&to(e);break;case 92:$a()}return za}function ro(e,t){for(;$a()&&e+Fa!==57&&(e+Fa!==84||47!==Ua()););return"/*"+qa(t,za-1)+"*"+Ca(47===e?e:$a())}function no(e){for(;!Ka(Ua());)$a();return qa(e,za)}var ao="-ms-",oo="-moz-",io="-webkit-",lo="comm",so="rule",co="decl",uo="@keyframes";function po(e,t){for(var r="",n=La(e),a=0;a<n;a++)r+=t(e[a],a,e,t)||"";return r}function mo(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case co:return e.return=e.return||e.value;case lo:return"";case uo:return e.return=e.value+"{"+po(e.children,n)+"}";case so:e.value=e.props.join(",")}return Ia(r=po(e.children,n))?e.return=e.value+"{"+r+"}":""}function ho(e){return Xa(fo("",null,null,null,[""],e=Ya(e),0,[0],e))}function fo(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,g=1,b=0,y="",E=a,k=o,w=n,x=y;v;)switch(h=b,b=$a()){case 40:if(108!=h&&58==Ta(x,d-1)){-1!=Ma(x+=Ra(Qa(b),"&","&\f"),"&\f")&&(g=-1);break}case 34:case 39:case 91:x+=Qa(b);break;case 9:case 10:case 13:case 32:x+=Ja(h);break;case 92:x+=eo(Ga()-1,7);continue;case 47:switch(Ua()){case 42:case 47:Da(go(ro($a(),Ga()),t,r),s);break;default:x+="/"}break;case 123*f:l[c++]=Ia(x)*g;case 125*f:case 59:case 0:switch(b){case 0:case 125:v=0;case 59+u:-1==g&&(x=Ra(x,/\f/g,"")),m>0&&Ia(x)-d&&Da(m>32?bo(x+";",n,r,d-1):bo(Ra(x," ","")+";",n,r,d-2),s);break;case 59:x+=";";default:if(Da(w=vo(x,t,r,c,u,a,l,y,E=[],k=[],d),o),123===b)if(0===u)fo(x,t,w,w,E,o,d,l,k);else switch(99===p&&110===Ta(x,3)?100:p){case 100:case 108:case 109:case 115:fo(e,w,w,n&&Da(vo(e,w,w,0,0,a,l,y,a,E=[],d),k),a,k,d,l,n?E:k);break;default:fo(x,w,w,w,[""],k,0,l,k)}}c=u=m=0,f=g=1,y=x="",d=i;break;case 58:d=1+Ia(x),m=h;default:if(f<1)if(123==b)--f;else if(125==b&&0==f++&&125==Za())continue;switch(x+=Ca(b),b*f){case 38:g=u>0?1:(x+="\f",-1);break;case 44:l[c++]=(Ia(x)-1)*g,g=1;break;case 64:45===Ua()&&(x+=Qa($a())),p=Ua(),u=d=Ia(y=x+=no(Ga())),b++;break;case 45:45===h&&2==Ia(x)&&(f=0)}}return o}function vo(e,t,r,n,a,o,i,l,s,c,u){for(var d=a-1,p=0===a?o:[""],m=La(p),h=0,f=0,v=0;h<n;++h)for(var g=0,b=Oa(e,d+1,d=Pa(f=i[h])),y=e;g<m;++g)(y=Sa(f>0?p[g]+" "+b:Ra(b,/&\f/g,p[g])))&&(s[v++]=y);return ja(e,t,r,0===a?so:l,s,c,u)}function go(e,t,r){return ja(e,t,r,lo,Ca(Fa),Oa(e,2,-2),0)}function bo(e,t,r,n){return ja(e,t,r,co,Oa(e,0,n),Oa(e,n+1,-1),n)}var yo=function(e,t,r){for(var n=0,a=0;n=a,a=Ua(),38===n&&12===a&&(t[r]=1),!Ka(a);)$a();return qa(e,za)},Eo=new WeakMap,ko=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)||Eo.get(r))&&!n){Eo.set(e,!0);for(var a=[],o=function(e,t){return Xa(function(e,t){var r=-1,n=44;do{switch(Ka(n)){case 0:38===n&&12===Ua()&&(t[r]=1),e[r]+=yo(za-1,t,r);break;case 2:e[r]+=Qa(n);break;case 4:if(44===n){e[++r]=58===Ua()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=Ca(n)}}while(n=$a());return e}(Ya(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]}}},wo=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function xo(e,t){switch(function(e,t){return 45^Ta(e,0)?(((t<<2^Ta(e,0))<<2^Ta(e,1))<<2^Ta(e,2))<<2^Ta(e,3):0}(e,t)){case 5103:return io+"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 io+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return io+e+oo+e+ao+e+e;case 6828:case 4268:return io+e+ao+e+e;case 6165:return io+e+ao+"flex-"+e+e;case 5187:return io+e+Ra(e,/(\w+).+(:[^]+)/,io+"box-$1$2"+ao+"flex-$1$2")+e;case 5443:return io+e+ao+"flex-item-"+Ra(e,/flex-|-self/,"")+e;case 4675:return io+e+ao+"flex-line-pack"+Ra(e,/align-content|flex-|-self/,"")+e;case 5548:return io+e+ao+Ra(e,"shrink","negative")+e;case 5292:return io+e+ao+Ra(e,"basis","preferred-size")+e;case 6060:return io+"box-"+Ra(e,"-grow","")+io+e+ao+Ra(e,"grow","positive")+e;case 4554:return io+Ra(e,/([^-])(transform)/g,"$1"+io+"$2")+e;case 6187:return Ra(Ra(Ra(e,/(zoom-|grab)/,io+"$1"),/(image-set)/,io+"$1"),e,"")+e;case 5495:case 3959:return Ra(e,/(image-set\([^]*)/,io+"$1$`$1");case 4968:return Ra(Ra(e,/(.+:)(flex-)?(.*)/,io+"box-pack:$3"+ao+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+io+e+e;case 4095:case 3583:case 4068:case 2532:return Ra(e,/(.+)-inline(.+)/,io+"$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(Ia(e)-1-t>6)switch(Ta(e,t+1)){case 109:if(45!==Ta(e,t+4))break;case 102:return Ra(e,/(.+:)(.+)-([^]+)/,"$1"+io+"$2-$3$1"+oo+(108==Ta(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Ma(e,"stretch")?xo(Ra(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Ta(e,t+1))break;case 6444:switch(Ta(e,Ia(e)-3-(~Ma(e,"!important")&&10))){case 107:return Ra(e,":",":"+io)+e;case 101:return Ra(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+io+(45===Ta(e,14)?"inline-":"")+"box$3$1"+io+"$2$3$1"+ao+"$2box$3")+e}break;case 5936:switch(Ta(e,t+11)){case 114:return io+e+ao+Ra(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return io+e+ao+Ra(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return io+e+ao+Ra(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return io+e+ao+e+e}return e}var _o=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case co:e.return=xo(e.value,e.length);break;case uo:return po([Wa(e,{value:Ra(e.value,"@","@"+io)})],n);case so: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 po([Wa(e,{props:[Ra(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return po([Wa(e,{props:[Ra(t,/:(plac\w+)/,":"+io+"input-$1")]}),Wa(e,{props:[Ra(t,/:(plac\w+)/,":-moz-$1")]}),Wa(e,{props:[Ra(t,/:(plac\w+)/,ao+"input-$1")]})],n)}return""}))}}],Po=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||_o,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=[mo,(d=function(e){s.insert(e)},function(e){e.root||(e=e.return)&&d(e)})],m=(c=[ko,wo].concat(o,p),u=La(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,po(ho(e?e+"{"+t.styles+"}":t.styles),m),n&&(h.inserted[t.name]=!0)};var h={key:t,sheet:new _a({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},Co=r(5265),Ao=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 So(e,t,r){var n="";return r.split(" ").forEach((function(r){void 0!==e[r]?t.push(e[r]+";"):n+=r+" "})),n}var Ro=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},Mo=function(e,t,r){Ro(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)}},To={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 Oo(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}var Io=/[A-Z]|^ms/g,Lo=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Do=function(e){return 45===e.charCodeAt(1)},Bo=function(e){return null!=e&&"boolean"!=typeof e},Vo=Oo((function(e){return Do(e)?e:e.replace(Io,"-$&").toLowerCase()})),No=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Lo,(function(e,t,r){return Fo={name:t,styles:r,next:Fo},t}))}return 1===To[e]||Do(e)||"number"!=typeof t||0===t?t:t+"px"};function zo(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 Fo={name:r.name,styles:r.styles,next:Fo},r.name;if(void 0!==r.styles){var n=r.next;if(void 0!==n)for(;void 0!==n;)Fo={name:n.name,styles:n.styles,next:Fo},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+=zo(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]+"}":Bo(i)&&(n+=Vo(o)+":"+No(o,i)+";");else if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&void 0!==t[i[0]]){var l=zo(e,t,i);switch(o){case"animation":case"animationName":n+=Vo(o)+":"+l+";";break;default:n+=o+"{"+l+"}"}}else for(var s=0;s<i.length;s++)Bo(i[s])&&(n+=Vo(o)+":"+No(o,i[s])+";")}return n}(e,t,r);case"function":if(void 0!==e){var a=Fo,o=r(e);return Fo=a,zo(e,t,o)}}if(null==t)return r;var i=t[r];return void 0!==i?i:r}var Fo,Ho=/label:\s*([^\s;\n{]+)\s*(;|$)/g,jo=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="";Fo=void 0;var o=e[0];null==o||void 0===o.raw?(n=!1,a+=zo(r,t,o)):a+=o[0];for(var i=1;i<e.length;i++)a+=zo(r,t,e[i]),n&&(a+=o[i]);Ho.lastIndex=0;for(var l,s="";null!==(l=Ho.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:Fo}},Wo=!!U.useInsertionEffect&&U.useInsertionEffect,Zo=Wo||function(e){return e()},$o=Wo||U.useLayoutEffect,Uo={}.hasOwnProperty,Go=U.createContext("undefined"!=typeof HTMLElement?Po({key:"css"}):null);Go.Provider;var qo=function(e){return(0,U.forwardRef)((function(t,r){var n=(0,U.useContext)(Go);return e(t,n,r)}))},Ko=U.createContext({}),Yo=Ao((function(e){return Ao((function(t){return function(e,t){return"function"==typeof t?t(e):(0,Co.A)({},e,t)}(e,t)}))})),Xo=function(e){var t=U.useContext(Ko);return e.theme!==t&&(t=Yo(t)(e.theme)),U.createElement(Ko.Provider,{value:t},e.children)},Qo="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Jo=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return Ro(t,r,n),Zo((function(){return Mo(t,r,n)})),null},ei=qo((function(e,t,r){var n=e.css;"string"==typeof n&&void 0!==t.registered[n]&&(n=t.registered[n]);var a=e[Qo],o=[n],i="";"string"==typeof e.className?i=So(t.registered,o,e.className):null!=e.className&&(i=e.className+" ");var l=jo(o,void 0,U.useContext(Ko));i+=t.key+"-"+l.name;var s={};for(var c in e)Uo.call(e,c)&&"css"!==c&&c!==Qo&&(s[c]=e[c]);return s.ref=r,s.className=i,U.createElement(U.Fragment,null,U.createElement(Jo,{cache:t,serialized:l,isStringTag:"string"==typeof a}),U.createElement(a,s))})),ti=ei,ri=(r(1035),function(e,t){var r=arguments;if(null==t||!Uo.call(t,"css"))return U.createElement.apply(void 0,r);var n=r.length,a=new Array(n);a[0]=ti,a[1]=function(e,t){var r={};for(var n in t)Uo.call(t,n)&&(r[n]=t[n]);return r[Qo]=e,r}(e,t);for(var o=2;o<n;o++)a[o]=r[o];return U.createElement.apply(null,a)}),ni=qo((function(e,t){var r=e.styles,n=jo([r],void 0,U.useContext(Ko)),a=U.useRef();return $o((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]),$o((function(){var e=a.current,r=e[0];if(e[1])e[1]=!1;else{if(void 0!==n.next&&Mo(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 ai(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return jo(t)}var oi=function(){var e=ai.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_"}}},ii=r(4438),li=r.n(ii);function si(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){t.forEach((function(t){return function(e,t){if(null!=e)if(Ee(e))e(t);else try{e.current=t}catch(r){throw new Error("Cannot assign value '"+t+"' to ref '"+e+"'")}}(t,e)}))}}function ci(e){void 0===e&&(e={});var t=e,r=t.strict,n=void 0===r||r,a=t.errorMessage,o=void 0===a?"useContext: `context` is undefined. Seems you forgot to wrap component within the Provider":a,i=t.name,l=U.createContext(void 0);return l.displayName=i,[l.Provider,function e(){var t=U.useContext(l);if(!t&&n){var r=new Error(o);throw r.name="ContextError",null==Error.captureStackTrace||Error.captureStackTrace(r,e),r}return t},l]}function ui(e){return U.Children.toArray(e).filter((function(e){return U.isValidElement(e)}))}var di=/^((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)-.*))$/,pi=Oo((function(e){return di.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),mi=function(e){return"theme"!==e},hi=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?pi:mi},fi=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},vi=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return Ro(t,r,n),Zo((function(){return Mo(t,r,n)})),null},gi=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=fi(t,r,o),s=l||hi(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=qo((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(Ko)}"string"==typeof e.className?o=So(t.registered,u,e.className):null!=e.className&&(o=e.className+" ");var h=jo(d.concat(u),t.registered,p);o+=t.key+"-"+h.name,void 0!==a&&(o+=" "+a);var f=c&&void 0===l?hi(n):s,v={};for(var g in e)c&&"as"===g||f(g)&&(v[g]=e[g]);return v.className=o,v.ref=r,U.createElement(U.Fragment,null,U.createElement(vi,{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,Co.A)({},r,n,{shouldForwardProp:fi(h,n,!0)})).apply(void 0,d)},h}}.bind();function bi(){return bi=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},bi.apply(this,arguments)}["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){gi[e]=gi(e)}));var yi=function(e){var t=e.cssVarsRoot,r=e.theme,n=e.children,a=U.useMemo((function(){return xa(r)}),[r]);return U.createElement(Xo,{theme:a},U.createElement(Ei,{root:t}),n)},Ei=function(e){var t=e.root,r=[void 0===t?":host, :root":t,"[data-theme]"].join(",");return U.createElement(ni,{styles:function(e){var t;return(t={})[r]=e.__cssVars,t}})};function ki(){var e=U.useContext(Ko);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `<ChakraProvider />` or `<ThemeProvider />`");return e}var wi=ci({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `<StylesProvider />` "}),xi=wi[0],_i=wi[1],Pi=function(){var e=Wr().colorMode;return U.createElement(ni,{styles:function(t){var r=at(Re(t,"styles.global"),{theme:t,colorMode:e});if(r)return la(r)(t)}})};function Ci(e){return Pe(e,["styleConfig","size","variant","colorScheme"])}function Ai(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}var Si=new Set([].concat(ra,["textStyle","layerStyle","apply","isTruncated","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"])),Ri=new Set(["htmlWidth","htmlHeight","htmlSize"]),Mi=function(e){return Ri.has(e)||!Si.has(e)},Ti=["theme","css","__css","sx"],Oi=["baseStyle"];function Ii(e,t){var r=null!=t?t:{},n=r.baseStyle,a=Ai(r,Oi);a.shouldForwardProp||(a.shouldForwardProp=Mi);var o=function(e){var t=e.baseStyle;return function(e){e.theme;var r=e.css,n=e.__css,a=e.sx,o=Me(Ai(e,Ti),(function(e,t){return aa(t)})),i=at(t,e),l=Object.assign({},n,i,Te(o),a),s=la(l)(e.theme);return r?[s,r]:s}}({baseStyle:n});return gi(e,a)(o)}function Li(e){return U.forwardRef(e)}var Di=["styleConfig"];function Bi(e,t,r){var n;void 0===t&&(t={}),void 0===r&&(r={});var a=t,o=a.styleConfig,i=Ai(a,Di),l=bi({},Wr(),{theme:ki()}),s=l.theme,c=l.colorMode,u=Re(s,"components."+e),d=o||u,p=te()({theme:s,colorMode:c},null!=(n=null==d?void 0:d.defaultProps)?n:{},Te(Pe(i,["children"]))),m=(0,U.useRef)({});if(d){var h,f,v,g,b,y,E=at(null!=(h=d.baseStyle)?h:{},p),k=at(null!=(f=null==(v=d.variants)?void 0:v[p.variant])?f:{},p),w=at(null!=(g=null==(b=d.sizes)?void 0:b[p.size])?g:{},p),x=te()({},E,w,k);null!=(y=r)&&y.isMultiPart&&d.parts&&d.parts.forEach((function(e){var t;x[e]=null!=(t=x[e])?t:{}})),li()(m.current,x)||(m.current=x)}return m.current}function Vi(e,t){return Bi(e,t,{isMultiPart:!0})}var Ni=function(){var e=new Map;return new Proxy(Ii,{apply:function(e,t,r){return Ii.apply(void 0,r)},get:function(t,r){return e.has(r)||e.set(r,Ii(r)),e.get(r)}})}();function zi(){return zi=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},zi.apply(this,arguments)}var Fi=["ref","isDisabled","isFocusable","clickOnEnter","clickOnSpace","onMouseDown","onMouseUp","onClick","onKeyDown","onKeyUp","tabIndex","onMouseOver","onMouseLeave"];function Hi(e){var t=e.target,r=t.tagName,n=t.isContentEditable;return"INPUT"!==r&&"TEXTAREA"!==r&&!0!==n}function ji(e){void 0===e&&(e={});var t=e,r=t.ref,n=t.isDisabled,a=t.isFocusable,o=t.clickOnEnter,i=void 0===o||o,l=t.clickOnSpace,s=void 0===l||l,c=t.onMouseDown,u=t.onMouseUp,d=t.onClick,p=t.onKeyDown,m=t.onKeyUp,h=t.tabIndex,f=t.onMouseOver,v=t.onMouseLeave,g=function(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}(t,Fi),b=U.useState(!0),y=b[0],E=b[1],k=U.useState(!1),w=k[0],x=k[1],_=function(){var e=U.useRef(new Map),t=e.current,r=U.useCallback((function(t,r,n,a){e.current.set(n,{type:r,el:t,options:a}),t.addEventListener(r,n,a)}),[]),n=U.useCallback((function(t,r,n,a){t.removeEventListener(r,n,a),e.current.delete(n)}),[]);return U.useEffect((function(){return function(){t.forEach((function(e,t){n(e.el,e.type,t,e.options)}))}}),[n,t]),{add:r,remove:n}}(),P=y?h:h||0,C=n&&!a,A=U.useCallback((function(e){if(n)return e.stopPropagation(),void e.preventDefault();e.currentTarget.focus(),null==d||d(e)}),[n,d]),S=U.useCallback((function(e){w&&Hi(e)&&(e.preventDefault(),e.stopPropagation(),x(!1),_.remove(document,"keyup",S,!1))}),[w,_]),R=U.useCallback((function(e){if(null==p||p(e),!(n||e.defaultPrevented||e.metaKey)&&Hi(e.nativeEvent)&&!y){var t=i&&"Enter"===e.key;s&&" "===e.key&&(e.preventDefault(),x(!0)),t&&(e.preventDefault(),e.currentTarget.click()),_.add(document,"keyup",S,!1)}}),[n,y,p,i,s,_,S]),M=U.useCallback((function(e){null==m||m(e),n||e.defaultPrevented||e.metaKey||Hi(e.nativeEvent)&&!y&&s&&" "===e.key&&(e.preventDefault(),x(!1),e.currentTarget.click())}),[s,y,n,m]),T=U.useCallback((function(e){0===e.button&&(x(!1),_.remove(document,"mouseup",T,!1))}),[_]),O=U.useCallback((function(e){if(!Ye(e)){if(n)return e.stopPropagation(),void e.preventDefault();y||x(!0),e.currentTarget.focus({preventScroll:!0}),_.add(document,"mouseup",T,!1),null==c||c(e)}}),[n,y,c,_,T]),I=U.useCallback((function(e){Ye(e)||(y||x(!1),null==u||u(e))}),[u,y]),L=U.useCallback((function(e){n?e.preventDefault():null==f||f(e)}),[n,f]),D=U.useCallback((function(e){w&&(e.preventDefault(),x(!1)),null==v||v(e)}),[w,v]),B=si(r,(function(e){e&&"BUTTON"!==e.tagName&&E(!1)}));return zi({},g,y?{ref:B,type:"button","aria-disabled":C?void 0:n,disabled:C,onClick:A,onMouseDown:c,onMouseUp:u,onKeyUp:m,onKeyDown:p,onMouseOver:f,onMouseLeave:v}:{ref:B,role:"button","data-active":Ue(w),"aria-disabled":n?"true":void 0,tabIndex:C?void 0:P,onClick:A,onMouseDown:O,onMouseUp:I,onKeyUp:M,onKeyDown:R,onMouseOver:L,onMouseLeave:D})}function Wi(){return Wi=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},Wi.apply(this,arguments)}function Zi(e){return e.sort((function(e,t){var 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 $i(e,t,r){var n=e+1;return r&&n>=t&&(n=0),n}function Ui(e,t,r){var n=e-1;return r&&n<0&&(n=t),n}var Gi="undefined"!=typeof window?U.useLayoutEffect:U.useEffect,qi=function(){var e=this;this.descendants=new Map,this.register=function(t){var r;if(null!=t)return"object"==typeof(r=t)&&"nodeType"in r&&r.nodeType===Node.ELEMENT_NODE?e.registerNode(t):function(r){e.registerNode(r,t)}},this.unregister=function(t){e.descendants.delete(t);var r=Zi(Array.from(e.descendants.keys()));e.assignIndex(r)},this.destroy=function(){e.descendants.clear()},this.assignIndex=function(t){e.descendants.forEach((function(e){var r=t.indexOf(e.node);e.index=r,e.node.dataset.index=e.index.toString()}))},this.count=function(){return e.descendants.size},this.enabledCount=function(){return e.enabledValues().length},this.values=function(){return Array.from(e.descendants.values()).sort((function(e,t){return e.index-t.index}))},this.enabledValues=function(){return e.values().filter((function(e){return!e.disabled}))},this.item=function(t){if(0!==e.count())return e.values()[t]},this.enabledItem=function(t){if(0!==e.enabledCount())return e.enabledValues()[t]},this.first=function(){return e.item(0)},this.firstEnabled=function(){return e.enabledItem(0)},this.last=function(){return e.item(e.descendants.size-1)},this.lastEnabled=function(){var t=e.enabledValues().length-1;return e.enabledItem(t)},this.indexOf=function(t){var r,n;return t&&null!=(r=null==(n=e.descendants.get(t))?void 0:n.index)?r:-1},this.enabledIndexOf=function(t){return null==t?-1:e.enabledValues().findIndex((function(e){return e.node.isSameNode(t)}))},this.next=function(t,r){void 0===r&&(r=!0);var n=$i(t,e.count(),r);return e.item(n)},this.nextEnabled=function(t,r){void 0===r&&(r=!0);var n=e.item(t);if(n){var a=$i(e.enabledIndexOf(n.node),e.enabledCount(),r);return e.enabledItem(a)}},this.prev=function(t,r){void 0===r&&(r=!0);var n=Ui(t,e.count()-1,r);return e.item(n)},this.prevEnabled=function(t,r){void 0===r&&(r=!0);var n=e.item(t);if(n){var a=Ui(e.enabledIndexOf(n.node),e.enabledCount()-1,r);return e.enabledItem(a)}},this.registerNode=function(t,r){if(t&&!e.descendants.has(t)){var n=Zi(Array.from(e.descendants.keys()).concat(t));null!=r&&r.disabled&&(r.disabled=!!r.disabled);var a=Wi({node:t,index:-1},r);e.descendants.set(t,a),e.assignIndex(n)}}},Ki=ci({name:"DescendantsProvider",errorMessage:"useDescendantsContext must be used within DescendantsProvider"}),Yi=Ki[0],Xi=Ki[1];function Qi(){return[Yi,function(){return Xi()},function(){return e=(0,U.useRef)(new qi),Gi((function(){return function(){return e.current.destroy()}})),e.current;var e},function(e){return function(e){var t=Xi(),r=(0,U.useState)(-1),n=r[0],a=r[1],o=(0,U.useRef)(null);Gi((function(){return function(){o.current&&t.unregister(o.current)}}),[]),Gi((function(){if(o.current){var e=Number(o.current.dataset.index);n==e||Number.isNaN(e)||a(e)}}));var i=e?t.register(e):t.register;return{descendants:t,index:n,enabledIndex:t.enabledIndexOf(o.current),register:si(i,o)}}(e)}]}function Ji(){return Ji=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},Ji.apply(this,arguments)}function el(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}var tl=["defaultIndex","onChange","index","isManual","isLazy","lazyBehavior","orientation","direction"],rl=["isDisabled","isFocusable"],nl=["isSelected","id","children"],al=Qi(),ol=al[0],il=al[1],ll=al[2],sl=al[3],cl=ci({name:"TabsContext",errorMessage:"useTabsContext: `context` is undefined. Seems you forgot to wrap all tabs components within <Tabs />"}),ul=cl[0],dl=cl[1];function pl(e,t){return e+"--tab-"+t}function ml(e,t){return e+"--tabpanel-"+t}var hl=["children","className"],fl=["htmlProps","descendants"],vl=Li((function(e,t){var r=Vi("Tabs",e),n=Ci(e),a=n.children,o=n.className,i=function(e){var t=e.defaultIndex,r=e.onChange,n=e.index,a=e.isManual,o=e.isLazy,i=e.lazyBehavior,l=void 0===i?"unmount":i,s=e.orientation,c=void 0===s?"horizontal":s,u=e.direction,d=void 0===u?"ltr":u,p=el(e,tl),m=U.useState(null!=t?t:0),h=m[0],f=m[1],v=sr({defaultValue:null!=t?t:0,value:n,onChange:r}),g=v[0],b=v[1];U.useEffect((function(){null!=n&&f(n)}),[n]);var y=ll();return{id:hr(e.id,"tabs"),selectedIndex:g,focusedIndex:h,setSelectedIndex:b,setFocusedIndex:f,isManual:a,isLazy:o,lazyBehavior:l,orientation:c,descendants:y,direction:d,htmlProps:p}}(el(n,hl)),l=i.htmlProps,s=i.descendants,c=el(i,fl),u=U.useMemo((function(){return c}),[c]),d=Pe(l,["isFitted"]);return U.createElement(ol,{value:s},U.createElement(ul,{value:u},U.createElement(xi,{value:r},U.createElement(Ni.div,Ji({className:qe("chakra-tabs",o),ref:t},d,{__css:r.root}),a))))})),gl=Li((function(e,t){var r=_i(),n=function(e){var t=e.isDisabled,r=e.isFocusable,n=el(e,rl),a=dl(),o=a.setSelectedIndex,i=a.isManual,l=a.id,s=a.setFocusedIndex,c=a.selectedIndex,u=sl({disabled:t&&!r}),d=u.index,p=u.register,m=d===c,h=ji(Ji({},n,{ref:si(p,e.ref),isDisabled:t,isFocusable:r,onClick:ot(e.onClick,(function(){o(d)}))}));return Ji({},h,{id:pl(l,d),role:"tab",tabIndex:m?0:-1,type:"button","aria-selected":m,"aria-controls":ml(l,d),onFocus:t?void 0:ot(e.onFocus,(function(){s(d),!i&&(!t||!r)&&o(d)}))})}(Ji({},e,{ref:t})),a=Ji({outline:"0",display:"flex",alignItems:"center",justifyContent:"center"},r.tab);return U.createElement(Ni.button,Ji({},n,{className:qe("chakra-tabs__tab",e.className),__css:a}))})),bl=Li((function(e,t){var r=function(e){var t=dl(),r=t.focusedIndex,n=t.orientation,a=t.direction,o=il(),i=U.useCallback((function(e){var t,i=function(){var e=o.nextEnabled(r);e&&mt(e.node)},l=function(){var e=o.prevEnabled(r);e&&mt(e.node)},s="horizontal"===n,c="vertical"===n,u=Ke(e),d="ltr"===a?"ArrowRight":"ArrowLeft",p=((t={})["ltr"===a?"ArrowLeft":"ArrowRight"]=function(){return s&&l()},t[d]=function(){return s&&i()},t.ArrowDown=function(){return c&&i()},t.ArrowUp=function(){return c&&l()},t.Home=function(){var e=o.firstEnabled();e&&mt(e.node)},t.End=function(){var e=o.lastEnabled();e&&mt(e.node)},t)[u];p&&(e.preventDefault(),p(e))}),[o,r,n,a]);return Ji({},e,{role:"tablist","aria-orientation":n,onKeyDown:ot(e.onKeyDown,i)})}(Ji({},e,{ref:t})),n=Ji({display:"flex"},_i().tablist);return U.createElement(Ni.div,Ji({},r,{className:qe("chakra-tabs__tablist",e.className),__css:n}))})),yl=Li((function(e,t){var r=function(e){var t=e.isSelected,r=e.id,n=e.children,a=el(e,nl),o=dl(),i=o.isLazy,l=o.lazyBehavior,s=U.useRef(!1);return t&&(s.current=!0),Ji({tabIndex:0},a,{children:vt({hasBeenSelected:s.current,isSelected:t,isLazy:i,lazyBehavior:l})?n:null,role:"tabpanel",hidden:!t,id:r})}(Ji({},e,{ref:t})),n=_i();return U.createElement(Ni.div,Ji({outline:"0"},r,{className:qe("chakra-tabs__tab-panel",e.className),__css:n.tabpanel}))})),El=Li((function(e,t){var r=function(e){var t=dl(),r=t.id,n=t.selectedIndex,a=ui(e.children).map((function(e,t){return U.cloneElement(e,{isSelected:t===n,id:ml(r,t),"aria-labelledby":pl(r,t)})}));return Ji({},e,{children:a})}(e),n=_i();return U.createElement(Ni.div,Ji({},r,{width:"100%",ref:t,className:qe("chakra-tabs__tab-panels",e.className),__css:n.tabpanels}))}));function kl(){return kl=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},kl.apply(this,arguments)}var wl=["as","viewBox","color","focusable","children","className","__css"],xl={path:U.createElement("g",{stroke:"currentColor",strokeWidth:"1.5"},U.createElement("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"}),U.createElement("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),U.createElement("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})),viewBox:"0 0 24 24"},_l=Li((function(e,t){var r=e.as,n=e.viewBox,a=e.color,o=void 0===a?"currentColor":a,i=e.focusable,l=void 0!==i&&i,s=e.children,c=e.className,u=e.__css,d=function(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}(e,wl),p={ref:t,focusable:l,className:qe("chakra-icon",c),__css:kl({w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:o},u)},m=null!=n?n:xl.viewBox;if(r&&"string"!=typeof r)return U.createElement(Ni.svg,kl({as:r},p,d));var h=null!=s?s:xl.path;return U.createElement(Ni.svg,kl({verticalAlign:"middle",viewBox:m},p,d),h)}));function Pl(){return Pl=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},Pl.apply(this,arguments)}function Cl(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}var Al=["ratio","children","className"],Sl=Li((function(e,t){var r=e.ratio,n=void 0===r?4/3:r,a=e.children,o=e.className,i=Cl(e,Al),l=U.Children.only(a),s=qe("chakra-aspect-ratio",o);return U.createElement(Ni.div,Pl({ref:t,position:"relative",className:s,_before:{height:0,content:'""',display:"block",paddingBottom:Gt(n,(function(e){return 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"}}},i),l)})),Rl=Ni("div");Ni("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center"}});var Ml=["className","centerContent"],Tl=Li((function(e,t){var r=Ci(e),n=r.className,a=r.centerContent,o=Cl(r,Ml),i=Bi("Container",e);return U.createElement(Ni.div,Pl({ref:t,className:qe("chakra-container",n)},o,{__css:Pl({},i,a&&{display:"flex",flexDirection:"column",alignItems:"center"})}))})),Ol=["direction","align","justify","wrap","basis","grow","shrink"],Il=Li((function(e,t){var r=e.direction,n=e.align,a=e.justify,o=e.wrap,i=e.basis,l=e.grow,s=e.shrink,c=Cl(e,Ol),u={display:"flex",flexDirection:r,alignItems:n,justifyContent:a,flexWrap:o,flexBasis:i,flexGrow:l,flexShrink:s};return U.createElement(Ni.div,Pl({ref:t,__css:u},c))})),Ll=["area","templateAreas","gap","rowGap","columnGap","column","row","autoFlow","autoRows","templateRows","autoColumns","templateColumns"],Dl=Li((function(e,t){var r=e.area,n=e.templateAreas,a=e.gap,o=e.rowGap,i=e.columnGap,l=e.column,s=e.row,c=e.autoFlow,u=e.autoRows,d=e.templateRows,p=e.autoColumns,m=e.templateColumns,h=Cl(e,Ll),f={display:"grid",gridArea:r,gridTemplateAreas:n,gridGap:a,gridRowGap:o,gridColumnGap:i,gridAutoColumns:p,gridColumn:l,gridRow:s,gridAutoFlow:c,gridAutoRows:u,gridTemplateRows:d,gridTemplateColumns:m};return U.createElement(Ni.div,Pl({ref:t,__css:f},h))})),Bl=["className"],Vl=Li((function(e,t){var r=Bi("Heading",e),n=Ci(e);n.className;var a=Cl(n,Bl);return U.createElement(Ni.h2,Pl({ref:t,className:qe("chakra-heading",e.className)},a,{__css:r}))})),Nl=["children","styleType","stylePosition","spacing"],zl=ci({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in a `<*List />` "}),Fl=zl[0],Hl=zl[1],jl=Li((function(e,t){var r,n=Vi("List",e),a=Ci(e),o=a.children,i=a.styleType,l=void 0===i?"none":i,s=a.stylePosition,c=a.spacing,u=Cl(a,Nl),d=ui(o),p=c?((r={})["& > *:not(style) ~ *:not(style)"]={mt:c},r):{};return U.createElement(Fl,{value:n},U.createElement(Ni.ul,Pl({ref:t,listStyleType:l,listStylePosition:s,role:"list",__css:Pl({},n.container,p)},u),d))})),Wl=Li((function(e,t){var r=Hl();return U.createElement(Ni.li,Pl({ref:t},e,{__css:r.item}))})),Zl=["columns","spacingX","spacingY","spacing","minChildWidth"],$l=Li((function(e,t){var r=e.columns,n=e.spacingX,a=e.spacingY,o=e.spacing,i=e.minChildWidth,l=Cl(e,Zl),s=i?Gt(i,(function(e){return we(e)?null:"repeat(auto-fit, minmax("+((be(t=e)?t+"px":t)+", 1fr))");var t})):Gt(r,(function(e){return we(e)?null:"repeat("+e+", minmax(0, 1fr))"}));return U.createElement(Dl,Pl({ref:t,gap:o,columnGap:n,rowGap:a,templateColumns:s},l))}));Ni("div",{baseStyle:{flex:1,justifySelf:"stretch",alignSelf:"stretch"}});var Ul="& > *:not(style) ~ *:not(style)",Gl=["isInline","direction","align","justify","spacing","wrap","children","divider","className","shouldWrapChildren"],ql=function(e){return U.createElement(Ni.div,Pl({className:"chakra-stack__item"},e,{__css:Pl({display:"inline-block",flex:"0 0 auto",minWidth:0},e.__css)}))},Kl=Li((function(e,t){var r,n=e.isInline,a=e.direction,o=e.align,i=e.justify,l=e.spacing,s=void 0===l?"0.5rem":l,c=e.wrap,u=e.children,d=e.divider,p=e.className,m=e.shouldWrapChildren,h=Cl(e,Gl),f=n?"row":null!=a?a:"column",v=U.useMemo((function(){return function(e){var t,r=e.spacing,n=e.direction,a={column:{marginTop:r,marginEnd:0,marginBottom:0,marginStart:0},row:{marginTop:0,marginEnd:0,marginBottom:0,marginStart:r},"column-reverse":{marginTop:0,marginEnd:0,marginBottom:r,marginStart:0},"row-reverse":{marginTop:0,marginEnd:r,marginBottom:0,marginStart:0}};return(t={flexDirection:n})[Ul]=Gt(n,(function(e){return a[e]})),t}({direction:f,spacing:s})}),[f,s]),g=U.useMemo((function(){return function(e){var t=e.spacing,r={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{"&":Gt(e.direction,(function(e){return r[e]}))}}({spacing:s,direction:f})}),[s,f]),b=!!d,y=!m&&!b,E=ui(u),k=y?E:E.map((function(e,t){var r=void 0!==e.key?e.key:t,n=t+1===E.length,a=m?U.createElement(ql,{key:r},e):e;if(!b)return a;var o=n?null:U.cloneElement(d,{__css:g});return U.createElement(U.Fragment,{key:r},a,o)})),w=qe("chakra-stack",p);return U.createElement(Ni.div,Pl({ref:t,display:"flex",alignItems:o,justifyContent:i,flexDirection:v.flexDirection,flexWrap:c,className:w,__css:b?{}:(r={},r[Ul]=v[Ul],r)},h),k)})),Yl=Li((function(e,t){return U.createElement(Kl,Pl({align:"center"},e,{direction:"row",ref:t}))})),Xl=Li((function(e,t){return U.createElement(Kl,Pl({align:"center"},e,{direction:"column",ref:t}))})),Ql=["className","align","decoration","casing"],Jl=Li((function(e,t){var r=Bi("Text",e),n=Ci(e);n.className,n.align,n.decoration,n.casing;var a=Cl(n,Ql),o=Te({textAlign:e.align,textDecoration:e.decoration,textTransform:e.casing});return U.createElement(Ni.p,Pl({ref:t,className:qe("chakra-text",e.className)},o,a,{__css:r}))}));function es(){return es=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},es.apply(this,arguments)}function ts(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}var rs=["id","isRequired","isInvalid","isDisabled","isReadOnly"],ns=["getRootProps","htmlProps"],as=ci({strict:!1,name:"FormControlContext"}),os=as[0],is=as[1],ls=Li((function(e,t){var r=Vi("Form",e),n=function(e){var t=e.id,r=e.isRequired,n=e.isInvalid,a=e.isDisabled,o=e.isReadOnly,i=ts(e,rs),l=hr(),s=t||"field-"+l,c=s+"-label",u=s+"-feedback",d=s+"-helptext",p=U.useState(!1),m=p[0],h=p[1],f=U.useState(!1),v=f[0],g=f[1],b=or(),y=b[0],E=b[1],k=U.useCallback((function(e,t){return void 0===e&&(e={}),void 0===t&&(t=null),es({id:d},e,{ref:si(t,(function(e){e&&g(!0)}))})}),[d]),w=U.useCallback((function(e,t){var r,i;return void 0===e&&(e={}),void 0===t&&(t=null),es({},e,{ref:t,"data-focus":Ue(y),"data-disabled":Ue(a),"data-invalid":Ue(n),"data-readonly":Ue(o),id:null!=(r=e.id)?r:c,htmlFor:null!=(i=e.htmlFor)?i:s})}),[s,a,y,n,o,c]),x=U.useCallback((function(e,t){return void 0===e&&(e={}),void 0===t&&(t=null),es({id:u},e,{ref:si(t,(function(e){e&&h(!0)})),"aria-live":"polite"})}),[u]),_=U.useCallback((function(e,t){return void 0===e&&(e={}),void 0===t&&(t=null),es({},e,i,{ref:t,role:"group"})}),[i]),P=U.useCallback((function(e,t){return void 0===e&&(e={}),void 0===t&&(t=null),es({},e,{ref:t,role:"presentation","aria-hidden":!0,children:e.children||"*"})}),[]);return{isRequired:!!r,isInvalid:!!n,isReadOnly:!!o,isDisabled:!!a,isFocused:!!y,onFocus:E.on,onBlur:E.off,hasFeedbackText:m,setHasFeedbackText:h,hasHelpText:v,setHasHelpText:g,id:s,labelId:c,feedbackId:u,helpTextId:d,htmlProps:i,getHelpTextProps:k,getErrorMessageProps:x,getRootProps:_,getLabelProps:w,getRequiredIndicatorProps:P}}(Ci(e)),a=n.getRootProps;n.htmlProps;var o=ts(n,ns),i=qe("chakra-form-control",e.className);return U.createElement(os,{value:o},U.createElement(xi,{value:r},U.createElement(Ni.div,es({},a({},t),{className:i,__css:r.container}))))})),ss=["isDisabled","isInvalid","isReadOnly","isRequired"],cs=["id","disabled","readOnly","required","isRequired","isInvalid","isReadOnly","isDisabled","onFocus","onBlur"];function us(e){var t=ds(e),r=t.isDisabled,n=t.isInvalid,a=t.isReadOnly,o=t.isRequired;return es({},ts(t,ss),{disabled:r,readOnly:a,required:o,"aria-invalid":Ge(n),"aria-required":Ge(o),"aria-readonly":Ge(a)})}function ds(e){var t,r,n,a=is(),o=e.id,i=e.disabled,l=e.readOnly,s=e.required,c=e.isRequired,u=e.isInvalid,d=e.isReadOnly,p=e.isDisabled,m=e.onFocus,h=e.onBlur,f=ts(e,cs),v=e["aria-describedby"]?[e["aria-describedby"]]:[];return null!=a&&a.hasFeedbackText&&null!=a&&a.isInvalid&&v.push(a.feedbackId),null!=a&&a.hasHelpText&&v.push(a.helpTextId),es({},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:ot(null==a?void 0:a.onFocus,m),onBlur:ot(null==a?void 0:a.onBlur,h)})}var ps=["className","children","requiredIndicator","optionalIndicator"],ms=Li((function(e,t){var r,n=Bi("FormLabel",e),a=Ci(e);a.className;var o=a.children,i=a.requiredIndicator,l=void 0===i?U.createElement(hs,null):i,s=a.optionalIndicator,c=void 0===s?null:s,u=ts(a,ps),d=is(),p=null!=(r=null==d?void 0:d.getLabelProps(u,t))?r:es({ref:t},u);return U.createElement(Ni.label,es({},p,{className:qe("chakra-form__label",a.className),__css:es({display:"block",textAlign:"start"},n)}),o,null!=d&&d.isRequired?l:c)})),hs=Li((function(e,t){var r=is(),n=_i();if(null==r||!r.isRequired)return null;var a=qe("chakra-form__required-indicator",e.className);return U.createElement(Ni.span,es({},null==r?void 0:r.getRequiredIndicatorProps(e,t),{__css:n.requiredIndicator,className:a}))}));function fs(){return fs=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},fs.apply(this,arguments)}function vs(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}var gs=["children","placeholder","className"],bs=["rootProps","placeholder","icon","color","height","h","minH","minHeight","iconColor","iconSize","isFullWidth"],ys=["children"],Es=Li((function(e,t){var r=e.children,n=e.placeholder,a=e.className,o=vs(e,gs);return U.createElement(Ni.select,fs({},o,{ref:t,className:qe("chakra-select",a)}),n&&U.createElement("option",{value:""},n),r)})),ks=Li((function(e,t){var r=Vi("Select",e),n=Ci(e),a=n.rootProps,o=n.placeholder,i=n.icon,l=n.color,s=n.height,c=n.h,u=n.minH,d=n.minHeight,p=n.iconColor,m=n.iconSize;n.isFullWidth;var h,f,v,g,b=(h=vs(n,bs),f=ta,v={},g={},Object.keys(h).forEach((function(e){f.includes(e)?v[e]=h[e]:g[e]=h[e]})),[v,g]),y=b[0],E=us(b[1]),k={width:"100%",height:"fit-content",position:"relative",color:l},w=te()({paddingEnd:"2rem"},r.field,{_focus:{zIndex:"unset"}});return U.createElement(Ni.div,fs({className:"chakra-select__wrapper",__css:k},y,a),U.createElement(Es,fs({ref:t,height:null!=c?c:s,minH:null!=u?u:d,placeholder:o},E,{__css:w}),e.children),U.createElement(_s,fs({"data-disabled":Ue(E.disabled)},(p||l)&&{color:p||l},{__css:r.icon},m&&{fontSize:m}),i))})),ws=function(e){return U.createElement("svg",fs({viewBox:"0 0 24 24"},e),U.createElement("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"}))},xs=Ni("div",{baseStyle:{position:"absolute",display:"inline-flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",top:"50%",transform:"translateY(-50%)"}}),_s=function(e){var t=e.children,r=void 0===t?U.createElement(ws,null):t,n=vs(e,ys),a=U.cloneElement(r,{role:"presentation",className:"chakra-select__icon",focusable:!1,"aria-hidden":!0,style:{width:"1em",height:"1em",color:"currentColor"}});return U.createElement(xs,fs({},n,{className:"chakra-select__icon-wrapper"}),U.isValidElement(r)?a:null)};function Ps(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Cs(e){return e instanceof Ps(e).Element||e instanceof Element}function As(e){return e instanceof Ps(e).HTMLElement||e instanceof HTMLElement}function Ss(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Ps(e).ShadowRoot||e instanceof ShadowRoot)}var Rs=Math.max,Ms=Math.min,Ts=Math.round;function Os(){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 Is(){return!/^((?!chrome|android).)*safari/i.test(Os())}function Ls(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!1);var n=e.getBoundingClientRect(),a=1,o=1;t&&As(e)&&(a=e.offsetWidth>0&&Ts(n.width)/e.offsetWidth||1,o=e.offsetHeight>0&&Ts(n.height)/e.offsetHeight||1);var i=(Cs(e)?Ps(e):window).visualViewport,l=!Is()&&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 Ds(e){var t=Ps(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Bs(e){return e?(e.nodeName||"").toLowerCase():null}function Vs(e){return((Cs(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ns(e){return Ls(Vs(e)).left+Ds(e).scrollLeft}function zs(e){return Ps(e).getComputedStyle(e)}function Fs(e){var t=zs(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}function Hs(e,t,r){void 0===r&&(r=!1);var n=As(t),a=As(t)&&function(e){var t=e.getBoundingClientRect(),r=Ts(t.width)/e.offsetWidth||1,n=Ts(t.height)/e.offsetHeight||1;return 1!==r||1!==n}(t),o=Vs(t),i=Ls(e,a,r),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(n||!n&&!r)&&(("body"!==Bs(t)||Fs(o))&&(l=function(e){return e!==Ps(e)&&As(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:Ds(e);var t}(t)),As(t)?((s=Ls(t,!0)).x+=t.clientLeft,s.y+=t.clientTop):o&&(s.x=Ns(o))),{x:i.left+l.scrollLeft-s.x,y:i.top+l.scrollTop-s.y,width:i.width,height:i.height}}function js(e){var t=Ls(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 Ws(e){return"html"===Bs(e)?e:e.assignedSlot||e.parentNode||(Ss(e)?e.host:null)||Vs(e)}function Zs(e){return["html","body","#document"].indexOf(Bs(e))>=0?e.ownerDocument.body:As(e)&&Fs(e)?e:Zs(Ws(e))}function $s(e,t){var r;void 0===t&&(t=[]);var n=Zs(e),a=n===(null==(r=e.ownerDocument)?void 0:r.body),o=Ps(n),i=a?[o].concat(o.visualViewport||[],Fs(n)?n:[]):n,l=t.concat(i);return a?l:l.concat($s(Ws(i)))}function Us(e){return["table","td","th"].indexOf(Bs(e))>=0}function Gs(e){return As(e)&&"fixed"!==zs(e).position?e.offsetParent:null}function qs(e){for(var t=Ps(e),r=Gs(e);r&&Us(r)&&"static"===zs(r).position;)r=Gs(r);return r&&("html"===Bs(r)||"body"===Bs(r)&&"static"===zs(r).position)?t:r||function(e){var t=/firefox/i.test(Os());if(/Trident/i.test(Os())&&As(e)&&"fixed"===zs(e).position)return null;var r=Ws(e);for(Ss(r)&&(r=r.host);As(r)&&["html","body"].indexOf(Bs(r))<0;){var n=zs(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 Ks="top",Ys="bottom",Xs="right",Qs="left",Js="auto",ec=[Ks,Ys,Xs,Qs],tc="start",rc="end",nc="viewport",ac="popper",oc=ec.reduce((function(e,t){return e.concat([t+"-"+tc,t+"-"+rc])}),[]),ic=[].concat(ec,[Js]).reduce((function(e,t){return e.concat([t,t+"-"+tc,t+"-"+rc])}),[]),lc=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function sc(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}function cc(e){var t;return function(){return t||(t=new Promise((function(r){Promise.resolve().then((function(){t=void 0,r(e())}))}))),t}}var uc={placement:"bottom",modifiers:[],strategy:"absolute"};function dc(){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 pc(e){void 0===e&&(e={});var t=e,r=t.defaultModifiers,n=void 0===r?[]:r,a=t.defaultOptions,o=void 0===a?uc:a;return function(e,t,r){void 0===r&&(r=o);var a={placement:"bottom",orderedModifiers:[],options:Object.assign({},uc,o),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},i=[],l=!1,s={state:a,setOptions:function(r){var l="function"==typeof r?r(a.options):r;c(),a.options=Object.assign({},o,a.options,l),a.scrollParents={reference:Cs(e)?$s(e):e.contextElement?$s(e.contextElement):[],popper:$s(t)};var u,d,p=function(e){var t=sc(e);return lc.reduce((function(e,r){return e.concat(t.filter((function(e){return e.phase===r})))}),[])}((u=[].concat(n,a.options.modifiers),d=u.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(d).map((function(e){return d[e]}))));return a.orderedModifiers=p.filter((function(e){return e.enabled})),a.orderedModifiers.forEach((function(e){var t=e.name,r=e.options,n=void 0===r?{}:r,o=e.effect;if("function"==typeof o){var l=o({state:a,name:t,instance:s,options:n});i.push(l||function(){})}})),s.update()},forceUpdate:function(){if(!l){var e=a.elements,t=e.reference,r=e.popper;if(dc(t,r)){a.rects={reference:Hs(t,qs(r),"fixed"===a.options.strategy),popper:js(r)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(e){return a.modifiersData[e.name]=Object.assign({},e.data)}));for(var n=0;n<a.orderedModifiers.length;n++)if(!0!==a.reset){var o=a.orderedModifiers[n],i=o.fn,c=o.options,u=void 0===c?{}:c,d=o.name;"function"==typeof i&&(a=i({state:a,options:u,name:d,instance:s})||a)}else a.reset=!1,n=-1}}},update:cc((function(){return new Promise((function(e){s.forceUpdate(),e(a)}))})),destroy:function(){c(),l=!0}};if(!dc(e,t))return s;function c(){i.forEach((function(e){return e()})),i=[]}return s.setOptions(r).then((function(e){!l&&r.onFirstUpdate&&r.onFirstUpdate(e)})),s}}var mc={passive:!0};const hc={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=Ps(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach((function(e){e.addEventListener("scroll",r.update,mc)})),l&&s.addEventListener("resize",r.update,mc),function(){o&&c.forEach((function(e){e.removeEventListener("scroll",r.update,mc)})),l&&s.removeEventListener("resize",r.update,mc)}},data:{}};function fc(e){return e.split("-")[0]}function vc(e){return e.split("-")[1]}function gc(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function bc(e){var t,r=e.reference,n=e.element,a=e.placement,o=a?fc(a):null,i=a?vc(a):null,l=r.x+r.width/2-n.width/2,s=r.y+r.height/2-n.height/2;switch(o){case Ks:t={x:l,y:r.y-n.height};break;case Ys:t={x:l,y:r.y+r.height};break;case Xs:t={x:r.x+r.width,y:s};break;case Qs:t={x:r.x-n.width,y:s};break;default:t={x:r.x,y:r.y}}var c=o?gc(o):null;if(null!=c){var u="y"===c?"height":"width";switch(i){case tc:t[c]=t[c]-(r[u]/2-n[u]/2);break;case rc:t[c]=t[c]+(r[u]/2-n[u]/2)}}return t}const yc={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,r=e.name;t.modifiersData[r]=bc({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};var Ec={top:"auto",right:"auto",bottom:"auto",left:"auto"};function kc(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 g=i.hasOwnProperty("x"),b=i.hasOwnProperty("y"),y=Qs,E=Ks,k=window;if(c){var w=qs(r),x="clientHeight",_="clientWidth";w===Ps(r)&&"static"!==zs(w=Vs(r)).position&&"absolute"===l&&(x="scrollHeight",_="scrollWidth"),(a===Ks||(a===Qs||a===Xs)&&o===rc)&&(E=Ys,f-=(d&&w===k&&k.visualViewport?k.visualViewport.height:w[x])-n.height,f*=s?1:-1),a!==Qs&&(a!==Ks&&a!==Ys||o!==rc)||(y=Xs,m-=(d&&w===k&&k.visualViewport?k.visualViewport.width:w[_])-n.width,m*=s?1:-1)}var P,C=Object.assign({position:l},c&&Ec),A=!0===u?function(e,t){var r=e.x,n=e.y,a=t.devicePixelRatio||1;return{x:Ts(r*a)/a||0,y:Ts(n*a)/a||0}}({x:m,y:f},Ps(r)):{x:m,y:f};return m=A.x,f=A.y,s?Object.assign({},C,((P={})[E]=b?"0":"",P[y]=g?"0":"",P.transform=(k.devicePixelRatio||1)<=1?"translate("+m+"px, "+f+"px)":"translate3d("+m+"px, "+f+"px, 0)",P)):Object.assign({},C,((t={})[E]=b?f+"px":"",t[y]=g?m+"px":"",t.transform="",t))}const wc={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:fc(t.placement),variation:vc(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,kc(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,kc(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:{}},xc={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];As(a)&&Bs(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}),{});As(n)&&Bs(n)&&(Object.assign(n.style,o),Object.keys(a).forEach((function(e){n.removeAttribute(e)})))}))}},requires:["computeStyles"]},_c={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=ic.reduce((function(e,r){return e[r]=function(e,t,r){var n=fc(e),a=[Qs,Ks].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,[Qs,Xs].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 Pc={left:"right",right:"left",bottom:"top",top:"bottom"};function Cc(e){return e.replace(/left|right|bottom|top/g,(function(e){return Pc[e]}))}var Ac={start:"end",end:"start"};function Sc(e){return e.replace(/start|end/g,(function(e){return Ac[e]}))}function Rc(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Ss(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Mc(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Tc(e,t,r){return t===nc?Mc(function(e,t){var r=Ps(e),n=Vs(e),a=r.visualViewport,o=n.clientWidth,i=n.clientHeight,l=0,s=0;if(a){o=a.width,i=a.height;var c=Is();(c||!c&&"fixed"===t)&&(l=a.offsetLeft,s=a.offsetTop)}return{width:o,height:i,x:l+Ns(e),y:s}}(e,r)):Cs(t)?function(e,t){var r=Ls(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):Mc(function(e){var t,r=Vs(e),n=Ds(e),a=null==(t=e.ownerDocument)?void 0:t.body,o=Rs(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),i=Rs(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),l=-n.scrollLeft+Ns(e),s=-n.scrollTop;return"rtl"===zs(a||r).direction&&(l+=Rs(r.clientWidth,a?a.clientWidth:0)-o),{width:o,height:i,x:l,y:s}}(Vs(e)))}function Oc(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Ic(e,t){return t.reduce((function(t,r){return t[r]=e,t}),{})}function Lc(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?nc:c,d=r.elementContext,p=void 0===d?ac:d,m=r.altBoundary,h=void 0!==m&&m,f=r.padding,v=void 0===f?0:f,g=Oc("number"!=typeof v?v:Ic(v,ec)),b=p===ac?"reference":ac,y=e.rects.popper,E=e.elements[h?b:p],k=function(e,t,r,n){var a="clippingParents"===t?function(e){var t=$s(Ws(e)),r=["absolute","fixed"].indexOf(zs(e).position)>=0&&As(e)?qs(e):e;return Cs(r)?t.filter((function(e){return Cs(e)&&Rc(e,r)&&"body"!==Bs(e)})):[]}(e):[].concat(t),o=[].concat(a,[r]),i=o[0],l=o.reduce((function(t,r){var a=Tc(e,r,n);return t.top=Rs(a.top,t.top),t.right=Ms(a.right,t.right),t.bottom=Ms(a.bottom,t.bottom),t.left=Rs(a.left,t.left),t}),Tc(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}(Cs(E)?E:E.contextElement||Vs(e.elements.popper),s,u,i),w=Ls(e.elements.reference),x=bc({reference:w,element:y,strategy:"absolute",placement:a}),_=Mc(Object.assign({},y,x)),P=p===ac?_:w,C={top:k.top-P.top+g.top,bottom:P.bottom-k.bottom+g.bottom,left:k.left-P.left+g.left,right:P.right-k.right+g.right},A=e.modifiersData.offset;if(p===ac&&A){var S=A[a];Object.keys(C).forEach((function(e){var t=[Xs,Ys].indexOf(e)>=0?1:-1,r=[Ks,Ys].indexOf(e)>=0?"y":"x";C[e]+=S[r]*t}))}return C}const Dc={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,g=fc(v),b=s||(g!==v&&h?function(e){if(fc(e)===Js)return[];var t=Cc(e);return[Sc(e),t,Sc(t)]}(v):[Cc(v)]),y=[v].concat(b).reduce((function(e,r){return e.concat(fc(r)===Js?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?ic:s,u=vc(n),d=u?l?oc:oc.filter((function(e){return vc(e)===u})):ec,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]=Lc(e,{placement:r,boundary:a,rootBoundary:o,padding:i})[fc(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=fc(C),S=vc(C)===tc,R=[Ks,Ys].indexOf(A)>=0,M=R?"width":"height",T=Lc(t,{placement:C,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),O=R?S?Xs:Qs:S?Ys:Ks;E[M]>k[M]&&(O=Cc(O));var I=Cc(O),L=[];if(o&&L.push(T[A]<=0),l&&L.push(T[O]<=0,T[I]<=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 Bc(e,t,r){return Rs(e,Ms(t,r))}const Vc={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=Lc(t,{boundary:s,rootBoundary:c,padding:d,altBoundary:u}),g=fc(t.placement),b=vc(t.placement),y=!b,E=gc(g),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?Ks:Qs,T="y"===E?Ys:Xs,O="y"===E?"height":"width",I=w[E],L=I+v[M],D=I-v[T],B=m?-_[O]/2:0,V=b===tc?x[O]:_[O],N=b===tc?-_[O]:-x[O],z=t.elements.arrow,F=m&&z?js(z):{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],Z=Bc(0,x[O],F[O]),$=y?x[O]/2-B-Z-j-C.mainAxis:V-Z-j-C.mainAxis,U=y?-x[O]/2+B+Z+W+C.mainAxis:N+Z+W+C.mainAxis,G=t.elements.arrow&&qs(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=I+U-K,X=Bc(m?Ms(L,I+$-K-q):L,I,m?Rs(D,Y):D);w[E]=X,S[E]=X-I}if(l){var Q,J="x"===E?Ks:Qs,ee="x"===E?Ys:Xs,te=w[k],re="y"===k?"height":"width",ne=te+v[J],ae=te-v[ee],oe=-1!==[Ks,Qs].indexOf(g),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=Bc(e,t,r);return n>r?r:n}(le,te,se):Bc(m?le:ne,te,m?se:ae);w[k]=ce,S[k]=ce-te}t.modifiersData[n]=S}},requiresIfExists:["offset"]},Nc={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=fc(r.placement),s=gc(l),c=[Qs,Xs].indexOf(l)>=0?"height":"width";if(o&&i){var u=function(e,t){return Oc("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Ic(e,ec))}(a.padding,r),d=js(o),p="y"===s?Ks:Qs,m="y"===s?Ys:Xs,h=r.rects.reference[c]+r.rects.reference[s]-i[s]-r.rects.popper[c],f=i[s]-r.rects.reference[s],v=qs(o),g=v?"y"===s?v.clientHeight||0:v.clientWidth||0:0,b=h/2-f/2,y=u[p],E=g-d[c]-u[m],k=g/2-d[c]/2+b,w=Bc(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)))&&Rc(t.elements.popper,n)&&(t.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function zc(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 Fc(e){return[Ks,Xs,Ys,Qs].some((function(t){return e[t]>=0}))}const Hc={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=Lc(t,{elementContext:"reference"}),l=Lc(t,{altBoundary:!0}),s=zc(i,n),c=zc(l,a,o),u=Fc(s),d=Fc(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 jc=pc({defaultModifiers:[hc,yc,wc,xc,_c,Dc,Vc,Nc,Hc]});function Wc(){return Wc=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},Wc.apply(this,arguments)}var Zc=function(e,t){return{var:e,varRef:t?"var("+e+", "+t+")":"var("+e+")"}},$c={arrowShadowColor:Zc("--popper-arrow-shadow-color"),arrowSize:Zc("--popper-arrow-size","8px"),arrowSizeHalf:Zc("--popper-arrow-size-half"),arrowBg:Zc("--popper-arrow-bg"),transformOrigin:Zc("--popper-transform-origin"),arrowOffset:Zc("--popper-arrow-offset")},Uc={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"},Gc={scroll:!0,resize:!0},qc={name:"matchWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;t.styles.popper.width=t.rects.reference.width+"px"},effect:function(e){var t=e.state;return function(){var e=t.elements.reference;t.elements.popper.style.width=e.offsetWidth+"px"}}},Kc={name:"transformOrigin",enabled:!0,phase:"write",fn:function(e){var t=e.state;Yc(t)},effect:function(e){var t=e.state;return function(){Yc(t)}}},Yc=function(e){var t;e.elements.popper.style.setProperty($c.transformOrigin.var,(t=e.placement,Uc[t]))},Xc={name:"positionArrow",enabled:!0,phase:"afterWrite",fn:function(e){var t=e.state;Qc(t)}},Qc=function(e){var t;if(e.placement){var r=Jc(e.placement);if(null!=(t=e.elements)&&t.arrow&&r){var n,a;Object.assign(e.elements.arrow.style,((n={})[r.property]=r.value,n.width=$c.arrowSize.varRef,n.height=$c.arrowSize.varRef,n.zIndex=-1,n));var o=((a={})[$c.arrowSizeHalf.var]="calc("+$c.arrowSize.varRef+" / 2)",a[$c.arrowOffset.var]="calc("+$c.arrowSizeHalf.varRef+" * -1)",a);for(var i in o)e.elements.arrow.style.setProperty(i,o[i])}}},Jc=function(e){return e.startsWith("top")?{property:"bottom",value:$c.arrowOffset.varRef}:e.startsWith("bottom")?{property:"top",value:$c.arrowOffset.varRef}:e.startsWith("left")?{property:"right",value:$c.arrowOffset.varRef}:e.startsWith("right")?{property:"left",value:$c.arrowOffset.varRef}:void 0},eu={name:"innerArrow",enabled:!0,phase:"main",requires:["arrow"],fn:function(e){var t=e.state;tu(t)},effect:function(e){var t=e.state;return function(){tu(t)}}},tu=function(e){if(e.elements.arrow){var t,r=e.elements.arrow.querySelector("[data-popper-arrow-inner]");r&&Object.assign(r.style,{transform:"rotate(45deg)",background:$c.arrowBg.varRef,top:0,left:0,width:"100%",height:"100%",position:"absolute",zIndex:"inherit",boxShadow:(t=e.placement,t.includes("top")?"1px 1px 1px 0 var(--popper-arrow-shadow-color)":t.includes("bottom")?"-1px -1px 1px 0 var(--popper-arrow-shadow-color)":t.includes("right")?"-1px 1px 1px 0 var(--popper-arrow-shadow-color)":t.includes("left")?"1px -1px 1px 0 var(--popper-arrow-shadow-color)":void 0)})}},ru={"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"}},nu={"auto-start":"auto-end","auto-end":"auto-start","top-start":"top-end","top-end":"top-start","bottom-start":"bottom-end","bottom-end":"bottom-start"},au=["size","shadowColor","bg","style"];function ou(e){void 0===e&&(e={});var t=e,r=t.enabled,n=void 0===r||r,a=t.modifiers,o=t.placement,i=void 0===o?"bottom":o,l=t.strategy,s=void 0===l?"absolute":l,c=t.arrowPadding,u=void 0===c?8:c,d=t.eventListeners,p=void 0===d||d,m=t.offset,h=t.gutter,f=void 0===h?8:h,v=t.flip,g=void 0===v||v,b=t.boundary,y=void 0===b?"clippingParents":b,E=t.preventOverflow,k=void 0===E||E,w=t.matchWidth,x=t.direction,_=void 0===x?"ltr":x,P=(0,U.useRef)(null),C=(0,U.useRef)(null),A=(0,U.useRef)(null),S=function(e,t){var r,n;void 0===t&&(t="ltr");var a=(null==(r=ru[e])?void 0:r[t])||e;return"ltr"===t?a:null!=(n=nu[e])?n:a}(i,_),R=(0,U.useRef)((function(){})),M=(0,U.useCallback)((function(){var e;n&&P.current&&C.current&&(null==R.current||R.current(),A.current=jc(P.current,C.current,{placement:S,modifiers:[eu,Xc,Kc,Wc({},qc,{enabled:!!w}),Wc({name:"eventListeners"},(e=p,"object"==typeof e?{enabled:!0,options:Wc({},Gc,e)}:{enabled:e,options:Gc})),{name:"arrow",options:{padding:u}},{name:"offset",options:{offset:null!=m?m:[0,f]}},{name:"flip",enabled:!!g,options:{padding:8}},{name:"preventOverflow",enabled:!!k,options:{boundary:y}}].concat(null!=a?a:[]),strategy:s}),A.current.forceUpdate(),R.current=A.current.destroy)}),[S,n,a,w,p,u,m,f,g,k,y,s]);(0,U.useEffect)((function(){return function(){var e;P.current||C.current||(null==(e=A.current)||e.destroy(),A.current=null)}}),[]);var T=(0,U.useCallback)((function(e){P.current=e,M()}),[M]),O=(0,U.useCallback)((function(e,t){return void 0===e&&(e={}),void 0===t&&(t=null),Wc({},e,{ref:si(T,t)})}),[T]),I=(0,U.useCallback)((function(e){C.current=e,M()}),[M]),L=(0,U.useCallback)((function(e,t){return void 0===e&&(e={}),void 0===t&&(t=null),Wc({},e,{ref:si(I,t),style:Wc({},e.style,{position:s,minWidth:"max-content",inset:"0 auto auto 0"})})}),[s,I]),D=(0,U.useCallback)((function(e,t){void 0===e&&(e={}),void 0===t&&(t=null);var r=e;r.size,r.shadowColor,r.bg,r.style;var n=function(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}(r,au);return Wc({},n,{ref:t,"data-popper-arrow":"",style:iu(e)})}),[]),B=(0,U.useCallback)((function(e,t){return void 0===e&&(e={}),void 0===t&&(t=null),Wc({},e,{ref:t,"data-popper-arrow-inner":""})}),[]);return{update:function(){var e;null==(e=A.current)||e.update()},forceUpdate:function(){var e;null==(e=A.current)||e.forceUpdate()},transformOrigin:$c.transformOrigin.varRef,referenceRef:T,popperRef:I,getPopperProps:L,getArrowProps:D,getArrowInnerProps:B,getReferenceProps:O}}function iu(e){var t=e.size,r=e.shadowColor,n=e.bg,a=Wc({},e.style,{position:"absolute"});return t&&(a["--popper-arrow-size"]=t),r&&(a["--popper-arrow-shadow-color"]=r),n&&(a["--popper-arrow-bg"]=n),a}var lu=r(5795),su=ci({strict:!1,name:"PortalManagerContext"}),cu=su[0],uu=su[1];function du(e){var t=e.children,r=e.zIndex;return U.createElement(cu,{value:{zIndex:r}},t)}function pu(){return pu=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},pu.apply(this,arguments)}var mu=["containerRef"],hu=ci({strict:!1,name:"PortalContext"}),fu=hu[0],vu=hu[1],gu="chakra-portal",bu=function(e){return U.createElement("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:e.zIndex,top:0,left:0,right:0}},e.children)},yu=function(e){var t=e.appendToParentPortal,r=e.children,n=U.useRef(null),a=U.useRef(null),o=Er(),i=vu(),l=uu();Kt((function(){if(n.current){var e=n.current.ownerDocument,r=t&&null!=i?i:e.body;if(r){a.current=e.createElement("div"),a.current.className=gu,r.appendChild(a.current),o();var l=a.current;return function(){r.contains(l)&&r.removeChild(l)}}}}),[]);var s=null!=l&&l.zIndex?U.createElement(bu,{zIndex:null==l?void 0:l.zIndex},r):r;return a.current?(0,lu.createPortal)(U.createElement(fu,{value:a.current},s),a.current):U.createElement("span",{ref:n})},Eu=function(e){var t=e.children,r=e.containerRef,n=e.appendToParentPortal,a=r.current,o=null!=a?a:$e?document.body:void 0,i=U.useMemo((function(){var e=null==a?void 0:a.ownerDocument.createElement("div");return e&&(e.className=gu),e}),[a]),l=Er();return Kt((function(){l()}),[]),Kt((function(){if(i&&o)return o.appendChild(i),function(){o.removeChild(i)}}),[i,o]),o&&i?(0,lu.createPortal)(U.createElement(fu,{value:n?i:null},t),i):null};function ku(e){var t=e.containerRef,r=function(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}(e,mu);return t?U.createElement(Eu,pu({containerRef:t},r)):U.createElement(yu,r)}ku.defaultProps={appendToParentPortal:!0},ku.className=gu,ku.selector=".chakra-portal";var wu={border:"0px",clip:"rect(0px, 0px, 0px, 0px)",height:"1px",width:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},xu=Ni("span",{baseStyle:wu});Ni("input",{baseStyle:wu});var _u=function(e,t){return _u=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])},_u(e,t)};function Pu(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}_u(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var Cu=function(){return Cu=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},Cu.apply(this,arguments)};function Au(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 Su(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 Ru(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 Mu=("undefined"==typeof process||process.env,"production"),Tu=function(e){return{isEnabled:function(t){return e.some((function(e){return!!t[e]}))}}},Ou={measureLayout:Tu(["layout","layoutId","drag"]),animation:Tu(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:Tu(["exit"]),drag:Tu(["drag","dragControls"]),focus:Tu(["whileFocus"]),hover:Tu(["whileHover","onHoverStart","onHoverEnd"]),tap:Tu(["whileTap","onTap","onTapStart","onTapCancel"]),pan:Tu(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:Tu(["whileInView","onViewportEnter","onViewportLeave"])},Iu=function(){},Lu=function(){},Du=(0,U.createContext)({strict:!1}),Bu=Object.keys(Ou),Vu=Bu.length,Nu=(0,U.createContext)({transformPagePoint:function(e){return e},isStatic:!1,reducedMotion:"never"}),zu=(0,U.createContext)({}),Fu=(0,U.createContext)(null),Hu="undefined"!=typeof document,ju=Hu?U.useLayoutEffect:U.useEffect,Wu={current:null},Zu=!1;function $u(e,t,r,n){var a,o,i=(0,U.useContext)(Du),l=(0,U.useContext)(zu).visualElement,s=(0,U.useContext)(Fu),c=(!Zu&&function(){if(Zu=!0,Hu)if(window.matchMedia){var e=window.matchMedia("(prefers-reduced-motion)"),t=function(){return Wu.current=e.matches};e.addListener(t),t()}else Wu.current=!1}(),a=Su((0,U.useState)(Wu.current),1)[0],"never"!==(o=(0,U.useContext)(Nu).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 ju((function(){null==d||d.syncRender()})),(0,U.useEffect)((function(){var e;null===(e=null==d?void 0:d.animationState)||void 0===e||e.animateChanges()})),ju((function(){return function(){return null==d?void 0:d.notifyUnmount()}}),[]),d}function Uu(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function Gu(e){return Array.isArray(e)}function qu(e){return"string"==typeof e||Gu(e)}function Ku(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 Yu(e,t,r){var n=e.getProps();return Ku(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 Xu(e){var t;return"function"==typeof(null===(t=e.animate)||void 0===t?void 0:t.start)||qu(e.initial)||qu(e.animate)||qu(e.whileHover)||qu(e.whileDrag)||qu(e.whileTap)||qu(e.whileFocus)||qu(e.exit)}function Qu(e){return Boolean(Xu(e)||e.variants)}function Ju(e){return Array.isArray(e)?e.join(" "):e}function ed(e){var t=(0,U.useRef)(null);return null===t.current&&(t.current=e()),t.current}var td={hasAnimatedSinceResize:!0,hasEverUpdated:!1},rd=1,nd=(0,U.createContext)({}),ad=(0,U.createContext)({}),od=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Pu(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 id(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?Ou.projectionNodeConstructor=e[t]:Ou[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)(nd))||void 0===t?void 0:t.id;return n&&void 0!==r?n+"-"+r:r}(e);e=Cu(Cu({},e),{layoutId:s});var c=(0,U.useContext)(Nu),u=null,d=function(e){var t=function(e,t){if(Xu(e)){var r=e.initial,n=e.animate;return{initial:!1===r||qu(r)?r:void 0,animate:qu(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,(0,U.useContext)(zu)),r=t.initial,n=t.animate;return(0,U.useMemo)((function(){return{initial:r,animate:n}}),[Ju(r),Ju(n)])}(e),p=c.isStatic?void 0:ed((function(){if(td.hasEverUpdated)return rd++})),m=o(e,c.isStatic);return!c.isStatic&&Hu&&(d.visualElement=$u(i,m,Cu(Cu({},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)(ad);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&&Uu(s),visualElement:r,scheduleRender:function(){return r.scheduleRender()},animationType:"string"==typeof i?i:"both",initialPromotionConfig:u,layoutScroll:c}))}(p,e,d.visualElement,n||Ou.projectionNodeConstructor),u=function(e,t,r){var n=[],a=(0,U.useContext)(Du);if(!t)return null;"production"!==Mu&&r&&a.strict&&Lu(!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<Vu;o++){var i=Bu[o],l=Ou[i],s=l.isEnabled,c=l.Component;s(e)&&c&&n.push(U.createElement(c,Cu({key:i},e,{visualElement:t})))}return n}(e,d.visualElement,t)),U.createElement(od,{visualElement:d.visualElement,props:Cu(Cu({},c),e)},u,U.createElement(zu.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):Uu(r)&&(r.current=n))}),[t])}(m,d.visualElement,l),m,c.isStatic,d.visualElement)))}))}function ld(e){function t(t,r){return void 0===r&&(r={}),id(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 sd=["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 cd(e){return"string"==typeof e&&!e.includes("-")&&!!(sd.indexOf(e)>-1||/[A-Z]/.test(e))}var ud={},dd=["","X","Y","Z"],pd=["transformPerspective","x","y","z"];function md(e,t){return pd.indexOf(e)-pd.indexOf(t)}["translate","scale","rotate","skew"].forEach((function(e){return dd.forEach((function(t){return pd.push(e+t)}))}));var hd=new Set(pd);function fd(e){return hd.has(e)}var vd=new Set(["originX","originY","originZ"]);function gd(e){return vd.has(e)}function bd(e,t){var r=t.layout,n=t.layoutId;return fd(e)||gd(e)||(r||void 0!==n)&&(!!ud[e]||"opacity"===e)}var yd=function(e){return Boolean(null!==e&&"object"==typeof e&&e.getVelocity)},Ed={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function kd(e){return e.startsWith("--")}var wd=function(e,t){return t&&"number"==typeof e?t.transform(e):e};const xd=(e,t)=>r=>Math.max(Math.min(r,t),e),_d=e=>e%1?Number(e.toFixed(5)):e,Pd=/(-)?([\d]*\.?[\d])+/g,Cd=/(#[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,Ad=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function Sd(e){return"string"==typeof e}const Rd=e=>({test:t=>Sd(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),Md=Rd("deg"),Td=Rd("%"),Od=Rd("px"),Id=Rd("vh"),Ld=Rd("vw"),Dd=Object.assign(Object.assign({},Td),{parse:e=>Td.parse(e)/100,transform:e=>Td.transform(100*e)}),Bd={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},Vd=Object.assign(Object.assign({},Bd),{transform:xd(0,1)}),Nd=Object.assign(Object.assign({},Bd),{default:1});var zd=Cu(Cu({},Bd),{transform:Math.round}),Fd={borderWidth:Od,borderTopWidth:Od,borderRightWidth:Od,borderBottomWidth:Od,borderLeftWidth:Od,borderRadius:Od,radius:Od,borderTopLeftRadius:Od,borderTopRightRadius:Od,borderBottomRightRadius:Od,borderBottomLeftRadius:Od,width:Od,maxWidth:Od,height:Od,maxHeight:Od,size:Od,top:Od,right:Od,bottom:Od,left:Od,padding:Od,paddingTop:Od,paddingRight:Od,paddingBottom:Od,paddingLeft:Od,margin:Od,marginTop:Od,marginRight:Od,marginBottom:Od,marginLeft:Od,rotate:Md,rotateX:Md,rotateY:Md,rotateZ:Md,scale:Nd,scaleX:Nd,scaleY:Nd,scaleZ:Nd,skew:Md,skewX:Md,skewY:Md,distance:Od,translateX:Od,translateY:Od,translateZ:Od,x:Od,y:Od,z:Od,perspective:Od,transformPerspective:Od,opacity:Vd,originX:Dd,originY:Dd,originZ:Od,zIndex:zd,fillOpacity:Vd,strokeOpacity:Vd,numOctaves:zd};function Hd(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(kd(m))i[m]=h;else{var f=Fd[m],v=wd(h,f);if(fd(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 gd(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(md);for(var d=!1,p=o.length,m=0;m<p;m++){var h=o[m];u+="".concat(Ed[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 jd=function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}};function Wd(e,t,r){for(var n in t)yd(t[n])||bd(n,r)||(e[n]=t[n])}function Zd(e,t,r){var n={},a=function(e,t,r){var n={};return Wd(n,e.style||{},e),Object.assign(n,function(e,t,r){var n=e.transformTemplate;return(0,U.useMemo)((function(){var e=jd();Hd(e,t,{enableHardwareAcceleration:!r},n);var a=e.vars,o=e.style;return Cu(Cu({},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 $d=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 Ud(e){return $d.has(e)}var Gd,qd=function(e){return!Ud(e)};try{(Gd=require("@emotion/is-prop-valid").default)&&(qd=function(e){return e.startsWith("on")?!Ud(e):Gd(e)})}catch(qz){}function Kd(e,t,r){return"string"==typeof e?e:Od.transform(t+r*e)}var Yd={offset:"stroke-dashoffset",array:"stroke-dasharray"},Xd={offset:"strokeDashoffset",array:"strokeDasharray"};function Qd(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;Hd(e,Au(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=Kd(t,e.x,e.width),a=Kd(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?Yd:Xd;e[o.offset]=Od.transform(-n);var i=Od.transform(t),l=Od.transform(r);e[o.array]="".concat(i," ").concat(l)}(m,s,u,p,!1)}var Jd=function(){return Cu(Cu({},jd()),{attrs:{}})};function ep(e,t){var r=(0,U.useMemo)((function(){var r=Jd();return Qd(r,t,{enableHardwareAcceleration:!1},e.transformTemplate),Cu(Cu({},r.attrs),{style:Cu({},r.style)})}),[t]);if(e.style){var n={};Wd(n,e.style,e),r.style=Cu(Cu({},n),r.style)}return r}function tp(e){return void 0===e&&(e=!1),function(t,r,n,a,o,i){var l=o.latestValues,s=(cd(t)?ep:Zd)(r,l,i),c=function(e,t,r){var n={};for(var a in e)(qd(a)||!0===r&&Ud(a)||!t&&!Ud(a)||e.draggable&&a.startsWith("onDrag"))&&(n[a]=e[a]);return n}(r,"string"==typeof t,e),u=Cu(Cu(Cu({},c),s),{ref:a});return n&&(u["data-projection-id"]=n),(0,U.createElement)(t,u)}}var rp=/([a-z])([A-Z])/g,np=function(e){return e.replace(rp,"$1-$2").toLowerCase()};function ap(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 op=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function ip(e,t,r,n){for(var a in ap(e,t,void 0,n),t.attrs)e.setAttribute(op.has(a)?a:np(a),t.attrs[a])}function lp(e){var t=e.style,r={};for(var n in t)(yd(t[n])||bd(n,e))&&(r[n]=t[n]);return r}function sp(e){var t=lp(e);for(var r in e)yd(e[r])&&(t["x"===r||"y"===r?"attr"+r.toUpperCase():r]=e[r]);return t}function cp(e){return"object"==typeof e&&"function"==typeof e.start}var up=function(e){return Array.isArray(e)},dp=function(e){return Boolean(e&&"object"==typeof e&&e.mix&&e.toValue)},pp=function(e){return up(e)?e[e.length-1]||0:e};function mp(e){var t=yd(e)?e.get():e;return dp(t)?t.toValue():t}function hp(e,t,r,n){var a=e.scrapeMotionValuesFromProps,o=e.createRenderState,i=e.onMount,l={latestValues:vp(t,r,n,a),renderState:o()};return i&&(l.mount=function(e){return i(t,e,l)}),l}var fp=function(e){return function(t,r){var n=(0,U.useContext)(zu),a=(0,U.useContext)(Fu);return r?hp(e,t,n,a):ed((function(){return hp(e,t,n,a)}))}};function vp(e,t,r,n){var a={},o=!1===(null==r?void 0:r.initial),i=n(e);for(var l in i)a[l]=mp(i[l]);var s=e.initial,c=e.animate,u=Xu(e),d=Qu(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&&!cp(m)&&(Array.isArray(m)?m:[m]).forEach((function(t){var r=Ku(e,t);if(r){var n=r.transitionEnd;r.transition;var o=Au(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 gp,bp={useVisualState:fp({scrapeMotionValuesFromProps:sp,createRenderState:Jd,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}}Qd(n,a,{enableHardwareAcceleration:!1},e.transformTemplate),ip(t,n)}})},yp={useVisualState:fp({scrapeMotionValuesFromProps:lp,createRenderState:jd})};function Ep(e,t,r,n){return void 0===n&&(n={passive:!0}),e.addEventListener(t,r,n),function(){return e.removeEventListener(t,r)}}function kp(e,t,r,n){(0,U.useEffect)((function(){var a=e.current;if(r&&a)return Ep(a,t,r,n)}),[e,t,r,n])}function xp(e){return"undefined"!=typeof PointerEvent&&e instanceof PointerEvent?!("mouse"!==e.pointerType):e instanceof MouseEvent}function _p(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"}(gp||(gp={}));var Pp={pageX:0,pageY:0};function Cp(e,t){void 0===t&&(t="page");var r=e.touches[0]||e.changedTouches[0]||Pp;return{x:r[t+"X"],y:r[t+"Y"]}}function Ap(e,t){return void 0===t&&(t="page"),{x:e[t+"X"],y:e[t+"Y"]}}function Sp(e,t){return void 0===t&&(t="page"),{point:_p(e)?Cp(e,t):Ap(e,t)}}var Rp=function(e,t){void 0===t&&(t=!1);var r,n=function(t){return e(t,Sp(t))};return t?(r=n,function(e){var t=e instanceof MouseEvent;(!t||t&&0===e.button)&&r(e)}):n},Mp=function(){return Hu&&null===window.onpointerdown},Tp=function(){return Hu&&null===window.ontouchstart},Op=function(){return Hu&&null===window.onmousedown},Ip={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},Lp={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function Dp(e){return Mp()?e:Tp()?Lp[e]:Op()?Ip[e]:e}function Bp(e,t,r,n){return Ep(e,Dp(t),Rp(r,"pointerdown"===t),n)}function Vp(e,t,r,n){return kp(e,Dp(t),r&&Rp(r,"pointerdown"===t),n)}function Np(e){var t=null;return function(){return null===t&&(t=e,function(){t=null})}}var zp=Np("dragHorizontal"),Fp=Np("dragVertical");function Hp(e){var t=!1;if("y"===e)t=Fp();else if("x"===e)t=zp();else{var r=zp(),n=Fp();r&&n?t=function(){r(),n()}:(r&&r(),n&&n())}return t}function jp(){var e=Hp(!0);return!e||(e(),!1)}function Wp(e,t,r){return function(n,a){var o;xp(n)&&!jp()&&(null===(o=e.animationState)||void 0===o||o.setActive(gp.Hover,t),null==r||r(n,a))}}var Zp=function(e,t){return!!t&&(e===t||Zp(e,t.parentElement))};function $p(e){return(0,U.useEffect)((function(){return function(){return e()}}),[])}const Up=(e,t)=>r=>t(e(r)),Gp=(...e)=>e.reduce(Up);var qp=new Set,Kp=new WeakMap,Yp=new WeakMap,Xp=function(e){var t;null===(t=Kp.get(e.target))||void 0===t||t(e)},Qp=function(e){e.forEach(Xp)};var Jp={some:0,all:1};function em(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:Jp[l]};return function(e,t,r){var n=function(e){var t=e.root,r=Au(e,["root"]),n=t||document;Yp.has(n)||Yp.set(n,{});var a=Yp.get(n),o=JSON.stringify(r);return a[o]||(a[o]=new IntersectionObserver(Qp,Cu({root:t},r))),a[o]}(t);return Kp.set(e,r),n.observe(e),function(){Kp.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(gp.InView,a);var o=r.getProps(),i=a?o.onViewportEnter:o.onViewportLeave;null==i||i(e)}}))}}),[e,a,o,l])}function tm(e,t,r,n){var a=n.fallback,o=void 0===a||a;(0,U.useEffect)((function(){var n;e&&o&&("production"!==Mu&&(n="IntersectionObserver not available on this device. whileInView animations will trigger on mount.",qp.has(n)||(console.warn(n),qp.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(gp.InView,!0)})))}),[e])}var rm=function(e){return function(t){return e(t),null}},nm={inView:rm((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?tm:em)(s,l.current,t,i)})),tap:rm((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(gp.Tap,!1),!jp()}function p(e,r){d()&&(Zp(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=Gp(Bp(window,"pointerup",p,c),Bp(window,"pointercancel",m,c)),null===(n=o.animationState)||void 0===n||n.setActive(gp.Tap,!0),null==r||r(e,t))}Vp(o,"pointerdown",i?h:void 0,c),$p(u)})),focus:rm((function(e){var t=e.whileFocus,r=e.visualElement;kp(r,"focus",t?function(){var e;null===(e=r.animationState)||void 0===e||e.setActive(gp.Focus,!0)}:void 0),kp(r,"blur",t?function(){var e;null===(e=r.animationState)||void 0===e||e.setActive(gp.Focus,!1)}:void 0)})),hover:rm((function(e){var t=e.onHoverStart,r=e.onHoverEnd,n=e.whileHover,a=e.visualElement;Vp(a,"pointerenter",t||n?Wp(a,!0,t):void 0,{passive:!t}),Vp(a,"pointerleave",r||n?Wp(a,!1,r):void 0,{passive:!r})}))},am=0,om=function(){return am++},im=function(){return ed(om)};function lm(){var e=(0,U.useContext)(Fu);if(null===e)return[!0,null];var t=e.isPresent,r=e.onExitComplete,n=e.register,a=im();return(0,U.useEffect)((function(){return n(a)}),[]),!t&&r?[!1,function(){return null==r?void 0:r(a)}]:[!0]}function sm(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 cm=(e,t,r)=>Math.min(Math.max(r,e),t),um=.001,dm=.01,pm=10,mm=.05,hm=1;const fm=12;function vm(e,t){return e*Math.sqrt(1-t*t)}const gm=["duration","bounce"],bm=["stiffness","damping","mass"];function ym(e,t){return t.some((t=>void 0!==e[t]))}function Em(e){var{from:t=0,to:r=1,restSpeed:n=2,restDelta:a}=e,o=Au(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(!ym(e,bm)&&ym(e,gm)){const r=function({duration:e=800,bounce:t=.25,velocity:r=0,mass:n=1}){let a,o;Iu(e<=1e3*pm,"Spring duration must be 10 seconds or less");let i=1-t;i=cm(mm,hm,i),e=cm(dm,pm,e/1e3),i<1?(a=t=>{const n=t*i,a=n*e,o=n-r,l=vm(t,i),s=Math.exp(-a);return um-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=vm(Math.pow(t,2),i);return(-a(t)+um>0?-1:1)*((o-l)*s)/c}):(a=t=>Math.exp(-t*e)*((t-r)*e+1)-um,o=t=>Math.exp(-t*e)*(e*e*(r-t)));const l=function(e,t,r){let n=r;for(let r=1;r<fm;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=km,h=km;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=vm(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()}}}Em.needsInterpolation=(e,t)=>"string"==typeof e||"string"==typeof t;const km=e=>0,wm=(e,t,r)=>{const n=t-e;return 0===n?1:(r-e)/n},xm=(e,t,r)=>-r*e+r*t+e,_m=(e,t)=>r=>Boolean(Sd(r)&&Ad.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),Pm=(e,t,r)=>n=>{if(!Sd(n))return n;const[a,o,i,l]=n.match(Pd);return{[e]:parseFloat(a),[t]:parseFloat(o),[r]:parseFloat(i),alpha:void 0!==l?parseFloat(l):1}},Cm=xd(0,255),Am=Object.assign(Object.assign({},Bd),{transform:e=>Math.round(Cm(e))}),Sm={test:_m("rgb","red"),parse:Pm("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+Am.transform(e)+", "+Am.transform(t)+", "+Am.transform(r)+", "+_d(Vd.transform(n))+")"},Rm={test:_m("#"),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:Sm.transform},Mm={test:_m("hsl","hue"),parse:Pm("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+Td.transform(_d(t))+", "+Td.transform(_d(r))+", "+_d(Vd.transform(n))+")"};function Tm(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 Om({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=Tm(l,n,e+1/3),o=Tm(l,n,e),i=Tm(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 Im=(e,t,r)=>{const n=e*e,a=t*t;return Math.sqrt(Math.max(0,r*(a-n)+n))},Lm=[Rm,Sm,Mm],Dm=e=>Lm.find((t=>t.test(e))),Bm=e=>`'${e}' is not an animatable color. Use the equivalent color code instead.`,Vm=(e,t)=>{let r=Dm(e),n=Dm(t);Lu(!!r,Bm(e)),Lu(!!n,Bm(t));let a=r.parse(e),o=n.parse(t);r===Mm&&(a=Om(a),r=Sm),n===Mm&&(o=Om(o),n=Sm);const i=Object.assign({},a);return e=>{for(const t in i)"alpha"!==t&&(i[t]=Im(a[t],o[t],e));return i.alpha=xm(a.alpha,o.alpha,e),r.transform(i)}},Nm={test:e=>Sm.test(e)||Rm.test(e)||Mm.test(e),parse:e=>Sm.test(e)?Sm.parse(e):Mm.test(e)?Mm.parse(e):Rm.parse(e),transform:e=>Sd(e)?e:e.hasOwnProperty("red")?Sm.transform(e):Mm.transform(e)},zm="${c}",Fm="${n}";function Hm(e){"number"==typeof e&&(e=`${e}`);const t=[];let r=0;const n=e.match(Cd);n&&(r=n.length,e=e.replace(Cd,zm),t.push(...n.map(Nm.parse)));const a=e.match(Pd);return a&&(e=e.replace(Pd,Fm),t.push(...a.map(Bd.parse))),{values:t,numColors:r,tokenised:e}}function jm(e){return Hm(e).values}function Wm(e){const{values:t,numColors:r,tokenised:n}=Hm(e),a=t.length;return e=>{let t=n;for(let n=0;n<a;n++)t=t.replace(n<r?zm:Fm,n<r?Nm.transform(e[n]):_d(e[n]));return t}}const Zm=e=>"number"==typeof e?0:e,$m={test:function(e){var t,r,n,a;return isNaN(e)&&Sd(e)&&(null!==(r=null===(t=e.match(Pd))||void 0===t?void 0:t.length)&&void 0!==r?r:0)+(null!==(a=null===(n=e.match(Cd))||void 0===n?void 0:n.length)&&void 0!==a?a:0)>0},parse:jm,createTransformer:Wm,getAnimatableNone:function(e){const t=jm(e);return Wm(e)(t.map(Zm))}},Um=e=>"number"==typeof e;function Gm(e,t){return Um(e)?r=>xm(e,t,r):Nm.test(e)?Vm(e,t):Xm(e,t)}const qm=(e,t)=>{const r=[...e],n=r.length,a=e.map(((e,r)=>Gm(e,t[r])));return e=>{for(let t=0;t<n;t++)r[t]=a[t](e);return r}},Km=(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]=Gm(e[a],t[a]));return e=>{for(const t in n)r[t]=n[t](e);return r}};function Ym(e){const t=$m.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 Xm=(e,t)=>{const r=$m.createTransformer(t),n=Ym(e),a=Ym(t);return n.numHSL===a.numHSL&&n.numRGB===a.numRGB&&n.numNumbers>=a.numNumbers?Gp(qm(n.parsed,a.parsed),r):(Iu(!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}`)},Qm=(e,t)=>r=>xm(e,t,r);function Jm(e,t,{clamp:r=!0,ease:n,mixer:a}={}){const o=e.length;Lu(o===t.length,"Both input and output ranges must be the same length"),Lu(!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?Qm:"string"==typeof e?Nm.test(e)?Vm:Xm:Array.isArray(e)?qm:"object"==typeof e?Km: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=Gp(e,o)}n.push(o)}return n}(t,n,a),l=2===o?function([e,t],[r]){return n=>r(wm(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=wm(e[o],e[o+1],a);return t[o](l)}}(e,i);return r?t=>l(cm(e[0],e[o-1],t)):l}const eh=e=>t=>1-e(1-t),th=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,rh=e=>t=>t*t*((e+1)*t-e),nh=4/11,ah=8/11,oh=e=>e,ih=e=>Math.pow(e,2);const lh=eh(ih),sh=th(ih),ch=e=>1-Math.sin(Math.acos(e)),uh=eh(ch),dh=th(uh),ph=rh(1.525),mh=eh(ph),hh=th(ph),fh=(e=>{const t=rh(1.525);return e=>(e*=2)<1?.5*t(e):.5*(2-Math.pow(2,-10*(e-1)))})(),vh=4356/361,gh=35442/1805,bh=16061/1805,yh=e=>{if(1===e||0===e)return e;const t=e*e;return e<nh?7.5625*t:e<ah?9.075*t-9.9*e+3.4:e<.9?vh*t-gh*e+bh:10.8*e*e-20.52*e+10.72},Eh=eh(yh);function kh(e,t){return e.map((()=>t||sh)).splice(0,e.length-1)}function wh({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 Jm(l,i,{ease:Array.isArray(r)?r:kh(i,r)})}let c=s();return{next:e=>(o.value=c(e),o.done=e>=a,o),flipTarget:()=>{i.reverse(),c=s()}}}const xh={keyframes:wh,spring:Em,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:()=>{}}}},_h=1/60*1e3,Ph="undefined"!=typeof performance?()=>performance.now():()=>Date.now(),Ch="undefined"!=typeof window?e=>window.requestAnimationFrame(e):e=>setTimeout((()=>e(Ph())),_h);let Ah=!0,Sh=!1,Rh=!1;const Mh={delta:0,timestamp:0},Th=["read","update","preRender","render","postRender"],Oh=Th.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),Sh=!0)}a=!1,o&&(o=!1,l.process(e))}}};return l}(),e)),{}),Ih=Th.reduce(((e,t)=>{const r=Oh[t];return e[t]=(e,t=!1,n=!1)=>(Sh||Nh(),r.schedule(e,t,n)),e}),{}),Lh=Th.reduce(((e,t)=>(e[t]=Oh[t].cancel,e)),{}),Dh=Th.reduce(((e,t)=>(e[t]=()=>Oh[t].process(Mh),e)),{}),Bh=e=>Oh[e].process(Mh),Vh=e=>{Sh=!1,Mh.delta=Ah?_h:Math.max(Math.min(e-Mh.timestamp,40),1),Mh.timestamp=e,Rh=!0,Th.forEach(Bh),Rh=!1,Sh&&(Ah=!1,Ch(Vh))},Nh=()=>{Sh=!0,Ah=!0,Rh||Ch(Vh)},zh=()=>Mh,Fh=Ih;function Hh(e,t,r=0){return e-t-r}const jh=e=>{const t=({delta:t})=>e(t);return{start:()=>Fh.update(t,!0),stop:()=>Lh.update(t)}};function Wh(e){var t,r,{from:n,autoplay:a=!0,driver:o=jh,elapsed:i=0,repeat:l=0,repeatType:s="loop",repeatDelay:c=0,onPlay:u,onStop:d,onComplete:p,onRepeat:m,onUpdate:h}=e,f=Au(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let v,g,b,{to:y}=f,E=0,k=f.duration,w=!1,x=!0;const _=function(e){if(Array.isArray(e.to))return wh;if(xh[e.type])return xh[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?wh:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?Em:wh}(f);(null===(r=(t=_).needsInterpolation)||void 0===r?void 0:r.call(t,n,y))&&(b=Jm([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));g=e.value,b&&(g=b(g)),w=x?e.done:i<=0}null==h||h(g),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?Hh(t+-e,t,r):t-(e-t)+r}(i,k,c,x)):(i=Hh(i,k,c),"mirror"===s&&P.flipTarget()),w=!1,m&&m()):(v.stop(),p&&p()))})),v.start()),{stop:()=>{null==d||d(),v.stop()}}}function Zh(e,t){return t?e*(1e3/t):0}var $h=function(e){return 1e3*e};const Uh=(e,t)=>1-3*t+3*e,Gh=(e,t)=>3*t-6*e,qh=e=>3*e,Kh=(e,t,r)=>((Uh(t,r)*e+Gh(t,r))*e+qh(t))*e,Yh=(e,t,r)=>3*Uh(t,r)*e*e+2*Gh(t,r)*e+qh(t),Xh=.1;function Qh(e,t,r,n){if(e===t&&r===n)return oh;const a=new Float32Array(11);for(let t=0;t<11;++t)a[t]=Kh(t*Xh,e,r);return o=>0===o||1===o?o:Kh(function(t){let n=0,o=1;for(;10!==o&&a[o]<=t;++o)n+=Xh;--o;const i=n+(t-a[o])/(a[o+1]-a[o])*Xh,l=Yh(i,e,r);return l>=.001?function(e,t,r,n){for(let a=0;a<8;++a){const a=Yh(t,r,n);if(0===a)return t;t-=(Kh(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=Kh(i,n,a)-e,o>0?r=i:t=i}while(Math.abs(o)>1e-7&&++l<10);return i}(t,n,n+Xh,e,r)}(o),t,n)}var Jh={linear:oh,easeIn:ih,easeInOut:sh,easeOut:lh,circIn:ch,circInOut:dh,circOut:uh,backIn:ph,backInOut:hh,backOut:mh,anticipate:fh,bounceIn:Eh,bounceInOut:e=>e<.5?.5*(1-yh(1-2*e)):.5*yh(2*e-1)+.5,bounceOut:yh},ef=function(e){if(Array.isArray(e)){Lu(4===e.length,"Cubic bezier arrays must contain four numerical values.");var t=Su(e,4);return Qh(t[0],t[1],t[2],t[3])}return"string"==typeof e?(Lu(void 0!==Jh[e],"Invalid easing type '".concat(e,"'")),Jh[e]):e},tf=function(e){return Array.isArray(e)&&"number"!=typeof e[0]},rf=function(e,t){return!("zIndex"===e||"number"!=typeof t&&!Array.isArray(t)&&("string"!=typeof t||!$m.test(t)||t.startsWith("url(")))},nf=function(){return{type:"spring",stiffness:500,damping:25,restSpeed:10}},af=function(e){return{type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}},of=function(){return{type:"keyframes",ease:"linear",duration:.3}},lf=function(e){return{type:"keyframes",duration:.8,values:e}},sf={x:nf,y:nf,z:nf,rotate:nf,rotateX:nf,rotateY:nf,rotateZ:nf,scaleX:af,scaleY:af,scale:af,opacity:of,backgroundColor:of,color:of,default:af},cf=function(e,t){var r;return r=up(t)?lf:sf[e]||sf.default,Cu({to:t},r(t))};const uf=new Set(["brightness","contrast","saturate","opacity"]);function df(e){let[t,r]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[n]=r.match(Pd)||[];if(!n)return e;const a=r.replace(n,"");let o=uf.has(t)?1:0;return n!==r&&(o*=100),t+"("+o+a+")"}const pf=/([a-z-]*)\(.*?\)/g,mf=Object.assign(Object.assign({},$m),{getAnimatableNone:e=>{const t=e.match(pf);return t?t.map(df).join(" "):e}});var hf=Cu(Cu({},Fd),{color:Nm,backgroundColor:Nm,outlineColor:Nm,fill:Nm,stroke:Nm,borderColor:Nm,borderTopColor:Nm,borderRightColor:Nm,borderBottomColor:Nm,borderLeftColor:Nm,filter:mf,WebkitFilter:mf}),ff=function(e){return hf[e]};function vf(e,t){var r,n=ff(e);return n!==mf&&(n=$m),null===(r=n.getAnimatableNone)||void 0===r?void 0:r.call(n,t)}var gf={current:!1},bf=!1;function yf(e,t,r,n,a){var o,i=wf(n,e),l=null!==(o=i.from)&&void 0!==o?o:t.get(),s=rf(e,r);"none"===l&&s&&"string"==typeof r?l=vf(e,r):Ef(l)&&"string"==typeof r?l=kf(r):!Array.isArray(r)&&Ef(r)&&"string"==typeof l&&(r=kf(l));var c=rf(e,l);return Iu(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 g(e){null==h||h.stop(),h=Wh(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 b(e){g(Object.assign({type:"spring",stiffness:i,damping:l,restDelta:s},e))}if(f(e))b({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=Zh(e-u,zh().delta),(1===l&&e>i||-1===l&&e<i)&&b({from:e,to:i,velocity:t})};g({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()}}(Cu(Cu({},n),i)):Wh(Cu(Cu({},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=Ru([],Su(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=Au(e,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(t).length}(e)||(e=Cu(Cu({},e),cf(r,t.to))),Cu(Cu({},t),function(e){var t=e.ease,r=e.times,n=e.yoyo,a=e.flip,o=e.loop,i=Au(e,["ease","times","yoyo","flip","loop"]),l=Cu({},i);return r&&(l.offset=r),i.duration&&(l.duration=$h(i.duration)),i.repeatDelay&&(l.repeatDelay=$h(i.repeatDelay)),t&&(l.ease=tf(t)?t.map(ef):ef(t)),"tween"===i.type&&(l.type="keyframes"),(n||o||a)&&(Iu(!bf,"yoyo, loop and flip have been removed from the API. Replace with repeat and repeatType options."),bf=!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=pp(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 Ef(e){return 0===e||"string"==typeof e&&0===parseFloat(e)&&-1===e.indexOf(" ")}function kf(e){return"number"==typeof e?0:vf("",e)}function wf(e,t){return e[t]||e.default||e}function xf(e,t,r,n){return void 0===n&&(n={}),gf.current&&(n={type:!1}),t.start((function(a){var o,i,l=yf(e,t,r,n,a),s=function(e,t){var r,n;return null!==(n=null!==(r=(wf(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,$h(s)):c(),function(){clearTimeout(o),null==i||i.stop()}}))}var _f=function(e){return/^\-?\d*\.?\d+$/.test(e)},Pf=function(e){return/^0[^.\s]+$/.test(e)};function Cf(e,t){-1===e.indexOf(t)&&e.push(t)}function Af(e,t){var r=e.indexOf(t);r>-1&&e.splice(r,1)}var Sf=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(e){var t=this;return Cf(this.subscriptions,e),function(){return Af(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}(),Rf=function(){function e(e){var t,r=this;this.version="6.5.1",this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new Sf,this.velocityUpdateSubscribers=new Sf,this.renderSubscribers=new Sf,this.canTrackVelocity=!1,this.updateAndNotify=function(e,t){void 0===t&&(t=!0),r.prev=r.current,r.current=e;var n=zh(),a=n.delta,o=n.timestamp;r.lastUpdated!==o&&(r.timeDelta=a,r.lastUpdated=o,Fh.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 Fh.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?Zh(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 Mf(e){return new Rf(e)}var Tf=function(e){return function(t){return t.test(e)}},Of=[Bd,Od,Td,Md,Ld,Id,{test:function(e){return"auto"===e},parse:function(e){return e}}],If=function(e){return Of.find(Tf(e))},Lf=Ru(Ru([],Su(Of),!1),[Nm,$m],!1),Df=function(e){return Lf.find(Tf(e))};function Bf(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,Mf(r))}function Vf(e,t){if(t)return(t[e]||t.default||t).from}function Nf(e,t,r){var n;void 0===r&&(r={});var a=Yu(e,t,r.custom),o=(a||{}).transition,i=void 0===o?e.getDefaultTransition()||{}:o;r.transitionOverride&&(i=r.transitionOverride);var l=a?function(){return zf(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(Ff).forEach((function(e,n){i.push(Nf(e,t,Cu(Cu({},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=Su("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 zf(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=Au(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 g=e.getValue(v),b=m[v];if(!(!g||void 0===b||f&&Hf(f,v))){var y=Cu({delay:i},d);e.shouldReduceMotion&&fd(v)&&(y=Cu(Cu({},y),{type:!1,delay:0}));var E=xf(v,g,b,y);h.push(E)}}return Promise.all(h).then((function(){p&&function(e,t){var r=Yu(e,t),n=r?e.makeTargetAnimatable(r,!1):{},a=n.transitionEnd,o=void 0===a?{}:a;n.transition;var i=Au(n,["transitionEnd","transition"]);for(var l in i=Cu(Cu({},i),o))Bf(e,l,pp(i[l]))}(e,p)}))}function Ff(e,t){return e.sortNodePosition(t)}function Hf(e,t){var r=e.protectedKeys,n=e.needsAnimating,a=r.hasOwnProperty(t)&&!0!==n[t];return n[t]=!1,a}var jf=[gp.Animate,gp.InView,gp.Focus,gp.Hover,gp.Tap,gp.Drag,gp.Exit],Wf=Ru([],Su(jf),!1).reverse(),Zf=jf.length;function $f(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 Nf(e,t,r)}));n=Promise.all(a)}else if("string"==typeof t)n=Nf(e,t,r);else{var o="function"==typeof t?Yu(e,t,r.custom):t;n=zf(e,o,r)}return n.then((function(){return e.notifyAnimationComplete(t)}))}(e,r,n)})))}}(e),r=function(){var e;return(e={})[gp.Animate]=Uf(!0),e[gp.InView]=Uf(),e[gp.Hover]=Uf(),e[gp.Tap]=Uf(),e[gp.Drag]=Uf(),e[gp.Focus]=Uf(),e[gp.Exit]=Uf(),e}(),n={},a=!0,o=function(t,r){var n=Yu(e,r);if(n){n.transition;var a=n.transitionEnd,o=Au(n,["transition","transitionEnd"]);t=Cu(Cu(Cu({},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=Wf[t],f=r[n],v=null!==(s=c[n])&&void 0!==s?s:u[n],g=qu(v),b=n===l?f.isActive:null;!1===b&&(h=t);var y=v===u[n]&&v!==c[n]&&g;if(y&&a&&e.manuallyAnimateOnMount&&(y=!1),f.protectedKeys=Cu({},m),!f.isActive&&null===b||!v&&!f.prevProp||cp(v)||"boolean"==typeof v)return"continue";var E=function(e,t){return"string"==typeof t?t!==e:!!Gu(t)&&!sm(t,e)}(f.prevProp,v),k=E||n===l&&f.isActive&&!y&&g||t>h&&g,w=Array.isArray(v)?v:[v],x=w.reduce(o,{});!1===b&&(x={});var _=f.prevResolvedValues,P=void 0===_?{}:_,C=Cu(Cu({},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?up(R)&&up(M)?!sm(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=Cu(Cu({},m),x)),a&&e.blockInitialAnimation&&(k=!1),k&&!y&&d.push.apply(d,Ru([],Su(w.map((function(e){return{animation:e,options:Cu({type:n},i)}}))),!1))},v=0;v<Zf;v++)f(v);if(n=Cu({},m),p.size){var g={};p.forEach((function(t){var r=e.getBaseTarget(t);void 0!==r&&(g[t]=r)})),d.push({animation:g})}var b=Boolean(d.length);return a&&!1===c.initial&&!e.manuallyAnimateOnMount&&(b=!1),a=!1,b?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 Uf(e){return void 0===e&&(e=!1),{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var Gf={animation:rm((function(e){var t=e.visualElement,r=e.animate;t.animationState||(t.animationState=$f(t)),cp(r)&&(0,U.useEffect)((function(){return r.subscribe(t)}),[r])})),exit:rm((function(e){var t=e.custom,r=e.visualElement,n=Su(lm(),2),a=n[0],o=n[1],i=(0,U.useContext)(Fu);(0,U.useEffect)((function(){var e,n;r.isPresent=a;var l=null===(e=r.animationState)||void 0===e?void 0:e.setActive(gp.Exit,!a,{custom:null!==(n=null==i?void 0:i.custom)&&void 0!==n?n:t});!a&&(null==l||l.then(o))}),[a])}))};const qf=e=>e.hasOwnProperty("x")&&e.hasOwnProperty("y"),Kf=e=>qf(e)&&e.hasOwnProperty("z"),Yf=(e,t)=>Math.abs(e-t);function Xf(e,t){if(Um(e)&&Um(t))return Yf(e,t);if(qf(e)&&qf(t)){const r=Yf(e.x,t.x),n=Yf(e.y,t.y),a=Kf(e)&&Kf(t)?Yf(e.z,t.z):0;return Math.sqrt(Math.pow(r,2)+Math.pow(n,2)+Math.pow(a,2))}}var Qf=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=tv(n.lastMoveEventInfo,n.history),t=null!==n.startEvent,r=Xf(e.offset,{x:0,y:0})>=3;if(t||r){var a=e.point,o=zh().timestamp;n.history.push(Cu(Cu({},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=Jf(t,n.transformPagePoint),xp(e)&&0===e.buttons?n.handlePointerUp(e,t):Fh.update(n.updatePoint,!0)},this.handlePointerUp=function(e,t){n.end();var r=n.handlers,a=r.onEnd,o=r.onSessionEnd,i=tv(Jf(t,n.transformPagePoint),n.history);n.startEvent&&a&&a(e,i),o&&o(e,i)},!(_p(e)&&e.touches.length>1)){this.handlers=t,this.transformPagePoint=a;var o=Jf(Sp(e),this.transformPagePoint),i=o.point,l=zh().timestamp;this.history=[Cu(Cu({},i),{timestamp:l})];var s=t.onSessionStart;s&&s(e,tv(o,this.history)),this.removeListeners=Gp(Bp(window,"pointermove",this.handlePointerMove),Bp(window,"pointerup",this.handlePointerUp),Bp(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(e){this.handlers=e},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),Lh.update(this.updatePoint)},e}();function Jf(e,t){return t?{point:t(e.point)}:e}function ev(e,t){return{x:e.x-t.x,y:e.y-t.y}}function tv(e,t){var r=e.point;return{point:r,delta:ev(r,nv(t)),offset:ev(r,rv(t)),velocity:av(t,.1)}}function rv(e){return e[0]}function nv(e){return e[e.length-1]}function av(e,t){if(e.length<2)return{x:0,y:0};for(var r=e.length-1,n=null,a=nv(e);r>=0&&(n=e[r],!(a.timestamp-n.timestamp>$h(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 ov(e){return e.max-e.min}function iv(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=.01),Xf(e,t)<r}function lv(e,t,r,n){void 0===n&&(n=.5),e.origin=n,e.originPoint=xm(t.min,t.max,e.origin),e.scale=ov(r)/ov(t),(iv(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=xm(r.min,r.max,e.origin)-e.originPoint,(iv(e.translate)||isNaN(e.translate))&&(e.translate=0)}function sv(e,t,r,n){lv(e.x,t.x,r.x,null==n?void 0:n.originX),lv(e.y,t.y,r.y,null==n?void 0:n.originY)}function cv(e,t,r){e.min=r.min+t.min,e.max=e.min+ov(t)}function uv(e,t,r){e.min=t.min-r.min,e.max=e.min+ov(t)}function dv(e,t,r){uv(e.x,t.x,r.x),uv(e.y,t.y,r.y)}function pv(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 mv(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=Su([a,n],2))[0],a=r[1]),{min:n,max:a}}var hv=.35;function fv(e,t,r){return{min:vv(e,t),max:vv(e,r)}}function vv(e,t){var r;return"number"==typeof e?e:null!==(r=e[t])&&void 0!==r?r:0}var gv=function(){return{x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}}},bv=function(){return{x:{min:0,max:0},y:{min:0,max:0}}};function yv(e){return[e("x"),e("y")]}function Ev(e){var t=e.top;return{x:{min:e.left,max:e.right},y:{min:t,max:e.bottom}}}function kv(e){return void 0===e||1===e}function wv(e){var t=e.scale,r=e.scaleX,n=e.scaleY;return!kv(t)||!kv(r)||!kv(n)}function xv(e){return wv(e)||_v(e.x)||_v(e.y)||e.z||e.rotate||e.rotateX||e.rotateY}function _v(e){return e&&"0%"!==e}function Pv(e,t,r){return r+t*(e-r)}function Cv(e,t,r,n,a){return void 0!==a&&(e=Pv(e,a,n)),Pv(e,r,n)+t}function Av(e,t,r,n,a){void 0===t&&(t=0),void 0===r&&(r=1),e.min=Cv(e.min,t,r,n,a),e.max=Cv(e.max,t,r,n,a)}function Sv(e,t){var r=t.x,n=t.y;Av(e.x,r.translate,r.scale,r.originPoint),Av(e.y,n.translate,n.scale,n.originPoint)}function Rv(e,t){e.min=e.min+t,e.max=e.max+t}function Mv(e,t,r){var n=Su(r,3),a=n[0],o=n[1],i=n[2],l=void 0!==t[i]?t[i]:.5,s=xm(e.min,e.max,l);Av(e,t[a],t[o],s,t.scale)}var Tv=["x","scaleX","originX"],Ov=["y","scaleY","originY"];function Iv(e,t){Mv(e.x,t,Tv),Mv(e.y,t,Ov)}function Lv(e,t){return Ev(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 Dv=new WeakMap,Bv=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=bv(),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 Qf(e,{onSessionStart:function(e){r.stopAnimation(),a&&r.snapToCursor(Sp(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=Hp(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),yv((function(e){var t,n,a=r.getAxisMotionValue(e).get()||0;if(Td.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=ov(o)*(parseFloat(a)/100))}r.originPoint[e]=a})),null==l||l(e,t),null===(n=r.visualElement.animationState)||void 0===n||n.setActive(gp.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(gp.Drag,!1)},e.prototype.updateAxis=function(e,t,r){var n=this.getProps().drag;if(r&&Vv(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?xm(n,e,r.min):Math.max(e,n):void 0!==a&&e>a&&(e=r?xm(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&&Uu(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:pv(e.x,n,o),y:pv(e.y,r,a)}}(a.actual,r),this.elastic=function(e){return void 0===e&&(e=hv),!1===e?e=0:!0===e&&(e=hv),{x:fv(e,"left","right"),y:fv(e,"top","bottom")}}(n),o!==this.constraints&&a&&this.constraints&&!this.hasMutatedConstraints&&yv((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||!Uu(t))return!1;var n=t.current;Lu(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=Lv(e,r),a=t.scroll;return a&&(Rv(n.x,a.x),Rv(n.y,a.y)),n}(n,a.root,this.visualElement.getTransformPagePoint()),i=function(e,t){return{x:mv(e.x,t.x),y:mv(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=Ev(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=yv((function(r){var s;if(Vv(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=Cu(Cu({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 xf(e,this.getAxisMotionValue(e),0,t)},e.prototype.stopAnimation=function(){var e=this;yv((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;yv((function(r){if(Vv(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]-xm(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(Uu(a)&&o&&this.constraints){this.stopAnimation();var i={x:0,y:0};yv((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=ov(r),(l=ov(n))>o?a=wm(n.min,n.max-o,r.min):o>l&&(a=wm(r.min,r.max-l,n.min)),cm(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(),yv((function(e){if(Vv(e,n,null)){var r=t.getAxisMotionValue(e),a=t.constraints[e],o=a.min,l=a.max;r.set(xm(o,l,i[e]))}}))}},e.prototype.addListeners=function(){var e,t=this;Dv.set(this.visualElement,this);var r=Bp(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(){Uu(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=Ep(window,"resize",(function(){return t.scalePositionWithinConstraints()}));return a.addEventListener("didUpdate",(function(e){var r=e.delta,n=e.hasLayoutChanged;t.isDragging&&n&&(yv((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?hv:c,d=e.dragMomentum,p=void 0===d||d;return Cu(Cu({},e),{drag:r,dragDirectionLock:a,dragPropagation:i,dragConstraints:s,dragElastic:u,dragMomentum:p})},e}();function Vv(e,t,r){return!(!0!==t&&t!==e||null!==r&&r!==e)}var Nv={pan:rm((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)(Nu).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)})),Vp(o,"pointerdown",i&&function(e){l.current=new Qf(e,c,{transformPagePoint:s})}),$p((function(){return l.current&&l.current.end()}))})),drag:rm((function(e){var t=e.dragControls,r=e.visualElement,n=ed((function(){return new Bv(r)}));(0,U.useEffect)((function(){return t&&t.subscribe(n)}),[n,t]),(0,U.useEffect)((function(){return n.addListeners()}),[n])}))},zv=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","LayoutAnimationStart","SetAxisTarget","Unmount"],Fv=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,g=e.shouldReduceMotion;void 0===t&&(t={});var b,y,E=!1,k=v.latestValues,w=v.renderState,x=function(){var e=zv.map((function(){return new Sf})),t={},r={clearAllListeners:function(){return e.forEach((function(e){return e.clear()}))},updatePropListeners:function(e){zv.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"+zv[t]]=function(t){return e.add(t)},r["notify"+zv[t]]=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return e.notify.apply(e,Ru([],Su(t),!1))}})),r}(),_=new Map,P=new Map,C={},A=Cu({},k);function S(){b&&E&&(R(),l(b,w,m.style,V.projection))}function R(){n(V,w,k,t,m)}function M(){x.notifyUpdate(k)}function T(e,t){var r=t.onChange((function(t){k[e]=t,m.onUpdate&&Fh.update(M,!1,!0)})),n=t.onRenderRequest(V.scheduleRender);P.set(e,(function(){r(),n()}))}var O=d(m);for(var I in O){var L=O[I];void 0!==k[I]&&yd(L)&&L.set(k[I],!1)}var D=Xu(m),B=Qu(m),V=Cu(Cu({treeType:r,current:null,depth:p?p.depth+1:0,parent:p,children:new Set,presenceId:h,shouldReduceMotion:g,variantChildren:B?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(null==p?void 0:p.isMounted()),blockInitialAnimation:f,isMounted:function(){return Boolean(b)},mount:function(e){E=!0,b=V.current=e,V.projection&&V.projection.mount(e),B&&p&&!D&&(y=null==p?void 0:p.addVariantChild(V)),_.forEach((function(e,t){return T(t,e)})),null==p||p.children.add(V),V.setProps(m)},unmount:function(){var e;null===(e=V.projection)||void 0===e||e.unmount(),Lh.update(M),Lh.render(S),P.forEach((function(e){return e()})),null==y||y(),null==p||p.children.delete(V),x.clearAllListeners(),b=void 0,E=!1},addVariantChild:function(e){var t,r=V.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(V.getInstance(),e.getInstance()):0},getClosestVariantNode:function(){return B?V:null==p?void 0:p.getClosestVariantNode()},getLayoutId:function(){return m.layoutId},getInstance:function(){return b},getStaticValue:function(e){return k[e]},setStaticValue:function(e,t){return k[e]=t},getLatestValues:function(){return k},setVisibility:function(e){V.isVisible!==e&&(V.isVisible=e,V.scheduleRender())},makeTargetAnimatable:function(e,t){return void 0===t&&(t=!0),o(V,e,m,t)},measureViewportBox:function(){return i(b,m)},addValue:function(e,t){V.hasValue(e)&&V.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=Mf(t),V.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(b,e,t)},setBaseTarget:function(e,t){A[e]=t},getBaseTarget:function(e){if(a){var t=a(m,e);if(void 0!==t&&!yd(t))return t}return A[e]}},x),{build:function(){return R(),w},scheduleRender:function(){Fh.render(S,!1,!0)},syncRender:S,setProps:function(e){(e.transformTemplate||m.transformTemplate)&&V.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(yd(o))e.addValue(a,o);else if(yd(i))e.addValue(a,Mf(o));else if(i!==o)if(e.hasValue(a)){var l=e.getValue(a);!l.hasAnimated&&l.set(o)}else e.addValue(a,Mf(null!==(n=e.getStaticValue(a))&&void 0!==n?n:o))}for(var a in r)void 0===t[a]&&e.removeValue(a);return t}(V,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<jv;n++){var a=Hv[n],o=m[a];(qu(o)||!1===o)&&(r[a]=o)}return r}});return V}},Hv=Ru(["initial"],Su(jf),!1),jv=Hv.length;function Wv(e){return"string"==typeof e&&e.startsWith("var(--")}var Zv=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function $v(e,t,r){void 0===r&&(r=1),Lu(r<=4,'Max CSS variable fallback depth detected in property "'.concat(e,'". This may indicate a circular fallback dependency.'));var n=Su(function(e){var t=Zv.exec(e);if(!t)return[,];var r=Su(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():Wv(o)?$v(o,t,r+1):o}}var Uv,Gv=new Set(["width","height","top","left","right","bottom","x","y"]),qv=function(e){return Gv.has(e)},Kv=function(e,t){e.set(t,!1),e.set(t)},Yv=function(e){return e===Bd||e===Od};!function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"}(Uv||(Uv={}));var Xv=function(e,t){return parseFloat(e.split(", ")[t])},Qv=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 Xv(o[1],t);var i=a.match(/^matrix\((.+)\)$/);return i?Xv(i[1],e):0}},Jv=new Set(["x","y","z"]),eg=pd.filter((function(e){return!Jv.has(e)})),tg={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:Qv(4,13),y:Qv(5,14)};function rg(e,t,r,n){return function(e){return Object.keys(e).some(qv)}(t)?function(e,t,r,n){void 0===r&&(r={}),void 0===n&&(n={}),t=Cu({},t),n=Cu({},n);var a=Object.keys(t).filter(qv),o=[],i=!1,l=[];if(a.forEach((function(a){var s=e.getValue(a);if(e.hasValue(a)){var c,u=r[a],d=If(u),p=t[a];if(up(p)){var m=p.length,h=null===p[0]?1:0;u=p[h],d=If(u);for(var f=h;f<m;f++)c?Lu(If(p[f])===c,"All keyframes must be of the same type"):(c=If(p[f]),Lu(c===d||Yv(d)&&Yv(c),"Keyframes must be of the same dimension as the current value"))}else c=If(p);if(d!==c)if(Yv(d)&&Yv(c)){var v=s.get();"string"==typeof v&&s.set(parseFloat(v)),"string"==typeof p?t[a]=parseFloat(p):Array.isArray(p)&&c===Od&&(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 eg.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],Kv(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]=tg[e](n,o)})),t.syncRender();var s=t.measureViewportBox();return r.forEach((function(r){var n=t.getValue(r);Kv(n,l[r]),e[r]=tg[r](s,o)})),e}(t,e,l);return o.length&&o.forEach((function(t){var r=Su(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 ng={treeType:"dom",readValueFromInstance:function(e,t){if(fd(t)){var r=ff(t);return r&&r.default||0}var n,a=(n=e,window.getComputedStyle(n));return(kd(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 Lv(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=Au(t,["transition","transitionEnd"]),s=function(e,t,r){var n,a,o={};for(var i in e)o[i]=null!==(n=Vf(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&&(_f(p)||Pf(p))?p=parseFloat(p):!Df(p)&&$m.test(d)&&(p=vf(u,d)),e.addValue(u,Mf(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=Au(t,[]),o=e.getInstance();if(!(o instanceof Element))return{target:a,transitionEnd:r};for(var i in r&&(r=Cu({},r)),e.forEachValue((function(e){var t=e.get();if(Wv(t)){var r=$v(t,o);r&&e.set(r)}})),a){var l=a[i];if(Wv(l)){var s=$v(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 rg(e,t=a.target,r,n=a.transitionEnd)}(e,l,s,i);i=c.transitionEnd,l=c.target}return Cu({transition:o,transitionEnd:i},l)},scrapeMotionValuesFromProps:lp,build:function(e,t,r,n,a){void 0!==e.isVisible&&(t.style.visibility=e.isVisible?"visible":"hidden"),Hd(t,r,n,a.transformTemplate)},render:ap},ag=Fv(ng),og=Fv(Cu(Cu({},ng),{getBaseTarget:function(e,t){return e[t]},readValueFromInstance:function(e,t){var r;return fd(t)?(null===(r=ff(t))||void 0===r?void 0:r.default)||0:(t=op.has(t)?t:np(t),e.getAttribute(t))},scrapeMotionValuesFromProps:sp,build:function(e,t,r,n,a){Qd(t,r,n,a.transformTemplate)},render:ip})),ig=function(e,t){return cd(e)?og(t,{enableHardwareAcceleration:!1}):ag(t,{enableHardwareAcceleration:!0})};function lg(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var sg={correct:function(e,t){if(!t.target)return e;if("string"==typeof e){if(!Od.test(e))return e;e=parseFloat(e)}var r=lg(e,t.target.x),n=lg(e,t.target.y);return"".concat(r,"% ").concat(n,"%")}},cg="_$css",ug={correct:function(e,t){var r=t.treeScale,n=t.projectionDelta,a=e,o=e.includes("var("),i=[];o&&(e=e.replace(Zv,(function(e){return i.push(e),cg})));var l=$m.parse(e);if(l.length>5)return a;var s=$m.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=xm(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(cg,(function(){var e=i[h];return h++,e}))}return m}},dg=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Pu(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=pg,Object.assign(ud,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(Cu(Cu({},l.options),{onExitComplete:function(){return t.safeToRemove()}}))),td.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()||Fh.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),pg={borderRadius:Cu(Cu({},sg),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:sg,borderTopRightRadius:sg,borderBottomLeftRadius:sg,borderBottomRightRadius:sg,boxShadow:ug},mg={measureLayout:function(e){var t=Su(lm(),2),r=t[0],n=t[1],a=(0,U.useContext)(nd);return U.createElement(dg,Cu({},e,{layoutGroup:a,switchLayoutGroup:(0,U.useContext)(ad),isPresent:r,safeToRemove:n}))}},hg=["TopLeft","TopRight","BottomLeft","BottomRight"],fg=hg.length,vg=function(e){return"string"==typeof e?parseFloat(e):e},gg=function(e){return"number"==typeof e||Od.test(e)};function bg(e,t){var r;return null!==(r=e[t])&&void 0!==r?r:e.borderRadius}var yg=kg(0,.5,uh),Eg=kg(.5,.95,oh);function kg(e,t,r){return function(n){return n<e?0:n>t?1:r(wm(e,t,n))}}function wg(e,t){e.min=t.min,e.max=t.max}function xg(e,t){wg(e.x,t.x),wg(e.y,t.y)}function _g(e,t,r,n,a){return e=Pv(e-=t,1/r,n),void 0!==a&&(e=Pv(e,1/a,n)),e}function Pg(e,t,r,n,a){var o=Su(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),Td.test(t)&&(t=parseFloat(t),t=xm(i.min,i.max,t/100)-i.min),"number"==typeof t){var l=xm(o.min,o.max,n);e===o&&(l-=t),e.min=_g(e.min,t,r,l,a),e.max=_g(e.max,t,r,l,a)}}(e,t[i],t[l],t[s],t.scale,n,a)}var Cg=["x","scaleX","originX"],Ag=["y","scaleY","originY"];function Sg(e,t,r,n){Pg(e.x,t,Cg,null==r?void 0:r.x,null==n?void 0:n.x),Pg(e.y,t,Ag,null==r?void 0:r.y,null==n?void 0:n.y)}function Rg(e){return 0===e.translate&&1===e.scale}function Mg(e){return Rg(e.x)&&Rg(e.y)}function Tg(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 Og=function(){function e(){this.members=[]}return e.prototype.add=function(e){Cf(this.members,e),e.scheduleRender()},e.prototype.remove=function(e){if(Af(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}(),Ig="translate3d(0px, 0px, 0) scale(1, 1) scale(1, 1)";function Lg(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,")"))===Ig?"none":o}var Dg=function(e,t){return e.depth-t.depth},Bg=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(e){Cf(this.children,e),this.isDirty=!0},e.prototype.remove=function(e){Af(this.children,e),this.isDirty=!0},e.prototype.forEach=function(e){this.isDirty&&this.children.sort(Dg),this.isDirty=!1,this.children.forEach(e)},e}();function Vg(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(Zg),a.nodes.forEach($g)},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?Ru(Ru([],Su(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 Bg)}return e.prototype.addEventListener=function(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new Sf),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,Ru([],Su(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),td.hasAnimatedSinceResize&&(td.hasAnimatedSinceResize=!1,a.nodes.forEach(Wg))}))}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:Xg,m=s.getProps(),h=m.onLayoutAnimationStart,f=m.onLayoutAnimationComplete,v=!a.targetLayout||!Tg(a.targetLayout,d)||u,g=!c&&u;if((null===(n=a.resumeFrom)||void 0===n?void 0:n.instance)||g||c&&(v||!a.currentAnimation)){a.resumeFrom&&(a.resumingFrom=a.resumeFrom,a.resumingFrom.resumingFrom=void 0),a.setAnimationOrigin(l,g);var b=Cu(Cu({},wf(p,"layout")),{onPlay:h,onComplete:f});s.shouldReduceMotion&&(b.delay=0,b.type=!1),a.startAnimation(b)}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,Lh.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(Ug))},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(Hg);this.isUpdating&&(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(Qg),this.potentialNodes.clear()),this.nodes.forEach(jg),this.nodes.forEach(Ng),this.nodes.forEach(zg),this.clearAllSnapshots(),Dh.update(),Dh.preRender(),Dh.render())},e.prototype.clearAllSnapshots=function(){this.nodes.forEach(Fg),this.sharedNodes.forEach(Gg)},e.prototype.scheduleUpdateProjection=function(){Fh.preRender(this.updateProjection,!1,!0)},e.prototype.scheduleCheckAfterUnmount=function(){var e=this;Fh.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));eb(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();eb(r);var n=this.layout;this.layout={measured:r,actual:this.removeElementScroll(r)},this.layoutCorrected=bv(),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&&!Mg(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||xv(this.latestValues)||i)&&(o(this.instance,a),this.shouldResetTransform=!1,this.scheduleRender())}},e.prototype.measure=function(){var e=this.options.visualElement;if(!e)return bv();var t=e.measureViewportBox(),r=this.root.scroll;return r&&(Rv(t.x,r.x),Rv(t.y,r.y)),t},e.prototype.removeElementScroll=function(e){var t=bv();xg(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){xg(t,e);var l=this.root.scroll;l&&(Rv(t.x,-l.x),Rv(t.y,-l.y))}Rv(t.x,a.x),Rv(t.y,a.y)}}return t},e.prototype.applyTransform=function(e,t){void 0===t&&(t=!1);var r=bv();xg(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&&Iv(r,{x:-a.scroll.x,y:-a.scroll.y}),xv(a.latestValues)&&Iv(r,a.latestValues)}return xv(this.latestValues)&&Iv(r,this.latestValues),r},e.prototype.removeTransform=function(e){var t,r=bv();xg(r,e);for(var n=0;n<this.path.length;n++){var a=this.path[n];if(a.instance&&xv(a.latestValues)){wv(a.latestValues)&&a.updateSnapshot();var o=bv();xg(o,a.measure()),Sg(r,a.latestValues,null===(t=a.snapshot)||void 0===t?void 0:t.layout,o)}}return xv(this.latestValues)&&Sg(r,this.latestValues),r},e.prototype.setTargetDelta=function(e){this.targetDelta=e,this.root.scheduleUpdateProjection()},e.prototype.setOptions=function(e){var t;this.options=Cu(Cu(Cu({},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=bv(),this.relativeTargetOrigin=bv(),dv(this.relativeTargetOrigin,this.layout.actual,this.relativeParent.layout.actual),xg(this.relativeTarget,this.relativeTargetOrigin))),(this.relativeTarget||this.targetDelta)&&(this.target||(this.target=bv(),this.targetWithTransforms=bv()),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,cv(t.x,r.x,n.x),cv(t.y,r.y,n.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.actual):xg(this.target,this.layout.actual),Sv(this.target,this.targetDelta)):xg(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=bv(),this.relativeTargetOrigin=bv(),dv(this.relativeTargetOrigin,this.target,this.relativeParent.target),xg(this.relativeTarget,this.relativeTargetOrigin)))))},e.prototype.getClosestProjectingParent=function(){if(this.parent&&!xv(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();xg(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&&Iv(e,{x:-l.scroll.x,y:-l.scroll.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,Sv(e,s)),n&&xv(l.latestValues)&&Iv(e,l.latestValues))}}(this.layoutCorrected,this.treeScale,this.path,Boolean(this.resumingFrom)||this!==a);var o=a.target;if(o){this.projectionDelta||(this.projectionDelta=gv(),this.projectionDeltaWithTransform=gv());var i=this.treeScale.x,l=this.treeScale.y,s=this.projectionTransform;sv(this.projectionDelta,this.layoutCorrected,o,this.latestValues),this.projectionTransform=Lg(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=Cu({},this.latestValues),l=gv();this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!t;var s=bv(),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(Yg));this.animationProgress=0,this.mixTargetDelta=function(t){var r,a=t/1e3;qg(l.x,e.x,a),qg(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)&&(dv(s,n.layout.actual,n.relativeParent.layout.actual),function(e,t,r,n){Kg(e.x,t.x,r.x,n),Kg(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=xm(0,null!==(i=r.opacity)&&void 0!==i?i:1,yg(n)),e.opacityExit=xm(null!==(l=t.opacity)&&void 0!==l?l:1,0,Eg(n))):o&&(e.opacity=xm(null!==(s=t.opacity)&&void 0!==s?s:1,null!==(c=r.opacity)&&void 0!==c?c:1,n));for(var u=0;u<fg;u++){var d="border".concat(hg[u],"Radius"),p=bg(t,d),m=bg(r,d);void 0===p&&void 0===m||(p||(p=0),m||(m=0),0===p||0===m||gg(p)===gg(m)?(e[d]=Math.max(xm(vg(p),vg(m),n),0),(Td.test(m)||Td.test(p))&&(e[d]+="%")):e[d]=m)}(t.rotate||r.rotate)&&(e.rotate=xm(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&&(Lh.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Fh.update((function(){td.hasAnimatedSinceResize=!0,n.currentAnimation=function(e,t,r){void 0===r&&(r={});var n=yd(0)?0:Mf(0);return xf("",n,1e3,r),{stop:function(){return n.stop()},isAnimating:function(){return n.isAnimating()}}}(0,0,Cu(Cu({},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&&(xg(t,r),Iv(t,a),sv(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 Og),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<dd.length;n++){var a="rotate"+dd[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=mp(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=mp(e.pointerEvents)||""),this.hasProjected&&!xv(this.latestValues)&&(u.transform=s?s({},""):"none",this.hasProjected=!1),u}var d=c.animationValues||c.latestValues;this.applyTransformsToTarget(),l.transform=Lg(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,ud)if(void 0!==d[f]){var v=ud[f],g=v.correct,b=v.applyTo,y=g(d[f],c);if(b)for(var E=b.length,k=0;k<E;k++)l[b[k]]=y;else l[f]=y}return this.options.layoutId&&(l.pointerEvents=c===this?mp(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(Hg),this.root.sharedNodes.clear()},e}()}function Ng(e){e.updateLayout()}function zg(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?yv((function(e){var t=o.isShared?o.measured[e]:o.layout[e],r=ov(t);t.min=l[e].min,t.max=t.min+r})):"position"===e.options.animationType&&yv((function(e){var t=o.isShared?o.measured[e]:o.layout[e],r=ov(l[e]);t.max=t.min+r}));var c=gv();sv(c,l,o.layout);var u=gv();o.isShared?sv(u,e.applyTransform(s,!0),o.measured):sv(u,l,o.layout);var d=!Mg(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=bv();dv(v,o.layout,h.layout);var g=bv();dv(g,l,f.actual),Tg(v,g)||(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 Fg(e){e.clearSnapshot()}function Hg(e){e.clearMeasurements()}function jg(e){var t=e.options.visualElement;(null==t?void 0:t.getProps().onBeforeLayoutMeasure)&&t.notifyBeforeLayoutMeasure(),e.resetTransform()}function Wg(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function Zg(e){e.resolveTargetDelta()}function $g(e){e.calcProjection()}function Ug(e){e.resetRotation()}function Gg(e){e.removeLeadSnapshot()}function qg(e,t,r){e.translate=xm(t.translate,0,r),e.scale=xm(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function Kg(e,t,r,n){e.min=xm(t.min,r.min,n),e.max=xm(t.max,r.max,n)}function Yg(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}var Xg={duration:.45,ease:[.4,0,.1,1]};function Qg(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 Jg(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function eb(e){Jg(e.x),Jg(e.y)}var tb=Vg({attachResizeListener:function(e,t){return Ep(e,"resize",t)},measureScroll:function(){return{x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}},checkIsScrollRoot:function(){return!0}}),rb={current:void 0},nb=Vg({measureScroll:function(e){return{x:e.scrollLeft,y:e.scrollTop}},defaultParent:function(){if(!rb.current){var e=new tb(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),rb.current=e}return rb.current},resetTransform:function(e,t){e.style.transform=null!=t?t:"none"},checkIsScrollRoot:function(e){return Boolean("fixed"===window.getComputedStyle(e).position)}}),ab=Cu(Cu(Cu(Cu({},Gf),nm),Nv),mg),ob=ld((function(e,t){return function(e,t,r,n,a){var o=t.forwardMotionProps,i=void 0!==o&&o,l=cd(e)?bp:yp;return Cu(Cu({},l),{preloadedFeatures:r,useRender:tp(i),createVisualElement:n,projectionNodeConstructor:a,Component:e})}(e,t,ab,ig,nb)}));function ib(){var e=(0,U.useRef)(!1);return ju((function(){return e.current=!0,function(){e.current=!1}}),[]),e}var lb=function(e){var t=e.children,r=e.initial,n=e.isPresent,a=e.onExitComplete,o=e.custom,i=e.presenceAffectsLayout,l=ed(sb),s=im(),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(Fu.Provider,{value:c},t)};function sb(){return new Map}var cb=function(e){return e.key||""},ub=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=Su(function(){var e=ib(),t=Su((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 Fh.postRender(a)}),[a]),r]}(),1),u=c[0],d=(0,U.useContext)(nd).forceRender;d&&(u=d);var p=ib(),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),g=(0,U.useRef)(new Map).current,b=(0,U.useRef)(!0);if(ju((function(){b.current=!1,function(e,t){e.forEach((function(e){var r=cb(e);t.set(r,e)}))}(m,g),v.current=h})),$p((function(){b.current=!0,g.clear(),f.clear()})),b.current)return U.createElement(U.Fragment,null,h.map((function(e){return U.createElement(lb,{key:cb(e),isPresent:!0,initial:!!a&&void 0,presenceAffectsLayout:s},e)})));h=Ru([],Su(h),!1);for(var y=v.current.map(cb),E=m.map(cb),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=g.get(e);if(t){var n=y.indexOf(e);h.splice(n,0,U.createElement(lb,{key:cb(t),isPresent:!1,onExitComplete:function(){g.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(lb,{key:cb(e),isPresent:!0,presenceAffectsLayout:s},e)})),"production"!==Mu&&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)})))};function db(){return db=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},db.apply(this,arguments)}function pb(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}var mb={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]}}}},hb=["openDelay","closeDelay","closeOnClick","closeOnMouseDown","closeOnEsc","onOpen","onClose","placement","id","isOpen","defaultIsOpen","arrowSize","arrowShadowColor","arrowPadding","modifiers","isDisabled","gutter","offset","direction"],fb=["children","label","shouldWrapChildren","aria-label","hasArrow","bg","portalProps","background","backgroundColor","bgColor"],vb=Ni(ob.div),gb=Li((function(e,t){var r,n,a=Bi("Tooltip",e),o=Ci(e),i=ki(),l=o.children,s=o.label,c=o.shouldWrapChildren,u=o["aria-label"],d=o.hasArrow,p=o.bg,m=o.portalProps,h=o.background,f=o.backgroundColor,v=o.bgColor,g=pb(o,fb),b=null!=(r=null!=(n=null!=h?h:f)?n:p)?r:v;b&&(a.bg=b,a[$c.arrowBg.var]=function(e,t,r){var n,a;return null!=(n=null==(a=e.__cssMap["colors."+r])?void 0:a.varRef)?n:r}(i,0,b));var y,E=function(e){void 0===e&&(e={});var t=e,r=t.openDelay,n=void 0===r?0:r,a=t.closeDelay,o=void 0===a?0:a,i=t.closeOnClick,l=void 0===i||i,s=t.closeOnMouseDown,c=t.closeOnEsc,u=void 0===c||c,d=t.onOpen,p=t.onClose,m=t.placement,h=t.id,f=t.isOpen,v=t.defaultIsOpen,g=t.arrowSize,b=void 0===g?10:g,y=t.arrowShadowColor,E=t.arrowPadding,k=t.modifiers,w=t.isDisabled,x=t.gutter,_=t.offset,P=t.direction,C=pb(t,hb),A=vr({isOpen:f,defaultIsOpen:v,onOpen:d,onClose:p}),S=A.isOpen,R=A.onOpen,M=A.onClose,T=ou({enabled:S,placement:m,arrowPadding:E,modifiers:k,gutter:x,offset:_,direction:P}),O=T.referenceRef,I=T.getPopperProps,L=T.getArrowInnerProps,D=T.getArrowProps,B=hr(h,"tooltip"),V=U.useRef(null),N=U.useRef(),z=U.useRef(),F=U.useCallback((function(){w||(N.current=window.setTimeout(R,n))}),[w,R,n]),H=U.useCallback((function(){N.current&&clearTimeout(N.current),z.current=window.setTimeout(M,o)}),[o,M]),j=U.useCallback((function(){l&&H()}),[l,H]),W=U.useCallback((function(){s&&H()}),[s,H]),Z=U.useCallback((function(e){S&&"Escape"===e.key&&H()}),[S,H]);Xt("keydown",u?Z:void 0),U.useEffect((function(){return function(){clearTimeout(N.current),clearTimeout(z.current)}}),[]),Xt("mouseleave",H,(function(){return V.current}));var $=U.useCallback((function(e,t){return void 0===e&&(e={}),void 0===t&&(t=null),db({},e,{ref:si(V,t,O),onMouseEnter:ot(e.onMouseEnter,F),onClick:ot(e.onClick,j),onMouseDown:ot(e.onMouseDown,W),onFocus:ot(e.onFocus,F),onBlur:ot(e.onBlur,H),"aria-describedby":S?B:void 0})}),[F,H,W,S,B,j,O]),G=U.useCallback((function(e,t){var r;return void 0===e&&(e={}),void 0===t&&(t=null),I(db({},e,{style:db({},e.style,(r={},r[$c.arrowSize.var]=b?Le(b):void 0,r[$c.arrowShadowColor.var]=y,r))}),t)}),[I,b,y]),q=U.useCallback((function(e,t){return void 0===e&&(e={}),void 0===t&&(t=null),db({ref:t},C,e,{id:B,role:"tooltip",style:db({},e.style,{position:"relative",transformOrigin:$c.transformOrigin.varRef})})}),[C,B]);return{isOpen:S,show:F,hide:H,getTriggerProps:$,getTooltipProps:q,getTooltipPositionerProps:G,getArrowProps:D,getArrowInnerProps:L}}(db({},g,{direction:i.direction}));if(xe(l)||c)y=U.createElement(Ni.span,db({tabIndex:0},E.getTriggerProps()),l);else{var k=U.Children.only(l);y=U.cloneElement(k,E.getTriggerProps(k.props,k.ref))}var w=!!u,x=E.getTooltipProps({},t),_=w?Pe(x,["role","id"]):x,P=Ce(x,["role","id"]);return s?U.createElement(U.Fragment,null,y,U.createElement(ub,null,E.isOpen&&U.createElement(ku,m,U.createElement(Ni.div,db({},E.getTooltipPositionerProps(),{__css:{zIndex:a.zIndex,pointerEvents:"none"}}),U.createElement(vb,db({variants:mb},_,{initial:"exit",animate:"enter",exit:"exit",__css:a}),s,w&&U.createElement(xu,P,u),d&&U.createElement(Ni.div,{"data-popper-arrow":!0,className:"chakra-tooltip__arrow-wrapper"},U.createElement(Ni.div,{"data-popper-arrow-inner":!0,className:"chakra-tooltip__arrow",__css:{bg:a.bg}}))))))):U.createElement(U.Fragment,null,l)}));function bb(){return bb=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},bb.apply(this,arguments)}var yb=["label","thickness","speed","emptyColor","className"],Eb=oi({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),kb=Li((function(e,t){var r=Bi("Spinner",e),n=Ci(e),a=n.label,o=void 0===a?"Loading...":a,i=n.thickness,l=void 0===i?"2px":i,s=n.speed,c=void 0===s?"0.45s":s,u=n.emptyColor,d=void 0===u?"transparent":u,p=n.className,m=function(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}(n,yb),h=qe("chakra-spinner",p),f=bb({display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:l,borderBottomColor:d,borderLeftColor:d,animation:Eb+" "+c+" linear infinite"},r);return U.createElement(Ni.div,bb({ref:t,__css:f,className:h},m),o&&U.createElement(xu,null,o))}));function wb(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 xb(){return xb=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},xb.apply(this,arguments)}var _b=["size","colorScheme","variant","className","spacing","isAttached","isDisabled"],Pb=ci({strict:!1,name:"ButtonGroupContext"}),Cb=Pb[0],Ab=Pb[1],Sb=Li((function(e,t){var r=e.size,n=e.colorScheme,a=e.variant,o=e.className,i=e.spacing,l=void 0===i?"0.5rem":i,s=e.isAttached,c=e.isDisabled,u=wb(e,_b),d=qe("chakra-button__group",o),p=U.useMemo((function(){return{size:r,colorScheme:n,variant:a,isDisabled:c}}),[r,n,a,c]),m={display:"inline-flex"};return m=xb({},m,s?{"> *: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}}:{"& > *:not(style) ~ *:not(style)":{marginStart:l}}),U.createElement(Cb,{value:p},U.createElement(Ni.div,xb({ref:t,role:"group",__css:m,className:d},u)))})),Rb=["label","placement","spacing","children","className","__css"],Mb=function(e){var t=e.label,r=e.placement,n=e.spacing,a=void 0===n?"0.5rem":n,o=e.children,i=void 0===o?U.createElement(kb,{color:"currentColor",width:"1em",height:"1em"}):o,l=e.className,s=e.__css,c=wb(e,Rb),u=qe("chakra-button__spinner",l),d="start"===r?"marginEnd":"marginStart",p=U.useMemo((function(){var e;return xb(((e={display:"flex",alignItems:"center",position:t?"relative":"absolute"})[d]=t?a:0,e.fontSize="1em",e.lineHeight="normal",e),s)}),[s,t,d,a]);return U.createElement(Ni.div,xb({className:u},c,{__css:p}),i)},Tb=["children","className"],Ob=function(e){var t=e.children,r=e.className,n=wb(e,Tb),a=U.isValidElement(t)?U.cloneElement(t,{"aria-hidden":!0,focusable:!1}):t,o=qe("chakra-button__icon",r);return U.createElement(Ni.span,xb({display:"inline-flex",alignSelf:"center",flexShrink:0},n,{className:o}),a)},Ib=["isDisabled","isLoading","isActive","isFullWidth","children","leftIcon","rightIcon","loadingText","iconSpacing","type","spinner","spinnerPlacement","className","as"],Lb=Li((function(e,t){var r,n,a,o,i,l=Ab(),s=Bi("Button",xb({},l,e)),c=Ci(e),u=c.isDisabled,d=void 0===u?null==l?void 0:l.isDisabled:u,p=c.isLoading,m=c.isActive,h=c.isFullWidth,f=c.children,v=c.leftIcon,g=c.rightIcon,b=c.loadingText,y=c.iconSpacing,E=void 0===y?"0.5rem":y,k=c.type,w=c.spinner,x=c.spinnerPlacement,_=void 0===x?"start":x,P=c.className,C=c.as,A=wb(c,Ib),S=U.useMemo((function(){var e,t=te()({},null!=(e=null==s?void 0:s._focus)?e:{},{zIndex:1});return xb({display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",outline:"none",width:h?"100%":"auto"},s,!!l&&{_focus:t})}),[s,l,h]),R=(r=C,a=(n=U.useState(!r))[0],o=n[1],i=U.useCallback((function(e){e&&o("BUTTON"===e.tagName)}),[]),{ref:i,type:a?"button":void 0}),M=R.ref,T=R.type,O={rightIcon:g,leftIcon:v,iconSpacing:E,children:f};return U.createElement(Ni.button,xb({disabled:d||p,ref:wr(t,M),as:C,type:null!=k?k:T,"data-active":Ue(m),"data-loading":Ue(p),__css:S,className:qe("chakra-button",P)},A),p&&"start"===_&&U.createElement(Mb,{className:"chakra-button__spinner--start",label:b,placement:"start",spacing:E},w),p?b||U.createElement(Ni.span,{opacity:0},U.createElement(Db,O)):U.createElement(Db,O),p&&"end"===_&&U.createElement(Mb,{className:"chakra-button__spinner--end",label:b,placement:"end",spacing:E},w))}));function Db(e){var t=e.leftIcon,r=e.rightIcon,n=e.children,a=e.iconSpacing;return U.createElement(U.Fragment,null,t&&U.createElement(Ob,{marginEnd:a},t),n,r&&U.createElement(Ob,{marginStart:a},r))}var Bb=["icon","children","isRound","aria-label"],Vb=Li((function(e,t){var r=e.icon,n=e.children,a=e.isRound,o=e["aria-label"],i=wb(e,Bb),l=r||n,s=U.isValidElement(l)?U.cloneElement(l,{"aria-hidden":!0,focusable:!1}):null;return U.createElement(Lb,xb({padding:"0",borderRadius:a?"full":void 0,ref:t,"aria-label":o},i),s)})),Nb={grad:.9,turn:360,rad:360/(2*Math.PI)},zb=function(e){return"string"==typeof e?e.length>0:"number"==typeof e},Fb=function(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},Hb=function(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=1),e>r?r:e>t?e:t},jb=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},Wb=function(e){return{r:Hb(e.r,0,255),g:Hb(e.g,0,255),b:Hb(e.b,0,255),a:Hb(e.a)}},Zb=function(e){return{r:Fb(e.r),g:Fb(e.g),b:Fb(e.b),a:Fb(e.a,3)}},$b=/^#([0-9a-f]{3,8})$/i,Ub=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},Gb=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}},qb=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}},Kb=function(e){return{h:jb(e.h),s:Hb(e.s,0,100),l:Hb(e.l,0,100),a:Hb(e.a)}},Yb=function(e){return{h:Fb(e.h),s:Fb(e.s),l:Fb(e.l),a:Fb(e.a,3)}},Xb=function(e){return qb((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},Qb=function(e){return{h:(t=Gb(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},Jb=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,ey=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,ty=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,ry=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,ny={string:[[function(e){var t=$b.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?Fb(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?Fb(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=ty.exec(e)||ry.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:Wb({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=Jb.exec(e)||ey.exec(e);if(!t)return null;var r,n,a=Kb({h:(r=t[1],n=t[2],void 0===n&&(n="deg"),Number(r)*(Nb[n]||1)),s:Number(t[3]),l:Number(t[4]),a:void 0===t[5]?1:Number(t[5])/(t[6]?100:1)});return Xb(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 zb(t)&&zb(r)&&zb(n)?Wb({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(!zb(t)||!zb(r)||!zb(n))return null;var i=Kb({h:Number(t),s:Number(r),l:Number(n),a:Number(o)});return Xb(i)},"hsl"],[function(e){var t=e.h,r=e.s,n=e.v,a=e.a,o=void 0===a?1:a;if(!zb(t)||!zb(r)||!zb(n))return null;var i=function(e){return{h:jb(e.h),s:Hb(e.s,0,100),v:Hb(e.v,0,100),a:Hb(e.a)}}({h:Number(t),s:Number(r),v:Number(n),a:Number(o)});return qb(i)},"hsv"]]},ay=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]},oy=function(e){return"string"==typeof e?ay(e.trim(),ny.string):"object"==typeof e&&null!==e?ay(e,ny.object):[null,void 0]},iy=function(e){return oy(e)[1]},ly=function(e,t){var r=Qb(e);return{h:r.h,s:Hb(r.s+100*t,0,100),l:r.l,a:r.a}},sy=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},cy=function(e,t){var r=Qb(e);return{h:r.h,s:r.s,l:Hb(r.l+100*t,0,100),a:r.a}},uy=function(){function e(e){this.parsed=oy(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 Fb(sy(this.rgba),2)},e.prototype.isDark=function(){return sy(this.rgba)<.5},e.prototype.isLight=function(){return sy(this.rgba)>=.5},e.prototype.toHex=function(){return t=(e=Zb(this.rgba)).r,r=e.g,n=e.b,o=(a=e.a)<1?Ub(Fb(255*a)):"","#"+Ub(t)+Ub(r)+Ub(n)+o;var e,t,r,n,a,o},e.prototype.toRgb=function(){return Zb(this.rgba)},e.prototype.toRgbString=function(){return t=(e=Zb(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 Yb(Qb(this.rgba))},e.prototype.toHslString=function(){return t=(e=Yb(Qb(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=Gb(this.rgba),{h:Fb(e.h),s:Fb(e.s),v:Fb(e.v),a:Fb(e.a,3)};var e},e.prototype.invert=function(){return dy({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),dy(ly(this.rgba,e))},e.prototype.desaturate=function(e){return void 0===e&&(e=.1),dy(ly(this.rgba,-e))},e.prototype.grayscale=function(){return dy(ly(this.rgba,-1))},e.prototype.lighten=function(e){return void 0===e&&(e=.1),dy(cy(this.rgba,e))},e.prototype.darken=function(e){return void 0===e&&(e=.1),dy(cy(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?dy({r:(t=this.rgba).r,g:t.g,b:t.b,a:e}):Fb(this.rgba.a,3);var t},e.prototype.hue=function(e){var t=Qb(this.rgba);return"number"==typeof e?dy({h:e,s:t.s,l:t.l,a:t.a}):Fb(t.h)},e.prototype.isEqual=function(e){return this.toHex()===dy(e).toHex()},e}(),dy=function(e){return e instanceof uy?e:new uy(e)},py=[];function my(){return(my=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 hy(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 fy(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 vy=function(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=1),e>r?r:e<t?t:e},gy=function(e){return"touches"in e},by=function(e){return e&&e.ownerDocument.defaultView||self},yy=function(e,t,r){var n=e.getBoundingClientRect(),a=gy(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:vy((a.pageX-(n.left+by(e).pageXOffset))/n.width),top:vy((a.pageY-(n.top+by(e).pageYOffset))/n.height)}},Ey=function(e){!gy(e)&&e.preventDefault()},ky=U.memo((function(e){var t=e.onMove,r=e.onKey,n=hy(e,["onMove","onKey"]),a=(0,U.useRef)(null),o=fy(t),i=fy(r),l=(0,U.useRef)(null),s=(0,U.useRef)(!1),c=(0,U.useMemo)((function(){var e=function(e){Ey(e),(gy(e)?e.touches.length>0:e.buttons>0)&&a.current?o(yy(a.current,e,l.current)):r(!1)},t=function(){return r(!1)};function r(r){var n=s.current,o=by(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&&(Ey(t),!function(e,t){return t&&!gy(e)}(t,s.current)&&n)){if(gy(t)){s.current=!0;var i=t.changedTouches||[];i.length&&(l.current=i[0].identifier)}n.focus(),o(yy(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",my({},n,{onTouchStart:u,onMouseDown:u,className:"react-colorful__interactive",ref:a,onKeyDown:d,tabIndex:0,role:"slider"}))})),wy=function(e){return e.filter(Boolean).join(" ")},xy=function(e){var t=e.color,r=e.left,n=e.top,a=void 0===n?.5:n,o=wy(["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}}))},_y=function(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=Math.pow(10,t)),Math.round(r*e)/r},Py=(Math.PI,function(e){return Iy(Cy(e))}),Cy=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?_y(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?_y(parseInt(e.substring(6,8),16)/255,2):1}},Ay=function(e){var t=e.s,r=e.v,n=e.a,a=(200-t)*r/100;return{h:_y(e.h),s:_y(a>0&&a<200?t*r/100/(a<=100?a:200-a)*100:0),l:_y(a/2),a:_y(n,2)}},Sy=function(e){var t=Ay(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},Ry=function(e){var t=Ay(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},My=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:_y(255*[n,l,i,i,s,n][c]),g:_y(255*[s,n,n,l,i,i][c]),b:_y(255*[i,i,s,n,n,l][c]),a:_y(a,2)}},Ty=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},Oy=function(e){var t=e.r,r=e.g,n=e.b,a=e.a,o=a<1?Ty(_y(255*a)):"";return"#"+Ty(t)+Ty(r)+Ty(n)+o},Iy=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:_y(60*(l<0?l+6:l)),s:_y(o?i/o*100:0),v:_y(o/255*100),a}},Ly=U.memo((function(e){var t=e.hue,r=e.onChange,n=wy(["react-colorful__hue",e.className]);return U.createElement("div",{className:n},U.createElement(ky,{onMove:function(e){r({h:360*e.left})},onKey:function(e){r({h:vy(t+360*e.left,0,360)})},"aria-label":"Hue","aria-valuenow":_y(t),"aria-valuemax":"360","aria-valuemin":"0"},U.createElement(xy,{className:"react-colorful__hue-pointer",left:t/360,color:Sy({h:t,s:100,v:100,a:1})})))})),Dy=U.memo((function(e){var t=e.hsva,r=e.onChange,n={backgroundColor:Sy({h:t.h,s:100,v:100,a:1})};return U.createElement("div",{className:"react-colorful__saturation",style:n},U.createElement(ky,{onMove:function(e){r({s:100*e.left,v:100-100*e.top})},onKey:function(e){r({s:vy(t.s+100*e.left,0,100),v:vy(t.v-100*e.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+_y(t.s)+"%, Brightness "+_y(t.v)+"%"},U.createElement(xy,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:Sy(t)})))})),By=function(e,t){if(e===t)return!0;for(var r in e)if(e[r]!==t[r])return!1;return!0};var Vy="undefined"!=typeof window?U.useLayoutEffect:U.useEffect,Ny=new Map,zy=function(e){var t=e.className,r=e.hsva,n=e.onChange,a={backgroundImage:"linear-gradient(90deg, "+Ry(Object.assign({},r,{a:0}))+", "+Ry(Object.assign({},r,{a:1}))+")"},o=wy(["react-colorful__alpha",t]),i=_y(100*r.a);return U.createElement("div",{className:o},U.createElement("div",{className:"react-colorful__alpha-gradient",style:a}),U.createElement(ky,{onMove:function(e){n({a:e.left})},onKey:function(e){n({a:vy(r.a+e.left)})},"aria-label":"Alpha","aria-valuetext":i+"%","aria-valuenow":i,"aria-valuemin":"0","aria-valuemax":"100"},U.createElement(xy,{className:"react-colorful__alpha-pointer",left:r.a,color:Ry(r)})))},Fy=function(e){var t,n=e.className,a=e.colorModel,o=e.color,i=void 0===o?a.defaultColor:o,l=e.onChange,s=hy(e,["className","colorModel","color","onChange"]),c=(0,U.useRef)(null);t=c,Vy((function(){var e=t.current?t.current.ownerDocument:document;if(void 0!==e&&!Ny.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}',Ny.set(e,n);var a=r.nc;a&&n.setAttribute("nonce",a),e.head.appendChild(n)}}),[]);var u=function(e,t,r){var n=fy(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;By(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=wy(["react-colorful",n]);return U.createElement("div",my({},s,{ref:c,className:m}),U.createElement(Dy,{hsva:d,onChange:p}),U.createElement(Ly,{hue:d.h,onChange:p}),U.createElement(zy,{hsva:d,onChange:p,className:"react-colorful__last-control"}))},Hy={defaultColor:"0001",toHsva:Py,fromHsva:function(e){return Oy(My(e))},equal:function(e,t){return e.toLowerCase()===t.toLowerCase()||By(Cy(e),Cy(t))}},jy=function(e){return U.createElement(Fy,my({},e,{colorModel:Hy}))},Wy=r(1774),Zy=r.n(Wy);const $y=window._BLOCKART_;function Uy(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=Uy(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}const Gy=e=>Object.prototype.toString.call(e),qy=e=>{try{return void 0===e}catch(e){if(e instanceof ReferenceError)return!0;throw e}},Ky=e=>e.charAt(0).toUpperCase()+e.slice(1),Yy=(...e)=>function(){for(var e,t,r=0,n="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=Uy(e))&&(n&&(n+=" "),n+=t);return n}(e),Xy=(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},Qy=(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 Qy(o,i,r),e},Jy=(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},eE=(e,t)=>{if(e===t)return!0;if(Gy(e)!==Gy(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(!eE(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(!eE(e[n],t[n]))return!1}return!0}return!1},tE=e=>{if(null===e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map((e=>tE(e)));const t={};for(let r in e)e.hasOwnProperty(r)&&(t[r]=tE(e[r]));return t},rE=e=>!!e&&e.startsWith("var("),nE=()=>{},aE=(e,t)=>(Object.entries(t).forEach((([t,r])=>{e=e.replaceAll(`{{${t}}}`,r)})),e),oE=(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},iE=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},lE=window.lodash,sE={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(!oE(e.settings,t))continue;const r=aE(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 g,b,y,E,k;const t=null!==(g=u[e]?.unit)&&void 0!==g?g:"px",r=[`${null!==(b=u[e]?.top)&&void 0!==b?b: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(!oE(e.settings,r))continue;const o=aE(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(aE(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(aE(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(!oE(e.settings,r))continue;const o=aE(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=iE(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(!oE(e.settings,t))continue;const r=aE(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:g,_className:b}=t;if(!b){for(const t of o){if(!oE(e.settings,t))return;const r=aE(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"};`),g?.[e]?.value&&l[e].push(`letter-spacing: ${g[e].value}${null!==(n=g[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(!oE(e.settings,t))return;const r=aE(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(!oE(e.settings,r))return;const i=aE(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(!oE(e.settings,r))continue;const o=aE(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,lE.isUndefined)(t[e])||("object"==typeof t[e]?(0,lE.isUndefined)(t[e].value)&&""===t[e].value||i[e].push(aE(o,{VALUE:t[e].value+t[e].unit||"px"})):(0,lE.isUndefined)(t[e])&&""===t[e]||i[e].push(aE(o,{VALUE:t[e]})))}));else{const{value:e,unit:r}=t;(0,lE.isUndefined)(e)&&""===e||i.allDevice.push(aE(o,{VALUE:(null!=e?e:0)+(null!=r?r:"px")}))}else(0,lE.isUndefined)(t)&&""===t||i.allDevice.push(aE(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(!oE(e.settings,t))return;const r=aE(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}},cE=(e,t)=>t?.border?sE.border:t?.background?sE.background:t?.typography?sE.typography:t?.boxShadow?sE.boxShadow:t?.dimension?sE.dimension:t?.topSeparator||t?.bottomSeparator?sE.separator:t?.positionProperty?sE.position:["hideOnDesktop","hideOnTablet","hideOnMobile","colReverseOnTablet","colReverseOnMobile"].includes(e)?sE.advanced:sE.common,uE=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,Z.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=cE(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?($y.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}},dE=window.wp.data,pE=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,dE.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}},mE=window.wp.primitives,hE=(0,U.createElement)(mE.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,U.createElement)(mE.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"})),fE=window.wp.components,vE=(e,t,r)=>{(0,U.useEffect)((()=>(window.addEventListener(e,t,r),()=>window.removeEventListener(e,t,r))),[e,t,r])},gE=e=>{try{return JSON.parse(e)}catch(e){throw new Error("Filed to deserialize value")}},bE=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=gE})=>{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 vE("storage",(t=>{t.storageArea===window[e]&&t.key===n&&u(l(t.newValue))})),vE(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),yE=["clientId","className","cssID","text","link","icon","hasModal","modalOnly","columns","childRow","markup","blockCSS","image","alt1","alt2","colWidth","blockHTML"],EE=()=>{const[e,t]=bE({key:"_magazine_blocks_styles",defaultValue:{}}),{clientId:r,getAttributes:n,blockName:a}=(0,dE.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))yE.includes(e)||(o[e]=i[e]);t((e=>({...e,[a]:o})))},i=()=>{const{updateBlockAttributes:t}=(0,dE.dispatch)("core/block-editor"),n=e?.[a];n&&t(r,{...n})};return{CopyPasterStyleBlockControl:(0,U.useMemo)((()=>t=>{if(!$y.configs.editor["copy-paste-styles"])return null;const r=t.withBlockControls?e=>G().createElement(q.BlockControls,null,G().createElement(fE.ToolbarGroup,null,e.children)):U.Fragment;return G().createElement(r,null,G().createElement(fE.ToolbarDropdownMenu,{icon:G().createElement(fE.Icon,{icon:hE}),label:(0,K.__)("Copy/Paste Styles","blockart"),controls:[{icon:G().createElement(fE.Icon,{icon:hE}),title:(0,K.__)("Copy Styles","blockart"),onClick:o},{icon:G().createElement(fE.Icon,{icon:hE}),title:(0,K.__)("Paste Styles","blockart"),onClick:i,isDisabled:!e?.[a]}]}))}),[a,o,i,e]),copyStyles:o,pasteStyles:i}},kE=(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},wE=(e,t=250)=>{const r=(0,U.useRef)();return(0,U.useCallback)(((...n)=>{clearTimeout(r.current),r.current=setTimeout((()=>{e(...n)}),t)}),[e,t])},xE=new Map,_E=new Map;function PE(e,t){return function(e,t){xE.has(e)||xE.set(e,{value:t,updaters:new Set})}(e,t),xE.get(e)}function CE(e){return t=>{!function(e,t){SE(e,t),function(e){const t=PE(e);t.updaters.forEach((e=>{e(t.value)}))}(e)}(e,t)}}function AE(e,t){!function(e,t){void 0===PE(e).value&&void 0!==t&&SE(e,t)}(e,t);const r=PE(e,t),n=(0,U.useState)(r.value);return r.updaters.add(n[1]),[r.value,CE(e)]}function SE(e,t){const r=PE(e);r.value!==t&&(r.value=function(e,t){const r=_E.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 RE(e,t){const r=_E.get(e)||new Set;r.add(t),_E.set(e,r)}const ME=()=>{const e="site-editor"===pagenow?"core/edit-site":"core/edit-post",[t,r]=AE("blockart-device","desktop");(0,U.useEffect)((()=>{wp?.customize?.previewedDevice?.bind((e=>{r(e)}))}),[]);const n=(0,dE.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,dE.dispatch)(e)?.__experimentalSetPreviewDeviceType(Ky(t)),wp?.customize?.previewedDevice(t)}}},TE=window.wp.apiFetch;var OE=r.n(TE);const IE=window.wp.plugins;var LE=function(){return U.createElement(ni,{styles:'\n html {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n font-family: system-ui, sans-serif;\n -webkit-font-smoothing: antialiased;\n text-rendering: optimizeLegibility;\n -moz-osx-font-smoothing: grayscale;\n touch-action: manipulation;\n }\n\n body {\n position: relative;\n min-height: 100%;\n font-feature-settings: \'kern\';\n }\n\n *,\n *::before,\n *::after {\n border-width: 0;\n border-style: solid;\n box-sizing: border-box;\n }\n\n main {\n display: block;\n }\n\n hr {\n border-top-width: 1px;\n box-sizing: content-box;\n height: 0;\n overflow: visible;\n }\n\n pre,\n code,\n kbd,\n samp {\n font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;\n font-size: 1em;\n }\n\n a {\n background-color: transparent;\n color: inherit;\n text-decoration: inherit;\n }\n\n abbr[title] {\n border-bottom: none;\n text-decoration: underline;\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n\n b,\n strong {\n font-weight: bold;\n }\n\n small {\n font-size: 80%;\n }\n\n sub,\n sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n\n sub {\n bottom: -0.25em;\n }\n\n sup {\n top: -0.5em;\n }\n\n img {\n border-style: none;\n }\n\n button,\n input,\n optgroup,\n select,\n textarea {\n font-family: inherit;\n font-size: 100%;\n line-height: 1.15;\n margin: 0;\n }\n\n button,\n input {\n overflow: visible;\n }\n\n button,\n select {\n text-transform: none;\n }\n\n button::-moz-focus-inner,\n [type="button"]::-moz-focus-inner,\n [type="reset"]::-moz-focus-inner,\n [type="submit"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n }\n\n fieldset {\n padding: 0.35em 0.75em 0.625em;\n }\n\n legend {\n box-sizing: border-box;\n color: inherit;\n display: table;\n max-width: 100%;\n padding: 0;\n white-space: normal;\n }\n\n progress {\n vertical-align: baseline;\n }\n\n textarea {\n overflow: auto;\n }\n\n [type="checkbox"],\n [type="radio"] {\n box-sizing: border-box;\n padding: 0;\n }\n\n [type="number"]::-webkit-inner-spin-button,\n [type="number"]::-webkit-outer-spin-button {\n -webkit-appearance: none !important;\n }\n\n input[type="number"] {\n -moz-appearance: textfield;\n }\n\n [type="search"] {\n -webkit-appearance: textfield;\n outline-offset: -2px;\n }\n\n [type="search"]::-webkit-search-decoration {\n -webkit-appearance: none !important;\n }\n\n ::-webkit-file-upload-button {\n -webkit-appearance: button;\n font: inherit;\n }\n\n details {\n display: block;\n }\n\n summary {\n display: list-item;\n }\n\n template {\n display: none;\n }\n\n [hidden] {\n display: none !important;\n }\n\n body,\n blockquote,\n dl,\n dd,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n hr,\n figure,\n p,\n pre {\n margin: 0;\n }\n\n button {\n background: transparent;\n padding: 0;\n }\n\n fieldset {\n margin: 0;\n padding: 0;\n }\n\n ol,\n ul {\n margin: 0;\n padding: 0;\n }\n\n textarea {\n resize: vertical;\n }\n\n button,\n [role="button"] {\n cursor: pointer;\n }\n\n button::-moz-focus-inner {\n border: 0 !important;\n }\n\n table {\n border-collapse: collapse;\n }\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n\n button,\n input,\n optgroup,\n select,\n textarea {\n padding: 0;\n line-height: inherit;\n color: inherit;\n }\n\n img,\n svg,\n video,\n canvas,\n audio,\n iframe,\n embed,\n object {\n display: block;\n }\n\n img,\n video {\n max-width: 100%;\n height: auto;\n }\n\n [data-js-focus-visible] :focus:not([data-focus-visible-added]) {\n outline: none;\n box-shadow: none;\n }\n\n select::-ms-expand {\n display: none;\n }\n '})},DE={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"};function BE(){return BE=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},BE.apply(this,arguments)}var VE=BE({},DE,{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"},{container:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px"}});function NE(e,t){(function(e){return"string"==typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var r=function(e){return"string"==typeof e&&-1!==e.indexOf("%")}(e);return e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),r&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function zE(e){return Math.min(1,Math.max(0,e))}function FE(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function HE(e){return e<=1?"".concat(100*Number(e),"%"):e}function jE(e){return 1===e.length?"0"+e:String(e)}function WE(e,t,r){e=NE(e,255),t=NE(t,255),r=NE(r,255);var n=Math.max(e,t,r),a=Math.min(e,t,r),o=0,i=0,l=(n+a)/2;if(n===a)i=0,o=0;else{var s=n-a;switch(i=l>.5?s/(2-n-a):s/(n+a),n){case e:o=(t-r)/s+(t<r?6:0);break;case t:o=(r-e)/s+2;break;case r:o=(e-t)/s+4}o/=6}return{h:o,s:i,l}}function ZE(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*r*(t-e):r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function $E(e,t,r){e=NE(e,255),t=NE(t,255),r=NE(r,255);var n=Math.max(e,t,r),a=Math.min(e,t,r),o=0,i=n,l=n-a,s=0===n?0:l/n;if(n===a)o=0;else{switch(n){case e:o=(t-r)/l+(t<r?6:0);break;case t:o=(r-e)/l+2;break;case r:o=(e-t)/l+4}o/=6}return{h:o,s,v:i}}function UE(e,t,r,n){var a=[jE(Math.round(e).toString(16)),jE(Math.round(t).toString(16)),jE(Math.round(r).toString(16))];return n&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0):a.join("")}function GE(e){return Math.round(255*parseFloat(e)).toString(16)}function qE(e){return KE(e)/255}function KE(e){return parseInt(e,16)}var YE={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};var XE="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),QE="[\\s|\\(]+(".concat(XE,")[,|\\s]+(").concat(XE,")[,|\\s]+(").concat(XE,")\\s*\\)?"),JE="[\\s|\\(]+(".concat(XE,")[,|\\s]+(").concat(XE,")[,|\\s]+(").concat(XE,")[,|\\s]+(").concat(XE,")\\s*\\)?"),ek={CSS_UNIT:new RegExp(XE),rgb:new RegExp("rgb"+QE),rgba:new RegExp("rgba"+JE),hsl:new RegExp("hsl"+QE),hsla:new RegExp("hsla"+JE),hsv:new RegExp("hsv"+QE),hsva:new RegExp("hsva"+JE),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function tk(e){return Boolean(ek.CSS_UNIT.exec(String(e)))}var rk=function(){function e(t,r){var n;if(void 0===t&&(t=""),void 0===r&&(r={}),t instanceof e)return t;"number"==typeof t&&(t=function(e){return{r:e>>16,g:(65280&e)>>8,b:255&e}}(t)),this.originalInput=t;var a=function(e){var t={r:0,g:0,b:0},r=1,n=null,a=null,o=null,i=!1,l=!1;return"string"==typeof e&&(e=function(e){if(0===(e=e.trim().toLowerCase()).length)return!1;var t=!1;if(YE[e])e=YE[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var r=ek.rgb.exec(e);return r?{r:r[1],g:r[2],b:r[3]}:(r=ek.rgba.exec(e))?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=ek.hsl.exec(e))?{h:r[1],s:r[2],l:r[3]}:(r=ek.hsla.exec(e))?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=ek.hsv.exec(e))?{h:r[1],s:r[2],v:r[3]}:(r=ek.hsva.exec(e))?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=ek.hex8.exec(e))?{r:KE(r[1]),g:KE(r[2]),b:KE(r[3]),a:qE(r[4]),format:t?"name":"hex8"}:(r=ek.hex6.exec(e))?{r:KE(r[1]),g:KE(r[2]),b:KE(r[3]),format:t?"name":"hex"}:(r=ek.hex4.exec(e))?{r:KE(r[1]+r[1]),g:KE(r[2]+r[2]),b:KE(r[3]+r[3]),a:qE(r[4]+r[4]),format:t?"name":"hex8"}:!!(r=ek.hex3.exec(e))&&{r:KE(r[1]+r[1]),g:KE(r[2]+r[2]),b:KE(r[3]+r[3]),format:t?"name":"hex"}}(e)),"object"==typeof e&&(tk(e.r)&&tk(e.g)&&tk(e.b)?(t=function(e,t,r){return{r:255*NE(e,255),g:255*NE(t,255),b:255*NE(r,255)}}(e.r,e.g,e.b),i=!0,l="%"===String(e.r).substr(-1)?"prgb":"rgb"):tk(e.h)&&tk(e.s)&&tk(e.v)?(n=HE(e.s),a=HE(e.v),t=function(e,t,r){e=6*NE(e,360),t=NE(t,100),r=NE(r,100);var n=Math.floor(e),a=e-n,o=r*(1-t),i=r*(1-a*t),l=r*(1-(1-a)*t),s=n%6;return{r:255*[r,i,o,o,l,r][s],g:255*[l,r,r,i,o,o][s],b:255*[o,o,l,r,r,i][s]}}(e.h,n,a),i=!0,l="hsv"):tk(e.h)&&tk(e.s)&&tk(e.l)&&(n=HE(e.s),o=HE(e.l),t=function(e,t,r){var n,a,o;if(e=NE(e,360),t=NE(t,100),r=NE(r,100),0===t)a=r,o=r,n=r;else{var i=r<.5?r*(1+t):r+t-r*t,l=2*r-i;n=ZE(l,i,e+1/3),a=ZE(l,i,e),o=ZE(l,i,e-1/3)}return{r:255*n,g:255*a,b:255*o}}(e.h,n,o),i=!0,l="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(r=e.a)),r=FE(r),{ok:i,format:e.format||l,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:r}}(t);this.originalInput=t,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(n=r.format)&&void 0!==n?n:a.format,this.gradientType=r.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=a.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e=this.toRgb(),t=e.r/255,r=e.g/255,n=e.b/255;return.2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=FE(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){return 0===this.toHsl().s},e.prototype.toHsv=function(){var e=$E(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=$E(this.r,this.g,this.b),t=Math.round(360*e.h),r=Math.round(100*e.s),n=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(r,"%, ").concat(n,"%)"):"hsva(".concat(t,", ").concat(r,"%, ").concat(n,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=WE(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=WE(this.r,this.g,this.b),t=Math.round(360*e.h),r=Math.round(100*e.s),n=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(r,"%, ").concat(n,"%)"):"hsla(".concat(t,", ").concat(r,"%, ").concat(n,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),UE(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),function(e,t,r,n,a){var o=[jE(Math.round(e).toString(16)),jE(Math.round(t).toString(16)),jE(Math.round(r).toString(16)),jE(GE(n))];return a&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))&&o[3].startsWith(o[3].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toHexShortString=function(e){return void 0===e&&(e=!1),1===this.a?this.toHexString(e):this.toHex8String(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),r=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(r,")"):"rgba(".concat(e,", ").concat(t,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*NE(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*NE(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+UE(this.r,this.g,this.b,!1),t=0,r=Object.entries(YE);t<r.length;t++){var n=r[t],a=n[0];if(e===n[1])return a}return!1},e.prototype.toString=function(e){var t=Boolean(e);e=null!=e?e:this.format;var r=!1,n=this.a<1&&this.a>=0;return t||!n||!e.startsWith("hex")&&"name"!==e?("rgb"===e&&(r=this.toRgbString()),"prgb"===e&&(r=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(r=this.toHexString()),"hex3"===e&&(r=this.toHexString(!0)),"hex4"===e&&(r=this.toHex8String(!0)),"hex8"===e&&(r=this.toHex8String()),"name"===e&&(r=this.toName()),"hsl"===e&&(r=this.toHslString()),"hsv"===e&&(r=this.toHsvString()),r||this.toHexString()):"name"===e&&0===this.a?this.toName():this.toRgbString()},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var r=this.toHsl();return r.l+=t/100,r.l=zE(r.l),new e(r)},e.prototype.brighten=function(t){void 0===t&&(t=10);var r=this.toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(-t/100*255))),r.g=Math.max(0,Math.min(255,r.g-Math.round(-t/100*255))),r.b=Math.max(0,Math.min(255,r.b-Math.round(-t/100*255))),new e(r)},e.prototype.darken=function(t){void 0===t&&(t=10);var r=this.toHsl();return r.l-=t/100,r.l=zE(r.l),new e(r)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var r=this.toHsl();return r.s-=t/100,r.s=zE(r.s),new e(r)},e.prototype.saturate=function(t){void 0===t&&(t=10);var r=this.toHsl();return r.s+=t/100,r.s=zE(r.s),new e(r)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var r=this.toHsl(),n=(r.h+t)%360;return r.h=n<0?360+n:n,new e(r)},e.prototype.mix=function(t,r){void 0===r&&(r=50);var n=this.toRgb(),a=new e(t).toRgb(),o=r/100;return new e({r:(a.r-n.r)*o+n.r,g:(a.g-n.g)*o+n.g,b:(a.b-n.b)*o+n.b,a:(a.a-n.a)*o+n.a})},e.prototype.analogous=function(t,r){void 0===t&&(t=6),void 0===r&&(r=30);var n=this.toHsl(),a=360/r,o=[this];for(n.h=(n.h-(a*t>>1)+720)%360;--t;)n.h=(n.h+a)%360,o.push(new e(n));return o},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);for(var r=this.toHsv(),n=r.h,a=r.s,o=r.v,i=[],l=1/t;t--;)i.push(new e({h:n,s:a,v:o})),o=(o+l)%1;return i},e.prototype.splitcomplement=function(){var t=this.toHsl(),r=t.h;return[this,new e({h:(r+72)%360,s:t.s,l:t.l}),new e({h:(r+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var r=this.toRgb(),n=new e(t).toRgb(),a=r.a+n.a*(1-r.a);return new e({r:(r.r*r.a+n.r*n.a*(1-r.a))/a,g:(r.g*r.a+n.g*n.a*(1-r.a))/a,b:(r.b*r.a+n.b*n.a*(1-r.a))/a,a})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var r=this.toHsl(),n=r.h,a=[this],o=360/t,i=1;i<t;i++)a.push(new e({h:(n+i*o)%360,s:r.s,l:r.l}));return a},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}();function nk(e){if(void 0===e&&(e={}),void 0!==e.count&&null!==e.count){var t=e.count,r=[];for(e.count=void 0;t>r.length;)e.count=null,e.seed&&(e.seed+=1),r.push(nk(e));return e.count=t,r}var n=function(e,t){var r=ok(function(e){var t=parseInt(e,10);if(!Number.isNaN(t)&&t<360&&t>0)return[t,t];if("string"==typeof e){var r=lk.find((function(t){return t.name===e}));if(r){var n=ik(r);if(n.hueRange)return n.hueRange}var a=new rk(e);if(a.isValid){var o=a.toHsv().h;return[o,o]}}return[0,360]}(e),t);return r<0&&(r=360+r),r}(e.hue,e.seed),a=function(e,t){if("monochrome"===t.hue)return 0;if("random"===t.luminosity)return ok([0,100],t.seed);var r=ak(e).saturationRange,n=r[0],a=r[1];switch(t.luminosity){case"bright":n=55;break;case"dark":n=a-10;break;case"light":a=55}return ok([n,a],t.seed)}(n,e),o=function(e,t,r){var n=function(e,t){for(var r=ak(e).lowerBounds,n=0;n<r.length-1;n++){var a=r[n][0],o=r[n][1],i=r[n+1][0],l=r[n+1][1];if(t>=a&&t<=i){var s=(l-o)/(i-a);return s*t+(o-s*a)}}return 0}(e,t),a=100;switch(r.luminosity){case"dark":a=n+20;break;case"light":n=(a+n)/2;break;case"random":n=0,a=100}return ok([n,a],r.seed)}(n,a,e),i={h:n,s:a,v:o};return void 0!==e.alpha&&(i.a=e.alpha),new rk(i)}function ak(e){e>=334&&e<=360&&(e-=360);for(var t=0,r=lk;t<r.length;t++){var n=ik(r[t]);if(n.hueRange&&e>=n.hueRange[0]&&e<=n.hueRange[1])return n}throw Error("Color not found")}function ok(e,t){if(void 0===t)return Math.floor(e[0]+Math.random()*(e[1]+1-e[0]));var r=e[1]||1,n=e[0]||0,a=(t=(9301*t+49297)%233280)/233280;return Math.floor(n+a*(r-n))}function ik(e){var t=e.lowerBounds[0][0],r=e.lowerBounds[e.lowerBounds.length-1][0],n=e.lowerBounds[e.lowerBounds.length-1][1],a=e.lowerBounds[0][1];return{name:e.name,hueRange:e.hueRange,lowerBounds:e.lowerBounds,saturationRange:[t,r],brightnessRange:[n,a]}}var lk=[{name:"monochrome",hueRange:null,lowerBounds:[[0,0],[100,0]]},{name:"red",hueRange:[-26,18],lowerBounds:[[20,100],[30,92],[40,89],[50,85],[60,78],[70,70],[80,60],[90,55],[100,50]]},{name:"orange",hueRange:[19,46],lowerBounds:[[20,100],[30,93],[40,88],[50,86],[60,85],[70,70],[100,70]]},{name:"yellow",hueRange:[47,62],lowerBounds:[[25,100],[40,94],[50,89],[60,86],[70,84],[80,82],[90,80],[100,75]]},{name:"green",hueRange:[63,178],lowerBounds:[[30,100],[40,90],[50,85],[60,81],[70,74],[80,64],[90,50],[100,40]]},{name:"blue",hueRange:[179,257],lowerBounds:[[20,100],[30,86],[40,80],[50,74],[60,60],[70,52],[80,44],[90,39],[100,35]]},{name:"purple",hueRange:[258,282],lowerBounds:[[20,100],[30,87],[40,79],[50,70],[60,65],[70,59],[80,52],[90,45],[100,42]]},{name:"pink",hueRange:[283,334],lowerBounds:[[20,100],[30,90],[40,86],[60,84],[80,80],[90,75],[100,73]]}],sk=function(e,t,r){var n=Re(e,"colors."+t,t);return new rk(n).isValid?n:r},ck=function(e,t){return function(r){var n=sk(r,e);return new rk(n).setAlpha(t).toRgbString()}};function uk(e,t){return void 0===e&&(e="1rem"),void 0===t&&(t="rgba(255, 255, 255, 0.15)"),{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}}function dk(e){var t,r=nk().toHexString();return!e||ke(t=e)&&0===Object.keys(t).length?r:e.string&&e.colors?function(e,t){var r=0;if(0===e.length)return t[0];for(var n=0;n<e.length;n+=1)r=e.charCodeAt(n)+((r<<5)-r),r|=0;return t[r=(r%t.length+t.length)%t.length]}(e.string,e.colors):e.string&&!e.colors?function(e){var t=0;if(0===e.length)return t.toString();for(var r=0;r<e.length;r+=1)t=e.charCodeAt(r)+((t<<5)-t),t|=0;for(var n="#",a=0;a<3;a+=1)n+=("00"+(t>>8*a&255).toString(16)).substr(-2);return n}(e.string):e.colors&&!e.string?function(e){return e[Math.floor(Math.random()*e.length)]}(e.colors):r}function pk(e,t){return function(r){return"dark"===r.colorMode?t:e}}function mk(e){var t=e.orientation,r=e.vertical,n=e.horizontal;return t?"vertical"===t?r:n:{}}function hk(){return hk=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},hk.apply(this,arguments)}function fk(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 vk=function(){function e(e){var t=this;this.map={},this.called=!1,this.assert=function(){if(t.called)throw new Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?");t.called=!0},this.parts=function(){t.assert();for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];for(var a=0,o=r;a<o.length;a++){var i=o[a];t.map[i]=t.toPart(i)}return t},this.extend=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];for(var a=0,o=r;a<o.length;a++){var i=o[a];i in t.map||(t.map[i]=t.toPart(i))}return t},this.toPart=function(e){var r="chakra-"+(["container","root"].includes(null!=e?e:"")?[t.name]:[t.name,e]).filter(Boolean).join("__");return{className:r,selector:"."+r,toString:function(){return e}}},this.__type={}}var t,r;return t=e,r=[{key:"selectors",get:function(){var e=Ie(Object.entries(this.map).map((function(e){return[e[0],e[1].selector]})));return e}},{key:"classNames",get:function(){var e=Ie(Object.entries(this.map).map((function(e){return[e[0],e[1].className]})));return e}},{key:"keys",get:function(){return Object.keys(this.map)}}],r&&fk(t.prototype,r),e}();function gk(e){return new vk(e)}function bk(e){return ke(e)&&e.reference?e.reference:String(e)}var yk=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];return r.map(bk).join(" "+e+" ").replace(/calc/g,"")},Ek=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return"calc("+yk.apply(void 0,["+"].concat(t))+")"},kk=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return"calc("+yk.apply(void 0,["-"].concat(t))+")"},wk=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return"calc("+yk.apply(void 0,["*"].concat(t))+")"},xk=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return"calc("+yk.apply(void 0,["/"].concat(t))+")"},_k=function(e){var t=bk(e);return null==t||Number.isNaN(parseFloat(t))?wk(t,-1):String(t).startsWith("-")?String(t).slice(1):"-"+t},Pk=Object.assign((function(e){return{add:function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return Pk(Ek.apply(void 0,[e].concat(r)))},subtract:function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return Pk(kk.apply(void 0,[e].concat(r)))},multiply:function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return Pk(wk.apply(void 0,[e].concat(r)))},divide:function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return Pk(xk.apply(void 0,[e].concat(r)))},negate:function(){return Pk(_k(e))},toString:function(){return e.toString()}}}),{add:Ek,subtract:kk,multiply:wk,divide:xk,negate:_k});function Ck(e){var t=function(e,t){return void 0===t&&(t="-"),e.replace(/\s+/g,t)}(e.toString());return t.includes("\\.")?e:function(e){return!Number.isInteger(parseFloat(e.toString()))}(e)?t.replace(".","\\."):e}function Ak(e,t){return"var("+Ck(e)+(t?", "+t:"")+")"}function Sk(e,t){var r,n,a,o=(r=e,void 0===(n=null==t?void 0:t.prefix)&&(n=""),"--"+function(e,t){return void 0===t&&(t=""),[t,Ck(e)].filter(Boolean).join("-")}(r,n));return{variable:o,reference:Ak(o,(a=null==t?void 0:t.fallback,"string"==typeof a?a:null==a?void 0:a.reference))}}var Rk=gk("accordion").parts("root","container","button","panel").extend("icon"),Mk=gk("alert").parts("title","description","container").extend("icon"),Tk=gk("avatar").parts("label","badge","container").extend("excessLabel","group"),Ok=gk("breadcrumb").parts("link","item","container").extend("separator"),Ik=(gk("button").parts(),gk("checkbox").parts("control","icon","container").extend("label")),Lk=(gk("progress").parts("track","filledTrack").extend("label"),gk("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer")),Dk=gk("editable").parts("preview","input","textarea"),Bk=gk("form").parts("container","requiredIndicator","helperText"),Vk=gk("formError").parts("text","icon"),Nk=gk("input").parts("addon","field","element"),zk=gk("list").parts("container","item","icon"),Fk=gk("menu").parts("button","list","item").extend("groupTitle","command","divider"),Hk=gk("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),jk=gk("numberinput").parts("root","field","stepperGroup","stepper"),Wk=(gk("pininput").parts("field"),gk("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton")),Zk=gk("progress").parts("label","filledTrack","track"),$k=gk("radio").parts("container","control","label"),Uk=gk("select").parts("field","icon"),Gk=gk("slider").parts("container","track","thumb","filledTrack"),qk=gk("stat").parts("container","label","helpText","number","icon"),Kk=gk("switch").parts("container","track","thumb"),Yk=gk("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),Xk=gk("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),Qk=gk("tag").parts("container","label","closeButton"),Jk={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:{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"}},ew={parts:Rk.keys,baseStyle:{root:{},container:{borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}},button:{transitionProperty:"common",transitionDuration:"normal",fontSize:"1rem",_focus:{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"}}};function tw(e){var t=e.theme,r=e.colorScheme;return pk(sk(t,r+".100",r),ck(r+".200",.16)(t))(e)}var rw={subtle:function(e){var t=e.colorScheme;return{container:{bg:tw(e)},icon:{color:pk(t+".500",t+".200")(e)}}},"left-accent":function(e){var t=e.colorScheme;return{container:{paddingStart:3,borderStartWidth:"4px",borderStartColor:pk(t+".500",t+".200")(e),bg:tw(e)},icon:{color:pk(t+".500",t+".200")(e)}}},"top-accent":function(e){var t=e.colorScheme;return{container:{pt:2,borderTopWidth:"4px",borderTopColor:pk(t+".500",t+".200")(e),bg:tw(e)},icon:{color:pk(t+".500",t+".200")(e)}}},solid:function(e){var t=e.colorScheme;return{container:{bg:pk(t+".500",t+".200")(e),color:pk("white","gray.900")(e)}}}},nw={parts:Mk.keys,baseStyle:{container:{px:4,py:3},title:{fontWeight:"bold",lineHeight:6,marginEnd:2},description:{lineHeight:6},icon:{flexShrink:0,marginEnd:3,w:5,h:6}},variants:rw,defaultProps:{variant:"subtle",colorScheme:"blue"}},aw=function(e){return{transform:"translate(25%, 25%)",borderRadius:"full",border:"0.2em solid",borderColor:pk("white","gray.800")(e)}},ow=function(e){return{bg:pk("gray.200","whiteAlpha.400")(e)}},iw=function(e){var t=e.name,r=e.theme,n=t?dk({string:t}):"gray.400",a=function(e){return function(t){return"dark"===function(e){return function(t){var r=sk(t,e);return new rk(r).isDark()?"dark":"light"}}(e)(t)}}(n)(r),o="white";return a||(o="gray.800"),{bg:n,color:o,borderColor:pk("white","gray.800")(e),verticalAlign:"top"}};function lw(e){var t=VE[e];return{container:{width:e,height:e,fontSize:"calc("+(null!=t?t:e)+" / 2.5)"},excessLabel:{width:e,height:e},label:{fontSize:"calc("+(null!=t?t:e)+" / 2.5)",lineHeight:"100%"!==e?null!=t?t:e:void 0}}}var sw,cw,uw,dw={"2xs":lw("4"),xs:lw("6"),sm:lw("8"),md:lw("12"),lg:lw("16"),xl:lw("24"),"2xl":lw("32"),full:lw("100%")},pw={parts:Tk.keys,baseStyle:function(e){return{badge:aw(e),excessLabel:ow(e),container:iw(e)}},sizes:dw,defaultProps:{size:"md"}},mw={solid:function(e){var t=e.colorScheme,r=e.theme;return{bg:pk(t+".500",ck(t+".500",.6)(r))(e),color:pk("white","whiteAlpha.800")(e)}},subtle:function(e){var t=e.colorScheme,r=e.theme;return{bg:pk(t+".100",ck(t+".200",.16)(r))(e),color:pk(t+".800",t+".200")(e)}},outline:function(e){var t=e.colorScheme,r=e.theme,n=ck(t+".200",.8)(r),a=pk(sk(r,t+".500"),n)(e);return{color:a,boxShadow:"inset 0 0 0px 1px "+a}}},hw={baseStyle:{px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold"},variants:mw,defaultProps:{variant:"subtle",colorScheme:"gray"}},fw={parts:Ok.keys,baseStyle:{link:{transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focus:{boxShadow:"outline"}}}},vw=function(e){var t=e.colorScheme,r=e.theme;if("gray"===t)return{color:pk("inherit","whiteAlpha.900")(e),_hover:{bg:pk("gray.100","whiteAlpha.200")(e)},_active:{bg:pk("gray.200","whiteAlpha.300")(e)}};var n=ck(t+".200",.12)(r),a=ck(t+".200",.24)(r);return{color:pk(t+".600",t+".200")(e),bg:"transparent",_hover:{bg:pk(t+".50",n)(e)},_active:{bg:pk(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"}},bw={ghost:vw,outline:function(e){var t=e.colorScheme,r=pk("gray.200","whiteAlpha.300")(e);return BE({border:"1px solid",borderColor:"gray"===t?r:"currentColor"},vw(e))},solid:function(e){var t,r=e.colorScheme;if("gray"===r){var n=pk("gray.100","whiteAlpha.200")(e);return{bg:n,_hover:{bg:pk("gray.200","whiteAlpha.300")(e),_disabled:{bg:n}},_active:{bg:pk("gray.300","whiteAlpha.400")(e)}}}var a=null!=(t=gw[r])?t:{},o=a.bg,i=void 0===o?r+".500":o,l=a.color,s=void 0===l?"white":l,c=a.hoverBg,u=void 0===c?r+".600":c,d=a.activeBg,p=void 0===d?r+".700":d,m=pk(i,r+".200")(e);return{bg:m,color:pk(s,"gray.800")(e),_hover:{bg:pk(u,r+".300")(e),_disabled:{bg:m}},_active:{bg:pk(p,r+".400")(e)}}},link:function(e){var t=e.colorScheme;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:pk(t+".500",t+".200")(e),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:pk(t+".700",t+".500")(e)}}},unstyled:{bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:0,p:0}},yw={baseStyle:{lineHeight:"1.2",borderRadius:"md",fontWeight:"semibold",transitionProperty:"common",transitionDuration:"normal",_focus:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{_disabled:{bg:"initial"}}},variants:bw,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"}},Ew=function(e){var t=e.colorScheme;return{w:"100%",transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:pk(t+".500",t+".200")(e),borderColor:pk(t+".500",t+".200")(e),color:pk("white","gray.900")(e),_hover:{bg:pk(t+".600",t+".300")(e),borderColor:pk(t+".600",t+".300")(e)},_disabled:{borderColor:pk("gray.200","transparent")(e),bg:pk("gray.200","whiteAlpha.300")(e),color:pk("gray.500","whiteAlpha.500")(e)}},_indeterminate:{bg:pk(t+".500",t+".200")(e),borderColor:pk(t+".500",t+".200")(e),color:pk("white","gray.900")(e)},_disabled:{bg:pk("gray.100","whiteAlpha.100")(e),borderColor:pk("gray.100","transparent")(e)},_focus:{boxShadow:"outline"},_invalid:{borderColor:pk("red.500","red.300")(e)}}},kw={_disabled:{cursor:"not-allowed"}},ww={userSelect:"none",_disabled:{opacity:.4}},xw={transitionProperty:"transform",transitionDuration:"normal"},_w={parts:Ik.keys,baseStyle:function(e){return{icon:xw,container:kw,control:Ew(e),label:ww}},sizes:{sm:{control:{h:3,w:3},label:{fontSize:"sm"},icon:{fontSize:"0.45rem"}},md:{control:{w:4,h:4},label:{fontSize:"md"},icon:{fontSize:"0.625rem"}},lg:{control:{w:5,h:5},label:{fontSize:"lg"},icon:{fontSize:"0.625rem"}}},defaultProps:{size:"md",colorScheme:"blue"}},Pw=Sk("close-button-size"),Cw={baseStyle:function(e){var t=pk("blackAlpha.100","whiteAlpha.100")(e),r=pk("blackAlpha.200","whiteAlpha.200")(e);return{w:[Pw.reference],h:[Pw.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{bg:t},_active:{bg:r},_focus:{boxShadow:"outline"}}},sizes:{lg:(sw={},sw[Pw.variable]="40px",sw.fontSize="16px",sw),md:(cw={},cw[Pw.variable]="32px",cw.fontSize="12px",cw),sm:(uw={},uw[Pw.variable]="24px",uw.fontSize="10px",uw)},defaultProps:{size:"md"}},Aw={baseStyle:{fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm"},variants:hw.variants,defaultProps:hw.defaultProps};function Sw(e){return"full"===e?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:e}}}var Rw={bg:"blackAlpha.600",zIndex:"overlay"},Mw={display:"flex",zIndex:"modal",justifyContent:"center"},Tw=function(e){return BE({},e.isFullHeight&&{height:"100vh"},{zIndex:"modal",maxH:"100vh",bg:pk("white","gray.700")(e),color:"inherit",boxShadow:pk("lg","dark-lg")(e)})},Ow={px:6,py:4,fontSize:"xl",fontWeight:"semibold"},Iw={position:"absolute",top:2,insetEnd:3},Lw={px:6,py:2,flex:1,overflow:"auto"},Dw={px:6,py:4},Bw={xs:Sw("xs"),sm:Sw("md"),md:Sw("lg"),lg:Sw("2xl"),xl:Sw("4xl"),full:Sw("full")},Vw={parts:Lk.keys,baseStyle:function(e){return{overlay:Rw,dialogContainer:Mw,dialog:Tw(e),header:Ow,closeButton:Iw,body:Lw,footer:Dw}},sizes:Bw,defaultProps:{size:"xs"}},Nw={parts:Dk.keys,baseStyle:{preview:{borderRadius:"md",py:"3px",transitionProperty:"common",transitionDuration:"normal"},input:{borderRadius:"md",py:"3px",transitionProperty:"common",transitionDuration:"normal",width:"full",_focus:{boxShadow:"outline"},_placeholder:{opacity:.6}},textarea:{borderRadius:"md",py:"3px",transitionProperty:"common",transitionDuration:"normal",width:"full",_focus:{boxShadow:"outline"},_placeholder:{opacity:.6}}}},zw=function(e){return{marginStart:1,color:pk("red.500","red.300")(e)}},Fw=function(e){return{mt:2,color:pk("gray.500","whiteAlpha.600")(e),lineHeight:"normal",fontSize:"sm"}},Hw={parts:Bk.keys,baseStyle:function(e){return{container:{width:"100%",position:"relative"},requiredIndicator:zw(e),helperText:Fw(e)}}},jw=function(e){return{color:pk("red.500","red.300")(e),mt:2,fontSize:"sm",lineHeight:"normal"}},Ww=function(e){return{marginEnd:"0.5em",color:pk("red.500","red.300")(e)}},Zw={parts:Vk.keys,baseStyle:function(e){return{text:jw(e),icon:Ww(e)}}},$w={lg:{fontSize:"lg",px:4,h:12,borderRadius:"md"},md:{fontSize:"md",px:4,h:10,borderRadius:"md"},sm:{fontSize:"sm",px:3,h:8,borderRadius:"sm"},xs:{fontSize:"xs",px:2,h:6,borderRadius:"sm"}},Uw={lg:{field:$w.lg,addon:$w.lg},md:{field:$w.md,addon:$w.md},sm:{field:$w.sm,addon:$w.sm},xs:{field:$w.xs,addon:$w.xs}};function Gw(e){var t=e.focusBorderColor,r=e.errorBorderColor;return{focusBorderColor:t||pk("blue.500","blue.300")(e),errorBorderColor:r||pk("red.500","red.300")(e)}}var qw={outline:function(e){var t=e.theme,r=Gw(e),n=r.focusBorderColor,a=r.errorBorderColor;return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:pk("gray.300","whiteAlpha.400")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_disabled:{opacity:.4,cursor:"not-allowed"},_invalid:{borderColor:sk(t,a),boxShadow:"0 0 0 1px "+sk(t,a)},_focus:{zIndex:1,borderColor:sk(t,n),boxShadow:"0 0 0 1px "+sk(t,n)}},addon:{border:"1px solid",borderColor:pk("inherit","whiteAlpha.50")(e),bg:pk("gray.100","whiteAlpha.300")(e)}}},filled:function(e){var t=e.theme,r=Gw(e),n=r.focusBorderColor,a=r.errorBorderColor;return{field:{border:"2px solid",borderColor:"transparent",bg:pk("gray.100","whiteAlpha.50")(e),_hover:{bg:pk("gray.200","whiteAlpha.100")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_disabled:{opacity:.4,cursor:"not-allowed"},_invalid:{borderColor:sk(t,a)},_focus:{bg:"transparent",borderColor:sk(t,n)}},addon:{border:"2px solid",borderColor:"transparent",bg:pk("gray.100","whiteAlpha.50")(e)}}},flushed:function(e){var t=e.theme,r=Gw(e),n=r.focusBorderColor,a=r.errorBorderColor;return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:0,px:0,bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:sk(t,a),boxShadow:"0px 1px 0px 0px "+sk(t,a)},_focus:{borderColor:sk(t,n),boxShadow:"0px 1px 0px 0px "+sk(t,n)}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:0,px:0,bg:"transparent"}}},unstyled:{field:{bg:"transparent",px:0,height:"auto"},addon:{bg:"transparent",px:0,height:"auto"}}},Kw={parts:Nk.keys,baseStyle:{field:{width:"100%",minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal"}},sizes:Uw,variants:qw,defaultProps:{size:"md",variant:"outline"}},Yw={baseStyle:function(e){return{bg:pk("gray.100","whiteAlpha")(e),borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"}}},Xw={parts:zk.keys,baseStyle:{container:{},item:{},icon:{marginEnd:"0.5rem",display:"inline",verticalAlign:"text-bottom"}}},Qw=function(e){return{bg:pk("#fff","gray.700")(e),boxShadow:pk("sm","dark-lg")(e),color:"inherit",minW:"3xs",py:"2",zIndex:1,borderRadius:"md",borderWidth:"1px"}},Jw=function(e){return{py:"0.4rem",px:"0.8rem",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{bg:pk("gray.100","whiteAlpha.100")(e)},_active:{bg:pk("gray.200","whiteAlpha.200")(e)},_expanded:{bg:pk("gray.100","whiteAlpha.100")(e)},_disabled:{opacity:.4,cursor:"not-allowed"}}},ex={mx:4,my:2,fontWeight:"semibold",fontSize:"sm"},tx={opacity:.6},rx={border:0,borderBottom:"1px solid",borderColor:"inherit",my:"0.5rem",opacity:.6},nx={transitionProperty:"common",transitionDuration:"normal"},ax={parts:Fk.keys,baseStyle:function(e){return{button:nx,list:Qw(e),item:Jw(e),groupTitle:ex,command:tx,divider:rx}}},ox={bg:"blackAlpha.600",zIndex:"modal"},ix=function(e){return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:e.isCentered?"center":"flex-start",overflow:"inside"===e.scrollBehavior?"hidden":"auto"}},lx=function(e){var t=e.scrollBehavior;return{borderRadius:"md",bg:pk("white","gray.700")(e),color:"inherit",my:"3.75rem",zIndex:"modal",maxH:"inside"===t?"calc(100% - 7.5rem)":void 0,boxShadow:pk("lg","dark-lg")(e)}},sx={px:6,py:4,fontSize:"xl",fontWeight:"semibold"},cx={position:"absolute",top:2,insetEnd:3},ux=function(e){return{px:6,py:2,flex:1,overflow:"inside"===e.scrollBehavior?"auto":void 0}},dx={px:6,py:4};function px(e){return"full"===e?{dialog:{maxW:"100vw",minH:"100vh","@supports(min-height: -webkit-fill-available)":{minH:"-webkit-fill-available"},my:0}}:{dialog:{maxW:e}}}var mx,hx,fx,vx={xs:px("xs"),sm:px("sm"),md:px("md"),lg:px("lg"),xl:px("xl"),"2xl":px("2xl"),"3xl":px("3xl"),"4xl":px("4xl"),"5xl":px("5xl"),"6xl":px("6xl"),full:px("full")},gx={parts:Hk.keys,baseStyle:function(e){return{overlay:ox,dialogContainer:ix(e),dialog:lx(e),header:sx,closeButton:cx,body:ux(e),footer:dx}},sizes:vx,defaultProps:{size:"md"}},bx=Kw.variants,yx=Kw.defaultProps,Ex=Sk("number-input-stepper-width"),kx=Sk("number-input-input-padding"),wx=Pk(Ex).add("0.5rem").toString(),xx=((mx={})[Ex.variable]="24px",mx[kx.variable]=wx,mx),_x=null!=(hx=null==(fx=Kw.baseStyle)?void 0:fx.field)?hx:{},Px={width:[Ex.reference]},Cx=function(e){return{borderStart:"1px solid",borderStartColor:pk("inherit","whiteAlpha.300")(e),color:pk("inherit","whiteAlpha.800")(e),_active:{bg:pk("gray.200","whiteAlpha.300")(e)},_disabled:{opacity:.4,cursor:"not-allowed"}}};function Ax(e){var t,r,n=Kw.sizes[e],a={lg:"md",md:"md",sm:"sm",xs:"sm"},o=null!=(t=null==(r=n.field)?void 0:r.fontSize)?t:"md",i=Jk.fontSizes[o.toString()];return{field:BE({},n.field,{paddingInlineEnd:kx.reference,verticalAlign:"top"}),stepper:{fontSize:Pk(i).multiply(.75).toString(),_first:{borderTopEndRadius:a[e]},_last:{borderBottomEndRadius:a[e],mt:"-1px",borderTopWidth:1}}}}var Sx,Rx,Mx,Tx,Ox,Ix,Lx,Dx,Bx,Vx,Nx,zx,Fx,Hx,jx={xs:Ax("xs"),sm:Ax("sm"),md:Ax("md"),lg:Ax("lg")},Wx={parts:jk.keys,baseStyle:function(e){return{root:xx,field:_x,stepperGroup:Px,stepper:Cx(e)}},sizes:jx,variants:bx,defaultProps:yx},Zx={baseStyle:BE({},Kw.baseStyle.field,{textAlign:"center"}),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:{outline:function(e){var t;return null!=(t=Kw.variants.outline(e).field)?t:{}},flushed:function(e){var t;return null!=(t=Kw.variants.flushed(e).field)?t:{}},filled:function(e){var t;return null!=(t=Kw.variants.filled(e).field)?t:{}},unstyled:null!=(Sx=Kw.variants.unstyled.field)?Sx:{}},defaultProps:Kw.defaultProps},$x=Sk("popper-bg"),Ux=Sk("popper-arrow-bg"),Gx=Sk("popper-arrow-shadow-color"),qx={zIndex:10},Kx=function(e){var t,r=pk("white","gray.700")(e),n=pk("gray.200","whiteAlpha.300")(e);return(t={})[$x.variable]="colors."+r,t.bg=$x.reference,t[Ux.variable]=$x.reference,t[Gx.variable]="colors."+n,t.width="xs",t.border="1px solid",t.borderColor="inherit",t.borderRadius="md",t.boxShadow="sm",t.zIndex="inherit",t._focus={outline:0,boxShadow:"outline"},t},Yx={px:3,py:2,borderBottomWidth:"1px"},Xx={px:3,py:2},Qx={px:3,py:2,borderTopWidth:"1px"},Jx={position:"absolute",borderRadius:"md",top:1,insetEnd:2,padding:2},e_={parts:Wk.keys,baseStyle:function(e){return{popper:qx,content:Kx(e),header:Yx,body:Xx,footer:Qx,arrow:{},closeButton:Jx}}},t_={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"},r_=function(e){return{bg:pk("gray.100","whiteAlpha.300")(e)}},n_=function(e){return BE({transitionProperty:"common",transitionDuration:"slow"},function(e){var t=e.colorScheme,r=e.theme,n=e.isIndeterminate,a=e.hasStripe,o=pk(uk(),uk("1rem","rgba(0,0,0,0.1)"))(e),i=pk(t+".500",t+".200")(e),l="linear-gradient(\n to right,\n transparent 0%,\n "+sk(r,i)+" 50%,\n transparent 100%\n )";return BE({},!n&&a&&o,n?{bgImage:l}:{bgColor:i})}(e))},a_={parts:Zk.keys,sizes:{xs:{track:{h:"0.25rem"}},sm:{track:{h:"0.5rem"}},md:{track:{h:"0.75rem"}},lg:{track:{h:"1rem"}}},baseStyle:function(e){return{label:t_,filledTrack:n_(e),track:r_(e)}},defaultProps:{size:"md",colorScheme:"blue"}},o_=function(e){var t=_w.baseStyle(e).control,r=void 0===t?{}:t;return BE({},r,{borderRadius:"full",_checked:BE({},r._checked,{_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}})})},i_={parts:$k.keys,baseStyle:function(e){return{label:_w.baseStyle(e).label,container:_w.baseStyle(e).container,control:o_(e)}},sizes:{md:{control:{w:4,h:4},label:{fontSize:"md"}},lg:{control:{w:5,h:5},label:{fontSize:"lg"}},sm:{control:{width:3,height:3},label:{fontSize:"sm"}}},defaultProps:{size:"md",colorScheme:"blue"}},l_=function(e){return BE({},Kw.baseStyle.field,{bg:pk("white","gray.700")(e),appearance:"none",paddingBottom:"1px",lineHeight:"normal","> option, > optgroup":{bg:pk("white","gray.700")(e)}})},s_={width:"1.5rem",height:"100%",insetEnd:"0.5rem",position:"relative",color:"currentColor",fontSize:"1.25rem",_disabled:{opacity:.5}},c_={paddingInlineEnd:"2rem"},u_=te()({},Kw.sizes,{lg:{field:c_},md:{field:c_},sm:{field:c_},xs:{field:c_,icon:{insetEnd:"0.25rem"}}}),d_={parts:Uk.keys,baseStyle:function(e){return{field:l_(e),icon:s_}},sizes:u_,variants:Kw.variants,defaultProps:Kw.defaultProps},p_=function(e,t){return oi({from:{borderColor:e,background:e},to:{borderColor:t,background:t}})},m_={baseStyle:function(e){var t=pk("gray.100","gray.800")(e),r=pk("gray.400","gray.600")(e),n=e.startColor,a=void 0===n?t:n,o=e.endColor,i=void 0===o?r:o,l=e.speed,s=e.theme,c=sk(s,a),u=sk(s,i);return{opacity:.7,borderRadius:"2px",borderColor:c,background:u,animation:l+"s linear infinite alternate "+p_(c,u)}}},h_={baseStyle:function(e){return{borderRadius:"md",fontWeight:"semibold",_focus:{boxShadow:"outline",padding:"1rem",position:"fixed",top:"1.5rem",insetStart:"1.5rem",bg:pk("white","gray.700")(e)}}}},f_=function(e){return BE({display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"}},mk({orientation:e.orientation,vertical:{h:"100%"},horizontal:{w:"100%"}}))},v_=function(e){return{overflow:"hidden",borderRadius:"sm",bg:pk("gray.200","whiteAlpha.200")(e),_disabled:{bg:pk("gray.300","whiteAlpha.300")(e)}}},g_=function(e){return BE({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",_focus:{boxShadow:"outline"},_disabled:{bg:"gray.300"}},function(e){return mk({orientation:e.orientation,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)"}}})}(e))},b_=function(e){var t=e.colorScheme;return{width:"inherit",height:"inherit",bg:pk(t+".500",t+".200")(e)}},y_={lg:function(e){return{thumb:{w:"16px",h:"16px"},track:mk({orientation:e.orientation,horizontal:{h:"4px"},vertical:{w:"4px"}})}},md:function(e){return{thumb:{w:"14px",h:"14px"},track:mk({orientation:e.orientation,horizontal:{h:"4px"},vertical:{w:"4px"}})}},sm:function(e){return{thumb:{w:"10px",h:"10px"},track:mk({orientation:e.orientation,horizontal:{h:"2px"},vertical:{w:"2px"}})}}},E_={parts:Gk.keys,sizes:y_,baseStyle:function(e){return{container:f_(e),track:v_(e),thumb:g_(e),filledTrack:b_(e)}},defaultProps:{size:"md",colorScheme:"blue"}},k_=Sk("spinner-size"),w_={baseStyle:{width:[k_.reference],height:[k_.reference]},sizes:{xs:(Rx={},Rx[k_.variable]="0.75rem",Rx),sm:(Mx={},Mx[k_.variable]="1rem",Mx),md:(Tx={},Tx[k_.variable]="1.5rem",Tx),lg:(Ox={},Ox[k_.variable]="2rem",Ox),xl:(Ix={},Ix[k_.variable]="3rem",Ix)},defaultProps:{size:"md"}},x_={parts:qk.keys,baseStyle:{container:{},label:{fontWeight:"medium"},helpText:{opacity:.8,marginBottom:2},number:{verticalAlign:"baseline",fontWeight:"semibold"},icon:{marginEnd:1,w:"14px",h:"14px",verticalAlign:"middle"}},sizes:{md:{label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}}},defaultProps:{size:"md"}},__=Sk("switch-track-width"),P_=Sk("switch-track-height"),C_=Sk("switch-track-diff"),A_=Pk.subtract(__,P_),S_=Sk("switch-thumb-x"),R_=function(e){var t=e.colorScheme;return{borderRadius:"full",p:"2px",width:[__.reference],height:[P_.reference],transitionProperty:"common",transitionDuration:"fast",bg:pk("gray.300","whiteAlpha.400")(e),_focus:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{bg:pk(t+".500",t+".200")(e)}}},M_={bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[P_.reference],height:[P_.reference],_checked:{transform:"translateX("+S_.reference+")"}},T_={sm:{container:(Lx={},Lx[__.variable]="1.375rem",Lx[P_.variable]="0.75rem",Lx)},md:{container:(Dx={},Dx[__.variable]="1.875rem",Dx[P_.variable]="1rem",Dx)},lg:{container:(Bx={},Bx[__.variable]="2.875rem",Bx[P_.variable]="1.5rem",Bx)}},O_={parts:Kk.keys,baseStyle:function(e){var t,r;return{container:(r={},r[C_.variable]=A_,r[S_.variable]=C_.reference,r._rtl=(t={},t[S_.variable]=Pk(C_).negate().toString(),t),r),track:R_(e),thumb:M_}},sizes:T_,defaultProps:{size:"md",colorScheme:"blue"}},I_={"&[data-is-numeric=true]":{textAlign:"end"}},L_={simple:function(e){var t=e.colorScheme;return{th:BE({color:pk("gray.600","gray.400")(e),borderBottom:"1px",borderColor:pk(t+".100",t+".700")(e)},I_),td:BE({borderBottom:"1px",borderColor:pk(t+".100",t+".700")(e)},I_),caption:{color:pk("gray.600","gray.100")(e)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}},striped:function(e){var t=e.colorScheme;return{th:BE({color:pk("gray.600","gray.400")(e),borderBottom:"1px",borderColor:pk(t+".100",t+".700")(e)},I_),td:BE({borderBottom:"1px",borderColor:pk(t+".100",t+".700")(e)},I_),caption:{color:pk("gray.600","gray.100")(e)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:pk(t+".100",t+".700")(e)},td:{background:pk(t+".100",t+".700")(e)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}},unstyled:{}},D_={parts:Yk.keys,baseStyle:{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"}},variants:L_,sizes:{sm:{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:{th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}},lg:{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"}},B_=function(e){return{display:"vertical"===e.orientation?"flex":"block"}},V_=function(e){return{flex:e.isFitted?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focus:{zIndex:1,boxShadow:"outline"}}},N_=function(e){var t=e.align,r=void 0===t?"start":t,n=e.orientation;return{justifyContent:{end:"flex-end",center:"center",start:"flex-start"}[r],flexDirection:"vertical"===n?"column":"row"}},z_={p:4},F_={line:function(e){var t,r,n=e.colorScheme,a=e.orientation,o="vertical"===a?"borderStart":"borderBottom",i="vertical"===a?"marginStart":"marginBottom";return{tablist:(t={},t[o]="2px solid",t.borderColor="inherit",t),tab:(r={},r[o]="2px solid",r.borderColor="transparent",r[i]="-2px",r._selected={color:pk(n+".600",n+".300")(e),borderColor:"currentColor"},r._active={bg:pk("gray.200","whiteAlpha.300")(e)},r._disabled={opacity:.4,cursor:"not-allowed"},r)}},enclosed:function(e){var t=e.colorScheme;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",_selected:{color:pk(t+".600",t+".300")(e),borderColor:"inherit",borderBottomColor:pk("white","gray.800")(e)}},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}},"enclosed-colored":function(e){var t=e.colorScheme;return{tab:{border:"1px solid",borderColor:"inherit",bg:pk("gray.50","whiteAlpha.50")(e),mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{bg:pk("#fff","gray.800")(e),color:pk(t+".600",t+".300")(e),borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"}},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}},"soft-rounded":function(e){var t=e.colorScheme,r=e.theme;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:sk(r,t+".700"),bg:sk(r,t+".100")}}}},"solid-rounded":function(e){var t=e.colorScheme;return{tab:{borderRadius:"full",fontWeight:"semibold",color:pk("gray.600","inherit")(e),_selected:{color:pk("#fff","gray.800")(e),bg:pk(t+".600",t+".300")(e)}}}},unstyled:{}},H_={parts:Xk.keys,baseStyle:function(e){return{root:B_(e),tab:V_(e),tablist:N_(e),tabpanel:z_}},sizes:{sm:{tab:{py:1,px:4,fontSize:"sm"}},md:{tab:{fontSize:"md",py:2,px:4}},lg:{tab:{fontSize:"lg",py:3,px:4}}},variants:F_,defaultProps:{size:"md",variant:"line",colorScheme:"blue"}},j_={subtle:function(e){return{container:hw.variants.subtle(e)}},solid:function(e){return{container:hw.variants.solid(e)}},outline:function(e){return{container:hw.variants.outline(e)}}},W_={parts:Qk.keys,variants:j_,baseStyle:{container:{fontWeight:"medium",lineHeight:1.2,outline:0,_focus:{boxShadow:"outline"}},label:{lineHeight:1.2,overflow:"visible"},closeButton:{fontSize:"18px",w:"1.25rem",h:"1.25rem",transitionProperty:"common",transitionDuration:"normal",borderRadius:"full",marginStart:"0.375rem",marginEnd:"-1",opacity:.5,_disabled:{opacity:.4},_focus:{boxShadow:"outline",bg:"rgba(0, 0, 0, 0.14)"},_hover:{opacity:.8},_active:{opacity:1}}},sizes:{sm:{container:{minH:"1.25rem",minW:"1.25rem",fontSize:"xs",px:2,borderRadius:"md"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}},md:{container:{minH:"1.5rem",minW:"1.5rem",fontSize:"sm",borderRadius:"md",px:2}},lg:{container:{minH:8,minW:8,fontSize:"md",borderRadius:"md",px:3}}},defaultProps:{size:"md",variant:"subtle",colorScheme:"gray"}},Z_=BE({},Kw.baseStyle.field,{paddingY:"8px",minHeight:"80px",lineHeight:"short",verticalAlign:"top"}),$_={outline:function(e){var t;return null!=(t=Kw.variants.outline(e).field)?t:{}},flushed:function(e){var t;return null!=(t=Kw.variants.flushed(e).field)?t:{}},filled:function(e){var t;return null!=(t=Kw.variants.filled(e).field)?t:{}},unstyled:null!=(Vx=Kw.variants.unstyled.field)?Vx:{}},U_={baseStyle:Z_,sizes:{xs:null!=(Nx=Kw.sizes.xs.field)?Nx:{},sm:null!=(zx=Kw.sizes.sm.field)?zx:{},md:null!=(Fx=Kw.sizes.md.field)?Fx:{},lg:null!=(Hx=Kw.sizes.lg.field)?Hx:{}},variants:$_,defaultProps:{size:"md",variant:"outline"}},G_=Sk("tooltip-bg"),q_=Sk("popper-arrow-bg"),K_={baseStyle:function(e){var t,r=pk("gray.700","gray.300")(e);return(t={})[G_.variable]="colors."+r,t.px="8px",t.py="2px",t.bg=[G_.reference],t[q_.variable]=[G_.reference],t.color=pk("whiteAlpha.900","gray.900")(e),t.borderRadius="sm",t.fontWeight="medium",t.fontSize="sm",t.boxShadow="md",t.maxW="320px",t.zIndex="tooltip",t}},Y_=Object.freeze({__proto__:null,Accordion:ew,Alert:nw,Avatar:pw,Badge:hw,Breadcrumb:fw,Button:yw,Checkbox:_w,CloseButton:Cw,Code:Aw,Container:{baseStyle:{w:"100%",mx:"auto",maxW:"60ch",px:"1rem"}},Divider:{baseStyle:{opacity:.6,borderColor:"inherit"},variants:{solid:{borderStyle:"solid"},dashed:{borderStyle:"dashed"}},defaultProps:{variant:"solid"}},Drawer:Vw,Editable:Nw,Form:Hw,FormError:Zw,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:Kw,Kbd:Yw,Link:{baseStyle:{transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focus:{boxShadow:"outline"}}},List:Xw,Menu:ax,Modal:gx,NumberInput:Wx,PinInput:Zx,Popover:e_,Progress:a_,Radio:i_,Select:d_,Skeleton:m_,SkipLink:h_,Slider:E_,Spinner:w_,Stat:x_,Switch:O_,Table:D_,Tabs:H_,Tag:W_,Textarea:U_,Tooltip:K_}),X_=BE({breakpoints:(ct({condition:!0,message:["[chakra-ui]: createBreakpoints(...) will be deprecated pretty soon","simply pass the breakpoints as an object. Remove the createBreakpoint(..) call"].join("")}),hk({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"}}},Jk,{sizes:VE,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:DE,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"}}}),Q_=["borders","breakpoints","colors","components","config","direction","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","shadows","sizes","space","styles","transition","zIndices"],J_=BE({direction:"ltr"},X_,{components:Y_,styles:{global:function(e){return{body:{fontFamily:"body",color:pk("gray.800","whiteAlpha.900")(e),bg:pk("white","gray.800")(e),transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:pk("gray.400","whiteAlpha.400")(e)},"*, *::before, &::after":{borderColor:pk("gray.200","whiteAlpha.300")(e),wordWrap:"break-word"}}}},config:{useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"}}),eP=function(e){var t=e.children,r=e.colorModeManager,n=e.portalZIndex,a=e.resetCSS,o=void 0===a||a,i=e.theme,l=void 0===i?{}:i,s=e.environment,c=e.cssVarsRoot,u=U.createElement(Or,{environment:s},t);return U.createElement(pr,null,U.createElement(yi,{theme:l,cssVarsRoot:c},U.createElement(Zr,{colorModeManager:r,options:l.config},o&&U.createElement(LE,null),U.createElement(Pi,null),n?U.createElement(du,{zIndex:n},u):u)))};function tP(e,t,r,n){if((Ee(e)||Ee(t))&&Object.prototype.hasOwnProperty.call(n,r))return function(){var r=Ee(e)?e.apply(void 0,arguments):e,n=Ee(t)?t.apply(void 0,arguments):t;return te()({},r,n,tP)}}function rP(){return rP=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},rP.apply(this,arguments)}eP.defaultProps={theme:J_};var nP=ci({name:"CheckboxGroupContext",strict:!1});nP[0],nP[1],function(e){var t=ob;"custom"in t&&"function"==typeof t.custom?t.custom(e):t(e)}(Ni.svg);var aP=["defaultIsChecked","defaultChecked","isChecked","isFocusable","onChange","isIndeterminate","name","value","tabIndex","aria-label","aria-labelledby","aria-invalid"];function oP(e){void 0===e&&(e={});var t=ds(e),r=t.isDisabled,n=t.isReadOnly,a=t.isRequired,o=t.isInvalid,i=t.id,l=t.onBlur,s=t.onFocus,c=t["aria-describedby"],u=e,d=u.defaultIsChecked,p=u.defaultChecked,m=void 0===p?d:p,h=u.isChecked,f=u.isFocusable,v=u.onChange,g=u.isIndeterminate,b=u.name,y=u.value,E=u.tabIndex,k=void 0===E?void 0:E,w=u["aria-label"],x=u["aria-labelledby"],_=u["aria-invalid"],P=Pe(function(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}(u,aP),["isDisabled","isReadOnly","isRequired","isInvalid","id","onBlur","onFocus","aria-describedby"]),C=Yt(v),A=Yt(l),S=Yt(s),R=or(),M=R[0],T=R[1],O=or(),I=O[0],L=O[1],D=or(),B=D[0],V=D[1],N=(0,U.useRef)(null),z=(0,U.useState)(!0),F=z[0],H=z[1],j=(0,U.useState)(!!m),W=j[0],Z=j[1],$=lr(h,W),G=$[0],q=$[1];ct({condition:!!d,message:'The "defaultIsChecked" prop has been deprecated and will be removed in a future version. Please use the "defaultChecked" prop instead, which mirrors default React checkbox behavior.'});var K=(0,U.useCallback)((function(e){n||r?e.preventDefault():(G||Z(q?e.target.checked:!!g||e.target.checked),null==C||C(e))}),[n,r,q,G,g,C]);Kt((function(){N.current&&(N.current.indeterminate=Boolean(g))}),[g]),gr((function(){r&&T.off()}),[r,T]);var Y=r&&!f,X=(0,U.useCallback)((function(e){" "===e.key&&V.on()}),[V]),Q=(0,U.useCallback)((function(e){" "===e.key&&V.off()}),[V]);Kt((function(){N.current&&N.current.checked!==q&&Z(N.current.checked)}),[N.current]);var J=(0,U.useCallback)((function(e,t){return void 0===e&&(e={}),void 0===t&&(t=null),rP({},e,{ref:t,"data-active":Ue(B),"data-hover":Ue(I),"data-checked":Ue(q),"data-focus":Ue(M),"data-indeterminate":Ue(g),"data-disabled":Ue(r),"data-invalid":Ue(o),"data-readonly":Ue(n),"aria-hidden":!0,onMouseDown:ot(e.onMouseDown,(function(e){e.preventDefault(),V.on()})),onMouseUp:ot(e.onMouseUp,V.off),onMouseEnter:ot(e.onMouseEnter,L.on),onMouseLeave:ot(e.onMouseLeave,L.off)})}),[B,q,r,M,I,g,o,n,V,L.off,L.on]),ee=(0,U.useCallback)((function(e,t){return void 0===e&&(e={}),void 0===t&&(t=null),rP({},P,e,{ref:si(t,(function(e){e&&H("LABEL"===e.tagName)})),onClick:ot(e.onClick,(function(){var e;F||(null==(e=N.current)||e.click(),mt(N.current,{nextTick:!0}))})),"data-disabled":Ue(r),"data-checked":Ue(q),"data-invalid":Ue(o)})}),[P,r,q,o,F]),te=(0,U.useCallback)((function(e,t){return void 0===e&&(e={}),void 0===t&&(t=null),rP({},e,{ref:si(N,t),type:"checkbox",name:b,value:y,id:i,tabIndex:k,onChange:ot(e.onChange,K),onBlur:ot(e.onBlur,A,T.off),onFocus:ot(e.onFocus,S,T.on),onKeyDown:ot(e.onKeyDown,X),onKeyUp:ot(e.onKeyUp,Q),required:a,checked:q,disabled:Y,readOnly:n,"aria-label":w,"aria-labelledby":x,"aria-invalid":_?Boolean(_):o,"aria-describedby":c,"aria-disabled":r,style:wu})}),[b,y,i,K,T.off,T.on,A,S,X,Q,a,q,Y,n,w,x,_,o,c,r,k]),re=(0,U.useCallback)((function(e,t){return void 0===e&&(e={}),void 0===t&&(t=null),rP({},e,{ref:t,onMouseDown:ot(e.onMouseDown,iP),onTouchStart:ot(e.onTouchStart,iP),"data-disabled":Ue(r),"data-checked":Ue(q),"data-invalid":Ue(o)})}),[q,r,o]);return{state:{isInvalid:o,isFocused:M,isChecked:q,isActive:B,isHovered:I,isIndeterminate:g,isDisabled:r,isReadOnly:n,isRequired:a},getRootProps:ee,getCheckboxProps:J,getInputProps:te,getLabelProps:re,htmlProps:P}}function iP(e){e.preventDefault(),e.stopPropagation()}function lP(){return lP=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},lP.apply(this,arguments)}Ni("span",{baseStyle:{display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",userSelect:"none",flexShrink:0}}),Ni("label",{baseStyle:{cursor:"pointer",display:"inline-flex",alignItems:"center",verticalAlign:"top",position:"relative"}});var sP=["spacing","children"],cP=Li((function(e,t){var r=Vi("Switch",e),n=Ci(e),a=n.spacing,o=void 0===a?"0.5rem":a,i=n.children,l=function(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}(n,sP),s=oP(l),c=s.state,u=s.getInputProps,d=s.getCheckboxProps,p=s.getRootProps,m=s.getLabelProps,h=U.useMemo((function(){return lP({display:"inline-block",position:"relative",verticalAlign:"middle",lineHeight:0},r.container)}),[r.container]),f=U.useMemo((function(){return lP({display:"inline-flex",flexShrink:0,justifyContent:"flex-start",boxSizing:"content-box",cursor:"pointer"},r.track)}),[r.track]),v=U.useMemo((function(){return lP({userSelect:"none",marginStart:o},r.label)}),[o,r.label]);return U.createElement(Ni.label,lP({},p(),{className:qe("chakra-switch",e.className),__css:h}),U.createElement("input",lP({className:"chakra-switch__input"},u({},t))),U.createElement(Ni.span,lP({},d(),{className:"chakra-switch__track",__css:f}),U.createElement(Ni.span,{__css:r.thumb,className:"chakra-switch__thumb","data-checked":Ue(c.isChecked),"data-hover":Ue(c.isHovered)})),i&&U.createElement(Ni.span,lP({className:"chakra-switch__label"},m(),{__css:v}),i))}));const uP=window.wp.editPost,dP=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=[].concat(t),a=t[t.length-1];return function(e){return!!ke(e)&&Q_.every((function(t){return Object.prototype.hasOwnProperty.call(e,t)}))}(a)&&n.length>1?n=n.slice(0,n.length-1):a=J_,ut.apply(void 0,n.map((function(e){return function(t){return Ee(e)?e(t):function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return te().apply(void 0,[{}].concat(t,[tP]))}(t,e)}})))(a)}({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"}}}}),pP=dP;function mP(){return mP=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},mP.apply(this,arguments)}var hP=["children","isDisabled","__css"],fP=function(e){return U.createElement(_l,mP({focusable:"false","aria-hidden":!0},e),U.createElement("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"}))},vP=Li((function(e,t){var r=Bi("CloseButton",e),n=Ci(e),a=n.children,o=n.isDisabled,i=n.__css,l=function(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}(n,hP);return U.createElement(Ni.button,mP({type:"button","aria-label":"Close",ref:t,disabled:o,__css:mP({},{outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},r,i)},l),a||U.createElement(fP,{width:"1em",height:"1em"}))}));function gP(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}var bP="data-focus-lock",yP="data-focus-lock-disabled";function EP(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var kP="undefined"!=typeof window?U.useLayoutEffect:U.useEffect,wP=new WeakMap;function xP(e,t){var r,n,a,o=(r=t||null,n=function(t){return e.forEach((function(e){return EP(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 kP((function(){var t=wP.get(o);if(t){var r=new Set(t),n=new Set(e),a=o.current;r.forEach((function(e){n.has(e)||EP(e,null)})),n.forEach((function(e){r.has(e)||EP(e,a)}))}wP.set(o,e)}),[e]),o}var _P={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},PP=function(e){var t=e.children;return U.createElement(U.Fragment,null,U.createElement("div",{key:"guard-first","data-focus-guard":!0,"data-focus-auto-guard":!0,style:_P}),t,t&&U.createElement("div",{key:"guard-last","data-focus-guard":!0,"data-focus-auto-guard":!0,style:_P}))};function CP(e){return e}function AP(e,t){void 0===t&&(t=CP);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 SP(e,t){return void 0===t&&(t=CP),AP(e,t)}function RP(e){void 0===e&&(e={});var t=AP(null);return t.options=Cu({async:!0,ssr:!1},e),t}PP.propTypes={},PP.defaultProps={children:null};var MP=SP({},(function(e){return{target:e.target,currentTarget:e.currentTarget}})),TP=SP(),OP=SP(),IP=RP({async:!0}),LP=[],DP=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=e.children,u=e.disabled,d=e.noFocusGuards,p=e.persistentFocus,m=e.crossFrame,h=e.autoFocus,f=(e.allowTextSelection,e.group),v=e.className,g=e.whiteList,b=e.shards,y=void 0===b?LP:b,E=e.as,k=void 0===E?"div":E,w=e.lockProps,x=void 0===w?{}:w,_=e.sideCar,P=e.returnFocus,C=e.onActivation,A=e.onDeactivation,S=U.useState({})[0],R=U.useCallback((function(){s.current=s.current||document&&document.activeElement,i.current&&C&&C(i.current),l.current=!0}),[C]),M=U.useCallback((function(){l.current=!1,A&&A(i.current)}),[A]),T=U.useCallback((function(e){var t=s.current;if(Boolean(P)&&t&&t.focus){var r="object"==typeof P?P:void 0;s.current=null,e?Promise.resolve().then((function(){return t.focus(r)})):t.focus(r)}}),[P]),O=U.useCallback((function(e){l.current&&MP.useMedium(e)}),[]),I=TP.useMedium,L=U.useCallback((function(e){i.current!==e&&(i.current=e,o(e))}),[]),D=(0,Co.A)(((r={})[yP]=u&&"disabled",r[bP]=f,r),x),B=!0!==d,V=B&&"tail"!==d,N=xP([t,L]);return U.createElement(U.Fragment,null,B&&[U.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:u?-1:0,style:_P}),U.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:u?-1:1,style:_P})],!u&&U.createElement(_,{id:S,sideCar:IP,observed:a,disabled:u,persistentFocus:p,crossFrame:m,autoFocus:h,whiteList:g,shards:y,onActivation:R,onDeactivation:M,returnFocus:T}),U.createElement(k,(0,Co.A)({ref:N},D,{className:v,onBlur:I,onFocus:O}),c),V&&U.createElement("div",{"data-focus-guard":!0,tabIndex:u?-1:0,style:_P}))}));DP.propTypes={},DP.defaultProps={children:void 0,disabled:!1,returnFocus:!1,noFocusGuards:!1,autoFocus:!0,persistentFocus:!1,crossFrame:!0,allowTextSelection:void 0,group:void 0,className:void 0,whiteList:void 0,shards:void 0,as:"div",lockProps:{},onActivation:void 0,onDeactivation:void 0};const BP=DP;var VP=r(7878);function NP(e){return NP="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},NP(e)}function zP(e){var t=function(e,t){if("object"!=NP(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=NP(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==NP(t)?t:t+""}function FP(e,t,r){return(t=zP(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var HP=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]},WP=function(e){return e.parentNode?WP(e.parentNode):e},ZP=function(e){return jP(e).filter(Boolean).reduce((function(e,t){var r=t.getAttribute(bP);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)}))}(HP(WP(t).querySelectorAll("["+bP+'="'+r+'"]:not(['+yP+'="disabled"])'))):[t]),e}),[])},$P=function(e){var t=document&&document.activeElement;return!(!t||t.dataset&&t.dataset.focusGuard)&&ZP(e).reduce((function(e,r){return e||r.contains(t)||function(e){return Boolean(HP(e.querySelectorAll("iframe")).some((function(e){return e===document.activeElement})))}(r)}),!1)},UP=function(e){return"INPUT"===e.tagName&&"radio"===e.type},GP=function(e,t){return UP(e)&&e.name?function(e,t){return t.filter(UP).filter((function(t){return t.name===e.name})).filter((function(e){return e.checked}))[0]||e}(e,t):e},qP=function(e){return e[0]&&e.length>1?GP(e[0],e):e[0]},KP=function(e,t){return e.length>1?e.indexOf(GP(e[t],e)):t},YP=function(e,t){var r=e.get(t);if(void 0!==r)return r;var n=function(e,t){return!e||e===document||e&&e.nodeType===Node.DOCUMENT_NODE||!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)&&t(e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode)}(t,YP.bind(void 0,e));return e.set(t,n),n},XP=function(e){return Boolean(e&&e.dataset&&e.dataset.focusGuard)},QP=function(e){return!XP(e)},JP=function(e){return Boolean(e)},eC="NEW_FOCUS",tC=function(e,t){var r=e.tabIndex-t.tabIndex,n=e.index-t.index;if(r){if(!e.tabIndex)return 1;if(!t.tabIndex)return-1}return r||n},rC=function(e,t,r){return HP(e).map((function(e,t){return{node:e,index:t,tabIndex:r&&-1===e.tabIndex?(e.dataset||{}).focusGuard?0:-1:e.tabIndex}})).filter((function(e){return!t||e.tabIndex>=0})).sort(tC)},nC=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"].join(","),aC=nC+", [data-focus-guard]",oC=function(e,t){return e.reduce((function(e,r){return e.concat(HP(r.querySelectorAll(t?aC:nC)),r.parentNode?HP(r.parentNode.querySelectorAll(nC)).filter((function(e){return e===r})):[])}),[])},iC=function(e,t){return HP(e).filter((function(e){return YP(t,e)})).filter((function(e){return function(e){return!(("INPUT"===e.tagName||"BUTTON"===e.tagName)&&("hidden"===e.type||e.disabled))}(e)}))},lC=function(e,t,r){return rC(iC(oC(e,r),t),!0,r)},sC=function(e,t){return rC(iC(oC(e),t),!1)},cC=function(e,t){return void 0===t&&(t=[]),t.push(e),e.parentNode&&cC(e.parentNode,t),t},uC=function(e,t){for(var r=cC(e),n=cC(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=uC(i||e,e)||i,r.filter(Boolean).forEach((function(e){var t=uC(o,e);t&&(i=!i||t.contains(i)?t:uC(t,i))}))})),i},pC=function(e,t){var r=document&&document.activeElement,n=ZP(e).filter(QP),a=dC(r||e,e,n),o=new Map,i=sC(n,o),l=lC(n,o).filter((function(e){var t=e.node;return QP(t)}));if(l[0]||(l=i)[0]){var s,c,u,d,p=sC([a],o).map((function(e){return e.node})),m=(s=p,c=l,u=new Map,c.forEach((function(e){return u.set(e.node,e)})),s.map((function(e){return u.get(e)})).filter(JP)),h=m.map((function(e){return e.node})),f=function(e,t,r,n){var a=e.length,o=e[0],i=e[a-1],l=XP(r);if(!(e.indexOf(r)>=0)){var s,c,u=t.indexOf(r),d=n?t.indexOf(n):u,p=n?e.indexOf(n):-1,m=u-d,h=t.indexOf(o),f=t.indexOf(i),v=(s=t,c=new Set,s.forEach((function(e){return c.add(GP(e,s))})),s.filter((function(e){return c.has(e)}))),g=v.indexOf(r)-(n?v.indexOf(n):u),b=KP(e,0),y=KP(e,a-1);return-1===u||-1===p?eC:!m&&p>=0?p:u<=h&&l&&Math.abs(m)>1?y:u>=f&&l&&Math.abs(m)>1?b:m&&Math.abs(g)>1?p:u<=h?y:u>f?b:m?Math.abs(m)>1?p:(a+p+m)%a:void 0}}(h,p,r,t);if(f===eC){var v=i.map((function(e){return e.node})).filter((d=function(e,t){return e.reduce((function(e,r){return e.concat(function(e,t){return iC((r=e.querySelectorAll("[data-autofocus-inside]"),HP(r).map((function(e){return oC([e])})).reduce((function(e,t){return e.concat(t)}),[])),t);var r}(r,t))}),[])}(n,o),function(e){return e.autofocus||e.dataset&&!!e.dataset.autofocus||d.indexOf(e)>=0}));return{node:v&&v.length?qP(v):qP(h)}}return void 0===f?f:m[f]}},mC=0,hC=!1;const fC=function(e,t){var r,n=pC(e,t);if(!hC&&n){if(mC>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"),hC=!0,void setTimeout((function(){hC=!1}),1);mC++,(r=n.node).focus(),"contentWindow"in r&&r.contentWindow&&r.contentWindow.focus(),mC--}};function vC(e){var t=window.setImmediate;void 0!==t?t(e):setTimeout(e,1)}var gC=null,bC=null,yC=null,EC=!1,kC=function(){return!0};function wC(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 xC=function(e){return e&&"current"in e?e.current:e},_C=function(){var e,t,r,n,a,o,i,l=!1;if(gC){var s=gC,c=s.observed,u=s.persistentFocus,d=s.autoFocus,p=s.shards,m=s.crossFrame,h=c||yC&&yC.portaledElement,f=document&&document.activeElement;if(h){var v=[h].concat(p.map(xC).filter(Boolean));if(f&&!function(e){return(gC.whiteList||kC)(e)}(f)||(u||(m?Boolean(EC):"meanwhile"===EC)||!(document&&document.activeElement===document.body||document&&HP(document.querySelectorAll("[data-no-focus-lock]")).some((function(e){return e.contains(document.activeElement)})))||!bC&&d)&&(!h||$P(v)||(i=f,yC&&yC.portaledElement===i)||(document&&!bC&&f&&!d?(f.blur&&f.blur(),document.body.focus()):(l=fC(v,bC),yC={})),EC=!1,bC=document&&document.activeElement),document){var g=document&&document.activeElement,b=(t=ZP(e=v).filter(QP),r=dC(e,e,t),n=new Map,a=lC([r],n,!0),o=lC(t,n).filter((function(e){var t=e.node;return QP(t)})).map((function(e){return e.node})),a.map((function(e){var t=e.node;return{node:t,index:e.index,lockItem:o.indexOf(t)>=0,guard:XP(t)}}))),y=b.map((function(e){return e.node})).indexOf(g);y>-1&&(b.filter((function(e){var t=e.guard,r=e.node;return t&&r.dataset.focusAutoGuard})).forEach((function(e){return e.node.removeAttribute("tabIndex")})),wC(y,b.length,1,b),wC(y,-1,-1,b))}}}return l},PC=function(e){_C()&&e&&(e.stopPropagation(),e.preventDefault())},CC=function(){return vC(_C)},AC=function(){EC="just",setTimeout((function(){EC="meanwhile"}),0)};MP.assignSyncMedium((function(e){var t=e.target,r=e.currentTarget;r.contains(t)||(yC={observerNode:r,portaledElement:t})})),TP.assignMedium(CC),OP.assignMedium((function(e){return e({moveFocusInside:fC,focusInside:$P})}));const SC=(RC=function(e){return e.filter((function(e){return!e.disabled}))},MC=function(e){var t=e.slice(-1)[0];t&&!gC&&(document.addEventListener("focusin",PC,!0),document.addEventListener("focusout",CC),window.addEventListener("blur",AC));var r=gC,n=r&&t&&t.id===r.id;gC=t,r&&!n&&(r.onDeactivation(),e.filter((function(e){return e.id===r.id})).length||r.returnFocus(!t)),t?(bC=null,n&&r.observed===t.observed||t.onActivation(),_C(),vC(_C)):(document.removeEventListener("focusin",PC,!0),document.removeEventListener("focusout",CC),window.removeEventListener("blur",AC),bC=null)},function(e){var t,r=[];function n(){t=RC(r.map((function(e){return e.props}))),MC(t)}var a=function(a){function o(){return a.apply(this,arguments)||this}(0,VP.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 FP(a,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(e)+")"),a})((function(){return null}));var RC,MC,TC=U.forwardRef((function(e,t){return U.createElement(BP,(0,Co.A)({sideCar:SC,ref:t},e))})),OC=BP.propTypes||{};OC.sideCar,gP(OC,["sideCar"]),TC.propTypes={};const IC=TC;var LC=function(e){var t=e.initialFocusRef,r=e.finalFocusRef,n=e.contentRef,a=e.restoreFocus,o=e.children,i=e.isDisabled,l=e.autoFocus,s=e.persistentFocus,c=e.lockFocusAcrossFrames,u=U.useCallback((function(){var e,r;null!=t&&t.current?t.current.focus():null!=n&&n.current&&0===(e=n.current,r=Array.from(e.querySelectorAll(rt)),r.unshift(e),r.filter(tt).filter((function(e){return"none"!==window.getComputedStyle(e).display}))).length&&mt(n.current,{nextTick:!0})}),[t,n]),d=U.useCallback((function(){var e;null==r||null==(e=r.current)||e.focus()}),[r]),p=a&&!r;return U.createElement(IC,{crossFrame:c,persistentFocus:s,autoFocus:l,disabled:i,onActivation:u,onDeactivation:d,returnFocus:p},o)};function DC(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 BC(){return BC=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},BC.apply(this,arguments)}var VC={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]},NC={position:{left:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"-100%",y:0}},zC={position:{right:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"100%",y:0}},FC={position:{top:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"-100%"}},HC={position:{bottom:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"100%"}};function jC(e){var t;switch(null!=(t=null==e?void 0:e.direction)?t:"right"){case"right":default:return zC;case"left":return NC;case"bottom":return HC;case"top":return FC}}var WC={enter:{duration:.2,ease:VC.easeOut},exit:{duration:.1,ease:VC.easeIn}},ZC=function(e,t){return BC({},e,{delay:be(t)?t:null==t?void 0:t.enter})},$C=function(e,t){return BC({},e,{delay:be(t)?t:null==t?void 0:t.exit})},UC=["in","unmountOnExit","animateOpacity","startingHeight","endingHeight","style","className","transition","transitionEnd"],GC={exit:{height:{duration:.2,ease:VC.ease},opacity:{duration:.3,ease:VC.ease}},enter:{height:{duration:.3,ease:VC.ease},opacity:{duration:.4,ease:VC.ease}}},qC={exit:function(e){var t,r,n=e.animateOpacity,a=e.startingHeight,o=e.transition,i=e.transitionEnd,l=e.delay;return BC({},n&&{opacity:(r=a,null!=r&&parseInt(r.toString(),10)>0?1:0)},{height:a,transitionEnd:null==i?void 0:i.exit,transition:null!=(t=null==o?void 0:o.exit)?t:$C(GC.exit,l)})},enter:function(e){var t,r=e.animateOpacity,n=e.endingHeight,a=e.transition,o=e.transitionEnd,i=e.delay;return BC({},r&&{opacity:1},{height:n,transitionEnd:null==o?void 0:o.enter,transition:null!=(t=null==a?void 0:a.enter)?t:ZC(GC.enter,i)})}},KC=U.forwardRef((function(e,t){var r=e.in,n=e.unmountOnExit,a=e.animateOpacity,o=void 0===a||a,i=e.startingHeight,l=void 0===i?0:i,s=e.endingHeight,c=void 0===s?"auto":s,u=e.style,d=e.className,p=e.transition,m=e.transitionEnd,h=DC(e,UC),f=U.useState(!1),v=f[0],g=f[1];U.useEffect((function(){var e=setTimeout((function(){g(!0)}));return function(){return clearTimeout(e)}}),[]),ct({condition:Boolean(l>0&&n),message:"startingHeight and unmountOnExit are mutually exclusive. You can't use them together"});var b=parseFloat(l.toString())>0,y={startingHeight:l,endingHeight:c,animateOpacity:o,transition:v?p:{enter:{duration:0}},transitionEnd:te()(m,{exit:n?void 0:{display:b?"block":"none"}})},E=!n||r,k=r||n?"enter":"exit";return U.createElement(ub,{initial:!1,custom:y},E&&U.createElement(ob.div,BC({ref:t},h,{className:qe("chakra-collapse",d),style:BC({overflow:"hidden",display:"block"},u),custom:y,variants:qC,initial:!!n&&"exit",animate:k,exit:"exit"})))})),YC={enter:function(e){var t,r=void 0===e?{}:e,n=r.transition,a=r.transitionEnd,o=r.delay;return{opacity:1,transition:null!=(t=null==n?void 0:n.enter)?t:ZC(WC.enter,o),transitionEnd:null==a?void 0:a.enter}},exit:function(e){var t,r=void 0===e?{}:e,n=r.transition,a=r.transitionEnd,o=r.delay;return{opacity:0,transition:null!=(t=null==n?void 0:n.exit)?t:$C(WC.exit,o),transitionEnd:null==a?void 0:a.exit}}},XC={initial:"exit",animate:"enter",exit:"exit",variants:YC},QC={exit:function(e){var t,r=e.reverse,n=e.initialScale,a=e.transition,o=e.transitionEnd,i=e.delay;return BC({opacity:0},r?{scale:n,transitionEnd:null==o?void 0:o.exit}:{transitionEnd:BC({scale:n},null==o?void 0:o.exit)},{transition:null!=(t=null==a?void 0:a.exit)?t:$C(WC.exit,i)})},enter:function(e){var t,r=e.transitionEnd,n=e.transition,a=e.delay;return{opacity:1,scale:1,transition:null!=(t=null==n?void 0:n.enter)?t:ZC(WC.enter,a),transitionEnd:null==r?void 0:r.enter}}},JC={initial:"exit",animate:"enter",exit:"exit",variants:QC},eA=["direction","style","unmountOnExit","in","className","transition","transitionEnd","delay"],tA={exit:{duration:.15,ease:VC.easeInOut},enter:{type:"spring",damping:25,stiffness:180}},rA={exit:function(e){var t,r=e.direction,n=e.transition,a=e.transitionEnd,o=e.delay;return BC({},jC({direction:r}).exit,{transition:null!=(t=null==n?void 0:n.exit)?t:$C(tA.exit,o),transitionEnd:null==a?void 0:a.exit})},enter:function(e){var t,r=e.direction,n=e.transitionEnd,a=e.transition,o=e.delay;return BC({},jC({direction:r}).enter,{transition:null!=(t=null==a?void 0:a.enter)?t:ZC(tA.enter,o),transitionEnd:null==n?void 0:n.enter})}},nA=U.forwardRef((function(e,t){var r=e.direction,n=void 0===r?"right":r,a=e.style,o=e.unmountOnExit,i=e.in,l=e.className,s=e.transition,c=e.transitionEnd,u=e.delay,d=DC(e,eA),p=jC({direction:n}),m=Object.assign({position:"fixed"},p.position,a),h=!o||i&&o,f=i||o?"enter":"exit",v={transitionEnd:c,transition:s,direction:n,delay:u};return U.createElement(ub,{custom:v},h&&U.createElement(ob.div,BC({},d,{ref:t,initial:"exit",className:qe("chakra-slide",l),animate:f,exit:"exit",custom:v,variants:rA,style:m})))})),aA={initial:function(e){var t,r=e.offsetX,n=e.offsetY,a=e.transition,o=e.transitionEnd,i=e.delay;return{opacity:0,x:r,y:n,transition:null!=(t=null==a?void 0:a.exit)?t:$C(WC.exit,i),transitionEnd:null==o?void 0:o.exit}},enter:function(e){var t,r=e.transition,n=e.transitionEnd,a=e.delay;return{opacity:1,x:0,y:0,transition:null!=(t=null==r?void 0:r.enter)?t:ZC(WC.enter,a),transitionEnd:null==n?void 0:n.enter}},exit:function(e){var t,r=e.offsetY,n=e.offsetX,a=e.transition,o=e.transitionEnd,i=e.reverse,l=e.delay,s={x:n,y:r};return BC({opacity:0,transition:null!=(t=null==a?void 0:a.exit)?t:$C(WC.exit,l)},i?BC({},s,{transitionEnd:null==o?void 0:o.exit}):{transitionEnd:BC({},s,null==o?void 0:o.exit)})}},oA={initial:"initial",animate:"enter",exit:"exit",variants:aA},iA=function(){return iA=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},iA.apply(this,arguments)},lA="right-scroll-bar-position",sA="width-before-scroll-bar",cA=RP(),uA=function(){},dA=U.forwardRef((function(e,t){var r=U.useRef(null),n=U.useState({onScrollCapture:uA,onWheelCapture:uA,onTouchMoveCapture:uA}),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,g=void 0===v?"div":v,b=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&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]])}return r}(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),y=p,E=xP([r,t]),k=iA({},b,a);return U.createElement(U.Fragment,null,u&&U.createElement(y,{sideCar:cA,removeScrollBar:c,shards:d,noIsolation:m,inert:h,setCallbacks:o,allowPinchZoom:!!f,lockRef:r}),i?U.cloneElement(U.Children.only(l),iA({},k,{ref:E})):U.createElement(g,iA({},k,{className:s,ref:E}),l))}));dA.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},dA.classNames={fullWidth:sA,zeroRight:lA};var pA=function(e){var t=e.sideCar,r=Au(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,Cu({},r))};pA.isSideCarExport=!0;var mA=function(){var e=0,t=null;return{add:function(n){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),function(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}(t)),e++},remove:function(){! --e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},hA=function(){var e,t=(e=mA(),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}},fA={left:0,top:0,right:0,gap:0},vA=function(e){return parseInt(e||"",10)||0},gA=hA(),bA="data-scroll-locked",yA=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(bA,"] {\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(lA," {\n right: ").concat(l,"px ").concat(n,";\n }\n \n .").concat(sA," {\n margin-right: ").concat(l,"px ").concat(n,";\n }\n \n .").concat(lA," .").concat(lA," {\n right: 0 ").concat(n,";\n }\n \n .").concat(sA," .").concat(sA," {\n margin-right: 0 ").concat(n,";\n }\n \n body[").concat(bA,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(l,"px;\n }\n")},EA=function(){var e=parseInt(document.body.getAttribute(bA)||"0",10);return isFinite(e)?e:0},kA=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(bA,(EA()+1).toString()),function(){var e=EA()-1;e<=0?document.body.removeAttribute(bA):document.body.setAttribute(bA,e.toString())}}),[]);var o=U.useMemo((function(){return function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return fA;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[vA(r),vA(n),vA(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(gA,{styles:yA(o,!t,a,r?"":"!important")})},wA=function(e,t){var r=t;do{if(xA(e,r)){var n=_A(e,r);if(n[1]>n[2])return!0}r=r.parentNode}while(r&&r!==document.body);return!1},xA=function(e,t){return"v"===e?function(e){var t=window.getComputedStyle(e);return"hidden"!==t.overflowY&&!(t.overflowY===t.overflowX&&"visible"===t.overflowY)}(t):function(e){var t=window.getComputedStyle(e);return"hidden"!==t.overflowX&&!(t.overflowY===t.overflowX&&"visible"===t.overflowX)}(t)},_A=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)},PA=!1;if("undefined"!=typeof window)try{var CA=Object.defineProperty({},"passive",{get:function(){return PA=!0,!0}});window.addEventListener("test",CA,CA),window.removeEventListener("test",CA,CA)}catch(e){PA=!1}var AA=!!PA&&{passive:!1},SA=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},RA=function(e){return[e.deltaX,e.deltaY]},MA=function(e){return e&&"current"in e?e.current:e},TA=function(e){return"\n .block-interactivity-"+e+" {pointer-events: none;}\n .allow-interactivity-"+e+" {pointer-events: all;}\n"},OA=0,IA=[];const LA=(DA=function(e){var t=U.useRef([]),r=U.useRef([0,0]),n=U.useRef(),a=U.useState(OA++)[0],o=U.useState((function(){return hA()}))[0],i=U.useRef(e);U.useEffect((function(){i.current=e}),[e]),U.useEffect((function(){if(e.inert){document.body.classList.add("block-interactivity-"+a);var t=[e.lockRef.current].concat((e.shards||[]).map(MA)).filter(Boolean);return t.forEach((function(e){return e.classList.add("allow-interactivity-"+a)})),function(){document.body.classList.remove("block-interactivity-"+a),t.forEach((function(e){return e.classList.remove("allow-interactivity-"+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=SA(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",p=wA(d,u);if(!p)return!0;if(p?a=d:(a="v"===d?"h":"v",p=wA(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=n,i=r.target,l=t.contains(i),s=!1,c=o>0,u=0,d=0;do{var p=_A(e,i),m=p[0],h=p[1]-p[2]-m;(m||h)&&xA(e,i)&&(u+=h,d+=m),i=i.parentNode}while(!l&&i!==document.body||l&&(t.contains(i)||t===i));return(c&&(0===u||!1)||!c&&(0===d||!1))&&(s=!0),s}(m,t,e,"h"===m?s:c)}),[]),s=U.useCallback((function(e){var r=e;if(IA.length&&IA[IA.length-1]===o){var n="deltaY"in r?RA(r):SA(r),a=t.current.filter((function(e){return e.name===r.type&&e.target===r.target&&function(e,t){return e[0]===t[0]&&e[1]===t[1]}(e.delta,n)}))[0];if(a&&a.should)r.preventDefault();else if(!a){var s=(i.current.shards||[]).map(MA).filter(Boolean).filter((function(e){return e.contains(r.target)}));(s.length>0?l(r,s[0]):!i.current.noIsolation)&&r.preventDefault()}}}),[]),c=U.useCallback((function(e,r,n,a){var o={name:e,delta:r,target:n,should:a};t.current.push(o),setTimeout((function(){t.current=t.current.filter((function(e){return e!==o}))}),1)}),[]),u=U.useCallback((function(e){r.current=SA(e),n.current=void 0}),[]),d=U.useCallback((function(t){c(t.type,RA(t),t.target,l(t,e.lockRef.current))}),[]),p=U.useCallback((function(t){c(t.type,SA(t),t.target,l(t,e.lockRef.current))}),[]);U.useEffect((function(){return IA.push(o),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener("wheel",s,AA),document.addEventListener("touchmove",s,AA),document.addEventListener("touchstart",u,AA),function(){IA=IA.filter((function(e){return e!==o})),document.removeEventListener("wheel",s,AA),document.removeEventListener("touchmove",s,AA),document.removeEventListener("touchstart",u,AA)}}),[]);var m=e.removeScrollBar,h=e.inert;return U.createElement(U.Fragment,null,h?U.createElement(o,{styles:TA(a)}):null,m?U.createElement(kA,{gapMode:"margin"}):null)},cA.useMedium(DA),pA);var DA,BA=U.forwardRef((function(e,t){return U.createElement(dA,iA({},e,{ref:t,sideCar:LA}))}));BA.classNames=dA.classNames;const VA=BA;var NA=new WeakMap,zA=new WeakMap,FA={},HA=0,jA=function(e){return e&&(e.host||jA(e.parentNode))},WA=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=jA(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]);FA[r]||(FA[r]=new WeakMap);var o=FA[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=(NA.get(e)||0)+1,c=(o.get(e)||0)+1;NA.set(e,s),o.set(e,c),i.push(e),1===s&&a&&zA.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(),HA++,function(){i.forEach((function(e){var t=NA.get(e)-1,a=o.get(e)-1;NA.set(e,t),o.set(e,a),t||(zA.has(e)||e.removeAttribute(n),zA.delete(e)),a||e.removeAttribute(r)})),--HA||(NA=new WeakMap,NA=new WeakMap,zA=new WeakMap,FA={})}}(n,a,r,"aria-hidden")):function(){return null}};function ZA(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 $A(){return $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},$A.apply(this,arguments)}var UA=["preset"],GA={slideInBottom:$A({},oA,{custom:{offsetY:16,reverse:!0}}),slideInRight:$A({},oA,{custom:{offsetX:16,reverse:!0}}),scale:$A({},JC,{custom:{initialScale:.95,reverse:!0}}),none:{}},qA=Ni(ob.section),KA=U.forwardRef((function(e,t){var r=e.preset,n=ZA(e,UA),a=GA[r];return U.createElement(qA,$A({ref:t},a,n))})),YA=function(){function e(){this.modals=void 0,this.modals=[]}var t=e.prototype;return t.add=function(e){this.modals.push(e)},t.remove=function(e){this.modals=this.modals.filter((function(t){return t!==e}))},t.isTopModal=function(e){return this.modals[this.modals.length-1]===e},e}(),XA=new YA;var QA=["className","children","containerProps"],JA=["className","transition"],eS=["className"],tS=["className"],rS=["className"],nS=["onClick","className"],aS=ci({strict:!0,name:"ModalContext",errorMessage:"useModalContext: `context` is undefined. Seems you forgot to wrap modal components in `<Modal />`"}),oS=aS[0],iS=aS[1],lS=function(e){var t=e.portalProps,r=e.children,n=e.autoFocus,a=e.trapFocus,o=e.initialFocusRef,i=e.finalFocusRef,l=e.returnFocusOnClose,s=e.blockScrollOnMount,c=e.allowPinchZoom,u=e.preserveScrollBarGap,d=e.motionPreset,p=e.lockFocusAcrossFrames,m=e.onCloseComplete,h=Vi("Modal",e),f=$A({},function(e){var t,r,n,a=e.isOpen,o=e.onClose,i=e.id,l=e.closeOnOverlayClick,s=void 0===l||l,c=e.closeOnEsc,u=void 0===c||c,d=e.useInert,p=void 0===d||d,m=e.onOverlayClick,h=e.onEsc,f=(0,U.useRef)(null),v=(0,U.useRef)(null),g=fr(i,"chakra-modal","chakra-modal--header","chakra-modal--body"),b=g[0],y=g[1],E=g[2];r=a&&p,n=(t=f).current,(0,U.useEffect)((function(){if(t.current&&r)return WA(t.current)}),[r,t,n]),function(e,t){(0,U.useEffect)((function(){return t&&XA.add(e),function(){XA.remove(e)}}),[t,e])}(f,a);var k=(0,U.useRef)(null),w=(0,U.useCallback)((function(e){k.current=e.target}),[]),x=(0,U.useCallback)((function(e){"Escape"===e.key&&(e.stopPropagation(),u&&(null==o||o()),null==h||h())}),[u,o,h]),_=(0,U.useState)(!1),P=_[0],C=_[1],A=(0,U.useState)(!1),S=A[0],R=A[1],M=(0,U.useCallback)((function(e,t){return void 0===e&&(e={}),void 0===t&&(t=null),$A({role:"dialog"},e,{ref:si(t,f),id:b,tabIndex:-1,"aria-modal":!0,"aria-labelledby":P?y:void 0,"aria-describedby":S?E:void 0,onClick:ot(e.onClick,(function(e){return e.stopPropagation()}))})}),[E,S,b,y,P]),T=(0,U.useCallback)((function(e){e.stopPropagation(),k.current===e.target&&XA.isTopModal(f)&&(s&&(null==o||o()),null==m||m())}),[o,s,m]),O=(0,U.useCallback)((function(e,t){return void 0===e&&(e={}),void 0===t&&(t=null),$A({},e,{ref:si(t,v),onClick:ot(e.onClick,T),onKeyDown:ot(e.onKeyDown,x),onMouseDown:ot(e.onMouseDown,w)})}),[x,w,T]);return{isOpen:a,onClose:o,headerId:y,bodyId:E,setBodyMounted:R,setHeaderMounted:C,dialogRef:f,overlayRef:v,getDialogProps:M,getDialogContainerProps:O}}(e),{autoFocus:n,trapFocus:a,initialFocusRef:o,finalFocusRef:i,returnFocusOnClose:l,blockScrollOnMount:s,allowPinchZoom:c,preserveScrollBarGap:u,motionPreset:d,lockFocusAcrossFrames:p});return U.createElement(oS,{value:f},U.createElement(xi,{value:h},U.createElement(ub,{onExitComplete:m},f.isOpen&&U.createElement(ku,t,r))))};lS.defaultProps={lockFocusAcrossFrames:!0,returnFocusOnClose:!0,scrollBehavior:"outside",trapFocus:!0,autoFocus:!0,blockScrollOnMount:!0,allowPinchZoom:!1,motionPreset:"scale"};var sS=Ni(ob.div),cS=Li((function(e,t){var r=e.className,n=e.children,a=e.containerProps,o=ZA(e,QA),i=iS(),l=i.getDialogProps,s=i.getDialogContainerProps,c=l(o,t),u=s(a),d=qe("chakra-modal__content",r),p=_i(),m=$A({display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0},p.dialog),h=$A({display:"flex",width:"100vw",height:"100vh","@supports(height: -webkit-fill-available)":{height:"-webkit-fill-available"},position:"fixed",left:0,top:0},p.dialogContainer),f=iS().motionPreset;return U.createElement(uS,null,U.createElement(Ni.div,$A({},u,{className:"chakra-modal__content-container",tabIndex:-1,__css:h}),U.createElement(KA,$A({preset:f,className:d},c,{__css:m}),n)))}));function uS(e){var t=iS(),r=t.autoFocus,n=t.trapFocus,a=t.dialogRef,o=t.initialFocusRef,i=t.blockScrollOnMount,l=t.allowPinchZoom,s=t.finalFocusRef,c=t.returnFocusOnClose,u=t.preserveScrollBarGap,d=t.lockFocusAcrossFrames,p=lm(),m=p[0],h=p[1];return U.useEffect((function(){!m&&h&&setTimeout(h)}),[m,h]),U.createElement(LC,{autoFocus:r,isDisabled:!n,initialFocusRef:o,finalFocusRef:s,restoreFocus:c,contentRef:a,lockFocusAcrossFrames:d},U.createElement(VA,{removeScrollBar:!u,allowPinchZoom:l,enabled:i,forwardProps:!0},e.children))}var dS=Li((function(e,t){var r=e.className;e.transition;var n=ZA(e,JA),a=qe("chakra-modal__overlay",r),o=$A({pos:"fixed",left:"0",top:"0",w:"100vw",h:"100vh"},_i().overlay),i="none"===iS().motionPreset?{}:XC;return U.createElement(sS,$A({},i,{__css:o,ref:t,className:a},n))})),pS=Li((function(e,t){var r=e.className,n=ZA(e,eS),a=iS(),o=a.headerId,i=a.setHeaderMounted;U.useEffect((function(){return i(!0),function(){return i(!1)}}),[i]);var l=qe("chakra-modal__header",r),s=$A({flex:0},_i().header);return U.createElement(Ni.header,$A({ref:t,className:l,id:o},n,{__css:s}))})),mS=Li((function(e,t){var r=e.className,n=ZA(e,tS),a=iS(),o=a.bodyId,i=a.setBodyMounted;U.useEffect((function(){return i(!0),function(){return i(!1)}}),[i]);var l=qe("chakra-modal__body",r),s=_i();return U.createElement(Ni.div,$A({ref:t,className:l,id:o},n,{__css:s.body}))})),hS=Li((function(e,t){var r=e.className,n=ZA(e,rS),a=qe("chakra-modal__footer",r),o=$A({display:"flex",alignItems:"center",justifyContent:"flex-end"},_i().footer);return U.createElement(Ni.footer,$A({ref:t},n,{__css:o,className:a}))})),fS=Li((function(e,t){var r=e.onClick,n=e.className,a=ZA(e,nS),o=iS().onClose,i=qe("chakra-modal__close-btn",n),l=_i();return U.createElement(vP,$A({ref:t,__css:l.closeButton,className:i,onClick:ot(r,(function(e){e.stopPropagation(),o()}))},a))})),vS=["leastDestructiveRef"];function gS(e){var t=e.leastDestructiveRef,r=ZA(e,vS);return U.createElement(lS,$A({},r,{initialFocusRef:t}))}var bS=Li((function(e,t){return U.createElement(cS,$A({ref:t,role:"alertdialog"},e))})),yS=ci();function ES(){return ES=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},ES.apply(this,arguments)}function kS(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}yS[0],yS[1],Ni(nA);var wS=["htmlSize"],xS=Li((function(e,t){var r=e.htmlSize,n=kS(e,wS),a=Vi("Input",n),o=us(Ci(n)),i=qe("chakra-input",e.className);return U.createElement(Ni.input,ES({size:r},o,{__css:a.field,ref:t,className:i}))}));xS.id="Input";var _S=["placement"],PS={left:{marginEnd:"-1px",borderEndRadius:0,borderEndColor:"transparent"},right:{marginStart:"-1px",borderStartRadius:0,borderStartColor:"transparent"}},CS=Ni("div",{baseStyle:{flex:"0 0 auto",width:"auto",display:"flex",alignItems:"center",whiteSpace:"nowrap"}}),AS=Li((function(e,t){var r,n=e.placement,a=void 0===n?"left":n,o=kS(e,_S),i=null!=(r=PS[a])?r:{},l=_i();return U.createElement(CS,ES({ref:t},o,{__css:ES({},l.addon,i)}))})),SS=Li((function(e,t){return U.createElement(AS,ES({ref:t,placement:"left"},e,{className:qe("chakra-input__left-addon",e.className)}))}));SS.id="InputLeftAddon";var RS=Li((function(e,t){return U.createElement(AS,ES({ref:t,placement:"right"},e,{className:qe("chakra-input__right-addon",e.className)}))}));RS.id="InputRightAddon";var MS=["children","className"],TS=Li((function(e,t){var r=Vi("Input",e),n=Ci(e),a=n.children,o=n.className,i=kS(n,MS),l=qe("chakra-input__group",o),s={},c=ui(a),u=r.field;c.forEach((function(e){var t,n;r&&(u&&"InputLeftElement"===e.type.id&&(s.paddingStart=null!=(t=u.height)?t:u.h),u&&"InputRightElement"===e.type.id&&(s.paddingEnd=null!=(n=u.height)?n:u.h),"InputRightAddon"===e.type.id&&(s.borderEndRadius=0),"InputLeftAddon"===e.type.id&&(s.borderStartRadius=0))}));var d=c.map((function(t){var r,n,a=Te({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?U.cloneElement(t,a):U.cloneElement(t,Object.assign(a,s,t.props))}));return U.createElement(Ni.div,ES({className:l,ref:t,__css:{width:"100%",display:"flex",position:"relative"}},i),U.createElement(xi,{value:r},d))})),OS=["placement"],IS=["className"],LS=["className"],DS=Ni("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",top:"0",zIndex:2}}),BS=Li((function(e,t){var r,n,a,o=e.placement,i=void 0===o?"left":o,l=kS(e,OS),s=_i(),c=s.field,u=ES(((a={})["left"===i?"insetStart":"insetEnd"]="0",a.width=null!=(r=null==c?void 0:c.height)?r:null==c?void 0:c.h,a.height=null!=(n=null==c?void 0:c.height)?n:null==c?void 0:c.h,a.fontSize=null==c?void 0:c.fontSize,a),s.element);return U.createElement(DS,ES({ref:t,__css:u},l))}));BS.id="InputElement",Li((function(e,t){var r=e.className,n=kS(e,IS),a=qe("chakra-input__left-element",r);return U.createElement(BS,ES({ref:t,placement:"left",className:a},n))})).id="InputLeftElement";var VS=Li((function(e,t){var r=e.className,n=kS(e,LS),a=qe("chakra-input__right-element",r);return U.createElement(BS,ES({ref:t,placement:"right",className:a},n))}));VS.id="InputRightElement";const NS={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"}},zS=e=>{const{label:t,onChange:r,value:n,hiddenLabel:a,...o}=e,i=wE(r),[l,s]=G().useState(n),c=a?xu:ms;return G().createElement(ls,{display:"inline-block"},G().createElement(c,{mb:2},t),G().createElement(xS,(0,Co.A)({value:l,onChange:e=>{s(e.target.value),i(e.target.value)}},NS,o)))},FS={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\")",jS=e=>G().createElement(Rl,{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(Rl,{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"})}))),WS=["primary","secondary","text","accent"],ZS=()=>{const{styles:e,updateStyleByKey:t,removeStyleByKey:r}=IN(),[n,a]=G().useState(""),{isOpen:o,onOpen:i,onClose:l}=vr(),s=G().useRef(null);return G().createElement(fE.Panel,null,G().createElement(Rl,{as:fE.PanelBody,initialOpen:!0,title:(0,K.__)("Color"),mb:"1px"},G().createElement(jl,null,e.colors.filter((e=>WS.includes(e.id))).map((e=>G().createElement(Wl,{key:e.id,sx:{".chakra-form-control":{py:"12px"}},mb:"0"},G().createElement(Iz,{label:e.name,trigger:t=>G().createElement(Iz.Trigger,t,G().createElement(jS,{items:[{color:e.value,id:e.id}]})),closeOnFocusOutside:!0,popoverDivProps:{sx:{".components-popover__content":{p:4}}},popoverProps:{offset:16}},G().createElement(WN,{value:e.value,onChange:r=>{t("colors",{...e,value:r})},showGlobalPalette:!1}))))),G().createElement(Wl,{display:"flex",alignItems:"center",justifyContent:"space-between",py:"12px",mb:"0"},"Custom Color"," ",G().createElement(Lb,{variant:"icon",onClick:()=>t("colors",{id:"",name:"",value:new uy({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=>!WS.includes(e.id))).map((e=>G().createElement(Wl,{key:e.id,mb:"0",sx:{"> .chakra-form-control":{py:"12px"}}},G().createElement(Iz,{label:()=>G().createElement(zS,{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(Yl,null,G().createElement(Lb,{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(Iz.Trigger,t,G().createElement(jS,{items:[{color:e.value,id:e.id}]}))),closeOnFocusOutside:!0,popoverDivProps:{sx:{".components-popover__content":{p:4}}},popoverProps:{offset:16}},G().createElement(WN,{value:e.value,onChange:r=>{t("colors",{...e,value:r})},showGlobalPalette:!1}))))))),G().createElement(gS,{isOpen:o,leastDestructiveRef:s,onClose:()=>{l(),a("")}},G().createElement(dS,null,G().createElement(bS,null,G().createElement(pS,{fontSize:"lg",fontWeight:"bold"},(0,K.sprintf)((0,K.__)("Delete color #%s","blockart"),n)),G().createElement(mS,null,(0,K.__)("Are you sure? You cannot undo this action afterwards.","blockart")),G().createElement(hS,null,G().createElement(Lb,{ref:s,variant:"outline",size:"sm",onClick:()=>{l(),a("")}},(0,K.__)("Cancel","blockart")),G().createElement(Lb,{size:"sm",onClick:()=>{l(),r("colors",n)},ml:3},(0,K.__)("Delete","blockart")))))))},$S=()=>{const{styles:e}=IN();return G().useEffect((()=>{wp.data.dispatch("core/block-editor").clearSelectedBlock()}),[]),G().createElement(Rl,{position:"absolute",top:0,left:0,w:"full",h:"full",zIndex:1,p:"40px",bg:"white"},G().createElement(vl,{align:"center"},G().createElement(bl,null,G().createElement(gl,null,"Color"),G().createElement(gl,null,"Text")),G().createElement(El,{mt:"16"},G().createElement(yl,null,G().createElement(Tl,{maxW:"600px"},G().createElement(Yl,{spacing:"40px"},G().createElement(Rl,{alignSelf:"flex-start"},G().createElement(Jl,{as:"span"},"DEFAULT")),G().createElement($l,{columns:2,w:"full",spacing:"8px"},e.colors.filter((e=>TN.includes(e.id))).map((e=>G().createElement(Rl,{key:e.id,textAlign:"left",mb:"8px"},G().createElement(Rl,{height:"100px",bgColor:`var(--ba-colors-${e.id})`}),G().createElement(Jl,{as:"span",mt:"4px"},e.name)))))),G().createElement(Yl,{mt:"60px",spacing:"40px"},G().createElement(Rl,{alignSelf:"flex-start"},G().createElement(Jl,{as:"span"},"CUSTOM")),G().createElement($l,{columns:2,w:"full",spacing:"8px"},e.colors.filter((e=>!TN.includes(e.id))).map((e=>G().createElement(Rl,{key:e.id,textAlign:"left",mb:"8px"},G().createElement(Rl,{height:"100px",bgColor:`var(--ba-colors-${e.id})`}),G().createElement(Jl,{as:"span",mt:"4px"},e.name)))))))),G().createElement(yl,null,G().createElement(Tl,{maxW:"600px"},G().createElement(Yl,{spacing:"40px"},G().createElement(Rl,{alignSelf:"flex-start"},G().createElement(Jl,{as:"span"},"DEFAULT")),G().createElement(Xl,{spacing:"8px",w:"full"},e.typographies.filter((e=>TN.includes(e.id))).map((e=>G().createElement(Rl,{key:e.id,textAlign:"left",border:"1px",borderColor:"gray.200",w:"full",p:"4",borderRadius:"base",bg:"gray.100"},G().createElement(Jl,{as:"span",mt:"4px"},e.name),G().createElement(Jl,{className:`ba-typography-${e.id}`},"The quiz fox jumps over lazy dog.")))))),G().createElement(Yl,{mt:"60px",spacing:"40px"},G().createElement(Rl,{alignSelf:"flex-start"},G().createElement(Jl,{as:"span"},"CUSTOM")),G().createElement(Xl,{spacing:"8px",w:"full"},e.typographies.filter((e=>!TN.includes(e.id))).map((e=>G().createElement(Rl,{key:e.id,textAlign:"left",border:"1px",borderColor:"gray.200",w:"full",p:"4",borderRadius:"sm",bg:"gray.100"},G().createElement(Jl,{as:"span",mt:"4px"},e.name),G().createElement(Jl,{className:`ba-typography-${e.id}`},"The quiz fox jumps over lazy dog.")))))))))))};function US(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 GS(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?US(Object(r),!0).forEach((function(t){FP(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):US(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function qS(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 KS(e,t){if(e){if("string"==typeof e)return qS(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)?qS(e,t):void 0}}function YS(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)||KS(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 XS(e,t){if(null==e)return{};var r,n,a=gP(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 QS=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function JS(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,zP(n.key),n)}}var eR=r(8269);function tR(e){return tR=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},tR(e)}function rR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(rR=function(){return!!e})()}function nR(e){return function(e){if(Array.isArray(e))return qS(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||KS(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 aR=Math.min,oR=Math.max,iR=Math.round,lR=Math.floor,sR=e=>({x:e,y:e});function cR(e){return pR(e)?(e.nodeName||"").toLowerCase():"#document"}function uR(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function dR(e){var t;return null==(t=(pR(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function pR(e){return e instanceof Node||e instanceof uR(e).Node}function mR(e){return e instanceof Element||e instanceof uR(e).Element}function hR(e){return e instanceof HTMLElement||e instanceof uR(e).HTMLElement}function fR(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof uR(e).ShadowRoot)}function vR(e){const{overflow:t,overflowX:r,overflowY:n,display:a}=gR(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(a)}function gR(e){return uR(e).getComputedStyle(e)}function bR(e){const t=function(e){if("html"===cR(e))return e;const t=e.assignedSlot||e.parentNode||fR(e)&&e.host||dR(e);return fR(t)?t.host:t}(e);return function(e){return["html","body","#document"].includes(cR(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:hR(t)&&vR(t)?t:bR(t)}function yR(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);const a=bR(e),o=a===(null==(n=e.ownerDocument)?void 0:n.body),i=uR(a);return o?t.concat(i,i.visualViewport||[],vR(a)?a:[],i.frameElement&&r?yR(i.frameElement):[]):t.concat(a,yR(a,[],r))}function ER(e){return mR(e)?e:e.contextElement}function kR(e){const t=ER(e);if(!hR(t))return sR(1);const r=t.getBoundingClientRect(),{width:n,height:a,$:o}=function(e){const t=gR(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const a=hR(e),o=a?e.offsetWidth:r,i=a?e.offsetHeight:n,l=iR(r)!==o||iR(n)!==i;return l&&(r=o,n=i),{width:r,height:n,$:l}}(t);let i=(o?iR(r.width):r.width)/n,l=(o?iR(r.height):r.height)/a;return i&&Number.isFinite(i)||(i=1),l&&Number.isFinite(l)||(l=1),{x:i,y:l}}const wR=sR(0);function xR(e){const t=uR(e);return"undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:wR}function _R(e,t,r,n){void 0===t&&(t=!1),void 0===r&&(r=!1);const a=e.getBoundingClientRect(),o=ER(e);let i=sR(1);t&&(n?mR(n)&&(i=kR(n)):i=kR(e));const l=function(e,t,r){return void 0===t&&(t=!1),!(!r||t&&r!==uR(e))&&t}(o,r,n)?xR(o):sR(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=uR(o),t=n&&mR(n)?uR(n):n;let r=e,a=r.frameElement;for(;a&&n&&t!==r;){const e=kR(a),t=a.getBoundingClientRect(),n=gR(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=uR(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 PR=U.useLayoutEffect;var CR=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],AR=function(){};function SR(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function RR(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(SR(e,i)));return o.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var MR=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===NP(e)&&null!==e?[e]:[];var t},TR=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,GS({},XS(e,CR))},OR=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 IR(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function LR(e){return IR(e)?window.pageYOffset:e.scrollTop}function DR(e,t){IR(e)?window.scrollTo(0,t):e.scrollTop=t}function BR(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=LR(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);DR(e,l),i<r?window.requestAnimationFrame(t):n(e)}()}function VR(e,t){var r=e.getBoundingClientRect(),n=t.getBoundingClientRect(),a=t.offsetHeight/3;n.bottom+a>r.bottom?DR(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+a,e.scrollHeight)):n.top-a<r.top&&DR(e,Math.max(t.offsetTop-a,0))}function NR(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var zR=!1,FR={get passive(){return zR=!0}},HR="undefined"!=typeof window?window:{};HR.addEventListener&&HR.removeEventListener&&(HR.addEventListener("p",AR,FR),HR.removeEventListener("p",AR,!1));var jR=zR;function WR(e){return null!=e}function ZR(e,t,r){return e?t:r}var $R=["children","innerProps"],UR=["children","innerProps"];var GR,qR=function(e){return"auto"===e?"bottom":e},KR=(0,U.createContext)(null),YR=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)(KR)||{}).setPortalPlacement,c=(0,U.useRef)(null),u=YS((0,U.useState)(n),2),d=u[0],p=u[1],m=YS((0,U.useState)(null),2),h=m[0],f=m[1],v=l.spacing.controlHeight;return PR((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,g=i||IR(u=s)?window.innerHeight:u.clientHeight,b=LR(s),y=parseInt(getComputedStyle(r).marginBottom,10),E=parseInt(getComputedStyle(r).marginTop,10),k=v-E,w=g-f,x=k+b,_=d-b-f,P=m-g+b+y,C=b+f-E,A=160;switch(a){case"auto":case"bottom":if(w>=h)return{placement:"bottom",maxHeight:t};if(_>=h&&!i)return o&&BR(s,P,A),{placement:"bottom",maxHeight:t};if(!i&&_>=n||i&&w>=n)return o&&BR(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&&DR(s,P),{placement:"bottom",maxHeight:t};break;case"top":if(k>=h)return{placement:"top",maxHeight:t};if(x>=h&&!i)return o&&BR(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&&BR(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:GS(GS({},e),{},{placement:h||qR(a),maxHeight:d})})},XR=function(e,t){var r=e.theme,n=r.spacing.baseUnit,a=r.colors;return GS({textAlign:"center"},t?{}:{color:a.neutral40,padding:"".concat(2*n,"px ").concat(3*n,"px")})},QR=XR,JR=XR,eM=["size"],tM=["innerProps","isRtl","size"],rM={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},nM=function(e){var t=e.size,r=XS(e,eM);return ri("svg",(0,Co.A)({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:rM},r))},aM=function(e){return ri(nM,(0,Co.A)({size:20},e),ri("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"}))},oM=function(e){return ri(nM,(0,Co.A)({size:20},e),ri("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"}))},iM=function(e,t){var r=e.isFocused,n=e.theme,a=n.spacing.baseUnit,o=n.colors;return GS({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:r?o.neutral60:o.neutral20,padding:2*a,":hover":{color:r?o.neutral80:o.neutral40}})},lM=iM,sM=iM,cM=oi(GR||(GR=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"]))),uM=function(e){var t=e.delay,r=e.offset;return ri("span",{css:ai({animation:"".concat(cM," 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"},"","")})},dM=["data"],pM=["innerRef","isDisabled","isHidden","inputClassName"],mM={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},hM={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":GS({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},mM)},fM=function(e){return GS({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},mM)},vM=function(e){var t=e.children,r=e.innerProps;return ri("div",r,t)},gM={ClearIndicator:function(e){var t=e.children,r=e.innerProps;return ri("div",(0,Co.A)({},OR(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),r),t||ri(aM,null))},Control:function(e){var t=e.children,r=e.isDisabled,n=e.isFocused,a=e.innerRef,o=e.innerProps,i=e.menuIsOpen;return ri("div",(0,Co.A)({ref:a},OR(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 ri("div",(0,Co.A)({},OR(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),r),t||ri(oM,null))},DownChevron:oM,CrossIcon:aM,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 ri("div",(0,Co.A)({},OR(e,"group",{group:!0}),l),ri(o,(0,Co.A)({},i,{selectProps:u,theme:c,getStyles:n,getClassNames:a,cx:r}),s),ri("div",null,t))},GroupHeading:function(e){var t=TR(e);t.data;var r=XS(t,dM);return ri("div",(0,Co.A)({},OR(e,"groupHeading",{"group-heading":!0}),r))},IndicatorsContainer:function(e){var t=e.children,r=e.innerProps;return ri("div",(0,Co.A)({},OR(e,"indicatorsContainer",{indicators:!0}),r),t)},IndicatorSeparator:function(e){var t=e.innerProps;return ri("span",(0,Co.A)({},t,OR(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:function(e){var t=e.cx,r=e.value,n=TR(e),a=n.innerRef,o=n.isDisabled,i=n.isHidden,l=n.inputClassName,s=XS(n,pM);return ri("div",(0,Co.A)({},OR(e,"input",{"input-container":!0}),{"data-value":r||""}),ri("input",(0,Co.A)({className:t({input:!0},l),ref:a,style:fM(i),disabled:o},s)))},LoadingIndicator:function(e){var t=e.innerProps,r=e.isRtl,n=e.size,a=void 0===n?4:n,o=XS(e,tM);return ri("div",(0,Co.A)({},OR(GS(GS({},o),{},{innerProps:t,isRtl:r,size:a}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),ri(uM,{delay:0,offset:r}),ri(uM,{delay:160,offset:!0}),ri(uM,{delay:320,offset:!r}))},Menu:function(e){var t=e.children,r=e.innerRef,n=e.innerProps;return ri("div",(0,Co.A)({},OR(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 ri("div",(0,Co.A)({},OR(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=YS((0,U.useState)(qR(o)),2),u=c[0],d=c[1],p=(0,U.useMemo)((function(){return{setPortalPlacement:d}}),[]),m=YS((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]);PR((function(){v()}),[v]);var g=(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=ER(e),u=a||o?[...c?yR(c):[],...yR(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=dR(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:-lR(u)+"px "+-lR(a.clientWidth-(c+d))+"px "+-lR(a.clientHeight-(u+p))+"px "+-lR(c)+"px",threshold:oR(0,aR(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?_R(e):null;return s&&function t(){const n=_R(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]);PR((function(){g()}),[g]);var b=(0,U.useCallback)((function(e){l.current=e,g()}),[g]);if(!t&&"fixed"!==i||!h)return null;var y=ri("div",(0,Co.A)({ref:b},OR(GS(GS({},e),{},{offset:h.offset,position:i,rect:h.rect}),"menuPortal",{"menu-portal":!0}),a),r);return ri(KR.Provider,{value:p},t?(0,lu.createPortal)(y,t):y)},LoadingMessage:function(e){var t=e.children,r=void 0===t?"Loading...":t,n=e.innerProps,a=XS(e,UR);return ri("div",(0,Co.A)({},OR(GS(GS({},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=XS(e,$R);return ri("div",(0,Co.A)({},OR(GS(GS({},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 ri(s,{data:n,innerProps:GS(GS({},OR(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":o})),a),selectProps:l},ri(c,{data:n,innerProps:GS({},OR(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:l},t),ri(u,{data:n,innerProps:GS(GS({},OR(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},i),selectProps:l}))},MultiValueContainer:vM,MultiValueLabel:vM,MultiValueRemove:function(e){var t=e.children,r=e.innerProps;return ri("div",(0,Co.A)({role:"button"},r),t||ri(aM,{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 ri("div",(0,Co.A)({},OR(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 ri("div",(0,Co.A)({},OR(e,"placeholder",{placeholder:!0}),r),t)},SelectContainer:function(e){var t=e.children,r=e.innerProps,n=e.isDisabled,a=e.isRtl;return ri("div",(0,Co.A)({},OR(e,"container",{"--is-disabled":n,"--is-rtl":a}),r),t)},SingleValue:function(e){var t=e.children,r=e.isDisabled,n=e.innerProps;return ri("div",(0,Co.A)({},OR(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 ri("div",(0,Co.A)({},OR(e,"valueContainer",{"value-container":!0,"value-container--is-multi":n,"value-container--has-value":a}),r),t)}},bM=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function yM(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(!((n=e[r])===(a=t[r])||bM(n)&&bM(a)))return!1;var n,a;return!0}for(var EM={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"},kM=function(e){return ri("span",(0,Co.A)({css:EM},e))},wM={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:"",".")}},xM=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,g=l.options,b=l.screenReaderStatus,y=l.tabSelectsValue,E=l.isLoading,k=l["aria-label"],w=l["aria-live"],x=(0,U.useMemo)((function(){return GS(GS({},wM),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=GS({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&&g.length&&!E&&x.onFilter){var t=b({count:a.length});e=x.onFilter({inputValue:p,resultsMessage:t})}return e}),[a,p,v,x,g,b,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=ri(U.Fragment,null,ri("span",{id:"aria-selection"},_),ri("span",{id:"aria-focused"},P),ri("span",{id:"aria-results"},C),ri("span",{id:"aria-guidance"},S));return ri(U.Fragment,null,ri(kM,{id:s},A&&R),ri(kM,{"aria-live":w,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},o&&!A&&R))},_M=[{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źẑżžẓẕƶȥɀⱬꝣ"}],PM=new RegExp("["+_M.map((function(e){return e.letters})).join("")+"]","g"),CM={},AM=0;AM<_M.length;AM++)for(var SM=_M[AM],RM=0;RM<SM.letters.length;RM++)CM[SM.letters[RM]]=SM.base;var MM=function(e){return e.replace(PM,(function(e){return CM[e]}))},TM=function(e,t){void 0===t&&(t=yM);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}(MM),OM=function(e){return e.replace(/^\s+|\s+$/g,"")},IM=function(e){return"".concat(e.label," ").concat(e.value)},LM=["innerRef"];function DM(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=YS(e,1)[0];return!r.includes(t)}));return a.reduce((function(e,t){var r=YS(t,2),n=r[0],a=r[1];return e[n]=a,e}),{})}(XS(e,LM),"onExited","in","enter","exit","appear");return ri("input",(0,Co.A)({ref:t},r,{css:ai({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 BM=["boxSizing","height","overflow","paddingRight","position"],VM={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function NM(e){e.preventDefault()}function zM(e){e.stopPropagation()}function FM(){var e=this.scrollTop,t=this.scrollHeight,r=e+this.offsetHeight;0===e?this.scrollTop=1:r===t&&(this.scrollTop=e-1)}function HM(){return"ontouchstart"in window||navigator.maxTouchPoints}var jM=!("undefined"==typeof window||!window.document||!window.document.createElement),WM=0,ZM={capture:!1,passive:!1},$M=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},UM={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function GM(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=!!jR&&{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(jM){var t=document.body,r=t&&t.style;if(n&&BM.forEach((function(e){var t=r&&r[e];a.current[e]=t})),n&&WM<1){var o=parseInt(a.current.paddingRight,10)||0,i=document.body?document.body.clientWidth:0,l=window.innerWidth-i+o||0;Object.keys(VM).forEach((function(e){var t=VM[e];r&&(r[e]=t)})),r&&(r.paddingRight="".concat(l,"px"))}t&&HM()&&(t.addEventListener("touchmove",NM,ZM),e&&(e.addEventListener("touchstart",FM,ZM),e.addEventListener("touchmove",zM,ZM))),WM+=1}}),[n]),l=(0,U.useCallback)((function(e){if(jM){var t=document.body,r=t&&t.style;WM=Math.max(WM-1,0),n&&WM<1&&BM.forEach((function(e){var t=a.current[e];r&&(r[e]=t)})),t&&HM()&&(t.removeEventListener("touchmove",NM,ZM),e&&(e.removeEventListener("touchstart",FM,ZM),e.removeEventListener("touchmove",zM,ZM)))}}),[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 ri(U.Fragment,null,r&&ri("div",{onClick:$M,css:UM}),t((function(e){a(e),o(e)})))}var qM={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},KM=function(e){var t=e.name,r=e.onFocus;return ri("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:r,css:qM,value:"",onChange:function(){}})};function YM(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 XM(){return YM(/^Mac/i)}var QM={clearIndicator:sM,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 GS({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:lM,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 GS({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 GS({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 GS(GS({visibility:r?"hidden":"visible",transform:n?"translateZ(0)":""},hM),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 GS({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:JR,menu:function(e,t){var r,n=e.placement,a=e.theme,o=a.borderRadius,i=a.spacing,l=a.colors;return GS((FP(r={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(n),"100%"),FP(r,"position","absolute"),FP(r,"width","100%"),FP(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 GS({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 GS({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 GS({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 GS({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:QR,option:function(e,t){var r=e.isDisabled,n=e.isFocused,a=e.isSelected,o=e.theme,i=o.spacing,l=o.colors;return GS({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 GS({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 GS({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 GS({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")})}},JM={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}},eT={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:NR(),captureMenuScroll:!NR(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){if(e.data.__isNew__)return!0;var r=GS({ignoreCase:!0,ignoreAccents:!0,stringify:IM,trim:!0,matchFrom:"any"},void 0),n=r.ignoreCase,a=r.ignoreAccents,o=r.stringify,i=r.trim,l=r.matchFrom,s=i?OM(t):t,c=i?OM(o(e)):o(e);return n&&(s=s.toLowerCase(),c=c.toLowerCase()),a&&(s=TM(s),c=MM(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 tT(e,t,r,n){return{type:"option",data:t,isDisabled:cT(e,t,r),isSelected:uT(e,t,r),label:lT(e,t),value:sT(e,t),index:n}}function rT(e,t){return e.options.map((function(r,n){if("options"in r){var a=r.options.map((function(r,n){return tT(e,r,t,n)})).filter((function(t){return oT(e,t)}));return a.length>0?{type:"group",data:r,options:a,index:n}:void 0}var o=tT(e,r,t,n);return oT(e,o)?o:void 0})).filter(WR)}function nT(e){return e.reduce((function(e,t){return"group"===t.type?e.push.apply(e,nR(t.options.map((function(e){return e.data})))):e.push(t.data),e}),[])}function aT(e,t){return e.reduce((function(e,r){return"group"===r.type?e.push.apply(e,nR(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 oT(e,t){var r=e.inputValue,n=void 0===r?"":r,a=t.data,o=t.isSelected,i=t.label,l=t.value;return(!pT(e)||!o)&&dT(e,{label:i,value:l,data:a},n)}var iT=function(e,t){var r;return(null===(r=e.find((function(e){return e.data===t})))||void 0===r?void 0:r.id)||null},lT=function(e,t){return e.getOptionLabel(t)},sT=function(e,t){return e.getOptionValue(t)};function cT(e,t,r){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,r)}function uT(e,t,r){if(r.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,r);var n=sT(e,t);return r.some((function(t){return sT(e,t)===n}))}function dT(e,t,r){return!e.filterOption||e.filterOption(t,r)}var pT=function(e){var t=e.hideSelectedOptions,r=e.isMulti;return void 0===t?r:t},mT=1,hT=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,eR.A)(e,t)}(r,e);var t=function(e){var t=rR();return function(){var r,n=tR(e);if(t){var a=tR(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return function(e,t){if(t&&("object"==NP(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=XM()||YM(/^iPhone/i)||YM(/^iPad/i)||XM()&&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(nR(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=ZR(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(ZR(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=ZR(e,a,a[0]||null);n.onChange(o,{action:"pop-value",removedValue:r})},n.getFocusedOptionId=function(e){return iT(n.state.focusableOptionsWithIds,e)},n.getFocusableOptionsWithIds=function(){return aT(rT(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 RR.apply(void 0,[n.props.classNamePrefix].concat(t))},n.getOptionLabel=function(e){return lT(n.props,e)},n.getOptionValue=function(e){return sT(n.props,e)},n.getStyles=function(e,t){var r=n.props.unstyled,a=QM[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,GS(GS({},gM),e.components);var e},n.buildCategorizedOptions=function(){return rT(n.props,n.state.selectValue)},n.getCategorizedOptions=function(){return n.props.menuIsOpen?n.buildCategorizedOptions():[]},n.buildFocusableOptions=function(){return nT(n.buildCategorizedOptions())},n.getFocusableOptions=function(){return n.props.menuIsOpen?n.buildFocusableOptions():[]},n.ariaOnChange=function(e,t){n.setState({ariaSelection:GS({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&&IR(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 pT(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||++mT),n.state.selectValue=MR(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=iT(a,o[i])}return n}return function(e,t,r){t&&JS(e.prototype,t),r&&JS(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&&VR(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&&(VR(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(JM):GS(GS({},JM),this.props.theme):JM}},{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 cT(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return uT(this.props,e,t)}},{key:"filterOption",value:function(e,t){return dT(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=GS(GS(GS({"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,Co.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(DM,(0,Co.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,g=f.focusedValue,b=f.isFocused;if(!this.hasValue()||!u)return m?null:U.createElement(l,(0,Co.A)({},s,{key:"placeholder",isDisabled:d,isFocused:b,innerProps:{id:this.getElementId("placeholder")}}),h);if(p)return v.map((function(t,i){var l=t===g,c="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return U.createElement(r,(0,Co.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,Co.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,Co.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,Co.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,Co.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,Co.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,g=p.minMenuHeight,b=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,Co.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,Co.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 O={minMenuHeight:g,maxMenuHeight:b,menuPlacement:E,menuPosition:k,menuShouldScrollIntoView:_},I=U.createElement(YR,(0,Co.A)({},u,O),(function(t){var r=t.ref,n=t.placerProps,i=n.placement,l=n.maxHeight;return U.createElement(a,(0,Co.A)({},u,O,{innerRef:r,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:f,placement:i}),U.createElement(GM,{captureEnabled:m,onTopArrive:C,onBottomArrive:A,lockEnabled:x},(function(t){return U.createElement(o,(0,Co.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,Co.A)({},u,{appendTo:w,controlElement:this.controlRef,menuPlacement:E,menuPosition:k}),I):I}},{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(KM,{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(xM,(0,Co.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,Co.A)({},d,{className:i,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:s,isFocused:u}),this.renderLiveRegion(),U.createElement(t,(0,Co.A)({},d,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:s,isFocused:u,menuIsOpen:c}),U.createElement(a,(0,Co.A)({},d,{isDisabled:s}),this.renderPlaceholderOrValue(),this.renderInput()),U.createElement(r,(0,Co.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=MR(u),f={};if(r&&(u!==r.value||c!==r.options||d!==r.menuIsOpen||p!==r.inputValue)){var v=d?function(e,t){return nT(rT(e,t))}(e,h):[],g=d?aT(rT(e,h),"".concat(s,"-option")):[],b=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:iT(g,y),focusableOptionsWithIds:g,focusedValue:b,clearFocusValueOnUpdate:!1}}var E=null!=a&&e!==r?{inputIsHidden:a,inputIsHiddenAfterUpdate:void 0}:{},k=o,w=i&&l;return i&&!w&&(k={value:ZR(m,h,h[0]||null),options:h,action:"initial-input-focus"},w=!l),"initial-input-focus"===(null==o?void 0:o.action)&&(k=null),GS(GS(GS({},f),E),{},{prevProps:e,ariaSelection:k,prevWasFocused:w})}}]),r}(U.Component);hT.defaultProps=eT;var fT=(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=XS(e,QS),f=YS((0,U.useState)(void 0!==l?l:r),2),v=f[0],g=f[1],b=YS((0,U.useState)(void 0!==s?s:a),2),y=b[0],E=b[1],k=YS((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)),g(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 GS(GS({},h),{},{inputValue:S,menuIsOpen:R,onChange:_,onInputChange:P,onMenuClose:A,onMenuOpen:C,value:M})}(e);return U.createElement(hT,(0,Co.A)({ref:t},r))})),vT=fT;const gT=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),bT=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),yT=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),ET=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),kT=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),wT=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),xT=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),_T=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),PT=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),CT=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),ST=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),RT=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),MT=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),TT=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),OT=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.A)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 28 5"},e,{ref:t}),G().createElement("path",{fill:"currentColor",d:"M26 3H2V2h24v1Z"})))),IT=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),LT=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),DT=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),BT=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),VT=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),NT=(Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"}))))),zT=(Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"}))))),FT=(Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"}))))),HT=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),jT=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),WT=(Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"}))))),ZT=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),$T=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),UT=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),GT=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),qT=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),KT=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),YT=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),XT=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),QT=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),JT=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),eO=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),tO=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),rO=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),nO=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),aO=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),oO=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),iO=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),lO=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),sO=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),cO=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),uO=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),dO=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),pO=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),mO=(Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"}))))),hO=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),fO=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),vO=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),gO=(Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"}))))),bO=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),yO=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),EO=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))))),kO=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))))),wO=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))))),xO=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))))),_O=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),PO=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))))),CO=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))))),AO=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))))),SO=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))))),RO=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),MO=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))))),TO=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),OO=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))))),IO=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))))),LO=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))))),DO=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))))),BO=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))))),VO=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))))),NO=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))))),zO=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))))),FO=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))))),HO=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))))),jO=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))))),WO=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))))),ZO=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),$O=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))))),UO=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),GO=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),qO=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),KO=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),YO=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),XO=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),QO=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),JO=(Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"}))))),eI=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),tI=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),rI=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),nI=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),aI=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),oI=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),iI=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),lI=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),sI=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),cI=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),uI=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),dI=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),pI=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),mI=(Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"}))))),hI=(Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"}))))),fI=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),vI=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),gI=(Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"}))))),bI=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),EI=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),kI=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),wI=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),xI=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),_I=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),PI=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),CI=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),AI=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),SI=(Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"}))))),RI=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),MI=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),TI=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),OI=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),II=(Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"}))))),LI=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),DI=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),BI=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),VI=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),NI=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),zI=Li(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),FI=({resetKey:e,saved:t,onReset:r,buttonProps:n})=>{const{attributesDefinition:a,clientId:o,attributes:i}=(0,dE.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,Z.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=Jy(a,s,void 0),u=eE(c,t);return G().createElement(Lb,(0,Co.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(BI,{h:"3",w:"3"}))};function HI(){return HI=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},HI.apply(this,arguments)}function jI(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 WI(e){var t=e.orientation,r=e.vertical,n=e.horizontal;return"vertical"===t?r:n}var ZI={width:0,height:0};function $I(e){var t=e.orientation,r=e.thumbPercents,n=e.thumbRects,a=e.isReversed,o="vertical"===t?n.reduce((function(e,t){return e.height>t.height?e:t}),ZI):n.reduce((function(e,t){return e.width>t.width?e:t}),ZI),i=HI({position:"relative",touchAction:"none",WebkitTapHighlightColor:"rgba(0,0,0,0)",userSelect:"none",outline:0},WI({orientation:t,vertical:{paddingLeft:o.width/2,paddingRight:o.width/2},horizontal:{paddingTop:o.height/2,paddingBottom:o.height/2}})),l=HI({position:"absolute"},WI({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,d=u[0];!s&&a&&(d=100-d);var p=Math.abs(u[u.length-1]-u[0]);return{trackStyle:l,innerTrackStyle:HI({},l,WI({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:function(e){return HI({position:"absolute",userSelect:"none",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none",touchAction:"none"},WI({orientation:t,vertical:{bottom:"calc("+r[e]+"% - "+n[e].height/2+"px)"},horizontal:{left:"calc("+r[e]+"% - "+n[e].width/2+"px)"}}))}}}function UI(e){var t=e.isReversed,r=e.direction,n=e.orientation;return"ltr"===r||"vertical"===n?t:!t}var GI=["min","max","onChange","value","defaultValue","isReversed","direction","orientation","id","isDisabled","isReadOnly","onChangeStart","onChangeEnd","step","getAriaValueText","aria-valuetext","aria-label","aria-labelledby","name","focusThumbOnChange","minStepsBetweenThumbs"],qI=["index"],KI=["value"],YI=["index"];var XI=function(e,t,r,n){return e.map((function(a,o){return{min:0===o?t:e[o-1]+n,max:o===e.length-1?r:e[o+1]-n}}))},QI=["getRootProps"],JI=ci({name:"SliderContext",errorMessage:"useSliderContext: `context` is undefined. Seems you forgot to wrap all slider components within <RangeSlider />"}),eL=JI[0],tL=(JI[1],Li((function(e,t){var r=Vi("Slider",e),n=Ci(e),a=ki().direction;n.direction=a;var o=function(e){var t=e.min,r=void 0===t?0:t,n=e.max,a=void 0===n?100:n,o=e.onChange,i=e.value,l=e.defaultValue,s=e.isReversed,c=e.direction,u=void 0===c?"ltr":c,d=e.orientation,p=void 0===d?"horizontal":d,m=e.id,h=e.isDisabled,f=e.isReadOnly,v=e.onChangeStart,g=e.onChangeEnd,b=e.step,y=void 0===b?1:b,E=e.getAriaValueText,k=e["aria-valuetext"],w=e["aria-label"],x=e["aria-labelledby"],_=e.name,P=e.focusThumbOnChange,C=void 0===P||P,A=e.minStepsBetweenThumbs,S=void 0===A?0:A,R=jI(e,GI),M=Yt(v),T=Yt(g),O=Yt(E),I=UI({isReversed:s,direction:u,orientation:p}),L=sr({value:i,defaultValue:null!=l?l:[25,75],onChange:o}),D=L[0],B=L[1];if(!Array.isArray(D))throw new TypeError("[range-slider] You passed an invalid value for `value` or `defaultValue`, expected `Array` but got `"+typeof D+"`");var V=or(),N=V[0],z=V[1],F=or(),H=F[0],j=F[1],W=(0,U.useState)(-1),Z=W[0],$=W[1],G=(0,U.useRef)(null),q=!(h||f),K=(0,U.useRef)(D),Y=D.map((function(e){return _t(e,r,a)})),X=kr(Y),Q=XI(Y,r,a,S*y),J=Y.map((function(e){return a-e+r})),ee=(I?J:Y).map((function(e){return kt(e,r,a)})),te="vertical"===p,re=(0,U.useState)(Array.from({length:Y.length}).map((function(){return{width:0,height:0}}))),ne=re[0],ae=re[1];(0,U.useEffect)((function(){var e;if(ie.current){var t=Array.from(null==(e=ie.current)?void 0:e.querySelectorAll("[role=slider]")).map((function(e){return{width:e.offsetWidth,height:e.offsetHeight}}));t.length&&ae(t)}}),[]);var oe=(0,U.useRef)(null),ie=(0,U.useRef)(null),le=function(e){return{root:"slider-root-"+e,getThumb:function(t){return"slider-thumb-"+e+"-"+t},getInput:function(t){return"slider-input-"+e+"-"+t},track:"slider-track-"+e,innerTrack:"slider-filled-track-"+e,getMarker:function(t){return"slider-marker-"+e+"-"+t},output:"slider-output-"+e}}(hr(m)),se=(0,U.useCallback)((function(e){var t,n;if(oe.current){G.current="pointer";var o=oe.current.getBoundingClientRect(),i=null!=(t=null==(n=e.touches)?void 0:n[0])?t:e,l=i.clientX,s=i.clientY,c=(te?o.bottom-s:l-o.left)/(te?o.height:o.width);return I&&(c=1-c),wt(c,r,a)}}),[te,I,a,r]),ce=(a-r)/10,ue=y||(a-r)/100,de=(0,U.useMemo)((function(){return{setValueAtIndex:function(e,t){if(q){var r=Q[e];t=_t(t=parseFloat(xt(t,r.min,ue)),r.min,r.max);var n=[].concat(Y);n[e]=t,B(n)}},setActiveIndex:$,stepUp:function(e,t){void 0===t&&(t=ue);var r=Y[e],n=I?r-t:r+t;de.setValueAtIndex(e,n)},stepDown:function(e,t){void 0===t&&(t=ue);var r=Y[e],n=I?r+t:r-t;de.setValueAtIndex(e,n)},reset:function(){return B(K.current)}}}),[ue,Y,I,B,q,Q]),pe=(0,U.useCallback)((function(e){var t={ArrowRight:function(){return de.stepUp(Z)},ArrowUp:function(){return de.stepUp(Z)},ArrowLeft:function(){return de.stepDown(Z)},ArrowDown:function(){return de.stepDown(Z)},PageUp:function(){return de.stepUp(Z,ce)},PageDown:function(){return de.stepDown(Z,ce)},Home:function(){var e=Q[Z].min;de.setValueAtIndex(Z,e)},End:function(){var e=Q[Z].max;de.setValueAtIndex(Z,e)}},r=t[Ke(e)];r&&(e.preventDefault(),e.stopPropagation(),r(e),G.current="keyboard")}),[de,Z,ce,Q]),me=(0,U.useMemo)((function(){return $I({isReversed:I,orientation:p,thumbRects:ne,thumbPercents:ee})}),[I,p,ee,ne]),he=me.getThumbStyle,fe=me.rootStyle,ve=me.trackStyle,ge=me.innerTrackStyle,be=(0,U.useCallback)((function(e){var t=null!=e?e:Z;if(-1!==t&&C){var r,n=le.getThumb(t),a=null==(r=ie.current)?void 0:r.ownerDocument.getElementById(n);a&&setTimeout((function(){return mt(a)}))}}),[C,Z,le]);gr((function(){"keyboard"===G.current&&(null==T||T(X.current))}),[Y,T]),Pr(ie,{onPanSessionStart:function(e){q&&(z.on(),function(e){var t=se(e)||0,r=Y.map((function(e){return Math.abs(e-t)})),n=Math.min.apply(Math,r),a=r.indexOf(n),o=r.filter((function(e){return e===n}));o.length>1&&t>Y[a]&&(a=a+o.length-1),$(a),de.setValueAtIndex(a,t),be(a)}(e),null==M||M(X.current))},onPanSessionEnd:function(){q&&(z.off(),null==T||T(X.current))},onPan:function(e){q&&function(e){if(-1!=Z){var t=se(e)||0;$(Z),de.setValueAtIndex(Z,t),be(Z)}}(e)}});var ye=(0,U.useCallback)((function(e,t){return void 0===e&&(e={}),void 0===t&&(t=null),HI({},e,R,{id:le.root,ref:si(t,ie),tabIndex:-1,"aria-disabled":Ge(h),"data-focused":Ue(H),style:HI({},e.style,fe)})}),[R,h,H,fe,le]),Ee=(0,U.useCallback)((function(e,t){return void 0===e&&(e={}),void 0===t&&(t=null),HI({},e,{ref:si(t,oe),id:le.track,"data-disabled":Ue(h),style:HI({},e.style,ve)})}),[h,ve,le]),ke=(0,U.useCallback)((function(e,t){return void 0===e&&(e={}),void 0===t&&(t=null),HI({},e,{ref:t,id:le.innerTrack,style:HI({},e.style,ge)})}),[ge,le]),we=(0,U.useCallback)((function(e,t){var r;void 0===t&&(t=null);var n=e.index,a=jI(e,qI),o=Y[n];if(null==o)throw new TypeError("[range-slider > thumb] Cannot find value at index `"+n+"`. The `value` or `defaultValue` length is : "+Y.length);var i=Q[n];return HI({},a,{ref:t,role:"slider",tabIndex:q?0:void 0,id:le.getThumb(n),"data-active":Ue(N&&Z===n),"aria-valuetext":null!=(r=null==O?void 0:O(o))?r:null==k?void 0:k[n],"aria-valuemin":i.min,"aria-valuemax":i.max,"aria-valuenow":o,"aria-orientation":p,"aria-disabled":Ge(h),"aria-readonly":Ge(f),"aria-label":null==w?void 0:w[n],"aria-labelledby":null!=w&&w[n]||null==x?void 0:x[n],style:HI({},e.style,he(n)),onKeyDown:ot(e.onKeyDown,pe),onFocus:ot(e.onFocus,(function(){j.on(),$(n)})),onBlur:ot(e.onBlur,(function(){j.off(),$(-1)}))})}),[le,Y,Q,q,N,Z,O,k,p,h,f,w,x,he,pe,j]),xe=(0,U.useCallback)((function(e,t){return void 0===e&&(e={}),void 0===t&&(t=null),HI({},e,{ref:t,id:le.output,htmlFor:Y.map((function(e,t){return le.getThumb(t)})).join(" "),"aria-live":"off"})}),[le,Y]),_e=(0,U.useCallback)((function(e,t){void 0===e&&(e={}),void 0===t&&(t=null);var n=e,o=n.value,i=jI(n,KI),l=!(o<r||o>a),s=o>=Y[0]&&o<=Y[Y.length-1],c=kt(o,r,a),u=HI({position:"absolute",pointerEvents:"none"},WI({orientation:p,vertical:{bottom:(c=I?100-c:c)+"%"},horizontal:{left:c+"%"}}));return HI({},i,{ref:t,id:le.getMarker(e.value),role:"presentation","aria-hidden":!0,"data-disabled":Ue(h),"data-invalid":Ue(!l),"data-highlighted":Ue(s),style:HI({},e.style,u)})}),[h,I,a,r,p,Y,le]),Pe=(0,U.useCallback)((function(e,t){void 0===t&&(t=null);var r=e.index;return HI({},jI(e,YI),{ref:t,id:le.getInput(r),type:"hidden",value:Y[r],name:Array.isArray(_)?_[r]:_+"-"+r})}),[_,Y,le]);return{state:{value:Y,isFocused:H,isDragging:N,getThumbPercent:function(e){return ee[e]},getThumbMinValue:function(e){return Q[e].min},getThumbMaxValue:function(e){return Q[e].max}},actions:de,getRootProps:ye,getTrackProps:Ee,getInnerTrackProps:ke,getThumbProps:we,getMarkerProps:_e,getInputProps:Pe,getOutputProps:xe}}(n),i=o.getRootProps,l=jI(o,QI),s=U.useMemo((function(){return HI({},l,{name:e.name})}),[l,e.name]);return U.createElement(eL,{value:s},U.createElement(xi,{value:r},U.createElement(Ni.div,HI({},i({},t),{className:"chakra-slider",__css:r.container}),e.children)))})));tL.defaultProps={orientation:"horizontal"};var rL=["min","max","onChange","value","defaultValue","isReversed","direction","orientation","id","isDisabled","isReadOnly","onChangeStart","onChangeEnd","step","getAriaValueText","aria-valuetext","aria-label","aria-labelledby","name","focusThumbOnChange"];function nL(e,t){return t<e?e:e+(t-e)/2}var aL=["getInputProps","getRootProps"],oL=ci({name:"SliderContext",errorMessage:"useSliderContext: `context` is undefined. Seems you forgot to wrap all slider components within <Slider />"}),iL=oL[0],lL=oL[1],sL=Li((function(e,t){var r=Vi("Slider",e),n=Ci(e),a=ki().direction;n.direction=a;var o=function(e){var t,r,n,a,o,i,l,s=e.min,c=void 0===s?0:s,u=e.max,d=void 0===u?100:u,p=e.onChange,m=e.value,h=e.defaultValue,f=e.isReversed,v=e.direction,g=void 0===v?"ltr":v,b=e.orientation,y=void 0===b?"horizontal":b,E=e.id,k=e.isDisabled,w=e.isReadOnly,x=e.onChangeStart,_=e.onChangeEnd,P=e.step,C=void 0===P?1:P,A=e.getAriaValueText,S=e["aria-valuetext"],R=e["aria-label"],M=e["aria-labelledby"],T=e.name,O=e.focusThumbOnChange,I=void 0===O||O,L=jI(e,rL),D=Yt(x),B=Yt(_),V=Yt(A),N=UI({isReversed:f,direction:g,orientation:y}),z=sr({value:m,defaultValue:null!=h?h:nL(c,d),onChange:p}),F=z[0],H=z[1],j=or(),W=j[0],Z=j[1],$=or(),G=$[0],q=$[1],K=(0,U.useRef)(null),Y=!(k||w),X=_t(F,c,d),Q=kr(X),J=(0,U.useRef)(Q.current),ee=kt(N?d-X+c:X,c,d),te="vertical"===y,re=(0,U.useRef)(null),ne=(0,U.useRef)(null),ae=(0,U.useRef)(null),oe=fr(E,"slider-thumb","slider-track"),ie=oe[0],le=oe[1],se=(0,U.useCallback)((function(e){var t,r;if(re.current){K.current="pointer";var n=ar(re.current).borderBox,a=null!=(t=null==(r=e.touches)?void 0:r[0])?t:e,o=a.clientX,i=a.clientY,l=(te?n.bottom-i:o-n.left)/(te?n.height:n.width);N&&(l=1-l);var s=wt(l,c,d);return C&&(s=parseFloat(xt(s,c,C))),_t(s,c,d)}}),[te,N,d,c,C]),ce=(d-c)/10,ue=C||(d-c)/100,de=(0,U.useCallback)((function(e){Y&&(e=_t(e=parseFloat(xt(e,c,ue)),c,d),H(e))}),[ue,d,c,H,Y]),pe=(0,U.useMemo)((function(){return{stepUp:function(e){void 0===e&&(e=ue),de(N?X-e:X+e)},stepDown:function(e){void 0===e&&(e=ue),de(N?X+e:X-e)},reset:function(){return de(h||0)},stepTo:function(e){return de(e)}}}),[de,N,X,ue,h]),me=(0,U.useCallback)((function(e){var t={ArrowRight:function(){return pe.stepUp()},ArrowUp:function(){return pe.stepUp()},ArrowLeft:function(){return pe.stepDown()},ArrowDown:function(){return pe.stepDown()},PageUp:function(){return pe.stepUp(ce)},PageDown:function(){return pe.stepDown(ce)},Home:function(){return de(c)},End:function(){return de(d)}}[Ke(e)];t&&(e.preventDefault(),e.stopPropagation(),t(e),K.current="keyboard")}),[pe,de,d,c,ce]),he=null!=(t=null==V?void 0:V(X))?t:S,fe=(r=ne,o=(a=U.useState(null))[0],i=a[1],l=U.useRef(),Kt((function(){if(r.current){var e=r.current;return t(),function(){l.current&&cancelAnimationFrame(l.current)}}function t(){l.current=requestAnimationFrame((function(){var t=ar(e);i(t)}))}}),[n]),o),ve=(0,U.useMemo)((function(){var e,t=null!=(e=null==fe?void 0:fe.borderBox)?e:{width:0,height:0};return $I({isReversed:N,orientation:y,thumbRects:[t],thumbPercents:[ee]})}),[N,y,null==fe?void 0:fe.borderBox,ee]),ge=ve.getThumbStyle,be=ve.rootStyle,ye=ve.trackStyle,Ee=ve.innerTrackStyle,ke=(0,U.useCallback)((function(){ne.current&&I&&setTimeout((function(){return mt(ne.current)}))}),[I]);gr((function(){ke(),"keyboard"===K.current&&(null==B||B(Q.current))}),[X,B]);var we=function(e){var t=se(e);null!=t&&t!==Q.current&&H(t)};Pr(ae,{onPanSessionStart:function(e){Y&&(Z.on(),ke(),we(e),null==D||D(Q.current))},onPanSessionEnd:function(){Y&&(Z.off(),null==B||B(Q.current),J.current=Q.current)},onPan:function(e){Y&&we(e)}});var xe=(0,U.useCallback)((function(e,t){return void 0===e&&(e={}),void 0===t&&(t=null),HI({},e,L,{ref:si(t,ae),tabIndex:-1,"aria-disabled":Ge(k),"data-focused":Ue(G),style:HI({},e.style,be)})}),[L,k,G,be]),_e=(0,U.useCallback)((function(e,t){return void 0===e&&(e={}),void 0===t&&(t=null),HI({},e,{ref:si(t,re),id:le,"data-disabled":Ue(k),style:HI({},e.style,ye)})}),[k,le,ye]),Pe=(0,U.useCallback)((function(e,t){return void 0===e&&(e={}),void 0===t&&(t=null),HI({},e,{ref:t,style:HI({},e.style,Ee)})}),[Ee]),Ce=(0,U.useCallback)((function(e,t){return void 0===e&&(e={}),void 0===t&&(t=null),HI({},e,{ref:si(t,ne),role:"slider",tabIndex:Y?0:void 0,id:ie,"data-active":Ue(W),"aria-valuetext":he,"aria-valuemin":c,"aria-valuemax":d,"aria-valuenow":X,"aria-orientation":y,"aria-disabled":Ge(k),"aria-readonly":Ge(w),"aria-label":R,"aria-labelledby":R?void 0:M,style:HI({},e.style,ge(0)),onKeyDown:ot(e.onKeyDown,me),onFocus:ot(e.onFocus,q.on),onBlur:ot(e.onBlur,q.off)})}),[Y,ie,W,he,c,d,X,y,k,w,R,M,ge,me,q.on,q.off]),Ae=(0,U.useCallback)((function(e,t){void 0===e&&(e={}),void 0===t&&(t=null);var r=!(e.value<c||e.value>d),n=X>=e.value,a=kt(e.value,c,d),o=HI({position:"absolute",pointerEvents:"none"},function(e){return"vertical"===e.orientation?e.vertical:e.horizontal}({orientation:y,vertical:{bottom:N?100-a+"%":a+"%"},horizontal:{left:N?100-a+"%":a+"%"}}));return HI({},e,{ref:t,role:"presentation","aria-hidden":!0,"data-disabled":Ue(k),"data-invalid":Ue(!r),"data-highlighted":Ue(n),style:HI({},e.style,o)})}),[k,N,d,c,y,X]),Se=(0,U.useCallback)((function(e,t){return void 0===e&&(e={}),void 0===t&&(t=null),HI({},e,{ref:t,type:"hidden",value:X,name:T})}),[T,X]);return{state:{value:X,isFocused:G,isDragging:W},actions:pe,getRootProps:xe,getTrackProps:_e,getInnerTrackProps:Pe,getThumbProps:Ce,getMarkerProps:Ae,getInputProps:Se}}(n),i=o.getInputProps,l=o.getRootProps,s=jI(o,aL),c=l(),u=i({},t);return U.createElement(iL,{value:s},U.createElement(xi,{value:r},U.createElement(Ni.div,HI({},c,{className:qe("chakra-slider",e.className),__css:r.container}),e.children,U.createElement("input",u))))}));sL.defaultProps={orientation:"horizontal"};var cL=Li((function(e,t){var r=lL().getThumbProps,n=_i(),a=r(e,t);return U.createElement(Ni.div,HI({},a,{className:qe("chakra-slider__thumb",e.className),__css:n.thumb}))})),uL=Li((function(e,t){var r=lL().getTrackProps,n=_i(),a=r(e,t);return U.createElement(Ni.div,HI({},a,{className:qe("chakra-slider__track",e.className),__css:n.track}))})),dL=Li((function(e,t){var r=lL().getInnerTrackProps,n=_i(),a=r(e,t);return U.createElement(Ni.div,HI({},a,{className:qe("chakra-slider__filled-track",e.className),__css:n.filledTrack}))}));function pL(e){return parseFloat(e.toString().replace(/[^\w.-]+/g,""))}function mL(e,t){return Math.max(Et(t),Et(e))}function hL(e,t,r){var n=pL(e);if(!Number.isNaN(n)){var a=mL(n,t);return yt(n,null!=r?r:a)}}function fL(){return fL=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},fL.apply(this,arguments)}function vL(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 gL(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 bL(e,t,r,n){U.useEffect((function(){if(e.current&&n){var a=je(e.current),o=Array.isArray(t)?t:[t],i=new a.MutationObserver((function(e){for(var t,n=function(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=function(e,t){if(e){if("string"==typeof e)return gL(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)?gL(e,t):void 0}}(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.")}(e);!(t=n()).done;){var a=t.value;"attributes"===a.type&&a.attributeName&&o.includes(a.attributeName)&&r(a)}}));return i.observe(e.current,{attributes:!0,attributeFilter:o}),function(){return i.disconnect()}}}))}var yL=50,EL=300;function kL(e,t){var r=(0,U.useState)(!1),n=r[0],a=r[1],o=(0,U.useState)(null),i=o[0],l=o[1],s=(0,U.useState)(!0),c=s[0],u=s[1],d=(0,U.useRef)(null),p=function(){return clearTimeout(d.current)};!function(r,n){var a=Yt((function(){"increment"===i&&e(),"decrement"===i&&t()}));U.useEffect((function(){var e=null;return null!==n&&(e=window.setInterval((function(){return a()}),n)),function(){e&&window.clearInterval(e)}}),[n,a])}(0,n?yL:null);var m=(0,U.useCallback)((function(){c&&e(),d.current=setTimeout((function(){u(!1),a(!0),l("increment")}),EL)}),[e,c]),h=(0,U.useCallback)((function(){c&&t(),d.current=setTimeout((function(){u(!1),a(!0),l("decrement")}),EL)}),[t,c]),f=(0,U.useCallback)((function(){u(!0),a(!1),p()}),[]);return yr(p),{up:m,down:h,stop:f,isSpinning:n}}var wL=["focusInputOnChange","clampValueOnBlur","keepWithinRange","min","max","step","isReadOnly","isDisabled","isRequired","isInvalid","pattern","inputMode","allowMouseWheel","id","onChange","precision","name","aria-describedby","aria-label","aria-labelledby","onFocus","onBlur","onInvalid","getAriaValueText","isValidCharacter","format","parse"],xL=/^[Ee0-9+\-.]$/;function _L(e){return xL.test(e)}var PL=["htmlProps"],CL=ci({name:"NumberInputContext",errorMessage:"useNumberInputContext: `context` is undefined. Seems you forgot to wrap number-input's components within <NumberInput />"}),AL=CL[0],SL=CL[1],RL=Li((function(e,t){var r=Vi("NumberInput",e),n=function(e){void 0===e&&(e={});var t=e,r=t.focusInputOnChange,n=void 0===r||r,a=t.clampValueOnBlur,o=void 0===a||a,i=t.keepWithinRange,l=void 0===i||i,s=t.min,c=void 0===s?gt:s,u=t.max,d=void 0===u?bt:u,p=t.step,m=void 0===p?1:p,h=t.isReadOnly,f=t.isDisabled,v=t.isRequired,g=t.isInvalid,b=t.pattern,y=void 0===b?"[0-9]*(.[0-9]+)?":b,E=t.inputMode,k=void 0===E?"decimal":E,w=t.allowMouseWheel,x=t.id;t.onChange,t.precision;var _=t.name,P=t["aria-describedby"],C=t["aria-label"],A=t["aria-labelledby"],S=t.onFocus,R=t.onBlur,M=t.onInvalid,T=t.getAriaValueText,O=t.isValidCharacter,I=t.format,L=t.parse,D=vL(t,wL),B=Yt(S),V=Yt(R),N=Yt(M),z=Yt(null!=O?O:_L),F=Yt(T),H=function(e){void 0===e&&(e={});var t=e,r=t.onChange,n=t.precision,a=t.defaultValue,o=t.value,i=t.step,l=void 0===i?1:i,s=t.min,c=void 0===s?gt:s,u=t.max,d=void 0===u?bt:u,p=t.keepWithinRange,m=void 0===p||p,h=Yt(r),f=(0,U.useState)((function(){var e;return null==a?"":null!=(e=hL(a,l,n))?e:""})),v=f[0],g=f[1],b=lr(o,v),y=b[0],E=b[1],k=mL(pL(E),l),w=null!=n?n:k,x=(0,U.useCallback)((function(e){e!==E&&(y||g(e.toString()),null==h||h(e.toString(),pL(e)))}),[h,y,E]),_=(0,U.useCallback)((function(e){var t=e;return m&&(t=_t(t,c,d)),yt(t,w)}),[w,m,d,c]),P=(0,U.useCallback)((function(e){var t;void 0===e&&(e=l),t=""===E?pL(e):pL(E)+e,t=_(t),x(t)}),[_,l,x,E]),C=(0,U.useCallback)((function(e){var t;void 0===e&&(e=l),t=""===E?pL(-e):pL(E)-e,t=_(t),x(t)}),[_,l,x,E]),A=(0,U.useCallback)((function(){var e,t;e=null==a?"":null!=(t=hL(a,l,n))?t:c,x(e)}),[a,n,l,x,c]),S=(0,U.useCallback)((function(e){var t,r=null!=(t=hL(e,l,w))?t:c;x(r)}),[w,l,x,c]),R=pL(E);return{isOutOfRange:R>d||R<c,isAtMax:R===d,isAtMin:R===c,precision:w,value:E,valueAsNumber:R,update:x,reset:A,increment:P,decrement:C,clamp:_,cast:S,setValue:g}}(e),j=H.update,W=H.increment,Z=H.decrement,$=or(),G=$[0],q=$[1],K=!(h||f),Y=U.useRef(null),X=U.useRef(null),Q=U.useRef(null),J=U.useRef(null),ee=U.useCallback((function(e){return e.split("").filter(z).join("")}),[z]),te=U.useCallback((function(e){var t;return null!=(t=null==L?void 0:L(e))?t:e}),[L]),re=U.useCallback((function(e){var t;return(null!=(t=null==I?void 0:I(e))?t:e).toString()}),[I]);gr((function(){(H.valueAsNumber>d||H.valueAsNumber<c)&&(null==N||N("rangeOverflow",re(H.value),H.valueAsNumber))}),[H.valueAsNumber,H.value,re,N]),Kt((function(){if(Y.current&&Y.current.value!=H.value){var e=te(Y.current.value);H.setValue(ee(e))}}),[te,ee]);var ne=U.useCallback((function(e){void 0===e&&(e=m),K&&W(e)}),[W,K,m]),ae=U.useCallback((function(e){void 0===e&&(e=m),K&&Z(e)}),[Z,K,m]),oe=kL(ne,ae);bL(Q,"disabled",oe.stop,oe.isSpinning),bL(J,"disabled",oe.stop,oe.isSpinning);var ie=U.useCallback((function(e){if(!e.nativeEvent.isComposing){var t=te(e.currentTarget.value);j(ee(t)),X.current={start:e.currentTarget.selectionStart,end:e.currentTarget.selectionEnd}}}),[j,ee,te]),le=U.useCallback((function(e){var t,r,n;null==B||B(e),X.current&&(e.target.selectionStart=null!=(t=X.current.start)?t:null==(r=e.currentTarget.value)?void 0:r.length,e.currentTarget.selectionEnd=null!=(n=X.current.end)?n:e.currentTarget.selectionStart)}),[B]),se=U.useCallback((function(e){if(!e.nativeEvent.isComposing){(function(e,t){if(null==e.key)return!0;var r=e.ctrlKey||e.altKey||e.metaKey;return!(1===e.key.length&&!r)||t(e.key)})(e,z)||e.preventDefault();var t=ce(e)*m,r={ArrowUp:function(){return ne(t)},ArrowDown:function(){return ae(t)},Home:function(){return j(c)},End:function(){return j(d)}}[Ke(e)];r&&(e.preventDefault(),r(e))}}),[z,m,ne,ae,j,c,d]),ce=function(e){var t=1;return(e.metaKey||e.ctrlKey)&&(t=.1),e.shiftKey&&(t=10),t},ue=U.useMemo((function(){var e=null==F?void 0:F(H.value);return we(e)?H.value.toString()||void 0:e}),[H.value,F]),de=U.useCallback((function(){var e=H.value;""!==e&&(H.valueAsNumber<c&&(e=c),H.valueAsNumber>d&&(e=d),H.cast(e))}),[H,d,c]),pe=U.useCallback((function(){q.off(),o&&de()}),[o,q,de]),me=U.useCallback((function(){n&&mt(Y.current,{nextTick:!0})}),[n]),he=U.useCallback((function(e){e.preventDefault(),oe.up(),me()}),[me,oe]),fe=U.useCallback((function(e){e.preventDefault(),oe.down(),me()}),[me,oe]);Xt("wheel",(function(e){var t=We(Y.current).activeElement===Y.current;if(w&&t){e.preventDefault();var r=ce(e)*m,n=Math.sign(e.deltaY);-1===n?ne(r):1===n&&ae(r)}}),Y.current,{passive:!1});var ve=U.useCallback((function(e,t){void 0===e&&(e={}),void 0===t&&(t=null);var r=f||l&&H.isAtMax;return fL({},e,{ref:si(t,Q),role:"button",tabIndex:-1,onPointerDown:ot(e.onPointerDown,(function(e){r||he(e)})),onPointerLeave:ot(e.onPointerLeave,oe.stop),onPointerUp:ot(e.onPointerUp,oe.stop),disabled:r,"aria-disabled":Ge(r)})}),[H.isAtMax,l,he,oe.stop,f]),ge=U.useCallback((function(e,t){void 0===e&&(e={}),void 0===t&&(t=null);var r=f||l&&H.isAtMin;return fL({},e,{ref:si(t,J),role:"button",tabIndex:-1,onPointerDown:ot(e.onPointerDown,(function(e){r||fe(e)})),onPointerLeave:ot(e.onPointerLeave,oe.stop),onPointerUp:ot(e.onPointerUp,oe.stop),disabled:r,"aria-disabled":Ge(r)})}),[H.isAtMin,l,fe,oe.stop,f]),be=U.useCallback((function(e,t){var r,n,a,o;return void 0===e&&(e={}),void 0===t&&(t=null),fL({name:_,inputMode:k,type:"text",pattern:y,"aria-labelledby":A,"aria-label":C,"aria-describedby":P,id:x,disabled:f},e,{readOnly:null!=(r=e.readOnly)?r:h,"aria-readonly":null!=(n=e.readOnly)?n:h,"aria-required":null!=(a=e.required)?a:v,required:null!=(o=e.required)?o:v,ref:si(Y,t),value:re(H.value),role:"spinbutton","aria-valuemin":c,"aria-valuemax":d,"aria-valuenow":Number.isNaN(H.valueAsNumber)?void 0:H.valueAsNumber,"aria-invalid":Ge(null!=g?g:H.isOutOfRange),"aria-valuetext":ue,autoComplete:"off",autoCorrect:"off",onChange:ot(e.onChange,ie),onKeyDown:ot(e.onKeyDown,se),onFocus:ot(e.onFocus,le,q.on),onBlur:ot(e.onBlur,V,pe)})}),[_,k,y,A,C,re,P,x,f,v,h,g,H.value,H.valueAsNumber,H.isOutOfRange,c,d,ue,ie,se,le,q.on,V,pe]);return{value:re(H.value),valueAsNumber:H.valueAsNumber,isFocused:G,isDisabled:f,isReadOnly:h,getIncrementButtonProps:ve,getDecrementButtonProps:ge,getInputProps:be,htmlProps:D}}(ds(Ci(e))),a=n.htmlProps,o=vL(n,PL),i=U.useMemo((function(){return o}),[o]);return U.createElement(AL,{value:i},U.createElement(xi,{value:r},U.createElement(Ni.div,fL({},a,{ref:t,className:qe("chakra-numberinput",e.className),__css:fL({position:"relative",zIndex:0},r.root)}))))})),ML=Li((function(e,t){var r=(0,SL().getInputProps)(e,t),n=_i();return U.createElement(Ni.input,fL({},r,{className:qe("chakra-numberinput__field",e.className),__css:fL({width:"100%"},n.field)}))}));Ni("div",{baseStyle:{display:"flex",justifyContent:"center",alignItems:"center",flex:1,transitionProperty:"common",transitionDuration:"normal",userSelect:"none",cursor:"pointer",lineHeight:"normal"}});const TL={desktop:RT,tablet:MT,mobile:TT},OL=({buttonGroupProps:e})=>{const{device:t,setDevice:r}=ME(),{isOpen:n,onClose:a,onOpen:o}=vr(),i=G().useRef(null);return xr({ref:i,handler:a}),G().createElement(Rl,{h:"6",w:"6",ref:i},G().createElement(Sb,(0,Co.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=TL[e];return G().createElement(gb,{label:i,placement:"right",key:e},G().createElement(Vb,{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 IL(){return IL=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},IL.apply(this,arguments)}function LL(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}var DL=["id","closeOnSelect","closeOnBlur","autoSelect","isLazy","isOpen","defaultIsOpen","onClose","onOpen","placement","lazyBehavior","direction","computePositionOnMount"],BL=["onMouseEnter","onMouseMove","onMouseLeave","onClick","isDisabled","isFocusable","closeOnSelect","type"],VL=["type","isChecked"],NL=Qi(),zL=NL[0],FL=NL[1],HL=NL[2],jL=NL[3],WL=ci({strict:!1,name:"MenuContext"}),ZL=WL[0],$L=WL[1];function UL(e){var t;return He(e)&&!(null==(t=e.getAttribute("role"))||!t.startsWith("menuitem"))}function GL(e,t){void 0===e&&(e={}),void 0===t&&(t=null);var r=e,n=r.onMouseEnter,a=r.onMouseMove,o=r.onMouseLeave,i=r.onClick,l=r.isDisabled,s=r.isFocusable,c=r.closeOnSelect,u=r.type,d=LL(r,BL),p=$L(),m=p.setFocusedIndex,h=p.focusedIndex,f=p.closeOnSelect,v=p.onClose,g=p.menuRef,b=p.isOpen,y=p.menuId,E=U.useRef(null),k=y+"-menuitem-"+hr(),w=jL({disabled:l&&!s}),x=w.index,_=w.register,P=U.useCallback((function(e){null==n||n(e),l||m(x)}),[m,x,l,n]),C=U.useCallback((function(e){null==a||a(e),E.current&&!Je(E.current)&&P(e)}),[P,a]),A=U.useCallback((function(e){null==o||o(e),l||m(-1)}),[m,l,o]),S=U.useCallback((function(e){null==i||i(e),UL(e.currentTarget)&&(null!=c?c:f)&&v()}),[v,i,f,c]),R=x===h,M=l&&!s;gr((function(){b&&(R&&!M&&E.current?mt(E.current,{nextTick:!0,selectTextIfInput:!1,preventScroll:!1}):g.current&&!Je(g.current)&&mt(g.current,{preventScroll:!1}))}),[R,M,g,b]);var T=ji({onClick:S,onMouseEnter:P,onMouseMove:C,onMouseLeave:A,ref:si(_,E,t),isDisabled:l,isFocusable:s});return IL({},d,T,{type:null!=u?u:T.type,id:k,role:"menuitem",tabIndex:R?0:-1})}var qL=["descendants"],KL=["children","as"],YL=["rootProps"],XL=["type"],QL=["icon","iconSpacing","command","commandSpacing","children"],JL=["icon","iconSpacing"],eD=["className","children"],tD=function(e){var t=e.children,r=Vi("Menu",e),n=function(e){void 0===e&&(e={});var t=e,r=t.id,n=t.closeOnSelect,a=void 0===n||n,o=t.closeOnBlur,i=void 0===o||o,l=t.autoSelect,s=void 0===l||l,c=t.isLazy,u=t.isOpen,d=t.defaultIsOpen,p=t.onClose,m=t.onOpen,h=t.placement,f=void 0===h?"bottom-start":h,v=t.lazyBehavior,g=void 0===v?"unmount":v,b=t.direction,y=t.computePositionOnMount,E=void 0!==y&&y,k=LL(t,DL),w=U.useRef(null),x=U.useRef(null),_=HL(),P=U.useCallback((function(){mt(w.current,{nextTick:!0,selectTextIfInput:!1})}),[]),C=U.useCallback((function(){var e=setTimeout((function(){var e=_.firstEnabled();e&&B(e.index)}));j.current.add(e)}),[_]),A=U.useCallback((function(){var e=setTimeout((function(){var e=_.lastEnabled();e&&B(e.index)}));j.current.add(e)}),[_]),S=vr({isOpen:u,defaultIsOpen:d,onClose:p,onOpen:U.useCallback((function(){null==m||m(),s?C():P()}),[s,C,P,m])}),R=S.isOpen,M=S.onOpen,T=S.onClose,O=S.onToggle;xr({enabled:R&&i,ref:w,handler:function(e){var t;null!=(t=x.current)&&t.contains(e.target)||T()}});var I=ou(IL({},k,{enabled:R||E,placement:f,direction:b})),L=U.useState(-1),D=L[0],B=L[1];gr((function(){R||B(-1)}),[R]),br(w,{focusRef:x,visible:R,shouldFocus:!0});var V=function(e){var t=e.isOpen,r=e.ref,n=(0,U.useState)(t),a=n[0],o=n[1],i=(0,U.useState)(!1),l=i[0],s=i[1];return(0,U.useEffect)((function(){l||(o(t),s(!0))}),[t,l,a]),Xt("animationend",(function(){o(t)}),(function(){return r.current})),{present:!(!t&&!a),onComplete:function(){var e,t=new(je(r.current).CustomEvent)("animationend",{bubbles:!0});null==(e=r.current)||e.dispatchEvent(t)}}}({isOpen:R,ref:w}),N=fr(r,"menu-button","menu-list"),z=N[0],F=N[1],H=U.useCallback((function(){M(),P()}),[M,P]),j=U.useRef(new Set([]));yr((function(){j.current.forEach((function(e){return clearTimeout(e)})),j.current.clear()}));var W=U.useCallback((function(){M(),C()}),[C,M]),Z=U.useCallback((function(){M(),A()}),[M,A]),$=U.useCallback((function(){var e,t,r=We(w.current),n=null==(e=w.current)?void 0:e.contains(r.activeElement);if(R&&!n){var a=null==(t=_.item(D))?void 0:t.node;a&&mt(a,{selectTextIfInput:!1,preventScroll:!1})}}),[R,D,_]);return{openAndFocusMenu:H,openAndFocusFirstItem:W,openAndFocusLastItem:Z,onTransitionEnd:$,unstable__animationState:V,descendants:_,popper:I,buttonId:z,menuId:F,forceUpdate:I.forceUpdate,orientation:"vertical",isOpen:R,onToggle:O,onOpen:M,onClose:T,menuRef:w,buttonRef:x,focusedIndex:D,closeOnSelect:a,closeOnBlur:i,autoSelect:s,setFocusedIndex:B,isLazy:c,lazyBehavior:g}}(IL({},Ci(e),{direction:ki().direction})),a=n.descendants,o=LL(n,qL),i=U.useMemo((function(){return o}),[o]),l=i.isOpen,s=i.onClose,c=i.forceUpdate;return U.createElement(zL,{value:a},U.createElement(ZL,{value:i},U.createElement(xi,{value:r},at(t,{isOpen:l,onClose:s,forceUpdate:c}))))},rD=Li((function(e,t){var r=_i();return U.createElement(Ni.button,IL({ref:t},e,{__css:IL({display:"inline-flex",appearance:"none",alignItems:"center",outline:0},r.button)}))})),nD=Li((function(e,t){e.children;var r=e.as,n=function(e,t){void 0===e&&(e={}),void 0===t&&(t=null);var r=$L(),n=r.onToggle,a=r.popper,o=r.openAndFocusFirstItem,i=r.openAndFocusLastItem,l=U.useCallback((function(e){var t=Ke(e),r={Enter:o,ArrowDown:o,ArrowUp:i}[t];r&&(e.preventDefault(),e.stopPropagation(),r(e))}),[o,i]);return IL({},e,{ref:si(r.buttonRef,t,a.referenceRef),id:r.buttonId,"data-active":Ue(r.isOpen),"aria-expanded":r.isOpen,"aria-haspopup":"menu","aria-controls":r.menuId,onClick:ot(e.onClick,n),onKeyDown:ot(e.onKeyDown,l)})}(LL(e,KL),t),a=r||rD;return U.createElement(a,IL({},n,{className:qe("chakra-menu__menu-button",e.className)}),U.createElement(Ni.span,{__css:{pointerEvents:"none",flex:"1 1 auto",minW:0}},e.children))})),aD={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"}}},oD=function(e){var t=ob;return"custom"in t&&"function"==typeof t.custom?t.custom(e):t(e)}(Ni.div),iD=Li((function(e,t){var r,n,a=e.rootProps,o=LL(e,YL),i=$L(),l=i.isOpen,s=i.onTransitionEnd,c=i.unstable__animationState,u=function(e,t){void 0===e&&(e={}),void 0===t&&(t=null);var r=$L();if(!r)throw new Error("useMenuContext: context is undefined. Seems you forgot to wrap component within <Menu>");var n=r.focusedIndex,a=r.setFocusedIndex,o=r.menuRef,i=r.isOpen,l=r.onClose,s=r.menuId,c=r.isLazy,u=r.lazyBehavior,d=r.unstable__animationState,p=FL(),m=function(e){void 0===e&&(e={});var t=e,r=t.timeout,n=void 0===r?300:r,a=t.preventDefault,o=void 0===a?function(){return!0}:a,i=U.useState([]),l=i[0],s=i[1],c=U.useRef(),u=function(){c.current&&(clearTimeout(c.current),c.current=null)};return U.useEffect((function(){return u}),[]),function(e){return function(t){if("Backspace"===t.key){var r=[].concat(l);return r.pop(),void s(r)}if(function(e){var t=e.key;return 1===t.length||t.length>1&&/[^a-zA-Z0-9]/.test(t)}(t)){var a=l.concat(t.key);o(t)&&(t.preventDefault(),t.stopPropagation()),s(a),e(a.join("")),u(),c.current=setTimeout((function(){s([]),c.current=null}),n)}}}}({preventDefault:function(e){return" "!==e.key&&UL(e.target)}}),h=U.useCallback((function(e){var t=Ke(e),r={Tab:function(e){return e.preventDefault()},Escape:l,ArrowDown:function(){var e=p.nextEnabled(n);e&&a(e.index)},ArrowUp:function(){var e=p.prevEnabled(n);e&&a(e.index)}},o=r[t];if(o)return e.preventDefault(),void o(e);var i=m((function(e){var t=function(e,t,r,n){if(null==t)return n;if(!n)return e.find((function(e){return r(e).toLowerCase().startsWith(t.toLowerCase())}));var a,o=e.filter((function(e){return r(e).toLowerCase().startsWith(t.toLowerCase())}));return o.length>0?o.includes(n)?((a=o.indexOf(n)+1)===o.length&&(a=0),o[a]):(a=e.indexOf(o[0]),e[a]):n}(p.values(),e,(function(e){var t,r;return null!=(t=null==e||null==(r=e.node)?void 0:r.textContent)?t:""}),p.item(n));if(t){var r=p.indexOf(t.node);a(r)}}));UL(e.target)&&i(e)}),[p,n,m,l,a]),f=U.useRef(!1);i&&(f.current=!0);var v=vt({hasBeenSelected:f.current,isLazy:c,lazyBehavior:u,isSelected:d.present});return IL({},e,{ref:si(o,t),children:v?e.children:null,tabIndex:-1,role:"menu",id:s,style:IL({},e.style,{transformOrigin:"var(--popper-transform-origin)"}),"aria-orientation":"vertical",onKeyDown:ot(e.onKeyDown,h)})}(o,t),d=function(e){void 0===e&&(e={});var t=$L(),r=t.popper,n=t.isOpen;return r.getPopperProps(IL({},e,{style:IL({visibility:n?"visible":"hidden"},e.style)}))}(a),p=_i();return U.createElement(Ni.div,IL({},d,{__css:{zIndex:null!=(r=e.zIndex)?r:null==(n=p.list)?void 0:n.zIndex}}),U.createElement(oD,IL({},u,{onUpdate:s,onAnimationComplete:it(c.onComplete,u.onAnimationComplete),className:qe("chakra-menu__menu-list",u.className),variants:aD,initial:!1,animate:l?"enter":"exit",__css:IL({outline:0},p.list)})))})),lD=Li((function(e,t){var r=e.type,n=LL(e,XL),a=_i(),o=n.as||r?null!=r?r:void 0:"button",i=U.useMemo((function(){return IL({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 U.createElement(Ni.button,IL({ref:t,type:o},n,{__css:i}))})),sD=Li((function(e,t){var r=e.icon,n=e.iconSpacing,a=void 0===n?"0.75rem":n,o=e.command,i=e.commandSpacing,l=void 0===i?"0.75rem":i,s=e.children,c=GL(LL(e,QL),t),u=r||o?U.createElement("span",{style:{pointerEvents:"none",flex:1}},s):s;return U.createElement(lD,IL({},c,{className:qe("chakra-menu__menuitem",c.className)}),r&&U.createElement(pD,{fontSize:"0.8em",marginEnd:a},r),u,o&&U.createElement(dD,{marginStart:l},o))})),cD=function(e){return U.createElement("svg",IL({viewBox:"0 0 14 14",width:"1em",height:"1em"},e),U.createElement("polygon",{fill:"currentColor",points:"5.5 11.9993304 14 3.49933039 12.5 2 5.5 8.99933039 1.5 4.9968652 0 6.49933039"}))},uD=Li((function(e,t){var r=e.icon,n=e.iconSpacing,a=void 0===n?"0.75rem":n,o=LL(e,JL),i=function(e,t){void 0===e&&(e={}),void 0===t&&(t=null);var r=e,n=r.type,a=void 0===n?"radio":n,o=r.isChecked;return IL({},GL(LL(r,VL),t),{role:"menuitem"+a,"aria-checked":o})}(o,t);return U.createElement(lD,IL({},i,{className:qe("chakra-menu__menuitem-option",o.className)}),null!==r&&U.createElement(pD,{fontSize:"0.8em",marginEnd:a,opacity:e.isChecked?1:0},r||U.createElement(cD,null)),U.createElement("span",{style:{flex:1}},i.children))}));uD.id="MenuItemOption";var dD=Li((function(e,t){var r=_i();return U.createElement(Ni.span,IL({ref:t},e,{__css:r.command,className:"chakra-menu__command"}))})),pD=function(e){var t=e.className,r=e.children,n=LL(e,eD),a=U.Children.only(r),o=U.isValidElement(a)?U.cloneElement(a,{focusable:"false","aria-hidden":!0,className:qe("chakra-menu__icon",a.props.className)}):null,i=qe("chakra-menu__icon-wrapper",t);return U.createElement(Ni.span,IL({className:i},n,{__css:{flexShrink:0}}),o)};const mD=e=>{const{onChange:t,units:r,currentUnit:n}=e;return G().createElement(tD,{gutter:0,matchWidth:!0},G().createElement(nD,{as:Lb,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(ku,null,G().createElement(iD,{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(sD,{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))))))},hD="px",fD={min:0,max:100,step:1},vD={min:0,max:20,step:.01},gD={"%":fD,vh:fD,vw:fD,em:vD,rem:vD,px:{step:1}},bD=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}=ME(),g=G().useCallback((e=>i&&c?e?.[f]?.value:i&&!c?e?.[f]:!i&&c?e?.value:e),[f,i,c]),b=e=>{if(!i&&!c)return e;let t=o?tE(o):{};return i&&c?(Qy(t,`${f}.value`,e),!o?.[f]?.unit&&Qy(t,[f,"unit"],null!=m?m:hD)):!i&&c?(Qy(t,"value",e),!o?.unit&&Qy(t,"unit",null!=m?m:hD)):i&&!c&&Qy(t,`${f}`,e),t},[y,E]=G().useState(g(o)),k=wE(s);G().useEffect((()=>{E(g(o))}),[o]);const w=c&&null!==(t=null!==(r=i?o?.[f]?.unit:o?.unit)&&void 0!==r?r:m)&&void 0!==t?t:hD,x=null!==(n=gD[w])&&void 0!==n?n:{};c||delete x?.step;const _={min:u,max:d,step:p,...x};G().useEffect((()=>{E(g(o))}),[f]);const P=e.hiddenLabel?xu:ms;return G().createElement(ls,null,G().createElement(Yl,{justify:"space-between",mb:"2"},G().createElement(Yl,null,G().createElement(P,null,a),i&&G().createElement(OL,{device:f,setDevice:v})),G().createElement(Yl,null,l&&G().createElement(FI,{saved:o,resetKey:l,onReset:e=>{s(e),E(g(e))}}))),G().createElement(Yl,{gap:4},G().createElement(sL,(0,Co.A)({focusThumbOnChange:!1,value:y},_,{onChange:e=>{E(e),k(b(e))}}),G().createElement(uL,{bg:"#E0E0E0"},G().createElement(dL,{bgColor:"primary.500"})),G().createElement(cL,{bgColor:"primary.500"})),G().createElement(TS,{isolation:"auto",border:"1px",borderColor:"gray.200",borderRadius:"sm",maxW:"90px",px:"4px"},G().createElement(RL,(0,Co.A)({},_,{value:y,onChange:(e,t)=>{const r=isNaN(t)?void 0:t;E(r),k(b(r))},flex:"1"}),G().createElement(ML,{fontSize:"xs",border:"none !important",_focus:{boxShadow:"none !important"}})),c?G().createElement(RS,{p:"0",bg:"white",borderRadius:"0",border:"0"},G().createElement(mD,{units:c,currentUnit:w,onChange:e=>{let t=o?tE(o):{};i&&c?(t=Qy(t,[f,"unit"],e),s(t)):!i&&c&&(t=Qy(t,"unit",e),s(t))}})):h?G().createElement(RS,{p:"0",px:"1",fontSize:"xs",bg:"white",borderRadius:"0",border:"0"},null!=m?m:hD):null)))},yD={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})},ED=e=>{var t,r,n,a,o;const{value:i,onChange:l,resetAttributeKey:s}=e,c=$y.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"},...$y.configs.performance["allowed-fonts"]],p=null!==(t=(c?d:$y.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(Rl,{sx:{"> *:not(:last-child)":{mb:4}}},G().createElement(ls,{sx:{".blockart-react-select input":{boxShadow:"none !important"}}},G().createElement(ms,{mb:"2"},(0,K.__)("Font family","blockart")),G().createElement(vT,{className:"blockart-react-select",options:c?d:$y.googleFonts,isSearchable:!0,getOptionLabel:e=>e.family,getOptionValue:e=>e.family,value:(c?d:$y.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:$y.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:yD,components:{DropdownIndicator:e=>G().createElement(gM.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(Bz,{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(bD,{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(bD,{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(bD,{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(Bz,{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(Bz,{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(Bz,{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"}]}))},kD=e=>{const{styles:t}=IN();return G().createElement(Iz,{label:(0,K.__)("Typography","blockart"),closeOnFocusOutside:!0,popoverDivProps:{sx:{".components-popover__content":{minW:"280px"}}},trigger:e.value?._className?e=>G().createElement(Rl,{position:"relative"},G().createElement(Iz.Trigger,e),G().createElement(NT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-5px",bg:"white",borderRadius:"full"})):void 0},G().createElement(vl,{defaultIndex:e.value?._className?1:void 0},G().createElement(bl,{position:"relative"},G().createElement(gl,{fontSize:"xs"},(0,K.__)("Default","blockart")),G().createElement(gl,{fontSize:"xs"},(0,K.__)("Global","blockart")),e.resetAttributeKey&&G().createElement(FI,{saved:e.value,resetKey:e.resetAttributeKey,onReset:t=>{e.onChange(t)},buttonProps:{position:"absolute",right:"10px",top:"50%",transform:"translateY(-50%)"}})),G().createElement(El,null,G().createElement(yl,null,G().createElement(ED,e)),G().createElement(yl,null,G().createElement(jl,null,t.typographies.map((t=>G().createElement(Wl,{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))))))))},wD=()=>{const{styles:e,updateStyleByKey:t,removeStyleByKey:r}=IN(),[n,a]=G().useState(""),{isOpen:o,onOpen:i,onClose:l}=vr(),s=G().useRef(null);return G().createElement(fE.Panel,null,G().createElement(Rl,{as:fE.PanelBody,initialOpen:!1,title:(0,K.__)("Typography"),mb:"1px"},G().createElement(jl,null,e.typographies.filter((e=>WS.includes(e.id))).map((e=>G().createElement(Wl,{key:e.id,sx:{".chakra-form-control":{py:"12px"}},mb:"0"},G().createElement(Iz,{label:e.name,closeOnFocusOutside:!0,popoverDivProps:{sx:{".components-popover__content":{minW:"254px",p:4}}},popoverProps:{offset:16}},G().createElement(ED,{value:e.value,onChange:r=>{t("typographies",{...e,value:r})}}))))),G().createElement(Wl,{display:"flex",alignItems:"center",justifyContent:"space-between",py:"12px",mb:"0"},"Custom Typography"," ",G().createElement(Lb,{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=>!WS.includes(e.id))).map((e=>G().createElement(Wl,{key:e.id,mb:"0",sx:{"> .chakra-form-control":{py:"12px"}}},G().createElement(Iz,{label:()=>G().createElement(zS,{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(Yl,null,G().createElement(Lb,{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(Iz.Trigger,t)),closeOnFocusOutside:!0,popoverDivProps:{sx:{".components-popover__content":{minW:"254px",p:4}}},popoverProps:{offset:16}},G().createElement(ED,{value:e.value,onChange:r=>{t("typographies",{...e,value:r})}}))))))),G().createElement(gS,{isOpen:o,leastDestructiveRef:s,onClose:()=>{l(),a("")}},G().createElement(dS,null,G().createElement(bS,null,G().createElement(pS,{fontSize:"lg",fontWeight:"bold"},(0,K.sprintf)((0,K.__)("Delete typography #%s","blockart"),n)),G().createElement(mS,null,(0,K.__)("Are you sure? You cannot undo this action afterwards.","blockart")),G().createElement(hS,null,G().createElement(Lb,{ref:s,variant:"outline",size:"sm",onClick:()=>{l(),a("")}},(0,K.__)("Cancel","blockart")),G().createElement(Lb,{size:"sm",onClick:()=>{l(),r("typographies",n)},ml:3},(0,K.__)("Delete","blockart")))))))},xD=()=>{const[e,t]=(0,U.useState)(!1),r=G().useRef(null),n=(0,dE.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(uP.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(eP,{theme:pP,cssVarsRoot:".blockart"},G().createElement("div",{className:"blockart"},G().createElement(Rl,{px:"18px",py:"14px"},G().createElement(ls,{display:"flex",justifyContent:"space-between",alignItems:"center",mb:"18px"},G().createElement(ms,{fontSize:"13px",fontWeight:"semibold"},(0,K.__)("Style Preview Guide","blockart")),G().createElement(cP,{isChecked:e,onChange:e=>{t(e.target.checked)}})),G().createElement(Jl,{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(ZS,null),G().createElement(wD,null),e&&r.current&&G().createElement(ku,{containerRef:r},G().createElement($S,null)))))},_D=window.wp.domReady;var PD=r.n(_D);const CD={section:{label:(0,K.__)("Section","blockart"),icon:bI,blockName:"blockart/section"},heading:{label:(0,K.__)("Heading","blockart"),icon:vI,blockName:"blockart/heading"},paragraph:{label:(0,K.__)("Paragraph","blockart"),icon:OI,blockName:"blockart/paragraph"},button:{label:(0,K.__)("Button","blockart"),icon:hI,blockName:"blockart/button"},image:{label:(0,K.__)("Image","blockart"),icon:fI,blockName:"blockart/image"},spacing:{label:(0,K.__)("Spacing","blockart"),icon:yI,blockName:"blockart/spacing"},socials:{label:(0,K.__)("Social Share","blockart"),icon:kI,blockName:"blockart/socials"},tabs:{label:(0,K.__)("Tabs","blockart"),icon:wI,blockName:"blockart/tabs"},toc:{label:(0,K.__)("Table of Contents","blockart"),icon:CI,blockName:"blockart/toc"},counter:{label:(0,K.__)("Counter","blockart"),icon:RI,blockName:"blockart/counter"},lottie:{label:(0,K.__)("Lottie Animation","blockart"),icon:xI,blockName:"blockart/lottie"},team:{label:(0,K.__)("Team","blockart"),icon:EI,blockName:"blockart/team"},countdown:{label:(0,K.__)("Countdown","blockart"),icon:SI,blockName:"blockart/countdown"},info:{label:(0,K.__)("Info Box","blockart"),icon:AI,blockName:"blockart/info"},blockquote:{label:(0,K.__)("Blockquote","blockart"),icon:mI,blockName:"blockart/blockquote"},timeline:{label:(0,K.__)("Timeline","blockart"),icon:PI,blockName:"blockart/timeline"},notice:{label:(0,K.__)("Notice","blockart"),icon:TI,blockName:"blockart/notice"},progress:{label:(0,K.__)("Progress","blockart"),icon:gI,blockName:"blockart/progress"},"call-to-action":{label:(0,K.__)("Call To Action","blockart"),icon:zI,blockName:"blockart/call-to-action"},slider:{label:(0,K.__)("Slider","blockart"),icon:II,blockName:"blockart/slider"},map:{label:(0,K.__)("Google Maps","blockart"),icon:MI,blockName:"blockart/map"},testimonial:{label:(0,K.__)("Testimonial","blockart"),icon:_I,blockName:"blockart/testimonial"},"icon-list":{label:(0,K.__)("Icon List","blockart"),icon:VI,blockName:"blockart/icon-list"},icon:{label:(0,K.__)("Icon","blockart"),icon:NI,blockName:"blockart/icon"},modal:{label:(0,K.__)("Modal","blockart"),icon:_I,blockName:"blockart/modal"}},AD=e=>{const t=t=>G().createElement(eP,{theme:pP,cssVarsRoot:".blockart"},G().createElement("div",{className:"blockart"},G().createElement(e,t)));return t.displayName="withChakraUIProvider",t};var SD=r(1773);const RD=e=>{const t=t=>G().createElement(SD.QueryClientProvider,{client:new SD.QueryClient({defaultOptions:{queries:{refetchOnWindowFocus:!1,cacheTime:1/0,refetchOnMount:!1,retry:!1}}})},G().createElement(e,t));return t.displayName="withQueryClientProvider",t},MD=window.wp.preferences,TD=["blockart/section","blockart/heading","blockart/paragraph"],OD=(0,dE.createReduxStore)("blockart/preferences",{reducer:(e,t)=>e,actions:{updateInserters:e=>({registry:t})=>{t.dispatch(MD.store).set("blockart/preferences","inserters",e)},updateFavorites:e=>({registry:t})=>{t.dispatch(MD.store).set("blockart/preferences","favorites",e)}},selectors:{getInserters:(0,dE.createRegistrySelector)((e=>()=>{var t;return null!==(t=e(MD.store).get("blockart/preferences","inserters"))&&void 0!==t?t:TD})),getFavorites:(0,dE.createRegistrySelector)((e=>()=>{var t;return null!==(t=e(MD.store).get("blockart/preferences","favorites"))&&void 0!==t?t:[]}))}});function ID(...e){return t=>e.forEach((e=>function(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}(e,t)))}function LD(...e){return U.useCallback(ID(...e),e)}(0,dE.register)(OD);var DD=r(3274),BD=U.forwardRef(((e,t)=>{const{children:r,...n}=e,a=U.Children.toArray(r),o=a.find(zD);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,DD.jsx)(VD,{...n,ref:t,children:U.isValidElement(e)?U.cloneElement(e,void 0,r):null})}return(0,DD.jsx)(VD,{...n,ref:t,children:r})}));BD.displayName="Slot";var VD=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,{...FD(n,r.props),ref:t?ID(t,e):e})}return U.Children.count(r)>1?U.Children.only(null):null}));VD.displayName="SlotClone";var ND=({children:e})=>(0,DD.jsx)(DD.Fragment,{children:e});function zD(e){return U.isValidElement(e)&&e.type===ND}function FD(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 HD=["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?BD:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,DD.jsx)(o,{...a,ref:r})}));return r.displayName=`Primitive.${t}`,{...e,[t]:r}}),{}),jD=Boolean(globalThis?.document)?U.useLayoutEffect:()=>{},WD=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=ZD(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=ZD(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=ZD(n.current).includes(e.animationName);e.target===t&&r&&lu.flushSync((()=>s("ANIMATION_END")))},r=e=>{e.target===t&&(o.current=ZD(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=LD(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 ZD(e){return e?.animationName||"none"}function $D(...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 UD(e){const t=U.useRef(e);return U.useEffect((()=>{t.current=e})),U.useMemo((()=>(...e)=>t.current?.(...e)),[])}WD.displayName="Presence";var GD=U.createContext(void 0);function qD(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}var KD="ScrollArea",[YD,XD]=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,DD.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}\``)}]},$D(n,...t)]}(KD),[QD,JD]=YD(KD),eB=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),[g,b]=U.useState(0),[y,E]=U.useState(0),[k,w]=U.useState(!1),[x,_]=U.useState(!1),P=LD(t,(e=>s(e))),C=function(e){const t=U.useContext(GD);return e||t||"ltr"}(a);return(0,DD.jsx)(QD,{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:b,onCornerHeightChange:E,children:(0,DD.jsx)(HD.div,{dir:C,...i,ref:P,style:{position:"relative","--radix-scroll-area-corner-width":g+"px","--radix-scroll-area-corner-height":y+"px",...e.style}})})}));eB.displayName=KD;var tB="ScrollAreaViewport",rB=U.forwardRef(((e,t)=>{const{__scopeScrollArea:r,children:n,nonce:a,...o}=e,i=JD(tB,r),l=LD(t,U.useRef(null),i.onViewportChange);return(0,DD.jsxs)(DD.Fragment,{children:[(0,DD.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,DD.jsx)(HD.div,{"data-radix-scroll-area-viewport":"",...o,ref:l,style:{overflowX:i.scrollbarXEnabled?"scroll":"hidden",overflowY:i.scrollbarYEnabled?"scroll":"hidden",...e.style},children:(0,DD.jsx)("div",{ref:i.onContentChange,style:{minWidth:"100%",display:"table"},children:n})})]})}));rB.displayName=tB;var nB="ScrollAreaScrollbar",aB=U.forwardRef(((e,t)=>{const{forceMount:r,...n}=e,a=JD(nB,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,DD.jsx)(oB,{...n,ref:t,forceMount:r}):"scroll"===a.type?(0,DD.jsx)(iB,{...n,ref:t,forceMount:r}):"auto"===a.type?(0,DD.jsx)(lB,{...n,ref:t,forceMount:r}):"always"===a.type?(0,DD.jsx)(sB,{...n,ref:t}):null}));aB.displayName=nB;var oB=U.forwardRef(((e,t)=>{const{forceMount:r,...n}=e,a=JD(nB,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,DD.jsx)(WD,{present:r||o,children:(0,DD.jsx)(lB,{"data-state":o?"visible":"hidden",...n,ref:t})})})),iB=U.forwardRef(((e,t)=>{const{forceMount:r,...n}=e,a=JD(nB,e.__scopeScrollArea),o="horizontal"===e.orientation,i=AB((()=>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,DD.jsx)(WD,{present:r||"hidden"!==l,children:(0,DD.jsx)(sB,{"data-state":"hidden"===l?"hidden":"visible",...n,ref:t,onPointerEnter:qD(e.onPointerEnter,(()=>s("POINTER_ENTER"))),onPointerLeave:qD(e.onPointerLeave,(()=>s("POINTER_LEAVE")))})})})),lB=U.forwardRef(((e,t)=>{const r=JD(nB,e.__scopeScrollArea),{forceMount:n,...a}=e,[o,i]=U.useState(!1),l="horizontal"===e.orientation,s=AB((()=>{if(r.viewport){const e=r.viewport.offsetWidth<r.viewport.scrollWidth,t=r.viewport.offsetHeight<r.viewport.scrollHeight;i(l?e:t)}}),10);return SB(r.viewport,s),SB(r.content,s),(0,DD.jsx)(WD,{present:n||o,children:(0,DD.jsx)(sB,{"data-state":o?"visible":"hidden",...a,ref:t})})})),sB=U.forwardRef(((e,t)=>{const{orientation:r="vertical",...n}=e,a=JD(nB,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=kB(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=wB(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 _B([l,s],"ltr"===n?[0,c]:[-1*c,0])(e)}(e,i.current,l,t)}return"horizontal"===r?(0,DD.jsx)(cB,{...u,ref:t,onThumbPositionChange:()=>{if(a.viewport&&o.current){const e=xB(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,DD.jsx)(uB,{...u,ref:t,onThumbPositionChange:()=>{if(a.viewport&&o.current){const e=xB(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})),cB=U.forwardRef(((e,t)=>{const{sizes:r,onSizesChange:n,...a}=e,o=JD(nB,e.__scopeScrollArea),[i,l]=U.useState(),s=U.useRef(null),c=LD(t,s,o.onScrollbarXChange);return U.useEffect((()=>{s.current&&l(getComputedStyle(s.current))}),[s]),(0,DD.jsx)(mB,{"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":wB(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),PB(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:EB(i.paddingLeft),paddingEnd:EB(i.paddingRight)}})}})})),uB=U.forwardRef(((e,t)=>{const{sizes:r,onSizesChange:n,...a}=e,o=JD(nB,e.__scopeScrollArea),[i,l]=U.useState(),s=U.useRef(null),c=LD(t,s,o.onScrollbarYChange);return U.useEffect((()=>{s.current&&l(getComputedStyle(s.current))}),[s]),(0,DD.jsx)(mB,{"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":wB(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),PB(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:EB(i.paddingTop),paddingEnd:EB(i.paddingBottom)}})}})})),[dB,pB]=YD(nB),mB=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=JD(nB,r),[h,f]=U.useState(null),v=LD(t,(e=>f(e))),g=U.useRef(null),b=U.useRef(""),y=m.viewport,E=n.content-n.viewport,k=UD(u),w=UD(s),x=AB(d,10);function _(e){if(g.current){const t=e.clientX-g.current.left,r=e.clientY-g.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]),SB(h,x),SB(m.content,x),(0,DD.jsx)(dB,{scope:r,scrollbar:h,hasThumb:a,onThumbChange:UD(o),onThumbPointerUp:UD(i),onThumbPositionChange:w,onThumbPointerDown:UD(l),children:(0,DD.jsx)(HD.div,{...p,ref:v,style:{position:"absolute",...p.style},onPointerDown:qD(e.onPointerDown,(e=>{0===e.button&&(e.target.setPointerCapture(e.pointerId),g.current=h.getBoundingClientRect(),b.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",m.viewport&&(m.viewport.style.scrollBehavior="auto"),_(e))})),onPointerMove:qD(e.onPointerMove,_),onPointerUp:qD(e.onPointerUp,(e=>{const t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),document.body.style.webkitUserSelect=b.current,m.viewport&&(m.viewport.style.scrollBehavior=""),g.current=null}))})})})),hB="ScrollAreaThumb",fB=U.forwardRef(((e,t)=>{const{forceMount:r,...n}=e,a=pB(hB,e.__scopeScrollArea);return(0,DD.jsx)(WD,{present:r||a.hasThumb,children:(0,DD.jsx)(vB,{ref:t,...n})})})),vB=U.forwardRef(((e,t)=>{const{__scopeScrollArea:r,style:n,...a}=e,o=JD(hB,r),i=pB(hB,r),{onThumbPositionChange:l}=i,s=LD(t,(e=>i.onThumbChange(e))),c=U.useRef(),u=AB((()=>{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=CB(e,l);c.current=t,l()}};return l(),e.addEventListener("scroll",t),()=>e.removeEventListener("scroll",t)}}),[o.viewport,u,l]),(0,DD.jsx)(HD.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:qD(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:qD(e.onPointerUp,i.onThumbPointerUp)})}));fB.displayName=hB;var gB="ScrollAreaCorner",bB=U.forwardRef(((e,t)=>{const r=JD(gB,e.__scopeScrollArea),n=Boolean(r.scrollbarX&&r.scrollbarY);return"scroll"!==r.type&&n?(0,DD.jsx)(yB,{...e,ref:t}):null}));bB.displayName=gB;var yB=U.forwardRef(((e,t)=>{const{__scopeScrollArea:r,...n}=e,a=JD(gB,r),[o,i]=U.useState(0),[l,s]=U.useState(0),c=Boolean(o&&l);return SB(a.scrollbarX,(()=>{const e=a.scrollbarX?.offsetHeight||0;a.onCornerHeightChange(e),s(e)})),SB(a.scrollbarY,(()=>{const e=a.scrollbarY?.offsetWidth||0;a.onCornerWidthChange(e),i(e)})),c?(0,DD.jsx)(HD.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 EB(e){return e?parseInt(e,10):0}function kB(e,t){const r=e/t;return isNaN(r)?0:r}function wB(e){const t=kB(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,n=(e.scrollbar.size-r)*t;return Math.max(n,18)}function xB(e,t,r="ltr"){const n=wB(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 _B([0,i],[0,l])(s)}function _B(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 PB(e,t){return e>0&&e<t}var CB=(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 AB(e,t){const r=UD(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 SB(e,t){const r=UD(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 RB=eB,MB=rB,TB=bB;const OB=Li((({className:e,children:t,scrollbarSize:r="8px",...n},a)=>U.createElement(Rl,(0,Co.A)({as:RB,ref:a,position:"relative",overflow:"hidden"},n),U.createElement(Rl,{as:MB,h:"full",w:"full",borderRadius:"inherit"},t),U.createElement(IB,{scrollbarSize:r}),U.createElement(TB,null))));OB.displayName=RB.displayName;const IB=Li((({className:e,orientation:t="vertical",scrollbarSize:r="8px",...n},a)=>U.createElement(Rl,(0,Co.A)({as:aB,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(Rl,{as:fB,position:"relative",flex:1,borderRadius:"full",bgColor:"gray.200"}))));IB.displayName=aB.displayName;const LB=AD((()=>{const e=(0,dE.useSelect)((e=>e(OD).getInserters()),[]),{updateInserters:t}=(0,dE.useDispatch)("blockart/preferences");return G().createElement(OB,{h:"full"},G().createElement(Xl,{gap:"12px",h:"calc(100% - 35px)",w:"auto",p:"20px"},Object.entries(CD).map((([r,{label:n,icon:a,blockName:o}])=>G().createElement(ls,{key:r,display:"flex",justifyContent:"space-between",alignItems:"center"},G().createElement(ms,{display:"flex",alignItems:"center",gap:"2"},G().createElement(a,{w:"8",h:"8",fill:"primary.500"}),n),G().createElement(cP,{onChange:r=>{r.target.checked?t([...e,o]):t(e.filter((e=>e!==o)))},isChecked:e.includes(o)}))))))}));function DB(){return DB=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},DB.apply(this,arguments)}function BB(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}var VB=["htmlWidth","htmlHeight","alt"],NB=["fallbackSrc","fallback","src","srcSet","align","fit","loading","ignoreFallback","crossOrigin"],zB=U.forwardRef((function(e,t){var r=e.htmlWidth,n=e.htmlHeight,a=e.alt,o=BB(e,VB);return U.createElement("img",DB({width:r,height:n,ref:t,alt:a},o))})),FB=Li((function(e,t){var r=e.fallbackSrc,n=e.fallback,a=e.src,o=e.srcSet,i=e.align,l=e.fit,s=e.loading,c=e.ignoreFallback,u=e.crossOrigin,d=BB(e,NB),p=null!=s||c||void 0===r&&void 0===n,m=function(e){var t=e.loading,r=e.src,n=e.srcSet,a=e.onLoad,o=e.onError,i=e.crossOrigin,l=e.sizes,s=e.ignoreFallback,c=(0,U.useState)("pending"),u=c[0],d=c[1];(0,U.useEffect)((function(){d(r?"loading":"pending")}),[r]);var p=(0,U.useRef)(),m=(0,U.useCallback)((function(){if(r){h();var e=new Image;e.src=r,i&&(e.crossOrigin=i),n&&(e.srcset=n),l&&(e.sizes=l),t&&(e.loading=t),e.onload=function(e){h(),d("loaded"),null==a||a(e)},e.onerror=function(e){h(),d("failed"),null==o||o(e)},p.current=e}}),[r,i,n,l,a,o,t]),h=function(){p.current&&(p.current.onload=null,p.current.onerror=null,p.current=null)};return Kt((function(){if(!s)return"loading"===u&&m(),function(){h()}}),[u,m,s]),s?"loaded":u}(DB({},e,{ignoreFallback:p})),h=DB({ref:t,objectFit:l,objectPosition:i},p?d:Pe(d,["onError","onLoad"]));return"loaded"!==m?n||U.createElement(Ni.img,DB({as:zB,className:"chakra-image__placeholder",src:r},h)):U.createElement(Ni.img,DB({as:zB,src:a,srcSet:o,crossOrigin:u,loading:s,className:"chakra-image"},h))}));function HB(e,t,r){void 0===r&&(r=Ut);var n=Object.keys(e).indexOf(t);if(-1!==n)return e[t];for(var a=r.indexOf(t);a>=0;){if(null!=e[r[a]]){n=a;break}a-=1}return-1!==n?e[r[n]]:void 0}function jB(){return jB=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},jB.apply(this,arguments)}function WB(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}$e?U.useLayoutEffect:U.useEffect;var ZB=["startColor","endColor","isLoaded","fadeDuration","speed","className"],$B=["noOfLines","spacing","skeletonHeight","className","startColor","endColor","isLoaded","fadeDuration","speed","children"],UB=Ni("div",{baseStyle:{boxShadow:"none",backgroundClip:"padding-box",cursor:"default",color:"transparent",pointerEvents:"none",userSelect:"none","&::before, &::after, *":{visibility:"hidden"}}}),GB=oi({from:{opacity:0},to:{opacity:1}}),qB=Li((function(e,t){var r=Bi("Skeleton",e),n=function(){var e=U.useRef(!0);return U.useEffect((function(){e.current=!1}),[]),e.current}(),a=Ci(e);a.startColor,a.endColor;var o=a.isLoaded,i=a.fadeDuration;a.speed;var l=a.className,s=WB(a,ZB),c=function(e){var t=(0,U.useRef)();return(0,U.useEffect)((function(){t.current=e}),[e]),t.current}(o),u=qe("chakra-skeleton",l);if(o){var d=n||c?"none":GB+" "+i+"s";return U.createElement(Ni.div,jB({ref:t,className:u,__css:{animation:d}},s))}return U.createElement(UB,jB({ref:t,className:u},s,{__css:r}))}));qB.defaultProps={fadeDuration:.4,speed:.8};var KB=function(e){var t=e.noOfLines,r=void 0===t?3:t,n=e.spacing,a=void 0===n?"0.5rem":n,o=e.skeletonHeight,i=void 0===o?"0.5rem":o,l=e.className,s=e.startColor,c=e.endColor,u=e.isLoaded,d=e.fadeDuration,p=e.speed,m=e.children,h=WB(e,$B),f=function(e,t){var r,n=function(e){void 0===e&&(e="base");var t=ki().__breakpoints,r=Tr(),n=G().useMemo((function(){var e;return null!=(e=null==t?void 0:t.details.map((function(e){var t=e.minMaxQuery;return{breakpoint:e.breakpoint,query:t.replace("@media screen and ","")}})))?e:[]}),[t]),a=G().useState((function(){if(e){var t=n.find((function(t){return t.breakpoint===e}));if(t)return t.breakpoint}if(r.window.matchMedia){var a=n.find((function(e){var t=e.query;return r.window.matchMedia(t).matches}));if(a)return a.breakpoint}})),o=a[0],i=a[1];return G().useEffect((function(){var e=n.map((function(e){var t=e.breakpoint,n=e.query,a=r.window.matchMedia(n);a.matches&&i(t);var o=function(e){e.matches&&i(t)};return"function"==typeof a.addEventListener?a.addEventListener("change",o):a.addListener(o),function(){"function"==typeof a.removeEventListener?a.removeEventListener("change",o):a.removeListener(o)}}));return function(){e.forEach((function(e){return e()}))}}),[n,t,r.window]),o}(t),a=ki();if(n){var o=Array.from((null==(r=a.__breakpoints)?void 0:r.keys)||[]),i=ye(e)?Ie(Object.entries(qt(e,o)).map((function(e){return[e[0],e[1]]}))):e;return HB(i,n,o)}}("number"==typeof r?[r]:r)||3,v=Array(f).fill(1).map((function(e,t){return t+1})),g=function(e){return f>1&&e===v.length?"80%":"100%"},b=qe("chakra-skeleton__group",l);return U.createElement(Ni.div,jB({className:b},h),v.map((function(e,t){if(u&&t>0)return null;var r=u?null:{mb:e===v.length?"0":a,width:g(e),height:i};return U.createElement(qB,jB({key:v.length.toString()+e,startColor:s,endColor:c,isLoaded:u,fadeDuration:d,speed:p},r),0===t?m:void 0)})))};const YB=window.wp.notices,XB=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}(),QB=window.wp.element;var JB=r(269);JB.domToReact,JB.htmlToDOM,JB.attributesToProps,JB.Comment,JB.Element,JB.ProcessingInstruction,JB.Text;const eV=JB,tV=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>"}'),rV=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:Ky(e))).join("");if(!tV[o])return null;const i={width:n,height:n,...eV(tV[o])?.props,className:Yy("blockart-icon",r),...a};return(0,QB.createElement)(fE.SVG,i)},nV=({imageUrl:e,label:t,count:r,action:n,type:a,id:o})=>{const{createSuccessNotice:i,createErrorNotice:l}=(0,dE.useDispatch)(YB.store),{mutate:s,isLoading:c}=(0,SD.useMutation)((async e=>{try{var t;const r=await XB.get(`https://wpblockart.com/wp-json/blockart-library/v1/content?id=${e}`),n=await RN(null!==(t=r?.data)&&void 0!==t?t:""),a=(0,Z.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(Rl,{w:"full",border:"1px",borderColor:"gray.200",borderRadius:"sm",cursor:"pointer",_hover:{borderColor:"primary.500"},onClick:"cat"===a?n:void 0},G().createElement(Sl,{ratio:4/3,m:"4px 4px 0 4px"},G().createElement(FB,{src:e})),G().createElement(Yl,{justify:"space-between",py:"3",px:"4"},G().createElement(Vl,{m:"0",fontSize:"11px",fontWeight:"semibold",as:"h3",size:"md"},t),"cat"===a?G().createElement(Jl,{as:"span",color:"primary.500",fontSize:"11px",fontWeight:"semibold"},r):G().createElement(Lb,{onClick:o?()=>s(o):void 0,fontSize:"x-small",size:"xs",isLoading:c},(0,K.__)("Import","blockart"))))},aV=AD(RD((()=>{const e=(0,SD.useQuery)(["library-data"],(()=>OE()({path:"/blockart/v1/library-data",method:"GET"}))),[t,r]=G().useState(),n=G().useRef(null);return G().createElement(OB,{h:"full"},G().createElement(Rl,{h:"calc(100% - 35px)",w:"auto",p:"20px"},G().createElement(Vl,{as:"h3",fontSize:"13px",fontWeight:"semibold",m:"0",alignSelf:"start",mb:"6",cursor:"pointer",onClick:()=>r(void 0)},G().createElement(Yl,{justify:"space-between"},G().createElement(Rl,null,t?(0,K.__)("Go back","blockart"):(0,K.__)("Template","blockart")),G().createElement(Lb,{variant:"link",justifyContent:"flex-end",onClick:()=>{document.querySelector(".blockart-library-sidebar")?.remove()},sx:{svg:{fill:"#222222",w:"14px",h:"14px"}}},G().createElement(rV,{type:"controlIcon",name:"close",size:13})))),G().createElement(Xl,{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(Rl,{key:t,w:"full",border:"1px",borderColor:"gray.200",borderRadius:"sm",p:"4px"},G().createElement(qB,{h:"170px",w:"full"}),G().createElement(Yl,{justify:"space-between",py:"3",px:"4"},G().createElement(qB,{w:"50px",h:"14px"}),G().createElement(qB,{w:"14px",h:"14px"}))))):e.data?.categorized_sections?t?e.data.categorized_sections[t].items.map((e=>G().createElement(nV,{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(nV,{key:e.slug,label:e.name,imageUrl:e.items[0].post_thumbnail,action:()=>r(e.slug),count:e.count,type:"cat"}))):null)))}))),oV=AD((({renderer:e})=>{const[t,r]=G().useState(!1),[n,a]=G().useState(!1),o=(0,dE.useSelect)((e=>e(OD).getInserters()),[]),{insertBlock:i}=(0,dE.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(Rl,{w:"60px",bgColor:"white",border:"1px solid",h:"full",borderColor:"gray.200"},G().createElement(Kl,{h:"calc(100% - 60px)"},G().createElement(Kl,{alignItems:"center"},G().createElement(Lb,{isActive:t,onClick:()=>{const t=l("blockart-library-sidebar");r(!!t),t&&e(aV,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(Ni.hr,{mx:"auto",w:"80%",bg:"gray.400",h:"1px",borderRadius:"base"}),G().createElement(OB,{h:"full"},G().createElement(Kl,{alignItems:"center"},o.map((e=>{var t;const r=null!==(t=Object.values(CD).find((t=>t.blockName===e)))&&void 0!==t?t:null;return r?G().createElement(gb,{key:e,label:r.label,placement:"top",hasArrow:!0,closeOnClick:!1},G().createElement(Lb,{onClick:()=>i((0,Z.createBlock)(e)),variant:"icon",sx:{svg:{w:6,h:6,fill:"primary.500"}},my:"3"},G().createElement(r.icon,null))):null}))))),G().createElement(Rl,{h:"60px",w:"60px",display:"flex",alignItems:"center",justifyContent:"center"},G().createElement(Lb,{isActive:n,variant:"icon",bgColor:"primary.500",sx:{svg:{w:6,h:6}},onClick:()=>{const t=l("blockart-inserters-sidebar");a(!!t),t&&e(LB,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:iV,render:lV}=wp.element,sV=(e,t)=>{iV?iV(t).render(G().createElement(e,null)):lV(G().createElement(e,null),t)},cV=(e,t=[])=>{for(const r of e)r.name.startsWith("blockart/")&&(t.push(r),r.innerBlocks&&r.innerBlocks.length>0&&cV(r.innerBlocks,t));return t};function uV(){return uV=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},uV.apply(this,arguments)}var dV=function(e){return U.createElement(_l,uV({viewBox:"0 0 24 24"},e),U.createElement("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"}))},pV=["status"],mV={info:{icon:function(e){return U.createElement(_l,uV({viewBox:"0 0 24 24"},e),U.createElement("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:dV,colorScheme:"orange"},success:{icon:function(e){return U.createElement(_l,uV({viewBox:"0 0 24 24"},e),U.createElement("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:dV,colorScheme:"red"}},hV=ci({name:"AlertContext",errorMessage:"useAlertContext: `context` is undefined. Seems you forgot to wrap alert components in `<Alert />`"}),fV=hV[0],vV=(hV[1],Li((function(e,t){var r,n=Ci(e),a=n.status,o=void 0===a?"info":a,i=function(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}(n,pV),l=Vi("Alert",uV({},e,{colorScheme:null!=(r=e.colorScheme)?r:mV[o].colorScheme})),s=uV({width:"100%",display:"flex",alignItems:"center",position:"relative",overflow:"hidden"},l.container);return U.createElement(fV,{value:{status:o}},U.createElement(xi,{value:l},U.createElement(Ni.div,uV({role:"alert",ref:t},i,{className:qe("chakra-alert",e.className),__css:s}))))}))),gV=Li((function(e,t){var r=uV({display:"inline"},_i().description);return U.createElement(Ni.div,uV({ref:t},e,{className:qe("chakra-alert__desc",e.className),__css:r}))}));const bV=G().forwardRef(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),yV=G().forwardRef(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),EV=G().forwardRef(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),kV=G().forwardRef(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),wV=G().forwardRef(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),xV=G().forwardRef(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),_V=G().forwardRef(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),PV=G().forwardRef(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),CV=G().forwardRef(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),AV=G().forwardRef(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),SV=G().forwardRef(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),RV=G().forwardRef(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),MV=G().forwardRef(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),TV=G().forwardRef(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),OV=G().forwardRef(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),IV=G().forwardRef(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),LV=G().forwardRef(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),DV=G().forwardRef(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),BV=G().forwardRef(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),VV=G().forwardRef(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),NV=G().forwardRef(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),zV=G().forwardRef(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),FV=G().forwardRef(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),HV=G().forwardRef(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),jV=G().forwardRef(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),WV=G().forwardRef(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),ZV=G().forwardRef(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),$V=G().forwardRef(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),UV=G().forwardRef(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),GV=G().forwardRef(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),qV=G().forwardRef(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),KV=G().forwardRef(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),YV=G().forwardRef(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),XV=G().forwardRef(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),QV=G().forwardRef(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),JV=G().forwardRef(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),eN=G().forwardRef(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),tN=G().forwardRef(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),rN=G().forwardRef(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),nN=G().forwardRef(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),aN=G().forwardRef(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),oN=G().forwardRef(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),iN=G().forwardRef(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),lN=G().forwardRef(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),sN=G().forwardRef(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),cN=G().forwardRef(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),uN=G().forwardRef(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),dN=G().forwardRef(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),pN=G().forwardRef(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),mN=G().forwardRef(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),hN=G().forwardRef(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),fN=G().forwardRef(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))),vN=G().forwardRef(((e,t)=>G().createElement(Ni.svg,(0,Co.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"})))))),gN=G().forwardRef(((e,t)=>G().createElement(Ni.svg,(0,Co.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(Ni.svg,(0,Co.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",_V.displayName="ArrowRight",pN.displayName="Faq",vN.displayName="Megaphone",mN.displayName="Notice",dN.displayName="PriceList",cN.displayName="Testimonial",sN.displayName="Map",lN.displayName="Slider",iN.displayName="CTA",oN.displayName="Progress",aN.displayName="Timeline",nN.displayName="Blockquote",tN.displayName="Headphones",eN.displayName="EVF",JV.displayName="MagazineBlocks",rN.displayName="Masteriyo",QV.displayName="UR",XV.displayName="Chat",YV.displayName="Bulb",KV.displayName="Star",qV.displayName="Video",GV.displayName="DocsLines",UV.displayName="Docs",$V.displayName="ExternalLink",ZV.displayName="CirclesInsideCircle",PV.displayName="DotsHorizontal",bV.displayName="Search",yV.displayName="Cog",EV.displayName="Meter",kV.displayName="ArrowsRepeat",wV.displayName="ArrowsUpDown",xV.displayName="Links",CV.displayName="Logo",AV.displayName="ArrowRightFill",SV.displayName="QuestionCircleFill",RV.displayName="Buttons",TV.displayName="Countdown",OV.displayName="Counter",IV.displayName="Heading",LV.displayName="Paragraph",DV.displayName="Section",BV.displayName="Spacing",VV.displayName="Tabs",NV.displayName="Lottie",zV.displayName="InfoBox",FV.displayName="Image",HV.displayName="TableOfContents",jV.displayName="SocialShare",WV.displayName="Team",MV.displayName="ThreeCircleNodes",uN.displayName="ImageGallery",hN.displayName="IconList",fN.displayName="Icon",gN.displayName="ImageComparisonIcon";const bN=e=>{const t=(0,dE.useSelect)((e=>e(OD).getFavorites()),[]),{updateFavorites:r}=(0,dE.useDispatch)("blockart/preferences"),{createSuccessNotice:n,createErrorNotice:a}=(0,dE.useDispatch)(YB.store),{mutate:o,isLoading:i}=(0,SD.useMutation)((async e=>{try{var t;const r=await XB.get(`https://wpblockart.com/wp-json/blockart-library/v1/content?id=${e}`),n=await RN(null!==(t=r?.data)&&void 0!==t?t:""),a=(0,Z.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}=vr({id:`ba-${e.id}`});return e.isStarter?G().createElement(Rl,{borderRadius:"sm",bgColor:"white",border:"1px",borderColor:"gray.200",onClick:e.onClick,cursor:"pointer"},G().createElement(Rl,{p:"12px",position:"relative"},G().createElement(FB,{src:e.imageUrl,w:"full"})),G().createElement(Yl,{justify:"space-between",p:"12px"},G().createElement(Jl,{as:"span"},e.title))):G().createElement(Rl,{borderRadius:"sm",bgColor:"white",key:e.id,onClick:e.onClick,border:"1px",borderColor:"gray.200",onMouseEnter:s,onMouseLeave:c},G().createElement(Rl,{p:"12px",position:"relative"},G().createElement(FB,{src:e.imageUrl,w:"full"}),G().createElement(Rl,{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(Lb,{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(Yl,{justify:"space-between",p:"12px"},G().createElement(Jl,{as:"span"},e.title),G().createElement(Lb,{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"})))))},yN=AD((({label:e,...t})=>{const{isOpen:r,onOpen:n,onClose:a}=vr();return G().createElement(G().Fragment,null,G().createElement(Lb,(0,Co.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(xN,{isOpen:r,onClose:a}))})),EN={px:"20px",py:"12px",w:"full",variant:"ghost",justifyContent:"space-between",color:"gray.800",_active:{bg:"primary.100",color:"primary.500"},fontSize:"13px"},kN={variant:"unstyled",fontSize:"13px",fontWeight:"semibold",h:"full",px:"30px",borderRadius:"none",_active:{borderBottom:"2px",borderColor:"primary.500"}},wN=RD((({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,SD.useQuery)(["library-data"],(()=>OE()({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=kE(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,dE.useSelect)((e=>e(OD).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,SD.useMutation)((()=>OE()({path:"blockart/v1/library-data?refresh=true"})));return G().createElement(lS,{isOpen:e,onClose:t,isCentered:!0,motionPreset:"none"},G().createElement(dS,null),G().createElement(cS,{maxW:"full",borderRadius:"none",h:"calc(100vh)"},G().createElement(pS,{minH:"60px",p:"0",display:"flex",alignItems:"center",borderBottom:"1px",borderColor:"gray.200"},G().createElement(Rl,{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(Yl,{h:"full"},G().createElement(Lb,(0,Co.A)({isActive:"sections"===o,onClick:()=>{d("sections"),n()}},kN),"Sections"),G().createElement(Lb,(0,Co.A)({isActive:"starter-packs"===o,onClick:()=>{d("starter-packs"),n()}},kN),"Starter Packs"),G().createElement(Lb,(0,Co.A)({isActive:"templates"===o,onClick:()=>{d("templates"),n()}},kN),"Templates"),G().createElement(Lb,(0,Co.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"}))},kN),"Favorites"))),G().createElement(Lb,{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(kV,{height:"4",width:"4"})),G().createElement(fS,null),G().createElement(mS,{p:"0",h:"calc(100% - 60px)"},G().createElement(Yl,{h:"full"},G().createElement(Rl,{w:"22%",borderRight:"1px",borderColor:"gray.200",p:"20px",flexShrink:0,h:"full"},G().createElement(TS,null,G().createElement(xS,{onChange:e=>u(e.target.value),value:l,borderRight:"0",borderTopLeftRadius:"sm",borderBottomLeftRadius:"sm"}),G().createElement(RS,{bg:"white",borderTopRightRadius:"sm",borderBottomRightRadius:"sm"},G().createElement(LI,{h:"18px",w:"18px",fill:"gray.400"}))),G().createElement(Vl,{as:"h3",fontSize:"13px",fontWeight:"semibold",m:"0",mt:"8",mb:"4"},"Categories"),G().createElement(OB,{h:"calc(100% - 110px)",w:"calc(100% + 20px)",pr:"4"},G().createElement(Xl,{alignItems:"start",gap:"0"},G().createElement(Lb,(0,Co.A)({},EN,{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(Jl,{as:"span"},v.isLoading?0:a.length)),v.isLoading?null:G().createElement(G().Fragment,null,"favorites"!==o?Object.values(m).map((e=>G().createElement(Lb,(0,Co.A)({isActive:e.slug===i,key:e.slug},EN,{onClick:()=>p(e.slug)}),e.name,G().createElement(Jl,{as:"span"},e.count)))):null)))),G().createElement(Rl,{h:"full",w:"full",p:"8"},G().createElement(Yl,{w:"full",mb:"32px !important"},"starter-packs"===o&&s?G().createElement(Lb,{variant:"link",onClick:()=>c(void 0),size:"xs"},(0,K.__)("Go back","blockart")):G().createElement(Jl,{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(OB,{h:"calc(100% - 25px)",mr:"-32px"},h.isLoading||v.isLoading||!h.isSuccess?h.isLoading||v.isLoading?G().createElement(Dl,{gridTemplateColumns:"repeat(auto-fill, minmax(290px, 1fr))",gridGap:"27px",pr:"8"},Array.from({length:20}).map(((e,t)=>G().createElement(Kl,{key:t,p:"12px",borderRadius:"4px",border:"1px solid",borderColor:"gray.100",bgColor:"white"},G().createElement(qB,{w:"full",h:"200px"}),G().createElement(Yl,{justify:"space-between"},G().createElement(KB,{noOfLines:1,width:"80px"}),G().createElement(qB,{h:"14px",w:"14px",m:"14px",borderRadius:"full"})))))):h.isError?G().createElement(vV,{status:"error"},G().createElement(gV,null,null!==(r=h.error?.message)&&void 0!==r?r:(0,K.__)("Something went wrong","blockart"))):null:f?.length?G().createElement($l,{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(bN,{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(Rl,null,G().createElement(Xl,{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(Rl,null,G().createElement(Jl,{fontSize:"20px",fontWeight:"600",mt:"16px",textAlign:"center",color:"#383838"},(0,K.__)("Sorry, no result found ","blockart")),G().createElement(Jl,{fontSize:"14px",fontWeight:"600",mt:"4px",textAlign:"center",color:"#7A7A7A"},(0,K.__)("Please try another search","blockart"))))):G().createElement(Rl,null,G().createElement(Xl,{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(Rl,null,G().createElement(Jl,{fontSize:"20px",fontWeight:"600",mt:"16px",textAlign:"center",color:"#383838"},(0,K.__)("Collect your Favourites ","blockart")))))))))))})),xN=RD(wN),{v4:_N}=r(6008),PN=()=>{const{getBlocks:e}=(0,dE.select)("core/block-editor");return e().length>0},CN=e=>e.reduce(((e,t)=>{if(!t.isValid&&t.name.includes("blockart")&&e.push(t),t.innerBlocks.length>0){const r=CN(t.innerBlocks);r.length>0&&(e=e.concat(r))}return e}),[]);class AN{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 SN=/\b((https?|ftp|file):\/\/|(www|ftp)\.)[-A-Z0-9+&@#\/%?=~_|$!:,.;]*[A-Z0-9+&@#\/%=~_|$]/gi,RN=async(e="")=>{const t=[...e.matchAll(SN)].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=>OE()({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},MN=["background","hoverBackground","background1","background2","hoverBackground1","hoverBackground2"];RE("global-styles",((e,t)=>{t(e),new AN(e).process(),eE(e,$y.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}))}))}})(OE())({path:"blockart/v1/settings",method:"POST",data:{"global-styles":JSON.stringify({...e,_modified:(new Date).toISOString()})}}).catch((()=>{}))})),RE("blockart-device",((e,t)=>{t(e),setTimeout((()=>{void 0!==window["editor-canvas"]&&new AN(PE("global-styles",undefined).value).process()}),700)}));const TN=["primary","secondary","text","accent"];let ON={colors:$y.configs["global-styles"].colors.filter((e=>!TN.includes(e.id))).length,typographies:$y.configs["global-styles"].typographies.filter((e=>!TN.includes(e.id))).length};const IN=()=>{const[e,t]=AE("global-styles",$y.configs["global-styles"]);return{styles:e,setStyles:t,updateStyleByKey:(r,n)=>{let a=tE(e),o=(a?.[r]||[]).findIndex((e=>e.id===n.id));if(-1!==o)a=Qy(a,[r,o],n);else{var i;const t=(t=>{ON[t]++;const r="typographies"===t?"custom-typography":"custom-color";let n=`${r}-${ON[t]}`,a=r.replaceAll("-"," ");for(;(e?.[t]||[]).find((e=>e.id===n));)ON[t]++,n=`${r}-${ON[t]}`;return{id:n,name:`${a}#${ON[t]}`}})(r);a=Qy(a,[r,null!==(i=a?.[r].length)&&void 0!==i?i:0],{...n,...t})}return t(a),a},removeStyleByKey:(r,n)=>{const a=tE(e),o=e?.[r]?.findIndex((e=>e.id===n));return void 0===o||-1===o?e:(a?.[r].splice(o,1),t(a),a)}}},LN={minH:"32px",h:"20px",p:"6px",fontSize:"13px",borderRadius:"none",textAlign:"center",borderColor:"gray.400",m:0,"&:focus,&:hover":{boxShadow:"none",borderColor:"gray.400"}},DN={".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"}}},BN=({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(TS,{sx:{".chakra-input":{...LN}}},G().createElement(SS,{p:"0",h:"32px",pl:"10px",bg:"transparent",borderColor:"gray.400",borderRight:"0",borderTopLeftRadius:"2px",borderBottomLeftRadius:"2px"},G().createElement(Rl,{w:"20px",borderRadius:"base",h:"20px",bg:e})),G().createElement(xS,{ref:r,minH:"32px",borderLeft:"0 !important",maxLength:9,defaultValue:e,onChange:e=>{const r=e.target.value;dy(r).isValid()&&t(r)}}))},VN={sx:{".chakra-numberinput__field":LN}},NN=({color:e,onChange:t})=>{const r=(r,n)=>{t({...e,[n]:r})};return G().createElement(Yl,{gap:"0"},G().createElement(RL,(0,Co.A)({min:0},VN,{max:359,value:e?.h,onChange:(e,t)=>r(t,"h")}),G().createElement(ML,null)),G().createElement(RL,(0,Co.A)({min:0},VN,{max:100,value:e?.s,onChange:(e,t)=>r(t,"s")}),G().createElement(ML,{borderLeft:"none !important",borderRight:"none !important"})),G().createElement(RL,(0,Co.A)({min:0},VN,{max:100,value:e?.l,onChange:(e,t)=>r(t,"l")}),G().createElement(ML,null)),G().createElement(TS,{sx:{".chakra-numberinput__field":{textAlign:"right !important"}}},G().createElement(RL,(0,Co.A)({value:100*e?.a,min:0,max:100,step:1},VN,{onChange:(e,t)=>r(t/100,"a")}),G().createElement(ML,{borderLeft:"none !important",borderRight:"none !important",pr:"0 !important"})),G().createElement(RS,{height:"32px",bg:"transparent",flex:"unset",p:"0",px:"2px",pr:"6px",borderTopRightRadius:"2px",borderBottomRightRadius:"2px",fontSize:"12px",borderColor:"gray.400"},"%")))},zN={sx:{".chakra-numberinput__field":LN}},FN=({color:e,onChange:t})=>{const r=(r,n)=>{t({...e,[n]:r})};return G().createElement(Yl,{gap:"0"},G().createElement(RL,(0,Co.A)({min:0},zN,{max:255,value:e?.r,onChange:(e,t)=>r(t,"r")}),G().createElement(ML,null)),G().createElement(RL,(0,Co.A)({min:0},zN,{max:255,value:e?.g,onChange:(e,t)=>r(t,"g")}),G().createElement(ML,{borderLeft:"none !important",borderRight:"none !important"})),G().createElement(RL,(0,Co.A)({min:0},zN,{max:255,value:e?.b,onChange:(e,t)=>r(t,"b")}),G().createElement(ML,null)),G().createElement(TS,{sx:{".chakra-numberinput__field":{textAlign:"right !important"}}},G().createElement(RL,(0,Co.A)({value:100*e?.a,min:0,max:100,step:1},zN,{onChange:(e,t)=>r(t/100,"a")}),G().createElement(ML,{borderLeft:"none !important",borderRight:"none !important",pr:"0 !important"})),G().createElement(RS,{height:"32px",bg:"transparent",flex:"unset",p:"0",px:"2px",pr:"6px",borderTopRightRadius:"2px",borderBottomRightRadius:"2px",fontSize:"12px",borderColor:"gray.400"},"%")))},HN=(e,t)=>{var r;return"hex"===(t=null!==(r=t)&&void 0!==r?r:"hex")?e.hex:"rgb"===t?dy(e.rgb).toRgbString():"hsl"===t?dy(e.hsl).toHslString():e.hex},jN=e=>{const t=dy(e);return{hex:t.toHex(),rgb:t.toRgb(),hsl:t.toHsl()}},WN=({onChange:e,value:t="#000000",showGlobalPalette:r=!0})=>{const[n,a]=(0,U.useState)(jN(t)),[o,i]=(0,U.useState)((()=>{var e;return null!==(e=iy(t))&&void 0!==e?e:"hex"})),{onCopy:l,hasCopied:s}=function(e,t){void 0===t&&(t={});var r=(0,U.useState)(!1),n=r[0],a=r[1],o="number"==typeof t?{timeout:t}:t,i=o.timeout,l=void 0===i?1500:i,s=function(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}(o,ir),c=(0,U.useCallback)((function(){var t=Jt()(e,s);a(t)}),[e,s]);return(0,U.useEffect)((function(){var e=null;return n&&(e=window.setTimeout((function(){a(!1)}),l)),function(){e&&window.clearTimeout(e)}}),[l,n]),{value:e,onCopy:c,hasCopied:n}}(HN(n,o)),c=(0,U.useRef)(),u=wE(e),{styles:d}=IN(),p=e=>{const t=dy(e);a((()=>{const r={hex:"string"==typeof e?e:t.toHex(),rgb:t.toRgb(),hsl:t.toHsl()};return u(HN(r,o)),r}))};return G().useEffect((()=>{var e;a(jN(t)),i(null!==(e=iy(t))&&void 0!==e?e:"hex")}),[t]),G().createElement(Rl,{ref:c,sx:DN},G().createElement(jy,{color:n.hex,onChange:e=>{p(e)}}),G().createElement(Yl,{gap:"8px",mt:"16px",maxW:"254px"},G().createElement(ks,{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(Rl,{flex:"hex"===o?"0":"1",mr:"hex"===o?"auto":void 0,minW:"hex"===o?"120px":void 0},"hex"===o?G().createElement(BN,{color:n.hex,onChange:e=>p(e)}):"hsl"===o?G().createElement(NN,{color:n.hsl,onChange:e=>p(e)}):G().createElement(FN,{color:n.rgb,onChange:e=>p(e)})),G().createElement(gb,{label:s?(0,K.__)("Copied","blockart"):(0,K.__)("Copy","blockart"),placement:"top",portalProps:{containerRef:c},closeOnClick:!1,hasArrow:!0},G().createElement(Lb,{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(Il,{flexWrap:"wrap",gap:"2",mt:"4"},G().createElement(ms,{w:"full",mb:"2"},(0,K.__)("Global Colors","blockart")),d.colors.map((r=>G().createElement(gb,{key:r.id,label:r.name,placement:"top",hasArrow:!0},G().createElement(Rl,{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(Ni.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"}))))))))},ZN="linear-gradient(135deg, rgba(6, 147, 227, 1) 0%, rgb(155, 81, 224) 100%)",$N={type:"angular",value:"90"},UN={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},GN=0;var qN,KN=r(4337);function YN({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 XN({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(YN)].filter(Boolean).join(",")})`}function QN(e){return void 0===e.length||"%"!==e.length.type}function JN(e){let t,r=!!e;const n=null!=e?e:ZN;try{t=KN.parse(n)[0]}catch(e){t=KN.parse(ZN)[0],r=!1}if(Array.isArray(t.orientation)||"directional"!==t.orientation?.type||(t.orientation={type:"angular",value:UN[t.orientation.value].toString()}),t.colorStops.some(QN)){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 ez(e,t){return{...e,colorStops:t.map((({position:e,color:t})=>{const{r,g:n,b:a,a:o}=dy(t).toRgb();return{length:{type:"%",value:e?.toString()},type:o<1?"rgba":"rgb",value:o<1?[`${r}`,`${n}`,`${a}`,`${o}`]:[`${r}`,`${n}`,`${a}`]}}))}}function tz(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 rz(e){return Math.max(0,Math.min(100,e))}function nz(e,t,r){const n=e.slice();return n[t]=r,n}function az(e,t,r){return function(e,t,r,n=GN){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:nz(e,t,{...e[t],position:r})}function oz(e,t,r){const n=e.findIndex((e=>e.position===t));return function(e,t,r){return nz(e,t,{...e[t],color:r})}(e,n,r)}function iz(e,t){if(!t)return;const{x:r,width:n}=t.getBoundingClientRect(),a=e-r;return Math.round(rz(100*a/n))}function lz({position:e,color:t,...r}){const n=`components-custom-gradient-picker__control-point-button-description-${hr()}`;return G().createElement(Ni.button,(0,Co.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(xu,{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 sz({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=iz(t.clientX,e.current),{initialPosition:o,index:s,significantMoveHappened:c}=l.current;!c&&Math.abs(o-a)>=5&&(l.current.significantMoveHappened=!0);const u=az(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(lz,{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(az(r,u,rz(e.position-10)))):"ArrowRight"===t.code&&(t.stopPropagation(),n(az(r,u,rz(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()}})})))}qN=[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"])}],qN.forEach((function(e){py.indexOf(e)<0&&(e(uy,ny),py.push(e))})),sz.InsertPoint=function({value:e,onChange:t,insertPosition:r,setActiveControlPoint:n}){return G().createElement(Ni.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,dy("#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 cz=sz,uz=(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},dz={id:"IDLE"},pz=({background:e,controlPoints:t,onChange:r,activeControlPoint:n,setActiveControlPoint:a})=>{const o=(0,U.useRef)(null),[i,l]=(0,U.useReducer)(uz,dz),s=e=>{if(!o.current)return;const r=iz(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(Ni.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(Ni.div,{bg:e,position:"absolute",inset:"0",borderRadius:"8px"}),G().createElement(Ni.div,{ref:o,position:"relative",w:"calc(100% - 10px)",mx:"auto"},(c||u)&&G().createElement(cz.InsertPoint,{insertPosition:i.insertPosition,value:t,onChange:r,setActiveControlPoint:a}),G().createElement(cz,{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})))},mz=e=>{var t;const[r,n]=G().useState((()=>JN(e?.value).gradientAST)),a=XN({type:"linear-gradient",orientation:$N,colorStops:r.colorStops}),o=r.colorStops.map((e=>({color:tz(e),position:parseInt(e.length.value)}))),[i,l]=G().useState(o[0].position),s=wE(e.onChange);(0,U.useEffect)((()=>{n(JN(e.value).gradientAST)}),[e.value]);return G().createElement(Kl,{w:"254px",gap:"16px"},G().createElement(pz,{background:a,controlPoints:o,onChange:e=>{n(ez(r,e)),s(XN(ez(r,e)))},activeControlPoint:i,setActiveControlPoint:l}),G().createElement(Il,{justifyContent:"space-between"},G().createElement(ls,{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(ms,null,(0,K.__)("Type","blockart")),G().createElement(ks,{value:r.type,onChange:e=>{(e=>{"linear-gradient"===e&&n((e=>{const t={...e,orientation:r.orientation?void 0:$N,type:"linear-gradient"};return s(XN(t)),t})),"radial-gradient"===e&&n((e=>{const t={...e,type:"radial-gradient",orientation:void 0};return s(XN(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(ls,{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(ms,null,(0,K.__)("Angle","blockart")),G().createElement(TS,null,G().createElement(RL,{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(XN(r)),r}))})(isFinite(t)?t:0)},G().createElement(ML,null)),G().createElement(RS,{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(WN,{showGlobalPalette:!1,key:e.position,value:e.color,onChange:e=>{n(ez(r,oz(o,i,e))),s(XN(ez(r,oz(o,i,e))))}})})))},hz={"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%"},fz=["default","contain","cover","fill"],vz={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"}},gz={".chakra-select":{background:"none"}},bz=e=>`${(100*e.x).toFixed(2)}% ${(100*e.y).toFixed(2)}%`,yz=({value:e,unit:t})=>`${e}${t}`,Ez=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},kz=({value:e,openMediaFrame:t,onChange:r})=>{var n;const{device:a,setDevice:o}=ME(),i=(e=>{"default"===e&&(e="center center"),hz[e]&&(e=hz[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]:bz({...i,[n]:t/100})}}))},s=e?.size?.[a]&&!fz.includes(e.size[a]);return G().createElement(Kl,{gap:"8px"},G().createElement(Rl,null,G().createElement(Rl,{position:"relative",sx:{".focal-point-picker__controls":{display:"none !important"},".components-base-control__field":{marginBottom:"0"},...gz}},G().createElement(fE.FocalPointPicker,{url:e?.image?.url,value:i,onChange:t=>{var n;r({position:{...null!==(n=e?.position)&&void 0!==n?n:{},[a]:bz(t)}})}}),G().createElement(Lb,{variant:"icon",position:"absolute",bottom:"45px",right:"5px",onClick:()=>r({image:void 0})},"D"),G().createElement(Jl,{as:"span",display:"block",py:"2",textAlign:"center",onClick:t,mx:"-4",borderBottom:"1px",borderColor:"gray.200"},(0,K.__)("Change Image","blockart"))),G().createElement(Yl,{gap:"8px",mt:"4"},G().createElement(ls,null,G().createElement(Yl,{mb:"2"},G().createElement(ms,{m:"0"},(0,K.__)("Right","blockart")),G().createElement(OL,{device:a,setDevice:o})),G().createElement(TS,{sx:vz},G().createElement(RL,{min:0,max:100,step:1,value:(100*i.x).toFixed(0),onChange:(e,t)=>{l(t,"x")}},G().createElement(ML,null)),G().createElement(RS,null,"%"))),G().createElement(ls,null,G().createElement(Yl,{mb:"2"},G().createElement(ms,{m:"0"},(0,K.__)("Left","blockart")),G().createElement(OL,{device:a,setDevice:o})),G().createElement(TS,{sx:vz},G().createElement(RL,{min:0,max:100,step:1,value:(100*i.y).toFixed(0),onChange:(e,t)=>{l(t,"y")}},G().createElement(ML,null)),G().createElement(RS,null,"%"))))),G().createElement(ls,null,G().createElement(Yl,{mb:"2"},G().createElement(ms,{m:"0"},(0,K.__)("Size","blockart")),G().createElement(OL,{device:a,setDevice:o})),G().createElement(ks,{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(bD,{hiddenLabel:!0,value:Ez(e?.size?.[a]),onChange:t=>{var n;r({size:{...null!==(n=e?.size)&&void 0!==n?n:{},[a]:yz(t)}})},units:["%","px","em","rem"],defaultUnit:"%",label:(0,K.__)("Custom Size","blockart")})),G().createElement(ls,null,G().createElement(Yl,{mb:"2"},G().createElement(ms,{m:"0"},(0,K.__)("Repeat","blockart")),G().createElement(OL,{device:a,setDevice:o})),G().createElement(ks,{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(ls,null,G().createElement(ms,{mb:"2"},(0,K.__)("Attachment","blockart")),G().createElement(ks,{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")))))},wz=({openMediaFrame:e})=>G().createElement(Rl,{onClick:e,mx:"-4"},G().createElement(Rl,{minH:"152px",bg:"gray.100"}),G().createElement(Jl,{as:"span",textAlign:"center",py:"2",display:"block",borderBottom:"1px",borderColor:"gray.200"},(0,K.__)("Choose Image","blockart"))),xz=({value:e,...t})=>{const[r,n]=G().useState(e),a=wE(t.onChange);(0,U.useEffect)((()=>{n(e)}),[e]);const o=e=>{n((t=>{const r={...t,...e};return a(r),r}))};return G().createElement(Rl,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(Rl,{w:"254px"},r?.image?.url?G().createElement(kz,{value:r,openMediaFrame:e,onChange:o}):G().createElement(wz,{openMediaFrame:e}))}))},_z=["color","gradient","image"],Pz={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"}},Cz=({value:e,onChange:t,types:r=_z})=>{var n;const[a,o]=sr({value:_z.indexOf(null!==(n=e?.type)&&void 0!==n?n:"color"),onChange(r){t({...null!=e?e:{},type:_z[r]})}});return G().createElement(vl,{index:a,onChange:o,size:"sm"},G().createElement(bl,{borderBottom:"0",gap:"8px",mb:"4"},r.includes("color")&&G().createElement(gl,Pz,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(gl,Pz,G().createElement(Rl,{p:"4px"},G().createElement(Rl,{width:"18px",height:"18px",borderRadius:"2px",bg:"linear-gradient(180deg, #222 0%, #CDCDCD 100%)"}))),r.includes("image")&&G().createElement(gl,Pz,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(El,null,r.includes("color")&&G().createElement(yl,{p:"0"},G().createElement(WN,{onChange:r=>{t({...null!=e?e:{},color:r})},value:e?.color})),r.includes("gradient")&&G().createElement(yl,{p:"0"},G().createElement(mz,{onChange:r=>{t({...null!=e?e:{},gradient:r})},value:e?.gradient})),r.includes("image")&&G().createElement(yl,{p:"0"},G().createElement(xz,{onChange:r=>{t({...null!=e?e:{},image:r})},value:e?.image}))))},Az={none:VT,solid:OT,double:DT,dashed:LT,dotted:IT,groove:BT},Sz=[{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"}],Rz="none",Mz=({onChange:e,value:t,resetAttributeKey:r})=>{var n;const a=null!==(n=t?.type)&&void 0!==n?n:Rz,o=Az[a],i=r=>{e?.({...null!=t?t:{},...r})};return G().createElement(Rl,{mb:"4"},G().createElement(Yl,{p:"8px 0",justify:"space-between"},G().createElement(ms,null,(0,K.__)("Type","blockart")),G().createElement(tD,{gutter:0,matchWidth:!0},G().createElement(nD,{bg:"gray.100",px:"6",py:"1",color:"gray.600",_active:{bgColor:"primary.500",color:"white"}},G().createElement(o,{w:"10"})),G().createElement(ku,null,G().createElement(iD,{borderRadius:"none",borderBottomLeftRadius:"sm",borderBottomRightRadius:"sm",w:"88px",minW:"88px",p:"0"},Sz.filter((e=>{var r;return e.value!==(null!==(r=t?.type)&&void 0!==r?r:Rz)})).map((e=>{const t=Az[e.value];return G().createElement(sD,{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(Rl,{mb:"2",mt:"2"},G().createElement(Iz,{label:(0,K.__)("Color","blockart"),popoverDivProps:{pt:"4"},closeOnFocusOutside:!0,trigger:n=>{const a=()=>G().createElement(Iz.Trigger,n,G().createElement(jS,{items:[{color:t?.color,id:"color"}]}));return r?G().createElement(Yl,null,G().createElement(FI,{resetKey:r,saved:t?.color,onReset:r=>{e?.({...null!=t?t:{},color:r})}}),G().createElement(a,null)):G().createElement(a,null)}},G().createElement(WN,{onChange:e=>i({color:e}),value:t?.color})),G().createElement(Rl,{mt:"2"},G().createElement(Hz,{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(Hz,{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}))},Tz=G().createContext({isChildren:!1}),Oz=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(Lb,{onClick:t,variant:"icon"},n?a:G().createElement(Rl,{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(zT,null)))},Iz=e=>{var t;const r=`popover-drawer-${hr()}`,n=G().useContext(Tz),[a,o]=AE("PopoverDrawers",{}),i=vr({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(ls,{display:"flex",alignItems:"center",justifyContent:"space-between",onClick:e=>e.stopPropagation(),className:e.className},G().createElement(ms,{onClick:e=>e.stopPropagation()},"string"==typeof e.label?e.label:e.label({})),e.trigger?e.trigger(i):G().createElement(Oz,i)),l&&G().createElement(Rl,(0,Co.A)({className:"blockart-popover-drawer",variant:"unstyled",animate:!1,placement:"left-start",as:fE.Popover,focusOnMount:!0,onFocusOutside:!!e.closeOnFocusOutside&&s},e.popoverProps,e.popoverDivProps),G().createElement(Tz.Provider,{value:{isChildren:!0}},e.children)))};Iz.Trigger=Oz;const Lz=Iz,Dz={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"})},Bz=({label:e,responsive:t,options:r,isMulti:n,hasSearch:a,placeholder:o,value:i,onChange:l})=>{const{device:s}=ME(),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(ls,null,G().createElement(Yl,{mb:"2"},G().createElement(ms,null,e),t&&G().createElement(OL,null)),n||a?G().createElement(vT,{isSearchable:a,isMulti:n,styles:Dz,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(gM.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(kb,null)},value:c,onChange:e=>{let r;r=t&&n?Qy(null!=i?i:{},s,e.map((e=>e.value))):t&&!n?Qy(null!=i?i:{},s,e.value):!t&&n?e.map((e=>e.value)):e,l(r)}}):G().createElement(ks,{minHeight:"100%",value:t?i?.[s]:i,onChange:e=>{const r=e.target.value;l(t?Qy(null!=i?i:{},s,r):r)},placeholder:o},r.map((e=>G().createElement("option",{key:e.value,value:e.value},e.label)))))},Vz=({value:e,onChange:t,resetAttributeKey:r})=>{var n;const a=r=>{t({...null!=e?e:{},...r})};return G().createElement(Lz,{label:(0,K.__)("Box Shadow","blockart"),className:"blockart-box-shadow-popover",trigger:t=>G().createElement(Yl,{minH:"24px"},e?.enable&&G().createElement(Lz.Trigger,t),G().createElement(cP,{isChecked:!!e?.enable,onChange:e=>a({enable:e.target.checked})})),closeOnFocusOutside:!0,popoverProps:{offset:16}},G().createElement(Rl,{minW:"280px"},G().createElement(Yl,{justify:"space-between",borderBottom:"1px",borderColor:"gray.200",px:"4",mx:"-16px"},G().createElement(Jl,null,(0,K.__)("Box Shadow","blockart")),r&&G().createElement(FI,{saved:e,resetKey:r,onReset:e=>{t({...null!=e?e:{},enable:!0})}})),G().createElement(Rl,{mt:"4",sx:{">div:not(:last-child)":{mb:"2"}}},G().createElement(Lz,{label:(0,K.__)("Color","blockart"),closeOnFocusOutside:!0,trigger:t=>G().createElement(Lz.Trigger,t,G().createElement(jS,{items:[{id:"color",color:e?.color}]})),popoverDivProps:{sx:{".components-popover__content":{p:3}}}},G().createElement(WN,{value:e?.color,onChange:e=>a({color:e})})),G().createElement(bD,{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(bD,{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(bD,{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(bD,{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(Bz,{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")}))))},Nz=["top","right","bottom","left"],zz={top:{borderTopColor:"primary.500"},bottom:{borderBottomColor:"primary.500"},right:{borderRightColor:"primary.500"},left:{borderLeftColor:"primary.500"}},Fz={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}},Hz=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=hr(),{device:f,setDevice:v}=ME(),g=null!==(t=d?r?.[f]?.unit:r?.unit)&&void 0!==t?t:c,b=d?r?.[f]:r,y=["%","vh","vw"].includes(g)?{min:"margin"===u?-100:0,max:100,step:s}:["em","rem"].includes(g)?{min:"margin"===u?-20:0,max:20,step:s}:"px"===g?{min:"margin"===u?-l:0,max:l,step:1}:{min:i,max:l,step:s},E=Math.max(...Object.values(((e,t)=>{const r=tE(e);return["unit","lock"].forEach((e=>{delete r[e]})),r})(null!=b?b:{})).filter((e=>"number"==typeof e&&isFinite(e)))),k=(e,t)=>{const a=r?tE(r):{};if("all"===e)for(const e of Nz)Qy(a,d?[f,e]:e,t);else Qy(a,d?[f,e]:e,t);Jy(a,d?[f,"unit"]:"unit")||Qy(a,d?[f,"unit"]:"unit",g),n(a)};return G().createElement(ls,null,G().createElement(Yl,{justify:"space-between",mb:1},G().createElement(Yl,null,G().createElement(ms,null,a),d&&G().createElement(OL,{device:f,setDevice:v})),p&&G().createElement(FI,{resetKey:p,saved:r,onReset:e=>{n(e)}})),G().createElement(Yl,null,b?.lock?G().createElement(RL,(0,Co.A)({},y,{onChange:(e,t)=>k("all",isFinite(t)?t:void 0),value:isFinite(E)?E:void 0}),G().createElement(ML,{borderColor:"var(--chakra-colors-gray-200) !important",_focus:{boxShadow:"none !important"},fontSize:"xs"})):G().createElement(Yl,null,Nz.map((e=>{var t;return G().createElement(RL,(0,Co.A)({key:`${h}${e}`},y,{border:"1px",borderColor:"gray.200",p:"2px",borderRadius:"base",position:"relative",value:null!==(t=b?.[e])&&void 0!==t?t:void 0,onChange:(t,r)=>k(e,isFinite(r)?r:void 0),sx:m?void 0:{...zz[e]}}),G().createElement(ML,{border:"none !important",_focus:{boxShadow:"none !important"},zIndex:"1",minHeight:"35px",height:"35px",p:"0 !important",textAlign:"center",fontSize:"xs"}),m&&G().createElement(Rl,{w:"50%",h:"50%",position:"absolute",borderRadius:"base",border:"1px",borderColor:"primary.500",sx:{...Fz[e]}}))}))),G().createElement(Yl,{py:"6px",px:"4px",border:"1px",borderColor:"gray.200",borderRadius:"base",gap:"0"},G().createElement(Vb,{isActive:b?.lock,onClick:()=>(()=>{const e=r?tE(r):{};if(!b?.lock&&isFinite(E))for(const t of Nz)Qy(e,d?[f,t]:t,E);Qy(e,d?[f,"lock"]:"lock",!b?.lock),n(e)})(),"aria-label":(0,K.__)("Lock / Unlock","blockart"),bgColor:"transparent",_hover:{bgColor:"transparent"},h:"28px",w:"33px",_active:{bgColor:"transparent"},icon:b?.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(mD,{units:o,currentUnit:g,onChange:e=>k("unit",e)}))))};var jz,Wz,Zz,$z=r(2736),Uz=function(e,t){return Uz=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])},Uz(e,t)},Gz=function(){return Gz=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},Gz.apply(this,arguments)};!function(e){e.AUTO="auto",e.START="start",e.CENTER="center",e.END="end"}(jz||(jz={})),function(e){e.HORIZONTAL="horizontal",e.VERTICAL="vertical"}(Wz||(Wz={})),function(e){e.OBSERVED="observed",e.REQUESTED="requested"}(Zz||(Zz={}));var qz,Kz,Yz,Xz,Qz,Jz=((qz={})[Wz.VERTICAL]="scrollTop",qz[Wz.HORIZONTAL]="scrollLeft",qz),eF=((Kz={})[Wz.VERTICAL]="height",Kz[Wz.HORIZONTAL]="width",Kz),tF=((Yz={})[Wz.VERTICAL]="top",Yz[Wz.HORIZONTAL]="left",Yz),rF=((Xz={})[Wz.VERTICAL]="marginTop",Xz[Wz.HORIZONTAL]="marginLeft",Xz),nF=((Qz={})[Wz.VERTICAL]="marginBottom",Qz[Wz.HORIZONTAL]="marginRight",Qz),aF=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?jz.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 jz.END:i=c;break;case jz.CENTER:i=s-(n-l.size)/2;break;case jz.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}(),oF={overflow:"auto",willChange:"transform",WebkitOverflowScrolling:"touch"},iF={position:"relative",width:"100%",minHeight:"100%"},lF={position:"absolute",top:0,left:0,width:"100%"},sF=Gz({},lF,{position:"sticky"}),cF=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 aF({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:Zz.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:Zz.OBSERVED}),"function"==typeof r&&r(n,e))},t}return function(e,t){function r(){this.constructor=e}Uz(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:Zz.REQUESTED}):"number"==typeof e.scrollToIndex&&(s||c)&&this.setState({offset:this.getOffsetForIndex(e.scrollToIndex,e.scrollToAlignment,e.itemCount),scrollChangeReason:Zz.REQUESTED})},t.prototype.componentDidUpdate=function(e,t){var r=this.state,n=r.offset,a=r.scrollChangeReason;t.offset!==n&&a===Zz.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?Wz.VERTICAL:t;this.rootNode[Jz[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?Wz.VERTICAL:n;return(e<0||e>=r)&&(e=0),this.sizeAndPositionManager.getUpdatedOffsetForIndex({align:t,containerSize:this.props[eF[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?Wz.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[eF[c]]||0,offset:h,overscanCount:o}),v=f.start,g=f.stop,b=[],y=Gz({},oF,d,{height:n,width:p}),E=Gz({},iF,((e={})[eF[c]]=this.sizeAndPositionManager.getTotalSize(),e));if(null!=u&&0!==u.length&&(u.forEach((function(e){return b.push(i({index:e,style:t.getStyle(e,!0)}))})),c===Wz.HORIZONTAL&&(E.display="flex")),void 0!==v&&void 0!==g){for(var k=v;k<=g;k++)null!=u&&u.includes(k)||b.push(i({index:k,style:this.getStyle(k,!1)}));"function"==typeof l&&l({startIndex:v,stopIndex:g})}return(0,U.createElement)("div",Gz({ref:this.getRef},m,{style:y}),(0,U.createElement)("div",{style:E},b))},t.prototype.getNodeOffset=function(){var e=this.props.scrollDirection,t=void 0===e?Wz.VERTICAL:e;return this.rootNode[Jz[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?Wz.VERTICAL:o,l=this.sizeAndPositionManager.getSizeAndPositionForIndex(e),s=l.size,c=l.offset;return this.styleCache[e]=t?Gz({},sF,((n={})[eF[i]]=s,n[rF[i]]=c,n[nF[i]]=-(c+s),n.zIndex=1,n)):Gz({},lF,((a={})[eF[i]]=s,a[tF[i]]=c,a))},t.defaultProps={overscanCount:3,scrollDirection:Wz.VERTICAL,width:"100%"},t.propTypes={estimatedItemSize:$z.number,height:(0,$z.oneOfType)([$z.number,$z.string]).isRequired,itemCount:$z.number.isRequired,itemSize:(0,$z.oneOfType)([$z.number,$z.array,$z.func]).isRequired,onScroll:$z.func,onItemsRendered:$z.func,overscanCount:$z.number,renderItem:$z.func.isRequired,scrollOffset:$z.number,scrollToIndex:$z.number,scrollToAlignment:(0,$z.oneOf)([jz.AUTO,jz.START,jz.CENTER,jz.END]),scrollDirection:(0,$z.oneOf)([Wz.HORIZONTAL,Wz.VERTICAL]),stickyIndices:(0,$z.arrayOf)($z.number),style:$z.object,width:(0,$z.oneOfType)([$z.number,$z.string])},t}(U.PureComponent);const uF=cF,dF=({icon:e,onSelectIcon:t,isSelected:r})=>G().createElement(Lb,{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(Rl,{as:"span",sx:{svg:{w:6,h:6,fill:"currentColor"}},dangerouslySetInnerHTML:{__html:e.svg}}),G().createElement(Jl,{as:"span",fontSize:"xs",fontWeight:"normal",w:"full",overflow:"hidden",textOverflow:"ellipsis",px:"4"},e.label)),pF=({icons:e,style:t,onSelectIcon:r,selectedIcon:n})=>G().createElement(Dl,{style:t,gridTemplateColumns:"repeat(6, 1fr)",gridGap:"4",pb:4},1===e.length&&""===e[0].id?G().createElement(vV,{status:"info",gridColumn:"1/-1"},G().createElement(gV,null,e[0].label)):e.map(((e,t)=>G().createElement(dF,{key:`${e.id}${t}`,icon:e,onSelectIcon:r,isSelected:e.id===n}))));let mF=[],hF=[],fF=[],vF=$y.icons.blockart;const gF=(e,t,r)=>{t===r.style&&e.push(r)};for(const e of $y.icons["font-awesome"])gF(fF,"brands",e),gF(mF,"solid",e),gF(hF,"regular",e);const bF=[...vF,...$y.icons["font-awesome"]],yF=e=>{var t;const r=bF.find((t=>t.id===e.previewIcon));return G().createElement(Rl,{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(Rl,{as:"span",sx:{svg:{w:16,h:16,fill:"gray.600"}},dangerouslySetInnerHTML:{__html:null!==(t=r?.svg)&&void 0!==t?t:""}}),G().createElement(Vb,{variant:"unstyled",position:"absolute",top:"0",right:"0",h:"6",minW:"6","aria-label":(0,K.__)("Remove icon","blockart"),icon:G().createElement(DI,{w:"4",h:"4",fill:"gray.600"}),onClick:t=>{t.stopPropagation(),e?.onRemoveIcon()}}),G().createElement(Rl,{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(Lb,{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")))},EF=[{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"}],kF=({variant:e,onVariantSelect:t})=>G().createElement(Kl,{w:"25%",flexShrink:0,flexDir:"column",alignItems:"start",gap:"0",pt:"8",height:"full",overflowY:"auto"},EF.map((({label:r,value:n})=>G().createElement(Lb,{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)))),wF=e=>{const t=hr(),{isOpen:r,onOpen:n,onClose:a}=vr({id:`icon-picker-modal-${t}`}),[o,i]=G().useState("any"),[l,s]=G().useState(""),c=kE(l),[u,d]=G().useState(e.value),p=G().useRef(),{icons:m,initialIndex:h}=G().useMemo((()=>{let t="blockart"===o?vF:"solid"===o?mF:"regular"===o?hF:"brands"===o?fF:bF;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(ls,null,G().createElement(yF,{openModal:()=>{n()},onRemoveIcon:()=>{e?.onChange(void 0),d(void 0)},previewIcon:e.value}),G().createElement(lS,{isOpen:r,onClose:()=>{a(),i("any"),s(""),d(e.value)},isCentered:!0,motionPreset:"none"},G().createElement(dS,null),G().createElement(cS,{maxW:["container.lg","container.xl"],h:"calc(100vh - 100px)"},G().createElement(pS,{borderBottom:"1px solid",borderColor:"gray.200"},(0,K.__)("Icon Library","blockart")),G().createElement(fS,null),G().createElement(mS,{h:"calc(100% - 134px)",p:"0",zIndex:99999999},G().createElement(Yl,{align:"start",h:"full",gap:"0",w:"full"},G().createElement(kF,{variant:o,onVariantSelect:e=>{i(e),p.current?.scrollTo(0)}}),G().createElement(Rl,{h:"full",borderLeft:"1px",borderColor:"gray.200",px:"8",pt:"8",w:"full"},G().createElement(Rl,{h:"full"},G().createElement(TS,null,G().createElement(xS,{borderRadius:"base",fontSize:"sm",fontWeight:"normal",onChange:e=>s(e.target.value),placeholder:(0,K.__)("Filter by name...")}),G().createElement(VS,{pointerEvents:"none"},G().createElement(LI,{w:"4",h:"4",fill:"gray.400"}))),G().createElement(Rl,{mt:"6",h:"calc(100% - 64px)"},G().createElement(uF,{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(pF,{key:e,icons:m[e],style:t,onSelectIcon:d,selectedIcon:u})})))))),G().createElement(hS,{borderTop:"1px solid",borderColor:"gray.200"},G().createElement(Lb,{isDisabled:!u,colorScheme:"primary",borderRadius:"base",size:"sm",fontWeight:"normal",onClick:()=>{a(),e.onChange?.(u),i("any"),s("")}},(0,K.__)("Insert","blockart"))))))},xF=e=>{var t;return G().createElement(ls,{display:"flex",justifyContent:"space-between",alignItems:"center",mb:"4"},G().createElement(ms,null,null!==(t=e?.label)&&void 0!==t?t:(0,K.__)("Enable Icon","blockart")),G().createElement(cP,{isChecked:e.isChecked,onChange:t=>e.onSwitchToggle(t.target.checked)}))},_F=e=>G().createElement(Rl,null,e.hasToggle&&G().createElement(xF,{isChecked:e.value?.enable,onSwitchToggle:t=>e.onChange({icon:e.value?.icon,enable:t}),label:e.label}),G().createElement(Rl,{as:KC,in:!e.hasToggle||!!e.value?.enable},G().createElement(wF,{onChange:t=>{e.hasToggle?e.onChange({enable:!0,icon:t}):e.onChange(t)},value:e.hasToggle?e.value?.icon:e.value}))),PF=e=>{const{label:t,value:r,onChange:n,numberFieldProps:a,...o}=e,[i,l]=G().useState(r),s=wE(n);return G().createElement(ls,null,G().createElement(ms,{mb:"2"},t),G().createElement(RL,(0,Co.A)({},o,{value:i,onChange:(e,t)=>{const r=isFinite(t)?t:void 0;s(r),l(r)}}),G().createElement(ML,(0,Co.A)({},NS,a))))},CF=r.p+"f7346e9b478a5ef6043bcfd5a5e04922.png",AF=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(Rl,{mx:"-15px"},G().createElement(Rl,{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(Rl,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(Rl,{onClick:e,onKeyDown:t=>"Enter"===t.key&&e(),role:"button",tabIndex:0,title:o},G().createElement(FB,{src:n?.url||CF,alt:(0,K.__)("blockart preview image","blockart")})),G().createElement(Yl,{display:"flex",justifyContent:"space-between",borderBottom:"1px solid #E0E0E0",p:"8px"},G().createElement(Rl,{onClick:e},G().createElement("span",null,o)),n&&G().createElement(Rl,{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"})))))}))))},SF=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(Bz,{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(bD,{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(bD,{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(bD,{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(bD,{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}))))},RF=Li(((e,t)=>G().createElement(Sb,(0,Co.A)({ref:t,w:"full",justifyContent:"space-between"},e)))),MF=Li(((e,t)=>G().createElement(Lb,(0,Co.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)))),TF=({onChange:e,value:t,children:r,groupProps:n,responsive:a,label:o,resetAttributeKey:i})=>{const{device:l,setDevice:s}=ME();if(!r)throw new Error("Children required");return G().createElement(ls,null,G().createElement(Yl,{align:"center",justify:"space-between",mb:"2"},G().createElement(Yl,{align:"center"},G().createElement(ms,null,o),a&&G().createElement(OL,{device:l,setDevice:s})),i&&G().createElement(FI,{resetKey:i,saved:t,onReset:t=>{e(t)}})),G().createElement(RF,(0,Co.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})))))},OF=e=>{const{checked:t,onChange:r,label:n,...a}=e;return G().createElement(ls,{display:"inline-block"},G().createElement(Yl,{justify:"space-between"},G().createElement(ms,null,n),G().createElement(cP,(0,Co.A)({_focus:{boxShadow:"none"},size:"sm",isChecked:t,onChange:e=>r(e.target.checked)},a))))},IF=({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(ls,null,G().createElement(ms,null,t),G().createElement(fE.BaseControl,null,G().createElement(q.URLInput,(0,Co.A)({value:null!==(i=e?.url)&&void 0!==i?i:"",onChange:e=>c("url",e),autoFocus:!1,disableSuggestions:!0},o))),n&&G().createElement(OF,{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(OF,{checked:null!==(s=e?.noFollow)&&void 0!==s&&s,onChange:()=>c("noFollow"),label:(0,K.__)("Nofollow Link","blockart")}))};function LF(){return LF=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},LF.apply(this,arguments)}function DF(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}var BF=["onChange","defaultIndex","index","allowMultiple","allowToggle"],VF=["isDisabled","isFocusable","id"],NF=Qi(),zF=NF[0],FF=(NF[1],NF[2]),HF=NF[3];var jF=ci({name:"AccordionContext",errorMessage:"useAccordionContext: `context` is undefined. Seems you forgot to wrap the accordion components in `<Accordion />`"}),WF=jF[0],ZF=jF[1];var $F=["children","reduceMotion"],UF=["htmlProps","descendants"],GF=["htmlProps"],qF=Li((function(e,t){var r=e.children,n=e.reduceMotion,a=DF(e,$F),o=Vi("Accordion",a),i=function(e){var t=e.onChange,r=e.defaultIndex,n=e.index,a=e.allowMultiple,o=e.allowToggle,i=DF(e,BF);!function(e){var t,r=e.index||e.defaultIndex,n=!(void 0===(t=r)||void 0===t||ye(r))&&e.allowMultiple;ct({condition:!!n,message:"If 'allowMultiple' is passed, then 'index' or 'defaultIndex' must be an array. You passed: "+typeof r+","})}(e),function(e){ct({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);var l=FF(),s=(0,U.useState)(-1),c=s[0],u=s[1];yr((function(){u(-1)}));var d=sr({value:n,defaultValue:function(){return a?null!=r?r:[]:null!=r?r:-1},onChange:t}),p=d[0],m=d[1];return{index:p,setIndex:m,htmlProps:i,getAccordionItemProps:function(e){var t=!1;return null!==e&&(t=ye(p)?p.includes(e):p===e),{isOpen:t,onChange:function(t){if(null!==e)if(a&&ye(p)){var r=t?[].concat(p,[e]):(n=e,p.filter((function(e){return e!==n})));m(r)}else t?m(e):o&&m(-1);var n}}},focusedIndex:c,setFocusedIndex:u,descendants:l}}(Ci(a)),l=i.htmlProps,s=i.descendants,c=DF(i,UF),u=U.useMemo((function(){return LF({},c,{reduceMotion:!!n})}),[c,n]);return U.createElement(zF,{value:s},U.createElement(WF,{value:u},U.createElement(xi,{value:o},U.createElement(Ni.div,LF({ref:t},l,{className:qe("chakra-accordion",a.className),__css:o.root}),r))))})),KF=ci({name:"AccordionItemContext",errorMessage:"useAccordionItemContext: `context` is undefined. Seems you forgot to wrap the accordion item parts in `<AccordionItem />` "}),YF=KF[0],XF=KF[1],QF=Li((function(e,t){var r=e.children,n=e.className,a=function(e){var t=e.isDisabled,r=e.isFocusable,n=e.id,a=DF(e,VF),o=ZF(),i=o.getAccordionItemProps,l=o.setFocusedIndex,s=(0,U.useRef)(null),c=fr(n,"accordion-button","accordion-panel"),u=c[0],d=c[1];!function(e){ct({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);var p=HF({disabled:t&&!r}),m=p.register,h=p.index,f=p.descendants,v=i(-1===h?null:h),g=v.isOpen,b=v.onChange;!function(e){ct({condition:e.isOpen&&!!e.isDisabled,message:"Cannot open a disabled accordion item"})}({isOpen:g,isDisabled:t});var y=(0,U.useCallback)((function(){null==b||b(!g),l(h)}),[h,l,g,b]),E=(0,U.useCallback)((function(e){var t={ArrowDown:function(){var e=f.nextEnabled(h);e&&mt(e.node)},ArrowUp:function(){var e=f.prevEnabled(h);e&&mt(e.node)},Home:function(){var e=f.firstEnabled();e&&mt(e.node)},End:function(){var e=f.lastEnabled();e&&mt(e.node)}},r=t[Ke(e)];r&&(e.preventDefault(),r(e))}),[f,h]),k=(0,U.useCallback)((function(){l(h)}),[l,h]),w=(0,U.useCallback)((function(e,r){return void 0===e&&(e={}),void 0===r&&(r=null),LF({},e,{type:"button",ref:si(m,s,r),id:u,disabled:!!t,"aria-expanded":!!g,"aria-controls":d,onClick:ot(e.onClick,y),onFocus:ot(e.onFocus,k),onKeyDown:ot(e.onKeyDown,E)})}),[u,t,g,y,k,E,d,m]),x=(0,U.useCallback)((function(e,t){return void 0===e&&(e={}),void 0===t&&(t=null),LF({},e,{ref:t,role:"region",id:d,"aria-labelledby":u,hidden:!g})}),[u,g,d]);return{isOpen:g,isDisabled:t,isFocusable:r,onOpen:function(){null==b||b(!0)},onClose:function(){null==b||b(!1)},getButtonProps:w,getPanelProps:x,htmlProps:a}}(e),o=a.htmlProps,i=DF(a,GF),l=LF({},_i().container,{overflowAnchor:"none"}),s=U.useMemo((function(){return i}),[i]);return U.createElement(YF,{value:s},U.createElement(Ni.div,LF({ref:t},o,{className:qe("chakra-accordion__item",n),__css:l}),at(r,{isExpanded:!!i.isOpen,isDisabled:!!i.isDisabled})))})),JF=Li((function(e,t){var r=(0,XF().getButtonProps)(e,t),n=LF({display:"flex",alignItems:"center",width:"100%",outline:0},_i().button);return U.createElement(Ni.button,LF({},r,{className:qe("chakra-accordion__button",e.className),__css:n}))})),eH=Li((function(e,t){var r=ZF().reduceMotion,n=XF(),a=n.getPanelProps,o=n.isOpen,i=a(e,t),l=qe("chakra-accordion__panel",e.className),s=_i();r||delete i.hidden;var c=U.createElement(Ni.div,LF({},i,{__css:s.panel,className:l}));return r?c:U.createElement(KC,{in:o},c)})),tH=function(e){var t=XF(),r=t.isOpen,n=t.isDisabled,a=ZF().reduceMotion,o=qe("chakra-accordion__icon",e.className),i=LF({opacity:n?.4:1,transform:r?"rotate(-180deg)":void 0,transition:a?void 0:"transform 0.2s",transformOrigin:"center"},_i().icon);return U.createElement(_l,LF({viewBox:"0 0 24 24","aria-hidden":!0,className:o,__css:i},e),U.createElement("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"}))};const rH=["general","style","advanced"],{Slot:nH,Fill:aH}=(0,fE.createSlotFill)("BlockArtGeneralInspectorTab"),{Slot:oH,Fill:iH}=(0,fE.createSlotFill)("BlockArtStyleInspectorTab"),{Slot:lH,Fill:sH}=(0,fE.createSlotFill)("BlockArtAdvancedInspectorTab"),cH=G().createContext(""),uH=e=>{const{isSelected:t,name:r}=(0,q.useBlockEditContext)(),[n]=AE(`inspector-tab-${r}`,"general");return t&&"general"===n?G().createElement(aH,null,G().createElement(cH.Provider,{value:"general"},G().createElement(qF,{allowToggle:!0,defaultIndex:0},e.children))):null},dH=e=>{const{isSelected:t,name:r}=(0,q.useBlockEditContext)(),[n]=AE(`inspector-tab-${r}`,"general");return t&&"style"===n?G().createElement(iH,null,G().createElement(cH.Provider,{value:"style"},G().createElement(qF,{allowToggle:!0,defaultIndex:0},e.children))):null},pH=e=>{const{isSelected:t,name:r}=(0,q.useBlockEditContext)(),[n]=AE(`inspector-tab-${r}`,"general");return t&&"advanced"===n?G().createElement(sH,null,G().createElement(cH.Provider,{value:"advanced"},G().createElement(qF,{allowToggle:!0,defaultIndex:0},e.children))):null},mH=AD((()=>{const{name:e}=(0,q.useBlockEditContext)(),[t,r]=AE(`inspector-tab-${e}`,"general"),n=rH.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",rH[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(Rl,{ref:a},G().createElement(Yl,{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(Lb,{isActive:"general"===t,variant:"unstyled",onClick:()=>{r("general"),o(0)}},G().createElement(HT,null),G().createElement(Jl,{as:"span"},(0,K.__)("General","blockart"))),G().createElement(Lb,{isActive:"style"===t,variant:"unstyled",onClick:()=>{r("style"),o(1)}},G().createElement(jT,null),G().createElement(Jl,{as:"span"},(0,K.__)("Style","blockart"))),G().createElement(Lb,{isActive:"advanced"===t,variant:"unstyled",onClick:()=>{r("advanced"),o(2)}},G().createElement(FT,null),G().createElement(Jl,{as:"span"},(0,K.__)("Advanced","blockart")))),G().createElement(nH,null),G().createElement(oH,null),G().createElement(lH,null))})),hH=()=>G().createElement(q.InspectorControls,null,G().createElement(mH,null)),fH=e=>{const{title:t,initialOpen:r}=e,{name:n}=(0,q.useBlockEditContext)(),a=G().useContext(cH),o=t,i=`inspector-panel-${n}-${a}-panel`,[l,s]=AE(i,void 0);return G().useEffect((()=>{r&&!l&&s(o)}),[]),G().createElement(G().Fragment,null,G().createElement(QF,null,G().createElement(JF,{sx:{color:"#1e1e1e",fontWeight:"500",height:"auto",outline:"none",padding:"16px",position:"relative",textAlign:"left",fontSize:"13px"}},G().createElement(Rl,{as:"span",flex:"1",textAlign:"left"},t),G().createElement(tH,null)),G().createElement(eH,{sx:{"> *:not(:last-child)":{mb:4}}},e.children)))},vH=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(fH,{title:(0,K.__)("Spacing","blockart"),initialOpen:!0},G().createElement(Hz,{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(Hz,{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(fH,{title:(0,K.__)("Z-index","blockart")},G().createElement(bD,{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(Bz,{label:(0,K.__)("Block HTML","blockart"),value:i,onChange:e=>o({blockHTML:e}),options:J}),c&&G().createElement(zS,{onChange:e=>o({cssID:e}),label:(0,K.__)("CSS ID","blockart"),value:null!=a?a:"",style:{marginBottom:"16px"}}),G().createElement(zS,{value:l,label:(0,K.__)("Additional CSS Class(Es)","blockart"),onChange:e=>o({className:e}),style:{marginBottom:"16px"}})))},gH=e=>{const{hideOnDesktop:t,hideOnTablet:r,hideOnMobile:n,setAttributes:a,hasColReverse:o=!1,colReverseOnTablet:i,colReverseOnMobile:l}=e;return G().createElement(fH,{title:(0,K.__)("Responsive condition","blockart")},o&&G().createElement(G().Fragment,null,G().createElement(OF,{size:"sm",checked:i||!1,onChange:()=>a({colReverseOnTablet:!i}),label:(0,K.__)("Column Reverse on Tablet","blockart")}),G().createElement(OF,{size:"sm",checked:l||!1,onChange:()=>a({colReverseOnMobile:!l}),label:(0,K.__)("Column Reverse on Mobile","blockart")})),G().createElement(OF,{size:"sm",checked:t||!1,onChange:()=>a({hideOnDesktop:!t}),label:(0,K.__)("Hide on Desktop","blockart")}),G().createElement(OF,{size:"sm",checked:r||!1,onChange:()=>a({hideOnTablet:!r}),label:(0,K.__)("Hide on Tablet","blockart")}),G().createElement(OF,{size:"sm",checked:n||!1,onChange:()=>a({hideOnMobile:!n}),label:(0,K.__)("Hide on Mobile","blockart")}))},bH=({tagName:e,htmlAttrs:t,children:r})=>(0,U.createElement)(e,t,r),yH=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"}'),EH=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:g,authorAlignment:b,blockZIndex:y,cssID:E,className:k},setAttributes:w}=e;return G().createElement(G().Fragment,null,G().createElement(hH,null),G().createElement(uH,null,G().createElement(fH,{title:(0,K.__)("Layout","blockart"),initialOpen:!0},G().createElement(Bz,{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(dH,null,G().createElement(fH,{title:(0,K.__)("Properties","blockart"),initialOpen:!0},G().createElement(TF,{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(MF,{value:"left"},G().createElement(gT,null)),G().createElement(MF,{value:"center"},G().createElement(yT,null)),G().createElement(MF,{value:"right"},G().createElement(bT,null)),G().createElement(MF,{value:"justify"},G().createElement(ET,null)))),G().createElement(fH,{title:(0,K.__)("Layout","blockart")},G().createElement(Bz,{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(Mz,{value:g,onChange:e=>{w({border:e})},resetAttributeKey:"border"}):G().createElement(Hz,{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(fH,{title:(0,K.__)("Quote","blockart")},G().createElement(kD,{value:o,onChange:e=>w({quoteTypography:e})}),G().createElement(Hz,{value:m||{},responsive:!0,label:(0,K.__)("Quote ","blockart"),defaultUnit:"px",units:["px","rem","em","%"],onChange:e=>w({quoteMargin:e}),type:"quoteMargin"})),G().createElement(fH,{title:(0,K.__)("Author","blockart")},G().createElement(TF,{value:b,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(MF,{value:"left"},G().createElement(gT,null)),G().createElement(MF,{value:"center"},G().createElement(yT,null)),G().createElement(MF,{value:"right"},G().createElement(bT,null))),G().createElement(kD,{value:i,onChange:e=>w({authorTypography:e})}),G().createElement(Hz,{value:h||{},responsive:!0,label:(0,K.__)("Margin","blockart"),defaultUnit:"px",units:["px","rem","em","%"],onChange:e=>w({authorMargin:e}),type:"authorMargin"})),G().createElement(fH,{title:(0,K.__)("Color","blockart")},G().createElement(Iz,{label:(0,K.__)("Text Color","blockart"),trigger:e=>{const r=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:t,id:"color"}]}));return rE(t)?G().createElement(Rl,{position:"relative"},G().createElement(r,null),G().createElement(NT,{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(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:t,resetKey:"color",onReset:e=>{w({color:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:t,onChange:e=>w({color:e})}))))),"quote"==p&&G().createElement(Iz,{label:(0,K.__)("Quote Color","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:v,id:"quoteMarkColor"}]}));return rE(v)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{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(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:v,resetKey:"quoteMarkColor",onReset:e=>{w({quoteMarkColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:v,onChange:e=>w({quoteMarkColor:e})})))))),G().createElement(fH,{title:(0,K.__)("Background","blockart")},G().createElement(Iz,{label:(0,K.__)("Type","blockart")},G().createElement(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart")),G().createElement(gl,null,(0,K.__)("Hover","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:r,resetKey:"background",onReset:e=>{w({background:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(Cz,{value:r,onChange:e=>w({background:e})})),G().createElement(yl,null,G().createElement(FI,{saved:n,resetKey:"hoverBackground",onReset:e=>{w({hoverBackground:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(Cz,{value:n,onChange:e=>w({hoverBackground:e})}))))))),G().createElement(pH,null,G().createElement(vH,{blockMargin:l,setAttributes:w,blockPadding:s,blockZIndex:y,cssID:E,className:k,hasblockHTML:!1}),G().createElement(gH,{hideOnDesktop:c,hideOnTablet:u,hideOnMobile:d,setAttributes:w})))},kH=yH.name,wH={...yH,icon:G().createElement(rV,{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}=pE(e),{device:u}=ME(),{CopyPasterStyleBlockControl:d}=EE(),{Style:p}=uE({blockName:"blockquote",clientId:c,attributes:e.attributes,device:u});return G().createElement(G().Fragment,null,G().createElement(EH,{attributes:e.attributes,setAttributes:s}),G().createElement(d,{withBlockControls:!0}),G().createElement(p,null),G().createElement("div",{id:n||null,className:Yy(`blockart-blockquote blockart-blockquote-${c} layout-${o}`,a)},G().createElement("div",{className:"blockart-blockquote-main"},G().createElement("blockquote",null,"quote"===o&&G().createElement(rV,{type:"blockIcon",name:"quoteLeft",size:24}),G().createElement(q.RichText,{tagName:"div",className:Yy("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:Yy("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:Yy(`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(rV,{type:"frontendIcon",name:"quoteLeft",size:24}),G().createElement("div",{className:Yy("blockart-blockquote-quote",l?._className)},G().createElement(q.RichText.Content,{value:a}))),G().createElement("p",{className:Yy("blockart-blockquote-author",s?._className)},G().createElement(q.RichText.Content,{value:o}))))}},xH=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 _H=r(7500),PH=r.n(_H);const CH={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},AH={attributes:{...CH,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:PH()(`blockart-button blockart-button-${t} `,n),"data-aos":d&&"none"!==d?d:void 0},G().createElement(bH,{tagName:"a",htmlAttrs:{className:PH()("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(rV,{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(rV,{name:s.icon}))))}},SH=AH,RH={attributes:{...CH,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:PH()(`blockart-button blockart-button-${t} `,n),"data-aos":d&&"none"!==d?d:void 0},G().createElement(bH,{tagName:"a",htmlAttrs:{className:PH()("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(rV,{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(rV,{type:"frontendIcon",name:s.icon}))))}},MH=[SH,RH],TH=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:Ky(e))).join(""),s=null!==(t=null!==(r=$y.icons.all?.[l])&&void 0!==r?r:$y.icons.all?.[n])&&void 0!==t?t:null;if(!s)return null;const c={width:o,height:o,...eV(s?.svg)?.props,className:Yy("blockart-icon",a),...i};return(0,QB.createElement)(fE.SVG,c)},OH=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:g,hoverBorder1:b,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:O,positionProperty:I,blockHTML:L,hoverColor1:D,hoverColor2:B},setAttributes:V}=e;return G().createElement(G().Fragment,null,G().createElement(hH,null),G().createElement(uH,null,G().createElement(fH,{title:(0,K.__)("Layout","blockart"),initialOpen:!0},G().createElement(IF,{label:(0,K.__)("URL","blockart"),onChange:e=>V({link:e}),value:r,placeholder:"https://",newTab:!0,noFollow:!0}),G().createElement(bD,{label:(0,K.__)("Width","blockart"),value:T,onChange:e=>V({width:e}),min:25,max:100,step:5,forceShowUnit:!0,resetAttributeKey:"width",responsive:!0,defaultUnit:"%"}),G().createElement(TF,{value:n,onChange:e=>{V({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(MF,{value:"filled",title:"Filled"},G().createElement(nI,null)),G().createElement(MF,{value:"outline",title:"Outline"},G().createElement(aI,null)),G().createElement(MF,{value:"plain",title:"Plain"},G().createElement(rI,null)),G().createElement(MF,{value:"link",title:"Link"},G().createElement(oI,null))),("filled"===n||"outline"===n)&&G().createElement(G().Fragment,null,G().createElement(Rl,{my:"18px"},G().createElement(TF,{value:a,onChange:e=>{V({size:e})},label:(0,K.__)("Size","blockart"),resetAttributeKey:"size",groupProps:{sx:{".chakra-button":{minH:"32px",svg:{w:6,h:6}}}}},G().createElement(MF,{value:"small"},"Small"),G().createElement(MF,{value:"medium"},"Medium"),G().createElement(MF,{value:"large"},"Large"),G().createElement(MF,{value:"custom"},"Custom"))),a&&"custom"===a&&G().createElement(Hz,{value:o||{},responsive:!0,label:(0,K.__)("Padding","blockart"),defaultUnit:"px",units:["px","rem","em","%"],onChange:e=>V({padding:e}),type:"padding"}))),G().createElement(fH,{title:(0,K.__)("Icons","blockart")},G().createElement(G().Fragment,null,G().createElement(_F,{hasToggle:!0,value:l||{},onChange:e=>V({icon:e})}),l?.enable&&G().createElement(G().Fragment,null,G().createElement(TF,{value:s,onChange:e=>{V({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(MF,{value:"left"},(0,K.__)("Before Text","blockart")),G().createElement(MF,{value:"right"},(0,K.__)("After Text","blockart"))),G().createElement(bD,{resetAttributeKey:"iconSize",label:(0,K.__)("Size","blockart"),min:0,max:50,value:u,onChange:e=>V({iconSize:e}),responsive:!0,units:["px","em","%"]}),G().createElement(bD,{resetAttributeKey:"iconGap",label:(0,K.__)("Gap","blockart"),min:0,max:60,value:c,onChange:e=>V({iconGap:e}),responsive:!0,units:["px","em","%"]}))))),G().createElement(dH,null,G().createElement(fH,{title:(0,K.__)("Text","blockart"),initialOpen:!0},G().createElement(kD,{onChange:e=>V({typography:e}),value:i,resetAttributeKey:"typography"}),G().createElement(Iz,{label:(0,K.__)("Text Color","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:"filled"===n?d:p,id:"color"},{color:"filled"===n?D:B,id:"color"}]}));return rE(d)||rE(p)||rE(D)||rE(B)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{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(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart")),G().createElement(gl,null,(0,K.__)("Hover","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:"filled"===n?d:p,resetKey:"filled"===n?"color1":"color2",onReset:e=>{V("filled"===n?{color1:e}:{color2:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{onChange:e=>V("filled"===n?{color1:e}:{color2:e}),label:(0,K.__)("Color","blockart"),value:"filled"===n?d:p,resetKey:"filled"===n?"color1":"color2"})),G().createElement(yl,null,G().createElement(FI,{saved:"filled"===n?D:B,resetKey:"filled"===n?"hoverColor1":"hoverColor2",onReset:e=>{V("filled"===n?{hoverColor1:e}:{hoverColor2:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{onChange:e=>V("filled"===n?{hoverColor1:e}:{hoverColor2:e}),label:(0,K.__)("Color","blockart"),value:"filled"===n?D:B,resetKey:"filled"===n?"hoverColor1":"hoverColor2"})))))),G().createElement(fH,{title:(0,K.__)("Background","blockart")},G().createElement(Iz,{label:(0,K.__)("Type","blockart")},G().createElement(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart")),G().createElement(gl,null,(0,K.__)("Hover","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:"filled"===n?m:h,resetKey:"filled"===n?"background1":"background2",onReset:e=>{V("filled"===n?{background1:e}:{background2:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(Cz,{value:"filled"===n?m:h,onChange:e=>{V("filled"===n?{background1:e}:{background2:e})}})),G().createElement(yl,null,G().createElement(FI,{saved:"filled"===n?f:v,resetKey:"filled"===n?"hoverBackground1":"hoverBackground2",onReset:e=>{V("filled"===n?{hoverBackground1:e}:{hoverBackground2:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(Cz,{value:"filled"===n?f:v,onChange:e=>{V("filled"===n?{hoverBackground1:e}:{hoverBackground2:e})}})))))),G().createElement(fH,{title:(0,K.__)("Border","blockart")},G().createElement(vl,{variant:"border"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart")),G().createElement(gl,null,(0,K.__)("Hover","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(Mz,{resetAttributeKey:"filled"===n?"border1":"border2",value:"filled"===n?g:y,onChange:e=>V("filled"===n?{border1:e}:{border2:e})}),G().createElement(Vz,{resetAttributeKey:"boxShadow",value:k,onChange:e=>V({boxShadow:e})})),G().createElement(yl,null,G().createElement(Mz,{resetAttributeKey:"filled"===n?"hoverBorder1":"hoverBorder2",value:"filled"===n?b:E,onChange:e=>V("filled"===n?{hoverBorder1:e}:{hoverBorder2:e})}),G().createElement(Vz,{resetAttributeKey:"boxShadowHover",value:w,onChange:e=>V({boxShadowHover:e})})))))),G().createElement(pH,null,G().createElement(fH,{title:(0,K.__)("Animation","blockart"),initialOpen:!0},G().createElement(Bz,{label:(0,K.__)("Effects","blockart"),onChange:e=>{V({buttonAnimation:e})},options:Q,value:O})),G().createElement(fH,{title:(0,K.__)("Position","blockart")},G().createElement(SF,{resetAttributeKey:"positionProperty",value:I,onChange:e=>V({positionProperty:e})})),G().createElement(vH,{blockMargin:x,setAttributes:V,blockPadding:_,blockZIndex:P,cssID:C,className:M,hasblockHTML:!1}),G().createElement(gH,{hideOnDesktop:A,hideOnTablet:S,hideOnMobile:R,setAttributes:V})))},IH=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;qy(a)||(t+=`${n}: ${a}px;`)}return t},LH=xH.name,DH={...xH,icon:G().createElement(rV,{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}=pE(e),{device:f}=ME(),{CopyPasterStyleBlockControl:v}=EE(),{Style:g}=uE({blockName:"button",clientId:h,attributes:e.attributes,device:f}),{Animation:b}=(e=>{const{id:t,type:r}=e;return(0,U.useEffect)((()=>(Zy().init(),()=>{Zy().refreshHard()})),[]),{Animation:(0,U.useMemo)((()=>{const e=e=>G().createElement("div",{className:Yy("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:Yy(`blockart-button blockart-button-${h}`,s)}),E=IH(u),k=(0,dE.useSelect)((t=>{const{getBlockRootClientId:r}=t("core/block-editor");return r(e.clientId)}),[e.clientId]),w=t=>{const{getBlockIndex:r,getBlocks:n}=(0,dE.select)("core/block-editor"),{replaceInnerBlocks:a}=(0,dE.dispatch)("core/block-editor"),o=r(e.clientId,k),i=[...n(k)];"delete"===t?i.splice(o,1):i.splice(o+1,0,(0,Z.createBlock)("blockart/button-inner")),a(k,i,!1)},x=i?.[f];return G().createElement(G().Fragment,null,G().createElement(OH,{attributes:e.attributes,setAttributes:p}),G().createElement(q.BlockControls,{group:"block"},G().createElement(fE.ToolbarGroup,null,G().createElement(fE.Button,{label:(0,K.__)("Add button","blockart"),onClick:()=>w("add"),icon:"plus"}),G().createElement(fE.Button,{label:(0,K.__)("Delete button","blockart"),onClick:()=>w("delete"),icon:"trash"}))),G().createElement(v,{withBlockControls:!0}),G().createElement(g,null),E&&G().createElement("style",null,`[data-block="${m}"] { ${E} }`),x&&G().createElement("style",null,`[data-aos-id="${h}"] { width: ${x}%;}`),G().createElement(b,null,G().createElement("div",(0,Co.A)({},y,{id:l}),G().createElement("div",{className:Yy("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(TH,{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(TH,{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:Yy(`blockart-button blockart-button-${t} `,n),"data-aos":d&&"none"!==d?d:void 0},G().createElement(bH,{tagName:"a",htmlAttrs:{className:Yy("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(TH,{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(TH,{name:s.icon}))))},deprecated:MH},BH=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"}'),VH={attributes:{...CH,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=PH()("blockart-button-link",i&&`is-${i}`,l&&`is-style-${l}`);return G().createElement("div",{id:a||null,className:(0,$.applyFilters)("blockart.button.classnames",PH()(`blockart-button blockart-button-${t} `,n))},G().createElement(bH,{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(rV,{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(rV,{type:"frontendIcon",name:s.icon,role:"img"}))))},migrate:e=>{var t;const r=[(0,Z.createBlock)("blockart/button-inner",{...e})];return[{justification:null!==(t=e?.alignment)&&void 0!==t?t:{desktop:"left"},flexWrap:!0,orientation:{desktop:"horizontal"}},r]}},NH=VH,zH={attributes:{...CH,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=PH()("blockart-button-link",i&&`is-${i}`,l&&`is-style-${l}`);return G().createElement("div",{id:a||null,className:PH()(`blockart-button blockart-button-${t} `,n)},G().createElement(bH,{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(rV,{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(rV,{type:"frontendIcon",name:s.icon}))))},migrate:e=>{var t;const r=[(0,Z.createBlock)("blockart/button-inner",{...e})];return[{justification:null!==(t=e?.alignment)&&void 0!==t?t:{desktop:"left"},flexWrap:!0,orientation:{desktop:"horizontal"}},r]}},FH=zH,HH={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=PH()(`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))}},jH=[NH,FH,HH],WH=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(hH,null),G().createElement(uH,null,G().createElement(fH,{title:(0,K.__)("Layout","blockart"),initialOpen:!0},G().createElement(TF,{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(MF,{leftIcon:G().createElement(vO,null),value:"horizontal"}),G().createElement(MF,{leftIcon:G().createElement(mO,null),value:"vertical"})),G().createElement(Rl,{my:"18px"},G().createElement(OF,{checked:null!=o&&o,label:(0,K.__)("Wrap to multiple lines","blockart"),onChange:()=>f({flexWrap:!o})})),G().createElement(bD,{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(bD,{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(dH,null,G().createElement(fH,{title:(0,K.__)("Properties","blockart"),initialOpen:!0},G().createElement(TF,{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(MF,{value:"left"},G().createElement(AT,null)),G().createElement(MF,{value:"center"},G().createElement(CT,null)),G().createElement(MF,{value:"right"},G().createElement(ST,null)),G().createElement(MF,{value:"space-between"},G().createElement(_T,null)),G().createElement(MF,{value:"space-around"},G().createElement(PT,null))),G().createElement(Rl,{mt:"18px"},G().createElement(TF,{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(MF,{value:"top"},G().createElement(kT,null)),G().createElement(MF,{value:"center"},G().createElement(wT,null)),G().createElement(MF,{value:"bottom"},G().createElement(xT,null)),G().createElement(MF,{value:"stretch"},G().createElement(PT,null)))))),G().createElement(pH,null,G().createElement(vH,{blockMargin:i,setAttributes:f,blockPadding:l,blockZIndex:s,cssID:c,className:m,hasblockHTML:!1}),G().createElement(gH,{hideOnDesktop:u,hideOnTablet:d,hideOnMobile:p,setAttributes:f})))},ZH=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},$H="blockart/button-inner",UH=BH.name,GH={...BH,icon:G().createElement(rV,{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}=pE(e),{device:g}=ME(),{CopyPasterStyleBlockControl:b}=EE(),{Style:y}=uE({blockName:"buttons",clientId:v,attributes:e.attributes,device:g}),E=ZH({orientation:l,justification:s,alignment:p}),k=(0,q.useInnerBlocksProps)({id:u,className:Yy(`blockart-buttons blockart-buttons-${v}`,{"is-wrap":c,..."mobile"===g?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"===g?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:[$H],template:[[$H]],templateLock:!1,templateInsertUpdatesSelection:!0,renderAppender:q.InnerBlocks.DefaultBlockAppender}),w=IH(m);return G().createElement(G().Fragment,null,G().createElement(WH,{attributes:e.attributes,setAttributes:h}),G().createElement(q.BlockControls,{group:"block"},G().createElement(fE.ToolbarGroup,null,G().createElement(fE.Button,{label:(0,K.__)("Add Button","blockart"),onClick:()=>{const{getBlocks:t}=(0,dE.select)("core/block-editor"),{replaceInnerBlocks:r}=(0,dE.dispatch)("core/block-editor"),n=[...t(e.clientId)];n.push((0,Z.createBlock)("blockart/button-inner")),r(e.clientId,n,!1)},icon:"plus"}))),G().createElement(b,{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=ZH({alignment:i,orientation:a,justification:o}),c=q.useInnerBlocksProps.save({className:Yy(`blockart-buttons blockart-buttons-${t}`,{"is-wrap":n},...Object.values(s),r)}),u=null!=l?l:"div";return G().createElement(u,c)},deprecated:jH},qH=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"}'),KH=[{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"}],YH={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"},XH=({level:e})=>YH.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:YH[e]})):null,QH=e=>{const{onClose:t,isOpen:r,onToggle:n}=vr(),a=G().useRef(document.querySelector(".interface-interface-skeleton__content"));return G().createElement(ls,{className:"blockart-sidebar-drawer-component"},G().createElement(Yl,{justify:"space-between"},G().createElement(ms,null,e.label),G().createElement(Lb,{variant:"icon",onClick:n},G().createElement(Rl,{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(zT,null)))),G().createElement(ku,{containerRef:a},r&&G().createElement(G().Fragment,null,G().createElement(Rl,{pos:"absolute",top:"0",bottom:"0",right:"0",w:"280px",zIndex:2,background:"white",height:"max-content"},G().createElement(Rl,{position:"fixed",background:"white",borderLeft:"1px solid",borderTop:"1px solid",borderBottom:"1px solid",borderColor:"#E0E0E0",backdropBlur:12.5,width:"280px"},G().createElement(Yl,{justify:"flex-end"},G().createElement(Lb,{variant:"link",pos:"relative",top:"0",bottom:"0",right:"0",p:"10px",onClick:t},G().createElement(rV,{type:"controlIcon",name:"close",size:15}))),e.children),G().createElement(Rl,{onClick:t,pos:"absolute",zIndex:"1",top:0,left:0,right:0,bottom:0,p:"12px 18px"})))))},JH=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:g,titleEnable:b,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(hH,null),G().createElement(uH,null,G().createElement(fH,{title:(0,K.__)("Design","blockart"),initialOpen:!0},G().createElement(QH,{label:(0,K.__)("Preset","blockart")},G().createElement(Rl,{borderTop:"1px solid #E0E0E0"},G().createElement(TF,{responsive:!1,value:A,onChange:e=>M({layout:e}),label:(0,K.__)("Preset","blockart"),groupProps:FS},[{label:(0,K.__)("Layout 1","blockart"),value:"layout-1",icon:tO},{label:(0,K.__)("Layout 2","blockart"),value:"layout-2",icon:rO},{label:(0,K.__)("Layout 3","blockart"),value:"layout-3",icon:nO},{label:(0,K.__)("Layout 4","blockart"),value:"layout-4",icon:aO}].map((e=>G().createElement(MF,{key:e.value,value:e.value},G().createElement(e.icon,null),e.label))))))),G().createElement(fH,{title:(0,K.__)("Title","blockart")},G().createElement(OF,{checked:b,onChange:()=>M({titleEnable:!b}),label:(0,K.__)("Enable","blockart")}),b&&G().createElement(G().Fragment,null,G().createElement(Bz,{options:KH,onChange:e=>M({markup:e}),value:t,label:(0,K.__)("HTML Markup","blockart")}))),G().createElement(fH,{title:(0,K.__)("Description","blockart")},G().createElement(OF,{checked:k,onChange:()=>M({textEnable:!k}),label:(0,K.__)("Enable","blockart")})),G().createElement(fH,{title:(0,K.__)("Button","blockart")},G().createElement(OF,{label:(0,K.__)("Enable","blockart"),checked:C||!1,onChange:()=>M({buttonEnable:!C})}),C&&G().createElement(G().Fragment,null,G().createElement(IF,{label:(0,K.__)("URL","blockart"),onChange:e=>M({link:e}),value:n,placeholder:"https://",newTab:!0})))),G().createElement(dH,null,G().createElement(fH,{title:(0,K.__)("Properties","blockart"),initialOpen:!0},G().createElement(TF,{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(MF,{value:"left"},G().createElement(gT,null)),G().createElement(MF,{value:"center"},G().createElement(yT,null)),G().createElement(MF,{value:"right"},G().createElement(bT,null)))),G().createElement(fH,{title:(0,K.__)("Background","blockart")},G().createElement(Iz,{label:(0,K.__)("Type","blockart")},G().createElement(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:r,resetKey:"background",onReset:e=>{M({background:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(Cz,{value:r,onChange:e=>M({background:e})})))))),G().createElement(fH,{title:(0,K.__)("Title","blockart")},G().createElement(Iz,{label:(0,K.__)("Text Color","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:g,id:"titleColor"}]}));return rE(g)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{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(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:g,resetKey:"titleColor",onReset:e=>{M({titleColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:g,onChange:e=>M({titleColor:e})}))))),G().createElement(kD,{value:v,onChange:e=>M({titleTypography:e}),resetAttributeKey:"titleTypography"})),G().createElement(fH,{title:(0,K.__)("Description","blockart")},G().createElement(Iz,{label:(0,K.__)("Text Color","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:E,id:"textColor"}]}));return rE(E)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{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(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:E,resetKey:"textColor",onReset:e=>{M({textColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:E,onChange:e=>M({textColor:e})}))))),G().createElement(kD,{value:y,onChange:e=>M({textTypography:e}),resetAttributeKey:"textTypography"})),G().createElement(fH,{title:(0,K.__)("Button","blockart")},G().createElement(Iz,{label:(0,K.__)("Text Color","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:P,id:"buttonColor"}]}));return rE(P)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{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(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:P,resetKey:"buttonColor",onReset:e=>{M({buttonColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:P,onChange:e=>M({buttonColor:e})}))))),G().createElement(Iz,{label:(0,K.__)("Background","blockart")},G().createElement(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:w,resetKey:"buttonBackground",onReset:e=>{M({buttonBackground:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(Cz,{value:w,onChange:e=>M({buttonBackground:e})}))))),G().createElement(kD,{value:x,onChange:e=>M({buttonTypography:e}),resetAttributeKey:"buttonTypography"}),G().createElement(OF,{onChange:()=>M({buttonBorderEnable:!R}),checked:R||!1,label:(0,K.__)("Border","blockart")}),R&&G().createElement(Mz,{value:_,onChange:e=>M({buttonBorder:e}),resetAttributeKey:"buttonBorder"})),G().createElement(fH,{title:(0,K.__)("Border","blockart")},G().createElement(vl,{variant:"border"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart")),G().createElement(gl,null,(0,K.__)("Hover","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(Mz,{value:o,onChange:e=>{M({border:e})},resetAttributeKey:"border"}),G().createElement(Vz,{resetAttributeKey:"boxShadow",value:l,onChange:e=>M({boxShadow:e})})),G().createElement(yl,null,G().createElement(Mz,{value:i,onChange:e=>{M({hoverBorder:e})},resetAttributeKey:"hoverBorder"}),G().createElement(Vz,{resetAttributeKey:"boxShadowHover",value:s,onChange:e=>M({boxShadowHover:e})})))))),G().createElement(pH,null,G().createElement(vH,{blockMargin:S,setAttributes:M,blockPadding:c,blockZIndex:u,cssID:d,className:f,hasblockHTML:!1}),G().createElement(gH,{hideOnDesktop:p,hideOnTablet:m,hideOnMobile:h,setAttributes:M})))},ej=qH.name,tj={...qH,icon:G().createElement(rV,{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}=pE(e),{device:f}=ME(),{CopyPasterStyleBlockControl:v}=EE(),{Style:g}=uE({blockName:"call-to-action",clientId:h,attributes:e.attributes,device:f});return G().createElement(G().Fragment,null,G().createElement(JH,{attributes:e.attributes,setAttributes:e.setAttributes}),G().createElement(q.BlockControls,{group:"block"},G().createElement(fE.ToolbarDropdownMenu,{icon:G().createElement(XH,{level:t}),label:(0,K.__)("Change heading level","blockart"),controls:KH.map((({value:e,label:r})=>{{const n=e===t;return{icon:G().createElement(XH,{level:e,isPressed:n}),title:r,isActive:n,onClick(){m({markup:e})},role:"menuitemradio"}}}))})),G().createElement(v,{withBlockControls:!0}),G().createElement(g,null),G().createElement("div",{className:Yy(`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:Yy("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:Yy("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:Yy("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:Yy(`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:Yy("blockart-title",p?._className),tagName:t,value:o}),c&&G().createElement(q.RichText.Content,{className:Yy("blockart-text",m?._className),tagName:"p",value:r})),s&&G().createElement("div",{className:"blockart-button-wrapper"},G().createElement(bH,{tagName:"a",htmlAttrs:{className:Yy("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}))))}},rj=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"}'),nj=[{save:e=>{const{attributes:{clientId:t,className:r,cssID:n}}=e;return G().createElement("div",{id:null!=n?n:void 0,className:PH()(`blockart-column blockart-column-${t}`,r)},G().createElement("div",{className:"blockart-column-inner"},G().createElement(q.InnerBlocks.Content,null)))}}],aj=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},oj=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:g,cssID:b,className:y,justification:E,orientation:k,alignment:w,columnGap:x,rowGap:_,enableFlex:P},setAttributes:C}=e;return G().createElement(G().Fragment,null,G().createElement(hH,null),G().createElement(uH,null,G().createElement(fH,{title:(0,K.__)("Layout","blockart"),initialOpen:!0},G().createElement(bD,{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(OF,{checked:P,onChange:()=>C({enableFlex:!P}),label:(0,K.__)("Enable Flex","blockart")}),P&&G().createElement(G().Fragment,null,G().createElement(TF,{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(MF,{leftIcon:G().createElement(vO,null),value:"horizontal"}),G().createElement(MF,{leftIcon:G().createElement(mO,null),value:"vertical"})),G().createElement(bD,{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(bD,{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(dH,null,G().createElement(fH,{title:(0,K.__)("Properties","blockart"),initialOpen:!0},G().createElement(TF,{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(MF,{value:"left"},G().createElement(AT,null)),G().createElement(MF,{value:"center"},G().createElement(CT,null)),G().createElement(MF,{value:"right"},G().createElement(ST,null))),G().createElement(Rl,{mt:"18px"},G().createElement(TF,{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(MF,{value:"top"},G().createElement(kT,null)),G().createElement(MF,{value:"center"},G().createElement(wT,null)),G().createElement(MF,{value:"bottom"},G().createElement(xT,null)),G().createElement(MF,{value:"stretch"},G().createElement(PT,null))))),G().createElement(fH,{title:(0,K.__)("Background","blockart")},G().createElement(Iz,{label:(0,K.__)("Type","blockart")},G().createElement(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart")),G().createElement(gl,null,(0,K.__)("Hover","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:r,resetKey:"background",onReset:e=>{C({background:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(Cz,{value:r,onChange:e=>C({background:e})})),G().createElement(yl,null,G().createElement(FI,{saved:a,resetKey:"hoverBackground",onReset:e=>{C({hoverBackground:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(Cz,{value:a,onChange:e=>C({hoverBackground:e})})))))),G().createElement(fH,{title:(0,K.__)("Overlay","blockart")},G().createElement(OF,{checked:o,onChange:()=>C({overlay:!o}),label:(0,K.__)("Enable","blockart")}),o&&G().createElement(G().Fragment,null,G().createElement(Iz,{label:(0,K.__)("Type","blockart")},G().createElement(Rl,{padding:4},G().createElement(FI,{saved:i,resetKey:"overlayBackground",onReset:e=>{C({overlayBackground:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(Cz,{value:i,onChange:e=>C({overlayBackground:e})}))),G().createElement(bD,{onChange:e=>C({opacity:e}),label:(0,K.__)("Background Opacity","blockart"),step:.1,min:0,max:1,value:n,resetAttributeKey:"opacity"}),G().createElement(bD,{onChange:e=>C({blurEffect:e}),label:(0,K.__)("Blur Effect","blockart"),step:1,min:0,max:10,value:l,resetAttributeKey:"blurEffect"}))),G().createElement(fH,{title:(0,K.__)("Border","blockart")},G().createElement(vl,{variant:"border"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart")),G().createElement(gl,null,(0,K.__)("Hover","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(Mz,{value:s,onChange:e=>{C({border:e})},resetAttributeKey:"border"}),G().createElement(Vz,{resetAttributeKey:"boxShadow",value:u,onChange:e=>C({boxShadow:e})})),G().createElement(yl,null,G().createElement(Mz,{value:c,onChange:e=>{C({borderHover:e})},resetAttributeKey:"borderHover"}),G().createElement(Vz,{resetAttributeKey:"boxShadowHover",value:d,onChange:e=>C({boxShadowHover:e})})))))),G().createElement(pH,null,G().createElement(vH,{blockMargin:p,setAttributes:C,blockPadding:m,blockZIndex:h,cssID:b,className:y,hasblockHTML:!1}),G().createElement(gH,{hideOnDesktop:f,hideOnTablet:v,hideOnMobile:g,setAttributes:C})))},ij=rj.name,lj={...rj,icon:G().createElement(rV,{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}=pE(e),{device:g}=ME(),{CopyPasterStyleBlockControl:b}=EE(),{Style:y}=uE({blockName:"column",clientId:v,attributes:e.attributes,device:g}),E=aj({orientation:u,justification:d,alignment:p}),k=(0,$.applyFilters)("blockart.column.classnames",Yy(`blockart-column blockart-column-${v}`,c)),{columnsIds:w,hasChildBlocks:x,rootClientId:_}=(0,dE.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,dE.select)("core/block-editor"),{replaceInnerBlocks:a}=(0,dE.dispatch)("core/block-editor"),o=r(e.clientId,_),i=[...n(_)];"delete"===t?i.splice(o,1):i.splice(o+1,0,(0,Z.createBlock)("blockart/column")),a(_,i,!1)},C=(0,q.useInnerBlocksProps)({className:Yy("blockart-column-inner",{..."mobile"===g?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"===g?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(oj,{attributes:e.attributes,setAttributes:f}),G().createElement(q.BlockControls,null,G().createElement(fE.ToolbarGroup,null,G().createElement(fE.Button,{label:(0,K.__)("Add Column","blockart"),onClick:()=>P("add"),icon:"plus"}),w.length>1&&G().createElement(fE.Button,{label:(0,K.__)("Delete Column","blockart"),onClick:()=>P("delete"),icon:"trash"}))),G().createElement(b,{withBlockControls:!0}),G().createElement(y,null),G().createElement("style",null,`#block-${e.clientId} { width: ${l[g]}%; }`),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=aj({orientation:a,justification:o,alignment:i});return G().createElement("div",{id:null!=n?n:void 0,className:Yy(`blockart-column blockart-column-${t}`,r)},G().createElement("div",{className:Yy("blockart-column-inner",...Object.values(s),{"is-flex":l})},G().createElement(q.InnerBlocks.Content,null)))},deprecated:nj},sj=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"}'),cj=window.wp.date,uj=({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:Yy("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:Yy("blockart-countdown-number",n?._className)},d),o&&G().createElement("span",{className:Yy("blockart-countdown-label",a?._className)},u)),G().createElement("div",{className:"blockart-countdown-items blockart-countdown-item-hours"},G().createElement("span",{id:"hours",className:Yy("blockart-countdown-number",n?._className)},p),o&&G().createElement("span",{className:Yy("blockart-countdown-label",a?._className)},i)),G().createElement("div",{className:"blockart-countdown-items blockart-countdown-item-minutes"},G().createElement("span",{id:"minutes",className:Yy("blockart-countdown-number",n?._className)},m),o&&G().createElement("span",{className:Yy("blockart-countdown-label",a?._className)},l)),G().createElement("div",{className:"blockart-countdown-items blockart-countdown-item-second"},G().createElement("span",{id:"seconds",className:Yy("blockart-countdown-number",n?._className)},h),o&&G().createElement("span",{className:Yy("blockart-countdown-label",a?._className)},s)))},dj=(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()},pj=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:g,alignment:b,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,cj.getSettings)();return G().createElement(G().Fragment,null,G().createElement(hH,null),G().createElement(uH,null,G().createElement(fH,{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(fE.DateTimePicker,{currentDate:p?.expiryDate,onChange:e=>{var t,r,n;M({date:{expiryDate:e,timestamp:dj(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(fH,{title:(0,K.__)("Design","blockart")},G().createElement(QH,{label:(0,K.__)("Preset","blockart")},G().createElement(Rl,{borderTop:"1px solid #E0E0E0"},G().createElement(TF,{responsive:!1,value:_,onChange:e=>M({layout:e}),label:(0,K.__)("Preset","blockart"),groupProps:FS},[{label:(0,K.__)("Default","blockart"),value:"default",icon:uO},{label:(0,K.__)("Layout 1","blockart"),value:"layout-1",icon:oO},{label:(0,K.__)("Layout 2","blockart"),value:"layout-2",icon:iO},{label:(0,K.__)("Layout 3","blockart"),value:"layout-3",icon:lO},{label:(0,K.__)("Layout 4","blockart"),value:"layout-4",icon:sO},{label:(0,K.__)("Layout 5","blockart"),value:"layout-5",icon:cO}].map((e=>G().createElement(MF,{key:e.value,value:e.value},G().createElement(e.icon,null),e.label))))))),G().createElement(fH,{title:(0,K.__)("Label","blockart")},G().createElement(OF,{checked:k,onChange:()=>M({textToggle:!k}),label:(0,K.__)("Enable","blockart")}),k&&G().createElement(G().Fragment,null,G().createElement(zS,{label:(0,K.__)("Days Label","blockart"),type:"text",value:s,onChange:e=>M({daysLabel:e})}),G().createElement(zS,{label:(0,K.__)("Hours Label","blockart"),type:"text",value:c,onChange:e=>M({hoursLabel:e})}),G().createElement(zS,{label:(0,K.__)("Minutes Label","blockart"),type:"text",value:u,onChange:e=>M({minutesLabel:e})}),G().createElement(zS,{label:(0,K.__)("Seconds Label","blockart"),type:"text",value:d,onChange:e=>M({secondsLabel:e})})))),G().createElement(dH,null,G().createElement(fH,{title:(0,K.__)("Properties","blockart"),initialOpen:!0},G().createElement(TF,{value:b,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(MF,{value:"start"},G().createElement(AT,null)),G().createElement(MF,{value:"center"},G().createElement(CT,null)),G().createElement(MF,{value:"end"},G().createElement(ST,null)))),G().createElement(fH,{title:(0,K.__)("Label","blockart")},G().createElement(Iz,{label:(0,K.__)("Text Color","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:y,id:"labelColor"}]}));return rE(y)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{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(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:y,resetKey:"labelColor",onReset:e=>{M({labelColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:y,onChange:e=>M({labelColor:e})}))))),G().createElement(kD,{value:E,onChange:e=>M({labelTypography:e}),resetAttributeKey:"labelTypography"})),G().createElement(fH,{title:(0,K.__)("Digit","blockart")},G().createElement(Iz,{label:(0,K.__)("Text Color","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:f,id:"digitColor"}]}));return rE(f)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{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(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:f,resetKey:"digitColor",onReset:e=>{M({digitColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:f,onChange:e=>M({digitColor:e})}))))),G().createElement(kD,{value:v,onChange:e=>M({digitTypography:e}),resetAttributeKey:"digitTypography"})),G().createElement(fH,{title:(0,K.__)("Separator","blockart")},G().createElement(Bz,{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(Iz,{label:(0,K.__)("Color","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:h,id:"separatorColor"}]}));return rE(h)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{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(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:h,resetKey:"separatorColor",onReset:e=>{M({separatorColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:h,onChange:e=>M({separatorColor:e})}))))),G().createElement(bD,{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(fH,{title:(0,K.__)("Box","blockart")},G().createElement(Iz,{label:(0,K.__)("Background","blockart")},G().createElement(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:C,resetKey:"boxBackground",onReset:e=>{M({boxBackground:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(Cz,{value:C,onChange:e=>M({boxBackground:e})}))))),G().createElement(Rl,{pt:"1px"},G().createElement(bD,{resetAttributeKey:"digitGap",label:(0,K.__)("Gap","blockart"),min:0,max:100,value:g,onChange:e=>M({digitGap:e}),responsive:!0,units:["px","em","%"]})),G().createElement(Hz,{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(OF,{checked:S,onChange:()=>M({boxBorderEnable:!S}),label:(0,K.__)("Border","blockart")}),S&&G().createElement(Mz,{resetAttributeKey:"boxBorder",value:A,onChange:e=>M({boxBorder:e})})),G().createElement(fH,{title:(0,K.__)("Border","blockart")},G().createElement(Mz,{resetAttributeKey:"blockBorder",value:w,onChange:e=>M({blockBorder:e})}))),G().createElement(pH,null,G().createElement(vH,{blockMargin:R,setAttributes:M,blockPadding:r,blockZIndex:t,cssID:n,className:l,hasblockHTML:!1}),G().createElement(gH,{hideOnDesktop:a,hideOnTablet:o,hideOnMobile:i,setAttributes:M})))},mj=sj.name,hj={...sj,icon:G().createElement(rV,{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}=pE(e),{device:f}=ME(),{CopyPasterStyleBlockControl:v}=EE(),{Style:g}=uE({blockName:"countdown",clientId:h,attributes:e.attributes,device:f});let b=(0,cj.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:dj(a,null!==(e=b?.timezone?.offset)&&void 0!==e?e:0),timezone:null!==(t=b?.timezone?.string)&&void 0!==t?t:"",timezoneOffset:null!==(r=b?.timezone?.offset)&&void 0!==r?r:0}})}}),[]),G().createElement(G().Fragment,null,G().createElement(pj,{attributes:e.attributes,setAttributes:m}),G().createElement(v,{withBlockControls:!0}),G().createElement(g,null),G().createElement(uj,{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:Yy("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:Yy("blockart-countdown-number","blockart-countdown-number-days",d?._className)},"{{DAYS}}"),o&&G().createElement("span",{className:Yy("blockart-countdown-label",p?._className)},i)),G().createElement("div",{className:"blockart-countdown-items blockart-countdown-item-hours"},G().createElement("span",{className:Yy("blockart-countdown-number","blockart-countdown-number-hours",d?._className)},"{{HOURS}}"),o&&G().createElement("span",{className:Yy("blockart-countdown-label",p?._className)},l)),G().createElement("div",{className:"blockart-countdown-items blockart-countdown-item-minutes"},G().createElement("span",{className:Yy("blockart-countdown-number","blockart-countdown-number-minutes",d?._className)},"{{MINUTES}}"),o&&G().createElement("span",{className:Yy("blockart-countdown-label",p?._className)},s)),G().createElement("div",{className:"blockart-countdown-items blockart-countdown-item-second"},G().createElement("span",{className:Yy("blockart-countdown-number","blockart-countdown-number-seconds",d?._className)},"{{SECONDS}}"),o&&G().createElement("span",{className:Yy("blockart-countdown-label",p?._className)},c)))}},fj=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 vj=function(){return vj=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},vj.apply(this,arguments)},gj=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=vj(vj({},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 bj=[{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"}],yj={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})=>yj.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:yj[e]})):null,kj=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:g,animationDuration:b,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(hH,null),G().createElement(uH,null,G().createElement(fH,{title:(0,K.__)("Layout","blockart"),initialOpen:!0},G().createElement(PF,{label:(0,K.__)("Start Number","blockart"),value:v,onChange:e=>M({startNumber:e})}),G().createElement(PF,{label:(0,K.__)("End Number","blockart"),value:g,onChange:e=>M({endNumber:e})}),G().createElement(bD,{label:"Decimal Places",value:E,onChange:e=>M({numberDecimals:e}),min:0,max:10,step:1}),G().createElement(zS,{label:(0,K.__)("Number Prefix","blockart"),type:"text",value:k,onChange:e=>M({numberPrefix:e})}),G().createElement(zS,{label:(0,K.__)("Number Suffix","blockart"),type:"text",value:w,onChange:e=>M({numberSuffix:e})}),G().createElement(PF,{label:(0,K.__)("Animation Duration (Sec)","blockart"),value:b,onChange:e=>M({animationDuration:e})}),G().createElement(Bz,{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(fH,{title:(0,K.__)("Icon","blockart")},G().createElement(_F,{hasToggle:!0,value:h,onChange:e=>M({icon:e})})),G().createElement(fH,{title:(0,K.__)("Number","blockart")},G().createElement(Bz,{options:bj,onChange:e=>M({markup:e}),value:t,label:(0,K.__)("HTML Markup","blockart")})),G().createElement(fH,{title:(0,K.__)("Text","blockart")},G().createElement(Bz,{options:bj,onChange:e=>M({contentMarkup:e}),value:C,label:(0,K.__)("Text Markup","blockart")}))),G().createElement(dH,null,G().createElement(fH,{title:(0,K.__)("Properties","blockart"),initialOpen:!0},G().createElement(TF,{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(MF,{value:"left"},G().createElement(gT,null)),G().createElement(MF,{value:"center"},G().createElement(yT,null)),G().createElement(MF,{value:"right"},G().createElement(bT,null)))),h.enable&&G().createElement(fH,{title:(0,K.__)("Icon","blockart")},G().createElement(G().Fragment,null,G().createElement(Iz,{label:(0,K.__)("Icon Color","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:A,id:"iconColor"}]}));return rE(A)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{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(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:A,resetKey:"iconColor",onReset:e=>{M({iconColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:A,onChange:e=>M({iconColor:e})}))))),G().createElement(bD,{resetAttributeKey:"iconSize",label:(0,K.__)("Size","blockart"),min:0,max:100,value:f,onChange:e=>M({iconSize:e}),defaultUnit:"px",forceShowUnit:!0}))),G().createElement(fH,{title:(0,K.__)("Number","blockart")},G().createElement(Iz,{label:(0,K.__)("Color","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:m,id:"numberColor"}]}));return rE(m)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{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(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:m,resetKey:"numberColor",onReset:e=>{M({numberColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:m,onChange:e=>M({numberColor:e})}))))),G().createElement(kD,{onChange:e=>M({numberTypography:e}),value:_}),G().createElement(Hz,{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(fH,{title:(0,K.__)("Text","blockart")},G().createElement(Iz,{label:(0,K.__)("Text Color","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:r,id:"textColor"}]}));return rE(r)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{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(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:r,resetKey:"textColor",onReset:e=>{M({textColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:r,onChange:e=>M({textColor:e})}))))),G().createElement(kD,{onChange:e=>M({typography:e}),value:i})),G().createElement(fH,{title:(0,K.__)("Background","blockart")},G().createElement(Iz,{label:(0,K.__)("Type","blockart")},G().createElement(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:a,resetKey:"background",onReset:e=>{M({background:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(Cz,{value:a,onChange:e=>M({background:e})})))))),G().createElement(fH,{title:(0,K.__)("Border","blockart")},G().createElement(vl,{variant:"border"},G().createElement(bl,null,G().createElement(gl,null,"Normal"),G().createElement(gl,null,"Hover")),G().createElement(El,null,G().createElement(yl,null,G().createElement(Mz,{value:l,onChange:e=>{M({border:e})},resetAttributeKey:"border"})),G().createElement(yl,null,G().createElement(Mz,{value:x,onChange:e=>{M({hoverBorder:e})},resetAttributeKey:"hoverBorder"})))))),G().createElement(pH,null,G().createElement(vH,{blockMargin:S,setAttributes:M,blockPadding:s,blockZIndex:R,cssID:P,className:p,hasblockHTML:!1}),G().createElement(gH,{hideOnDesktop:c,hideOnTablet:u,hideOnMobile:d,setAttributes:M})))},wj=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(TH,{style:{display:"unset"},name:t?.icon})),G().createElement("div",{className:"blockart-counter-wrapper"},G().createElement(bH,{tagName:n,htmlAttrs:{className:Yy("blockart-counter-number",s?.__className),id:r}},i)),G().createElement("div",{className:"blockart-counter-content"},G().createElement(q.RichText,{className:Yy("blockart-counter-text",l?.__className),tagName:a,placeholder:(0,K.__)("Add Your Title Here…","blockart"),value:o,onChange:e=>{c({text:e})}})))},xj=fj.name,_j={...fj,icon:G().createElement(rV,{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}=pE(e),{device:g}=ME(),{CopyPasterStyleBlockControl:b}=EE(),{Style:y}=uE({blockName:"counter",clientId:v,attributes:e.attributes,device:g}),E=(0,U.useRef)();return(0,U.useEffect)((()=>{E.current&&E.current.reset(),E.current=new gj(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(kj,{attributes:e.attributes,setAttributes:f}),G().createElement(q.BlockControls,{group:"block"},G().createElement(fE.ToolbarDropdownMenu,{icon:G().createElement(Ej,{level:t}),label:(0,K.__)("Change heading level","blockart"),controls:bj.map((({value:e,label:r})=>{{const n=e===t;return{icon:G().createElement(Ej,{level:e,isPressed:n}),title:r,isActive:n,onClick(){f({markup:e})},role:"menuitemradio"}}}))})),G().createElement(b,{withBlockControls:!0}),G().createElement(y,null),G().createElement("div",{className:Yy(`blockart-counter blockart-counter-${v}`,n)},G().createElement(wj,{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:Yy(`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(TH,{name:o.icon})),G().createElement("div",{className:"blockart-counter-wrapper"},G().createElement(bH,{tagName:r,htmlAttrs:{id:"countup"}},u,G().createElement("span",{className:Yy("blockart-counter-number",f?.__className)},i),d)),G().createElement("div",{className:"blockart-counter-content"},G().createElement(q.RichText.Content,{className:Yy("blockart-counter-text",h?.__className),tagName:l,value:n})))))}},Pj=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"}'),Cj=Pj.name,Aj={...Pj,icon:G().createElement(rV,{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}=pE(e),{device:h}=ME(),{CopyPasterStyleBlockControl:f}=EE(),{Style:v}=uE({blockName:"faq-inner",clientId:m,attributes:e.attributes,device:h}),{updateBlockAttributes:g}=(0,dE.dispatch)("core/block-editor"),{rootClientId:b,rootBlockAttributes:y,rootFirstChildClientId:E}=(0,dE.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=Yy(r&&("filled"===t||"outline"===t)&&`is-${r}`,t&&`is-style-${t}`,i&&`is-hover-${i}`),w=(0,q.useBlockProps)({className:Yy(`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;qy(a)||(t+=`${n}: ${a}px;`)}return t})(l);function _(){u||g(b,{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,dE.select)("core/block-editor"),{replaceInnerBlocks:a}=(0,dE.dispatch)("core/block-editor"),o=r(e.clientId,b),i=[...n(b)];"delete"===t?i.splice(o,1):i.splice(o+1,0,(0,Z.createBlock)("blockart/faq-inner")),a(b,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(fE.ToolbarGroup,null,G().createElement(fE.Button,{label:(0,K.__)("Add button","blockart"),onClick:()=>C("add"),icon:"plus"}),G().createElement(fE.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:Yy("blockart-control",u?"blockart-faq-focused":"")},G().createElement("div",{className:"blockart-faq-title-wrapper"},"left"===y?.iconPosition&&G().createElement(TH,{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(TH,{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:Yy("blockart-control")},G().createElement("div",{className:"blockart-faq-title-wrapper"},"left"===o&&G().createElement(G().Fragment,null,G().createElement(TH,{name:a,size:24,className:"blockart-faq-expand-icon"}),G().createElement(TH,{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(TH,{name:a,size:24,className:"blockart-faq-expand-icon"}),G().createElement(TH,{name:n,size:24,className:"blockart-faq-collapse-icon"}))),G().createElement("div",{className:"blockart-faq-content"},G().createElement(q.RichText.Content,{value:r})))}},Sj=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"]}'),Rj=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:g,questionTypography:b,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:O,itemsSeparatorColor2:I,questionColor1:L,questionColor2:D,questionBackground1:B,questionBackground2:V,answerColor1:N,answerColor2:z,answerBackground1:F,answerBackground2:H,clientId:j},setAttributes:W}=e,Z=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(hH,null),G().createElement(uH,null,G().createElement(fH,{title:(0,K.__)("General","blockart"),initialOpen:!0},G().createElement(OF,{checked:null!=E&&E,label:(0,K.__)("Expand first Item","blockart"),onChange:()=>W({expandFirst:!E})}),G().createElement(OF,{checked:null!=y&&y,label:(0,K.__)("Collapse other items","blockart"),onChange:()=>W({collapseOthers:!y})}),G().createElement(OF,{checked:null!=k&&k,label:(0,K.__)("Add FAQ Schema","blockart"),onChange:()=>W({enableSchema:!k})})),G().createElement(fH,{title:(0,K.__)("Icon","blockart")},G().createElement(_F,{value:A||{},onChange:e=>W({expandIcon:e}),hasToggle:!1}),G().createElement(_F,{value:S||{},onChange:e=>W({collapseIcon:e}),hasToggle:!1}),G().createElement(TF,{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(MF,{value:"left"},G().createElement(gT,null)),G().createElement(MF,{value:"right"},G().createElement(bT,null))),G().createElement(bD,{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(bD,{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(fH,{title:(0,K.__)("Separator","blockart")},G().createElement(G().Fragment,null,G().createElement(bD,{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(Iz,{label:(0,K.__)("Color","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:"filled"===Z?[{color:O,id:"itemsSeparatorColor1"}]:[{color:I,id:"itemsSeparatorColor2"}]}));return rE("filled"===Z?O:I)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{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(vl,{position:"relative",size:"sm"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:O,resetKey:"color",onReset:e=>{W("filled"===Z?{itemsSeparatorColor1:e}:{itemsSeparatorColor2:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:"filled"===Z?O:I,onChange:e=>W("filled"===Z?{itemsSeparatorColor1:e}:{itemsSeparatorColor2:e})})))))))),G().createElement(dH,null,G().createElement(fH,{title:(0,K.__)("Question","blockart")},G().createElement(Iz,{label:(0,K.__)("Color","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:"filled"===Z?[{color:L,id:"questionColor1"}]:[{color:D,id:"questionColor2"}]}));return rE("filled"===Z?L:D)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{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(vl,{position:"relative",size:"sm"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:L,resetKey:"color",onReset:e=>{W("filled"===Z?{questionColor1:e}:{questionColor2:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:"filled"===Z?L:D,onChange:e=>W("filled"===Z?{questionColor1:e}:{questionColor2:e})}))))),G().createElement(Iz,{label:(0,K.__)("Background","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:"filled"===Z?[{color:B,id:"questionBackground1"}]:[{color:V,id:"questionBackground2"}]}));return rE("filled"===Z?B:V)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{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(vl,{position:"relative",size:"sm"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:B,resetKey:"color",onReset:e=>{W("filled"===Z?{questionBackground1:e}:{questionBackground2:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:"filled"===Z?B:V,onChange:e=>W("filled"===Z?{questionBackground1:e}:{questionBackground2:e})}))))),G().createElement(kD,{value:b,onChange:e=>W({questionTypography:e})}),G().createElement(TF,{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(MF,{value:"left"},G().createElement(gT,null)),G().createElement(MF,{value:"center"},G().createElement(yT,null)),G().createElement(MF,{value:"right"},G().createElement(bT,null)),G().createElement(MF,{value:"justify"},G().createElement(ET,null))),G().createElement(Hz,{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(fH,{title:(0,K.__)("Answer","blockart")},G().createElement(Iz,{label:(0,K.__)("Color","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:"filled"===Z?[{color:N,id:"answerColor1"}]:[{color:z,id:"answerColor2"}]}));return rE("filled"===Z?N:z)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{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(vl,{position:"relative",size:"sm"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:N,resetKey:"color",onReset:e=>{W("filled"===Z?{answerColor1:e}:{answerColor2:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:"filled"===Z?N:z,onChange:e=>W("filled"===Z?{answerColor1:e}:{answerColor2:e})}))))),G().createElement(Iz,{label:(0,K.__)("Background","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:"filled"===Z?[{color:F,id:"answerBackground1"}]:[{color:H,id:"answerBackground2"}]}));return rE("filled"===Z?F:H)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{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(vl,{position:"relative",size:"sm"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:F,resetKey:"color",onReset:e=>{W("filled"===Z?{answerBackground1:e}:{answerBackground2:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:"filled"===Z?F:H,onChange:e=>W("filled"===Z?{answerBackground1:e}:{answerBackground2:e})}))))),G().createElement(kD,{value:g,onChange:e=>W({answerTypography:e})}),G().createElement(TF,{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(MF,{value:"left"},G().createElement(gT,null)),G().createElement(MF,{value:"center"},G().createElement(yT,null)),G().createElement(MF,{value:"right"},G().createElement(bT,null)),G().createElement(MF,{value:"justify"},G().createElement(ET,null))),G().createElement(Hz,{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(pH,null,G().createElement(vH,{blockMargin:o,setAttributes:W,blockPadding:l}),G().createElement(gH,{hideOnDesktop:d,hideOnTablet:p,hideOnMobile:m,setAttributes:W})))},Mj=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},Tj="blockart/faq-inner",Oj=Sj.name,Ij={...Sj,icon:G().createElement(rV,{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:g,blockZIndex:b,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:O,answerAlignment:I,iconPosition:L,iconSize:D,iconGap:B,expandIcon:V,collapseIcon:N,questionPadding:z,answerPadding:F,itemsSeparatorWidth:H,itemsSeparatorColor1:j,itemsSeparatorColor2:W,questionColor1:$,questionColor2:U,questionBackground1:X,questionBackground2:Q,answerColor1:J,answerColor2:ee,answerBackground1:te,answerBackground2:re},setAttributes:ne}=e,{clientId:ae}=pE(e),{device:oe}=ME(),{CopyPasterStyleBlockControl:ie}=EE(),{Style:le}=uE({blockName:"faq",clientId:ae,attributes:e.attributes,device:oe}),se=Mj({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:Yy(`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:[Tj],template:[[Tj]],templateLock:!1,templateInsertUpdatesSelection:!0});return G().createElement(G().Fragment,null,G().createElement(Rj,{attributes:e.attributes,setAttributes:e.setAttributes}),G().createElement(q.BlockControls,{group:"block"},G().createElement(fE.ToolbarGroup,null,G().createElement(fE.Button,{label:(0,K.__)("Add Button","blockart"),onClick:()=>{const{getBlocks:t}=(0,dE.select)("core/block-editor"),{replaceInnerBlocks:r}=(0,dE.dispatch)("core/block-editor"),n=[...t(e.clientId)];n.push((0,Z.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=Mj({alignment:i,orientation:a,justification:o}),d=q.useInnerBlocksProps.save({className:Yy(`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)}},Lj=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"}'),Dj=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:g,hideOnTablet:b,hideOnMobile:y,className:E,blockMargin:k,width:w,fixedWidth:x},setAttributes:_}=e;return G().createElement(G().Fragment,null,G().createElement(hH,null),G().createElement(uH,null,G().createElement(fH,{title:(0,K.__)("Layout","blockart"),initialOpen:!0},G().createElement(TF,{value:s,onChange:e=>{_({size:e})},label:(0,K.__)("Size","blockart"),resetAttributeKey:"size",groupProps:{sx:{".chakra-button":{minH:"8"}}}},G().createElement(MF,{value:"small"},"Small"),G().createElement(MF,{value:"medium"},"Medium"),G().createElement(MF,{value:"large"},"Large")),G().createElement(Bz,{options:bj,onChange:e=>_({markup:e}),value:t,label:(0,K.__)("HTML Markup","blockart")}),G().createElement(TF,{value:w,onChange:e=>{_({width:e})},label:(0,K.__)("Width","blockart"),resetAttributeKey:"width",groupProps:{sx:{".chakra-button":{minH:"8"}}}},G().createElement(MF,{value:"100%"},"Auto"),G().createElement(MF,{value:"fit-content"},"Fit Content"),G().createElement(MF,{value:"fixed"},"Fixed")),"fixed"===w&&G().createElement(bD,{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(dH,null,G().createElement(fH,{title:(0,K.__)("Properties","blockart"),initialOpen:!0},G().createElement(TF,{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(MF,{value:"left"},G().createElement(gT,null)),G().createElement(MF,{value:"center"},G().createElement(yT,null)),G().createElement(MF,{value:"right"},G().createElement(bT,null)),G().createElement(MF,{value:"justify"},G().createElement(ET,null)))),G().createElement(fH,{title:(0,K.__)("Background","blockart")},G().createElement(Iz,{label:(0,K.__)("Type","blockart")},G().createElement(vl,{position:"relative",size:"sm"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart")),G().createElement(gl,null,(0,K.__)("Hover","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:o,resetKey:"background",onReset:e=>{_({background:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(Cz,{value:o,onChange:e=>_({background:e})})),G().createElement(yl,null,G().createElement(FI,{saved:i,resetKey:"hoverBackground",onReset:e=>{_({hoverBackground:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(Cz,{value:i,onChange:e=>_({hoverBackground:e})})))))),G().createElement(fH,{title:(0,K.__)("Heading","blockart")},G().createElement(Iz,{label:(0,K.__)("Text Color","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:r,id:"color"},{color:n,id:"hoverColor"}]}));return rE(r)||rE(n)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{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(vl,{position:"relative",size:"sm"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart")),G().createElement(gl,null,(0,K.__)("Hover","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:r,resetKey:"color",onReset:e=>{_({color:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:r,onChange:e=>_({color:e})})),G().createElement(yl,null,G().createElement(FI,{saved:n,resetKey:"hoverColor",onReset:e=>{_({hoverColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:n,onChange:e=>_({hoverColor:e})}))))),G().createElement(kD,{value:c,onChange:e=>_({typography:e}),resetAttributeKey:"typography"}),G().createElement(Hz,{label:(0,K.__)("Margin","blockart"),onChange:e=>_({margin:e}),value:a,responsive:!0,resetAttributeKey:"margin"})),G().createElement(fH,{title:(0,K.__)("Border","blockart")},G().createElement(vl,{variant:"border"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart")),G().createElement(gl,null,(0,K.__)("Hover","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(Mz,{value:u,onChange:e=>{_({border:e})},resetAttributeKey:"border"}),G().createElement(Vz,{resetAttributeKey:"boxShadow",value:p,onChange:e=>_({boxShadow:e})})),G().createElement(yl,null,G().createElement(Mz,{value:d,onChange:e=>{_({hoverBorder:e})},resetAttributeKey:"hoverBorder"}),G().createElement(Vz,{resetAttributeKey:"boxShadowHover",value:m,onChange:e=>_({boxShadowHover:e})})))))),G().createElement(pH,null,G().createElement(vH,{blockMargin:k,setAttributes:_,blockPadding:h,blockZIndex:f,cssID:v,className:E,hasblockHTML:!1}),G().createElement(gH,{hideOnDesktop:g,hideOnTablet:b,hideOnMobile:y,setAttributes:_})))},Bj=Lj.name,Vj={...Lj,icon:G().createElement(rV,{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}=pE(e),{device:c}=ME(),{CopyPasterStyleBlockControl:u}=EE(),{Style:d}=uE({blockName:"heading",clientId:s,attributes:e.attributes,device:c});return G().createElement(G().Fragment,null,G().createElement(Dj,{attributes:e.attributes,setAttributes:e.setAttributes}),G().createElement(q.BlockControls,{group:"block"},G().createElement(fE.ToolbarDropdownMenu,{icon:G().createElement(Ej,{level:t}),label:(0,K.__)("Change heading level","blockart"),controls:bj.map((({value:e,label:r})=>{{const n=e===t;return{icon:G().createElement(Ej,{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:Yy(`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:Yy(`blockart-heading blockart-heading-${i}`,o&&`is-${o}`,l?._className,n),tagName:t,value:r})}},Nj=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"}'),zj=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:g,background:b,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(hH,null),G().createElement(uH,null,G().createElement(fH,{title:(0,K.__)("Layout","blockart"),initialOpen:!0},G().createElement(bD,{label:(0,K.__)("Min Height","blockart"),value:P,min:0,max:1e3,step:1,onChange:e=>T({minHeight:e}),resetAttributeKey:"minHeight"})),G().createElement(fH,{title:(0,K.__)("Icon","blockart")},G().createElement(_F,{value:m,onChange:e=>T({icon:e})}),G().createElement(Iz,{label:(0,K.__)("Icon Color","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:g,id:"color"}]}));return rE(g)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{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(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:g,resetKey:"color",onReset:e=>{T({color:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:g,onChange:e=>T({color:e})}))))),G().createElement(bD,{label:(0,K.__)("Icon Size","blockart"),value:h,min:0,max:100,step:1,onChange:e=>T({iconSize:e}),resetAttributeKey:"iconSize"}),G().createElement(bD,{label:(0,K.__)("Icon Opacity","blockart"),value:f,min:0,max:1,step:.1,onChange:e=>T({iconOpacity:e}),resetAttributeKey:"iconOpacity"}),G().createElement(bD,{label:(0,K.__)("Icon Rotation","blockart"),value:v,min:0,max:360,step:1,onChange:e=>T({iconRotation:e}),resetAttributeKey:"iconRotation"}),G().createElement(IF,{label:(0,K.__)("URL","blockart"),onChange:e=>T({link:e}),value:R,placeholder:"https://",newTab:!0})),G().createElement(fH,{title:(0,K.__)("Design","blockart")},G().createElement(QH,{label:(0,K.__)("Preset","blockart")},G().createElement(Rl,{borderTop:"1px solid #E0E0E0"},G().createElement(TF,{responsive:!1,value:p,onChange:e=>T({presets:e}),label:(0,K.__)("Preset","blockart"),groupProps:FS},[{label:(0,K.__)("Fill","blockart"),value:"fill-preset",icon:GO},{label:(0,K.__)("Outline","blockart"),value:"outline-preset",icon:qO},{label:(0,K.__)("Rectangular Fill","blockart"),value:"rectangular-fill-preset",icon:KO},{label:(0,K.__)("Rectangular Outline","blockart"),value:"rectangular-outline-preset",icon:YO},{label:(0,K.__)("Rounded Fill","blockart"),value:"rounded-fill-preset",icon:XO},{label:(0,K.__)("Rounded Outline","blockart"),value:"rounded-outline-preset",icon:QO}].map((e=>G().createElement(MF,{key:e.value,value:e.value},G().createElement(e.icon,null),e.label)))))))),G().createElement(dH,null,G().createElement(fH,{title:(0,K.__)("Properties","blockart"),initialOpen:!0},G().createElement(TF,{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(MF,{value:"left"},G().createElement(gT,null)),G().createElement(MF,{value:"center"},G().createElement(yT,null)),G().createElement(MF,{value:"right"},G().createElement(bT,null))),G().createElement(TF,{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(MF,{value:"start"},G().createElement(kT,null)),G().createElement(MF,{value:"center"},G().createElement(wT,null)),G().createElement(MF,{value:"end"},G().createElement(xT,null)))),G().createElement(fH,{title:(0,K.__)("Icon","blockart")},G().createElement(Iz,{label:(0,K.__)("Background","blockart")},G().createElement(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:b,resetKey:"background",onReset:e=>{T({background:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(Cz,{value:b,onChange:e=>T({background:e})})))))),G().createElement(fH,{title:(0,K.__)("Icon Shape","blockart")},G().createElement(Iz,{label:(0,K.__)("Shape Color","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:E,id:"shapeColor"}]}));return rE(E)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{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(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:E,resetKey:"shapeColor",onReset:e=>{T({shapeColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:E,onChange:e=>T({shapeColor:e})}))))),G().createElement(bD,{label:(0,K.__)("Shape Border Radius","blockart"),value:k,min:0,max:100,step:1,onChange:e=>T({shapeBorderRadius:e}),resetAttributeKey:"shapeBorderRadius"}),G().createElement(Hz,{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(bD,{label:(0,K.__)("Shape Outline Width","blockart"),value:x,min:0,max:20,step:1,onChange:e=>T({shapeOutlineWidth:e}),resetAttributeKey:"shapeOutlineWidth"}),G().createElement(Iz,{label:(0,K.__)("Shape Outline Color","blockart"),trigger:e=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:_,id:"shapeOutlineColor"}]})),closeOnFocusOutside:!0},G().createElement(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:_,resetKey:"shapeOutlineColor",onReset:e=>{T({shapeOutlineColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:_,onChange:e=>T({shapeOutlineColor:e})})))))),G().createElement(fH,{title:(0,K.__)("Border","blockart")},G().createElement(vl,{variant:"border"},G().createElement(bl,null,G().createElement(gl,null,"Normal"),G().createElement(gl,null,"Hover")),G().createElement(El,null,G().createElement(yl,null,G().createElement(Mz,{value:t,onChange:e=>{T({border:e})},resetAttributeKey:"border"}),G().createElement(Vz,{resetAttributeKey:"boxShadow",value:n,onChange:e=>T({boxShadow:e})})),G().createElement(yl,null,G().createElement(Mz,{value:r,onChange:e=>{T({hoverBorder:e})},resetAttributeKey:"hoverBorder"}),G().createElement(Vz,{resetAttributeKey:"boxShadowHover",value:a,onChange:e=>T({boxShadowHover:e})})))))),G().createElement(pH,null,G().createElement(vH,{blockMargin:M,setAttributes:T,blockPadding:o,blockZIndex:i,cssID:l,className:d,hasblockHTML:!1}),G().createElement(gH,{hideOnDesktop:s,hideOnTablet:c,hideOnMobile:u,setAttributes:T})))},Fj=Nj.name,Hj={...Nj,icon:G().createElement(rV,{type:"blockIcon",name:"icon",size:24}),edit:e=>{const{attributes:{icon:t,presets:r,alignment:n,cssID:a,className:o}}=e,{clientId:i}=pE(e),{device:l}=ME(),{CopyPasterStyleBlockControl:s}=EE(),{Style:c}=uE({blockName:"icon",clientId:i,attributes:e.attributes,device:l});return G().createElement(G().Fragment,null,G().createElement(zj,{attributes:e.attributes,setAttributes:e.setAttributes}),G().createElement(s,{withBlockControls:!0}),G().createElement(c,null),G().createElement("div",{id:a||null,className:Yy(`blockart-icon-block blockart-icon-${i}`,n&&`blockart-${n}`,o)},G().createElement("div",{className:"blockart-outside-icon blockart-icon-link"},G().createElement("span",{className:Yy("blockart-icon-wrapper",r&&`blockart-${r}`,o)},G().createElement(TH,{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:Yy(`blockart-icon-block blockart-icon-${l}`,a&&`blockart-${a}`,o)},G().createElement(bH,{tagName:"a",htmlAttrs:{className:Yy("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:Yy("blockart-icon-wrapper",n&&`blockart-${n}`,o)},G().createElement(TH,{name:t}))))}},jj=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"}'),Wj=(0,dE.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:g,toggleLabels:b,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,dE.dispatch)("core/block-editor").updateBlockAttributes(e.clientId,t)}))};return G().createElement(G().Fragment,null,G().createElement(hH,null),G().createElement(uH,null,G().createElement(fH,{title:(0,K.__)("Layout","blockart"),initialOpen:!0},G().createElement(TF,{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(MF,{leftIcon:G().createElement(fO,{h:"4",w:"4"}),value:"horizontal"}),G().createElement(MF,{leftIcon:G().createElement(hO,{h:"4",w:"4"}),value:"vertical"})),G().createElement(bD,{label:(0,K.__)("Gap Between Items","blockart"),value:_,min:0,max:100,step:1,onChange:e=>M({itemGap:e}),resetAttributeKey:"itemGap"})),G().createElement(fH,{title:(0,K.__)("Design","blockart")},G().createElement(QH,{label:"Preset"},G().createElement(Rl,{borderTop:"1px solid #E0E0E0"},G().createElement(TF,{responsive:!1,value:y,onChange:e=>M({design:e}),label:(0,K.__)("Preset"),groupProps:FS},[{label:(0,K.__)("Default","blockart"),value:"default",icon:JO},{label:(0,K.__)("Outline","blockart"),value:"outline",icon:eI},{label:(0,K.__)("Fill","blockart"),value:"fill",icon:tI}].map((e=>G().createElement(MF,{key:e.value,value:e.value},G().createElement(e.icon,null),e.label))))))),G().createElement(fH,{title:(0,K.__)("Icon","blockart")},G().createElement(_F,{value:m||{},onChange:e=>{T({parentIcon:e}),M({icon:e})}}),G().createElement(TF,{value:g,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(MF,{value:"left"},G().createElement(AT,null)),G().createElement(MF,{value:"right"},G().createElement(ST,null))),G().createElement(bD,{label:(0,K.__)("Icon Size","blockart"),value:C,min:0,max:200,step:1,onChange:e=>M({iconSize:e}),resetAttributeKey:"iconSize"}),G().createElement(bD,{label:(0,K.__)("Background Size","blockart"),value:A,min:0,max:50,step:1,onChange:e=>M({iconBgSize:e}),resetAttributeKey:"iconBgSize"})),G().createElement(fH,{title:(0,K.__)("Label","blockart")},G().createElement(OF,{label:(0,K.__)("Hide Labels","blockart"),checked:b,onChange:()=>{T({parentToggleLabels:!b}),M({toggleLabels:!b})}}),G().createElement(bD,{label:(0,K.__)("Gap","blockart"),value:P,min:0,max:100,step:1,onChange:e=>M({iconLabelGap:e}),resetAttributeKey:"iconLabelGap"}))),G().createElement(dH,null,G().createElement(fH,{title:(0,K.__)("Properties","blockart"),initialOpen:!0},G().createElement(TF,{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(MF,{value:"left"},G().createElement(gT,null)),G().createElement(MF,{value:"center"},G().createElement(yT,null)),G().createElement(MF,{value:"right"},G().createElement(bT,null)))),G().createElement(fH,{title:(0,K.__)("Icon","blockart")},G().createElement(TF,{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(MF,{value:"flex-start"},G().createElement(kT,null)),G().createElement(MF,{value:"center"},G().createElement(wT,null))),G().createElement(Iz,{label:(0,K.__)("Color","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:E,id:"iconColor"},{color:k,id:"iconHoverColor"}]}));return rE(E)||rE(k)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{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(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart")),G().createElement(gl,null,(0,K.__)("Hover","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:E,resetKey:"iconColor",onReset:e=>{M({iconColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:E,onChange:e=>M({iconColor:e})})),G().createElement(yl,null,G().createElement(FI,{saved:k,resetKey:"iconHoverColor",onReset:e=>{M({iconHoverColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:k,onChange:e=>M({iconHoverColor:e})}))))),G().createElement(Iz,{label:(0,K.__)("Background","blockart"),closeOnFocusOutside:!0},G().createElement(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart")),G().createElement(gl,null,(0,K.__)("Hover","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:t,resetKey:"background",onReset:e=>{M({background:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(Cz,{value:t,onChange:e=>M({background:e})})),G().createElement(yl,null,G().createElement(FI,{saved:r,resetKey:"hoverBackground",onReset:e=>{M({hoverBackground:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(Cz,{value:r,onChange:e=>M({hoverBackground:e})})))))),G().createElement(fH,{title:(0,K.__)("Label","blockart")},G().createElement(Iz,{label:(0,K.__)("Color","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:w,id:"labelColor"},{color:x,id:"labelHoverColor"}]}));return rE(w)||rE(x)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{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(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:w,resetKey:"labelColor",onReset:e=>{M({labelColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:w,onChange:e=>M({labelColor:e})}))))),G().createElement(kD,{resetAttributeKey:"typography",value:n,onChange:e=>M({typography:e})})),G().createElement(fH,{title:(0,K.__)("Border","blockart")},G().createElement(TF,{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(MF,{value:"normal"},(0,K.__)("Normal","blockart")),G().createElement(MF,{value:"hover"},(0,K.__)("Hover","blockart"))),"hover"!==S?G().createElement(Mz,{value:a,onChange:e=>{M({border:e})},resetAttributeKey:"border"}):G().createElement(Mz,{value:o,onChange:e=>{M({hoverBorder:e})},resetAttributeKey:"hoverBorder"}))),G().createElement(pH,null,G().createElement(vH,{blockMargin:R,setAttributes:M,blockPadding:i,blockZIndex:l,cssID:s,className:p,hasblockHTML:!1}),G().createElement(gH,{hideOnDesktop:c,hideOnTablet:u,hideOnMobile:d,setAttributes:M})))})),Zj=["blockart/icon-list"],$j=e=>{let t=[];for(let r=0;r<e;r++)t.push(["blockart/icon-list-item",{listItemNumber:r}]);return t},Uj=jj.name,Gj={...jj,icon:G().createElement(rV,{type:"blockIcon",name:"icon-list",size:24}),edit:e=>{const{attributes:{itemCount:t,layout:r,design:n,className:a}}=e,{clientId:o}=pE(e),{device:i}=ME(),{CopyPasterStyleBlockControl:l}=EE(),{Style:s}=uE({blockName:"icon-list",clientId:o,attributes:e.attributes,device:i}),c=(0,q.useBlockProps)({className:Yy(`blockart-icon-list blockart-icon-list-${o}`,r&&`blockart-${r}`,`blockart-${n}`,a)}),u=(0,q.useInnerBlocksProps)(c,{template:$j(t),templateLock:!1,allowedBlocks:Zj});return G().createElement(G().Fragment,null,G().createElement(Wj,{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:Yy(`blockart-icon-list blockart-icon-list-${r}`,n&&`blockart-${n}`,`blockart-${a}`,t)},G().createElement(q.InnerBlocks.Content,null))}},qj=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"}'),Kj=window.wp.compose,Yj=(0,Kj.compose)((0,dE.withSelect)((e=>{const{getSelectedBlock:t,getBlockRootClientId:r,getBlock:n}=e("core/block-editor"),a=t();return a?{parentBlock:n(r(a.clientId))}:{}})),(0,dE.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:g}=e;return G().createElement(G().Fragment,null,G().createElement(hH,null),G().createElement(uH,null,G().createElement(fH,{title:(0,K.__)("Layout","blockart"),initialOpen:!0},G().createElement(Bz,{label:(0,K.__)("Icon Type","blockart"),value:d,onChange:e=>g({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(_F,{value:u||{},onChange:e=>g({icon:e}),hasToggle:!1}),"image"===d&&G().createElement(AF,{onChange:e=>g({image:e}),label:(0,K.__)("Image","blockart"),type:"image",value:p}),G().createElement(IF,{label:(0,K.__)("URL","blockart"),onChange:e=>g({link:e}),value:m,placeholder:"https://",newTab:!0}))),G().createElement(dH,null,G().createElement(fH,{title:(0,K.__)("Label","blockart"),initialOpen:!0},G().createElement(Iz,{label:(0,K.__)("Color","blockart"),trigger:e=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:t,id:"color"}]})),closeOnFocusOutside:!0},G().createElement(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart")),G().createElement(gl,null,(0,K.__)("Hover","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:t,resetKey:"color",onReset:e=>{g({color:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:t,onChange:e=>g({color:e}),resetKey:"color"})),G().createElement(yl,null,G().createElement(FI,{saved:r,resetKey:"hoverColor",onReset:e=>{g({hoverColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:r,onChange:e=>g({hoverColor:e}),resetKey:"hoverColor"})))))),G().createElement(fH,{title:(0,K.__)("Border","blockart"),initialOpen:!0},G().createElement(Iz,{label:(0,K.__)("Color","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:h,id:"borderColor"},{color:f,id:"borderHoverColor"}]}));return rE(h)||rE(f)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{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(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart")),G().createElement(gl,null,(0,K.__)("Hover","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:h,resetKey:"borderColor",onReset:e=>{g({borderColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:h,onChange:e=>g({borderColor:e})})),G().createElement(yl,null,G().createElement(FI,{saved:f,resetKey:"borderHoverColor",onReset:e=>{g({borderHoverColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:f,onChange:e=>g({borderHoverColor:e})}))))))),G().createElement(pH,null,G().createElement(vH,{blockMargin:v,setAttributes:g,blockPadding:n,blockZIndex:a,cssID:o,className:c,hasblockHTML:!1}),G().createElement(gH,{hideOnDesktop:i,hideOnTablet:l,hideOnMobile:s,setAttributes:g})))})),Xj=qj.name,Qj={...qj,icon:G().createElement(rV,{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}=pE(e),{device:g}=ME(),{CopyPasterStyleBlockControl:b}=EE(),{Style:y}=uE({blockName:"icon-list-item",clientId:v,attributes:e.attributes,device:g}),E=""===o?c:o;return G().createElement(G().Fragment,null,G().createElement(Yj,{attributes:e.attributes,setAttributes:e.setAttributes}),G().createElement(b,{withBlockControls:!0}),G().createElement(y,null),G().createElement("div",{id:m||null,className:Yy(`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(TH,{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:Yy("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,Z.createBlock)("blockart/icon-list-item",{...e.attributes,text:t}):(0,Z.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(TH,{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,g=""===o?m:o;return G().createElement("div",{id:u||null,className:Yy(`blockart-icon-list-item blockart-icon-list-item-${p}`,c)},"left"===h&&G().createElement("span",{className:"blockart-icon-wrapper"},"icon"===l&&G().createElement(TH,{name:g}),"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:Yy("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(TH,{name:g})))}},Jj=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"}'),eW={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:CF,d=a?.local?null!=l?l:"":null!=s?s:"",p=(0,$.applyFilters)("blockart.image.classnames",PH()(`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=$y?.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}}},tW=eW,rW={attributes:Jj.attributes,save:({attributes:{cssID:e,image:t={},clientId:r,className:n,link:a}})=>{var o,i,l;const s=(0,$.applyFilters)("blockart.image.classnames",PH()(`blockart-image blockart-image-${r}`,n)),c=PH()({[`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(bH,{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)}},nW=[tW,rW],aW=[{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"}],oW=[{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"}],iW=[{label:(0,K.__)("Auto","blockart"),value:"auto"},{label:(0,K.__)("Contain","blockart"),value:"contain"},{label:(0,K.__)("Cover","blockart"),value:"cover"}],lW=[{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"}],sW=[{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"}],cW=[{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"}],uW=[{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"}],dW=[{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"}],pW=[{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"}],mW=[{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"}],hW=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:g,hideOnDesktop:b,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:O,maskShape:I,maskPosition:L,maskSize:D,maskRepeat:B},setAttributes:V}=e;return G().createElement(G().Fragment,null,G().createElement(hH,null),G().createElement(uH,null,G().createElement(fH,{title:(0,K.__)("Layout","blockart"),initialOpen:!0},G().createElement(bD,{label:(0,K.__)("Width","blockart"),value:h,min:0,max:1920,step:1,onChange:e=>V({width:e}),resetAttributeKey:"width",responsive:!0,units:["px","em","%"]}),G().createElement(bD,{label:(0,K.__)("Max Width","blockart"),value:v,min:0,max:1920,step:1,onChange:e=>V({maxWidth:e}),resetAttributeKey:"maxWidth",responsive:!0,units:["px","em","%"]}),G().createElement(bD,{label:(0,K.__)("Height","blockart"),value:f,min:0,max:1e3,step:1,onChange:e=>V({height:e}),resetAttributeKey:"height",responsive:!0,units:["px","em","%"]})),G().createElement(fH,{title:(0,K.__)("Image","blockart")},G().createElement(Iz,{label:(0,K.__)("Add Image","blockart"),popoverDivProps:{sx:{".components-popover__content":{p:4,width:"280px"}}}},G().createElement(AF,{onChange:e=>V({image:e}),label:(0,K.__)("Image","blockart"),type:"image",value:n}),G().createElement(IF,{label:(0,K.__)("URL","blockart"),onChange:e=>V({link:e}),value:r,placeholder:"https://",newTab:!0}),G().createElement(fE.TextareaControl,{label:(0,K.__)("Alt","blockart"),className:"blockart-control blockart-textarea",value:null!==(t=n?.alt)&&void 0!==t?t:"",onChange:e=>V({image:{...null!=n?n:{},alt:e}}),help:G().createElement(G().Fragment,null,G().createElement(fE.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(OF,{checked:null!=x&&x,onChange:e=>V({enableCaption:e}),label:(0,K.__)("Enable Caption","blockart")})),G().createElement(fH,{title:(0,K.__)("Overlay","blockart")},G().createElement(OF,{checked:null!=w&&w,onChange:e=>V({overlay:e}),label:(0,K.__)("Enable","blockart")}),w&&G().createElement(G().Fragment,null,G().createElement(Bz,{options:aW,onChange:e=>V({overlayContentPosition:e}),value:R,label:(0,K.__)("Content Position","blockart")}),G().createElement(Mz,{value:M,onChange:e=>{V({overlayBorder:e})},resetAttributeKey:"overlayBorder"}),G().createElement(TF,{value:C,onChange:e=>{V({showSeparatorOn:e})},label:(0,K.__)("Show Separator On","blockart"),resetAttributeKey:"showSeparatorOn",groupProps:{sx:{".chakra-button":{minH:"8"}}}},G().createElement(MF,{value:"always"},(0,K.__)("Always","blockart")),G().createElement(MF,{value:"hover"},(0,K.__)("Hover","blockart"))),G().createElement(Bz,{onChange:e=>V({separatorStyle:e}),value:A,label:(0,K.__)("Separator Style","blockart"),options:uW}),G().createElement(Bz,{onChange:e=>V({separatorPosition:e}),value:S,label:(0,K.__)("Separator Position","blockart"),options:cW}),G().createElement(TF,{value:T,onChange:e=>{V({showHeadingOn:e})},label:(0,K.__)("Show Heading","blockart"),resetAttributeKey:"showHeadingOn",groupProps:{sx:{".chakra-button":{minH:"8"}}}},G().createElement(MF,{value:"always"},(0,K.__)("Always","blockart")),G().createElement(MF,{value:"hover"},(0,K.__)("Hover","blockart"))),G().createElement(TF,{value:O,onChange:e=>{V({showDescription:e})},label:(0,K.__)("Show Description","blockart"),resetAttributeKey:"showDescription",groupProps:{sx:{".chakra-button":{minH:"8"}}}},G().createElement(MF,{value:"always"},(0,K.__)("Always","blockart")),G().createElement(MF,{value:"hover"},(0,K.__)("Hover","blockart"))))),G().createElement(fH,{title:(0,K.__)("Mask","blockart")},G().createElement(Bz,{label:(0,K.__)("Mask Shape","blockart"),value:I,options:oW,onChange:e=>V({maskShape:e})}),I&&"none"!==I&&G().createElement(G().Fragment,null,G().createElement(Bz,{label:(0,K.__)("Mask Size","blockart"),value:D,options:iW,onChange:e=>V({maskSize:e})}),G().createElement(Bz,{label:(0,K.__)("Mask Position","blockart"),value:L,options:lW,onChange:e=>V({maskPosition:e})}),G().createElement(Bz,{label:(0,K.__)("Mask Repeat","blockart"),value:B,options:sW,onChange:e=>V({maskRepeat:e})})))),G().createElement(dH,null,G().createElement(fH,{title:(0,K.__)("Properties","blockart"),initialOpen:!0},G().createElement(TF,{value:a,onChange:e=>{V({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(MF,{value:"left"},G().createElement(gT,null)),G().createElement(MF,{value:"center"},G().createElement(yT,null)),G().createElement(MF,{value:"right"},G().createElement(bT,null)),G().createElement(MF,{value:"justify"},G().createElement(ET,null)))),G().createElement(fH,{title:(0,K.__)("Image","blockart")},G().createElement(Bz,{onChange:e=>V({objectFit:e}),value:o,label:(0,K.__)("Object Fit","blockart"),options:dW}),G().createElement(Bz,{onChange:e=>V({hoverEffect:e}),value:P,label:(0,K.__)("On Hover Image","blockart"),options:pW}),G().createElement(Bz,{onChange:e=>V({imageFilter:e}),value:_,label:(0,K.__)("Image Filter","blockart"),options:mW}),G().createElement(bD,{onChange:e=>V({opacity:e}),label:(0,K.__)("Opacity","blockart"),step:.1,min:0,max:1,value:g,resetAttributeKey:"opacity"})),G().createElement(fH,{title:(0,K.__)("Border","blockart")},G().createElement(vl,{variant:"border"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart")),G().createElement(gl,null,(0,K.__)("Hover","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(Mz,{value:i,onChange:e=>{V({border:e})},resetAttributeKey:"border"}),G().createElement(Vz,{resetAttributeKey:"boxShadow",value:s,onChange:e=>V({boxShadow:e})})),G().createElement(yl,null,G().createElement(Mz,{value:l,onChange:e=>{V({hoverBorder:e})},resetAttributeKey:"hoverBorder"}),G().createElement(Vz,{resetAttributeKey:"boxShadowHover",value:c,onChange:e=>V({boxShadowHover:e})})))))),G().createElement(pH,null,G().createElement(vH,{blockMargin:u,setAttributes:V,blockPadding:d,blockZIndex:p,cssID:m,className:k,hasblockHTML:!1}),G().createElement(gH,{hideOnDesktop:b,hideOnTablet:y,hideOnMobile:E,setAttributes:V})))},fW=({style:e,showOn:t="always"})=>e&&"none"!==e?G().createElement("div",{className:Yy("separator",`${e}`,`${t}`)}):null,vW=(0,fE.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:g,maskSize:b,maskPosition:y,maskRepeat:E},setAttributes:k,noticeUI:w,noticeOperations:x}=e,{clientId:_}=pE(e),{device:P}=ME(),{CopyPasterStyleBlockControl:C}=EE(),{Style:A}=uE({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(hW,{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:Yy(`blockart-image blockart-image-${_}`,l?"overlay":"",a)},r?.url?G().createElement(G().Fragment,null,G().createElement("img",{className:Yy({[`hover-effect-${f}`]:!!f,[`filter-${v}`]:!!v,[`mask mask-${g}`]:!!g,[`mask-size-${b}`]:g&&"none"!==g&&b,[`mask-position-${y}`]:g&&"none"!==g&&!!y,[`mask-repeat-${E}`]:g&&"none"!==g&&!!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:Yy(`overlay-content ${u}`,`show-heading-${c}`,`show-description-${h}`)},"before-title"===p&&G().createElement(fW,{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(fW,{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(fW,{style:d,showOn:m}))):G().createElement(q.MediaPlaceholder,{onSelect:R,notices:w,onError:S,accept:"image/*",allowedTypes:["image"],value:r?.id,onSelectURL:M,onHTMLDrop:nE})))})),gW=Jj.name,bW={...Jj,icon:G().createElement(rV,{type:"blockIcon",name:"image",size:24}),edit:vW,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:g,imageFilter:b,separatorPosition:y,separatorStyle:E,showSeparatorOn:k}}=e,w=()=>{var e,t,n;const a=G().createElement("img",{className:Yy({[`wp-image-${r?.id}`]:!!r?.id,[`hover-effect-${s}`]:!!s,[`filter-${b}`]:!!b,[`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(bH,{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:Yy(`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:Yy(`overlay-content ${d}`,`show-heading-${p}`,`show-description-${g}`)},"before-title"===y&&G().createElement(fW,{style:E,showOn:k}),G().createElement(q.RichText.Content,{tagName:"h2",value:u}),"after-title"===y&&G().createElement(fW,{style:E,showOn:k}),G().createElement(q.RichText.Content,{tagName:"figcaption",value:l}),"after-sub-title"===y&&G().createElement(fW,{style:E,showOn:k})))},deprecated:nW},yW=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 EW=(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,DD.jsx)("div",{...t,style:n,"data-rcs":"clip-item",ref:r})}));EW.displayName="ContainerClip";var kW=(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,DD.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})}));kW.displayName="ThisHandleContainer";var wW=({flip:e})=>(0,DD.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}}),xW=({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,DD.jsxs)("div",{...i,className:e,style:l,children:[(0,DD.jsx)("div",{className:"__rcs-handle-line",style:s}),(0,DD.jsxs)("div",{className:"__rcs-handle-button",style:c,children:[(0,DD.jsx)(wW,{}),(0,DD.jsx)(wW,{flip:!0})]}),(0,DD.jsx)("div",{className:"__rcs-handle-line",style:s})]})},_W=(e=>(e.ARROW_LEFT="ArrowLeft",e.ARROW_RIGHT="ArrowRight",e.ARROW_UP="ArrowUp",e.ARROW_DOWN="ArrowDown",e))(_W||{}),PW=(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])},CW=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?U.useLayoutEffect:U.useEffect,AW={capture:!1,passive:!0},SW={capture:!0,passive:!1},RW=e=>{e.preventDefault(),e.currentTarget.focus()},MW=(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),g=(0,U.useRef)(null),b=(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=b.current,l=g.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)}),[]),O=(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]),I=(0,U.useCallback)((e=>{if(!Object.values(_W).includes(e.key))return;e.preventDefault(),x(!0);let{top:t,left:r}=b.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?b.current:v.current)}),[s]),(0,U.useEffect)((()=>{let e=v.current,t=()=>{E||T()};return r&&(e.addEventListener("pointermove",M,AW),e.addEventListener("pointerleave",t,AW)),()=>{e.removeEventListener("pointermove",M),e.removeEventListener("pointerleave",t)}}),[r,M,T,E]),(0,U.useEffect)((()=>(E&&!_.current&&(t.addEventListener("pointermove",M,AW),t.addEventListener("pointerup",T,AW),_.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:b.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]);CW((()=>(r.current=new ResizeObserver((([e])=>t(e.contentRect))),n(),()=>{r.current&&r.current.disconnect()})),[t,n])})(v,O),PW("keydown",I,b.current,SW),PW("click",RW,b.current,SW),PW("pointerdown",R,P,SW);let L=a||(0,DD.jsx)(xW,{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,DD.jsxs)("div",{...h,ref:v,style:B,"data-rcs":"root",children:[o,(0,DD.jsx)(EW,{ref:g,transition:D,children:i}),(0,DD.jsx)(kW,{disabled:n,portrait:u,position:Math.round(y.current),ref:b,transition:D,children:L})]})}));MW.displayName="ReactCompareSlider";var TW=(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,DD.jsx)("img",{ref:r,...t,style:n,"data-rcs":"image"})}));TW.displayName="ReactCompareSliderImage";const OW=r.p+"302122a35d11ba6be419aaf7ab8f1905.png",IW=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,[g,b]=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(hH,null),G().createElement(uH,null,G().createElement(fH,{title:(0,K.__)("Layout","blockart"),initialOpen:!0},G().createElement(TF,{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(MF,{value:"horizontal"},G().createElement(vO,null)),G().createElement(MF,{value:"vertical"},G().createElement(mO,null)))),t&&r&&G().createElement(fH,{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:()=>b(!0),onMouseLeave:()=>b(!1)},G().createElement("img",{src:t.url,alt:"Before",style:{maxWidth:"100%",filter:g?"blur(1px)":"none"}}),g&&G().createElement(Lb,{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(Lb,{style:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)"},onClick:()=>k("after")},"Replace Image")))),G().createElement(fH,{title:(0,K.__)("Options","blockart"),initialOpen:!0},G().createElement(Bz,{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(OF,{checked:p,onChange:e=>{v({enableLabel:e})},label:(0,K.__)("Enable Label","blockart")}),p&&G().createElement(G().Fragment,null,G().createElement(fE.TextControl,{label:(0,K.__)("Before Image Text","blockart"),value:u,onChange:e=>v({beforeImageText:e})}),G().createElement(fE.TextControl,{label:(0,K.__)("After Image Text","blockart"),value:d,onChange:e=>v({afterImageText:e})})))),G().createElement(dH,null,G().createElement(fH,{title:(0,K.__)("Label","blockart")},G().createElement(Iz,{label:(0,K.__)("Text Color","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:f,id:"color"}]}));return rE(f)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{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(vl,{position:"relative",size:"sm"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:f,resetKey:"color",onReset:e=>{v({color:e})},buttonProps:{position:"absolute",top:"4px",right:"10px"}}),G().createElement(WN,{value:f,onChange:e=>v({color:e})}))))),G().createElement(Iz,{label:(0,K.__)("Background Color","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:m,id:"background"}]}));return rE(f)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{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(vl,{position:"relative",size:"sm"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:m,resetKey:"background",onReset:e=>{v({background:e})},buttonProps:{position:"absolute",top:"4px",right:"10px"}}),G().createElement(WN,{value:m,onChange:e=>v({background:e})}))))),G().createElement(kD,{value:h,onChange:e=>v({typography:e}),resetAttributeKey:"typography"}))),G().createElement(pH,null,G().createElement(vH,{blockMargin:n,setAttributes:v,blockPadding:a}),G().createElement(gH,{hideOnDesktop:i,hideOnTablet:l,hideOnMobile:s,setAttributes:v})))},LW=(0,fE.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}=pE(e),{device:p}=ME(),{CopyPasterStyleBlockControl:m}=EE(),{Style:h}=uE({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(IW,{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:Yy("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(MW,{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(TW,{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(TW,{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:OW,onClick:e,style:{width:"100%",cursor:"pointer"}})}),e?.url&&G().createElement("img",{src:e.url,alt:`Uploaded image ${t+1}`,style:{width:"100%"}})))))))})),DW=yW.name,BW={...yW,icon:G().createElement(uI,null),edit:LW},VW=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 NW(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function zW(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach((r=>{void 0===e[r]?e[r]=t[r]:NW(t[r])&&NW(e[r])&&Object.keys(t[r]).length>0&&zW(e[r],t[r])}))}const FW={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 HW(){const e="undefined"!=typeof document?document:{};return zW(e,FW),e}const jW={document:FW,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 WW(){const e="undefined"!=typeof window?window:{};return zW(e,jW),e}function ZW(e){return void 0===e&&(e=""),e.trim().split(" ").filter((e=>!!e.trim()))}function $W(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function UW(){return Date.now()}function GW(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function qW(e){return"undefined"!=typeof window&&void 0!==window.HTMLElement?e instanceof HTMLElement:e&&(1===e.nodeType||11===e.nodeType)}function KW(){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&&!qW(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&&(GW(e[a])&&GW(n[a])?n[a].__swiper__?e[a]=n[a]:KW(e[a],n[a]):!GW(e[a])&&GW(n[a])?(e[a]={},n[a].__swiper__?e[a]=n[a]:KW(e[a],n[a])):e[a]=n[a])}}}return e}function YW(e,t,r){e.style.setProperty(t,r)}function XW(e){let{swiper:t,targetPosition:r,side:n}=e;const a=WW(),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 QW(e,t){return void 0===t&&(t=""),[...e.children].filter((e=>e.matches(t)))}function JW(e){try{return void console.warn(e)}catch(e){}}function eZ(e,t){void 0===t&&(t=[]);const r=document.createElement(e);return r.classList.add(...Array.isArray(t)?t:ZW(t)),r}function tZ(e,t){return WW().getComputedStyle(e,null).getPropertyValue(t)}function rZ(e){let t,r=e;if(r){for(t=0;null!==(r=r.previousSibling);)1===r.nodeType&&(t+=1);return t}}function nZ(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 aZ(e,t){t&&e.addEventListener("transitionend",(function r(n){n.target===e&&(t.call(e,n),e.removeEventListener("transitionend",r))}))}function oZ(e,t,r){const n=WW();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 iZ(e){return(Array.isArray(e)?e:[e]).filter((e=>!!e))}let lZ,sZ,cZ;function uZ(){return lZ||(lZ=function(){const e=WW(),t=HW();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),lZ}function dZ(e){return void 0===e&&(e={}),sZ||(sZ=function(e){let{userAgent:t}=void 0===e?{}:e;const r=uZ(),n=WW(),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)),sZ}var pZ={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 mZ=(e,t,r)=>{t&&!e.classList.contains(r)?e.classList.add(r):!t&&e.classList.contains(r)&&e.classList.remove(r)},hZ=(e,t,r)=>{t&&!e.classList.contains(r)?e.classList.add(r):!t&&e.classList.contains(r)&&e.classList.remove(r)},fZ=(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()}},vZ=(e,t)=>{if(!e.slides[t])return;const r=e.slides[t].querySelector('[loading="lazy"]');r&&r.removeAttribute("loading")},gZ=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)&&vZ(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)&&vZ(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)&&vZ(e,n)};var bZ={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(tZ(n,"padding-left")||0,10)-parseInt(tZ(n,"padding-right")||0,10),r=r-parseInt(tZ(n,"padding-top")||0,10)-parseInt(tZ(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=QW(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 g=e.snapGrid.length,b=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&&(YW(n,"--swiper-centered-offset-before",""),YW(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"!==tZ(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()?oZ(a,"width",!0):oZ(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){YW(n,"--swiper-centered-offset-before",-p[0]+"px"),YW(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!==g&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),m.length!==b&&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)),mZ(s,f,r.slideVisibleClass),mZ(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=>QW(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=>{hZ(e,e===s,r.slideActiveClass),hZ(e,e===u,r.slideNextClass),hZ(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&&gZ(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()}},yZ={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=WW();let n,a,o;const i=function(e){const t=WW();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 XW({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 EZ(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 kZ={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 g=-s[v];if(l.normalizeSlideIndex)for(let e=0;e<c.length;e+=1){const t=-Math.floor(100*g),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?g>o.translate&&g>o.minTranslate():g<o.translate&&g<o.minTranslate()))return!1;if(!o.allowSlidePrev&&g>o.translate&&g>o.maxTranslate()&&(d||0)!==i)return!1}let b;if(i!==(u||0)&&r&&o.emit("beforeSlideChangeStart"),o.updateProgress(g),b=i>d?"next":i<d?"prev":"reset",p&&-g===o.translate||!p&&g===o.translate)return o.updateActiveIndex(i),l.autoHeight&&o.updateAutoHeight(),o.updateSlidesClasses(),"slide"!==l.effect&&o.setTranslate(g),"reset"!==b&&(o.transitionStart(r,b),o.transitionEnd(r,b)),!1;if(l.cssMode){const e=o.isHorizontal(),r=p?g:-g;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 XW({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(g),o.updateActiveIndex(i),o.updateSlidesClasses(),o.emit("beforeTransitionStart",t,n),o.transitionStart(r,b),0===t?o.transitionEnd(r,b):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,b))}),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(QW(r,`${i}[data-swiper-slide-index="${a}"]`)[0]),$W((()=>{e.slideTo(o)}))):e.slideTo(o):o>e.slides.length-n?(e.loopFix(),o=e.getSlideIndex(QW(r,`${i}[data-swiper-slide-index="${a}"]`)[0]),$W((()=>{e.slideTo(o)}))):e.slideTo(o)}else e.slideTo(o)}},wZ={loopCreate:function(e){const t=this,{params:r,slidesEl:n}=t;if(!r.loop||t.virtual&&t.params.virtual.enabled)return;const a=()=>{QW(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?eZ("swiper-slide",[r.slideBlankClass]):eZ("div",[r.slideClass,r.slideBlankClass]);t.slidesEl.append(e)}};l?(r.loopAddBlankSlides?(c(i-t.slides.length%i),t.recalcSlides(),t.updateSlides()):JW("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()):JW("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 g=v;g%v!=0&&(g+=v-g%v),g+=m.loopAdditionalSlides,s.loopedSlides=g;const b=s.grid&&m.grid&&m.grid.rows>1;c.length<f+g?JW("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"):b&&"row"===m.grid.fill&&JW("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=b?Math.ceil(c.length/m.grid.rows):c.length,A=(b?c[o].column:o)+(h&&void 0===a?-f/2+.5:0);if(A<g){_=Math.max(g-A,v);for(let e=0;e<g-A;e+=1){const t=e-Math.floor(e/C)*C;if(b){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-g){P=Math.max(A-(C-2*g),v);for(let e=0;e<P;e+=1){const t=e-Math.floor(e/C)*C;b?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():b&&(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=b?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=b?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 xZ(e,t,r){const n=WW(),{params:a}=e,o=a.edgeSwipeDetection,i=a.edgeSwipeThreshold;return!o||!(r<=i||r>=n.innerWidth-i)||"prevent"===o&&(t.preventDefault(),!0)}function _Z(e){const t=this,r=HW();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 xZ(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===HW()||r===WW())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(!xZ(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=UW(),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 PZ(e){const t=HW(),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=UW()));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 g=r.params.loop&&!a.cssMode,b="next"===r.touchesDirection&&r.allowSlideNext||"prev"===r.touchesDirection&&r.allowSlidePrev;if(!n.isMoved){if(g&&b&&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&&g&&b&&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?(g&&b&&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&&(g&&b&&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 CZ(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=UW(),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=UW(),$W((()=>{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,g=null;o.rewind&&(t.isBeginning?g=o.virtual&&o.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(v=0));const b=(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&&(b>=o.longSwipesRatio?t.slideTo(o.rewind&&t.isEnd?v:h+y):t.slideTo(h)),"prev"===t.swipeDirection&&(b>1-o.longSwipesRatio?t.slideTo(h+y):null!==g&&b<0&&Math.abs(b)>o.longSwipesRatio?t.slideTo(g):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!==g?g:h)):a.target===t.navigation.nextEl?t.slideTo(h+y):t.slideTo(h)}}function AZ(){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 SZ(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function RZ(){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 MZ(e){const t=this;fZ(t,e.target),t.params.cssMode||"auto"!==t.params.slidesPerView&&!t.params.autoHeight||t.update()}function TZ(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const OZ=(e,t)=>{const r=HW(),{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",AZ,!0):e[c]("observerUpdate",AZ,!0),a[s]("load",e.onLoad,{capture:!0}))},IZ=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var LZ={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=IZ(e,n),c=IZ(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(),KW(e.params,l);const v=e.params.enabled,g=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&&g?(e.loopCreate(t),e.updateSlides()):f&&!g&&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=WW(),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"}},DZ={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())}},BZ={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 VZ(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}),KW(t,r)):KW(t,r)):KW(t,r)}}const NZ={eventsEmitter:pZ,update:bZ,translate:yZ,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(),EZ({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),EZ({swiper:r,runCallbacks:e,direction:t,step:"End"}))}},slide:kZ,loop:wZ,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=_Z.bind(e),e.onTouchMove=PZ.bind(e),e.onTouchEnd=CZ.bind(e),e.onDocumentTouchStart=TZ.bind(e),t.cssMode&&(e.onScroll=RZ.bind(e)),e.onClick=SZ.bind(e),e.onLoad=MZ.bind(e),OZ(e,"on")},detachEvents:function(){OZ(this,"off")}},breakpoints:LZ,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:DZ},zZ={};class FZ{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=KW({},t),e&&!t.el&&(t.el=e);const o=HW();if(t.el&&"string"==typeof t.el&&o.querySelectorAll(t.el).length>1){const e=[];return o.querySelectorAll(t.el).forEach((r=>{const n=KW({},t,{el:r});e.push(new FZ(n))})),e}const i=this;i.__swiper__=!0,i.support=uZ(),i.device=dZ({userAgent:t.userAgent}),i.browser=(cZ||(cZ=function(){const e=WW(),t=dZ();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}}()),cZ),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:VZ(t,l),on:i.on.bind(i),once:i.once.bind(i),off:i.off.bind(i),emit:i.emit.bind(i)})}));const s=KW({},BZ,l);return i.params=KW({},s,zZ,t),i.originalParams=KW({},i.params),i.passedParams=KW({},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=rZ(QW(t,`.${r.slideClass}, swiper-slide`)[0]);return rZ(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=QW(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&&fZ(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()):QW(r,n())[0];return!a&&t.params.createElements&&(a=eZ("div",t.params.wrapperClass),r.append(a),QW(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"===tZ(r,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===r.dir.toLowerCase()||"rtl"===tZ(r,"direction")),wrongRTL:"-webkit-box"===tZ(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?fZ(t,e):e.addEventListener("load",(e=>{fZ(t,e.target)}))})),gZ(t),t.initialized=!0,gZ(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){KW(zZ,e)}static get extendedDefaults(){return zZ}static get defaults(){return BZ}static installModule(e){FZ.prototype.__modules__||(FZ.prototype.__modules__=[]);const t=FZ.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach((e=>FZ.installModule(e))),FZ):(FZ.installModule(e),FZ)}}Object.keys(NZ).forEach((e=>{Object.keys(NZ[e]).forEach((t=>{FZ.prototype[t]=NZ[e][t]}))})),FZ.use([function(e){let{swiper:t,on:r,emit:n}=e;const a=WW();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=WW(),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=nZ(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 HZ=["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 jZ(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)&&!e.__swiper__}function WZ(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]:jZ(t[r])&&jZ(e[r])&&Object.keys(t[r]).length>0?t[r].__swiper__?e[r]=t[r]:WZ(e[r],t[r]):e[r]=t[r]}))}function ZZ(e){return void 0===e&&(e={}),e.navigation&&void 0===e.navigation.nextEl&&void 0===e.navigation.prevEl}function $Z(e){return void 0===e&&(e={}),e.pagination&&void 0===e.pagination.el}function UZ(e){return void 0===e&&(e={}),e.scrollbar&&void 0===e.scrollbar.el}function GZ(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 qZ(e){return void 0===e&&(e=""),e?e.includes("swiper-wrapper")?e:`swiper-wrapper ${e}`:"swiper-wrapper"}function KZ(){return KZ=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},KZ.apply(this,arguments)}function YZ(e){return e.type&&e.type.displayName&&e.type.displayName.includes("SwiperSlide")}function XZ(e){const t=[];return U.Children.toArray(e).forEach((e=>{YZ(e)?t.push(e):e.props&&e.props.children&&XZ(e.props.children).forEach((e=>t.push(e)))})),t}function QZ(e){const t=[],r={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return U.Children.toArray(e).forEach((e=>{if(YZ(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=XZ(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 JZ(e,t){return"undefined"==typeof window?(0,U.useEffect)(e,t):(0,U.useLayoutEffect)(e,t)}const e$=(0,U.createContext)(null),t$=(0,U.createContext)(null),r$=(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),g=(0,U.useRef)(null),b=(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={};WZ(r,BZ),r._emitClasses=!0,r.init=!1;const o={},i=HZ.map((e=>e.replace(/_/,""))),l=Object.assign({},e);return Object.keys(l).forEach((l=>{void 0!==e[l]&&(i.indexOf(l)>=0?jZ(e[l])?(r[l]={},a[l]={},WZ(r[l],e[l]),WZ(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}=QZ(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,g.current=new FZ(e),g.current.virtual&&g.current.params.virtual.enabled){g.current.virtual.slides=S;const e={cache:!1,slides:S,renderExternal:p,renderExternalUpdate:!1};WZ(g.current.params.virtual,e),WZ(g.current.originalParams.virtual,e)}};return v.current||T(),g.current&&g.current.on("_beforeBreakpoint",M),(0,U.useEffect)((()=>()=>{g.current&&g.current.off("_beforeBreakpoint",M)})),(0,U.useEffect)((()=>{!f.current&&g.current&&(g.current.emitSlidesClasses(),f.current=!0)})),JZ((()=>{if(t&&(t.current=v.current),v.current)return g.current.destroyed&&T(),function(e,t){let{el:r,nextEl:n,prevEl:a,paginationEl:o,scrollbarEl:i,swiper:l}=e;ZZ(t)&&n&&a&&(l.params.navigation.nextEl=n,l.originalParams.navigation.nextEl=n,l.params.navigation.prevEl=a,l.originalParams.navigation.prevEl=a),$Z(t)&&o&&(l.params.pagination.el=o,l.originalParams.pagination.el=o),UZ(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:g.current},_),i&&!g.current.destroyed&&i(g.current),()=>{g.current&&!g.current.destroyed&&g.current.destroy(!0,!1)}}),[]),JZ((()=>{!s&&A&&g.current&&Object.keys(A).forEach((e=>{g.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")}return HZ.filter((e=>"_"===e[0])).map((e=>e.replace(/_/,""))).forEach((r=>{if(r in e&&r in t)if(jZ(e[r])&&jZ(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,b.current,S,y.current,(e=>e.key));return b.current=P,y.current=S,e.length&&g.current&&!g.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,g,b,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&&(g=!0),a.includes("pagination")&&n.pagination&&(n.pagination.el||s)&&(u.pagination||!1===u.pagination)&&d&&!d.el&&(b=!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(jZ(u[e])&&jZ(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")&&!g&&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),g&&(t.controller.control=u.controller.control),b&&(!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:g.current,slides:S,passedParams:P,changedParams:e,nextEl:E.current,prevEl:k.current,scrollbarEl:x.current,paginationEl:w.current}),()=>{A&&g.current&&Object.keys(A).forEach((e=>{g.current.off(e,A[e])}))}})),JZ((()=>{var e;!(e=g.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,KZ({ref:v,className:GZ(`${c}${r?` ${r}`:""}`)},C),U.createElement(t$.Provider,{value:g.current},R["container-start"],U.createElement(a,{className:qZ(_.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}`})))}(g.current,S,d):S.map(((e,t)=>U.cloneElement(e,{swiper:g.current,swiperSlideIndex:t}))),R["wrapper-end"]),ZZ(_)&&U.createElement(U.Fragment,null,U.createElement("div",{ref:k,className:"swiper-button-prev"}),U.createElement("div",{ref:E,className:"swiper-button-next"})),UZ(_)&&U.createElement("div",{ref:x,className:"swiper-scrollbar"}),$Z(_)&&U.createElement("div",{ref:w,className:"swiper-pagination"}),R["container-end"]))}));r$.displayName="Swiper";const n$=(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)}JZ((()=>{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")}})),JZ((()=>{o&&d.current&&!o.destroyed&&m(o.getSlideClasses(d.current))}),[o]);const g={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},b=()=>"function"==typeof n?n(g):n;return U.createElement(r,KZ({ref:d,className:GZ(`${p}${a?` ${a}`:""}`),"data-swiper-slide-index":s,onLoad:()=>{f(!0)}},u),i&&U.createElement(e$.Provider,{value:g},U.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":"number"==typeof i?i:void 0},b(),l&&!h&&U.createElement("div",{className:"swiper-lazy-preloader"}))),!i&&U.createElement(e$.Provider,{value:g},b(),l&&!h&&U.createElement("div",{className:"swiper-lazy-preloader"})))}));function a$(e,t,r,n){return e.params.createElements&&Object.keys(n).forEach((a=>{if(!r[a]&&!0===r.auto){let o=QW(e.el,`.${n[a]}`)[0];o||(o=eZ("div",n[a]),o.className=n[a],e.el.append(o)),r[a]=o,t[a]=o}})),r}function o$(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=iZ(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=a$(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=iZ(r),n=iZ(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=iZ(e),r=iZ(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=iZ(e),r=iZ(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=iZ(n),o=iZ(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 i$(e){return void 0===e&&(e=""),`.${e.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function l$(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(i$(t.params.pagination.bulletClass));if(!r)return;e.preventDefault();const n=rZ(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=iZ(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=oZ(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=rZ(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(i$(r.currentClass)).forEach((e=>{e.textContent=r.formatFractionCurrent(n+1)})),e.querySelectorAll(i$(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(i$(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=iZ(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(i$(e.bulletClass)))})),"custom"!==e.type&&a("paginationRender",n[0])}function m(){t.params.pagination=a$(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=>nZ(e,".swiper")[0]===t.el))[0])),Array.isArray(r)&&1===r.length&&(r=r[0]),Object.assign(t.pagination,{el:r}),r=iZ(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=iZ(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=iZ(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=iZ(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=iZ(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=iZ(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=iZ(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 s$(e){let{swiper:t,extendParams:r,on:n,emit:a}=e;const o=HW();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=WW(),r=HW(),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 g(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 b(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=$W((()=>{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",g,l),o[c]("pointermove",b,l),o[c]("pointerup",y,s)}function k(){const{scrollbar:e,el:r}=t;t.params.scrollbar=a$(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(i$(t.params.scrollbar.dragClass)),i||(i=eZ("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"](...ZW(t.params.scrollbar.lockClass))}function w(){const e=t.params.scrollbar,r=t.scrollbar.el;r&&r.classList.remove(...ZW(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=iZ(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"](...ZW(t.params.scrollbar.lockClass))})),n("destroy",(()=>{w()}));const x=()=>{t.el.classList.add(...ZW(t.params.scrollbar.scrollbarDisabledClass)),t.scrollbar.el&&t.scrollbar.el.classList.add(...ZW(t.params.scrollbar.scrollbarDisabledClass)),w()};Object.assign(t.scrollbar,{enable:()=>{t.el.classList.remove(...ZW(t.params.scrollbar.scrollbarDisabledClass)),t.scrollbar.el&&t.scrollbar.el.classList.remove(...ZW(t.params.scrollbar.scrollbarDisabledClass)),k(),h(),m()},disable:x,updateSize:h,setTranslate:m,init:k,destroy:w})}function c$(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=iZ(e)).forEach((e=>{e.setAttribute("tabIndex","0")}))}function u(e){(e=iZ(e)).forEach((e=>{e.setAttribute("tabIndex","-1")}))}function d(e,t){(e=iZ(e)).forEach((e=>{e.setAttribute("role",t)}))}function p(e,t){(e=iZ(e)).forEach((e=>{e.setAttribute("aria-roledescription",t)}))}function m(e,t){(e=iZ(e)).forEach((e=>{e.setAttribute("aria-label",t)}))}function h(e){(e=iZ(e)).forEach((e=>{e.setAttribute("aria-disabled",!0)}))}function f(e){(e=iZ(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(i$(t.params.pagination.bulletClass))){if(t.navigation&&t.navigation.prevEl&&t.navigation.nextEl){const e=iZ(t.navigation.prevEl);iZ(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(i$(t.params.pagination.bulletClass))&&n.click()}}function g(){return t.pagination&&t.pagination.bullets&&t.pagination.bullets.length}function b(){return g()&&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=iZ(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=eZ("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=iZ(e)).forEach((e=>{e.setAttribute("id",t)}))}(n,a),function(e,t){(e=iZ(e)).forEach((e=>{e.setAttribute("aria-live",t)}))}(n,o),_();let{nextEl:l,prevEl:s}=t.navigation?t.navigation:{};l=iZ(l),s=iZ(s),l&&l.forEach((t=>y(t,a,e.nextSlideMessage))),s&&s.forEach((t=>y(t,a,e.prevSlideMessage))),b()&&iZ(t.pagination.el).forEach((e=>{e.addEventListener("keydown",v)})),HW().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;g()&&t.pagination.bullets.forEach((r=>{t.params.pagination.clickable&&(c(r),t.params.pagination.renderBullet||(d(r,"button"),m(r,e.paginationBulletMessage.replace(/\{\{index\}\}/,rZ(r)+1)))),r.matches(i$(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=iZ(e),r=iZ(r),e&&e.forEach((e=>e.removeEventListener("keydown",v))),r&&r.forEach((e=>e.removeEventListener("keydown",v))),b()&&iZ(t.pagination.el).forEach((e=>{e.removeEventListener("keydown",v)})),HW().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 u$(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,g=l&&l.autoplay?l.autoplay.delay:3e3,b=(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&&(g=s,c=!1);const e=n.autoplay.paused?s:b+g-(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,g=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,g=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&&(b=(new Date).getTime(),requestAnimationFrame((()=>{k()}))))};return a>0?(clearTimeout(t),t=setTimeout((()=>{c()}),a)):requestAnimationFrame((()=>{c()})),a},w=()=>{b=(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()-b),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||(b=(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=HW();"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)),HW().addEventListener("visibilitychange",C),w())})),o("destroy",(()=>{n.el&&"string"!=typeof n.el&&(n.el.removeEventListener("pointerenter",A),n.el.removeEventListener("pointerleave",S)),HW().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 d$(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(GW(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)QW(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=HW(),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 p$(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:UW()})},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=UW()-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||UW()-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,aZ(i,(()=>{t&&!t.destroyed&&c.allowMomentumBounce&&(n("momentumBounce"),t.setTransition(o.speed),setTimeout((()=>{t.setTranslate(d),aZ(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,aZ(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())}}}})}n$.displayName="SwiperSlide";const m$=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(r$,{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:[p$,o$,l$,s$,c$,u$],className:"carousel-swiper"},G().createElement(G().Fragment,null,u()))},h$=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:Yy({}),src:r?.url,alt:null!==(t=r?.alt)&&void 0!==t?t:""}),n&&G().createElement("div",{className:Yy({"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)}}))))},f$=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(Rl,{mx:"-15px"},G().createElement(Rl,{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(Rl,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(Rl,{onClick:e,onKeyDown:t=>"Enter"===t.key&&e(),role:"button",tabIndex:0,title:o,display:"flex",justifyContent:"center"},G().createElement(FB,{src:CF,alt:(0,K.__)("blockart preview image","blockart")})),G().createElement(Yl,{display:"flex",justifyContent:"space-between",p:"10px 16px"},G().createElement(Lb,{onClick:e},G().createElement("span",null,o)),r&&G().createElement(Rl,{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"})))))}))))},v$=[{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"}],g$=[{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"}],b$=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:g,imgHeight:b,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:O,className:I,background:L},setAttributes:D}=e;return G().createElement(G().Fragment,null,G().createElement(hH,null),G().createElement(uH,null,G().createElement(fH,{title:(0,K.__)("General","blockart"),initialOpen:!0},G().createElement(Iz,{label:(0,K.__)("Add Image","blockart"),popoverDivProps:{sx:{".components-popover__content":{p:4,width:"280px"}}}},G().createElement(f$,{onChange:e=>D({images:e}),label:(0,K.__)("Edit Gallery","blockart"),type:"image",value:t})),G().createElement(Bz,{value:r,onChange:e=>D({layoutType:e}),label:(0,K.__)("Layout Type","blockart"),options:v$}),"carousel"!==r&&"thumbnail-carousel"!==r&&G().createElement(bD,{onChange:e=>D({columns:e}),label:(0,K.__)("Columns","blockart"),min:1,max:5,step:1,value:n,resetAttributeKey:"columns"})),G().createElement(fH,{title:(0,K.__)("Captions","blockart")},G().createElement(OF,{checked:a,onChange:()=>D({enableCaption:!a}),label:(0,K.__)("Enable Captions","blockart")}),a&&G().createElement(G().Fragment,null,G().createElement(Bz,{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(Bz,{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(Bz,{label:(0,K.__)("Caption Position","blockart"),value:l,onChange:e=>D({captionPosition:e}),options:g$}))),"carousel"===r&&G().createElement(fH,{title:(0,K.__)("Carousel","blockart")},G().createElement(bD,{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(PF,{label:(0,K.__)("Speed","blockart"),value:d,onChange:e=>D({speed:e})}),G().createElement(PF,{label:(0,K.__)("Interval","blockart"),value:p,onChange:e=>D({interval:e})}),G().createElement(OF,{checked:m,label:(0,K.__)("Loop","blockart"),onChange:e=>D({loop:e})}),G().createElement(OF,{checked:null!=h&&h,label:(0,K.__)("Auto Play","blockart"),onChange:e=>D({autoplay:e})}),G().createElement(OF,{checked:null!=g&&g,label:(0,K.__)("Arrows","blockart"),onChange:e=>D({arrows:e})})),"thumbnail-carousel"===r&&G().createElement(fH,{title:(0,K.__)("Carousel","blockart")},G().createElement(bD,{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(bD,{label:(0,K.__)("Image Height","blockart"),value:b,onChange:e=>D({imgHeight:e}),min:1,max:1e3,step:1,resetAttributeKey:"imgHeight"}),G().createElement(bD,{label:(0,K.__)("Image Width","blockart"),value:y,onChange:e=>D({imgWidth:e}),min:1,max:1e3,step:1,resetAttributeKey:"imgWidth"}),G().createElement(bD,{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(bD,{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(bD,{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(bD,{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(PF,{label:(0,K.__)("Speed","blockart"),value:d,onChange:e=>D({speed:e})}),G().createElement(PF,{label:(0,K.__)("Interval","blockart"),value:p,onChange:e=>D({interval:e})}),G().createElement(OF,{checked:m,label:(0,K.__)("Loop","blockart"),onChange:e=>D({loop:e})}),G().createElement(OF,{checked:null!=h&&h,label:(0,K.__)("Auto Play","blockart"),onChange:e=>D({autoplay:e})}),G().createElement(OF,{checked:null!=f&&f,label:(0,K.__)("Pagination","blockart"),onChange:e=>D({pagination:e})}),G().createElement(OF,{checked:null!=g&&g,label:(0,K.__)("Arrows","blockart"),onChange:e=>D({arrows:e})}))),G().createElement(dH,null,G().createElement(fH,{title:(0,K.__)("Background","blockart")},G().createElement(Iz,{label:(0,K.__)("Type","blockart")},G().createElement(vl,{position:"relative",size:"sm"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:L,resetKey:"background",onReset:e=>{D({background:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(Cz,{value:L,onChange:e=>D({background:e})}))))))),G().createElement(pH,null,G().createElement(vH,{blockMargin:C,setAttributes:D,blockPadding:A}),G().createElement(gH,{hideOnDesktop:M,hideOnTablet:T,hideOnMobile:O,setAttributes:D})))},y$=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(r$,{spaceBetween:10,thumbs:{swiper:c},modules:[p$,d$,l$,s$,c$],className:"main-swiper"},G().createElement(G().Fragment,null,o())),G().createElement(r$,{onSwiper:e=>{u(e)},spaceBetween:10,slidesPerView:i||4,freeMode:!0,watchSlidesProgress:!1,modules:[p$,o$,l$,d$,u$],navigation:a||!1,pagination:n||!1,scrollbar:{draggable:!0},autoplay:l||!0,loop:s||!1,className:"thumbnail-swiper"},G().createElement(G().Fragment,null,o())))},E$=(0,fE.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:g,autoplay:b,loop:y,perMove:E,type:k,rewind:w},setAttributes:x,noticeUI:_,noticeOperations:P}=e,{clientId:C}=pE(e),{device:A}=ME(),[S,R]=(0,U.useState)(null),{CopyPasterStyleBlockControl:M}=EE(),{Style:T}=uE({blockName:"image-gallery",clientId:C,attributes:e.attributes,device:A});(0,QB.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 O=()=>t.map(((e,t)=>{var r;return G().createElement(n$,{key:t},G().createElement("div",{className:"blockart-image-wrapper"},G().createElement("figure",{className:"blockart-image"},G().createElement("img",{className:Yy({}),src:e?.url,alt:null!==(r=e?.alt)&&void 0!==r?r:""}),l&&G().createElement("div",{className:Yy({"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(b$,{attributes:e.attributes,setAttributes:x}),G().createElement(M,{withBlockControls:!0}),G().createElement(T,null),G().createElement("div",{id:o||null,className:Yy(`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:Yy(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(h$,{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(m$,{pagination:p,perPage:m,pauseOnHover:h,arrows:f,speed:v,interval:g,autoplay:b,loop:y,perMove:E,renderImage:O});case"thumbnail-carousel":return G().createElement(y$,{pagination:p,perPage:m,pauseOnHover:h,arrows:f,speed:v,interval:g,autoplay:b,loop:y,perMove:E,type:k,rewind:w,renderImage:O})}})()))))})),k$=VW.name,w$={...VW,icon:G().createElement(rV,{type:"blockIcon",name:"imageGallery",size:24}),edit:E$,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:Yy({}),src:e?.url,alt:null!==(r=e?.alt)&&void 0!==r?r:""}),o&&G().createElement("div",{className:Yy({"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:Yy(`blockart-image-gallery blockart-image-gallery-${u}`,p)},t.length>0?G().createElement(G().Fragment,null,G().createElement("div",{className:Yy(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:Yy({}),src:e?.url,alt:null!==(r=e?.alt)&&void 0!==r?r:""}),o&&G().createElement("div",{className:Yy({"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)}},x$=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"}'),_$=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:g,infoBorder:b,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:O,iconBorderEnable:I,border:L},setAttributes:D}=e;return G().createElement(G().Fragment,null,G().createElement(hH,null),G().createElement(uH,null,G().createElement(fH,{title:(0,K.__)("Design","blockart"),initialOpen:!0},G().createElement(QH,{label:(0,K.__)("Preset","blockart")},G().createElement(Rl,{borderTop:"1px solid #E0E0E0"},G().createElement(TF,{value:m,onChange:e=>D({infoLayout:e}),label:(0,K.__)("Preset","blockart"),groupProps:FS},[{label:(0,K.__)("Layout 1","blockart"),value:"layout-1",icon:KT},{label:(0,K.__)("Layout 2","blockart"),value:"layout-2",icon:YT},{label:(0,K.__)("Layout 3","blockart"),value:"layout-3",icon:XT},{label:(0,K.__)("Layout 4","blockart"),value:"layout-4",icon:QT},{label:(0,K.__)("Layout 5","blockart"),value:"layout-5",icon:JT},{label:(0,K.__)("Layout 6","blockart"),value:"layout-6",icon:eO}].map((e=>G().createElement(MF,{key:e.value,value:e.value},G().createElement(e.icon,null),e.label))))))),G().createElement(fH,{title:(0,K.__)("Link","blockart")},G().createElement(IF,{label:(0,K.__)("URL","blockart"),onChange:e=>D({link:e}),value:r,placeholder:"https://",newTab:!0}),G().createElement(TF,{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(MF,{value:"button-only"},(0,K.__)("Button Only","blockart")),G().createElement(MF,{value:"entire-box"},(0,K.__)("Entire Box","blockart")))),G().createElement(fH,{title:(0,K.__)("Icon","blockart")},G().createElement(_F,{hasToggle:!0,value:h,onChange:e=>D({icon:e})}),h.enable&&G().createElement(G().Fragment,null,G().createElement(TF,{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(MF,{value:"left"},G().createElement(AT,null)),G().createElement(MF,{value:"right"},G().createElement(ST,null))),G().createElement(bD,{resetAttributeKey:"iconSize",label:(0,K.__)("Size","blockart"),min:0,max:50,value:g,onChange:e=>D({iconSize:e}),responsive:!0,units:["px","em","%"]})),G().createElement(Rl,{marginTop:10},G().createElement(OF,{label:(0,K.__)("Border","blockart"),checked:I||!1,onChange:()=>D({iconBorderEnable:!I})})),I&&G().createElement(Mz,{value:v,onChange:e=>D({iconBorder:e}),resetAttributeKey:"iconBorder"})),G().createElement(fH,{title:(0,K.__)("Title","blockart")},G().createElement(OF,{checked:y,onChange:()=>D({headingToggle:!y}),label:(0,K.__)("Enable","blockart")}),y&&G().createElement(G().Fragment,null,G().createElement(Bz,{options:bj,onChange:e=>D({markup:e}),value:E,label:(0,K.__)("HTML Markup","blockart")})))),G().createElement(dH,null,G().createElement(fH,{title:(0,K.__)("Properties","blockart"),initialOpen:!0},G().createElement(TF,{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(MF,{value:"left"},G().createElement(gT,null)),G().createElement(MF,{value:"center"},G().createElement(yT,null)),G().createElement(MF,{value:"right"},G().createElement(bT,null)))),G().createElement(fH,{title:(0,K.__)("Title","blockart")},G().createElement(Iz,{label:(0,K.__)("Text Color","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:_,id:"headingColor"}]}));return rE(_)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{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(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:_,resetKey:"headingColor",onReset:e=>{D({headingColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:_,onChange:e=>D({headingColor:e})}))))),G().createElement(kD,{resetAttributeKey:"headingTypography",value:w,onChange:e=>D({headingTypography:e})})),G().createElement(fH,{title:(0,K.__)("Text","blockart")},G().createElement(Iz,{label:(0,K.__)("Text Color","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:P,id:"textColor"}]}));return rE(P)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{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(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:P,resetKey:"textColor",onReset:e=>{D({textColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:P,onChange:e=>D({textColor:e})}))))),G().createElement(kD,{resetAttributeKey:"textTypography",value:x,onChange:e=>D({textTypography:e})})),G().createElement(fH,{title:(0,K.__)("Button","blockart")},G().createElement(Iz,{label:(0,K.__)("Text Color","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:A,id:"buttonColor"}]}));return rE(A)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{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(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:A,resetKey:"buttonColor",onReset:e=>{D({buttonColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:A,onChange:e=>D({buttonColor:e})}))))),G().createElement(Iz,{label:(0,K.__)("Background","blockart")},G().createElement(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:R,resetKey:"buttonBackground",onReset:e=>{D({buttonBackground:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(Cz,{value:R,onChange:e=>D({buttonBackground:e})}))))),G().createElement(kD,{resetAttributeKey:"buttonTypography",value:M,onChange:e=>D({buttonTypography:e})}),G().createElement(OF,{label:(0,K.__)("Border","blockart"),checked:O||!1,onChange:()=>D({buttonBorderEnable:!O})}),O&&G().createElement(Mz,{value:T,onChange:e=>D({buttonBorder:e}),resetAttributeKey:"buttonBorder"})),G().createElement(fH,{title:(0,K.__)("Border","blockart")},G().createElement(Mz,{value:b,onChange:e=>D({infoBorder:e}),resetAttributeKey:"infoBorder"})),G().createElement(fH,{title:(0,K.__)("Background","blockart")},G().createElement(Iz,{label:(0,K.__)("Type","blockart")},G().createElement(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:C,resetKey:"background",onReset:e=>{D({background:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(Cz,{value:C,onChange:e=>D({background:e})})))))),G().createElement(fH,{title:(0,K.__)("Border","blockart")},G().createElement(Mz,{value:L,onChange:e=>D({border:e}),resetAttributeKey:"border"}))),G().createElement(pH,null,G().createElement(vH,{blockMargin:a,setAttributes:D,blockPadding:o,blockZIndex:i,cssID:s,className:p,hasblockHTML:!1}),G().createElement(gH,{hideOnDesktop:c,hideOnTablet:u,hideOnMobile:d,setAttributes:D})))},P$=x$.name,C$={...x$,icon:G().createElement(rV,{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}=pE(e),{device:f}=ME(),{CopyPasterStyleBlockControl:v}=EE(),{Style:g}=uE({blockName:"info",clientId:h,attributes:e.attributes,device:f});return G().createElement(G().Fragment,null,G().createElement(_$,{attributes:e.attributes,setAttributes:e.setAttributes}),G().createElement(v,{withBlockControls:!0}),G().createElement(g,null),G().createElement("div",{className:Yy(`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(TH,{name:i.icon}))),G().createElement("div",{className:"blockart-info-content"},G().createElement("div",{className:"blockart-heading-wrapper"},l&&G().createElement(q.RichText,{className:Yy("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:Yy(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:Yy("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(bH,{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(QB.Fragment,null,e);return G().createElement("div",{className:Yy(`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(TH,{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:Yy("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:Yy(p?._className)})),G().createElement("div",{className:"blockart-button-wrapper"},G().createElement(bH,{tagName:"entire-box"===u?"span":"a",htmlAttrs:{className:Yy("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})))))))}},A$=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 S$=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(vl,{width:"300px",defaultIndex:"external"===r?.source?1:0},G().createElement(bl,{px:"15px"},G().createElement(gl,{fontWeight:600,onClick:()=>{a({source:"local"})}},(0,K.__)("Media File","blockart")),G().createElement(gl,{fontWeight:600,onClick:()=>{a({source:"external"})}},(0,K.__)("External URL","blockart"))),G().createElement(El,{pt:"5px"},G().createElement(yl,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(Kl,{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(rV,{name:"lottie",style:{minWidth:"60px",minHeight:"60px",fill:"#e4e4e4"},className:"blockart-lottie-upload-thumbnail"})))}))),G().createElement(Yl,{justifyContent:"center"},G().createElement(Jl,{as:"p",textAlign:"center"},r?.lottieFile?.url?(0,K.__)("Change JSON File","blockart"):(0,K.__)("Upload JSON File","blockart")),r?.lottieFile?.url?G().createElement(rV,{name:"trash",size:24,onClick:e=>{e.stopPropagation(),a({lottieFile:void 0})},style:{fill:"#FF3131"}}):null))),G().createElement(yl,null,G().createElement(zS,{label:(0,K.__)("Animation JSON URL","blockart"),placeholder:"https://",value:null!==(t=r?.lottieURL)&&void 0!==t?t:"",onChange:e=>{a({lottieURL:e})}})))))},R$=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:g,hideOnDesktop:b,hideOnTablet:y,hideOnMobile:E},setAttributes:k}=e;return G().createElement(G().Fragment,null,G().createElement(hH,null),G().createElement(uH,null,G().createElement(fH,{title:(0,K.__)("Layout","blockart"),initialOpen:!0},G().createElement(Iz,{label:"Source"},G().createElement(S$,{value:s,onChange:e=>{k({lottie:e})}})),G().createElement(bD,{onChange:e=>k({width:e}),label:(0,K.__)("Width","blockart"),min:20,max:1e3,value:l,resetAttributeKey:"width",defaultUnit:"px",step:1})),G().createElement(fH,{title:(0,K.__)("Lottie","blockart")},G().createElement(TF,{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(MF,{value:"auto"},(0,K.__)("Auto","blockart")),G().createElement(MF,{value:"hover"},(0,K.__)("Hover","blockart")),G().createElement(MF,{value:"viewport"},(0,K.__)("Viewport","blockart")),G().createElement(MF,{value:"scroll"},(0,K.__)("On Scroll","blockart"))),G().createElement(TF,{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(MF,{value:"normal"},(0,K.__)("Normal","blockart")),G().createElement(MF,{value:"bounce"},(0,K.__)("Bounce","blockart"))),G().createElement(OF,{checked:null==u||u,onChange:e=>k({loop:e}),label:(0,K.__)("Loop","blockart")}),G().createElement(OF,{checked:null!=f&&f,onChange:e=>k({controls:e}),label:(0,K.__)("Show controls","blockart")}),G().createElement(bD,{onChange:e=>k({speed:e}),label:(0,K.__)("Speed","blockart"),min:0,max:5,value:d,resetAttributeKey:"speed"}),G().createElement(bD,{onChange:e=>k({delay:e}),label:(0,K.__)("Delay","blockart"),min:0,max:60,step:.01,value:m,resetAttributeKey:"delay"}),G().createElement(bD,{onChange:e=>k({count:e}),label:(0,K.__)("Animation Loop Count","blockart"),min:0,max:100,value:h,resetAttributeKey:"count",step:1}))),G().createElement(dH,null,G().createElement(fH,{title:(0,K.__)("Properties","blockart"),initialOpen:!0},G().createElement(TF,{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(MF,{value:"left"},G().createElement(gT,null)),G().createElement(MF,{value:"center"},G().createElement(yT,null)),G().createElement(MF,{value:"right"},G().createElement(bT,null)))),G().createElement(fH,{title:(0,K.__)("Background","blockart")},G().createElement(Iz,{label:"Type"},G().createElement(vl,null,G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart")),G().createElement(gl,null,(0,K.__)("Hover","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(Cz,{value:v,onChange:e=>{k({background:e})}})),G().createElement(yl,null,G().createElement(Cz,{value:g,onChange:e=>{k({hoverBackground:e})}}))))))),G().createElement(pH,null,G().createElement(vH,{blockMargin:n,setAttributes:k,blockPadding:r,blockZIndex:a,cssID:i,className:o,hasblockHTML:!1}),G().createElement(gH,{hideOnDesktop:b,hideOnTablet:y,hideOnMobile:E,setAttributes:k})))},M$=((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:g,count:b,controls:y,delay:E,backgroundColor:k},noticeOperations:w,setAttributes:x,noticeUI:_}=e,[P,C]=(0,U.useState)(0),{device:A}=ME(),{clientId:S}=pE(e),{CopyPasterStyleBlockControl:R}=EE(),{Style:M}=uE({device:A,blockName:"lottie",clientId:S,attributes:e.attributes}),T=kE(P,500),O=ZH({alignment:g});return G().createElement(G().Fragment,null,G().createElement(R$,{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:Yy("blockart-lottie",`blockart-lottie-${S}`,{..."mobile"===A?null!==(t=null!==(r=null!==(n=O?.mobile)&&void 0!==n?n:O?.tablet)&&void 0!==r?r:O?.desktop)&&void 0!==t?t:{}:"tablet"===A?null!==(a=null!==(o=O?.tablet)&&void 0!==o?o:O?.desktop)&&void 0!==a?a:{}:null!==(i=O?.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:b||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:nE}))}),T$=A$.name,O$={...A$,icon:G().createElement(rV,{type:"blockIcon",name:"lottie",size:24}),edit:M$,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:g}}=e,b=ZH({alignment:c}),y=null!=g?g:"div";return G().createElement(y,{id:d,className:Yy(`blockart-lottie blockart-lottie-${p}`,...Object.values(b),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}))}},I$=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"}'),L$=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:g,draggable:b,marker:y,markerIconSize:E,markerIconColor:k,className:w,cssID:x},setAttributes:_}=e;return G().createElement(G().Fragment,null,G().createElement(hH,null),G().createElement(uH,null,G().createElement(fH,{title:(0,K.__)("General","blockart"),initialOpen:!0},G().createElement(zS,{label:(0,K.__)("Address / Location","blockart"),placeholder:"Enter Address or Lat/Long pair",value:u,onChange:e=>_({address:e})}),G().createElement(bD,{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(bD,{label:(0,K.__)("Zoom","blockart"),value:s,onChange:e=>_({zoom:e}),min:1,max:25,step:1,resetAttributeKey:"zoom"}),!!$y.configs.integrations["google-maps-embed-api-key"]&&G().createElement(G().Fragment,null,G().createElement(OF,{label:(0,K.__)("Fullscreen control","blockart"),checked:h,onChange:e=>_({fullscreenControl:e})}),G().createElement(OF,{label:(0,K.__)("Zoom control","blockart"),checked:f,onChange:e=>_({zoomControl:e})}),G().createElement(OF,{label:(0,K.__)("Map type control","blockart"),checked:v,onChange:e=>_({mapTypeControl:e})}),G().createElement(OF,{label:(0,K.__)("Street view control","blockart"),checked:g,onChange:e=>_({streetViewControl:e})}),G().createElement(OF,{label:(0,K.__)("Draggable","blockart"),checked:b,onChange:e=>_({draggable:e})}),G().createElement(_F,{value:y,onChange:e=>_({marker:e}),hasToggle:!0,label:(0,K.__)("Marker")}),y?.enable&&y?.icon&&G().createElement(G().Fragment,null,G().createElement(bD,{label:(0,K.__)("Icon Size"),value:E,onChange:e=>_({markerIconSize:e}),resetAttributeKey:"markerIconSize"}),G().createElement(Iz,{trigger:e=>G().createElement(Yl,null,G().createElement(FI,{resetKey:"markerIconColor",saved:k,onReset:e=>{_({markerIconColor:e})}}),G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:k,id:"markerIconColor"}]}))),label:(0,K.__)("Icon color","blockart"),popoverDivProps:{sx:{".components-popover__content":{pt:4}}},closeOnFocusOutside:!0},G().createElement(WN,{showGlobalPalette:!1,value:k,onChange:e=>_({markerIconColor:e})})))))),G().createElement(dH,null,G().createElement(fH,{title:(0,K.__)("Background","blockart"),initialOpen:!0},G().createElement(Iz,{label:(0,K.__)("Type","blockart")},G().createElement(Rl,{p:8},G().createElement(FI,{saved:d,resetKey:"background",onReset:e=>{_({background:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(Cz,{value:d,onChange:e=>_({background:e})})))),G().createElement(fH,{title:(0,K.__)("Border","blockart")},G().createElement(Mz,{value:p,onChange:e=>{_({border:e})},resetAttributeKey:"border"}),G().createElement(Vz,{resetAttributeKey:"boxShadow",value:m,onChange:e=>_({boxShadow:e})}))),G().createElement(pH,null,G().createElement(vH,{blockMargin:r,setAttributes:_,blockPadding:n,blockZIndex:t,cssID:x,className:w,hasblockHTML:!1}),G().createElement(gH,{hideOnDesktop:a,hideOnTablet:o,hideOnMobile:i,setAttributes:_})))},D$={lat:27.700769,lng:85.30014},B$=RD((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:g}=pE(e),{device:b}=ME(),{CopyPasterStyleBlockControl:y}=EE(),{Style:E}=uE({blockName:"map",clientId:g,attributes:e.attributes,device:b}),k=$y.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:D$,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)}`})($y.icons.all[p.icon].svg,{width:m,height:m,fill:h}):null))}),[i,l,s,c,u,d,p,h,m]),(0,SD.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:D$,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(L$,{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:Yy(`blockart-map blockart-map-${g}`,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})))})),V$=I$.name,N$={...I$,icon:G().createElement(rV,{type:"blockIcon",name:"map",size:24}),edit:B$,save:()=>null},z$=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"}'),F$=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:g,tButtonIconGap:b,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:O,popupBackground:I,triggerButtonBackground:L,triggerBtnTextColor:D,triggerBtnTextTypo:B},setAttributes:V}=e;return G().createElement(G().Fragment,null,G().createElement(hH,null),G().createElement(uH,null,G().createElement(fH,{title:(0,K.__)("Trigger","blockart"),initialOpen:!0},G().createElement(TF,{value:h,label:(0,K.__)("Type","blockart"),onChange:e=>V({modalTrigger:e}),groupProps:{sx:{".chakra-button":{minH:"32px",svg:{w:"40px !important",h:"6"},"&[data-active]":{svg:{fill:"#fff !important"}}}}}},G().createElement(MF,{value:"button"},(0,K.__)("Button","blockart")),G().createElement(MF,{value:"icon"},(0,K.__)("Icon","blockart")),G().createElement(MF,{value:"image"},(0,K.__)("Image","blockart")),G().createElement(MF,{value:"text"},(0,K.__)("Text","blockart"))),G().createElement(TF,{value:k,onChange:e=>{V({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(MF,{value:"left"},G().createElement(gT,null)),G().createElement(MF,{value:"center"},G().createElement(yT,null)),G().createElement(MF,{value:"right"},G().createElement(bT,null))),"button"===h&&G().createElement(G().Fragment,null,G().createElement(TF,{value:u,onChange:e=>{V({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(MF,{value:"filled"},G().createElement(nI,null)),G().createElement(MF,{value:"outline"},G().createElement(aI,null)),G().createElement(MF,{value:"link"},G().createElement(oI,null)),G().createElement(MF,{value:"plain"},G().createElement(rI,null))),("filled"===u||"outline"===u)&&G().createElement(G().Fragment,null,G().createElement(TF,{value:d,onChange:e=>{V({size:e})},label:(0,K.__)("Size","blockart"),resetAttributeKey:"size",groupProps:{sx:{".chakra-button":{minH:"32px",svg:{w:6,h:6}}}}},G().createElement(MF,{value:"small"},"Small"),G().createElement(MF,{value:"medium"},"Medium"),G().createElement(MF,{value:"large"},"Large"),G().createElement(MF,{value:"custom"},"Custom"))),G().createElement(_F,{hasToggle:!0,value:f||{},onChange:e=>V({buttonIcon:e})}),f?.enable&&G().createElement(G().Fragment,null,G().createElement(TF,{value:v,onChange:e=>{V({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(MF,{value:"before"},(0,K.__)("Before Text","blockart")),G().createElement(MF,{value:"after"},(0,K.__)("After Text","blockart"))),G().createElement(bD,{resetAttributeKey:"tButtonIconSize",label:(0,K.__)("Icon Size","blockart"),min:0,max:50,value:g,onChange:e=>V({tButtonIconSize:e}),responsive:!0,units:["px","em","%"]}),G().createElement(bD,{resetAttributeKey:"tButtonIconGap",label:(0,K.__)("Icon Gap","blockart"),min:0,max:60,value:b,onChange:e=>V({tButtonIconGap:e}),responsive:!0,units:["px","em","%"]}))),"icon"===h&&G().createElement(G().Fragment,null,G().createElement(_F,{value:c,onChange:e=>V({icon:e}),hasToggle:!1}),G().createElement(Iz,{label:(0,K.__)("Icon Color","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:O,id:"iconColor"}]}));return rE(O)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-10px",bg:"white",borderRadius:"full"})):G().createElement(t,null)}},G().createElement(WN,{onChange:e=>V({iconColor:e}),label:(0,K.__)("Color","blockart"),value:O,resetKey:"iconColor"}))),"image"===h&&G().createElement(G().Fragment,null,G().createElement(AF,{onChange:e=>V({image:e}),label:(0,K.__)("Image","blockart"),type:"image",value:m||{}}))),G().createElement(fH,{title:(0,K.__)("Content Size","blockart")},G().createElement(bD,{label:(0,K.__)("Modal Width","blockart"),value:w,onChange:e=>V({width:e}),min:0,max:100,step:5,forceShowUnit:!0,resetAttributeKey:"width",responsive:!0,defaultUnit:"%"}),G().createElement(bD,{onChange:e=>V({maxHeight:e}),label:(0,K.__)("Max Height","blockart"),units:["px","em","%"],responsive:!0,min:0,max:1500,value:_,resetAttributeKey:"maxHeight"}),G().createElement(bD,{onChange:e=>V({height:e}),label:(0,K.__)("Popup Height","blockart"),units:["px","em","%"],responsive:!0,min:130,max:1500,value:x,resetAttributeKey:"height"})),G().createElement(fH,{title:(0,K.__)("Close Button","blockart")},G().createElement(_F,{value:E,onChange:e=>V({closeIcon:e}),hasToggle:!1}),G().createElement(Bz,{label:(0,K.__)("Icon Position","blockart"),value:y,onChange:e=>V({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(bD,{resetAttributeKey:"closeIconSize",label:(0,K.__)("Icon Size","blockart"),min:0,max:50,value:S,onChange:e=>V({closeIconSize:e}),responsive:!0,units:["px","em","%"]}),G().createElement(Iz,{label:(0,K.__)("Icon Color","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:R,id:"color"}]}));return rE(R)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-10px",bg:"white",borderRadius:"full"})):G().createElement(t,null)}},G().createElement(WN,{onChange:e=>V({color:e}),label:(0,K.__)("Color","blockart"),value:R,resetKey:"color"})))),G().createElement(dH,null,"button"===h&&G().createElement(G().Fragment,null,G().createElement(fH,{title:(0,K.__)("Button","blockart")},G().createElement(Iz,{label:(0,K.__)("Text Color","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:D,id:"triggerBtnTextColor"}]}));return rE(D)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-10px",bg:"white",borderRadius:"full"})):G().createElement(t,null)}},G().createElement(WN,{onChange:e=>V({triggerBtnTextColor:e}),label:(0,K.__)("Color","blockart"),value:D,resetKey:"triggerBtnTextColor"})),G().createElement(Iz,{label:(0,K.__)("Background","blockart")},G().createElement(FI,{saved:L,resetKey:"triggerButtonBackground",onReset:e=>{V({triggerButtonBackground:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(Cz,{value:L,onChange:e=>V({triggerButtonBackground:e})})),d&&"custom"===d&&G().createElement(Hz,{value:p||{},responsive:!0,label:(0,K.__)("Padding","blockart"),defaultUnit:"px",units:["px","rem","em","%"],onChange:e=>V({buttonPadding:e}),type:"buttonPadding"}),G().createElement(kD,{resetAttributeKey:"triggerBtnTextTypo",value:B,onChange:e=>V({triggerBtnTextTypo:e})}))),"text"===h&&G().createElement(G().Fragment,null,G().createElement(fH,{title:(0,K.__)("Text","blockart")},G().createElement(Iz,{label:(0,K.__)("Text Color","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:M,id:"triggerTextColor"}]}));return rE(M)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-10px",bg:"white",borderRadius:"full"})):G().createElement(t,null)}},G().createElement(WN,{onChange:e=>V({triggerTextColor:e}),label:(0,K.__)("Color","blockart"),value:M,resetKey:"triggerTextColor"})),G().createElement(kD,{resetAttributeKey:"triggerTextTypography",value:T,onChange:e=>V({triggerTextTypography:e})}))),G().createElement(fH,{title:(0,K.__)("Modal","blockart")},G().createElement(Hz,{label:(0,K.__)("Padding","blockart"),value:C,resetAttributeKey:"padding",onChange:e=>{V({padding:e})},responsive:!0,units:["px","em","%"]}),G().createElement(Iz,{label:(0,K.__)("Background","blockart")},G().createElement(FI,{saved:P,resetKey:"modalBackground",onReset:e=>{V({modalBackground:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(Cz,{value:P,onChange:e=>V({modalBackground:e})})),G().createElement(Mz,{resetAttributeKey:"border",value:A,onChange:e=>V({border:e})})),G().createElement(fH,{title:(0,K.__)("Popup","blockart")},G().createElement(Iz,{label:(0,K.__)("Background","blockart")},G().createElement(FI,{saved:I,resetKey:"popupBackground",onReset:e=>{V({popupBackground:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(Cz,{value:I,onChange:e=>V({popupBackground:e})})))),G().createElement(pH,null,G().createElement(vH,{blockMargin:o,setAttributes:V,blockPadding:i,blockZIndex:l,cssID:s,className:t,hasblockHTML:!1}),G().createElement(gH,{hideOnDesktop:r,hideOnTablet:n,hideOnMobile:a,setAttributes:V})))},H$=["blockart/section","blockart/heading","blockart/image","blockart/paragraph","blockart/buttons","blockart/button","blockart/spacing","blockart/column"],j$=[["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"}]]]],W$=(0,fE.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:g},setAttributes:b,noticeUI:y,noticeOperations:E}=e,{clientId:k}=pE(e),{device:w}=ME(),{CopyPasterStyleBlockControl:x}=EE(),{Style:_}=uE({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=PH()("blockart-button-link",n&&("filled"===a||"outline"===a)&&`is-${n}`,a&&`is-style-${a}`),[S,R]=(0,QB.useState)(!1);return(0,QB.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(F$,{attributes:e.attributes,setAttributes:b}),G().createElement(x,{withBlockControls:!0}),G().createElement(_,null),G().createElement("div",{className:PH()(`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:Yy("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=>b({triggerText:e})})),"icon"===l&&G().createElement("div",{className:Yy("blockart-modal-trigger",f?._className),onClick:()=>R(!0)},""!==c&&G().createElement(rV,{name:c||{}})),"image"===l&&G().createElement("figure",{className:Yy("blockart-modal-trigger",f?._className),onClick:()=>R(!0)},G().createElement("img",{src:C||CF,alt:P,loading:"lazy"})),"button"===l&&G().createElement("div",{className:Yy("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(rV,{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=>b({buttonText:e}),allowedFormats:[]}),d&&""!==d.icon&&d.enable&&"after"===u&&G().createElement("span",{className:"blockart-button-icon"},G().createElement(rV,{type:"frontendIcon",name:d.icon})))))),G().createElement("div",{className:Yy("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:j$,allowedBlocks:H$,renderAppender:q.InnerBlocks.DefaultBlockAppender})),("window-top-left"===m||"window-top-right"===m||"popup-top-left"===m||"popup-top-right"===m)&&G().createElement("div",{className:Yy("blockart-modal-popup-close",m),onClick:()=>R(!1)},""!==h&&G().createElement(rV,{name:h||{}}))))))})),Z$=z$.name,$$={...z$,icon:G().createElement(rV,{type:"blockIcon",name:"modal",size:24}),edit:W$,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 g="";if(i?.url){g=i.url;const e=i.sizes,t=l;void 0!==e&&void 0!==e[t]&&(g=e[t].url)}const b=Yy("blockart-button-link",u&&("filled"===d||"outline"===d)&&`is-${u}`,d&&`is-style-${d}`);return G().createElement("div",{className:Yy("blockart-modal-wrapper",`blockart-modal-${t}`)},G().createElement(G().Fragment,null,"text"===r&&G().createElement("div",{className:Yy("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:Yy("blockart-modal-trigger",f?._className),"data-micromodal-trigger":`blockart-modal-${t}`},""!==a&&G().createElement(rV,{name:a||{}})),"image"===r&&G().createElement("div",{className:Yy("blockart-modal-trigger",f?._className),"data-micromodal-trigger":`blockart-modal-${t}`},G().createElement("img",{src:g,alt:v})),"button"===r&&G().createElement("div",{className:Yy("blockart-button blockart-button-wrapper blockart-modal-trigger",f?._className)},G().createElement("button",{className:b,"data-micromodal-trigger":`blockart-modal-${t}`},c&&""!==c.icon&&c.enable&&"before"===p&&G().createElement("span",{className:"blockart-button-icon"},G().createElement(rV,{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(rV,{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:Yy("blockart-modal-popup-close",m),"data-micromodal-close":!0},""!==h&&G().createElement(rV,{name:h||{}}))))))}},U$=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:G$}=r(6008),q$=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:g,hideOnDismiss:b,border:y,borderColor:E,borderHoverColor:k},setAttributes:w}=e;return G().createElement(G().Fragment,null,G().createElement(hH,null),G().createElement(uH,null,G().createElement(fH,{title:(0,K.__)("General","blockart"),initialOpen:!0},G().createElement(OF,{checked:null!=m&&m,label:(0,K.__)("Allow to Dismiss","blockart"),onChange:()=>w({isDismissible:!m})}),m&&G().createElement(OF,{checked:null!=g&&g,label:(0,K.__)("Enable Cookies","blockart"),onChange:()=>w({enableCookie:!g,clientId:G$()})}),m&&g&&G().createElement(bD,{label:(0,K.__)("Show Closed Notice After ( Days )","blockart"),value:b||0,min:-1,max:365,step:1,onChange:e=>w({hideOnDismiss:e,clientId:G$()}),resetAttributeKey:"hideOnDismiss"})),m&&G().createElement(G().Fragment,null,G().createElement(fH,{title:(0,K.__)("Icon","blockart")},G().createElement(TF,{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(MF,{value:"left"},(0,K.__)("Left","blockart")),G().createElement(MF,{value:"right"},(0,K.__)("Right","blockart"))),G().createElement(Rl,{py:1,mb:"0 !important"},G().createElement(bD,{label:(0,K.__)("Vertical Position","blockart"),value:f||0,min:0,max:200,step:1,onChange:e=>w({dismissVertical:e}),resetAttributeKey:"dismissVertical"})),G().createElement(bD,{label:(0,K.__)("Horizontal Position","blockart"),value:v||0,min:0,max:200,step:1,onChange:e=>w({dismissHorizontal:e}),resetAttributeKey:"dismissHorizontal"})))),G().createElement(dH,null,G().createElement(fH,{title:(0,K.__)("Color","blockart"),initialOpen:!0},G().createElement(Iz,{label:(0,K.__)("Text Color","blockart"),trigger:e=>{const n=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:t,id:"color"},{color:r,id:"hoverColor"}]}));return rE(t)||rE(r)?G().createElement(Rl,{position:"relative"},G().createElement(n,null),G().createElement(NT,{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(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart")),G().createElement(gl,null,(0,K.__)("Hover","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:t,resetKey:"color",onReset:e=>{w({color:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:t,onChange:e=>w({color:e})})),G().createElement(yl,null,G().createElement(FI,{saved:r,resetKey:"hoverColor",onReset:e=>{w({hoverColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:r,onChange:e=>w({hoverColor:e})})))))),G().createElement(fH,{title:(0,K.__)("Background","blockart")},G().createElement(Iz,{label:(0,K.__)("Type","blockart")},G().createElement(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart")),G().createElement(gl,null,(0,K.__)("Hover","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:n,resetKey:"background",onReset:e=>{w({background:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(Cz,{value:n,onChange:e=>w({background:e})})),G().createElement(yl,null,G().createElement(FI,{saved:a,resetKey:"hoverBackground",onReset:e=>{w({hoverBackground:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(Cz,{value:a,onChange:e=>w({hoverBackground:e})})))))),G().createElement(fH,{title:(0,K.__)("Border","blockart")},G().createElement(Mz,{value:y,onChange:e=>w({border:e}),resetAttributeKey:"border"}),G().createElement(Iz,{label:(0,K.__)("Border Color","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:E,id:"borderColor"},{color:k,id:"borderHoverColor"}]}));return rE(E)||rE(k)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{position:"absolute",fill:"primary.500",height:"14px",width:"14px",top:"-5px",left:"-10px",bg:"white",borderRadius:"full"})):G().createElement(t,null)}},G().createElement(vl,{position:"relative",size:"sm"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart")),G().createElement(gl,null,(0,K.__)("Hover","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:E,resetKey:"borderColor",onReset:e=>{w({borderColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{onChange:e=>w({borderColor:e}),label:(0,K.__)("Color","blockart"),value:E,resetKey:"borderColor"})),G().createElement(yl,null,G().createElement(FI,{saved:k,resetKey:"borderHoverColor",onReset:e=>{w({borderHoverColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:k,onChange:e=>w({borderHoverColor:e})}))))))),G().createElement(pH,null,G().createElement(vH,{blockMargin:l,setAttributes:w,blockPadding:i,blockZIndex:o,cssID:s,className:p,hasblockHTML:!1}),G().createElement(gH,{hideOnDesktop:c,hideOnTablet:u,hideOnMobile:d,setAttributes:w})))},K$=U$.name,Y$={...U$,icon:G().createElement(rV,{type:"blockIcon",name:"notice",size:24}),edit:e=>{const{attributes:{cssID:t,className:r,isDismissible:n,dismissIconPosition:a},setAttributes:o}=e,{clientId:i}=pE(e),{device:l}=ME(),{CopyPasterStyleBlockControl:s}=EE(),{Style:c}=uE({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(q$,{attributes:e.attributes,setAttributes:o}),G().createElement(s,{withBlockControls:!0}),G().createElement(c,null),G().createElement("div",{id:t,className:Yy(`blockart-notice blockart-notice-${i} dismiss-icon-align-${a}`,r)},G().createElement("div",u),n&&G().createElement(TH,{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:Yy(`blockart-notice blockart-frontend blockart-notice-${r}`,a?"hide-on-dismiss":"",n),"data-id":r},G().createElement("div",l),a&&G().createElement(TH,{name:"close",size:24,className:"dismiss","data-hide":o?i:void 0}))}},X$=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"}'),Q$=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(hH,null),G().createElement(uH,null,G().createElement(fH,{title:(0,K.__)("Properties","blockart"),initialOpen:!0},G().createElement(TF,{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(MF,{value:"left"},G().createElement(gT,null)),G().createElement(MF,{value:"center"},G().createElement(yT,null)),G().createElement(MF,{value:"right"},G().createElement(bT,null)),G().createElement(MF,{value:"justify"},G().createElement(ET,null))))),G().createElement(dH,null,G().createElement(fH,{title:(0,K.__)("Text","blockart"),initialOpen:!0},G().createElement(Iz,{label:(0,K.__)("Text Color","blockart"),trigger:e=>{const n=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:t,id:"color"},{color:r,id:"hoverColor"}]}));return rE(t)||rE(r)?G().createElement(Rl,{position:"relative"},G().createElement(n,null),G().createElement(NT,{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(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart")),G().createElement(gl,null,(0,K.__)("Hover","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:t,resetKey:"color",onReset:e=>{f({color:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:t,onChange:e=>f({color:e})})),G().createElement(yl,null,G().createElement(FI,{saved:r,resetKey:"hoverColor",onReset:e=>{f({hoverColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:r,onChange:e=>f({hoverColor:e})}))))),G().createElement(kD,{value:i,onChange:e=>f({typography:e}),resetAttributeKey:"typography"})),G().createElement(fH,{title:(0,K.__)("Background","blockart")},G().createElement(Iz,{label:(0,K.__)("Type","blockart")},G().createElement(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart")),G().createElement(gl,null,(0,K.__)("Hover","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:n,resetKey:"background",onReset:e=>{f({background:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(Cz,{value:n,onChange:e=>f({background:e})})),G().createElement(yl,null,G().createElement(FI,{saved:a,resetKey:"hoverBackground",onReset:e=>{f({hoverBackground:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(Cz,{value:a,onChange:e=>f({hoverBackground:e})}))))))),G().createElement(pH,null,G().createElement(vH,{blockMargin:c,setAttributes:f,blockPadding:s,blockZIndex:l,cssID:u,className:h,hasblockHTML:!1}),G().createElement(gH,{hideOnDesktop:d,hideOnTablet:p,hideOnMobile:m,setAttributes:f})))},J$=X$.name,eU={...X$,icon:G().createElement(rV,{type:"blockIcon",name:"paragraph",size:24}),edit:e=>{const{attributes:{text:t,typography:r,cssID:n,className:a},setAttributes:o}=e,{clientId:i}=pE(e),{device:l}=ME(),{CopyPasterStyleBlockControl:s}=EE(),{Style:c}=uE({blockName:"paragraph",clientId:i,attributes:e.attributes,device:l});return G().createElement(G().Fragment,null,G().createElement(Q$,{attributes:e.attributes,setAttributes:o}),G().createElement(s,{withBlockControls:!0}),G().createElement(c,null),G().createElement(q.RichText,{id:n||null,className:Yy(`blockart-paragraph blockart-paragraph-${i}`,r?._className,a),identifier:"content",tagName:"p",onSplit:t=>{let r;return t&&(r={...e.attributes,text:t}),(0,Z.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:Yy(`blockart-paragraph blockart-paragraph-${r}`,o?._className,n)},G().createElement(q.RichText.Content,{value:a}))}},tU=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"}'),rU=[{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"}],nU=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(hH,null),G().createElement(uH,null,G().createElement(fH,{title:(0,K.__)("Title","blockart"),initialOpen:!0},G().createElement(Bz,{options:rU,onChange:e=>v({unitMarkup:e}),value:d,label:(0,K.__)("HTML Markup (Unit)","blockart")}),G().createElement(Bz,{options:rU,onChange:e=>v({priceMarkup:e}),value:p,label:(0,K.__)("HTML Markup (Price)","blockart")}),G().createElement(Bz,{options:rU,onChange:e=>v({decimalMarkup:e}),value:m,label:(0,K.__)("HTML Markup (Decimal Price)","blockart")}),G().createElement(Bz,{options:rU,onChange:e=>v({spanMarkup:e}),value:h,label:(0,K.__)("HTML Markup (Time)","blockart")}))),G().createElement(dH,null,G().createElement(fH,{title:(0,K.__)("Text","blockart")},G().createElement(kD,{value:s,onChange:e=>v({typography:e}),resetAttributeKey:"typography"})),G().createElement(fH,{title:(0,K.__)("Color","blockart")},G().createElement(Iz,{label:(0,K.__)("Text Color","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:c,id:"color"},{color:u,id:"hoverColor"}]}));return rE(c)||rE(u)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{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(vl,{position:"relative",size:"sm"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart")),G().createElement(gl,null,(0,K.__)("Hover","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:c,resetKey:"color",onReset:e=>{v({color:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:c,onChange:e=>v({color:e})})),G().createElement(yl,null,G().createElement(FI,{saved:u,resetKey:"hoverColor",onReset:e=>{v({hoverColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:u,onChange:e=>v({hoverColor:e})}))))))),G().createElement(pH,null,G().createElement(vH,{blockMargin:f,setAttributes:v,blockPadding:r}),G().createElement(gH,{hideOnDesktop:a,hideOnTablet:o,hideOnMobile:i,setAttributes:v})))},aU=tU.name,oU={...tU,icon:G().createElement(rV,{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}=pE(e),{device:p}=ME(),{CopyPasterStyleBlockControl:m}=EE(),{Style:h}=uE({blockName:"price",clientId:d,attributes:e.attributes,device:p});return G().createElement(G().Fragment,null,G().createElement(nU,{attributes:e.attributes,setAttributes:u}),G().createElement(m,{withBlockControls:!0}),G().createElement(h,null),G().createElement("div",{className:Yy(`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:Yy(`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"})))}},iU=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"}'),lU=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(hH,null),G().createElement(uH,null,G().createElement(fH,{title:(0,K.__)("General","blockart"),initialOpen:!0},G().createElement(bD,{label:(0,K.__)("Columns","blockart"),value:o,min:1,max:3,step:1,onChange:e=>f({columns:e}),resetAttributeKey:"columns"}),G().createElement(TF,{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(MF,{value:"left"},G().createElement(gT,null)),G().createElement(MF,{value:"center"},G().createElement(yT,null)),G().createElement(MF,{value:"right"},G().createElement(bT,null)))),G().createElement(fH,{title:(0,K.__)("Design","blockart"),initialOpen:!0},G().createElement(QH,{label:(0,K.__)("Preset","blockart")},G().createElement(Rl,{borderTop:"1px solid #E0E0E0"},G().createElement(TF,{responsive:!1,value:i,onChange:e=>f({presets:e}),label:(0,K.__)("Preset","blockart"),groupProps:FS},[{label:(0,K.__)("Preset 1","blockart"),value:"price_preset_1",icon:dI},{label:(0,K.__)("Preset 2","blockart"),value:"price_preset_2",icon:pI}].map((e=>G().createElement(MF,{key:e.value,value:e.value},G().createElement(e.icon,null),e.label)))))))),G().createElement(dH,null,G().createElement(fH,{title:(0,K.__)("Text","blockart")},G().createElement(kD,{value:a,onChange:e=>f({typography:e})})),G().createElement(fH,{title:(0,K.__)("Spacing","blockart")},G().createElement(Hz,{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(Hz,{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(pH,null,G().createElement(vH,{blockMargin:c,setAttributes:f,blockPadding:s}),G().createElement(gH,{hideOnDesktop:d,hideOnTablet:p,hideOnMobile:m,setAttributes:f})))},sU=["blockart/price-list-child"],cU=e=>{const t=[];for(let r=0;r<e;r++)t.push(["blockart/price-list-child",{id:r+1}]);return t},uU=iU.name,dU={...iU,icon:G().createElement(rV,{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}=pE(e),{device:s}=ME(),{CopyPasterStyleBlockControl:c}=EE(),{Style:u}=uE({blockName:"price-list",clientId:l,attributes:e.attributes,device:s}),d=(0,q.useBlockProps)({className:Yy(`blockart-price-list blockart-price-list-${l}`,n?`blockart-columns-${n}`:"",r?`blockart-${r}`:"",a)}),p=(0,q.useInnerBlocksProps)(d,{template:cU(t),templateLock:"all",allowedBlocks:sU,templateInsertUpdatesSelection:!0,renderAppender:q.InnerBlocks.DefaultBlockAppender});return G().createElement(G().Fragment,null,G().createElement(lU,{attributes:e.attributes,setAttributes:i}),G().createElement(q.BlockControls,{group:"block"},G().createElement(fE.ToolbarGroup,null,G().createElement(fE.Button,{label:(0,K.__)("Add Button","blockart"),onClick:()=>{const{getBlocks:t}=(0,dE.select)("core/block-editor"),{replaceInnerBlocks:r}=(0,dE.dispatch)("core/block-editor"),n=[...t(e.clientId)];n.push((0,Z.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:Yy(`blockart-price-list blockart-price-list-${r}`,a?`blockart-columns-${a}`:"",o?`blockart-${o}`:"",n)},G().createElement(q.InnerBlocks.Content,null))}},pU=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"}'),mU=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(hH,null),G().createElement(uH,null,G().createElement(fH,{title:(0,K.__)("Title","blockart"),initialOpen:!0},G().createElement(OF,{label:(0,K.__)("Separator","blockart"),checked:s,onChange:()=>u({separator:!s})}))),G().createElement(pH,null,G().createElement(vH,{blockMargin:c,setAttributes:u,blockPadding:r}),G().createElement(gH,{hideOnDesktop:a,hideOnTablet:o,hideOnMobile:i,setAttributes:u})))},hU=["blockart/price, blockart/heading, blockart/paragraph, blockart/button"],fU=[["blockart/price"],["blockart/heading"],["blockart/paragraph"],["blockart/button"]],vU=pU.name,gU={...pU,icon:G().createElement(rV,{type:"blockIcon",name:"priceList",size:24}),edit:e=>{const{attributes:{className:t,separator:r},setAttributes:n}=e,{clientId:a}=pE(e),{device:o}=ME(),{CopyPasterStyleBlockControl:i}=EE(),{Style:l}=uE({blockName:"price-list-child",clientId:a,attributes:e.attributes,device:o}),s=(0,dE.useSelect)((t=>{const{getBlockRootClientId:r}=t("core/block-editor");return r(e.clientId)}),[e.clientId]),c=t=>{const{getBlockIndex:r,getBlocks:n}=(0,dE.select)("core/block-editor"),{replaceInnerBlocks:a}=(0,dE.dispatch)("core/block-editor"),o=r(e.clientId,s),i=[...n(s)];"delete"===t?i.splice(o,1):i.splice(o+1,0,(0,Z.createBlock)("blockart/price-list-child")),a(s,i,!1)};return G().createElement(G().Fragment,null,G().createElement(mU,{attributes:e.attributes,setAttributes:n}),G().createElement(q.BlockControls,{group:"block"},G().createElement(fE.ToolbarGroup,null,G().createElement(fE.Button,{label:(0,K.__)("Add button","blockart"),onClick:()=>c("add"),icon:"plus"}),G().createElement(fE.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:Yy(`blockart-price-item blockart-price-list-child-${a}`,t)},G().createElement("div",{className:"blockart-content"},G().createElement(q.InnerBlocks,{allowedBlocks:hU,template:fU})),r&&G().createElement("div",{className:"blockart-separator"})))},save:e=>{const{attributes:{clientId:t,className:r,separator:n}}=e;return G().createElement("div",{className:Yy(`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"}))}},bU=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"}'),yU=e=>{const{context:t="edit"}=e;return G().createElement(G().Fragment,null,G().createElement("span",{className:Yy("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))},EU=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:g,labelEnable:b,layout:y,thickness:E,size:k,blockMargin:w},setAttributes:x}=e;return G().createElement(G().Fragment,null,G().createElement(hH,null),G().createElement(uH,null,G().createElement(fH,{title:(0,K.__)("General","blockart"),initialOpen:!0},G().createElement(bD,{label:(0,K.__)("Progress","blockart"),value:m,onChange:e=>{x({progress:e})},min:0,max:h||100,step:.1}),G().createElement(bD,{label:(0,K.__)("Max Progress","blockart"),value:h,onChange:e=>{x({maxProgress:e})},min:0,max:100,step:.1})),G().createElement(fH,{title:(0,K.__)("Design","blockart")},G().createElement(QH,{label:"Preset"},G().createElement(Rl,{borderTop:"1px solid #E0E0E0"},G().createElement(TF,{responsive:!1,value:y,onChange:e=>x({layout:e}),label:(0,K.__)("Preset"),groupProps:FS},[{label:(0,K.__)("Default","blockart"),value:"layout-1",icon:dO},{label:(0,K.__)("Layout 1","blockart"),value:"layout-2",icon:pO}].map((e=>G().createElement(MF,{key:e.value,value:e.value},G().createElement(e.icon,null),e.label))))))),G().createElement(fH,{title:(0,K.__)("Label","blockart")},G().createElement(OF,{onChange:e=>x({labelEnable:e}),checked:b,label:(0,K.__)("Enable","blockart")})),"layout-2"===y&&G().createElement(fH,{title:(0,K.__)("Circle","blockart")},G().createElement(bD,{label:(0,K.__)("Size","blockart"),value:k,onChange:e=>{x({size:e})},min:56,max:300,step:1,defaultUnit:"px",forceShowUnit:!0}),G().createElement(bD,{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(fH,{title:(0,K.__)("Bar","blockart")},G().createElement(Bz,{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(bD,{label:(0,K.__)("Height","blockart"),value:g,onChange:e=>{x({barHeight:e})},min:10,max:100,step:1,defaultUnit:"px",forceShowUnit:!0}))),G().createElement(dH,null,G().createElement(fH,{title:(0,K.__)("General","blockart"),initialOpen:!0},G().createElement(Iz,{label:(0,K.__)("Bar Background","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:v,id:"barBackground"}]}));return rE(v)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{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(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:v,resetKey:"barBackground",onReset:e=>{x({barBackground:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:v,onChange:e=>x({barBackground:e})}))))),G().createElement(Iz,{label:(0,K.__)("Background","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:r,id:"background"}]}));return rE(r)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{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(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:r,resetKey:"background",onReset:e=>{x({background:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:r,onChange:e=>x({background:e})})))))),G().createElement(fH,{title:(0,K.__)("Label","blockart")},G().createElement(Iz,{label:(0,K.__)("Text Color","blockart"),trigger:e=>{const r=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:t,id:"labelColor"}]}));return rE(t)?G().createElement(Rl,{position:"relative"},G().createElement(r,null),G().createElement(NT,{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(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:t,resetKey:"labelColor",onReset:e=>{x({labelColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:t,onChange:e=>x({labelColor:e})}))))),G().createElement(kD,{value:f,onChange:e=>x({labelTypography:e}),resetAttributeKey:"labelTypography"})),G().createElement(fH,{title:(0,K.__)("Bar","blockart")},G().createElement(Mz,{value:n,onChange:e=>{x({barBorder:e})},resetAttributeKey:"barBorder"})),G().createElement(fH,{title:(0,K.__)("Border","blockart")},G().createElement(Mz,{value:a,onChange:e=>{x({border:e})},resetAttributeKey:"border"}))),G().createElement(pH,null,G().createElement(vH,{blockMargin:w,setAttributes:x,blockPadding:l,blockZIndex:i,cssID:s,className:p,hasblockHTML:!1}),G().createElement(gH,{hideOnDesktop:c,hideOnTablet:u,hideOnMobile:d,setAttributes:x})))},kU=bU.name,wU={...bU,icon:G().createElement(rV,{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}=pE(e),{device:p}=ME(),{CopyPasterStyleBlockControl:m}=EE(),{Style:h}=uE({blockName:"progress",clientId:d,attributes:e.attributes,device:p});return G().createElement(G().Fragment,null,G().createElement(EU,{attributes:e.attributes,setAttributes:u}),G().createElement(m,{withBlockControls:!0}),G().createElement(h,null),G().createElement("div",{className:Yy(`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(yU,{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(yU,{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:Yy(`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(yU,{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(yU,{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))))))}},xU=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"}'),_U=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:g,blockMargin:b,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(hH,null),G().createElement(uH,null,G().createElement(fH,{title:(0,K.__)("Layout","blockart"),initialOpen:!0},G().createElement(TF,{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(MF,{value:"contained"},(0,K.__)("Contained","blockart")),G().createElement(MF,{value:"stretched"},(0,K.__)("Stretched","blockart"))),"contained"===n&&G().createElement(bD,{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(bD,{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(bD,{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(Bz,{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(bD,{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(dH,null,G().createElement(fH,{title:(0,K.__)("Properties","blockart"),initialOpen:!0},G().createElement(TF,{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(MF,{value:"left"},G().createElement(AT,null)),G().createElement(MF,{value:"flex-start"},G().createElement(kT,null)),G().createElement(MF,{value:"center"},G().createElement(wT,null)),G().createElement(MF,{value:"flex-end"},G().createElement(xT,null))),G().createElement(TF,{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(MF,{value:"left"},G().createElement(AT,null)),G().createElement(MF,{value:"baseline"},G().createElement(_T,null)),G().createElement(MF,{value:"flex-start"},G().createElement(kT,null)),G().createElement(MF,{value:"center"},G().createElement(wT,null)),G().createElement(MF,{value:"flex-end"},G().createElement(xT,null)))),G().createElement(fH,{title:(0,K.__)("Background","blockart")},G().createElement(Iz,{label:(0,K.__)("Type","blockart")},G().createElement(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart")),G().createElement(gl,null,(0,K.__)("Hover","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:c,resetKey:"background",onReset:e=>{M({background:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(Cz,{value:c,onChange:e=>M({background:e})})),G().createElement(yl,null,G().createElement(FI,{saved:u,resetKey:"hoverBackground",onReset:e=>{M({hoverBackground:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(Cz,{value:u,onChange:e=>M({hoverBackground:e})})))))),G().createElement(fH,{title:(0,K.__)("Separator","blockart")},G().createElement(QH,{label:(0,K.__)("Preset","blockart")},G().createElement(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Top","blockart")),G().createElement(gl,null,(0,K.__)("Bottom","blockart"))),G().createElement(El,null,G().createElement(yl,{p:0},G().createElement(TF,{label:(0,K.__)("Select","blockart"),value:S?.topSeparatorIcon,onChange:e=>M({topSeparator:{topSeparator:1,topSeparatorIcon:e}}),groupProps:FS},[{label:(0,K.__)("None","blockart"),value:"none",icon:UO},{label:(0,K.__)("Separator 1","blockart"),value:"top_separator_1",icon:EO},{label:(0,K.__)("Separator 2","blockart"),value:"top_separator_2",icon:kO},{label:(0,K.__)("Separator 3","blockart"),value:"top_separator_3",icon:wO},{label:(0,K.__)("Separator 4","blockart"),value:"top_separator_4",icon:xO},{label:(0,K.__)("Separator 5","blockart"),value:"top_separator_5",icon:_O},{label:(0,K.__)("Separator 6","blockart"),value:"top_separator_6",icon:PO},{label:(0,K.__)("Separator 7","blockart"),value:"top_separator_7",icon:CO},{label:(0,K.__)("Separator 8","blockart"),value:"top_separator_8",icon:AO},{label:(0,K.__)("Separator 9","blockart"),value:"top_separator_9",icon:SO},{label:(0,K.__)("Separator 10","blockart"),value:"top_separator_10",icon:RO},{label:(0,K.__)("Separator 11","blockart"),value:"top_separator_11",icon:MO},{label:(0,K.__)("Separator 12","blockart"),value:"top_separator_12",icon:TO},{label:(0,K.__)("Separator 13","blockart"),value:"top_separator_13",icon:OO}].map((e=>G().createElement(MF,{key:e.value,value:e.value},G().createElement(e.icon,null),e.label))))),G().createElement(yl,{p:0},G().createElement(TF,{label:(0,K.__)("Select","blockart"),value:R?.bottomSeparatorIcon,onChange:e=>M({bottomSeparator:{bottomSeparator:1,bottomSeparatorIcon:e}}),groupProps:FS},[{label:(0,K.__)("None","blockart"),value:"none",icon:UO},{label:(0,K.__)("Separator 1","blockart"),value:"bottom_separator_1",icon:IO},{label:(0,K.__)("Separator 2","blockart"),value:"bottom_separator_2",icon:LO},{label:(0,K.__)("Separator 3","blockart"),value:"bottom_separator_3",icon:DO},{label:(0,K.__)("Separator 4","blockart"),value:"bottom_separator_4",icon:BO},{label:(0,K.__)("Separator 5","blockart"),value:"bottom_separator_5",icon:VO},{label:(0,K.__)("Separator 6","blockart"),value:"bottom_separator_6",icon:NO},{label:(0,K.__)("Separator 7","blockart"),value:"bottom_separator_7",icon:zO},{label:(0,K.__)("Separator 8","blockart"),value:"bottom_separator_8",icon:FO},{label:(0,K.__)("Separator 9","blockart"),value:"bottom_separator_9",icon:HO},{label:(0,K.__)("Separator 10","blockart"),value:"bottom_separator_10",icon:jO},{label:(0,K.__)("Separator 11","blockart"),value:"bottom_separator_11",icon:WO},{label:(0,K.__)("Separator 12","blockart"),value:"bottom_separator_12",icon:ZO},{label:(0,K.__)("Separator 13","blockart"),value:"bottom_separator_13",icon:$O}].map((e=>G().createElement(MF,{key:e.value,value:e.value},G().createElement(e.icon,null),e.label))))))))),G().createElement(fH,{title:(0,K.__)("Border","blockart")},G().createElement(vl,{variant:"border"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart")),G().createElement(gl,null,(0,K.__)("Hover","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(Mz,{value:d,onChange:e=>{M({border:e})},resetAttributeKey:"border"}),G().createElement(Vz,{resetAttributeKey:"boxShadow",value:m,onChange:e=>M({boxShadow:e})})),G().createElement(yl,null,G().createElement(Mz,{value:p,onChange:e=>{M({borderHover:e})},resetAttributeKey:"borderHover"}),G().createElement(Vz,{resetAttributeKey:"boxShadowHover",value:h,onChange:e=>M({boxShadowHover:e})}))))),G().createElement(fH,{title:(0,K.__)("Overlay","blockart")},G().createElement(OF,{checked:f,onChange:()=>M({overlay:!f}),label:(0,K.__)("Enable","blockart")}),f&&G().createElement(Iz,{label:(0,K.__)("Type","blockart")},G().createElement(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart")),G().createElement(gl,null,(0,K.__)("Hover","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:v,resetKey:"overlayBackground",onReset:e=>{M({overlayBackground:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(Cz,{value:v,onChange:e=>M({overlayBackground:e})})),G().createElement(yl,null,G().createElement(FI,{saved:g,resetKey:"overlayHoverBackground",onReset:e=>{M({overlayHoverBackground:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(Cz,{value:g,onChange:e=>M({overlayHoverBackground:e})}))))))),G().createElement(pH,null,G().createElement(vH,{blockMargin:b,setAttributes:M,blockPadding:y,blockZIndex:E,cssID:k,className:P,hasblockHTML:!1}),G().createElement(gH,{hideOnDesktop:w,hideOnTablet:x,hideOnMobile:_,setAttributes:M,colReverseOnMobile:A,colReverseOnTablet:C,hasColReverse:!0})))},PU=[{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]}}],CU={desktop:[100],tablet:[100],mobile:[100]},AU=((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}=vr(),{hasModal:a,modalOnly:o,setAttributes:i,setDefaultLayout:l,clientId:s}=e;return G().createElement(G().Fragment,null,G().createElement(fE.Placeholder,{label:(0,K.__)("Choose Your Layout","blockart"),className:"blockart-section-preset"},G().createElement("div",{className:"blockart-section-preset-group"},PU.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+"%"}}))))))),!$y.isNotPostEditor&&G().createElement("div",{className:"blockart-section-preset-import-btn"},G().createElement("button",{onClick:()=>i({hasModal:!0})},(0,K.__)("View Templates","blockart")))),G().createElement(xN,{onClose:r,isOpen:n}))}),SU=xU.name,RU={...xU,icon:G().createElement(rV,{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)(CU),{clientId:v}=pE(e),{device:g}=ME(),{CopyPasterStyleBlockControl:b}=EE();(0,U.useEffect)((()=>{const{getBlockRootClientId:t}=(0,dE.select)("core/block-editor"),r=t(e.clientId);m({childRow:!!r})}),[e.clientId,m]);const{Style:y}=uE({blockName:"section",clientId:v,attributes:e.attributes,device:g}),E=((e,t)=>{let r=e;return e?((0,lE.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(_U,{attributes:e.attributes,setAttributes:m}),G().createElement(b,{withBlockControls:!0}),G().createElement(y,null),G().createElement("div",{id:s||null,className:Yy(`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(rV,{name:d.topSeparatorIcon})),G().createElement("div",{className:Yy({"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(rV,{name:p.bottomSeparatorIcon})))):G().createElement(AU,{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:Yy(`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(rV,{name:s.topSeparatorIcon})),G().createElement("div",{className:Yy({"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(rV,{name:c.bottomSeparatorIcon}))))}},MU=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"}'),TU=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(hH,null),G().createElement(dH,null,G().createElement(fH,{title:(0,K.__)("Background","blockart"),initialOpen:!0},G().createElement(Iz,{label:(0,K.__)("Type","blockart")},G().createElement(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart")),G().createElement(gl,null,(0,K.__)("Hover","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:c,resetKey:"background",onReset:e=>{d({background:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(Cz,{value:c,onChange:e=>d({background:e})})))))),G().createElement(fH,{title:(0,K.__)("Border","blockart")},G().createElement(Mz,{value:u,onChange:e=>d({border:e}),resetAttributeKey:"border"}))),G().createElement(pH,null,G().createElement(vH,{blockMargin:t,setAttributes:d,blockPadding:r,blockZIndex:n,cssID:a,className:s,hasblockHTML:!1}),G().createElement(gH,{hideOnDesktop:o,hideOnTablet:i,hideOnMobile:l,setAttributes:d})))},OU=MU.name,IU={...MU,icon:G().createElement(rV,{type:"blockIcon",name:"slide",size:24}),edit:e=>{const{attributes:{cssID:t,className:r},setAttributes:n}=e,{clientId:a}=pE(e),{device:o}=ME(),{CopyPasterStyleBlockControl:i}=EE(),{Style:l}=uE({blockName:"slide",clientId:a,attributes:e.attributes,device:o}),{hasChildBlocks:s,rootClientId:c,siblings:u}=(0,dE.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:Yy(`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(TU,{attributes:e.attributes,setAttributes:n}),G().createElement(q.BlockControls,null,G().createElement(fE.ToolbarGroup,null,G().createElement(fE.Button,{label:(0,K.__)("Remove Slide","blockart"),onClick:()=>{const{getBlockIndex:t,getBlocks:r}=(0,dE.select)("core/block-editor"),{replaceInnerBlocks:n}=(0,dE.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:Yy(`blockart-slide blockart-slide-${t} splide__slide`,r)});return G().createElement("li",s)}},LU=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 DU(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 BU="(prefers-reduced-motion: reduce)",VU={CREATED:1,MOUNTED:2,IDLE:3,MOVING:4,SCROLLING:5,DRAGGING:6,DESTROYED:7};function NU(e){e.length=0}function zU(e,t,r){return Array.prototype.slice.call(e,t,r)}function FU(e){return e.bind.apply(e,[null].concat(zU(arguments,1)))}var HU=setTimeout,jU=function(){};function WU(e){return requestAnimationFrame(e)}function ZU(e,t){return typeof t===e}function $U(e){return!YU(e)&&ZU("object",e)}var UU=Array.isArray,GU=FU(ZU,"function"),qU=FU(ZU,"string"),KU=FU(ZU,"undefined");function YU(e){return null===e}function XU(e){try{return e instanceof(e.ownerDocument.defaultView||window).HTMLElement}catch(e){return!1}}function QU(e){return UU(e)?e:[e]}function JU(e,t){QU(e).forEach(t)}function eG(e,t){return e.indexOf(t)>-1}function tG(e,t){return e.push.apply(e,QU(t)),e}function rG(e,t,r){e&&JU(t,(function(t){t&&e.classList[r?"add":"remove"](t)}))}function nG(e,t){rG(e,qU(t)?t.split(" "):t,!0)}function aG(e,t){JU(t,e.appendChild.bind(e))}function oG(e,t){JU(e,(function(e){var r=(t||e).parentNode;r&&r.insertBefore(e,t)}))}function iG(e,t){return XU(e)&&(e.msMatchesSelector||e.matches).call(e,t)}function lG(e,t){var r=e?zU(e.children):[];return t?r.filter((function(e){return iG(e,t)})):r}function sG(e,t){return t?lG(e,t)[0]:e.firstElementChild}var cG=Object.keys;function uG(e,t,r){return e&&(r?cG(e).reverse():cG(e)).forEach((function(r){"__proto__"!==r&&t(e[r],r)})),e}function dG(e){return zU(arguments,1).forEach((function(t){uG(t,(function(r,n){e[n]=t[n]}))})),e}function pG(e){return zU(arguments,1).forEach((function(t){uG(t,(function(t,r){UU(t)?e[r]=t.slice():$U(t)?e[r]=pG({},$U(e[r])?e[r]:{},t):e[r]=t}))})),e}function mG(e,t){JU(t||cG(e),(function(t){delete e[t]}))}function hG(e,t){JU(e,(function(e){JU(t,(function(t){e&&e.removeAttribute(t)}))}))}function fG(e,t,r){$U(t)?uG(t,(function(t,r){fG(e,r,t)})):JU(e,(function(e){YU(r)||""===r?hG(e,t):e.setAttribute(t,String(r))}))}function vG(e,t,r){var n=document.createElement(e);return t&&(qU(t)?nG(n,t):fG(n,t)),r&&aG(r,n),n}function gG(e,t,r){if(KU(r))return getComputedStyle(e)[t];YU(r)||(e.style[t]=""+r)}function bG(e,t){gG(e,"display",t)}function yG(e){e.setActive&&e.setActive()||e.focus({preventScroll:!0})}function EG(e,t){return e.getAttribute(t)}function kG(e,t){return e&&e.classList.contains(t)}function wG(e){return e.getBoundingClientRect()}function xG(e){JU(e,(function(e){e&&e.parentNode&&e.parentNode.removeChild(e)}))}function _G(e){return sG((new DOMParser).parseFromString(e,"text/html").body)}function PG(e,t){e.preventDefault(),t&&(e.stopPropagation(),e.stopImmediatePropagation())}function CG(e,t){return e&&e.querySelector(t)}function AG(e,t){return t?zU(e.querySelectorAll(t)):[]}function SG(e,t){rG(e,t,!1)}function RG(e){return e.timeStamp}function MG(e){return qU(e)?e:e?e+"px":""}var TG="splide",OG="data-"+TG;function IG(e,t){if(!e)throw new Error("["+TG+"] "+(t||""))}var LG=Math.min,DG=Math.max,BG=Math.floor,VG=Math.ceil,NG=Math.abs;function zG(e,t,r){return NG(e-t)<r}function FG(e,t,r,n){var a=LG(t,r),o=DG(t,r);return n?a<e&&e<o:a<=e&&e<=o}function HG(e,t,r){var n=LG(t,r),a=DG(t,r);return LG(DG(n,e),a)}function jG(e){return+(e>0)-+(e<0)}function WG(e,t){return JU(t,(function(t){e=e.replace("%s",""+t)})),e}function ZG(e){return e<10?"0"+e:""+e}var $G={};function UG(){var e=[];function t(e,t,r){JU(e,(function(e){e&&JU(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]()})),NU(e)}}}var GG="mounted",qG="ready",KG="move",YG="moved",XG="click",QG="active",JG="inactive",eq="visible",tq="hidden",rq="refresh",nq="updated",aq="resize",oq="resized",iq="drag",lq="dragging",sq="dragged",cq="scroll",uq="scrolled",dq="destroy",pq="arrows:mounted",mq="arrows:updated",hq="pagination:mounted",fq="pagination:updated",vq="navigation:mounted",gq="autoplay:play",bq="autoplay:playing",yq="autoplay:pause",Eq="lazyload:loaded",kq="ei";function wq(e){var t=e?e.event.bus:document.createDocumentFragment(),r=UG();return e&&e.event.on(dq,r.destroy),dG(r,{bus:t,on:function(e,n){r.bind(t,QU(e).join(" "),(function(e){n.apply(n,UU(e.detail)?e.detail:[])}))},off:FU(r.unbind,t),emit:function(e){r.dispatch(t,e,zU(arguments,1))}})}function xq(e,t,r,n){var a,o,i=Date.now,l=0,s=!0,c=0;function u(){if(!s){if(l=e?LG((i()-a)/e,1):1,r&&r(l),l>=1&&(t(),a=i(),n&&++c>=n))return d();o=WU(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=WU(u)},rewind:function(){a=i(),l=0,r&&r(l)},pause:d,cancel:p,set:function(t){e=t},isPaused:function(){return s}}}var _q="Arrow",Pq=_q+"Left",Cq=_q+"Right",Aq=_q+"Up",Sq=_q+"Down",Rq="ttb",Mq={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[Aq,Cq],ArrowRight:[Sq,Pq]},Tq="role",Oq="tabindex",Iq="aria-",Lq=Iq+"controls",Dq=Iq+"current",Bq=Iq+"selected",Vq=Iq+"label",Nq=Iq+"labelledby",zq=Iq+"hidden",Fq=Iq+"orientation",Hq=Iq+"roledescription",jq=Iq+"live",Wq=Iq+"busy",Zq=Iq+"atomic",$q=[Tq,Oq,"disabled",Lq,Dq,Vq,Nq,zq,Fq,Hq],Uq=TG+"__",Gq="is-",qq=TG,Kq=Uq+"track",Yq=Uq+"list",Xq=Uq+"slide",Qq=Xq+"--clone",Jq=Xq+"__container",eK=Uq+"arrows",tK=Uq+"arrow",rK=tK+"--prev",nK=tK+"--next",aK=Uq+"pagination",oK=aK+"__page",iK=Uq+"progress__bar",lK=Uq+"toggle",sK=Uq+"sr",cK=Gq+"initialized",uK=Gq+"active",dK=Gq+"prev",pK=Gq+"next",mK=Gq+"visible",hK=Gq+"loading",fK=Gq+"focus-in",vK=Gq+"overflow",gK=[uK,mK,dK,pK,hK,fK,vK],bK={slide:Xq,clone:Qq,arrows:eK,arrow:tK,prev:rK,next:nK,pagination:aK,page:oK,spinner:Uq+"spinner"},yK="touchstart mousedown",EK="touchmove mousemove",kK="touchend touchcancel mouseup click",wK="slide",xK="loop",_K="fade";var PK=OG+"-interval",CK={passive:!1,capture:!0},AK={Spacebar:" ",Right:Cq,Left:Pq,Up:Aq,Down:Sq};function SK(e){return e=qU(e)?e:e.key,AK[e]||e}var RK="keydown",MK=OG+"-lazy",TK=MK+"-srcset",OK="["+MK+"], ["+TK+"]",IK=[" ","Enter"],LK=Object.freeze({__proto__:null,Media:function(e,t,r){var n=e.state,a=r.breakpoints||{},o=r.reducedMotion||{},i=UG(),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 pG(e,t[1].matches?t[0]:{})}),{});mG(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){pG(r,t),a&&pG(Object.getPrototypeOf(r),t),!o&&n.is(1)||e.emit(nq,r)}return{setup:function(){var e="min"===r.mediaQuery;cG(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,BU),u()},destroy:s,reduce:function(e){matchMedia(BU).matches&&(e?pG(r,o):mG(r,cG(o)))},set:d}},Direction:function(e,t,r){return{resolve:function(e,t,n){var a="rtl"!==(n=n||r.direction)||t?n===Rq?0:-1:1;return Mq[e]&&Mq[e][a]||e.replace(/width|left|right/i,(function(e,t){var r=Mq[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=wq(e),l=i.on,s=i.bind,c=e.root,u=r.i18n,d={},p=[],m=[],h=[];function f(){n=b("."+Kq),a=sG(n,"."+Yq),IG(n&&a,"A track/list element is missing."),tG(p,lG(a,"."+Xq+":not(."+Qq+")")),uG({arrows:eK,pagination:aK,prev:rK,next:nK,bar:iK,toggle:lK},(function(e,t){d[t]=b("."+e)})),dG(d,{root:c,track:n,list:a,slides:p}),function(){var e,t=c.id||""+(e=TG)+ZG($G[e]=($G[e]||0)+1),o=r.role;c.id=t,n.id=n.id||t+"-track",a.id=a.id||t+"-list",!EG(c,Tq)&&"SECTION"!==c.tagName&&o&&fG(c,Tq,o),fG(c,Hq,u.carousel),fG(a,Tq,"presentation")}(),g()}function v(e){var t=$q.concat("style");NU(p),SG(c,m),SG(n,h),hG([n,a],t),hG(c,e?t:["style",Hq])}function g(){SG(c,m),SG(n,h),m=y(qq),h=y(Kq),nG(c,m),nG(n,h),fG(c,Vq,r.label),fG(c,Nq,r.labelledby)}function b(e){var t=CG(c,e);return t&&function(e,t){if(GU(e.closest))return e.closest(t);for(var r=e;r&&1===r.nodeType&&!iG(r,t);)r=r.parentElement;return r}(t,"."+qq)===c?t:void 0}function y(e){return[e+"--"+r.type,e+"--"+r.direction,r.drag&&e+"--draggable",r.isNavigation&&e+"--nav",e===qq&&uK]}return dG(d,{setup:f,mount:function(){l(rq,v),l(rq,f),l(nq,g),s(document,yK+" keydown",(function(e){o="keydown"===e.type}),{capture:!0}),s(c,"focusin",(function(){rG(c,fK,!!o)}))},destroy:v})},Slides:function(e,t,r){var n=wq(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()})),NU(u)}function m(t,r,n){var a=function(e,t,r,n){var a,o=wq(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,g=c.Direction.resolve,b=EG(n,"style"),y=EG(n,Vq),E=r>-1,k=sG(n,"."+Jq);function w(){var a=e.splides.map((function(e){var r=e.splide.Components.Slides.getAt(t);return r?r.slide.id:""})).join(" ");fG(n,Vq,WG(h.slideX,(E?r:t)+1)),fG(n,Lq,a),fG(n,Tq,v?"button":""),v&&hG(n,Hq)}function x(){a||_()}function _(){if(!a){var r=e.index;(o=P())!==kG(n,uK)&&(rG(n,uK,o),fG(n,Dq,p&&o||""),l(o?QG:JG,C)),function(){var t=function(){if(e.is(_K))return P();var t=wG(c.Elements.track),r=wG(n),a=g("left",!0),o=g("right",!0);return BG(t[a])<=VG(r[a])&&BG(r[o])<=VG(t[o])}(),r=!t&&(!P()||E);if(e.state.is([4,5])||fG(n,zq,r||""),fG(AG(n,d.focusableNodes||""),Oq,r?-1:""),v&&fG(n,Oq,r?-1:0),t!==kG(n,mK)&&(rG(n,mK,t),l(t?eq:tq,C)),!t&&document.activeElement===n){var a=c.Slides.getAt(e.index);a&&yG(a.slide)}}(),rG(n,dK,t===r-1),rG(n,pK,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"+ZG(t+1),fG(n,Tq,f?"tabpanel":"group"),fG(n,Hq,h.slide),fG(n,Vq,y||WG(h.slideLabel,[t+1,e.length]))),s(n,"click",FU(l,XG,C)),s(n,"keydown",FU(l,"sk",C)),i([YG,"sh",uq],_),i(vq,w),m&&i(KG,x)},destroy:function(){a=!0,o.destroy(),SG(n,gK),hG(n,$q),fG(n,"style",b),fG(n,Vq,y||"")},update:_,style:function(e,t,r){gG(r&&k||n,e,t)},isWithin:function(r,n){var a=NG(r-t);return E||!d.rewind&&!e.is(xK)||(a=LG(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(GU(e)?e:function(t){return qU(e)?iG(t.slide,e):eG(QU(e),t.index)})}return{mount:function(){d(),a(rq,p),a(rq,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 FG(e.index,a,a+o-1)}))},getAt:function(e){return v(e)[0]},add:function(e,t){JU(e,(function(e){if(qU(e)&&(e=_G(e)),XU(e)){var n=s[t];n?oG(e,n):aG(c,e),nG(e,r.classes.slide),a=e,l=FU(o,aq),u=AG(a,"img"),(d=u.length)?u.forEach((function(e){i(e,"load error",(function(){--d||l()}))})):l()}var a,l,u,d})),o(rq)},remove:function(e){xG(v(e).map((function(e){return e.slide}))),o(rq)},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=wq(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,g=u.style;function b(){n=r.direction===Rq,gG(m,"maxWidth",MG(r.width)),gG(h,d("paddingLeft"),E(!1)),gG(h,d("paddingRight"),E(!0)),y(!0)}function y(e){var t,i=wG(m);(e||a.width!==i.width||a.height!==i.height)&&(gG(h,"height",(t="",n&&(IG(t=k(),"height or heightRatio is missing."),t="calc("+t+" - "+E(!1)+" - "+E(!0)+")"),t)),g(d("marginRight"),MG(r.gap)),g("width",r.autoWidth?null:MG(r.fixedWidth)||(n?"":w())),g("height",MG(r.fixedHeight)||(n?r.autoHeight?null:w():k()),!0),a=i,c(oq),o!==(o=S())&&(rG(m,vK,o),c("overflow",o)))}function E(e){var t=r.padding,n=d(e?"right":"left");return t&&MG(t[n]||($U(t)?0:t))||"0px"}function k(){return MG(r.height||wG(f).width*r.heightRatio)}function w(){var e=MG(r.gap);return"calc((100%"+(e&&" + "+e)+")/"+(r.perPage||1)+(e&&" - "+e)+")"}function x(){return wG(f)[d("width")]}function _(e,t){var r=v(e||0);return r?wG(r.slide)[d("width")]+(t?0:A()):0}function P(e,t){var r=v(e);if(r){var n=wG(r.slide)[d("right")],a=wG(f)[d("left")];return NG(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(gG(e.slide,d("marginRight")))||0}function S(){return e.is(_K)||C(!0)>x()}return{mount:function(){var e,t;b(),s(window,"resize load",(e=FU(c,aq),t=xq(0,e,null,1),function(){t.isPaused()&&t.start()})),l([nq,rq],b),l(aq,y)},resize:y,listSize:x,slideSize:_,sliderSize:C,totalSize:P,getPadding:function(e){return parseFloat(gG(h,d("padding"+(e?"Right":"Left"))))||0},isOverflow:S}},Clones:function(e,t,r){var n,a=wq(e),o=a.on,i=t.Elements,l=t.Slides,s=t.Direction.resolve,c=[];function u(){o(rq,d),o([nq,aq],m),(n=h())&&(function(t){var n=l.get().slice(),a=n.length;if(a){for(;n.length<t;)tG(n,n);tG(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 nG(a,r.classes.clone),a.id=e.root.id+"-clone"+ZG(n+1),a}(o.slide,s);u?oG(d,n[0].slide):aG(i.list,d),tG(c,d),l.register(d,s-t+(u?0:a),o.index)}))}}(n),t.Layout.resize(!0))}function d(){p(),u()}function p(){xG(c),NU(c),a.destroy()}function m(){var e=h();n!==e&&(n<e||!e)&&a.emit(rq)}function h(){var n=r.clones;if(e.is(xK)){if(KU(n)){var a=r[s("fixedWidth")]&&t.Layout.slideSize(0);n=a&&VG(wG(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=wq(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,g=t.Elements,b=g.list,y=g.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(_K)){var a=n?r:function(r){if(e.is(xK)){var n=P(r),a=n>t.Controller.getEnd();(n<0||a)&&(r=x(r,a))}return r}(r);gG(b,"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*(VG(NG(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=NG(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(wK)&&(t=HG(t,0,v(m(!0)-p()))),t}(a):a}function A(){var e=f("left");return wG(b)[e]-wG(y)[e]+v(u(!1))}function S(e){return C(e?t.Controller.getEnd():0,!!r.trimSpace)}return{mount:function(){n=t.Transition,o([GG,oq,nq,rq],E)},move:function(e,t,r,a){var o,s;e!==t&&(o=e>r,s=v(x(A(),o)),o?s>=0:s<=b[f("scrollWidth")]-wG(y)[f("width")])&&(_(),w(x(A(),e>r),!0)),l(4),i(KG,t,r,e),n.start(t,(function(){l(3),i(YG,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=KU(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=wq(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,g=r.omitEnd,b=e.is(xK),y=e.is(wK),E=FU(C,!1),k=FU(C,!0),w=r.start||0,x=w;function _(){a=v(!0),o=r.perMove,i=r.perPage,n=R();var e=HG(w,0,g?n:a-1);e!==w&&(w=e,u.reposition())}function P(){n!==R()&&c(kq)}function C(e,t){var r=o||(I()?1:i),a=A(w+r*(e?-1:1),w,!(o||I()));return-1===a&&y&&!zG(d(),p(!e),1)?e?0:n:t?a:S(a)}function A(t,l,s){if(f()||I()){var c=function(t){if(y&&"move"===r.trimSpace&&t!==w)for(var n=d();n===m(t,!0)&&FG(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||!FG(0,t,l,!0)&&!FG(n,l,t,!0)?b?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 b?(e+a)%a||0:e}function R(){for(var e=a-(I()||b&&o?1:i);g&&e-- >0;)if(m(a-1,!0)!==m(e,!0)){e++;break}return HG(e,0,a-1)}function M(e){return HG(I()?e:i*e,0,n)}function T(e){return I()?LG(e,n):BG((e>=n?a-1:e)/i)}function O(e){e!==w&&(x=w,w=e)}function I(){return!KU(r.focus)||r.isNavigation}function L(){return e.state.is([4,5])&&!!r.waitForTransition}return{mount:function(){_(),s([nq,rq,kq],_),s(oq,P)},go:function(e,t,r){if(!L()){var a=function(e){var t=w;if(qU(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=b?e:HG(e,0,n);return t}(e),o=S(a);o>-1&&(t||o!==w)&&(O(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()));O(g?LG(e,n):e),o&&o()}))},getNext:E,getPrev:k,getAdjacent:C,getEnd:R,setIndex:O,getIndex:function(e){return e?x:w},toIndex:M,toPage:T,toDest:function(e){var t=u.toIndex(e);return y?HG(t,0,n):t},hasFocus:I,isBusy:L}},Arrows:function(e,t,r){var n,a,o=wq(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,g=d.next,b={};function y(){var e;!(e=r.arrows)||v&&g||(f=m||vG("div",c.arrows),v=x(!0),g=x(!1),n=!0,aG(f,[v,g]),!m&&oG(f,h)),v&&g&&(dG(b,{prev:v,next:g}),bG(f,e?"":"none"),nG(f,a=eK+"--"+r.direction),e&&(i([GG,YG,rq,uq,kq],_),l(g,"click",FU(w,">")),l(v,"click",FU(w,"<")),_(),fG([v,g],Lq,h.id),s(pq,v,g))),i(nq,E)}function E(){k(),y()}function k(){o.destroy(),SG(f,a),n?(xG(m?[v,g]:f),v=g=null):hG([v,g],$q)}function w(e){p.go(e,!0)}function x(e){return _G('<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&&g){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,g.disabled=n<0,fG(v,Vq,a),fG(g,Vq,o),s(mq,v,g,r,n)}}return{arrows:b,mount:y,destroy:k,update:_}},Autoplay:function(e,t,r){var n,a,o=wq(e),i=o.on,l=o.bind,s=o.emit,c=xq(r.interval,e.go.bind(e,">"),(function(e){var t=d.bar;t&&gG(t,"width",100*e+"%"),s(bq,e)})),u=c.isPaused,d=t.Elements,p=t.Elements,m=p.root,h=p.toggle,f=r.autoplay,v="pause"===f;function g(){u()&&t.Slides.isEnough()&&(c.start(!r.resetProgress),a=n=v=!1,E(),s(gq))}function b(e){void 0===e&&(e=!0),v=!!e,E(),u()||(c.pause(),s(yq))}function y(){v||(n||a?b(!1):g())}function E(){h&&(rG(h,uK,!v),fG(h,Vq,r.i18n[v?"play":"pause"]))}function k(e){var n=t.Slides.getAt(e);c.set(n&&+EG(n.slide,PK)||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?g():b(!0)})),i([KG,cq,rq],c.rewind),i(KG,k),h&&fG(h,Lq,d.track.id),v||g(),E())},destroy:c.cancel,play:g,pause:b,isPaused:u}},Cover:function(e,t,r){var n=wq(e).on;function a(e){t.Slides.forEach((function(t){var r=sG(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),bG(t,e?"none":"")}return{mount:function(){r.cover&&(n(Eq,FU(o,!0)),n([GG,nq,rq],FU(a,!0)))},destroy:FU(a,!1)}},Scroll:function(e,t,r){var n,a,o=wq(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(wK),f=1;function v(e,r,o,i,d){var m=u();if(y(),o&&(!h||!p())){var v=t.Layout.sliderSize(),E=jG(e)*v*BG(NG(e)/v)||0;e=c.toPosition(t.Controller.toDest(e%v))+E}var k=zG(m,e,1);f=1,r=k?0:r||DG(NG(e-m)/1.5,800),a=i,n=xq(r,g,FU(b,m,e,d),1),s(5),l(cq),n.start()}function g(){s(3),a&&a(),l(uq)}function b(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,NG(s)<10&&v(d(p(!0)),600,!1,a,!0))}function y(){n&&n.cancel()}function E(){n&&!n.isPaused()&&(y(),g())}return{mount:function(){i(KG,y),i([nq,rq],E)},destroy:y,scroll:v,cancel:E}},Drag:function(e,t,r){var n,a,o,i,l,s,c,u,d=wq(e),p=d.on,m=d.emit,h=d.bind,f=d.unbind,v=e.state,g=t.Move,b=t.Scroll,y=t.Controller,E=t.Elements.track,k=t.Media.reduce,w=t.Direction,x=w.resolve,_=w.orient,P=g.getPosition,C=g.exceededLimit,A=!1;function S(){var e=r.drag;z(!e),i="free"===e}function R(e){if(s=!1,!c){var t=N(e);n=e.target,a=r.noDrag,iG(n,"."+oK+", ."+tK)||a&&iG(n,a)||!t&&e.button||(y.isBusy()?PG(e,!0):(u=t?E:window,l=v.is([4,5]),o=null,h(u,EK,M,CK),h(u,kK,T,CK),g.cancel(),b.cancel(),I(e)))}var n,a}function M(t){if(v.is(6)||(v.set(6),m(iq)),t.cancelable)if(l){g.translate(n+L(t)/(A&&e.is(wK)?5:1));var a=D(t)>200,o=A!==(A=C());(a||o)&&I(t),s=!0,m(lq),PG(t)}else(function(e){return NG(L(e))>NG(L(e,!0))})(t)&&(l=function(e){var t=r.dragMinThreshold,n=$U(t),a=n&&t.mouse||0,o=(n?t.touch:+t)||10;return NG(L(e))>(N(e)?o:a)}(t),PG(t))}function T(n){v.is(6)&&(v.set(3),m(sq)),l&&(function(n){var a=function(t){if(e.is(xK)||!A){var r=D(t);if(r&&r<200)return L(t)/r}return 0}(n),o=function(e){return P()+jG(e)*LG(NG(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(_K)?y.go(_(jG(a))<0?l?"<":"-":l?">":"+"):e.is(wK)&&A&&l?y.go(C(!0)?">":"<"):y.go(y.toDest(o),!0),k(!0)}(n),PG(n)),f(u,EK,M),f(u,kK,T),l=!1}function O(e){!c&&s&&PG(e,!0)}function I(e){o=a,a=e,n=P()}function L(e,t){return V(e,t)-V(B(e),t)}function D(e){return RG(e)-RG(B(e))}function B(e){return a===e&&o||a}function V(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 z(e){c=e}return{mount:function(){h(E,EK,jU,CK),h(E,kK,jU,CK),h(E,yK,R,CK),h(E,"click",O,{capture:!0}),h(E,"dragstart",PG),p([GG,nq],S)},disable:z,isDragging:function(){return l}}},Keyboard:function(e,t,r){var n,a,o=wq(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,RK,h))}function p(){s(n,RK)}function m(){var e=a;a=!0,HU((function(){a=e}))}function h(t){if(!a){var r=SK(t);r===u(Pq)?e.go("<"):r===u(Cq)&&e.go(">")}}return{mount:function(){d(),i(nq,p),i(nq,d),i(KG,m)},destroy:p,disable:function(e){a=e}}},LazyLoad:function(e,t,r){var n=wq(e),a=n.on,o=n.off,i=n.bind,l=n.emit,s="sequential"===r.lazyLoad,c=[YG,uq],u=[];function d(){NU(u),t.Slides.forEach((function(e){AG(e.slide,OK).forEach((function(t){var n=EG(t,MK),a=EG(t,TK);if(n!==t.src||a!==t.srcset){var o=r.classes.spinner,i=t.parentElement,l=sG(i,"."+o)||vG("span",o,i);u.push([t,e,l]),t.src||bG(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];nG(e[1].slide,hK),i(t,"load error",FU(h,e)),fG(t,"src",EG(t,MK)),fG(t,"srcset",EG(t,TK)),hG(t,MK),hG(t,TK)}function h(e,t){var r=e[0],n=e[1];SG(n.slide,hK),"error"!==t.type&&(xG(e[2]),bG(r,""),l(Eq,r,n),l(aq)),s&&f()}function f(){u.length&&m(u.shift())}return{mount:function(){r.lazyLoad&&(d(),a(rq,d))},destroy:FU(NU,u),check:p}},Pagination:function(e,t,r){var n,a,o=wq(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,g=[];function b(){n&&(xG(v?zU(n.children):n),SG(n,a),NU(g),n=null),o.destroy()}function y(e){h(">"+e,!0)}function E(e,t){var r=g.length,n=SK(t),a=k(),o=-1;n===f(Cq,!1,a)?o=++e%r:n===f(Pq,!1,a)?o=(--e+r)%r:"Home"===n?o=0:"End"===n&&(o=r-1);var i=g[o];i&&(yG(i.button),h(">"+o),PG(t,!0))}function k(){return r.paginationDirection||r.direction}function w(e){return g[d.toPage(e)]}function x(){var e=w(m(!0)),t=w(m());if(e){var r=e.button;SG(r,uK),hG(r,Bq),fG(r,Oq,-1)}if(t){var a=t.button;nG(a,uK),fG(a,Bq,!0),fG(a,Oq,"")}l(fq,{list:n,items:g},e,t)}return{items:g,mount:function t(){b(),i([nq,rq,kq],t);var o=r.pagination;v&&bG(v,o?"":"none"),o&&(i([KG,cq,uq],x),function(){var t=e.length,o=r.classes,i=r.i18n,l=r.perPage,m=p()?d.getEnd()+1:VG(t/l);nG(n=v||vG("ul",o.pagination,u.track.parentElement),a=aK+"--"+k()),fG(n,Tq,"tablist"),fG(n,Vq,i.select),fG(n,Fq,k()===Rq?"vertical":"");for(var h=0;h<m;h++){var f=vG("li",null,n),b=vG("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(b,"click",FU(y,h)),r.paginationKeyboard&&s(b,"keydown",FU(E,h)),fG(f,Tq,"presentation"),fG(b,Tq,"tab"),fG(b,Lq,w.join(" ")),fG(b,Vq,WG(x,h+1)),fG(b,Oq,-1),g.push({li:f,button:b,page:h})}}(),x(),l(hq,{list:n,items:g},w(e.index)))},destroy:b,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=wq(e),(r=t.on)(XG,u),r("sk",d),r([GG,nq],c),o.push(t),t.emit(vq,e.splides))}function l(){o.forEach((function(e){e.destroy()})),NU(o)}function s(e,t){var r=wq(e);r.on(KG,(function(e,r,n){t.go(t.is(xK)?n:e)})),o.push(r)}function c(){fG(t.Elements.list,Fq,r.direction===Rq?"vertical":"")}function u(t){e.go(t.index)}function d(e,t){eG(IK,SK(t))&&(u(e),PG(t))}return{setup:FU(t.Media.set,{slideFocus:KU(a)?n:a},!0),mount:i,destroy:l,remount:function(){l(),i()}}},Wheel:function(e,t,r){var n=wq(e).bind,a=0;function o(n){if(n.cancelable){var o=n.deltaY,i=o<0,l=RG(n),s=r.wheelMinThreshold||0,c=r.wheelSleep||0;NG(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)&&PG(n)}}return{mount:function(){r.wheel&&n(t.Elements.track,"wheel",o,CK)}}},Live:function(e,t,r){var n=wq(e).on,a=t.Elements.track,o=r.live&&!r.isNavigation,i=vG("span",sK),l=xq(90,FU(s,!1));function s(e){fG(a,Wq,e),e?(aG(a,i),l.start()):(xG(i),l.cancel())}function c(e){o&&fG(a,jq,e?"off":"polite")}return{mount:function(){o&&(c(!t.Autoplay.isPaused()),fG(a,Zq,!0),i.textContent="…",n(gq,FU(c,!0)),n(yq,FU(c,!1)),n([YG,uq],FU(s,!0)))},disable:c,destroy:function(){hG(a,[jq,Zq,Wq]),xG(i)}}}}),DK={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:bK,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 BK(e,t,r){var n=t.Slides;function a(){n.forEach((function(e){e.style("transform","translateX(-"+100*e.index+"%)")}))}return{mount:function(){wq(e).on([GG,rq],a)},start:function(e,t){n.style("transition","opacity "+r.speed+"ms "+r.easing),HU(t)},cancel:jU}}function VK(e,t,r){var n,a=t.Move,o=t.Controller,i=t.Scroll,l=t.Elements.list,s=FU(gG,l,"transition");function c(){s(""),i.cancel()}return{mount:function(){wq(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(wK)&&n){var a=o.getIndex(!0),i=o.getEnd();if(0===a&&t>=i||a>=i&&0===t)return n}return r.speed}(t);NG(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 NK=function(){function e(t,r){var n;this.event=wq(),this.Components={},this.state=(n=1,{set:function(e){n=e},is:function(e){return eG(QU(e),n)}}),this.splides=[],this._o={},this._E={};var a=qU(t)?CG(document,t):t;IG(a,a+" is invalid."),this.root=a,r=pG({label:EG(a,Vq)||"",labelledby:EG(a,Nq)||""},DK,e.defaults,r||{});try{pG(r,JSON.parse(EG(a,OG)))}catch(e){IG(!1,"Invalid JSON")}this._o=Object.create(pG({},r))}var t,r,n=e.prototype;return n.mount=function(e,t){var r=this,n=this.state,a=this.Components;return IG(n.is([1,7]),"Already mounted!"),n.set(1),this._C=a,this._T=t||this._T||(this.is(_K)?BK:VK),this._E=e||this._E,uG(dG({},LK,this._E,{Transition:this._T}),(function(e,t){var n=e(r,a,r._o);a[t]=n,n.setup&&n.setup()})),uG(a,(function(e){e.mount&&e.mount()})),this.emit(GG),nG(this.root,cK),n.set(3),this.emit(qG),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(zU(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(rq),this},n.destroy=function(e){void 0===e&&(e=!0);var t=this.event,r=this.state;return r.is(1)?wq(this).on(qG,this.destroy.bind(this,e)):(uG(this._C,(function(t){t.destroy&&t.destroy(e)}),!0),t.emit(dq),t.destroy(),e&&NU(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&&DU(t.prototype,r),Object.defineProperty(t,"prototype",{writable:!1}),e}(),zK=NK;zK.defaults={},zK.STATES=VU;var FK=[[GG,"onMounted"],[qG,"onReady"],[KG,"onMove"],[YG,"onMoved"],[XG,"onClick"],[QG,"onActive"],[JG,"onInactive"],[eq,"onVisible"],[tq,"onHidden"],[rq,"onRefresh"],[nq,"onUpdated"],[aq,"onResize"],[oq,"onResized"],[iq,"onDrag"],[lq,"onDragging"],[sq,"onDragged"],[cq,"onScroll"],[uq,"onScrolled"],[dq,"onDestroy"],[pq,"onArrowsMounted"],[mq,"onArrowsUpdated"],[hq,"onPaginationMounted"],[fq,"onPaginationUpdated"],[vq,"onNavigationMounted"],[gq,"onAutoplayPlay"],[bq,"onAutoplayPlaying"],[yq,"onAutoplayPause"],[Eq,"onLazyLoadLoaded"]];function HK(...e){return e.filter(Boolean).join(" ")}function jK(e){return null!==e&&"object"==typeof e}function WK(e,t){if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&!e.some(((e,r)=>!WK(e,t[r])));if(jK(e)&&jK(t)){const r=Object.keys(e),n=Object.keys(t);return r.length===n.length&&!r.some((r=>!Object.prototype.hasOwnProperty.call(t,r)||!WK(e[r],t[r])))}return e===t}function ZK(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():jK(e)?r[t]=ZK(jK(r[t])?r[t]:{},e):r[t]=e})),r}var $K=({children:e,className:t,...r})=>G().createElement("div",{className:HK("splide__track",t),...r},G().createElement("ul",{className:"splide__list"},e)),UK=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 zK(n,e),this.bind(this.splide),this.splide.mount(t,r),this.options=ZK({},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&&!WK(this.options,e)&&(this.splide.options=e,this.options=ZK({},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){FK.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:HK("splide",e),ref:this.splideRef,...this.omit(a,["options",...FK.map((e=>e[1]))])},r?G().createElement($K,null,n):n)}};const GK=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:g,perMove:b,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(hH,null),G().createElement(uH,null,G().createElement(fH,{title:(0,K.__)("Generals","blockart"),initialOpen:!0},G().createElement(bD,{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(bD,{label:(0,K.__)("Per Move","blockart"),value:b,onChange:e=>M({perMove:e}),min:1,max:20,step:1,resetAttributeKey:"perMove"}),G().createElement(bD,{label:(0,K.__)("Speed","blockart"),value:c,onChange:e=>M({speed:e}),min:0,max:2e4,step:1,resetAttributeKey:"speed"}),G().createElement(bD,{label:(0,K.__)("Interval","blockart"),value:m,onChange:e=>M({interval:e}),min:0,max:2e4,step:1,resetAttributeKey:"interval"}),G().createElement(OF,{checked:y,label:(0,K.__)("Loop","blockart"),onChange:e=>M({loop:e})}),G().createElement(OF,{checked:null!=u&&u,label:(0,K.__)("Auto Play","blockart"),onChange:e=>M({autoplay:e})}),G().createElement(OF,{checked:null!=d&&d,label:(0,K.__)("Pause On Hover","blockart"),onChange:e=>M({pauseOnHover:e})}),G().createElement(OF,{checked:null!=p&&p,label:(0,K.__)("Arrows","blockart"),onChange:e=>M({arrows:e})}),G().createElement(OF,{checked:null!=f&&f,label:(0,K.__)("Pagination","blockart"),onChange:e=>M({pagination:e})})),G().createElement(fH,{title:(0,K.__)("Spacing & Height","blockart")},h>1&&G().createElement(bD,{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(bD,{label:(0,K.__)("Height","blockart"),value:g,onChange:e=>M({height:e}),min:160,max:500,step:1,units:["px","em","rem"],resetAttributeKey:"height"})),G().createElement(fH,{title:(0,K.__)("Arrows & Dots","blockart")},G().createElement(bD,{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(bD,{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(dH,null,G().createElement(fH,{title:(0,K.__)("Arrows & Dots","blockart"),initialOpen:!0},G().createElement(Iz,{label:(0,K.__)("Color","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:x,id:"dotColor"}]}));return rE(x)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{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(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:x,resetKey:"dotColor",onReset:e=>{M({dotColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:x,onChange:e=>M({dotColor:e})}))))),G().createElement(Iz,{label:(0,K.__)("Background","blockart")},G().createElement(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:_,resetKey:"arrowBackground",onReset:e=>{M({arrowBackground:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(Cz,{value:_,onChange:e=>M({arrowBackground:e})}))))),G().createElement(OF,{label:(0,K.__)("Border","blockart"),onChange:e=>M({borderEnable:e})}),R&&G().createElement(Mz,{value:S,onChange:e=>M({arrowBorder:e}),resetAttributeKey:"arrowBorder"}),f&&G().createElement(bD,{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(fH,{title:(0,K.__)("Text","blockart")},G().createElement(Iz,{label:(0,K.__)("Color","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:k,id:"color"}]}));return rE(k)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{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(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:k,resetKey:"color",onReset:e=>{M({color:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:k,onChange:e=>M({color:e})})))))),G().createElement(fH,{title:(0,K.__)("Background","blockart")},G().createElement(Iz,{label:(0,K.__)("Type","blockart")},G().createElement(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:E,resetKey:"background",onReset:e=>{M({background:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(Cz,{value:E,onChange:e=>M({background:e})})))))),G().createElement(fH,{title:(0,K.__)("Border","blockart")},G().createElement(Mz,{value:w,onChange:e=>M({border:e}),resetAttributeKey:"border"}))),G().createElement(pH,null,G().createElement(vH,{blockMargin:t,setAttributes:M,blockPadding:r,blockZIndex:s,cssID:l,className:i,hasblockHTML:!1}),G().createElement(gH,{hideOnDesktop:n,hideOnTablet:a,hideOnMobile:o,setAttributes:M})))},qK="blockart/slide",KK=LU.name,YK={...LU,icon:G().createElement(rV,{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}=pE(e),{device:h}=ME(),{CopyPasterStyleBlockControl:f}=EE(),{Style:v}=uE({blockName:"slider",clientId:m,attributes:e.attributes,device:h}),g=(0,q.useInnerBlocksProps)({className:"splide__list"},{allowedBlocks:[qK],template:[[qK]],templateLock:!1,templateInsertUpdatesSelection:!0});return G().createElement(G().Fragment,null,G().createElement(GK,{attributes:e.attributes,setAttributes:p}),G().createElement(f,{withBlockControls:!0}),G().createElement(q.BlockControls,null,G().createElement(fE.ToolbarGroup,null,G().createElement(fE.Button,{label:(0,K.__)("Add Slide","blockart"),onClick:()=>{const{getBlocks:t}=(0,dE.select)("core/block-editor"),{replaceInnerBlocks:r}=(0,dE.dispatch)("core/block-editor"),n=[...t(e.clientId)];n.push((0,Z.createBlock)("blockart/slide")),r(e.clientId,n,!1)},icon:"plus"}))),G().createElement(v,null),G().createElement("div",{className:Yy(`blockart-slider blockart-slider-${m}`,r),id:t},G().createElement(UK,{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",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,flexWrap:n,orientation:a,justification:o,alignment:i,blockHTML:l,cssID:s}}=e,c=q.useInnerBlocksProps.save({className:Yy("splide__list",r)}),u=null!=l?l:"div";return G().createElement(u,{className:Yy(`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"}))))))}},XK=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"}'),QK=[{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"}],JK=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:g}=e;return G().createElement(G().Fragment,null,G().createElement(hH,null),G().createElement(uH,null,G().createElement(fH,{title:(0,K.__)("Icon","blockart"),initialOpen:!0},G().createElement(Bz,{label:(0,K.__)("Type","blockart"),value:u,onChange:e=>{g({type:e,icon:e,iconType:"svg",iconColor:e})},options:QK}),G().createElement(TF,{value:d,onChange:e=>{g({iconType:e})},label:(0,K.__)("Format","blockart"),resetAttributeKey:"iconType",groupProps:{sx:{".chakra-button":{minH:"32px",svg:{w:6,h:6}}}}},G().createElement(MF,{value:"icon"},(0,K.__)("Icon","blockart")),G().createElement(MF,{value:"image"},(0,K.__)("Image","blockart"))),"image"===d?G().createElement(AF,{onChange:e=>g({image:e}),label:(0,K.__)("Image","blockart"),type:"image",value:p}):G().createElement(_F,{value:o||{},onChange:e=>g({icon:e}),hasToggle:!1}))),G().createElement(dH,null,G().createElement(fH,{title:(0,K.__)("Icon","blockart"),initialOpen:!0},G().createElement(Iz,{label:(0,K.__)("Color","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:i,id:"iconColor"},{color:l,id:"iconHoverColor"}]}));return rE(i)||rE(l)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{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(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart")),G().createElement(gl,null,(0,K.__)("Hover","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:i,resetKey:"iconColor",onReset:e=>{g({iconColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:i,onChange:e=>g({iconColor:e})})),G().createElement(yl,null,G().createElement(FI,{saved:l,resetKey:"iconHoverColor",onReset:e=>{g({iconHoverColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:l,onChange:e=>g({iconHoverColor:e})})))))),G().createElement(fH,{title:(0,K.__)("Background","blockart")},G().createElement(Iz,{label:(0,K.__)("Type","blockart")},G().createElement(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart")),G().createElement(gl,null,(0,K.__)("Hover","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:s,resetKey:"iconBgColor",onReset:e=>{g({iconBgColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(Cz,{value:s,onChange:e=>g({iconBgColor:e})})),G().createElement(yl,null,G().createElement(FI,{saved:c,resetKey:"iconBgHoverColor",onReset:e=>{g({iconBgHoverColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(Cz,{value:c,onChange:e=>g({iconBgHoverColor:e})}))))))),G().createElement(pH,null,G().createElement(vH,{blockMargin:m,setAttributes:g,blockPadding:h,blockZIndex:f,cssID:v,className:a,hasblockHTML:!1}),G().createElement(gH,{hideOnDesktop:t,hideOnTablet:r,hideOnMobile:n,setAttributes:g})))},eY=XK.name,tY={...XK,icon:G().createElement(rV,{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}=pE(e),{device:c}=ME(),{CopyPasterStyleBlockControl:u}=EE(),{Style:d}=uE({blockName:"social-inner",clientId:s,attributes:e.attributes,device:c});return G().createElement(G().Fragment,null,G().createElement(JK,{attributes:e.attributes,setAttributes:l}),G().createElement(u,{withBlockControls:!0}),G().createElement(d,null),G().createElement("div",{className:Yy(`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:CF,alt:null!==(r=o?.alt)&&void 0!==r?r:""}):G().createElement("span",{className:"blockart-social-source-icon"},G().createElement(TH,{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:Yy(`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:CF,alt:null!==(l=a?.alt)&&void 0!==l?l:""}):G().createElement("span",{className:"blockart-social-source-icon"},G().createElement(TH,{name:n}))))))}},rY=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"}'),nY=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:g,background:b,hoverBackground:y,columnGap:E,rowGap:k},setAttributes:w}=e;return G().createElement(G().Fragment,null,G().createElement(hH,null),G().createElement(uH,null,G().createElement(fH,{title:(0,K.__)("Layout","blockart"),initialOpen:!0},G().createElement(TF,{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(MF,{value:"horizontal"},G().createElement(vO,null)),G().createElement(MF,{value:"vertical"},G().createElement(mO,null))),"horizontal"===c&&G().createElement(G().Fragment,null,G().createElement(TF,{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(MF,{value:"none"},G().createElement(iI,null)),G().createElement(MF,{value:"desktop"},G().createElement(lI,null)),G().createElement(MF,{value:"tablet"},G().createElement(sI,null)),G().createElement(MF,{value:"mobile"},G().createElement(cI,null))))),G().createElement(fH,{title:(0,K.__)("Design","blockart")},G().createElement(QH,{label:"Preset"},G().createElement(TF,{responsive:!1,value:p,onChange:e=>w({presets:e}),label:(0,K.__)("Select Preset"),groupProps:FS},[{label:(0,K.__)("NONE","blockart"),value:"none"},{label:(0,K.__)("Rounded","blockart"),value:"social_preset_1",icon:bO},{label:(0,K.__)("Circle","blockart"),value:"social_preset_2",icon:yO},{label:(0,K.__)("Rectangle","blockart"),value:"social_preset_3",icon:gO}].map((e=>G().createElement(MF,{key:e.value,value:e.value},e.icon&&G().createElement(e.icon,null),e.label)))))),G().createElement(fH,{title:(0,K.__)("Icon","blockart")},G().createElement(bD,{label:(0,K.__)("Size","blockart"),value:m,min:0,max:100,step:1,onChange:e=>w({size:e}),resetAttributeKey:"size"}),G().createElement(bD,{label:(0,K.__)("Background Size","blockart"),value:h,min:0,max:100,step:1,onChange:e=>w({bgSize:e}),resetAttributeKey:"bgSize"}),G().createElement(bD,{label:(0,K.__)("Border Radius","blockart"),value:f,min:0,max:100,step:1,onChange:e=>w({radius:e}),resetAttributeKey:"radius"}),G().createElement(bD,{label:(0,K.__)("Column Gap","blockart"),value:E,min:0,max:100,step:1,onChange:e=>w({columnGap:e}),resetAttributeKey:"columnGap"}),G().createElement(bD,{label:(0,K.__)("Row Gap","blockart"),value:k,min:0,max:100,step:1,onChange:e=>w({rowGap:e}),resetAttributeKey:"rowGap"}))),G().createElement(dH,null,G().createElement(fH,{title:(0,K.__)("Properties","blockart"),initialOpen:!0},G().createElement(TF,{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(MF,{value:"left"},G().createElement(gT,null)),G().createElement(MF,{value:"center"},G().createElement(yT,null)),G().createElement(MF,{value:"right"},G().createElement(bT,null)))),G().createElement(fH,{title:(0,K.__)("Color","blockart")},G().createElement(Iz,{label:(0,K.__)("Text Color","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:v,id:"color"},{color:g,id:"hoverColor"}]}));return rE(v)||rE(g)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{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(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart")),G().createElement(gl,null,(0,K.__)("Hover","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:v,resetKey:"color",onReset:e=>{w({color:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:v,onChange:e=>w({color:e})})),G().createElement(yl,null,G().createElement(FI,{saved:g,resetKey:"hoverColor",onReset:e=>{w({hoverColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:g,onChange:e=>w({hoverColor:e})})))))),G().createElement(fH,{title:(0,K.__)("Background","blockart")},G().createElement(Iz,{label:(0,K.__)("Type","blockart")},G().createElement(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart")),G().createElement(gl,null,(0,K.__)("Hover","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:b,resetKey:"background",onReset:e=>{w({background:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(Cz,{value:b,onChange:e=>w({background:e})})),G().createElement(yl,null,G().createElement(FI,{saved:y,resetKey:"hoverBackground",onReset:e=>{w({hoverBackground:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(Cz,{value:y,onChange:e=>w({hoverBackground:e})}))))))),G().createElement(pH,null,G().createElement(vH,{blockMargin:r,setAttributes:w,blockPadding:n,blockZIndex:t,cssID:a,className:s,hasblockHTML:!1}),G().createElement(gH,{hideOnDesktop:o,hideOnTablet:i,hideOnMobile:l,setAttributes:w})))},aY=["blockart/social-inner"],oY=[["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"}]],iY=rY.name,lY={...rY,icon:G().createElement(rV,{type:"blockIcon",name:"social_share",size:24}),edit:e=>{const{attributes:{className:t,display:r,stackOn:n,presets:a},attributes:o}=e,{clientId:i}=pE(e),{CopyPasterStyleBlockControl:l}=EE(),{device:s}=ME(),{Style:c}=uE({blockName:"socials",clientId:i,attributes:o,device:s});return G().createElement(G().Fragment,null,G().createElement(nY,{attributes:e.attributes,setAttributes:e.setAttributes}),G().createElement(q.BlockControls,null,G().createElement(fE.ToolbarGroup,null,G().createElement(fE.Button,{label:(0,K.__)("Add social share item","blockart"),onClick:()=>{const{getBlocks:t}=(0,dE.select)("core/block-editor"),{replaceInnerBlocks:r}=(0,dE.dispatch)("core/block-editor"),n=[...t(e.clientId)];n.push((0,Z.createBlock)("blockart/social-inner")),r(e.clientId,n,!1)},icon:"plus"}))),G().createElement(l,{withBlockControls:!0}),G().createElement(c,null),G().createElement("div",{className:Yy(`blockart-socials blockart-socials-${i}`,"horizontal"===r?"horizontal":"vertical","horizontal"===r&&"none"!==n?`${n}`:"",a?`${a}`:"",t)},G().createElement(q.InnerBlocks,{template:oY,templateLock:!1,allowedBlocks:aY})))},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:Yy(`blockart-socials blockart-socials-${t}`,"horizontal"===n?"horizontal":"vertical","horizontal"===n&&"none"!==a?`${a}`:"",o?`${o}`:"",r)},G().createElement(q.InnerBlocks.Content,null)))}},sY=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"}'),cY=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(hH,null),G().createElement(uH,null,G().createElement(fH,{title:(0,K.__)("Layout","blockart"),initialOpen:!0},G().createElement(bD,{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(dH,null,G().createElement(fH,{title:(0,K.__)("Background","blockart"),initialOpen:!0},G().createElement(Iz,{label:(0,K.__)("Type","blockart")},G().createElement(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart")),G().createElement(gl,null,(0,K.__)("Hover","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:r,resetKey:"background",onReset:e=>{v({background:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(Cz,{value:r,onChange:e=>v({background:e})})),G().createElement(yl,null,G().createElement(FI,{saved:n,resetKey:"hoverBackground",onReset:e=>{v({hoverBackground:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(Cz,{value:n,onChange:e=>v({hoverBackground:e})})))))),G().createElement(fH,{title:(0,K.__)("Border","blockart")},G().createElement(vl,{variant:"border"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart")),G().createElement(gl,null,(0,K.__)("Hover","blockart"))),G().createElement(El,null,G().createElement(yl,{pb:0,pt:2},G().createElement(Mz,{value:a,onChange:e=>{v({border:e})},resetAttributeKey:"border"}),G().createElement(Vz,{value:i,onChange:e=>v({boxShadow:e})})),G().createElement(yl,{pb:0,pt:2},G().createElement(Mz,{value:o,onChange:e=>{v({hoverBorder:e})},resetAttributeKey:"hoverBorder"}),G().createElement(Vz,{value:l,onChange:e=>v({boxShadowHover:e})})))))),G().createElement(pH,null,G().createElement(vH,{blockMargin:s,setAttributes:v,blockPadding:c,blockZIndex:u,cssID:d,className:p,hasblockHTML:!1}),G().createElement(gH,{hideOnDesktop:m,hideOnTablet:h,hideOnMobile:f,setAttributes:v})))},uY=sY.name,dY={...sY,icon:G().createElement(rV,{type:"blockIcon",name:"spacing",size:24}),edit:e=>{const{attributes:{className:t},setAttributes:r}=e,{clientId:n}=pE(e),{device:a}=ME(),{CopyPasterStyleBlockControl:o}=EE(),{Style:i}=uE({blockName:"spacing",clientId:n,attributes:e.attributes,device:a});return G().createElement(G().Fragment,null,G().createElement(cY,{attributes:e.attributes,setAttributes:r}),G().createElement(o,{withBlockControls:!0}),G().createElement(i,null),G().createElement("div",{className:Yy(`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:Yy(`blockart-spacing blockart-spacing-${r}`,n)},G().createElement("div",{className:"blockart-spacing-inner"}))}},pY=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}}'),mY=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(hH,null),G().createElement(uH,null,G().createElement(fH,{title:(0,K.__)("Layout","blockart"),initialOpen:!0},G().createElement(bD,{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(dH,null,G().createElement(fH,{title:(0,K.__)("Background","blockart"),initialOpen:!0},G().createElement(Iz,{label:(0,K.__)("Type","blockart")},G().createElement(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart")),G().createElement(gl,null,(0,K.__)("Hover","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:{panelBackground:u},resetKey:"{panelBackground}",onReset:e=>{p({panelBackground:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(Cz,{value:u,onChange:e=>p({panelBackground:e})})),G().createElement(yl,null,G().createElement(FI,{saved:d,resetKey:"hoverPanelBackground",onReset:e=>{p({hoverPanelBackground:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(Cz,{value:d,onChange:e=>p({hoverPanelBackground:e})}))))))),G().createElement(pH,null,G().createElement(vH,{blockMargin:t,setAttributes:p,blockPadding:r,blockZIndex:n,cssID:a,className:o,hasblockHTML:!1}),G().createElement(gH,{hideOnDesktop:i,hideOnTablet:l,hideOnMobile:s,setAttributes:p})))},hY=(0,dE.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}=pE(e),{device:n}=ME(),{Style:a}=uE({blockName:"tab",clientId:r,attributes:e.attributes,device:n}),o=(0,q.useBlockProps)({className:Yy("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(mY,{attributes:e.attributes,setAttributes:t}),G().createElement(a,null),G().createElement("div",i))})),fY=pY.name,vY={...pY,icon:G().createElement(rV,{type:"blockIcon",name:"tabs",size:24}),edit:hY,save:e=>G().createElement("div",{className:Yy("blockart-tab",`blockart-tab-${e.attributes.clientId}`)},G().createElement(q.InnerBlocks.Content,null))},gY=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}}'),bY=e=>G().createElement(G().Fragment,null,G().createElement(q.BlockControls,null,G().createElement(fE.ToolbarGroup,null,G().createElement(fE.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(fE.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(fE.ToolbarGroup,null,G().createElement(fE.ToolbarButton,{label:(0,K.__)("Add tab","blockart"),icon:"plus-alt2",onClick:()=>e.addRemoveTab(e.activeTab,"add"),placeholder:(0,K.__)("Add tab","blockart")}),G().createElement(fE.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")})))),yY=(0,Kj.compose)((0,dE.withSelect)((e=>{const{getSelectedBlock:t,getBlockRootClientId:r,getBlock:n}=e("core/block-editor"),a=t();return a?{parentBlock:n(r(a.clientId))}:{}})),(0,dE.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:g,color:b,activeColor:y,background:E,activeBackground:k,activeBorder:w,border:x},setAttributes:_,tabTitlesBlock:P}=e;return G().createElement(G().Fragment,null,G().createElement(hH,null),G().createElement(uH,null,G().createElement(fH,{title:(0,K.__)("Layout","blockart"),initialOpen:!0},G().createElement(QH,{label:"Preset"},G().createElement(TF,{responsive:!1,value:e.parentBlock?.attributes?.design,onChange:t=>e?.setParentAttributes?.({design:t}),label:(0,K.__)("Select Preset","blockart"),groupProps:FS},[{label:(0,K.__)("Horizontal Underline","blockart"),value:"horizontal-underline",icon:WT},{label:(0,K.__)("Vertical Underline","blockart"),value:"vertical-underline",icon:ZT},{label:(0,K.__)("Horizontal Outline","blockart"),value:"horizontal-outline",icon:$T},{label:(0,K.__)("Vertical Outline","blockart"),value:"vertical-outline",icon:UT},{label:(0,K.__)("Horizontal Fill","blockart"),value:"horizontal-fill",icon:GT},{label:(0,K.__)("Vertical Fill","blockart"),value:"vertical-fill",icon:qT}].map((e=>G().createElement(MF,{key:e.value,value:e.value},G().createElement(e.icon,null),e.label))))),G().createElement(bD,{label:(0,K.__)("Column Gap","blockart"),value:u,onChange:e=>_({columnGap:e}),min:0,max:100,responsive:!0,defaultUnit:"px",resetAttributeKey:"columnGap"}),G().createElement(bD,{label:(0,K.__)("Row Gap","blockart"),value:d,onChange:e=>_({rowGap:e}),min:0,max:100,responsive:!0,defaultUnit:"px",resetAttributeKey:"rowGap"})),G().createElement(fH,{title:(0,K.__)("Icon","blockart")},G().createElement(_F,{value:p||{},onChange:e=>_({icon:e}),hasToggle:!0}),p&&p.enable&&G().createElement(G().Fragment,null,G().createElement(Bz,{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(Iz,{label:(0,K.__)("Icon Color","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:v,id:"iconColor"},{color:g,id:"activeIconColor"}]}));return rE(v)||rE(g)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{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(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart")),G().createElement(gl,null,(0,K.__)("Active","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:v,resetKey:"iconColor",onReset:e=>{_({iconColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:v,onChange:e=>_({iconColor:e})})),G().createElement(yl,null,G().createElement(FI,{saved:g,resetKey:"activeIconColor",onReset:e=>{_({activeIconColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:g,onChange:e=>_({activeIconColor:e})}))))),G().createElement(bD,{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(bD,{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(dH,null,G().createElement(fH,{title:(0,K.__)("Properties","blockart"),initialOpen:!0},G().createElement(TF,{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(MF,{value:"left"},G().createElement(gT,null)),G().createElement(MF,{value:"center"},G().createElement(yT,null)),G().createElement(MF,{value:"right"},G().createElement(bT,null)),G().createElement(MF,{value:"justify"},G().createElement(ET,null)))),G().createElement(fH,{title:(0,K.__)("Text","blockart")},G().createElement(Iz,{label:(0,K.__)("Text Color","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:b,id:"color"},{color:y,id:"activeColor"}]}));return rE(b)||rE(y)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{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(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart")),G().createElement(gl,null,(0,K.__)("Active","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:b,resetKey:"color",onReset:e=>{_({color:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:b,onChange:e=>_({color:e})})),G().createElement(yl,null,G().createElement(FI,{saved:y,resetKey:"activeColor",onReset:e=>{_({activeColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:y,onChange:e=>_({activeColor:e})})))))),G().createElement(fH,{title:(0,K.__)("Background","blockart")},G().createElement(Iz,{label:(0,K.__)("Type","blockart")},G().createElement(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart")),G().createElement(gl,null,(0,K.__)("Active","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:E,resetKey:"background",onReset:e=>{_({background:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(Cz,{value:E,onChange:e=>_({background:e})})),G().createElement(yl,null,G().createElement(FI,{saved:k,resetKey:"activeBackground",onReset:e=>{_({activeBackground:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(Cz,{value:k,onChange:e=>_({activeBackground:e})})))))),G().createElement(fH,{title:(0,K.__)("Border","blockart")},G().createElement(vl,{variant:"border"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart")),G().createElement(gl,null,(0,K.__)("Active","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(Mz,{value:x,onChange:e=>{_({border:e})},resetAttributeKey:"border"})),G().createElement(yl,null,G().createElement(Mz,{value:w,onChange:e=>{_({activeBorder:e})},resetAttributeKey:"activeBorder"})))))),G().createElement(pH,null,G().createElement(vH,{blockMargin:r,setAttributes:_,blockPadding:n,blockZIndex:t,cssID:a,className:s,hasblockHTML:!1}),G().createElement(gH,{hideOnDesktop:o,hideOnTablet:i,hideOnMobile:l,setAttributes:_})))})),EY=gY.name,kY={...gY,icon:G().createElement(rV,{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}=pE(e),{device:g}=ME(),{Style:b}=uE({blockName:"tab-titles",clientId:v,attributes:e.attributes,device:g}),[y,E]=(0,U.useState)(parseInt(null!==(t=f)&&void 0!==t?t:"1")),k=ZH({alignment:u}),w=(0,q.useBlockProps)({className:Yy(`blockart-tabs-triggers blockart-tab-titles-${v}`,c,{..."mobile"===g?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"===g?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}=EE(),_=(0,dE.useSelect)((e=>{const{getBlockRootClientId:t}=e("core/block-editor");return t(m)}),[m]);return G().createElement(G().Fragment,null,G().createElement(yY,{attributes:e.attributes,setAttributes:h}),G().createElement(x,{withBlockControls:!0}),G().createElement(bY,{activeTab:y,titles:s,addRemoveTab:(e,t)=>{const{getBlocks:r}=(0,dE.select)("core/block-editor"),{replaceInnerBlocks:n,updateBlockAttributes:a}=(0,dE.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,Z.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:Xy(s,e-1,r-1)});const{replaceInnerBlocks:n}=(0,dE.dispatch)("core/block-editor"),{getBlocks:a}=(0,dE.select)("core/block-editor"),o=Xy([...a(_)],e,r);n(_,o,!1),E(r)}}),G().createElement("style",null,`[data-block="${_}"] > .blockart-tab-${y} { display: block; }`),G().createElement(b,null),G().createElement("div",w,s.map(((e,t)=>G().createElement("a",{key:t,onClick:()=>E(t+1),className:Yy(`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(TH,{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(TH,{name:d.icon})))))))},save:e=>{const{attributes:{titles:t,clientId:r,className:n,cssID:a,alignment:o,icon:i,iconPosition:l}}=e,s=ZH({alignment:o}),c=q.useBlockProps.save({className:Yy("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:Yy(`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(TH,{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(TH,{name:i.icon}))))))}},wY=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"}'),xY=((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"}]),_Y=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:g,iconColor:b,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:O,typography:I,backgroundColor:L,titleColor:D,titleHoverColor:B,titleTypography:V,listHoverColor:N,listColor:z,listTypography:F,iconTypeSelectorToggle:H},setAttributes:j}=e;return G().createElement(G().Fragment,null,G().createElement(hH,null),G().createElement(uH,null,G().createElement(fH,{title:(0,K.__)("Layout","blockart"),initialOpen:!0},G().createElement(Bz,{isMulti:!0,value:s,label:(0,K.__)("Select heading tags to include/exclude","blockart"),onChange:e=>j({headings:e}),options:xY}),G().createElement(bD,{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(TF,{value:h,onChange:e=>{j({marker:e})},label:(0,K.__)("Marker","blockart"),resetAttributeKey:"marker",groupProps:{sx:{".chakra-button":{minH:"8"}}}},G().createElement(MF,{value:"none"},(0,K.__)("None","blockart")),G().createElement(MF,{value:"bullet"},(0,K.__)("Bullet","blockart")),G().createElement(MF,{value:"number"},(0,K.__)("Number","blockart"))),G().createElement(OF,{label:(0,K.__)("Enable content collapsible","blockart"),checked:M,onChange:e=>j({collapsible:e})}),M&&G().createElement(G().Fragment,null,G().createElement(TF,{value:O,onChange:e=>{e&&j({iconType:e})},label:(0,K.__)("Icon Type","blockart"),resetAttributeKey:"iconType",groupProps:{sx:{".chakra-button":{minH:"8"}}}},G().createElement(MF,{value:"text"},(0,K.__)("Text","blockart")),G().createElement(MF,{value:"svg"},(0,K.__)("Icon (SVG)","blockart"))),"svg"===O&&G().createElement(G().Fragment,null,G().createElement(vl,{variant:"border"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Open","blockart")),G().createElement(gl,null,(0,K.__)("Close","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(_F,{value:f||{},onChange:e=>j({openIcon:e}),hasToggle:!1})),G().createElement(yl,null,G().createElement(_F,{value:v||{},onChange:e=>j({closeIcon:e}),hasToggle:!1})))),G().createElement(bD,{resetAttributeKey:"iconSize",label:(0,K.__)("Icon Size","blockart"),min:0,max:50,value:g,onChange:e=>j({iconSize:e}),responsive:!0,units:["px","em","%"]}),G().createElement(Iz,{label:(0,K.__)("Icon Color","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:b,id:"iconColor"},{color:y,id:"iconHoverColor"}]}));return rE(b)||rE(y)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{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(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart")),G().createElement(gl,null,(0,K.__)("Hover","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:b,resetKey:"iconColor",onReset:e=>{j({iconColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:b,onChange:e=>j({iconColor:e})})),G().createElement(yl,null,G().createElement(FI,{saved:y,resetKey:"iconHoverColor",onReset:e=>{j({iconHoverColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:y,onChange:e=>j({iconHoverColor:e})}))))),G().createElement(Iz,{label:(0,K.__)("Background","blockart"),closeOnFocusOutside:!0},G().createElement(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart")),G().createElement(gl,null,(0,K.__)("Hover","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:E,resetKey:"iconBackground",onReset:e=>{j({iconBackground:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(Cz,{value:E,onChange:e=>j({iconBackground:e}),types:["color","gradient"]})),G().createElement(yl,null,G().createElement(FI,{saved:k,resetKey:"iconBackgroundHover",onReset:e=>{j({iconBackgroundHover:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(Cz,{value:k,onChange:e=>j({iconBackgroundHover:e}),types:["color","gradient"]})))))),"text"===O&&G().createElement(G().Fragment,null,G().createElement(bD,{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(Iz,{label:(0,K.__)("Text Color","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:w,id:"textColor"},{color:x,id:"textHoverColor"}]}));return rE(w)||rE(x)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{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(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart")),G().createElement(gl,null,(0,K.__)("Hover","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:w,resetKey:"textColor",onReset:e=>{j({textColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:w,onChange:e=>j({textColor:e})})),G().createElement(yl,null,G().createElement(FI,{saved:x,resetKey:"textHoverColor",onReset:e=>{j({textHoverColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:x,onChange:e=>j({textHoverColor:e})}))))),G().createElement(kD,{value:I,onChange:e=>j({typography:e}),resetAttributeKey:"typography"})),G().createElement(OF,{label:(0,K.__)("Initially Collapsed","blockart"),checked:T,onChange:e=>j({initiallyCollapsed:e})})))),G().createElement(dH,null,G().createElement(fH,{title:(0,K.__)("Properties","blockart"),initialOpen:!0},G().createElement(TF,{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(MF,{value:"left"},G().createElement(gT,null)),G().createElement(MF,{value:"center"},G().createElement(yT,null)),G().createElement(MF,{value:"right"},G().createElement(bT,null))),!M&&G().createElement(G().Fragment,null,G().createElement(TF,{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(MF,{value:"left"},G().createElement(gT,null)),G().createElement(MF,{value:"center"},G().createElement(yT,null)),G().createElement(MF,{value:"right"},G().createElement(bT,null)))),G().createElement(TF,{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(MF,{value:"left"},G().createElement(gT,null)),G().createElement(MF,{value:"center"},G().createElement(yT,null)),G().createElement(MF,{value:"right"},G().createElement(bT,null)))),G().createElement(fH,{title:(0,K.__)("Title","blockart")},G().createElement(Iz,{label:(0,K.__)("Title Color","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:D,id:"titleColor"},{color:B,id:"titleHoverColor"}]}));return rE(D)||rE(B)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{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(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart")),G().createElement(gl,null,(0,K.__)("Hover","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:D,resetKey:"titleColor",onReset:e=>{j({titleColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:D,onChange:e=>j({titleColor:e})})),G().createElement(yl,null,G().createElement(FI,{saved:B,resetKey:"titleHoverColor",onReset:e=>{j({titleHoverColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:B,onChange:e=>j({titleHoverColor:e})}))))),G().createElement(kD,{value:V,onChange:e=>j({titleTypography:e}),resetAttributeKey:"titleTypography"})),G().createElement(fH,{title:(0,K.__)("List","blockart")},G().createElement(bD,{label:(0,K.__)("List item gap","blockart"),value:p,min:0,max:300,step:1,onChange:e=>j({listGap:e}),resetAttributeKey:"listGap"}),G().createElement(Iz,{label:(0,K.__)("List Color","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:z,id:"listColor"},{color:N,id:"listHoverColor"}]}));return rE(z)||rE(N)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{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(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart")),G().createElement(gl,null,(0,K.__)("Hover","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:z,resetKey:"listColor",onReset:e=>{j({listColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:z,onChange:e=>j({listColor:e})})),G().createElement(yl,null,G().createElement(FI,{saved:N,resetKey:"listHoverColor",onReset:e=>{j({listHoverColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:N,onChange:e=>j({listHoverColor:e})}))))),G().createElement(kD,{value:F,onChange:e=>j({listTypography:e}),resetAttributeKey:"listTypography"})),G().createElement(fH,{title:(0,K.__)("Background","blockart")},G().createElement(Iz,{label:(0,K.__)("Type","blockart")},G().createElement(Rl,{pt:"4"},G().createElement(FI,{saved:L,resetKey:"backgroundColor",onReset:e=>{j({backgroundColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(Cz,{value:L,onChange:e=>j({backgroundColor:e})})))),G().createElement(fH,{title:(0,K.__)("Border","blockart")},G().createElement(vl,{variant:"border"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart")),G().createElement(gl,null,(0,K.__)("Hover","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(Mz,{value:P,onChange:e=>{j({border:e})},resetAttributeKey:"border"}),G().createElement(Vz,{resetAttributeKey:"boxShadow",value:A,onChange:e=>j({boxShadow:e})})),G().createElement(yl,null,G().createElement(Mz,{value:C,onChange:e=>{j({hoverBorder:e})},resetAttributeKey:"hoverBorder"}),G().createElement(Vz,{resetAttributeKey:"boxShadowHover",value:S,onChange:e=>j({boxShadowHover:e})})))))),G().createElement(pH,null,G().createElement(vH,{blockMargin:R,setAttributes:j,blockPadding:r,blockZIndex:t,cssID:n,className:l,hasblockHTML:!1}),G().createElement(gH,{hideOnDesktop:a,hideOnTablet:o,hideOnMobile:i,setAttributes:j})))},PY={H1:1,H2:2,H3:3,H4:4,H5:5,H6:6},CY=(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?CY(e.slice(n+1,o),t+n+1):null}),n=o-1}}return r},AY=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(AY,{headings:r,listTypography:e.listTypography}))))),SY=(0,dE.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:PY[e.tagName]}})).filter((e=>""!==e.content));return CY(n)}return null})(t,r);return JSON.stringify(n)===JSON.stringify(e)?e:null!=n?n:[]}))}),[t,r,n]),a&&a.length?G().createElement(AY,{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"))})),RY=wY.name,MY={...wY,icon:G().createElement(rV,{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}=pE(e),{device:f}=ME(),{CopyPasterStyleBlockControl:v}=EE(),{Style:g}=uE({blockName:"toc",clientId:h,attributes:e.attributes,device:f}),[b,y]=G().useState(!1);return G().createElement(G().Fragment,null,G().createElement(_Y,{attributes:e.attributes,setAttributes:m}),G().createElement(v,{withBlockControls:!0}),G().createElement(g,null),G().createElement("div",{className:Yy(`blockart-toc blockart-toc-${h}`,`has-marker-${c}`,r)},G().createElement("div",{className:"blockart-toc-header"},G().createElement(q.RichText,{id:t||null,className:Yy("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:Yy("blockart-toc-toggle",u?._className),onClick:()=>y((e=>!e))},"text"===i?G().createElement("span",null,b?"Show":"Hide"):G().createElement(TH,{name:b?s:l}))),G().createElement("div",{className:"blockart-toc-body",hidden:a?!!b:void 0},G().createElement(SY,{allowedHeadings:e.attributes.headings,listTypography:p}))))},save:()=>null},TY=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"}'),OY=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(hH,null),G().createElement(uH,null,G().createElement(fH,{title:(0,K.__)("Layout","blockart"),initialOpen:!0},G().createElement(Bz,{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(dH,null,G().createElement(fH,{title:(0,K.__)("Background","blockart"),initialOpen:!0},G().createElement(Iz,{label:(0,K.__)("Type","blockart")},G().createElement(Rl,{padding:4},G().createElement(FI,{saved:u,resetKey:"background",onReset:e=>{p({background:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(Cz,{value:u,onChange:e=>p({background:e})}))))),G().createElement(pH,null,G().createElement(vH,{blockMargin:n,setAttributes:p,blockPadding:a,blockZIndex:r,cssID:o,className:c,hasblockHTML:!1}),G().createElement(gH,{hideOnDesktop:i,hideOnTablet:l,hideOnMobile:s,setAttributes:p})))},IY=["blockart/tab","blockart/tab-titles"],LY=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]},DY=(0,dE.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}=pE(e),{device:i}=ME(),{CopyPasterStyleBlockControl:l}=EE(),{Style:s}=uE({blockName:"tabs",clientId:o,attributes:e.attributes,device:i}),c=(0,q.useBlockProps)({className:Yy(`blockart-tabs blockart-tabs-${o} blockart-${n}`,t)}),u=(0,q.useInnerBlocksProps)(c,{template:LY(r),templateLock:"all",allowedBlocks:IY});return G().createElement(G().Fragment,null,G().createElement(OY,{attributes:e.attributes,setAttributes:a,tabTitlesBlock:e.tabTitlesBlock}),G().createElement(l,{withBlockControls:!0}),G().createElement(s,null),G().createElement("div",u))})),BY=TY.name,VY={...TY,icon:G().createElement(rV,{type:"blockIcon",name:"tabs",size:24}),edit:DY,save:e=>{const{attributes:{clientId:t,className:r,design:n}}=e;return G().createElement("div",{className:Yy(`blockart-tabs blockart-tabs-${t} blockart-${n}`,r)},G().createElement(q.InnerBlocks.Content,null))}},NY=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"}'),zY=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:Yy(a?.__className),tagName:"p",placeholder:(0,K.__)("Name","blockart"),value:t,onChange:e=>{r?.({teamDesignation:e})}}))},FY=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:Yy("blockart-team-member-name",o?.__className),tagName:r,placeholder:(0,K.__)("Name","blockart"),value:t,onChange:e=>{n?.({teamName:e})}}))},HY=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||CF,alt:null!=r?r:""})))},jY=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:g,imageWidth:b,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:{...g,[e]:{...null!==(r=g?.[e])&&void 0!==r?r:{},...t}}})};return G().createElement(G().Fragment,null,G().createElement(hH,null),G().createElement(uH,null,G().createElement(fH,{title:(0,K.__)("Image","blockart"),initialOpen:!0},G().createElement(OF,{onChange:e=>M({imageEnable:e}),checked:y,label:(0,K.__)("Enable","blockart")}),y&&G().createElement(Iz,{label:(0,K.__)("Add Image","blockart"),popoverDivProps:{sx:{".components-popover__content":{p:4}}}},G().createElement(AF,{onChange:e=>M({image:e}),label:(0,K.__)("Image","blockart"),type:"image",value:A}))),G().createElement(fH,{title:(0,K.__)("Name","blockart")},G().createElement(OF,{onChange:e=>M({headingEnable:e}),checked:f,label:(0,K.__)("Enable","blockart")}),f&&G().createElement(G().Fragment,null,G().createElement(Bz,{options:bj,onChange:e=>M({markup:e}),value:t,label:(0,K.__)("HTML Markup","blockart")}))),G().createElement(fH,{title:(0,K.__)("Designation","blockart")},G().createElement(OF,{onChange:e=>M({designationEnable:e}),checked:v,label:(0,K.__)("Enable","blockart")})),G().createElement(fH,{title:(0,K.__)("Description","blockart")},G().createElement(OF,{onChange:e=>M({textEnable:e}),checked:o,label:(0,K.__)("Enable","blockart")})),G().createElement(fH,{title:(0,K.__)("Social Icon","blockart")},G().createElement(bD,{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(Xl,{gap:0},[1,2,3,4,5].map((e=>G().createElement(Iz,{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(Yl,null,g?.[`icon${e}`]?.enable&&G().createElement(Iz.Trigger,t),G().createElement(cP,{isChecked:g?.[`icon${e}`]?.enable,onChange:t=>{T(`icon${e}`,{enable:t.target.checked})}}))},G().createElement(_F,{value:g?.[`icon${e}`]?.icon,onChange:t=>{T(`icon${e}`,{icon:t})}}),G().createElement(zS,{label:(0,K.__)("Link","blockart"),value:g?.[`icon${e}`]?.link,onChange:t=>{T(`icon${e}`,{link:t})}}),G().createElement(OF,{label:(0,K.__)("Open in new Tab","blockart"),value:g?.[`icon${e}`]?.newTab,onChange:t=>T(`icon${e}`,{newTab:t})}))))))),G().createElement(dH,null,G().createElement(fH,{title:(0,K.__)("Properties","blockart"),initialOpen:!0},G().createElement(TF,{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(MF,{value:"left"},G().createElement(gT,null)),G().createElement(MF,{value:"center"},G().createElement(yT,null)),G().createElement(MF,{value:"right"},G().createElement(bT,null)))),G().createElement(fH,{title:(0,K.__)("Background","blockart")},G().createElement(Iz,{label:(0,K.__)("Type","blockart")},G().createElement(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:n,resetKey:"background",onReset:e=>{M({background:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(Cz,{value:n,onChange:e=>M({background:e})})))))),y&&G().createElement(G().Fragment,null,G().createElement(fH,{title:(0,K.__)("Image","blockart")},G().createElement(bD,{label:"Size",value:b,onChange:e=>M({imageWidth:e}),min:0,max:500,units:["px"],responsive:!0}))),f&&G().createElement(G().Fragment,null,G().createElement(fH,{title:(0,K.__)("Name","blockart")},G().createElement(Iz,{label:(0,K.__)("Color","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:h,id:"headingColor"}]}));return rE(h)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{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(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:h,resetKey:"headingColor",onReset:e=>{M({headingColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:h,onChange:e=>M({headingColor:e})}))))),G().createElement(Rl,{py:"1px"},G().createElement(kD,{resetAttributeKey:"headingTypography",value:E,onChange:e=>M({headingTypography:e})})),G().createElement(Hz,{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(fH,{title:(0,K.__)("Designation","blockart")},G().createElement(Iz,{label:(0,K.__)("Color","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:k,id:"designationColor"}]}));return rE(k)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{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(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:k,resetKey:"designationColor",onReset:e=>{M({designationColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:k,onChange:e=>M({designationColor:e})}))))),G().createElement(kD,{resetAttributeKey:"designationTypography",value:w,onChange:e=>M({designationTypography:e})}),G().createElement(Hz,{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(fH,{title:(0,K.__)("Description","blockart")},G().createElement(Iz,{label:(0,K.__)("Color","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:_,id:"textColor"}]}));return rE(_)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{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(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:_,resetKey:"textColor",onReset:e=>{M({textColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:_,onChange:e=>M({textColor:e})}))))),G().createElement(kD,{resetAttributeKey:"textTypography",value:P,onChange:e=>M({textTypography:e})}),G().createElement(Hz,{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(fH,{title:(0,K.__)("Border","blockart")},G().createElement(Mz,{value:i,onChange:e=>{M({border:e})},resetAttributeKey:"border"}))),G().createElement(pH,null,G().createElement(vH,{blockMargin:R,setAttributes:M,blockPadding:l,blockZIndex:m,cssID:p,className:d,hasblockHTML:!1}),G().createElement(gH,{hideOnDesktop:s,hideOnTablet:c,hideOnMobile:u,setAttributes:M})))},WY=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,Co.A)({key:e},n),G().createElement("span",{className:"blockart-team-icon"},G().createElement(TH,{name:t.icon})))})))},ZY=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:Yy(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})}}))},$Y=NY.name,UY={...NY,icon:G().createElement(rV,{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:g={},icons:b,headingTypography:y,designationTypography:E,textTypography:k},setAttributes:w}=e,{clientId:x}=pE(e),{device:_}=ME(),{Style:P}=uE({blockName:"team",clientId:x,attributes:e.attributes,device:_}),{CopyPasterStyleBlockControl:C}=EE(),A=null!==(t=g?.url)&&void 0!==t?t:CF,S=null!==(r=g?.alt)&&void 0!==r?r:"";return G().createElement(G().Fragment,null,G().createElement(jY,{attributes:e.attributes,setAttributes:w}),G().createElement(C,{withBlockControls:!0}),G().createElement(P,null),G().createElement("div",{className:Yy(`blockart-team blockart-team-${x}`,o)},G().createElement("div",{className:"blockart-team-container"},f&&G().createElement(HY,{url:A,alt:S}),i&&G().createElement(FY,{markup:n,value:m,setAttributes:w,headingTypography:y}),l&&G().createElement(zY,{value:h,setAttributes:w,designationTypography:E}),a&&G().createElement(ZY,{setAttributes:w,value:v,textTypography:k}),G().createElement(WY,{icons:b}))))},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 g=null!==(f=u?.url)&&void 0!==f?f:CF,b=null!==(v=u?.alt)&&void 0!==v?v:"";return G().createElement("div",{className:Yy(`blockart-team blockart-team-${e}`,n)},G().createElement("div",{className:"blockart-team-container"},s&&G().createElement(HY,{url:g,alt:b}),a&&G().createElement(FY,{isSave:!0,markup:t,value:i,headingTypography:p}),o&&G().createElement(zY,{isSave:!0,value:l,designationTypography:m}),r&&G().createElement(ZY,{isSave:!0,value:c,textTypography:h}),G().createElement(WY,{isSave:!0,icons:d})))}},GY=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"}'),qY=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:g,loop:b,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(hH,null),G().createElement(uH,null,G().createElement(fH,{title:(0,K.__)("General","blockart"),initialOpen:!0},G().createElement(bD,{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(bD,{label:(0,K.__)("Per Move","blockart"),value:g,onChange:e=>R({perMove:e}),min:1,max:20,step:1,resetAttributeKey:"perMove"}),G().createElement(zS,{label:(0,K.__)("Speed (ms)","blockart"),type:"number",value:c,onChange:e=>R({speed:e})}),G().createElement(zS,{label:(0,K.__)("Interval (ms)","blockart"),type:"number",value:m,onChange:e=>R({interval:e})}),G().createElement(OF,{checked:b,label:(0,K.__)("Loop","blockart"),onChange:e=>R({loop:e})}),G().createElement(OF,{checked:null!=u&&u,label:(0,K.__)("Auto Play","blockart"),onChange:e=>R({autoplay:e})}),G().createElement(TF,{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(MF,{value:"hover"},(0,K.__)("Hover","blockart")),G().createElement(MF,{value:"none"},(0,K.__)("None","blockart"))),G().createElement(OF,{checked:null!=p&&p,label:(0,K.__)("Arrows","blockart"),onChange:e=>R({arrows:e})}),G().createElement(OF,{checked:null!=f&&f,label:(0,K.__)("Pagination","blockart"),onChange:e=>R({pagination:e})})),G().createElement(fH,{title:(0,K.__)("Spacing and Height","blockart")},G().createElement(bD,{label:(0,K.__)("Space between","blockart"),value:v,onChange:e=>R({spaceBetween:e}),min:0,max:2e3,step:1,resetAttributeKey:"spaceBetween"})),G().createElement(fH,{title:(0,K.__)("Arrows and Dots","blockart")},G().createElement(bD,{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(bD,{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(dH,null,G().createElement(fH,{title:(0,K.__)("Arrows and Dots","blockart"),initialOpen:!0},G().createElement(Iz,{label:(0,K.__)("Color","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:w,id:"dotColor"}]}));return rE(w)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{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(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:w,resetKey:"dotColor",onReset:e=>{R({dotColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:w,onChange:e=>R({dotColor:e})}))))),G().createElement(Iz,{label:"Background"},G().createElement(Cz,{onChange:e=>R({arrowBackground:e}),value:x})),G().createElement(OF,{checked:S,label:(0,K.__)("Border","blockart"),onChange:e=>R({isArrowBorderEnabled:!S})}),S&&G().createElement(Mz,{value:A,onChange:e=>R({arrowBorder:e}),resetAttributeKey:"arrowBorder"}),f&&G().createElement(bD,{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(fH,{title:(0,K.__)("Color","blockart")},G().createElement(Iz,{label:(0,K.__)("Text Color","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:E,id:"color"}]}));return rE(E)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{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(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:E,resetKey:"color",onReset:e=>{R({color:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:E,onChange:e=>R({color:e})})))))),G().createElement(fH,{title:(0,K.__)("Background","blockart")},G().createElement(Iz,{label:(0,K.__)("Type","blockart")},G().createElement(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(Cz,{value:y,onChange:e=>R({background:e})})))))),G().createElement(fH,{title:(0,K.__)("Border","blockart")},G().createElement(Mz,{value:k,onChange:e=>R({border:e}),resetAttributeKey:"border"}))),G().createElement(pH,null,G().createElement(vH,{blockMargin:t,setAttributes:R,blockPadding:r,blockZIndex:s,cssID:l,className:i,hasblockHTML:!1}),G().createElement(gH,{hideOnDesktop:n,hideOnTablet:a,hideOnMobile:o,setAttributes:R})))},KY="blockart/testimonial-slide",YY=GY.name,XY={...GY,icon:G().createElement(rV,{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}=pE(e),{device:f}=ME(),{CopyPasterStyleBlockControl:v}=EE(),{Style:g}=uE({blockName:"testimonial",clientId:h,attributes:e.attributes,device:f}),b=(0,q.useInnerBlocksProps)({className:"splide__list"},{allowedBlocks:[KY],template:[[KY],[KY],[KY]],templateLock:!1,templateInsertUpdatesSelection:!0});return G().createElement(G().Fragment,null,G().createElement(qY,{attributes:e.attributes,setAttributes:m}),G().createElement(v,{withBlockControls:!0}),G().createElement(q.BlockControls,null,G().createElement(fE.ToolbarGroup,null,G().createElement(fE.Button,{label:(0,K.__)("Add Slide","blockart"),onClick:()=>{const{getBlocks:t}=(0,dE.select)("core/block-editor"),{replaceInnerBlocks:r}=(0,dE.dispatch)("core/block-editor"),n=[...t(e.clientId)];n.push((0,Z.createBlock)("blockart/testimonial-slide")),r(e.clientId,n,!1)},icon:"plus"}))),G().createElement(g,null),G().createElement("div",{className:Yy(`blockart-testimonial blockart-testimonial-${h}`,r),id:t},G().createElement(UK,{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",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,blockHTML:n,cssID:a}}=e,o=q.useInnerBlocksProps.save({className:Yy("splide__list",r)}),i=null!=n?n:"div";return G().createElement(i,{className:Yy(`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"}))))))}},QY=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"}'),JY=r.p+"013a9830e30a4609108d32425ebc776b.png",eX=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||CF,alt:null!=r?r:""})))},tX=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:Yy(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})}}))},rX=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:Yy(a?.__className),tagName:"p",placeholder:(0,K.__)("Designation","blockart"),value:t,onChange:e=>{r?.({designation:e})}}))},nX=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:Yy("blockart-testimonial-member-name",o?.__className),tagName:r,placeholder:(0,K.__)("Name","blockart"),value:t,onChange:e=>{n?.({testimonialName:e})}}))},aX=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:g,designationMargin:b,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(hH,null),G().createElement(uH,null,G().createElement(fH,{title:(0,K.__)("Image","blockart"),initialOpen:!0},G().createElement(Iz,{label:(0,K.__)("Add Image","blockart"),popoverDivProps:{sx:{".components-popover__content":{p:4,width:"280px"}}}},G().createElement(Rl,{padding:4},G().createElement(AF,{onChange:e=>A({image:e}),label:(0,K.__)("Image","blockart"),type:"image",value:d}),G().createElement(bD,{label:"Size",value:p,onChange:e=>A({imageWidth:e}),min:0,max:500,defaultUnit:"px",forceShowUnit:!0,responsive:!0,resetAttributeKey:"imageWidth"}))),G().createElement(Hz,{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(fH,{title:(0,K.__)("Text","blockart")},G().createElement(OF,{checked:m,onChange:()=>A({textEnable:!m}),label:(0,K.__)("Enable","blockart")})),G().createElement(fH,{title:(0,K.__)("Name","blockart")},G().createElement(OF,{checked:k,onChange:()=>A({headingEnable:!k}),label:(0,K.__)("Enable","blockart")}),k&&G().createElement(Bz,{options:bj,onChange:e=>A({markup:e}),value:x,label:(0,K.__)("HTML Markup","blockart")})),G().createElement(fH,{title:(0,K.__)("Designation","blockart")},G().createElement(OF,{checked:g,onChange:()=>A({designationEnable:!g}),label:(0,K.__)("Enable","blockart")}))),G().createElement(dH,null,m&&G().createElement(fH,{title:(0,K.__)("Text","blockart"),initialOpen:!0},G().createElement(Iz,{label:(0,K.__)("Color","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:h,id:"textColor"}]}));return rE(h)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{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(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:h,resetKey:"textColor",onReset:e=>{A({textColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:h,onChange:e=>A({textColor:e})}))))),G().createElement(kD,{resetAttributeKey:"textTypography",value:v,onChange:e=>A({textTypography:e})}),G().createElement(Hz,{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(fH,{title:(0,K.__)("Name","blockart")},G().createElement(Iz,{label:(0,K.__)("Color","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:w,id:"headingColor"}]}));return rE(w)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{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(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:w,resetKey:"headingColor",onReset:e=>{A({headingColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:w,onChange:e=>A({headingColor:e})}))))),G().createElement(kD,{resetAttributeKey:"headingTypography",value:_,onChange:e=>A({headingTypography:e})}),G().createElement(Hz,{value:P,responsive:!0,label:(0,K.__)("Gap","blockart"),defaultUnit:"px",units:["px","rem","em","%"],onChange:e=>A({headingMargin:e}),type:"margin"})),g&&G().createElement(fH,{title:(0,K.__)("Designation","blockart")},G().createElement(Iz,{label:(0,K.__)("Color","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:y,id:"designationColor"}]}));return rE(y)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{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(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:y,resetKey:"designationColor",onReset:e=>{A({designationColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:y,onChange:e=>A({designationColor:e})}))))),G().createElement(kD,{resetAttributeKey:"designationTypography",value:E,onChange:e=>A({designationTypography:e})}),G().createElement(Hz,{value:b,responsive:!0,label:(0,K.__)("Gap","blockart"),defaultUnit:"px",units:["px","rem","em","%"],onChange:e=>A({designationMargin:e}),type:"margin"})),G().createElement(fH,{title:(0,K.__)("Background","blockart")},G().createElement(Iz,{label:(0,K.__)("Type","blockart")},G().createElement(FI,{saved:c,resetKey:"background",onReset:e=>{A({background:e})},buttonProps:{position:"absolute",top:"10px",right:"10px"}}),G().createElement(Cz,{value:c,onChange:e=>A({background:e})}))),G().createElement(fH,{title:(0,K.__)("Border","blockart")},G().createElement(Mz,{value:u,onChange:e=>A({border:e}),resetAttributeKey:"border"}))),G().createElement(pH,null,G().createElement(vH,{blockMargin:t,setAttributes:A,blockPadding:r,blockZIndex:n,cssID:a,className:s,hasblockHTML:!1}),G().createElement(gH,{hideOnDesktop:o,hideOnTablet:i,hideOnMobile:l,setAttributes:A})))},oX=QY.name,iX={...QY,icon:G().createElement(rV,{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:g}=e,{clientId:b}=pE(e),{device:y}=ME(),{CopyPasterStyleBlockControl:E}=EE(),{Style:k}=uE({blockName:"testimonial-slide",clientId:b,attributes:e.attributes,device:y}),{rootClientId:w,siblings:x}=(0,dE.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:JY,P=null!==(r=o?.alt)&&void 0!==r?r:"",C=(0,q.useBlockProps)({className:Yy(`blockart-testimonial-slide blockart-testimonial-slide-${b} splide__slide`,a)});return G().createElement(G().Fragment,null,G().createElement(aX,{attributes:e.attributes,setAttributes:g}),G().createElement(q.BlockControls,null,G().createElement(fE.ToolbarGroup,null,G().createElement(fE.Button,{label:(0,K.__)("Remove Slide","blockart"),onClick:()=>{const{getBlockIndex:t,getBlocks:r}=(0,dE.select)("core/block-editor"),{replaceInnerBlocks:n}=(0,dE.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(eX,{url:_,alt:P}),l&&G().createElement(tX,{setAttributes:g,value:s,textTypography:h}),d&&G().createElement(nX,{markup:p,value:m,setAttributes:g,headingTypography:v}),c&&G().createElement(rX,{value:u,setAttributes:g,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:JY,g=null!==(f=r?.alt)&&void 0!==f?f:"";return G().createElement("li",{className:Yy(`blockart-testimonial-slide blockart-testimonial-slide-${e} splide__slide`,t)},G().createElement("div",{className:"blockart-testimonial-inner-content"},n&&G().createElement(eX,{url:v,alt:g}),a&&G().createElement(tX,{isSave:!0,value:o,textTypography:d}),s&&G().createElement(nX,{isSave:!0,markup:c,value:u,headingTypography:m}),i&&G().createElement(rX,{isSave:!0,value:l,designationTypography:p})))}},lX=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"}'),sX=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:g,labelTypography:b,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:O,layoutAlignment:I,connectorLayout:L,connectorIcon:D},setAttributes:B,blockOrder:V,style:N}=e;return G().createElement(G().Fragment,null,G().createElement(hH,null),G().createElement(uH,null,G().createElement(fH,{title:(0,K.__)("Layout","blockart"),initialOpen:!0},G().createElement(TF,{value:I,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(MF,{value:"left",title:"Left"},G().createElement(AT,null)),G().createElement(MF,{value:"center",title:"Center"},G().createElement(CT,null)),G().createElement(MF,{value:"right",title:"Right"},G().createElement(ST,null)))),G().createElement(fH,{title:(0,K.__)("Connector","blockart")},G().createElement(bD,{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(Bz,{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(_F,{hasToggle:!1,value:D,onChange:e=>B({connectorIcon:e})}))),G().createElement(dH,null,G().createElement(fH,{title:(0,K.__)("Layout","blockart"),initialOpen:!0},G().createElement(Hz,{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(bD,{resetAttributeKey:"itemMarginBottom",label:(0,K.__)("Items Gap","blockart"),min:0,max:100,defaultUnit:"px",value:g,onChange:e=>B({itemMarginBottom:e}),responsive:!0,units:["px","em","%"]})),G().createElement(fH,{title:(0,K.__)("Label","blockart")},G().createElement(Iz,{label:(0,K.__)("Text Color","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:x,id:"color"}]}));return rE(x)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{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(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:x,resetKey:"labelColor2",onReset:e=>{B({labelColor2:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:x,onChange:e=>B({labelColor2:e})}))))),G().createElement(kD,{value:b,onChange:e=>B({labelTypography:e})})),G().createElement(fH,{title:(0,K.__)("Title","blockart")},G().createElement(Iz,{label:(0,K.__)("Text Color","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:P,id:"color"}]}));return rE(P)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{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(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:P,resetKey:"titleColor2",onReset:e=>{B({titleColor2:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:P,onChange:e=>B({titleColor2:e})}))))),G().createElement(kD,{value:E,onChange:e=>B({titleTypography:e})})),G().createElement(fH,{title:(0,K.__)("Description","blockart")},G().createElement(Iz,{label:(0,K.__)("Text Color","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:A,id:"color"}]}));return rE(A)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{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(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:A,resetKey:"descriptionColor2",onReset:e=>{B({descriptionColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:A,onChange:e=>B({descriptionColor2:e})}))))),G().createElement(kD,{value:y,onChange:e=>B({descriptionTypography:e})})),G().createElement(fH,{title:(0,K.__)("Connector","blockart")},G().createElement(Iz,{label:(0,K.__)("Text Color","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:O,id:"color"}]}));return rE(O)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{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(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:O,resetKey:"connectorColor",onReset:e=>{B({connectorColor:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:O,onChange:e=>B({connectorColor:e})}))))),G().createElement(Iz,{label:(0,K.__)("Background","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:T,id:"connectorBackground2"}]}));return rE(T)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{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(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:T,resetKey:"connectorBackground2",onReset:e=>{B({connectorBackground2:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:T,onChange:e=>B({connectorBackground2:e})})))))),G().createElement(fH,{title:(0,K.__)("Item","blockart")},G().createElement(Iz,{label:(0,K.__)("Background","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:R,id:"itemBackground2"}]}));return rE(R)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{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(vl,{position:"relative"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:R,resetKey:"itemBackground2",onReset:e=>{B({itemBackground2:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:R,onChange:e=>B({itemBackground2:e})}))))))),G().createElement(pH,null,G().createElement(vH,{blockMargin:o,setAttributes:B,blockPadding:l,blockZIndex:s,cssID:u,className:h,hasblockHTML:!1}),G().createElement(gH,{hideOnDesktop:d,hideOnTablet:p,hideOnMobile:m,setAttributes:B})))},cX=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},uX=(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},dX="blockart/timeline-inner",pX=(0,Kj.compose)([(0,dE.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:g,blockHTML:b,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:O,connectorThickness:I,labelColor1:L,labelColor2:D,titleColor1:B,titleColor2:V,descriptionColor1:N,descriptionColor2:z,itemBackground1:F,itemBackground2:H,connectorBackground1:j,connectorBackground2:W,connectorColor:Z,layoutAlignment:$,connectorLayout:K,connectorIcon:X},setAttributes:Q,blockOrder:J}=e,{clientId:ee}=pE(e),{device:te}=ME(),{CopyPasterStyleBlockControl:re}=EE(),{Style:ne}=uE({blockName:"timeline",clientId:ee,attributes:e.attributes,device:te}),ae=cX({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,dE.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=wE((()=>{const e=uX(ee);eE(ie,e)||le(e)}),10);(0,U.useEffect)((()=>((()=>{const e=uX(ee);eE(ie,e)||le(e)})(),window.addEventListener("resize",se),()=>{window.removeEventListener("resize",se)})),[ee,$,ie,se]),(0,U.useLayoutEffect)((()=>{le(uX(ee))}),[ee,$,S,R]);const ce=(0,q.useInnerBlocksProps)({id:w,className:Yy("blockart-timeline-wrapper",`layout-${null!==(t=null!==(r=$?.mobile)&&void 0!==r?r:$?.tablet)&&void 0!==t?t:$?.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:[dX],template:[[dX],[dX],[dX],[dX]],templateLock:!1,templateInsertUpdatesSelection:!0});return G().createElement(G().Fragment,null,G().createElement(sX,(0,Co.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})))})),mX=lX.name,hX={...lX,icon:G().createElement(rV,{type:"blockIcon",name:"timeline",size:24}),edit:pX,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=cX({alignment:s,orientation:i,justification:l}),p=q.useInnerBlocksProps.save({className:Yy("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:Yy(`blockart-timeline blockart-timeline-${n}`)},G().createElement(m,p),G().createElement("div",{className:"blockart-timeline-line"}))}},fX=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"}'),vX=fX.name,gX={...fX,icon:G().createElement(rV,{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:g,label:b,connectorIcon:y,order:E,background:k,mainBlockAttributes:w,labelTypography:x,descriptionTypography:_,titleTypography:P},setAttributes:C,clientId:A}=e,{clientId:S}=pE(e),{device:R}=ME(),{CopyPasterStyleBlockControl:M}=EE(),{Style:T}=uE({blockName:"timeline-inner",clientId:S,attributes:e.attributes,device:R}),{rootClientId:O,rootBlockAttributes:I}=(0,dE.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=Yy(d&&("filled"===u||"outline"===u)&&`is-${d}`,u&&`is-style-${u}`,h&&`is-hover-${h}`),D=(0,q.useBlockProps)({className:Yy(`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;qy(a)||(t+=`${n}: ${a}px;`)}return t})(f),V=I?.connectorLayout;(0,U.useEffect)((()=>{var e;C({mainBlockAttributes:{connectorLayout:V,connectorIcon:null!==(e=null!=y?y:I?.connectorIcon)&&void 0!==e?e:"calendar"}})}),[y,V,I?.connectorIcon,C]);const N=()=>{var e;return G().createElement("div",{className:`blockart-timeline-marker blockart-marker-layout-${V}`},"icon"===V&&G().createElement(TH,{name:null!==(e=null!=y?y:I?.connectorIcon)&&void 0!==e?e:"calendar-solid"}),"number"===V&&E)};return G().createElement(G().Fragment,null,G().createElement(hH,null),G().createElement(uH,null,G().createElement(fH,{title:(0,K.__)("Icon","blockart")},"icon"===I?.connectorLayout?G().createElement(_F,{value:y||{},onChange:e=>C({connectorIcon:e}),hasToggle:!1}):(0,K.__)("Please choose Icon layout in connector tab in Timeline settings.","blockart"))),G().createElement(dH,null,G().createElement(fH,{title:(0,K.__)("Background","blockart")},G().createElement(Iz,{label:(0,K.__)("Background","blockart"),trigger:e=>{const t=()=>G().createElement(Iz.Trigger,e,G().createElement(jS,{items:[{color:k,id:"background"}]}));return rE(k)?G().createElement(Rl,{position:"relative"},G().createElement(t,null),G().createElement(NT,{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(vl,{position:"relative",size:"sm"},G().createElement(bl,null,G().createElement(gl,null,(0,K.__)("Normal","blockart"))),G().createElement(El,null,G().createElement(yl,null,G().createElement(FI,{saved:k,resetKey:"color",onReset:e=>{C({color:e})},buttonProps:{position:"absolute",top:"12px",right:"10px"}}),G().createElement(WN,{value:k,onChange:e=>C({background:e})}))))))),G().createElement(pH,null,G().createElement(vH,{blockMargin:t,setAttributes:C,blockPadding:n,blockZIndex:a,cssID:i,className:p,hasblockHTML:!1}),G().createElement(gH,{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:Yy("blockart-control")},G().createElement("div",{className:"blockart-timeline-label-container"},G().createElement(q.RichText,{tagName:"div",value:null!=b?b:(0,K.__)("2020-02-02","blockart"),onChange:e=>C({label:e}),className:Yy("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:Yy("blockart-timeline-title",P?._className),multiline:!1,allowedFormats:["core/bold","core/italic"]}),G().createElement(q.RichText,{value:null!=g?g:(0,K.__)("Timeline Description Here. Click me to edit.","blockart"),tagName:"p",className:Yy("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(TH,{name:null!==(e=null!=l?l:i?.connectorIcon)&&void 0!==e?e:"calendar"}),"number"===i?.connectorLayout&&o)};return G().createElement("div",{className:Yy(`blockart-timeline-inner blockart-timeline-inner-${t}`)},G().createElement("div",{className:Yy("blockart-control")},G().createElement("div",{className:"blockart-timeline-label-container"},G().createElement("p",{className:Yy("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:Yy("blockart-timeline-title",u?._className)},G().createElement(q.RichText.Content,{value:n})),G().createElement("p",{className:Yy("blockart-timeline-description",c?._className)},G().createElement(q.RichText.Content,{value:a}))))))}};let bX=[l,R,p,_,a,o,v,L,d,u,O,I,B,D,N,V,c,E,z,s,y,g,n,j,W,x,S,i,T,M,k,F,H,h,f,m,w,b,C,A,P];bX=(0,$.applyFilters)("blockart.blocks",bX);PD()((()=>{let e=null;const t=(0,dE.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")||(sV((()=>G().createElement(oV,{renderer:sV})),n),r.insertBefore(n,r.firstChild)),e&&clearTimeout(e),e=setTimeout((()=>{document.querySelector(".blockart-shortcut-sidebar")&&t()}),0)}))})),(0,$.addFilter)("blockart.block.metadata","blockart/disable-blocks",(e=>{const t=e.name.split("/")[1];return $y.configs.blocks[t]||(void 0===e.supports&&(e.supports={}),e.supports.inserter=!1),e})),(0,$.addFilter)("blockart.block.metadata","blockart/update-section-default-width",(e=>("blockart/section"===e.name&&(e.attributes.width.default.desktop.value=$y.configs.editor["section-width"]),e))),(()=>{for(const e of bX){const t=(0,$.applyFilters)("blockart.block.metadata",e.settings);t.edit=(0,$.applyFilters)("blockart.block.edit",t.edit,t),(0,Z.registerBlockType)(e.name,t)}})(),(0,$.addFilter)("blocks.getBlockAttributes","blockart/update-background-attribute",((e,t)=>{if(t.name.startsWith("blockart/"))for(const t of MN){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})),PD()((()=>{if("widgets"===pagenow||"customize"===pagenow||!$y.configs.editor["design-library"])return;let e=null;const t=(0,dE.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")||(sV((()=>G().createElement(yN,null)),n),r.appendChild(n)),e&&clearTimeout(e),e=setTimeout((()=>{document.querySelector(".blockart-import-button-wrapper")&&t()}),0)}))})),(0,Z.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,dE.subscribe)((()=>{t()&&(setTimeout((()=>{(()=>{const{replaceBlock:e}=(0,dE.dispatch)("core/block-editor");let t;if(t="widgets"===window.pagenow||"customize"===window.pagenow?(0,dE.select)("core/block-editor").getBlocks().map((e=>{const t=(0,dE.select)("core/block-editor").getBlocks(e.clientId);return{...e,innerBlocks:t}})):(0,dE.select)("core/block-editor").getBlocks(),t?.length){const r=CN(t),n=(e=>{const t=cV(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:_N()})})),r?.length&&r.forEach((t=>{const r=(({name:e,attributes:t,innerBlocks:r})=>(0,Z.createBlock)(e,t,r))(t);r.isValid&&e(t.clientId,r)}))}})(),setTimeout((()=>e()),200)}),500),n())}))})(PN)})),(0,IE.registerPlugin)("blockart",{render:xD}),new AN($y.configs["global-styles"]).process()},9656:(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.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 g(e){return e.type===i.ElementType.CDATA}function b(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),b(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(g(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=g,t.isText=b,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&&(b(e.comma)||r("Missing comma before color stops")),{type:t,orientation:o,colorStops:p(m)}}))}function o(t,n){var a=b(t);if(a){b(e.startCall)||r("Missing (");var o=n(a);return b(e.endCall)||r("Missing )"),o}}function i(){return g("directional",e.sideOrCorner,1)||g("angular",e.angleValue,1)}function l(){var r,n,a=s();return a&&((r=[]).push(a),n=t,b(e.comma)&&((a=s())?r.push(a):t=n)),r}function s(){var e,t,r=((t=g("shape",/^(circle)/i,0))&&(t.style=v()||c()),t||((e=g("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 g("extent-keyword",e.extentKeywords,1)}function u(){if(g("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);b(e.comma);)(n=t())?a.push(n):r("One extra comma");return a}function m(){var t=g("hex",e.hexColor,1)||o(e.rgbaColor,(function(){return{type:"rgba",value:p(h)}}))||o(e.rgbColor,(function(){return{type:"rgb",value:p(h)}}))||g("literal",e.literalColor,0);return t||r("Expected color definition"),t.length=f(),t}function h(){return b(e.number)[1]}function f(){return g("%",e.percentageValue,1)||g("position-keyword",e.positionKeywords,1)||v()}function v(){return g("px",e.pixelValue,1)||g("em",e.emValue,1)}function g(e,t,r){var n=b(t);if(n)return{type:e,value:n[r]}}function b(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 g=i[v];if(!(o[g]||n&&n[g]||f&&f[g]||l&&l[g])){var b=p(r,g);try{c(t,g,b)}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,g=h.isValidElement,b=[],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&&g(d=r.replace(c)))x>1&&(d=f(d,{key:d.key||w})),b.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),b.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;b.push(E(c.data,c,w))}return 1===b.length?b[0]:b}},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 g(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 b(t){var r=t.exec(e);if(r){var n=r[0];return m(n),e=e.slice(n.length),r}}function y(){b(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 g("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=b(a);if(r){if(k(),!b(o))return g("property missing ':'");var n=b(i),s=e({type:"declaration",property:u(r[0].replace(t,c)),value:n?u(n[0].replace(t,c)):c});return b(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,g,b,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__"],O=R.toString,I=M.hasOwnProperty,L=(v=/[^.]+$/.exec(T&&T.keys&&T.keys.IE_PROTO||""))?"Symbol(src)_1."+v:"",D=M.toString,B=O.call(Object),V=RegExp("^"+O.call(I).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),N=_?k.Buffer:void 0,z=k.Symbol,F=k.Uint8Array,H=(N&&N.allocUnsafe,g=Object.getPrototypeOf,b=Object,function(e){return g(b(e))}),j=Object.create,W=M.propertyIsEnumerable,Z=S.splice,$=z?z.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&&!ge(e[t],r)||void 0===r&&!(t in e))&&ie(e,t,r)}function ae(e,t,r){var n=e[t];I.call(e,t)&&ge(n,r)&&(void 0!==r||t in e)||ie(e,t,r)}function oe(e,t){for(var r=e.length;r--;)if(ge(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 I.call(t,e)?t[e]:void 0},J.prototype.has=function(e){var t=this.__data__;return X?void 0!==t[e]:I.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():Z.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:$&&$ in Object(e)?function(e){var t=I.call(e,$),r=e[$];try{e[$]=void 0;var n=!0}catch(e){}var a=D.call(e);return n&&(t?e[$]=r:delete e[$]),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,g=void 0===v;if(g){var b=ye(s),y=!b&&ke(s),E=!b&&!y&&Ce(s);v=s,b||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?(g=!1,v=function(e,t){return e.slice()}(s)):E?(g=!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=I.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&O.call(r)==B}(s)||be(s)?(v=l,be(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))):g=!1}g&&(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)?V:m).test(function(e){if(null!=e){try{return O.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 ge(e,t){return e===t||e!=e&&t!=t}var be=se(function(){return arguments}())?se:function(e){return Pe(e)&&I.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&&be(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&&!I.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&&I.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)&&ge(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"},4438: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)return e.valueOf()===i.valueOf();if(e.toString!==Object.prototype.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,g=r?Symbol.for("react.block"):60121,b=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===b||e.$$typeof===y||e.$$typeof===E||e.$$typeof===g)},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:()=>g});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 g=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),g="backward"===(null==m?void 0:m.direction),b=(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(b.length)if(f){var A=void 0!==h,S=A?h:v(e.options,b);c=C(b,A,S)}else if(g){var R=void 0!==h,M=R?h:(u=e.options,d=b,null==u.getPreviousPageParam?void 0:u.getPreviousPageParam(d[0],d));c=C(b,R,M,!0)}else!function(){w=[];var t=void 0===e.options.getNextPageParam,r=!p||!b[0]||p(b[0],0,b);c=r?C([],t,y[0]):Promise.resolve(P([],y[0],b[0]));for(var n=function(r){c=c.then((function(n){if(!p||!b[r]||p(b[r],r,b)){var a=t?y[r]:v(e.options,n);return C(n,t,a)}return Promise.resolve(P(n,y[r],b[r]))}))},a=1;a<b.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:()=>g,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(!g(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(!g(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 g(e,t){return b(s(e),s(t))}function b(e,t){return e===t||typeof e==typeof t&&!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&!Object.keys(t).some((function(r){return!b(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:()=>I});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),g=r(7878),b=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,g.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,b.$)(),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,g.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,g=p.isFetching,b=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)&&(g=!0,m||(b="loading"))}if(t.keepPreviousData&&!p.dataUpdateCount&&(null==d?void 0:d.isSuccess)&&"error"!==b)r=d.data,m=d.dataUpdatedAt,b=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"===b||"idle"===b)){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!==_&&(b="success",r=_,E=!0)}return this.selectError&&(h=this.selectError,r=this.selectResult,f=Date.now(),b="error"),{status:b,isLoading:"loading"===b,isSuccess:"success"===b,isError:"error"===b,isIdle:"idle"===b,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:g,isRefetching:g&&"loading"!==b,isLoadingError:"error"===b&&0===p.dataUpdatedAt,isPlaceholderData:E,isPreviousData:y,isRefetchError:"error"===b&&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}})),O=function(){return c().useContext(T)};function I(e,t,r){return function(e,t){var r=c().useRef(!1),a=c().useState(0)[1],o=m(),i=O(),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 g=m/4294967296*1e4&268435455;u[n++]=g>>>8&255,u[n++]=255&g,u[n++]=g>>>24&15|16,u[n++]=g>>>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={742:0,909: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,[909],(()=>__webpack_require__(3532)));__webpack_exports__=__webpack_require__.O(__webpack_exports__)})();