text: /**
   * Minified by jsDelivr using Terser v3.14.1.
   * Original file: /npm/hyperformula@0.1.3/es/errors.js
   *
   * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
   */
  import"core-js/modules/es.symbol";import"core-js/modules/es.symbol.description";import"core-js/modules/es.symbol.iterator";import"core-js/modules/es.array.concat";import"core-js/modules/es.array.index-of";import"core-js/modules/es.array.iterator";import"core-js/modules/es.map";import"core-js/modules/es.object.get-prototype-of";import"core-js/modules/es.object.to-string";import"core-js/modules/es.reflect.construct";import"core-js/modules/es.regexp.constructor";import"core-js/modules/es.regexp.exec";import"core-js/modules/es.regexp.to-string";import"core-js/modules/es.string.iterator";import"core-js/modules/web.dom-collections.iterator";function _defineProperties(r,e){for(var t=0;t<e.length;t++){var n=e[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(r,n.key,n)}}function _createClass(r,e,t){return e&&_defineProperties(r.prototype,e),t&&_defineProperties(r,t),r}function _typeof(r){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(r){return typeof r}:function(r){return r&&"function"==typeof Symbol&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r})(r)}function _classCallCheck(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function _inherits(r,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),e&&_setPrototypeOf(r,e)}function _createSuper(r){var e=_isNativeReflectConstruct();return function(){var t,n=_getPrototypeOf(r);if(e){var o=_getPrototypeOf(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return _possibleConstructorReturn(this,t)}}function _possibleConstructorReturn(r,e){return!e||"object"!==_typeof(e)&&"function"!=typeof e?_assertThisInitialized(r):e}function _assertThisInitialized(r){if(void 0===r)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function _wrapNativeSuper(r){var e="function"==typeof Map?new Map:void 0;return(_wrapNativeSuper=function(r){if(null===r||!_isNativeFunction(r))return r;if("function"!=typeof r)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(r))return e.get(r);e.set(r,t)}function t(){return _construct(r,arguments,_getPrototypeOf(this).constructor)}return t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(t,r)})(r)}function _construct(r,e,t){return(_construct=_isNativeReflectConstruct()?Reflect.construct:function(r,e,t){var n=[null];n.push.apply(n,e);var o=new(Function.bind.apply(r,n));return t&&_setPrototypeOf(o,t.prototype),o}).apply(null,arguments)}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(r){return!1}}function _isNativeFunction(r){return-1!==Function.toString.call(r).indexOf("[native code]")}function _setPrototypeOf(r,e){return(_setPrototypeOf=Object.setPrototypeOf||function(r,e){return r.__proto__=e,r})(r,e)}function _getPrototypeOf(r){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)})(r)}export var NoSheetWithIdError=function(r){_inherits(t,_wrapNativeSuper(Error));var e=_createSuper(t);function t(r){return _classCallCheck(this,t),e.call(this,"There's no sheet with id = ".concat(r))}return t}();export var NoSheetWithNameError=function(r){_inherits(t,_wrapNativeSuper(Error));var e=_createSuper(t);function t(r){return _classCallCheck(this,t),e.call(this,"There's no sheet with name '".concat(r,"'"))}return t}();export var SheetNameAlreadyTakenError=function(r){_inherits(t,_wrapNativeSuper(Error));var e=_createSuper(t);function t(r){return _classCallCheck(this,t),e.call(this,"Sheet with name ".concat(r," already exists"))}return t}();export var SheetSizeLimitExceededError=function(r){_inherits(t,_wrapNativeSuper(Error));var e=_createSuper(t);function t(){return _classCallCheck(this,t),e.call(this,"Sheet size limit exceeded")}return t}();export var NotAFormulaError=function(r){_inherits(t,_wrapNativeSuper(Error));var e=_createSuper(t);function t(){return _classCallCheck(this,t),e.call(this,"This is not a formula")}return t}();export var InvalidAddressError=function(r){_inherits(t,_wrapNativeSuper(Error));var e=_createSuper(t);function t(r){return _classCallCheck(this,t),e.call(this,"Address (row = ".concat(r.row,", col = ").concat(r.col,") is invalid"))}return t}();export var InvalidArgumentsError=function(r){_inherits(t,_wrapNativeSuper(Error));var e=_createSuper(t);function t(r){return _classCallCheck(this,t),e.call(this,"Invalid arguments, expected ".concat(r))}return t}();export var NamedExpressionNameIsAlreadyTakenError=function(r){_inherits(t,_wrapNativeSuper(Error));var e=_createSuper(t);function t(r){return _classCallCheck(this,t),e.call(this,"Name of Named Expression '".concat(r,"' is already present"))}return t}();export var NamedExpressionNameIsInvalidError=function(r){_inherits(t,_wrapNativeSuper(Error));var e=_createSuper(t);function t(r){return _classCallCheck(this,t),e.call(this,"Name of Named Expression '".concat(r,"' is invalid"))}return t}();export var NamedExpressionDoesNotExistError=function(r){_inherits(t,_wrapNativeSuper(Error));var e=_createSuper(t);function t(r){return _classCallCheck(this,t),e.call(this,"Named Expression '".concat(r,"' does not exist"))}return t}();export var NoOperationToUndoError=function(r){_inherits(t,_wrapNativeSuper(Error));var e=_createSuper(t);function t(){return _classCallCheck(this,t),e.call(this,"There is no operation to undo")}return t}();export var NoOperationToRedoError=function(r){_inherits(t,_wrapNativeSuper(Error));var e=_createSuper(t);function t(){return _classCallCheck(this,t),e.call(this,"There is no operation to redo")}return t}();export var NothingToPasteError=function(r){_inherits(t,_wrapNativeSuper(Error));var e=_createSuper(t);function t(){return _classCallCheck(this,t),e.call(this,"There is nothing to paste")}return t}();function replacer(r,e){switch(_typeof(e)){case"function":case"symbol":return e.toString();case"bigint":return"BigInt("+e.toString()+")";default:return e instanceof RegExp?"RegExp("+e.toString()+")":e}}export var UnableToParseError=function(r){_inherits(t,_wrapNativeSuper(Error));var e=_createSuper(t);function t(r){return _classCallCheck(this,t),e.call(this,"Unable to parse value: ".concat(JSON.stringify(r,replacer,4)))}return t}();export var ExpectedValueOfTypeError=function(r){_inherits(t,_wrapNativeSuper(Error));var e=_createSuper(t);function t(r,n){return _classCallCheck(this,t),e.call(this,"Expected value of type: ".concat(r," for config parameter: ").concat(n))}return t}();export var ConfigValueTooSmallError=function(r){_inherits(t,_wrapNativeSuper(Error));var e=_createSuper(t);function t(r,n){return _classCallCheck(this,t),e.call(this,"Config parameter ".concat(r," should be at least ").concat(n))}return t}();export var ConfigValueTooBigError=function(r){_inherits(t,_wrapNativeSuper(Error));var e=_createSuper(t);function t(r,n){return _classCallCheck(this,t),e.call(this,"Config parameter ".concat(r," should be at most ").concat(n))}return t}();export var ExpectedOneOfValuesError=function(r){_inherits(t,_wrapNativeSuper(Error));var e=_createSuper(t);function t(r,n){return _classCallCheck(this,t),e.call(this,"Expected one of ".concat(r," for config parameter: ").concat(n))}return t}();export var EvaluationSuspendedError=function(r){_inherits(t,_wrapNativeSuper(Error));var e=_createSuper(t);function t(){return _classCallCheck(this,t),e.call(this,"Computations are suspended")}return t}();export var MissingTranslationError=function(r){_inherits(t,_wrapNativeSuper(Error));var e=_createSuper(t);function t(r){return _classCallCheck(this,t),e.call(this,"Translation for ".concat(r," is missing in the translation package you're using."))}return t}();export var ProtectedFunctionTranslationError=function(r){_inherits(t,_wrapNativeSuper(Error));var e=_createSuper(t);function t(r){return _classCallCheck(this,t),e.call(this,"Cannot register translation for function with id: ".concat(r))}return t}();export var LanguageNotRegisteredError=function(r){_inherits(t,_wrapNativeSuper(Error));var e=_createSuper(t);function t(){return _classCallCheck(this,t),e.call(this,"Language not registered.")}return t}();export var LanguageAlreadyRegisteredError=function(r){_inherits(t,_wrapNativeSuper(Error));var e=_createSuper(t);function t(){return _classCallCheck(this,t),e.call(this,"Language already registered.")}return t}();export var FunctionPluginValidationError=function(r){_inherits(t,_wrapNativeSuper(Error));var e=_createSuper(t);function t(){return _classCallCheck(this,t),e.apply(this,arguments)}return _createClass(t,null,[{key:"functionNotDeclaredInPlugin",value:function(r,e){return new t("Function with id ".concat(r," not declared in plugin ").concat(e))}},{key:"functionMethodNotFound",value:function(r,e){return new t("Function method ".concat(r," not found in plugin ").concat(e))}}]),t}();export var ProtectedFunctionError=function(r){_inherits(t,_wrapNativeSuper(Error));var e=_createSuper(t);function t(){return _classCallCheck(this,t),e.apply(this,arguments)}return _createClass(t,null,[{key:"cannotRegisterFunctionWithId",value:function(r){return new t("Cannot register function with id ".concat(r))}},{key:"cannotUnregisterFunctionWithId",value:function(r){return new t("Cannot unregister function with id ".concat(r))}},{key:"cannotUnregisterProtectedPlugin",value:function(){return new t("Cannot unregister protected plugin")}}]),t}();export var SourceLocationHasMatrixError=function(r){_inherits(t,_wrapNativeSuper(Error));var e=_createSuper(t);function t(){return _classCallCheck(this,t),e.call(this,"Cannot perform this operation, source location has a matrix inside.")}return t}();export var TargetLocationHasMatrixError=function(r){_inherits(t,_wrapNativeSuper(Error));var e=_createSuper(t);function t(){return _classCallCheck(this,t),e.call(this,"Cannot perform this operation, target location has a matrix inside.")}return t}();export var MatrixFormulasNotSupportedError=function(r){_inherits(t,_wrapNativeSuper(Error));var e=_createSuper(t);function t(){return _classCallCheck(this,t),e.call(this,"Matrix formulas are not supported in named expressions.")}return t}();export var NoRelativeAddressesAllowedError=function(r){_inherits(t,_wrapNativeSuper(Error));var e=_createSuper(t);function t(){return _classCallCheck(this,t),e.call(this,"Relative addresses not allowed in named expressions.")}return t}();
  //# sourceMappingURL=/sm/8e4b13ca6c949a77823b78eb6932ead1b94d214268619ecd70b1a252a14a7e30.map